/* moat.css — the shared chrome and components of moat.works, 17 Oct 2026.
   Lifted verbatim from index.html's inline <style> (the 16 Oct home page is the pattern) so the inner pages
   look like one site; index.html keeps its own inline copy and is untouched. The additions for the inner
   pages are at the foot, under "INNER PAGES". Tokens, nav, menu, footer, sections: all here. */

/* ★ 16 Oct 2026: home rewritten to the brand review's page order (docs/reviews/2026-10-15-what-moat-is.md §6), phone first.
   Same tokens as before; --muted darkened to pass 4.5:1 on its grounds; small labels no longer wear amber (fix 8). */
:root {
  --depth:      #0F2E14;
  --canopy:     #1C4D2C;
  --moss:       #3D6B4A;
  --surface:    #F4F1EC;
  --mist:       #EAF0E7;
  --discovery:  #C47A1E;
  --discovery-dark: #A8661A;
  --ember:      #E3923A;
  --text:       #1A1E19;
  --muted:      #56655A;
  --line:       #D8DDD6;
  --white:      #FFFFFF;
  --on-dark:    rgba(234,240,231,0.86);
  --on-dark-2:  rgba(234,240,231,0.74);
  --serif:      'Instrument Serif', Georgia, serif;
  --sans:       'Inter', system-ui, -apple-system, sans-serif;
  --max:        1180px;
  --pad:        clamp(24px, 5vw, 80px);
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --duration:   0.6s;
}
@media (max-width: 600px) { :root { --pad: 16px; } }

/* ── Reset / base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--discovery); outline-offset: 3px; border-radius: 4px; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); position: relative; }
h1, h2, h3, .for-pull, .why-kicker { text-wrap: balance; }
p, li { text-wrap: pretty; }

/* ── Atmosphere: paper grain ── */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.30;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 280 280'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.06  0 0 0 0 0.18  0 0 0 0 0.08  0 0 0 0.62 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 280px 280px;
}
header, section, footer, .divider-strip { position: relative; z-index: 2; }

/* ── Reveal motion: below the hero only, and only when JS runs ── */
.js .fade-up { opacity: 0; transform: translateY(18px); transition: opacity var(--duration) var(--ease-out), transform var(--duration) var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.js .fade-up.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .fade-up { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 14px;
}
.on-dark .eyebrow { color: var(--on-dark-2); }

/* ═══ NAV (over the dark hero) ═══ */
.site-nav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px var(--pad);
  color: var(--white);
}
.site-nav .logo {
  font-family: var(--serif); font-size: 28px; letter-spacing: -0.02em; color: var(--white);
  display: inline-flex; align-items: center; min-height: 44px;
}
.nav-right { display: flex; align-items: center; gap: 6px; }
.nav-links { display: flex; align-items: center; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font-size: 14px; color: var(--on-dark-2); transition: color 0.15s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; margin-left: 6px;
  border-radius: 999px; background: var(--white); color: var(--depth);
  font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: background 0.18s;
}
.nav-cta:hover { background: var(--mist); }

/* the phone's menu: a plain disclosure, works by touch with no script */
.nav-menu { display: none; position: static; } /* the panel anchors to the header, so it never runs off the left edge */
.nav-menu summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; min-width: 44px; padding: 0 16px;
  border: 1px solid rgba(234,240,231,0.32); border-radius: 999px;
  font-size: 14px; color: var(--mist);
}
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu[open] summary { background: rgba(234,240,231,0.12); }
.nav-menu-panel {
  position: absolute; right: var(--pad); top: calc(100% - 4px);
  width: min(320px, calc(100vw - 2 * var(--pad)));
  background: var(--white); border-radius: 12px; padding: 6px;
  box-shadow: 0 18px 48px rgba(0,0,0,0.32);
}
.nav-menu-panel a {
  display: flex; align-items: center; min-height: 48px; padding: 0 14px;
  border-radius: 8px; font-size: 15px; color: var(--depth);
}
.nav-menu-panel a:hover, .nav-menu-panel a:focus-visible { background: var(--mist); }
.nav-menu-panel hr { border: 0; border-top: 1px solid var(--line); margin: 6px 8px; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-menu { display: block; }
}
@media (max-width: 370px) { .nav-cta .long { display: none; } }

/* ═══ 1 · HERO ═══ */
.hero {
  padding: 128px 0 76px;
  background:
    radial-gradient(ellipse at 82% 8%, rgba(196, 122, 30, 0.14), transparent 52%),
    radial-gradient(ellipse at 10% 96%, rgba(28, 77, 44, 0.55), transparent 55%),
    linear-gradient(165deg, #0C2611 0%, #0F2E14 42%, #1C4D2C 100%);
  color: var(--mist);
  overflow: hidden;
}
@media (min-width: 901px) { .hero { padding: 188px 0 128px; } }
.hero-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.hero-eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--on-dark);
  margin-bottom: 22px;
  padding: 7px 14px;
  border: 1px solid rgba(234,240,231,0.26);
  border-radius: 999px;
}
@media (max-width: 600px) {
  .hero-eyebrow { border: 0; padding: 0; letter-spacing: 0.08em; }
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(42px, 7vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--discovery); font-style: italic; }
.hero-sub {
  font-size: clamp(18px, 1.9vw, 22px);
  font-weight: 300;
  line-height: 1.55;
  color: var(--on-dark);
  max-width: 700px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.hero-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border-radius: 999px;
  background: var(--white);
  color: var(--depth);
  font-size: 16px;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0,0,0,0.28);
  transition: background 0.18s;
}
.hero-cta:hover { background: var(--mist); }
.hero-cta .arrow { transition: transform 0.2s; }
.hero-cta:hover .arrow { transform: translateX(4px); }
.hero-fine { font-size: 14px; color: var(--on-dark-2); }

/* ═══ Section base ═══ */
section { padding: 64px 0; }
@media (min-width: 901px) { section { padding: 112px 0; } }
.section-h {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--depth);
  margin-bottom: 18px;
  max-width: 860px;
}
.section-h .accent { color: var(--discovery-dark); font-style: italic; }
.section-lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--moss);
  max-width: 680px;
  margin-bottom: 40px;
}
.on-dark { background: var(--depth); color: var(--mist); }
.on-dark .section-h { color: var(--white); }
.on-dark .section-h .accent { color: var(--discovery); }
.on-dark .section-lead { color: var(--on-dark); }

/* ── Divider (contour rule) ── */
.divider-strip { padding: 0 var(--pad); background: var(--surface); }
.divider-strip.mist { background: var(--mist); }
.contour-rule { display: block; width: 100%; height: 28px; overflow: visible; }
.contour-rule path { stroke: var(--line); stroke-width: 1; fill: none; }
.contour-rule .ink { stroke: var(--moss); stroke-width: 1.2; }
.contour-rule .tick { stroke: var(--discovery); stroke-width: 1.5; }

/* ═══ 2 · YOUR FIRST MORNING ═══ */
.first { background: var(--surface); }
.steps { list-style: none; display: grid; grid-template-columns: 1fr; gap: 0; counter-reset: step; }
@media (min-width: 861px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.steps li {
  display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 861px) { .steps li { grid-template-columns: 1fr; gap: 12px; padding-top: 26px; } }
.steps .n {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
  color: var(--discovery-dark);
}
.steps h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 25px;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--depth);
  margin-bottom: 6px;
}
.steps p { font-size: 16px; color: var(--moss); line-height: 1.55; }
.first-fine { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* ═══ 3 · WHAT IT KEEPS FOR YOU ═══ */
.keeps { background: var(--mist); }
.keeps-grid { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
@media (min-width: 901px) { .keeps-grid { grid-template-columns: 1fr 380px; gap: 72px; } }
.keep-list { list-style: none; }
.keep-list li { padding: 20px 0; border-top: 1px solid rgba(61,107,74,0.22); }
.keep-list li:last-child { border-bottom: 1px solid rgba(61,107,74,0.22); }
.keep-list h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 25px;
  line-height: 1.2;
  color: var(--depth);
  margin-bottom: 4px;
}
.keep-list p { font-size: 16px; color: var(--moss); line-height: 1.55; max-width: 520px; }

/* the phone: a plain mock of Today, after the product's own Today (sky board 1), names invented */
.phone-wrap { margin: 0 auto; width: 100%; max-width: 360px; }
.phone {
  background:
    radial-gradient(ellipse at 90% 0%, rgba(28,77,44,0.55), transparent 60%),
    #0B1F0F;
  color: var(--mist);
  border-radius: 36px;
  border: 1px solid rgba(15,46,20,0.9);
  box-shadow: 0 0 0 6px #0A170C, 0 28px 70px rgba(15,46,20,0.32);
  padding: 26px 20px 0;
  overflow: hidden;
}
.ph-date { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.ph-num { font-family: var(--sans); font-weight: 600; font-size: 46px; line-height: 0.9; letter-spacing: -0.04em; color: var(--white); }
.ph-lamp { width: 8px; height: 8px; border-radius: 50%; background: #B8A36A; flex: none; }
.ph-when { font-size: 11px; line-height: 1.5; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(234,240,231,0.66); }
.ph-line { padding: 14px 0 12px; border-top: 1px solid rgba(234,240,231,0.10); }
.ph-key {
  font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(234,240,231,0.66); margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.ph-key .nm { text-decoration: underline dotted rgba(234,240,231,0.5); text-underline-offset: 3px; }
.ph-key .owed { color: var(--ember); font-size: 11px; letter-spacing: 0; }
.ph-head {
  font-family: var(--serif); font-size: 23px; line-height: 1.22; letter-spacing: -0.005em;
  color: var(--white); margin-bottom: 8px;
}
.ph-head .mark { display: inline-block; width: 17px; height: 17px; vertical-align: -2px; margin-left: 4px; }
.ph-body { font-size: 14.5px; line-height: 1.45; color: rgba(234,240,231,0.88); margin-bottom: 8px; }
.ph-doors { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(234,240,231,0.66); }
.ph-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin: 6px -20px 0; padding: 14px 24px 18px;
  border-top: 1px solid rgba(234,240,231,0.10);
  font-size: 13px; letter-spacing: 0.06em; color: rgba(234,240,231,0.66);
}
.ph-bar .on { color: var(--white); text-decoration: underline; text-underline-offset: 6px; }
.ph-bar svg { width: 20px; height: 20px; }
.phone-wrap figcaption { margin-top: 18px; text-align: center; font-size: 14px; color: var(--muted); }

/* ═══ 4 · WHY NOT CHATGPT ═══ */
.why-rows { list-style: none; border-top: 1px solid rgba(234,240,231,0.14); max-width: 880px; }
.why-rows li {
  padding: 20px 0;
  border-bottom: 1px solid rgba(234,240,231,0.14);
  display: grid; grid-template-columns: 1fr; gap: 4px;
}
@media (min-width: 761px) { .why-rows li { grid-template-columns: 1fr 1fr; gap: 32px; align-items: baseline; } }
.why-rows strong { font-family: var(--serif); font-weight: 400; font-size: 23px; line-height: 1.25; color: var(--white); }
.why-rows span { font-size: 16px; line-height: 1.55; color: var(--on-dark-2); }
.why-kicker {
  margin-top: 36px;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(26px, 3vw, 34px); line-height: 1.2;
  color: var(--white);
}

/* ═══ 5 · FOR FOUNDERS WHO RUN MORE THAN ONE THING ═══ */
.for { background: var(--surface); }
.for-pull {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(26px, 3.2vw, 36px); line-height: 1.2;
  color: var(--depth);
  border-left: 2px solid var(--discovery);
  padding-left: 18px;
  margin: 0 0 44px;
  max-width: 720px;
}
.depth-h { font-size: 15px; font-weight: 500; color: var(--text); margin-bottom: 16px; }
.depth-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 761px) { .depth-grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
.depth-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 22px;
}
.depth-card .door { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--moss); margin-bottom: 8px; }
.depth-card h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.18; color: var(--depth); margin-bottom: 8px; }
.depth-card p { font-size: 16px; line-height: 1.55; color: var(--moss); }
.depth-card .off { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* ═══ 6 · CONNECTED ACCOUNTS ═══ */
.accounts { background: var(--mist); }
.acct-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 761px) { .acct-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.acct {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px 20px;
}
.acct { display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; align-items: center; }
.acct p { grid-column: 1 / -1; }
.acct svg { width: 28px; height: 28px; }
.acct h3 { margin: 0; }
.acct p { margin-top: 8px; }
@media (min-width: 761px) {
  .acct { display: block; }
  .acct svg { margin-bottom: 12px; }
  .acct h3 { margin-bottom: 6px; }
  .acct p { margin-top: 0; }
}
.acct svg path, .acct svg circle, .acct svg line, .acct svg rect { fill: none; stroke: var(--moss); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.acct svg .accent { stroke: var(--discovery-dark); }
.acct h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.2; color: var(--depth); }
.acct p { font-size: 15px; color: var(--moss); line-height: 1.55; }
.text-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 18px;
  font-size: 15px; font-weight: 500; color: var(--discovery-dark);
}
.text-link .arrow { transition: transform 0.2s; }
.text-link:hover .arrow { transform: translateX(4px); }

/* ═══ 7 · PROOF ═══ */
.proof h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  max-width: 900px;
  margin-bottom: 16px;
}
.proof-src { font-size: 16px; color: var(--on-dark-2); max-width: 640px; margin-bottom: 40px; }
.proof-list { list-style: none; border-top: 1px solid rgba(234,240,231,0.14); max-width: 880px; margin-bottom: 36px; }
.proof-list li {
  padding: 18px 0;
  border-bottom: 1px solid rgba(234,240,231,0.14);
  font-family: var(--serif); font-size: clamp(21px, 2.3vw, 26px); line-height: 1.3; color: var(--white);
}
.story {
  max-width: 880px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(234,240,231,0.16);
  border-radius: 12px;
  padding: 22px 22px 24px;
}
.story .eyebrow { margin-bottom: 8px; }
.story p:not(.eyebrow) { font-size: 17px; line-height: 1.6; color: var(--on-dark); }

/* ═══ 8 · REQUEST EARLY ACCESS (the form, unchanged in what it sends) ═══ */
.final-cta {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(196,122,30,0.10), transparent 55%),
    var(--depth);
  color: var(--mist);
  text-align: center;
  border-top: 1px solid rgba(234,240,231,0.10);
}
.final-cta .eyebrow { color: var(--on-dark-2); }
.final-cta h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.022em;
  color: var(--white);
  max-width: 760px;
  margin: 0 auto 16px;
}
.final-cta .sub {
  color: var(--on-dark);
  font-size: 17px;
  max-width: 540px;
  margin: 0 auto 32px;
}
.form { display: flex; gap: 8px; max-width: 480px; margin: 0 auto 14px; }
@media (max-width: 480px) { .form { flex-direction: column; } }
.form input {
  flex: 1;
  min-height: 50px;
  padding: 13px 16px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  font-family: var(--sans);
  font-size: 16px;
  color: var(--white);
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.form.form-tall { flex-direction: column; align-items: stretch; gap: 10px; max-width: 460px; text-align: left; }
.form.form-tall input, .form.form-tall select { width: 100%; box-sizing: border-box; }
.form.form-tall select {
  appearance: none; -webkit-appearance: none;
  min-height: 50px;
  padding: 13px 40px 13px 16px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 6px;
  background: rgba(255,255,255,0.08) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='rgba(255,255,255,0.7)' stroke-width='1.5'/></svg>") no-repeat right 16px center;
  font-family: var(--sans); font-size: 16px; color: var(--white); outline: none;
}
.form.form-tall select:has(option[value=""]:checked) { color: rgba(255,255,255,0.62); }
.form.form-tall select option { color: var(--text); }
.form.form-tall select:focus { border-color: var(--discovery); background-color: rgba(255,255,255,0.12); }
.form input::placeholder { color: rgba(255,255,255,0.62); }
.form input:focus { border-color: var(--discovery); background: rgba(255,255,255,0.12); }
.form button {
  min-height: 52px;
  padding: 0 22px;
  border: none;
  border-radius: 6px;
  background: var(--discovery-dark);
  color: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
}
.form button:hover { background: #94591A; }
.form button:disabled { opacity: 0.8; cursor: default; }
.form-success {
  display: none;
  color: var(--mist);
  font-size: 15px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 6px;
  padding: 16px;
  max-width: 480px;
  margin: 0 auto 14px;
}
.form-success.shown { display: block; }
.form-error {
  display: none;
  color: #ffc1b6;
  font-size: 14px;
  background: rgba(255,80,60,0.08);
  border: 1px solid rgba(255,80,60,0.3);
  border-radius: 6px;
  padding: 14px;
  max-width: 480px;
  margin: 0 auto 14px;
}
.form-error.shown { display: block; }
.cta-fine { margin-top: 8px; font-size: 14px; color: rgba(234,240,231,0.70); }
#book { position: relative; top: -24px; display: block; height: 0; }

/* ═══ FOOTER ═══ */
footer.site-footer {
  background: var(--depth);
  color: rgba(234,240,231,0.70);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 36px var(--pad) 40px;
  text-align: center;
  font-size: 14px;
}
.footer-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; column-gap: 4px; max-width: 760px; margin: 0 auto; }
.footer-row + .footer-row { margin-top: 6px; }
.footer-label {
  width: 100%;
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(234,240,231,0.70); margin-bottom: 2px;
}
footer.site-footer a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px;
  color: rgba(234,240,231,0.80); transition: color 0.15s;
}
footer.site-footer a:hover { color: var(--white); }
.footer-fine { margin-top: 14px; font-size: 13px; color: rgba(234,240,231,0.70); }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* ═══════════════════════════════════════════════════════════════════════════
   INNER PAGES (17 Oct 2026) — the dark band under the shared header, and the
   few components how-it-works, why-moat, about and the export guides share.
   Phone first: one column, 16px gutters under 600px, every control 44px tall.
═══════════════════════════════════════════════════════════════════════════ */

/* the band: same ground as the home hero, shorter */
.page-hero {
  padding: 112px 0 52px;
  background:
    radial-gradient(ellipse at 82% 8%, rgba(196, 122, 30, 0.14), transparent 52%),
    radial-gradient(ellipse at 10% 96%, rgba(28, 77, 44, 0.55), transparent 55%),
    linear-gradient(165deg, #0C2611 0%, #0F2E14 42%, #1C4D2C 100%);
  color: var(--mist);
  overflow: hidden;
}
@media (min-width: 901px) { .page-hero { padding: 168px 0 84px; } }
.page-hero .eyebrow { color: var(--on-dark-2); }
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5.6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.028em;
  color: var(--white);
  margin-bottom: 18px;
  max-width: 900px;
  overflow-wrap: anywhere;
}
.page-hero h1 .accent { color: var(--discovery); font-style: italic; }
.page-hero .lead {
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 300;
  line-height: 1.55;
  color: var(--on-dark);
  max-width: 680px;
}
.page-hero .lead + .lead { margin-top: 10px; }
.page-hero .hero-actions { margin-top: 28px; }
.nav-links a[aria-current="page"] { color: var(--white); }
.nav-menu-panel a[aria-current="page"] { font-weight: 500; }

/* a dated list: the day on how-it-works, the beginning on about */
.moments { list-style: none; border-top: 1px solid var(--line); max-width: 880px; }
.moments li {
  display: grid; grid-template-columns: 1fr; gap: 6px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 761px) { .moments li { grid-template-columns: 150px 1fr; gap: 28px; } }
.moments .when {
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--discovery-dark); padding-top: 8px;
}
.moments h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 25px; line-height: 1.2; color: var(--depth);
  margin-bottom: 6px;
}
.moments p { font-size: 16px; line-height: 1.55; color: var(--moss); max-width: 600px; }
.moments p + p { margin-top: 8px; }
/* Moat's own line, in the serif (the serif is Moat's voice; the sans is the record) */
.moments .said, .began-quote {
  margin-top: 10px;
  font-family: var(--serif); font-size: 19px; line-height: 1.4; color: var(--text);
  border-left: 2px solid var(--discovery); padding-left: 14px;
  max-width: 560px;
}
.moments .said .mark { display: inline-block; width: 15px; height: 15px; vertical-align: -2px; margin-left: 4px; }
.moments .said .mark circle { fill: none; stroke: var(--moss); stroke-width: 1.2; }
.on-dark .moments { border-color: rgba(234,240,231,0.14); }
.on-dark .moments li { border-color: rgba(234,240,231,0.14); }
.on-dark .moments .when { color: var(--ember); }
.on-dark .moments h3 { color: var(--white); }
.on-dark .moments p { color: var(--on-dark-2); }

/* two-column rows on the light ground (the dark one is .why-rows, from the home page) */
.rows-light { list-style: none; border-top: 1px solid var(--line); max-width: 880px; }
.rows-light li {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr; gap: 4px;
}
@media (min-width: 761px) { .rows-light li { grid-template-columns: 1fr 1fr; gap: 32px; align-items: baseline; } }
.rows-light strong { font-family: var(--serif); font-weight: 400; font-size: 23px; line-height: 1.25; color: var(--depth); }
.rows-light span { font-size: 16px; line-height: 1.55; color: var(--moss); }
.rows-kicker {
  margin-top: 32px;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(24px, 3vw, 32px); line-height: 1.2;
  color: var(--depth);
}

/* running text */
.prose { max-width: 680px; }
.prose p { font-size: 17px; line-height: 1.65; color: var(--text); margin-bottom: 18px; }
.prose p:last-child { margin-bottom: 0; }
.prose a, .inline-link {
  color: var(--discovery-dark); font-weight: 500;
  text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px;
}
.prose a:hover, .inline-link:hover { text-decoration-color: var(--discovery-dark); }
.on-dark .prose p { color: var(--on-dark); }
.on-dark .prose a, .on-dark .inline-link { color: var(--ember); }
.fine { margin-top: 18px; font-size: 14px; color: var(--muted); max-width: 680px; }
.on-dark .fine { color: var(--on-dark-2); }

/* cards on either ground (what it writes; where it is) */
.cards { list-style: none; display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 761px) { .cards { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 1001px) { .cards.three { grid-template-columns: repeat(3, 1fr); } }
.cards li { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 22px 20px; }
.cards .door { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--moss); margin-bottom: 8px; }
.cards h3 { font-family: var(--serif); font-weight: 400; font-size: 23px; line-height: 1.2; color: var(--depth); margin-bottom: 6px; }
.cards p { font-size: 15px; line-height: 1.55; color: var(--moss); }
.cards .off { margin-top: 10px; font-size: 14px; color: var(--muted); }
.on-dark .cards li { background: rgba(255,255,255,0.04); border-color: rgba(234,240,231,0.16); }
.on-dark .cards .door { color: var(--on-dark-2); }
.on-dark .cards h3 { color: var(--white); }
.on-dark .cards p { color: var(--on-dark-2); }
.on-dark .cards .off { color: rgba(234,240,231,0.62); }

/* about: the team */
.team-grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
@media (min-width: 761px) { .team-grid { grid-template-columns: 220px 1fr; gap: 48px; } }
.team-photo { width: 100%; max-width: 220px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; }

/* the closing band of every inner page: no second form, one door to the home form */
.cta-band {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(196,122,30,0.10), transparent 55%),
    var(--depth);
  color: var(--mist);
  text-align: center;
  border-top: 1px solid rgba(234,240,231,0.10);
}
.cta-band .eyebrow { color: var(--on-dark-2); }
.cta-band h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(32px, 4.6vw, 52px); line-height: 1.08; letter-spacing: -0.02em;
  color: var(--white);
  max-width: 760px; margin: 0 auto 14px;
}
.cta-band .sub { color: var(--on-dark); font-size: 17px; max-width: 540px; margin: 0 auto 28px; }
.cta-band .fine { margin: 14px auto 0; color: rgba(234,240,231,0.70); }

/* the export guides keep style.css for their old components; these make the shared chrome and the phone fit */
.guide .page-hero h1 { font-size: clamp(30px, 4.6vw, 56px); }
.guide .page-hero .sub { margin-top: 8px; font-size: 15px; color: var(--on-dark-2); }
.guide details:not(.nav-menu) > summary { padding: 10px 0; }   /* the FAQ rows: a 44px tap target, marker kept; never the menu pill */
.guide .belief-card > a, .guide-link {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--discovery-dark); font-weight: 500;
}
.guide .beliefs-grid { grid-template-columns: 1fr; }
@media (min-width: 761px) { .guide .beliefs-grid { grid-template-columns: repeat(2, 1fr); } }
.guide .timeline-section-inner { padding: 0; }
@media (max-width: 600px) {
  .guide .timeline-section, .guide .beliefs, .guide .cta-strip { padding-left: 16px; padding-right: 16px; }
  .guide .belief-card { padding: 22px 18px; }
  .guide .timeline { padding-left: 32px; }
  .guide .timeline::before { left: 8px; }
  .guide .timeline-item::before { left: -28px; }
  .guide pre, .guide code { overflow-wrap: anywhere; white-space: pre-wrap; }
  .guide table { display: block; overflow-x: auto; }
}
.guide .chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--white);
  color: var(--depth); font-size: 14px; font-weight: 500;
}
.guide .chip:hover { border-color: var(--moss); background: var(--mist); }
