:root {
  color-scheme: light;
  --fg: #1c1c1e;
  --muted: #6b7280;
  --border: #e2e2e6;
  --accent: #1d283a;
  --accent-2: #3a4a63;
  --accent-fg: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--fg);
  background: #fafafa;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--fg);
}

.brand-mark {
  display: block;
  border-radius: 6px;
}

.brand-word {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: 1.35rem;
  color: var(--accent);
}

.site-header nav a {
  margin-left: 1rem;
  text-decoration: none;
  color: var(--fg);
}

.site-header nav a:hover {
  color: var(--accent);
}

.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.hero ul {
  line-height: 1.6;
}

.hero .tagline {
  color: var(--muted);
  margin-top: -0.5rem;
}

.button {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  margin-right: 0.75rem;
  border: none;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--accent-fg);
  text-decoration: none;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.button.secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.price-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  background: #fff;
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.price-card h2 {
  margin-top: 0;
}

.price-card .price {
  font-size: 2.25rem;
  font-weight: 800;
  margin: 0.25rem 0 1rem;
}

.price-card .price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  line-height: 1.8;
}

.price-card ul li::before {
  content: "✓ ";
  color: var(--accent);
  font-weight: 700;
}

.urls-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.urls-table th,
.urls-table td {
  text-align: left;
  padding: 0.6rem 0.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

code {
  background: #f1f1f4;
  border-radius: 4px;
  padding: 0.1rem 0.35rem;
  font-size: 0.9em;
}

pre {
  background: #1c1c1e;
  color: #f1f1f4;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  overflow-x: auto;
  margin: 1rem 0 1.5rem;
}

pre code {
  background: none;
  padding: 0;
  color: inherit;
  font-size: 0.85rem;
  line-height: 1.5;
}

.site-footer {
  text-align: center;
  color: var(--muted);
  padding: 2rem 0;
  font-size: 0.85rem;
}

.site-footer a {
  color: var(--accent);
}

dialog.promo-modal {
  position: relative;
  max-width: 560px;
  width: calc(100% - 2rem);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  color: var(--fg);
  background: #fff;
}

dialog.promo-modal::backdrop {
  background: rgba(28, 28, 30, 0.5);
}

dialog.promo-modal h2 {
  margin-top: 0;
}

dialog.promo-modal ol {
  padding-left: 1.25rem;
  line-height: 1.6;
}

dialog.promo-modal ol li {
  margin-bottom: 0.75rem;
}

dialog.promo-modal .modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  border: none;
  background: none;
  font-size: 1.5rem;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  color: var(--muted);
}

dialog.promo-modal .modal-close:hover {
  color: var(--accent);
}
