/* ===== Page-specific styles for homepage ===== */

body.home-page {
  --home-fluid-max: 1880px;
  --home-fluid-gutter: clamp(24px, 2.4vw, 48px);
  --home-section-pad: clamp(56px, 7vw, 128px);
  --home-section-gap: clamp(28px, 3.8vw, 72px);
  --home-card-pad: clamp(24px, 2.5vw, 44px);
}

body.home-page main > section.band:not(.home-product-band) {
  padding-block: var(--home-section-pad);
}

body.home-page main > section.band:not(.home-product-band) > .container,
body.home-page .site-footer > .container {
  width: min(var(--home-fluid-max), calc(100% - (var(--home-fluid-gutter) * 2)));
  max-width: none;
  padding-inline: 0;
  gap: var(--home-section-gap);
}

body.home-page main > section.band:not(.home-product-band) > .container[style] {
  max-width: none !important;
}

body.home-page .section-head {
  padding-bottom: clamp(22px, 2.8vw, 48px);
}

body.home-page .section-head h2 {
  max-width: min(22ch, 100%);
  font-size: clamp(40px, 4vw, 76px);
  line-height: 0.99;
  letter-spacing: 0;
}

body.home-page .arch-split,
body.home-page .next-block {
  gap: clamp(32px, 4.6vw, 92px);
}

@media (min-width: 1000px) {
  body.home-page .arch-split {
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  }
  body.home-page .arch-split.arch-split-balanced {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
  }
  body.home-page .arch-split.arch-split-wide-copy {
    grid-template-columns: minmax(500px, 1.12fr) minmax(380px, 0.88fr);
  }
  body.home-page .next-block {
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  }
}

body.home-page .triad,
body.home-page .audience-grid,
body.home-page .vcc-grid,
body.home-page .first-person-row {
  gap: clamp(18px, 1.8vw, 34px);
  margin-top: clamp(30px, 3.6vw, 68px);
}

body.home-page .triad-card,
body.home-page .aud-card,
body.home-page .vcc-card,
body.home-page .structure-panel,
body.home-page .next-illus {
  padding: var(--home-card-pad);
}

body.home-page .editorial,
body.home-page .arch-copy,
body.home-page .next-prose,
body.home-page .prose[style] {
  max-width: min(76ch, 100%) !important;
}

body.home-page .editorial p,
body.home-page .arch-copy p,
body.home-page .next-prose p,
body.home-page .prose[style] p,
body.home-page p[style*="font-size: 19px"] {
  font-size: clamp(19px, 1.42vw, 27px) !important;
  line-height: 1.44 !important;
}

body.home-page .arch-copy p.muted,
body.home-page .next-prose p[style*="font-size: 17px"] {
  font-size: clamp(17px, 1.12vw, 21px) !important;
  line-height: 1.55 !important;
}

body.home-page .triad-card h3,
body.home-page .vcc-card h4,
body.home-page .structure-title,
body.home-page .next-illus h3 {
  font-size: clamp(23px, 2.1vw, 36px);
}

body.home-page .triad-card ul,
body.home-page .triad-card .triad-foot,
body.home-page .structure-note,
body.home-page .tertiary-list li,
body.home-page .chip {
  font-size: clamp(13.5px, 0.9vw, 16px);
}

body.home-page .aud-card p,
body.home-page .vcc-card .v-claim,
body.home-page .before-after .side p,
body.home-page .axis-item .axis-copy {
  font-size: clamp(17px, 1.16vw, 22px);
  line-height: 1.46;
}

body.home-page .band-ink .arch-copy p { color: rgba(255, 255, 255, 0.9); }
body.home-page .band-ink .arch-copy p.muted { color: rgba(255, 255, 255, 0.78); }
body.home-page .band-ink .vcc-card--on-ink {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
}
body.home-page .band-ink .vcc-card--on-ink h4,
body.home-page .band-ink .vcc-card--on-ink .vcc-tagline { color: rgba(255, 255, 255, 0.9); }
body.home-page .band-ink .vcc-card--on-ink .v-claim { color: rgba(255, 255, 255, 0.78); }

body.home-page .callout[style],
body.home-page .refused[style] {
  max-width: min(90ch, 100%) !important;
}

@media (min-width: 1000px) {
  body.home-page section[data-screen-label="02 What Lucy Is"] > .container {
    grid-template-columns: 1fr;
    row-gap: clamp(32px, 3.6vw, 56px);
  }

  body.home-page section[data-screen-label="02 What Lucy Is"] > .container > .section-head {
    grid-column: 1;
    max-width: min(1180px, 100%);
    justify-self: center;
    text-align: center;
    border-bottom: 0;
    padding-bottom: 0;
  }

  body.home-page section[data-screen-label="02 What Lucy Is"] > .container > .section-head h2 {
    max-width: 18ch;
    margin-inline: auto;
  }

  body.home-page section[data-screen-label="02 What Lucy Is"] > .container > :not(.section-head) {
    grid-column: 1 / -1;
  }

  body.home-page section[data-screen-label="FAQ"] .faq {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(40px, 5vw, 96px);
    border-top: 0;
  }

  body.home-page section[data-screen-label="FAQ"] .faq details {
    border-top: 1px solid rgba(11,15,42,0.16);
  }
}

@media (max-width: 820px) {
  body.home-page {
    --home-fluid-gutter: clamp(18px, 5vw, 28px);
    --home-section-pad: clamp(44px, 12vw, 72px);
  }
  body.home-page .section-head h2 {
    font-size: clamp(34px, 10vw, 46px);
    line-height: 1.03;
  }
}

/* ----- Beat 2: capability transformation visual ----- */
.capability-path {
  margin-top: clamp(32px, 3vw, 44px);
  display: grid;
  gap: var(--s-5);
}
.capability-path-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-2);
  align-items: stretch;
  padding: clamp(18px, 2vw, 32px);
  border: 1px solid var(--ink-faint);
  border-radius: calc(var(--r-card) + 10px);
  background:
    linear-gradient(90deg, rgba(44, 98, 248, 0.04), rgba(44, 98, 248, 0.1), rgba(44, 98, 248, 0.04)),
    var(--paper-deep);
}
@media (min-width: 980px) {
  .capability-path-main {
    grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1.08fr) minmax(260px, 0.9fr);
  }
}
.capability-node {
  border: 0;
  background: transparent;
  border-radius: calc(var(--r-card) + 2px);
  padding: clamp(24px, 2.4vw, 42px);
  display: grid;
  gap: var(--s-3);
  align-content: start;
  min-height: 100%;
}
.capability-node.coach {
  background: var(--lucy-blue);
  border-color: var(--lucy-blue-deep);
  color: #fff;
  box-shadow: 0 26px 70px rgba(44, 98, 248, 0.22);
}
.capability-node .role {
  font-family: var(--face-ui);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.capability-node.coach .role { color: rgba(255,255,255,0.76); }
.capability-node h3 {
  font-size: clamp(25px, 2.1vw, 38px);
  line-height: 1.08;
}
.capability-node.coach h3 { color: #fff; }
.capability-node p {
  margin: 0;
  font-family: var(--face-display);
  font-size: clamp(18px, 1.22vw, 23px);
  line-height: 1.42;
  color: var(--ink-muted);
}
.capability-node.coach p { color: rgba(255,255,255,0.88); }
.capability-arrow {
  display: none;
  align-self: center;
  justify-self: center;
  font-family: var(--face-ui);
  font-weight: 700;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(44, 98, 248, 0.18);
  color: var(--lucy-blue);
  place-items: center;
  box-shadow: 0 16px 35px rgba(11, 15, 42, 0.08);
}
@media (min-width: 980px) {
  .capability-arrow {
    display: grid;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .capability-path-main { position: relative; }
  .capability-arrow.first { left: 32.4%; }
  .capability-arrow.second { left: 67.6%; }
}
.capability-loop {
  border: 1px solid rgba(44, 98, 248, 0.22);
  border-radius: calc(var(--r-card) + 8px);
  background:
    radial-gradient(420px 220px at 50% 42%, rgba(44, 98, 248, 0.1), transparent 68%),
    var(--lucy-blue-soft);
  padding: clamp(26px, 3vw, 48px);
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  gap: clamp(24px, 3.2vw, 56px);
  align-items: center;
}
.capability-loop-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  width: min(100%, 360px);
  justify-self: center;
}
.capability-loop-visual svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.capability-loop-title {
  font-family: var(--face-ui);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--lucy-blue-deep);
}
.capability-loop-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--s-3);
}
.capability-loop-steps li {
  background: #fff;
  border: 1px solid rgba(44, 98, 248, 0.16);
  border-radius: var(--r-md);
  padding: clamp(14px, 1.2vw, 18px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.capability-loop-steps b {
  font-family: var(--face-mono);
  font-size: 12px;
  color: var(--lucy-blue);
  letter-spacing: 0.06em;
  padding-top: 3px;
}
.capability-loop-steps strong {
  display: block;
  font-family: var(--face-display);
  font-size: clamp(18px, 1.25vw, 23px);
  line-height: 1.12;
  color: var(--ink);
}
.capability-loop-steps span {
  display: block;
  margin-top: 4px;
  font-family: var(--face-ui);
  font-size: clamp(13px, 0.9vw, 15px);
  line-height: 1.38;
  color: var(--ink-muted);
}
.capability-thesis {
  justify-self: center;
  max-width: 28ch;
  text-align: center;
}
.capability-note {
  margin: 0;
  font-family: var(--face-display);
  font-size: clamp(20px, 1.45vw, 28px);
  line-height: 1.3;
  text-align: center;
  color: var(--ink);
}
.capability-boundary {
  margin: 0;
  font-family: var(--face-ui);
  font-size: 14px;
  color: var(--ink-soft);
  text-align: center;
}
@media (max-width: 760px) {
  .capability-loop { grid-template-columns: 1fr; }
  .capability-loop-visual { width: min(100%, 280px); }
}

/* ----- Editorial column (Beat 3) ----- */
.editorial {
  max-width: 64ch;
  display: grid; gap: var(--s-4);
}
.editorial p {
  font-family: var(--face-display);
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
  text-wrap: pretty;
}
.editorial p strong {
  font-weight: 600;
  background: linear-gradient(180deg, transparent 60%, rgba(232,215,184,0.55) 60%);
  padding: 0 2px;
}
.editorial .pull {
  font-family: var(--face-display);
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.3;
  color: var(--ink);
  font-weight: 500;
  border-left: 2px solid var(--sand-deep);
  padding: var(--s-3) var(--s-5);
  margin: var(--s-3) 0;
}

/* ----- Beat 4 audience cuts ----- */
.audience-grid {
  display: grid; grid-template-columns: 1fr; gap: var(--s-5);
  margin-top: var(--s-6);
}
@media (min-width: 880px) { .audience-grid { grid-template-columns: repeat(3, 1fr); } }
.aud-card {
  border: 1px solid var(--ink-faint);
  border-radius: var(--r-card);
  padding: var(--s-6);
  background: #fff;
  display: grid; gap: var(--s-3);
}
.aud-card .who {
  font-family: var(--face-ui);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lucy-blue);
}
.aud-card p {
  font-family: var(--face-display);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
  text-wrap: pretty;
}
.chip-row { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.chip {
  font-family: var(--face-ui); font-size: 13.5px; font-weight: 500;
  padding: 8px 16px; border-radius: var(--r-pill);
  background: #fff; border: 1px solid var(--ink-faint);
  color: var(--ink); text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  transition: border-color var(--t-hover) var(--ease), color var(--t-hover) var(--ease);
}
.chip:hover { border-color: var(--lucy-blue); color: var(--lucy-blue); }

/* ----- Beat 5 capability landscape: 80/20 iceberg (code-native) ----- */
.eighty-iceberg {
  max-width: min(100%, 1120px);
  margin: clamp(30px, 4vw, 70px) auto 0;
  scroll-margin-top: 110px;
  display: grid;
  gap: 0;
}
.eighty-iceberg .berg-band {
  border: 1px solid var(--ink-faint);
  border-radius: var(--r-lg);
  padding: clamp(20px, 2.4vw, 32px) clamp(24px, 2.8vw, 40px);
  display: grid;
  gap: var(--s-3);
}
.eighty-iceberg .berg-band.berg-above {
  background: #fff;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom: none;
}
.eighty-iceberg .berg-band.berg-below {
  background: var(--paper-deep);
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  padding-bottom: clamp(32px, 3.4vw, 48px);
}
.eighty-iceberg .berg-waterline {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sand-deep) 12%, var(--sand-deep) 88%, transparent);
  opacity: 0.55;
  margin: 0;
}
.eighty-iceberg .berg-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-2);
}
.eighty-iceberg .berg-head .berg-share {
  font-family: var(--face-display);
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 32px);
  color: var(--ink);
  letter-spacing: -0.01em;
}
.eighty-iceberg .berg-head .berg-label {
  font-family: var(--face-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.eighty-iceberg .berg-tagline {
  font-family: var(--face-display);
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.5;
  color: var(--ink-muted);
  margin: 0;
  max-width: 64ch;
}
.eighty-iceberg .berg-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-2);
  margin: var(--s-2) 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 720px) {
  .eighty-iceberg .berg-above .berg-items { grid-template-columns: repeat(3, 1fr); }
  .eighty-iceberg .berg-below .berg-items { grid-template-columns: repeat(4, 1fr); }
}
.eighty-iceberg .berg-item {
  font-family: var(--face-ui);
  font-size: clamp(14px, 0.95vw, 16px);
  line-height: 1.4;
  color: var(--ink);
  border: 1px solid var(--ink-faint);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.6);
  padding: var(--s-3) var(--s-4);
}
.eighty-iceberg .berg-below .berg-item {
  background: #fff;
  border-color: rgba(53, 89, 242, 0.18);
}
.eighty-iceberg .berg-item strong {
  display: block;
  font-family: var(--face-display);
  font-weight: 600;
  font-size: clamp(15px, 1vw, 17px);
  color: var(--ink);
  margin-bottom: 2px;
}
.eighty-iceberg-caption {
  max-width: 820px;
  margin: var(--s-4) auto 0;
  text-align: center;
  font-family: var(--face-ui);
  font-size: clamp(15px, 0.95vw, 17px);
  line-height: 1.5;
  color: var(--ink-muted);
}
.capability-landscape {
  margin: clamp(28px, 3vw, 48px) 0 0;
}
.capability-landscape-title {
  margin: 0 0 var(--s-5);
  scroll-margin-top: 120px;
  text-align: center;
  font-family: var(--face-ui);
  font-size: clamp(30px, 3.4vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}
.capability-landscape-scroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 0 0 var(--s-2);
}
.capability-landscape-table {
  width: 100%;
  min-width: 1080px;
  border-collapse: separate;
  border-spacing: clamp(8px, 1vw, 14px);
  table-layout: fixed;
}
.capability-landscape-table th,
.capability-landscape-table td {
  border: 1px solid rgba(11, 15, 42, 0.12);
  border-radius: var(--r-md);
  padding: clamp(18px, 1.8vw, 28px);
  vertical-align: middle;
  box-shadow: 0 18px 44px -34px rgba(11, 15, 42, 0.26);
}
.capability-landscape-table thead th {
  background: var(--ink-muted);
  color: #fff;
  font-family: var(--face-ui);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.08;
  font-weight: 700;
  text-align: center;
}
.capability-landscape-table .corner {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
.capability-landscape-table tbody th {
  width: 190px;
  background: var(--ink-muted);
  color: #fff;
  font-family: var(--face-ui);
  font-size: clamp(18px, 1.7vw, 25px);
  line-height: 1.12;
  font-weight: 700;
  text-align: center;
}
.capability-landscape-table td {
  background: rgba(255,255,255,0.78);
  color: var(--ink);
  font-family: var(--face-ui);
  font-size: clamp(18px, 1.7vw, 26px);
  line-height: 1.16;
  font-weight: 500;
  text-align: center;
}
.capability-landscape-table .lucy-head,
.capability-landscape-table .lucy-cell {
  border-color: rgba(53, 89, 242, 0.45);
  box-shadow: inset 0 0 0 2px rgba(53, 89, 242, 0.18), 0 18px 44px -30px rgba(53, 89, 242, 0.38);
}
.capability-landscape-table .lucy-head {
  background: rgba(232, 237, 255, 0.92);
  color: var(--ink);
}
.capability-landscape-table .lucy-cell {
  background: rgba(232, 237, 255, 0.74);
  font-weight: 700;
}
.capability-landscape-table .landscape-check {
  display: block;
  width: 38px;
  height: 38px;
  margin: var(--s-3) auto 0;
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--lucy-blue);
  font-family: var(--face-ui);
  font-weight: 700;
  line-height: 38px;
  box-shadow: 0 14px 28px -18px rgba(53, 89, 242, 0.55);
}
.capability-landscape-copy {
  margin-top: var(--s-6);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  align-items: start;
}
.capability-landscape-copy p {
  margin: 0;
  font-family: var(--face-display);
  font-size: clamp(18px, 1.35vw, 24px);
  line-height: 1.48;
  color: var(--ink);
  text-wrap: pretty;
}
.capability-landscape-copy p.muted {
  font-family: var(--face-ui);
  font-size: clamp(14px, 0.92vw, 16px);
  line-height: 1.55;
  color: var(--ink-muted);
}
@media (min-width: 960px) {
  .capability-landscape-copy {
    grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.96fr);
  }
  .capability-landscape-copy p.muted {
    padding-top: 4px;
  }
}
@media (max-width: 820px) {
  body.home-page main > section.band:not(.home-product-band) > .container {
    grid-template-columns: minmax(0, 1fr);
  }
  .eighty-iceberg {
    width: 100%;
    max-width: 100%;
  }
  .eighty-iceberg .berg-band {
    padding: var(--s-4) var(--s-4);
  }
  .eighty-iceberg-caption {
    width: calc(100vw - (var(--home-fluid-gutter) * 2));
    max-width: none;
    margin: var(--s-3) 0 0;
    text-align: left;
    font-size: 14px;
  }
  .capability-landscape {
    margin-top: var(--s-6);
    max-width: 100%;
    overflow: hidden;
  }
  .capability-landscape-title {
    max-width: 11em;
    text-align: left;
    font-size: clamp(28px, 8vw, 36px);
    white-space: normal;
    text-wrap: balance;
  }
  .capability-landscape-scroll {
    margin-inline: calc(var(--gutter-m) * -1);
    padding-inline: var(--gutter-m);
    width: 100%;
    max-width: calc(100vw - (var(--home-fluid-gutter) * 2));
  }
  .capability-landscape-table {
    min-width: 960px;
  }
  .capability-landscape-copy {
    margin-top: clamp(96px, 24vw, 124px);
    padding-bottom: 72px;
  }
}

/* ----- Beat 6 trust ----- */
.vcc-grid {
  display: grid; grid-template-columns: 1fr; gap: var(--s-4);
  margin-top: var(--s-6);
}
@media (min-width: 880px) { .vcc-grid { grid-template-columns: repeat(3, 1fr); } }
.vcc-card {
  border: 1px solid var(--ink-faint);
  border-radius: var(--r-card);
  background: #fff;
  padding: var(--s-6);
  display: grid; gap: var(--s-3); align-content: start;
}
.vcc-card .v-num {
  font-family: var(--face-mono); font-size: 12px; color: var(--lucy-blue);
  letter-spacing: 0.08em;
}
.vcc-card h4 { font-family: var(--face-display); font-size: 22px; font-weight: 600; color: var(--ink); }
.vcc-card .v-claim {
  font-family: var(--face-display); font-style: italic;
  font-size: 16px; color: var(--ink-muted);
}

.first-person-row {
  display: grid; grid-template-columns: 1fr; gap: var(--s-4);
  margin-top: var(--s-6);
}
@media (min-width: 880px) { .first-person-row { grid-template-columns: repeat(3, 1fr); } }

/* ----- Beat 7 next ----- */
.next-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  align-items: center;
}
@media (min-width: 1000px) { .next-block { grid-template-columns: 1.1fr 0.9fr; } }
.next-prose p {
  font-family: var(--face-display);
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 1em;
  max-width: 56ch;
}
.tertiary-list {
  list-style: none; padding: 0; margin: var(--s-6) 0 0;
  display: grid; gap: var(--s-3);
}
.tertiary-list li {
  font-family: var(--face-ui); font-size: 14px; color: var(--ink-muted);
  display: grid; grid-template-columns: 1fr auto; gap: var(--s-3); align-items: baseline;
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--ink-faint);
}
.tertiary-list li:first-child { border-top: 1px solid var(--ink-faint); }
.tertiary-list a { color: var(--ink); text-decoration: none; font-weight: 500; }
.tertiary-list a::after { content: " →"; color: var(--ink-soft); }
.tertiary-list a:hover { color: var(--lucy-blue); }

.next-illus {
  position: relative;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-card);
  padding: var(--s-7);
  display: grid; gap: var(--s-4);
  overflow: hidden;
}
.next-illus::before {
  content: "";
  position: absolute; right: -80px; bottom: -80px;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--lucy-blue), transparent 70%);
  opacity: 0.7; filter: blur(8px);
}
.next-illus .ni-eyebrow {
  font-family: var(--face-ui); font-weight: 600;
  font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  position: relative;
}
.next-illus h3 { color: #fff; font-size: 28px; line-height: 1.15; max-width: 16ch; position: relative; }
.next-illus .ni-arrow {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: var(--s-4);
  font-family: var(--face-ui); font-weight: 500; font-size: 14px;
  color: var(--lucy-blue-soft);
}
.next-illus .ni-arrow span {
  display: inline-grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--lucy-blue); color: #fff;
}

/* ----- Homepage hero head (full-width H1 row above the carry-over grid) -----
   H1 spans the full container so it wraps to 2 lines instead of 3. The
   base h1 in pages.css is clamp(44px, 6.2vw, 86px); cap a touch lower
   here so the 2-line headline stays inside the page rhythm. */
.ll-home-hero-head {
  margin-bottom: clamp(10px, 1vw, 18px);
  padding-top: 12px;
}
.ll-home-hero-head .eyebrow {
  margin-bottom: 6px;
}
.ll-home-hero-head h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(42px, 3.65vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
  text-align: center;
  text-wrap: pretty;
}
@media (min-width: 1000px) {
  .ll-home-hero-head h1 {
    white-space: nowrap;
  }
}
.ll-hero > .container {
  width: min(1880px, calc(100% - 48px));
  max-width: none;
  padding-inline: 0;
}

/* Text column reads as one editorial block beside the demo. */
.ll-home-hero-grid--centered {
  align-items: center !important;
}
.ll-home-hero-grid--centered > div:first-child {
  padding-top: 0;
}
.ll-home-hero-text {
  align-self: center;
  display: grid;
  gap: clamp(20px, 2.1vw, 36px);
  max-width: 52ch;
  min-height: calc(var(--hero-demo-height) * 0.78);
  align-content: center;
}
/* Both paragraphs render at the same size — the legacy .lede + body-p
   size-mismatch was a leftover from the old design (Travis 2026-05-09). */
.ll-home-hero-text p {
  margin: 0;
  font-family: var(--font-serif, var(--face-display));
  font-size: clamp(23px, 1.58vw, 32px);
  line-height: 1.27;
  color: var(--ink);
  max-width: none;
}
.ll-home-hero-text p:last-child {
  margin-bottom: 0;
}
.ll-home-hero-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: clamp(9px, 0.8vw, 14px);
  font-family: var(--font-serif, var(--face-display));
  font-size: clamp(23px, 1.58vw, 32px);
  line-height: 1.27;
  color: var(--ink);
}
.ll-home-hero-points li {
  display: grid;
  grid-template-columns: 0.75em minmax(0, 1fr);
  gap: 0.5em;
}
.ll-home-hero-points li::before {
  content: "•";
  color: var(--lucy-blue);
  line-height: 1.15;
}
.ll-home-hero-list-block {
  display: grid;
  gap: clamp(8px, 0.7vw, 12px);
}
.ll-home-hero-list-intro {
  margin: 0;
}

/* Tighten .v22-hero padding to fit the hero into one MacBook viewport. */
.ll-hero.v22-hero {
  --hero-demo-height: clamp(400px, min(37vw, calc(100vh - 235px)), 700px);
  display: block;
  min-height: auto !important;
  padding-top: 0 !important;
  padding-bottom: clamp(16px, 1.7vw, 24px) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ----- Prototype iframe — 16:9 aspect (Travis 2026-05-09 feedback) -----
   At runtime main.js replaces .ll-prototype-shell with an iframe pointing
   to assets/chat-prototype-v2/Lucy Prototype.html. The iframe's React app
   already has chat-left + codex/slack-right lane logic (in
   lucy-prototype.jsx getEmbeddedWindowLanes) — but it computes positions
   from window.innerWidth/innerHeight. The carry-over CSS rendered the
   iframe at clamp(740px,50vw,780px) tall on 100% width, which gives the
   lane logic too tall a viewport relative to width. Forcing 16:9 lets
   the React app place the chat on the left and Codex/Slack on the right
   side-by-side instead of stacked. */
.ll-hero-demo .ll-hero-prototype-frame {
  height: auto !important;
  aspect-ratio: 1.62 / 1;     /* close to a MacBook 16:10 screen; lets more chat height show */
  width: 100%;
  max-height: var(--hero-demo-height);
}
.ll-hero-demo {
  justify-self: end;
  width: min(100%, calc(var(--hero-demo-height) * 1.68));
}
/* Tighten the carry-over .ll-hero-grid gap so the split feels less airy. */
.ll-home-hero-grid--centered.ll-hero-grid {
  grid-template-columns: minmax(500px, 0.34fr) minmax(0, 1fr);
  gap: clamp(8px, 0.8vw, 14px) !important;
}
@media (min-width: 1600px) {
  .ll-home-hero-text {
    margin-left: clamp(24px, 2.4vw, 48px);
    max-width: 58ch;
  }
  .ll-home-hero-grid--centered.ll-hero-grid {
    grid-template-columns: minmax(640px, 0.38fr) minmax(0, 1fr);
    gap: clamp(24px, 2.2vw, 46px) !important;
  }
}
@media (max-width: 1240px) {
  .ll-home-hero-grid--centered.ll-hero-grid {
    grid-template-columns: 1fr;
    gap: clamp(18px, 5vw, 32px) !important;
  }
  .ll-home-hero-text {
    width: 100%;
    max-width: 100%;
    min-height: auto;
  }
  .ll-hero-demo {
    width: 100%;
    justify-self: stretch;
  }
}

/* ----- Product-fact bottom bar (full-width, thinner, ≤2 lines) ----- */
section.band.home-product-band {
  background: var(--lucy-blue-soft);
  border-top: 1px solid rgba(53, 89, 242, 0.18);
  border-bottom: 1px solid rgba(53, 89, 242, 0.18);
  padding-top: clamp(14px, 1.35vw, 22px);
  padding-bottom: clamp(14px, 1.35vw, 22px);
}
.home-product-band .container {
  display: block;
  width: min(1880px, calc(100% - 48px));
  max-width: none;
  padding-inline: 0;
}
.home-product-band p {
  margin: 0;
  max-width: min(1320px, calc(100% - 300px));
  margin-left: auto;
  margin-right: clamp(180px, 12vw, 220px);
  font-family: var(--face-display);
  font-size: clamp(23px, 1.58vw, 32px);
  line-height: 1.27;
  color: var(--ink);
  text-align: center;
  text-wrap: balance;
}
@media (max-width: 780px) {
  .home-product-band p { max-width: none; font-size: clamp(20px, 6vw, 26px); }
}
