/* ==========================================================================
   Faith Mate — Marketing site styles
   "Soft & Sacred" — paper · ink · gold · rose · dusk · sage
   Mirrors the design tokens from the Faith Mate mobile app (theme.ts).

   ⚙️  To rebrand colors/fonts, edit the :root variables below — everything
   else inherits from them.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Paper / parchment */
  --paper0: #faf4e6;
  --paper1: #f4ecd8;
  --paper2: #ece1c5;
  --paper3: #e2d4b2;
  --paper-shadow: #d8c8a1;

  /* Ink */
  --ink1: #1b1610;
  --ink2: #3a2f1f;
  --ink3: #6e5c3f;
  --ink4: #9a8665;

  /* Sacred gold */
  --gold1: #b58a3a;
  --gold2: #c9a24f;
  --gold3: #8a6624;
  --gold-glow: rgba(201, 162, 79, 0.35);
  --gold-tint-bg: rgba(201, 162, 79, 0.1);
  --gold-tint-border: rgba(201, 162, 79, 0.3);

  /* Rose (prayer / heart) */
  --rose1: #b5645a;
  --rose2: #d88e84;
  --rose-soft: #f2dfd8;

  /* Dusk + sage */
  --dusk1: #3f4f6e;
  --sage1: #6b7e5c;

  /* Typography */
  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 24px;
  --r-xxl: 28px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-paper: 0 1px 2px rgba(58, 47, 31, 0.06);
  --shadow-soft: 0 4px 14px rgba(58, 47, 31, 0.12);
  --shadow-card: 0 10px 30px rgba(58, 47, 31, 0.18);
  --shadow-gold: 0 8px 24px rgba(201, 162, 79, 0.35);
  --shadow-rose: 0 8px 24px rgba(181, 100, 90, 0.45);

  /* Layout */
  --maxw: 1120px;
  --gutter: 24px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink2);
  background: var(--paper1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: 88px 0;
}

.section--tight {
  padding: 56px 0;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--gold3);
  margin: 0 0 14px;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  color: var(--ink1);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.3px;
  margin: 0;
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
}

h3 {
  font-size: 20px;
}

.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold3);
  font-weight: 500;
}

.lead {
  font-size: 17px;
  color: var(--ink3);
  line-height: 1.7;
}

.muted {
  color: var(--ink3);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: var(--r-full);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  min-height: 52px;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--gold1);
  color: #fff;
  box-shadow: var(--shadow-gold);
}

.btn--primary:hover {
  background: var(--gold3);
}

.btn--ink {
  background: var(--ink1);
  color: var(--paper0);
}

.btn--ink:hover {
  background: #2a2014;
}

.btn--secondary {
  background: transparent;
  color: var(--ink1);
  border-color: var(--ink3);
}

.btn--secondary:hover {
  background: rgba(110, 92, 63, 0.06);
}

.btn--ghost {
  background: transparent;
  color: var(--ink2);
}

.btn--block {
  width: 100%;
}

.btn-icon {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.btn-icon small {
  font-size: 10px;
  font-weight: 500;
  opacity: 0.8;
  letter-spacing: 0.4px;
}

.btn-icon strong {
  font-size: 16px;
  font-weight: 700;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ==========================================================================
   Header / nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 244, 230, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--paper3);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 19px;
  color: var(--ink1);
  letter-spacing: -0.2px;
}

.brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold2), var(--gold1));
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: var(--shadow-gold);
  flex: none;
}

.brand__mark svg {
  width: 20px;
  height: 20px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  padding: 9px 14px;
  border-radius: var(--r-full);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink2);
  transition: background 0.18s ease, color 0.18s ease;
}

.nav__links a:hover {
  background: rgba(110, 92, 63, 0.07);
}

.nav__links a.is-active {
  color: var(--gold3);
  font-weight: 600;
}

.nav__cta {
  margin-left: 6px;
}

.nav__toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--paper3);
  border-radius: var(--r-md);
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--ink1);
}

.nav__toggle svg {
  width: 22px;
  height: 22px;
  margin: 0 auto;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--paper0) 0%, var(--paper1) 55%, var(--paper2) 100%);
  padding: 72px 0 88px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  pointer-events: none;
}

.hero::before {
  width: 460px;
  height: 460px;
  top: -160px;
  right: -120px;
  background: radial-gradient(circle, var(--gold-glow), transparent 65%);
}

.hero::after {
  width: 380px;
  height: 380px;
  bottom: -180px;
  left: -120px;
  background: radial-gradient(circle, rgba(181, 100, 90, 0.18), transparent 65%);
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero__title {
  font-size: clamp(34px, 5.2vw, 56px);
  line-height: 1.05;
  margin-bottom: 20px;
}

.hero__sub {
  font-size: 18px;
  color: var(--ink3);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 30px;
}

.hero__note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink4);
  display: flex;
  align-items: center;
  gap: 8px;
}

.stars {
  color: var(--gold1);
  letter-spacing: 2px;
}

.hero__visual {
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   Phone mockup (pure CSS — doubles as a screenshot placeholder)
   👉 To use a real screenshot, see README. Replace the .phone__screen
      contents with: <img src="assets/screenshot-home.png" alt="...">
   ========================================================================== */
.phone {
  position: relative;
  width: 290px;
  height: 600px;
  border-radius: 46px;
  background: #15110b;
  padding: 12px;
  box-shadow: var(--shadow-card), 0 30px 60px rgba(27, 22, 16, 0.28);
}

.phone::after {
  /* notch */
  content: "";
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 26px;
  background: #15110b;
  border-radius: var(--r-full);
  z-index: 3;
}

.phone__screen {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--paper0), var(--paper1) 50%, var(--paper2));
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 46px 18px 18px;
  gap: 14px;
}

.phone__screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 36px;
}

.scr-tag {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--ink3);
}

.scr-greet {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  color: var(--ink1);
  margin-bottom: 4px;
}

.scr-greet b {
  color: var(--gold3);
  font-weight: 500;
}

.scr-verse {
  position: relative;
  background: var(--paper0);
  border: 1px solid var(--paper3);
  border-radius: var(--r-lg);
  padding: 18px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.scr-verse::before {
  content: "";
  position: absolute;
  top: -36px;
  right: -36px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(201, 162, 79, 0.2);
}

.scr-verse .eyebrow {
  margin-bottom: 8px;
  font-size: 9px;
  letter-spacing: 1.6px;
}

.scr-verse p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink1);
  margin: 0 0 14px;
}

.scr-verse .ref {
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 1.1px;
  color: var(--gold3);
}

.scr-chat {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--paper0);
  border: 1px solid var(--paper3);
  border-radius: var(--r-lg);
  padding: 12px 14px;
  box-shadow: var(--shadow-paper);
}

.scr-chat__ico {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--paper2);
  display: grid;
  place-items: center;
  color: var(--ink1);
  flex: none;
}

.scr-chat__ico svg {
  width: 17px;
  height: 17px;
}

.scr-chat b {
  display: block;
  font-size: 12px;
  color: var(--ink1);
  font-weight: 600;
}

.scr-chat span {
  font-size: 10px;
  color: var(--ink3);
}

/* ==========================================================================
   Trust bar
   ========================================================================== */
.trustbar {
  background: var(--paper0);
  border-top: 1px solid var(--paper3);
  border-bottom: 1px solid var(--paper3);
}

.trustbar__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 36px 0;
  text-align: center;
}

.trustbar__num {
  font-family: var(--font-serif);
  font-size: 30px;
  color: var(--ink1);
}

.trustbar__lbl {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink3);
  margin-top: 4px;
}

/* ==========================================================================
   Showcase (app screenshots row)
   ========================================================================== */
.showcase {
  background: var(--paper1);
}

.showcase__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
  justify-items: center;
}

.showcase .phone {
  width: 240px;
  height: 496px;
}

.showcase__cap {
  text-align: center;
  margin-top: 18px;
  font-size: 14px;
  color: var(--ink3);
  max-width: 240px;
}

.showcase__cap b {
  display: block;
  color: var(--ink1);
  font-family: var(--font-serif);
  font-size: 17px;
  margin-bottom: 4px;
}

/* ==========================================================================
   Feature cards
   ========================================================================== */
.features {
  background: linear-gradient(180deg, var(--paper1), var(--paper0));
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: var(--paper0);
  border: 1px solid var(--paper3);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--shadow-paper);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: var(--gold-tint-bg);
  border: 1px solid var(--gold-tint-border);
  color: var(--gold1);
}

.card__icon svg {
  width: 26px;
  height: 26px;
}

.card__icon--rose {
  background: rgba(181, 100, 90, 0.12);
  border-color: rgba(181, 100, 90, 0.28);
  color: var(--rose1);
}

.card__icon--dusk {
  background: rgba(63, 79, 110, 0.12);
  border-color: rgba(63, 79, 110, 0.28);
  color: var(--dusk1);
}

.card__icon--sage {
  background: rgba(107, 126, 92, 0.14);
  border-color: rgba(107, 126, 92, 0.3);
  color: var(--sage1);
}

.card h3 {
  margin-bottom: 8px;
}

.card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink3);
  line-height: 1.6;
}

/* ==========================================================================
   Why Faith Mate (split)
   ========================================================================== */
.why {
  background: var(--paper0);
}

.why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.why__list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.why__list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.why__check {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold-tint-bg);
  border: 1px solid var(--gold-tint-border);
  color: var(--gold1);
  display: grid;
  place-items: center;
  margin-top: 2px;
}

.why__check svg {
  width: 15px;
  height: 15px;
}

.why__list b {
  color: var(--ink1);
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 500;
}

.why__list p {
  margin: 2px 0 0;
  font-size: 14px;
  color: var(--ink3);
}

/* A peaceful "verse" feature panel on the right */
.verse-panel {
  position: relative;
  background: linear-gradient(135deg, #faf1dc, var(--paper1));
  border: 1px solid var(--gold2);
  border-radius: var(--r-xxl);
  padding: 40px 34px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.verse-panel::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(201, 162, 79, 0.22);
}

.verse-panel__quote {
  position: relative;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.35;
  color: var(--ink1);
  margin: 0 0 18px;
}

.verse-panel__ref {
  position: relative;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.4px;
  color: var(--gold3);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq {
  background: linear-gradient(180deg, var(--paper0), var(--paper1));
}

.faq__list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--paper0);
  border: 1px solid var(--paper3);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-paper);
}

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 20px 22px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink1);
}

.faq-item__q .chev {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--gold1);
  transition: transform 0.25s ease;
}

.faq-item.is-open .faq-item__q .chev {
  transform: rotate(180deg);
}

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item__a p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--ink3);
  font-size: 15px;
  line-height: 1.65;
}

/* ==========================================================================
   Final CTA
   ========================================================================== */
.cta {
  padding: 96px 0;
  background: var(--paper1);
}

.cta__box {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(160deg, #2a2014 0%, #1b1610 60%, #3f2f1c 100%);
  border-radius: var(--r-xxl);
  padding: 64px 32px;
  box-shadow: var(--shadow-card);
}

.cta__box::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-glow), transparent 65%);
}

.cta__box .eyebrow {
  color: var(--gold2);
}

.cta__box h2 {
  position: relative;
  color: var(--paper0);
  max-width: 620px;
  margin: 0 auto 16px;
}

.cta__box .serif-italic {
  color: var(--gold2);
}

.cta__box p {
  position: relative;
  color: rgba(244, 236, 216, 0.78);
  max-width: 520px;
  margin: 0 auto 30px;
  font-size: 17px;
}

.cta__box .btn-row {
  position: relative;
  justify-content: center;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--ink1);
  color: rgba(244, 236, 216, 0.72);
  padding: 56px 0 32px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(244, 236, 216, 0.12);
}

.site-footer .brand {
  color: var(--paper0);
  margin-bottom: 14px;
}

.footer__about {
  font-size: 14px;
  line-height: 1.7;
  max-width: 320px;
  color: rgba(244, 236, 216, 0.6);
}

.footer__col h4 {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--gold2);
  margin: 0 0 16px;
}

.footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.footer__col a {
  font-size: 14px;
  color: rgba(244, 236, 216, 0.72);
  transition: color 0.15s ease;
}

.footer__col a:hover {
  color: var(--gold2);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 13px;
  color: rgba(244, 236, 216, 0.5);
}

/* ==========================================================================
   Page header (interior pages: contact, privacy, terms)
   ========================================================================== */
.page-hero {
  background: linear-gradient(180deg, var(--paper0), var(--paper1));
  padding: 72px 0 56px;
  text-align: center;
  border-bottom: 1px solid var(--paper3);
}

.page-hero h1 {
  font-size: clamp(30px, 4.5vw, 46px);
  margin-bottom: 14px;
}

.page-hero p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--ink3);
  font-size: 17px;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.contact-card {
  background: var(--paper0);
  border: 1px solid var(--paper3);
  border-radius: var(--r-xl);
  padding: 30px;
  box-shadow: var(--shadow-paper);
}

.contact-card + .contact-card {
  margin-top: 18px;
}

.contact-card h3 {
  margin-bottom: 8px;
}

.contact-card a {
  color: var(--gold3);
  font-weight: 600;
}

.contact-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--gold-tint-bg);
  border: 1px solid var(--gold-tint-border);
  border-radius: var(--r-lg);
  padding: 16px 18px;
  font-size: 14px;
  color: var(--ink2);
  margin-top: 18px;
}

.contact-note svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--gold1);
  margin-top: 1px;
}

/* Form */
.form {
  background: var(--paper0);
  border: 1px solid var(--paper3);
  border-radius: var(--r-xl);
  padding: 30px;
  box-shadow: var(--shadow-card);
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink2);
  margin-bottom: 7px;
  letter-spacing: 0.2px;
}

.field input,
.field textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink1);
  background: var(--paper1);
  border: 1px solid var(--paper3);
  border-radius: var(--r-md);
  padding: 13px 15px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink4);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold1);
  box-shadow: 0 0 0 3px var(--gold-tint-bg);
}

.field textarea {
  resize: vertical;
  min-height: 140px;
}

.form__status {
  margin-top: 16px;
  font-size: 14px;
  padding: 12px 16px;
  border-radius: var(--r-md);
  display: none;
}

.form__status.is-visible {
  display: block;
}

.form__status--ok {
  background: rgba(107, 126, 92, 0.14);
  border: 1px solid rgba(107, 126, 92, 0.32);
  color: #4f6042;
}

/* ==========================================================================
   Legal / prose (privacy, terms)
   ========================================================================== */
.prose {
  max-width: 760px;
  margin: 0 auto;
}

.prose .meta {
  font-size: 14px;
  color: var(--ink4);
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--paper3);
}

.prose h2 {
  font-size: 24px;
  margin: 40px 0 12px;
}

.prose h2:first-of-type {
  margin-top: 0;
}

.prose p,
.prose li {
  font-size: 15.5px;
  color: var(--ink2);
  line-height: 1.75;
}

.prose ul {
  padding-left: 22px;
  margin: 12px 0;
}

.prose li {
  margin-bottom: 8px;
}

.prose a {
  color: var(--gold3);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose strong {
  color: var(--ink1);
}

.toc {
  background: var(--paper0);
  border: 1px solid var(--paper3);
  border-radius: var(--r-lg);
  padding: 22px 26px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-paper);
}

.toc h4 {
  margin: 0 0 12px;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold3);
}

.toc ol {
  margin: 0;
  padding-left: 20px;
  columns: 2;
  gap: 24px;
}

.toc li {
  margin-bottom: 8px;
  font-size: 14px;
}

.toc a {
  color: var(--ink2);
}

.toc a:hover {
  color: var(--gold3);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .section {
    padding: 64px 0;
  }

  .hero__grid,
  .why__grid,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero__visual {
    order: -1;
  }

  .feature-grid,
  .showcase__row {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer__about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .nav__links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--paper0);
    border-bottom: 1px solid var(--paper3);
    padding: 14px var(--gutter) 20px;
    box-shadow: var(--shadow-soft);
    display: none;
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__links a {
    padding: 12px 14px;
  }

  .nav__cta {
    margin-left: 0;
    margin-top: 6px;
  }

  .nav__toggle {
    display: grid;
    place-items: center;
  }

  .feature-grid,
  .showcase__row,
  .trustbar__grid {
    grid-template-columns: 1fr;
  }

  .showcase__row {
    gap: 48px;
  }

  .toc ol {
    columns: 1;
  }

  .hero__title {
    font-size: 34px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
