/* LiteBooks marketing site.
   Layout: ledger-ruled navy opener, then alternating product spreads on a pale sage "paper" ground,
   one navy band for multi-agency, and a ledger table for reports. */
:root {
  --navy: #183153;
  --navy-deep: #0e2036;
  --navy-soft: #24466f;
  --green: #3f8f68;
  --green-deep: #214f39;
  --mint: #e9f3ee;
  --mint-2: #d6e9df;
  --paper: #f5f8f6;
  --white: #ffffff;
  --ink: #13233a;
  --muted: #53647a;
  --faint: #8494a5;
  --line: #dbe4e0;
  --line-dark: rgba(255, 255, 255, .12);
  --on-dark: #e7eef5;
  --on-dark-muted: #a9bbcc;
  --amber: #b7791f;

  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --step--1: .875rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: 1.375rem;
  --step-3: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem);
  --step-4: clamp(2rem, 1.3rem + 2.6vw, 3.1rem);
  --step-5: clamp(2.4rem, 1.4rem + 3.9vw, 4.3rem);

  --radius: 14px;
  --shadow-shot: 0 30px 60px -20px rgba(14, 32, 54, .45), 0 12px 24px -12px rgba(14, 32, 54, .3);
  --shadow-card: 0 18px 40px -18px rgba(14, 32, 54, .28);
  --wrap: 1180px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-deep); text-underline-offset: 3px; }
a:hover { color: var(--green); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); color: var(--navy); line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; margin: 0; }
h1 { font-size: var(--step-5); font-weight: 700; }
h2 { font-size: var(--step-4); font-weight: 700; }
h3 { font-size: var(--step-2); font-weight: 650; letter-spacing: -.01em; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * 32px);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
@media (min-width: 900px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 12px; }

.eyebrow {
  font: 600 .78rem/1.3 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green);
}
.lead { font-size: var(--step-1); color: var(--muted); max-width: 62ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 10px;
  font: 650 1rem/1.1 var(--body); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .18s, transform .18s, border-color .18s, color .18s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: var(--white); border-color: var(--green); }
.btn-primary:hover { background: var(--green-deep); border-color: var(--green-deep); color: var(--white); }
.btn-ghost { background: transparent; color: var(--navy); border-color: #c4d2cc; }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); background: var(--white); }
.on-dark .btn-ghost { color: var(--on-dark); border-color: rgba(255,255,255,.28); }
.on-dark .btn-ghost:hover { background: rgba(255,255,255,.08); color: var(--white); border-color: rgba(255,255,255,.6); }
.btn svg { width: 18px; height: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(14, 32, 54, .92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line-dark);
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--navy-deep); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); font: 700 1.25rem/1 var(--display); letter-spacing: -.01em; }
.brand img { width: 34px; height: 34px; }
.brand:hover { color: var(--white); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav a { color: var(--on-dark-muted); text-decoration: none; font-weight: 550; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); background: rgba(255,255,255,.07); }
.header-cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.header-cta .signin { color: var(--on-dark-muted); text-decoration: none; font-weight: 550; font-size: .95rem; padding: 8px 12px; }
.header-cta .signin:hover { color: var(--white); }
.header-cta .btn { min-height: 40px; padding: 9px 16px; font-size: .95rem; }
.menu { display: none; margin-left: auto; }
.menu summary { list-style: none; cursor: pointer; color: var(--white); padding: 10px; border-radius: 8px; border: 1px solid var(--line-dark); display: grid; place-items: center; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 22px; height: 22px; }
.menu-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--navy-deep); border-bottom: 1px solid var(--line-dark);
  padding: 12px max(20px, env(safe-area-inset-right, 0px)) 20px max(20px, env(safe-area-inset-left, 0px));
  display: grid; gap: 4px;
}
.menu-panel a { color: var(--on-dark); text-decoration: none; font-weight: 600; padding: 12px 8px; border-bottom: 1px solid var(--line-dark); }
.menu-panel .btn { margin-top: 12px; color: var(--white); border-bottom: 0; }
@media (max-width: 880px) {
  .nav, .header-cta { display: none; }
  .menu { display: block; }
}

/* Hero: navy ledger paper */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(14,32,54,0) 55%, var(--navy-deep) 100%),
    repeating-linear-gradient(180deg, transparent 0 39px, rgba(255,255,255,.045) 39px 40px),
    radial-gradient(1100px 520px at 78% -10%, rgba(63,143,104,.32), transparent 65%),
    var(--navy-deep);
  color: var(--on-dark);
  overflow: hidden;
}
.hero::before {
  /* the ledger's margin rule */
  content: ""; position: absolute; top: 0; bottom: 0; left: clamp(12px, 6vw, 88px);
  width: 6px; border-left: 1px solid rgba(63,143,104,.55); border-right: 1px solid rgba(63,143,104,.35);
  pointer-events: none;
}
.hero-inner { position: relative; padding-block: clamp(56px, 8vw, 104px) 0; display: grid; gap: 28px; }
.hero h1 { color: var(--white); max-width: 15ch; }
.hero h1 em { font-style: normal; color: #8fd0ad; }
.hero .lead { color: var(--on-dark-muted); font-size: clamp(1.05rem, .95rem + .4vw, 1.25rem); }
.hero .eyebrow { color: #8fd0ad; }
.hero-note { font-size: .9rem; color: var(--on-dark-muted); display: flex; align-items: center; gap: 8px; }
.hero-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #8fd0ad; box-shadow: 0 0 0 4px rgba(143,208,173,.18); flex: none; }
.hero-shot { position: relative; margin-top: clamp(16px, 3vw, 32px); padding-bottom: clamp(48px, 7vw, 96px); }

.frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--white); box-shadow: var(--shadow-shot);
  border: 1px solid rgba(14,32,54,.12);
}
.on-dark .frame { border-color: rgba(255,255,255,.14); }
.frame-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #eef2f1; border-bottom: 1px solid var(--line); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cfd8d4; }
.frame-bar span { margin-left: 10px; font: 500 .72rem/1 var(--mono); color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame img { width: 100%; }

.float-card {
  position: absolute; border-radius: 18px; box-shadow: 0 30px 70px -20px rgba(6,18,32,.6);
  background: var(--white);
}
.hero .float-card { width: min(31%, 330px); right: -18px; bottom: clamp(16px, 4vw, 52px); transform: rotate(1.2deg); }
@media (max-width: 760px) { .hero .float-card { display: none; } }

.shot-caption { margin-top: 14px; font: 500 .78rem/1.4 var(--mono); color: var(--faint); }
.hero .shot-caption { color: var(--on-dark-muted); }

/* Section scaffolding */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.band-white { background: var(--white); }
.band-mint { background: var(--mint); }

/* Audience strip */
.audience { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.audience > div { padding: 28px 24px; border-left: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.audience > div:first-child { border-left: 0; padding-left: 0; }
.audience h3 { font-size: 1.15rem; }
.audience p { color: var(--muted); font-size: .95rem; }
.audience .tag { font: 600 .72rem/1 var(--mono); color: var(--green-deep); background: var(--mint); border: 1px solid var(--mint-2); border-radius: 999px; padding: 6px 10px; justify-self: start; letter-spacing: .02em; }
@media (max-width: 960px) {
  .audience { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .audience > div { padding-left: 24px; border-left: 0; border-top: 1px solid var(--line); }
  .audience > div:nth-child(-n+2) { border-top: 0; }
  .audience > div:nth-child(odd) { padding-left: 0; }
  .audience > div:nth-child(even) { border-left: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .audience { grid-template-columns: minmax(0, 1fr); }
  .audience > div, .audience > div:nth-child(even) { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .audience > div:first-child { border-top: 0; }
}

/* Product spreads */
.spread { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.spread + .spread { margin-top: clamp(72px, 10vw, 128px); }
.spread.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.spread.flip .spread-text { order: 2; }
.spread-text { display: grid; gap: 18px; min-width: 0; }
.spread-text p { color: var(--muted); }
.spread-media { min-width: 0; }
@media (max-width: 900px) {
  .spread, .spread.flip { grid-template-columns: minmax(0, 1fr); }
  .spread.flip .spread-text { order: 0; }
}
.checks { list-style: none; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; color: var(--ink); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 7' fill='none' stroke='%23214f39' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
  border: 1px solid var(--mint-2);
}
.on-dark .checks li { color: var(--on-dark); }
.on-dark .checks li::before { background-color: rgba(143,208,173,.14); border-color: rgba(143,208,173,.3); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 7' fill='none' stroke='%238fd0ad' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

.crop { border-radius: 12px; box-shadow: var(--shadow-card); border: 1px solid var(--line); background: var(--white); }

/* Line anatomy: the coding of one entry line */
.anatomy { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 12px; background: var(--white); overflow: hidden; margin-top: 4px; }
.anatomy div { padding: 12px 14px; border-left: 1px solid var(--line); display: grid; gap: 4px; }
.anatomy div:first-child { border-left: 0; }
.anatomy span { font: 600 .66rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--faint); }
.anatomy strong { font: 600 .88rem/1.3 var(--body); color: var(--navy); }
.anatomy .is-tag strong { color: var(--green-deep); }
@media (max-width: 560px) {
  .anatomy { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .anatomy div:nth-child(3) { border-left: 0; }
  .anatomy div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Navy band */
.band-navy {
  background:
    repeating-linear-gradient(180deg, transparent 0 39px, rgba(255,255,255,.035) 39px 40px),
    radial-gradient(900px 500px at 15% 110%, rgba(63,143,104,.28), transparent 70%),
    var(--navy);
  color: var(--on-dark);
}
.band-navy h2, .band-navy h3 { color: var(--white); }
.band-navy p { color: var(--on-dark-muted); }
.band-navy .eyebrow { color: #8fd0ad; }
.band-navy .spread-text p { color: var(--on-dark-muted); }
.chooser-stack { position: relative; }
.chooser-stack .crop-chooser { width: min(100%, 520px); margin-inline: auto; border-radius: 20px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }

.roles { display: flex; flex-wrap: wrap; gap: 8px; }
.roles span { font: 600 .78rem/1 var(--mono); padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); color: var(--on-dark); }

.mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: 14px; overflow: hidden; margin-top: clamp(40px, 6vw, 72px); }
.mini-grid > div { background: var(--navy); padding: 26px; display: grid; gap: 8px; align-content: start; }
.mini-grid h3 { font-size: 1.08rem; }
.mini-grid p { font-size: .95rem; }
@media (max-width: 860px) { .mini-grid { grid-template-columns: minmax(0, 1fr); } }

/* Modules */
.modules { display: flex; flex-wrap: wrap; gap: 8px; }
.modules span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 600; font-size: .92rem; color: var(--navy); }
.modules span::before { content: ""; width: 26px; height: 15px; border-radius: 999px; background: var(--green) radial-gradient(circle at 18px 7.5px, #fff 5px, transparent 5.5px); flex: none; }
.modules span.always::before { background: var(--mint-2) radial-gradient(circle at 18px 7.5px, var(--green-deep) 5px, transparent 5.5px); }

/* Reports ledger */
.ledger { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-card); font-variant-numeric: tabular-nums; }
.ledger-wrap { overflow-x: auto; border-radius: 14px; }
.ledger th { text-align: left; font: 600 .7rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); padding: 14px 18px; background: #f1f5f3; border-bottom: 2px solid var(--navy); }
.ledger td { padding: 15px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ledger tr:last-child td { border-bottom: 0; }
.ledger td:first-child { font: 500 .78rem/1.5 var(--mono); color: var(--faint); width: 3.5em; }
.ledger td:nth-child(2) { font-weight: 650; color: var(--navy); min-width: 14em; }
.ledger td:nth-child(3) { color: var(--muted); min-width: 18em; }
.roles-table td:first-child { font: 650 .95rem/1.5 var(--body); color: var(--navy); width: auto; white-space: nowrap; }
.roles-table td:nth-child(2) { font-weight: 500; color: var(--muted); min-width: 12em; }
.roles-table td:nth-child(3) { color: var(--ink); }
.ledger .group td { background: var(--mint); font: 600 .72rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--green-deep); padding-block: 10px; }

/* Trust grid */
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.trust > div { display: grid; gap: 10px; align-content: start; padding-top: 20px; border-top: 2px solid var(--navy); }
.trust p { color: var(--muted); font-size: .97rem; }
.trust h3 { font-size: 1.12rem; }
@media (max-width: 860px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .trust { grid-template-columns: minmax(0, 1fr); } }

/* Waitlist */
.cta-band { background: var(--navy-deep); color: var(--on-dark); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(180deg, transparent 0 39px, rgba(255,255,255,.04) 39px 40px); pointer-events: none; }
.cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; padding-block: clamp(64px, 8vw, 104px); }
.cta-inner h2 { color: var(--white); }
.cta-inner p { color: var(--on-dark-muted); }
@media (max-width: 860px) { .cta-inner { grid-template-columns: minmax(0, 1fr); } }
.waitlist { display: grid; gap: 14px; background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); border-radius: 16px; padding: clamp(20px, 3vw, 28px); }
.waitlist.light { background: var(--white); border-color: var(--line); box-shadow: var(--shadow-card); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 650; font-size: .9rem; color: var(--white); }
.field label small { font-weight: 450; color: var(--on-dark-muted); }
.waitlist.light .field label { color: var(--navy); }
.waitlist.light .field label small { color: var(--faint); }
.field input {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px; font: 400 1rem/1.2 var(--body);
  border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.96); color: var(--ink);
}
.waitlist.light .field input { border-color: #c9d6d0; background: var(--white); }
.field input:focus { outline: 3px solid rgba(143,208,173,.55); outline-offset: 1px; border-color: var(--green); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--on-dark-muted); }
.waitlist.light .form-note { color: var(--faint); }
.form-status { font-weight: 600; font-size: .95rem; color: #8fd0ad; }
.waitlist.light .form-status { color: var(--green-deep); }

/* Page heads (inner pages) */
.page-hero { background: var(--navy-deep); color: var(--on-dark); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(180deg, transparent 0 39px, rgba(255,255,255,.04) 39px 40px), radial-gradient(800px 360px at 85% 0%, rgba(63,143,104,.28), transparent 70%); pointer-events: none; }
.page-hero .wrap { position: relative; z-index: 1; padding-block: clamp(56px, 8vw, 96px); display: grid; gap: 18px; }
.page-hero h1 { color: var(--white); font-size: var(--step-4); max-width: 20ch; }
.page-hero .lead { color: var(--on-dark-muted); }
.page-hero .eyebrow { color: #8fd0ad; }

/* Feature index */
.jump { display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { font-weight: 600; font-size: .9rem; text-decoration: none; color: var(--on-dark); padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); }
.jump a:hover { background: rgba(255,255,255,.08); color: var(--white); }
.feature-block { scroll-margin-top: 90px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 64px); padding-block: clamp(56px, 7vw, 88px); border-top: 1px solid var(--line); }
.feature-block:first-child { border-top: 0; }
.feature-block .spread-text { align-content: start; position: sticky; top: 100px; }
@media (max-width: 900px) { .feature-block { grid-template-columns: minmax(0, 1fr); } .feature-block .spread-text { position: static; } }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; margin-top: 28px; }
.feature-list > div { display: grid; gap: 4px; }
.feature-list h4 { margin: 0; font: 650 1rem/1.3 var(--body); color: var(--navy); }
.feature-list p { color: var(--muted); font-size: .95rem; }
@media (max-width: 600px) { .feature-list { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq { display: grid; gap: 0; max-width: 820px; }
.faq h2 { font-size: var(--step-3); margin: 48px 0 12px; }
.faq h2:first-child { margin-top: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font: 650 1.08rem/1.4 var(--body); color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 68ch; }
.faq details p + p { margin-top: -10px; }

/* Pricing */
.price-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-card); padding: clamp(24px, 4vw, 40px); display: grid; gap: 20px; }
.price-card .status-pill { justify-self: start; font: 600 .74rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; background: #fbf1df; color: #8a5a12; border: 1px solid #f0dcb6; }
.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.promises > div { display: grid; gap: 8px; padding: 22px; border-radius: 14px; background: var(--mint); border: 1px solid var(--mint-2); align-content: start; }
.promises p { color: var(--muted); font-size: .95rem; }
.promises h3 { font-size: 1.08rem; }
@media (max-width: 800px) { .promises { grid-template-columns: minmax(0, 1fr); } }
.included { columns: 2; column-gap: 40px; }
.included li { break-inside: avoid; margin-bottom: 10px; }
@media (max-width: 600px) { .included { columns: 1; } }

/* Prose pages */
.prose { max-width: 720px; display: grid; gap: 16px; }
.prose h2 { font-size: var(--step-3); margin-top: 24px; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.2em; display: grid; gap: 6px; }

/* Footer */
.site-footer { background: var(--navy-deep); color: var(--on-dark-muted); border-top: 1px solid var(--line-dark); }
.footer-inner { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 32px; padding-block: 56px 40px; }
.footer-inner p { font-size: .92rem; max-width: 40ch; margin-top: 14px; }
.footer-inner h2 { font: 600 .72rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.footer-inner ul { list-style: none; display: grid; gap: 8px; }
.footer-inner a { color: var(--on-dark); text-decoration: none; font-size: .95rem; }
.footer-inner a:hover { color: var(--white); text-decoration: underline; }
.footer-base { border-top: 1px solid var(--line-dark); padding-block: 20px 28px; font-size: .82rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
@media (max-width: 720px) { .footer-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .footer-inner > div:first-child { grid-column: 1 / -1; } }

/* Gentle entrance for the hero, from a visible resting state */
@media (prefers-reduced-motion: no-preference) {
  .hero-shot .frame { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
  .hero .float-card { animation: rise-card 1s .25s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes rise { from { transform: translateY(18px); } to { transform: none; } }
  @keyframes rise-card { from { transform: translateY(26px) rotate(1.2deg); } to { transform: rotate(1.2deg); } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Refinements */
.spread h2, .feature-block h2 { font-size: clamp(1.75rem, 1.15rem + 1.9vw, 2.6rem); }
.band-navy .spread-text .eyebrow { color: #8fd0ad; }
.hero .float-card { bottom: clamp(64px, 9vw, 128px); }
.modules span { font-size: .86rem; padding: 7px 12px; }
@media (max-width: 700px) {
  .hero::before { display: none; }
  .ledger thead { display: none; }
  .ledger, .ledger tbody { display: block; }
  .ledger tr { display: grid; grid-template-columns: 2.6em minmax(0, 1fr); border-bottom: 1px solid var(--line); padding: 12px 14px; gap: 2px 8px; }
  .ledger tr:last-child { border-bottom: 0; }
  .ledger td { padding: 0; border: 0; min-width: 0 !important; width: auto !important; }
  .ledger td:nth-child(3) { grid-column: 2; font-size: .95rem; }
  .ledger .group { display: block; padding: 0; }
  .ledger .group td { display: block; padding: 10px 14px; }
  .roles-table tr { grid-template-columns: minmax(0, 1fr); }
  .roles-table td:nth-child(2), .roles-table td:nth-child(3) { grid-column: 1; }
  .roles-table td:nth-child(2) { font-size: .88rem; }
}
