/* ===========================================================================
   Trueward — marketing site
   Calm, editorial. Warm cream paper, forest/sage green, Newsreader serif.
   Mirrors the app's design language.
   =========================================================================== */

:root {
  /* Paper & surfaces */
  --paper:        #F1ECDD;
  --paper-alt:    #E9E2CE;
  --paper-deep:   #E3DAC2;
  --card:         #FFFDF6;
  --card-alt:     #FBF7EA;

  /* Ink */
  --ink:          #15140F;
  --ink-2:        #3A382F;
  --ink-3:        #7A7768;
  --ink-4:        #ABA694;

  /* Greens */
  --forest:       #466A41;
  --forest-deep:  #2F4E2B;
  --forest-ink:   #1E3A1C;
  --sage:         #8BB57F;
  --sage-soft:    rgba(70, 106, 65, 0.10);
  --sage-softer:  rgba(70, 106, 65, 0.055);

  /* Status */
  --miss:         #B53A37;
  --miss-soft:    rgba(181, 58, 55, 0.12);

  /* Rules */
  --rule:         #DCD4BF;
  --rule-faint:   rgba(190, 183, 162, 0.55);

  /* Dark band (philosophy / footer) */
  --night:        #14201B;
  --night-2:      #1B2A23;
  --night-ink:    #F2EFE4;
  --night-ink-2:  #C5CDB9;
  --night-ink-3:  #8A9683;
  --night-rule:   rgba(180, 196, 170, 0.16);

  --serif: "Newsreader", Georgia, serif;
  --sans:  "IBM Plex Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono:  "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --r: 22px;

  --shadow-device:
     0 2px 6px rgba(40, 34, 18, 0.10),
     0 30px 70px -28px rgba(40, 34, 18, 0.42),
     0 60px 120px -60px rgba(40, 34, 18, 0.4);
  --ease: cubic-bezier(0.22, 0.8, 0.26, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

::selection { background: rgba(70, 106, 65, 0.22); }

/* ── Typography helpers ───────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--forest);
  margin: 0;
}
.eyebrow--muted { color: var(--ink-3); }

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

h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.018em; margin: 0; }

.section {
  padding: clamp(72px, 11vw, 150px) var(--gutter);
  position: relative;
}
.wrap { max-width: var(--maxw); margin: 0 auto; }
.narrow { max-width: 760px; margin: 0 auto; }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  border-radius: 999px;
  padding: 14px 22px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease),
              border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn--app {
  background: var(--ink);
  color: var(--paper);
  padding: 13px 24px 13px 20px;
  box-shadow: 0 12px 28px -14px rgba(20, 20, 15, 0.7);
}
.btn--app:hover { background: #000; transform: translateY(-2px); box-shadow: 0 18px 34px -16px rgba(20, 20, 15, 0.7); }
.btn--app .app-store-logo { width: 26px; height: 26px; flex: none; }
.btn--app .app-store-text { display: flex; flex-direction: column; line-height: 1; text-align: left; }
.btn--app .app-store-text small { font-size: 10px; font-weight: 500; letter-spacing: 0.04em; opacity: 0.8; }
.btn--app .app-store-text span { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin-top: 3px; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}
.btn--ghost:hover { border-color: var(--forest); color: var(--forest); transform: translateY(-2px); }

.btn--light {
  background: var(--night-ink);
  color: var(--night);
}
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -16px rgba(0,0,0,0.5); }

/* ── Top nav ──────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--gutter);
  transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(241, 236, 221, 0.82);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: var(--rule-faint);
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__name { font-family: var(--serif); font-weight: 500; font-size: 21px; letter-spacing: -0.01em; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.15s ease;
}
.nav__links a:hover { color: var(--forest); }
.nav__cta { display: flex; align-items: center; gap: 18px; }
.nav .btn--app { padding: 9px 16px; }
.nav .btn--app .app-store-text span { font-size: 14px; }
.nav .btn--app .app-store-text small { font-size: 9px; }
.nav .btn--app .app-store-logo { width: 20px; height: 20px; }

/* ── App icon mark ────────────────────────────────────────────────────── */
.app-icon {
  display: grid;
  place-items: center;
  background:
     radial-gradient(120% 120% at 30% 18%, #6E9061 0%, #4E6945 46%, #3C5836 100%);
  border-radius: 26%;
  box-shadow:
     inset 0 1.5px 1px rgba(255,255,255,0.28),
     inset 0 -3px 6px rgba(0,0,0,0.22),
     0 3px 8px -2px rgba(40, 34, 18, 0.4);
}
.app-icon svg { width: 58%; height: 58%; }
.app-icon--sm { width: 34px; height: 34px; }
.app-icon--lg { width: 96px; height: 96px; border-radius: 24%; }
.app-icon--xl { width: 130px; height: 130px; border-radius: 24%; }

/* ── HERO ─────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding-top: clamp(130px, 18vh, 200px);
  padding-bottom: clamp(60px, 9vw, 110px);
  overflow: hidden;
}
.hero::before {
  /* soft warm glow */
  content: "";
  position: absolute;
  top: -10%; right: -5%;
  width: 60vw; height: 60vw;
  max-width: 820px; max-height: 820px;
  background: radial-gradient(circle at center, rgba(139, 181, 127, 0.28), rgba(139,181,127,0) 64%);
  pointer-events: none;
  z-index: 0;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
}
.hero__copy { max-width: 600px; }

.award-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 7px 15px 7px 9px;
  margin-bottom: 28px;
  box-shadow: 0 6px 18px -12px rgba(40,34,18,0.4);
}
.award-chip__mark {
  display: grid; place-items: center;
  width: 24px; height: 24px;
  border-radius: 999px;
  background: linear-gradient(160deg, #1d1d1f, #000);
  color: #fff;
}
.award-chip__mark svg { width: 14px; height: 14px; }
.award-chip__txt {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
}
.award-chip__txt b { color: var(--forest); font-weight: 600; }

.hero__title {
  font-size: clamp(46px, 7.4vw, 90px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0 0 26px;
}
.hero__title .ital { display: block; letter-spacing: -0.02em; }
.hero__sub {
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 30ch;
  margin: 0 0 34px;
  text-wrap: pretty;
}
.hero__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero__rating {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}
.hero__rating .stars { color: var(--forest); letter-spacing: 0.1em; }

/* Hero device composition */
.hero__stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 540px;
}
.hero__ipad {
  width: min(92%, 560px);
  transform: rotate(2.5deg);
  position: relative;
  z-index: 1;
}
.hero__phone {
  position: absolute;
  width: clamp(150px, 19vw, 210px);
  left: -2%;
  bottom: -6%;
  z-index: 2;
  transform: rotate(-5deg);
}
.phone.hero__phone { padding: 5px; }

/* ── Device frames ────────────────────────────────────────────────────── */
.phone {
  position: relative;
  background: linear-gradient(145deg, #2a2a2c, #161617);
  border-radius: 15.5%/7.3%;
  padding: 2.6%;
  box-shadow: var(--shadow-device);
}
.phone::after { /* side button highlight */
  content: "";
  position: absolute; inset: 0;
  border-radius: 15.5%/7.3%;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.08);
  pointer-events: none;
}
.phone__screen {
  border-radius: 12%/5.6%;
  overflow: hidden;
  background: var(--paper);
  position: relative;
}
/* The image drives the screen's height. Putting aspect-ratio on the <img> (a
   replaced element) instead of percentage-height on the parent sidesteps a
   Safari/WebKit bug where height:100% won't resolve against an aspect-ratio box,
   which collapsed the screen squarer and let object-fit:cover crop the sides. */
.phone__screen img { display: block; width: 100%; height: auto; aspect-ratio: 1320 / 2868; }
.phone__island {
  position: absolute;
  top: 2.6%; left: 50%;
  transform: translateX(-50%);
  width: 30%; height: 3.1%;
  min-height: 16px;
  background: #000;
  border-radius: 999px;
  z-index: 3;
}

.tablet {
  position: relative;
  background: linear-gradient(150deg, #303032, #1a1a1b);
  border-radius: 4.2%;
  padding: 1.5%;
  box-shadow: var(--shadow-device);
}
.tablet::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 4.2%;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.07);
  pointer-events: none;
}
.tablet__screen {
  border-radius: 2.4%;
  overflow: hidden;
  background: var(--paper);
}
.tablet__screen img { display: block; width: 100%; height: auto; aspect-ratio: 2752 / 2064; }

/* ── Marquee / trust strip ────────────────────────────────────────────── */
.strip {
  border-top: 1px solid var(--rule-faint);
  border-bottom: 1px solid var(--rule-faint);
  padding: 28px var(--gutter);
  background: var(--paper-alt);
}
.strip__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.strip__item { display: flex; flex-direction: column; gap: 4px; }
.strip__num { font-family: var(--serif); font-size: 30px; font-weight: 500; letter-spacing: -0.01em; }
.strip__lbl { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.strip__divider { width: 1px; height: 40px; background: var(--rule); }

/* ── Section heading block ────────────────────────────────────────────── */
.head { max-width: 720px; margin-bottom: clamp(48px, 7vw, 86px); }
.head--center { margin-left: auto; margin-right: auto; text-align: center; }
.head__title {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.04;
  margin: 16px 0 0;
  text-wrap: balance;
}
.head__sub {
  font-size: clamp(17px, 1.8vw, 20px);
  color: var(--ink-2);
  margin: 22px 0 0;
  line-height: 1.6;
  text-wrap: pretty;
}

/* ── Feature rows ─────────────────────────────────────────────────────── */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.feature + .feature { margin-top: clamp(110px, 15vw, 200px); }
.feature--reverse .feature__media { order: 2; }
.feature__copy { max-width: 480px; }
.feature--reverse .feature__copy { margin-left: auto; }

.feature__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--forest);
  text-transform: uppercase;
}
.feature__title {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.06;
  margin: 18px 0 0;
  text-wrap: balance;
}
.feature__body {
  font-size: 18px;
  line-height: 1.62;
  color: var(--ink-2);
  margin: 20px 0 0;
  text-wrap: pretty;
}
.feature__list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feature__list li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  font-size: 15.5px;
  color: var(--ink-2);
  line-height: 1.5;
}
.feature__list .tick {
  flex: none;
  margin-top: 2px;
  width: 22px; height: 22px;
  border-radius: 999px;
  display: grid; place-items: center;
  background: var(--sage-soft);
  color: var(--forest);
}
.feature__list .tick svg { width: 13px; height: 13px; }
.feature__list b { color: var(--ink); font-weight: 600; }

.feature__media { display: flex; justify-content: center; }
.feature__media .phone { width: min(74%, 320px); }
.feature__media .tablet { width: 100%; }

/* media flourish */
.media-frame { position: relative; width: 100%; display: flex; justify-content: center; }
.media-frame::before {
  content: "";
  position: absolute;
  inset: -8% -6%;
  background: radial-gradient(60% 60% at 50% 40%, rgba(139,181,127,0.22), rgba(139,181,127,0) 70%);
  z-index: 0;
}
.media-frame > * { position: relative; z-index: 1; }

/* ── Philosophy band (dark) ───────────────────────────────────────────── */
.band {
  background: var(--night);
  color: var(--night-ink);
  position: relative;
  overflow: hidden;
}
.band::before {
  content: "";
  position: absolute;
  top: -30%; left: 50%; transform: translateX(-50%);
  width: 90vw; height: 60vw;
  max-width: 1100px;
  background: radial-gradient(circle at center, rgba(139,181,127,0.16), rgba(139,181,127,0) 62%);
  pointer-events: none;
}
.band .eyebrow { color: var(--sage); }
.band__quote {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 26px 0 0;
}
.band__quote .ital { color: var(--sage); }
.band__sub {
  font-size: clamp(17px, 1.8vw, 20px);
  color: var(--night-ink-2);
  margin: 30px 0 0;
  line-height: 1.6;
  text-wrap: pretty;
}

/* three principles */
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(54px, 7vw, 90px);
}
.principle { border-top: 1px solid var(--night-rule); padding-top: 24px; }
.principle__k { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--night-ink-3); text-transform: uppercase; }
.principle__t { font-family: var(--serif); font-size: 25px; font-weight: 500; margin: 16px 0 10px; letter-spacing: -0.01em; }
.principle__d { font-size: 15.5px; color: var(--night-ink-2); line-height: 1.55; }

/* ── Award feature moment ─────────────────────────────────────────────── */
.award {
  text-align: center;
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(139,181,127,0.16), rgba(139,181,127,0) 60%),
    var(--paper);
}
.award__mark {
  display: grid; place-items: center;
  width: 76px; height: 76px;
  margin: 0 auto 30px;
  border-radius: 22px;
  background: linear-gradient(160deg, #1d1d1f, #000);
  color: #fff;
  box-shadow: 0 18px 40px -16px rgba(0,0,0,0.5);
}
.award__mark svg { width: 42px; height: 42px; }
.award__title {
  font-size: clamp(34px, 5.2vw, 60px);
  line-height: 1.02;
  margin: 0 0 24px;
  text-wrap: balance;
}
.award__title .ital { color: var(--forest); }
.award__body {
  max-width: 600px; margin: 0 auto;
  font-size: clamp(17px, 1.9vw, 20px);
  color: var(--ink-2);
  line-height: 1.62;
  text-wrap: pretty;
}

/* ── Gallery ──────────────────────────────────────────────────────────── */
.gallery {
  display: flex;
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(48px, 6vw, 80px);
  justify-content: center;
  align-items: flex-end;
  flex-wrap: wrap;
}
.gallery .phone { width: clamp(210px, 26vw, 270px); padding: 7px; }
.gallery .phone__screen { border-radius: 30px; }
.gallery .phone::after { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); }
.gallery .phone:nth-child(2) { margin-bottom: 30px; }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item {
  border-top: 1px solid var(--rule);
  padding: 4px 0;
}
.faq__item:last-child { border-bottom: 1px solid var(--rule); }
.faq__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 26px 4px;
  background: none; border: none; cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-align: left;
}
.faq__icon {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  display: grid; place-items: center;
  color: var(--forest);
  transition: transform 0.3s var(--ease), background 0.2s ease, border-color 0.2s ease;
}
.faq__item.open .faq__icon { transform: rotate(45deg); background: var(--sage-soft); border-color: transparent; }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq__a-inner {
  padding: 0 4px 28px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 64ch;
}

/* ── Final CTA ────────────────────────────────────────────────────────── */
.cta {
  text-align: center;
  background:
    radial-gradient(70% 80% at 50% 120%, rgba(139,181,127,0.3), rgba(139,181,127,0) 60%),
    var(--paper-alt);
}
.cta__icon { margin: 0 auto 32px; }
.cta__title {
  font-size: clamp(40px, 6.4vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.028em;
  margin: 0 0 22px;
}
.cta__title .ital { color: var(--forest); }
.cta__sub {
  font-size: clamp(17px, 1.9vw, 20px);
  color: var(--ink-2);
  max-width: 44ch;
  margin: 0 auto 38px;
  line-height: 1.6;
}
.cta__actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.footer {
  background: var(--night);
  color: var(--night-ink-2);
  padding: clamp(56px, 7vw, 88px) var(--gutter) 40px;
}
.footer__top {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--night-rule);
}
.footer__brand { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer__brand .brand__name { color: var(--night-ink); }
.footer__blurb { max-width: 34ch; font-size: 15px; line-height: 1.6; color: var(--night-ink-3); }
.footer__col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--night-ink-3);
  margin: 0 0 18px;
  font-weight: 500;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer__col a { font-size: 15px; color: var(--night-ink-2); transition: color 0.15s ease; }
.footer__col a:hover { color: var(--sage); }
.footer__bottom {
  max-width: var(--maxw);
  margin: 30px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--night-ink-3);
}

/* ── Scroll reveal ────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Focus styles (keyboard navigation) ───────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
  border-radius: 4px;
}
.band :focus-visible, .footer :focus-visible { outline-color: var(--sage); }

/* ── Award feature flag ───────────────────────────────────────────────── */
/* The "Apple App of the Month" chip + section are hidden by default. Add
   class="tw-show-award" to <body> to reveal them once the app is featured. */
.award-chip { display: none; }
#award { display: none; }
.tw-show-award .award-chip { display: inline-flex; }
.tw-show-award #award { display: block; }

/* ── Legal & support pages (privacy / terms / support) ────────────────── */
.legal {
  padding-top: clamp(120px, 16vh, 170px);
  padding-bottom: clamp(60px, 9vw, 110px);
}
.legal__head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 64px); }
.legal__title { font-size: clamp(40px, 6vw, 64px); line-height: 1.0; margin: 18px 0 18px; }
.legal__meta { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.06em; color: var(--ink-3); }
.legal__body { max-width: 760px; margin: 0 auto; }
.legal__lead {
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.5;
  color: var(--ink-2);
  text-wrap: pretty;
  margin: 0 0 8px;
}
.legal__card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: clamp(28px, 4vw, 44px);
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.legal__card .pin {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--forest);
}
.legal__card .pin svg { width: 16px; height: 16px; }
.legal__card .big {
  font-family: var(--serif); font-size: clamp(24px, 3vw, 34px);
  font-weight: 500; letter-spacing: -0.01em; line-height: 1.15;
}
.legal section { margin-top: 48px; }
.legal h2 {
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}
.legal h2 .n { font-family: var(--mono); font-size: 0.5em; color: var(--forest); margin-right: 14px; letter-spacing: 0.04em; vertical-align: middle; }
.legal h3 { font-size: 19px; margin: 28px 0 8px; }
.legal p, .legal li { font-size: 16.5px; line-height: 1.68; color: var(--ink-2); }
.legal p { margin: 14px 0 0; }
.legal ul { margin: 14px 0 0; padding-left: 4px; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.legal ul li { display: flex; gap: 12px; align-items: flex-start; }
.legal ul li::before {
  content: ""; flex: none; margin-top: 11px;
  width: 6px; height: 6px; border-radius: 999px; background: var(--sage);
}
.legal a.inline { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--rule); }
.legal a.inline:hover { text-decoration-color: var(--forest); }
.legal__back {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.06em;
  color: var(--ink-3); margin-bottom: 0; white-space: nowrap;
}
.legal__back:hover { color: var(--forest); }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .nav__links { display: none; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { max-width: 100%; text-align: center; margin: 0 auto; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .award-chip { margin-left: auto; margin-right: auto; }
  .hero__stage { min-height: 0; margin-top: 50px; }
  .hero__ipad { width: min(96%, 520px); }
  .hero__phone { width: clamp(120px, 28vw, 170px); left: 0; }

  .feature { grid-template-columns: 1fr; gap: 38px; }
  .feature--reverse .feature__media { order: 0; }
  .feature__copy { max-width: 100%; text-align: center; margin: 0 auto; }
  .feature__list { display: inline-flex; text-align: left; }
  .feature__list { align-items: stretch; }
  .feature--reverse .feature__copy { margin: 0 auto; }
  .feature__media .phone { width: min(62%, 280px); }

  .principles { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 540px) {
  .strip__inner { justify-content: space-around; gap: 18px 26px; }
  .strip__divider { display: none; }
  .feature__list { display: flex; }
}
