:root {
  --bg: #FAF6F0;
  --surface: #F5EFE4;
  --text: #0F172A;
  --text-secondary: #475569;
  --text-muted: #78716C;
  --navy: #0F172A;
  --navy-light: #1E3A8A;
  --sienna: #C2410C;
  --sienna-dark: #9A3412;
  --cream: #FAF6F0;
  --cream-dark: #EDE8DF;
  --hairline: #E8E0D5;
  /* Brand alias tokens (declarative palette) */
  --accent: #C2410C;
  --accent-alt: #1E3A8A;
  --muted: #78716C;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

header.site {
  padding: 28px 24px 0;
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.brand::before {
  content: "\25A0";
  color: var(--sienna);
  font-size: 18px;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  margin-left: 20px;
  font-size: 14px;
  font-weight: 500;
}

nav a:hover {
  color: var(--sienna-dark);
}

h1 {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-size: 48px;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin: 0 0 16px;
  font-weight: 600;
  color: var(--navy);
}

h2 {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-size: 26px;
  font-weight: 600;
  margin: 40px 0 12px;
  letter-spacing: -0.3px;
  color: var(--navy);
}

h3 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 17px;
  margin: 24px 0 8px;
  font-weight: 600;
  color: var(--navy);
}

.tagline {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--text-secondary);
  font-size: 20px;
  font-style: italic;
  margin-bottom: 32px;
}

.lead {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.updated {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
}

p {
  margin: 0 0 14px;
  color: var(--text);
}

ul {
  padding-left: 20px;
  margin: 0 0 16px;
}

ol {
  padding-left: 20px;
  margin: 0 0 16px;
}

li {
  margin-bottom: 6px;
}

a {
  color: var(--sienna-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.cta {
  display: inline-block;
  background: var(--sienna);
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  margin-top: 8px;
  text-decoration: none;
}

.cta:hover {
  text-decoration: none;
  background: var(--navy);
}

.cta-ghost {
  display: inline-block;
  background: var(--cream-dark);
  color: var(--navy);
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  margin-top: 8px;
  text-decoration: none;
  border: 1px solid var(--hairline);
}

.cta-ghost:hover {
  text-decoration: none;
  background: var(--hairline);
}

.coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--navy);
  color: var(--cream);
  border-radius: 14px;
  font-size: 15px;
  font-weight: 500;
  margin: 12px 0 24px;
}

.coming-soon .icon {
  font-size: 20px;
  color: #C2410C;
}

.tier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0 32px;
}

.tier-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 20px;
}

.tier-card h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.tier-card .price {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy-light);
  margin-bottom: 12px;
}

.tier-card ul {
  margin: 0;
  padding-left: 16px;
  font-size: 14px;
}

.tier-card li {
  margin-bottom: 4px;
  color: var(--text-secondary);
}

.link-row {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
}

.link-row a {
  color: var(--text-secondary);
}

.link-row a:hover {
  color: var(--sienna-dark);
}

footer.site-footer {
  padding: 32px 24px 48px;
  max-width: 720px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 13px;
  border-top: 1px solid var(--hairline);
  text-align: center;
}

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

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.88em;
  background: var(--cream-dark);
  padding: 1px 5px;
  border-radius: 4px;
}

/* FAQ section */
.faq {
  margin: 40px 0 32px;
}

.faq h2 {
  margin-top: 0;
}

.faq details {
  border-top: 1px solid var(--hairline);
  padding: 16px 0;
}

.faq details:last-of-type {
  border-bottom: 1px solid var(--hairline);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: var(--navy);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  user-select: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--sienna);
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.faq details[open] > summary::after {
  content: "\2212";
}

.faq details > p {
  margin: 12px 0 0;
  font-size: 15px;
  color: var(--text-secondary);
}

@media (max-width: 560px) {
  header.site {
    padding: 20px 20px 0;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }

  .brand {
    font-size: 24px;
  }

  nav a {
    margin-left: 0;
    margin-right: 16px;
  }

  .container {
    padding: 28px 20px 60px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 22px;
  }

  .tagline {
    font-size: 18px;
  }

  .tier-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Hero — two-column layout (Section A)
   ============================================================ */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 4rem 0 2rem;
}

@media (min-width: 720px) {
  .hero {
    grid-template-columns: 3fr 2fr;
    align-items: center;
  }
}

.hero-copy {
  /* copy naturally stacks */
}

.hero-mockup {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.phone-frame {
  width: 100%;
  max-width: 260px;
  height: auto;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(15, 23, 42, 0.18));
}

/* ============================================================
   CTA row (Section A buttons)
   ============================================================ */
.cta-row {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.875rem 1.5rem;
  border-radius: 8px;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  line-height: 1;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: #C2410C;
  color: #ffffff;
}

.btn-primary:hover {
  background: #9a330a;
  text-decoration: none;
  color: #ffffff;
}

.btn-secondary {
  background: transparent;
  color: #0F172A;
  border: 1.5px solid #0F172A;
}

.btn-secondary:hover {
  background: rgba(15, 23, 42, 0.06);
  text-decoration: none;
  color: #0F172A;
}

/* ============================================================
   Feature grid (Section B)
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  padding: 1rem 0 2rem;
}

.feature {
  background: var(--surface);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  padding: 1.25rem;
}

.feature h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 17px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.feature p {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.pro-badge {
  background: #C2410C;
  color: #ffffff;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  vertical-align: middle;
}

/* ============================================================
   Trust strip (Section C)
   ============================================================ */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  padding: 2.5rem 1.5rem;
  background: var(--surface);
  border-radius: 8px;
  margin: 2rem 0;
}

.trust-item h3 {
  margin: 0 0 0.4rem;
  font-size: 15px;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  color: var(--navy);
}

.trust-item p {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

/* ============================================================
   Pricing cards (Section D)
   ============================================================ */
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.price-card {
  background: var(--surface);
  border: 2px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  padding: 1.5rem;
}

.price-card h3 {
  margin: 0 0 0.25rem;
  font-size: 16px;
  font-family: 'Inter', system-ui, sans-serif;
}

.price-card .price {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2.4rem;
  color: #1E3A8A;
  margin: 0.4rem 0 0;
  line-height: 1.1;
}

.price-card .price-period {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.price-card .price-sub {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0.25rem 0 1rem;
}

.price-card ul {
  font-size: 14px;
  padding-left: 18px;
  margin: 0;
}

.price-card li {
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.price-card-featured {
  border-color: #C2410C;
  position: relative;
}

.popular-badge {
  display: inline-block;
  background: #C2410C;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  font-family: 'Inter', system-ui, sans-serif;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 0.5rem;
}

/* ============================================================
   Footer upgrade (Section F)
   ============================================================ */
footer.site-footer p {
  margin: 0 0 4px;
}
