/* HoneySleep landing page: cinematic night-to-morning redesign */

.landing-page {
  --landing-bg: #080a0f;
  --landing-bg-deep: #05070b;
  --landing-surface: #0d1118;
  --landing-surface-soft: #111722;
  --landing-text: #f2f3f5;
  --landing-muted: rgba(226, 230, 237, 0.66);
  --landing-faint: rgba(226, 230, 237, 0.42);
  --landing-line: rgba(226, 230, 237, 0.14);
  --landing-line-strong: rgba(226, 230, 237, 0.24);
  --landing-accent: #e9a15a;
  --landing-accent-dark: #28170b;
  --landing-shell: min(var(--ribbon-content-width), calc(100% - 48px));
  --landing-radius: 16px;
  --landing-input-radius: 12px;
  --landing-ease: cubic-bezier(0.16, 1, 0.3, 1);
  background: var(--landing-bg);
  color: var(--landing-text);
}

.landing-page main,
.landing-page .landing-footer {
  position: relative;
  z-index: 1;
}

.landing-page main {
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 34%, rgba(25, 48, 74, 0.18), transparent 31%),
    var(--landing-bg);
}

.landing-shell {
  width: var(--landing-shell);
  margin-inline: auto;
}

.landing-page h1,
.landing-page h2,
.landing-page h3,
.landing-page p,
.landing-page figure,
.landing-page dl,
.landing-page dd,
.landing-page ul {
  margin: 0;
}

.landing-page h1,
.landing-page h2,
.landing-page h3 {
  text-wrap: balance;
}

.landing-page p {
  text-wrap: pretty;
}

.landing-page .top-ribbon {
  top: 0;
  width: 100%;
  min-height: 66px;
  padding: 7px max(24px, calc((100% - var(--ribbon-content-width)) / 2));
  background: rgba(9, 12, 18, 0.76);
  border-bottom-color: rgba(255, 255, 255, 0.13);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 22px 60px rgba(0, 0, 0, 0.36);
}

.landing-page .nav-link:focus-visible,
.landing-page a:focus-visible,
.landing-page button:focus-visible,
.landing-page input:focus-visible {
  outline: 2px solid var(--landing-accent);
  outline-offset: 4px;
}

.landing-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--landing-line);
  border-radius: var(--landing-input-radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--landing-text);
  cursor: pointer;
}

.landing-nav-toggle span {
  display: block;
  width: 17px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 220ms var(--landing-ease);
}

.landing-nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.landing-nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.landing-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 25px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 0.94rem/1 "Outfit", system-ui, sans-serif;
  letter-spacing: -0.015em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 260ms var(--landing-ease),
    border-color 260ms var(--landing-ease),
    color 260ms var(--landing-ease),
    transform 260ms var(--landing-ease);
}

.landing-button--primary {
  background: var(--landing-accent);
  color: var(--landing-accent-dark);
  box-shadow: 0 14px 38px rgba(78, 43, 18, 0.22);
}

.landing-button--primary:hover {
  background: #f0ad69;
  transform: translateY(-2px);
}

.landing-button:active {
  transform: scale(0.98);
}

.landing-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.landing-text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  color: var(--landing-text);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration-color: rgba(233, 161, 90, 0.55);
  text-underline-offset: 6px;
  transition: color 220ms ease, transform 220ms var(--landing-ease);
}

.landing-text-link:hover {
  color: var(--landing-accent);
  transform: translateX(3px);
}

/* Hero */
.landing-hero {
  position: relative;
  min-height: 100dvh;
  isolation: isolate;
  overflow: hidden;
  background: var(--landing-bg-deep);
}

.landing-hero__media,
.landing-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.landing-hero__media {
  z-index: -3;
  object-fit: cover;
  object-position: center;
  transform: scale(1.015);
}

.landing-hero__shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(4, 6, 10, 0.9) 0%, rgba(4, 6, 10, 0.43) 42%, rgba(4, 6, 10, 0.08) 70%),
    linear-gradient(0deg, rgba(4, 6, 10, 0.88) 0%, rgba(4, 6, 10, 0.08) 47%, rgba(4, 6, 10, 0.34) 100%),
    radial-gradient(circle at 74% 58%, rgba(233, 161, 90, 0.08), transparent 28%);
}

.landing-hero__content {
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: 108px 0 70px;
}

.landing-hero__copy {
  max-width: 1100px;
  animation: landing-hero-enter 900ms var(--landing-ease) both;
}

.landing-hero h1 {
  max-width: 100%;
  font-size: clamp(3.15rem, 5.2vw, 5.2rem);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.058em;
  color: var(--landing-text);
  text-shadow: 0 3px 28px rgba(0, 0, 0, 0.34);
}

.landing-hero h1 span {
  display: block;
}

.landing-hero__copy > p {
  max-width: 46ch;
  margin-top: 24px;
  color: rgba(242, 243, 245, 0.78);
  font-size: clamp(1rem, 1.35vw, 1.17rem);
  line-height: 1.55;
}

.landing-hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
}

/* Interactive product console */
.product-console {
  padding: clamp(96px, 8vw, 118px) 0 clamp(100px, 9vw, 132px);
  background: #090a0b;
}

.product-console__header {
  margin-bottom: clamp(42px, 5vw, 68px);
}

.product-console__eyebrow {
  margin-bottom: 18px;
  color: #c97943;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
}

.product-console__header h2 {
  max-width: none;
  font-size: clamp(2.9rem, 5.4vw, 5.1rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
  white-space: nowrap;
}

.product-console__stage {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(340px, 0.86fr);
  gap: 22px;
  align-items: stretch;
}

.product-console__performance,
.product-console__system {
  min-width: 0;
  overflow: hidden;
  border-radius: 6px;
}

.product-console__performance {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  border: 1px solid #2b2e30;
  background: #111315;
}

.product-console__tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 10px;
  background: #090a0b;
}

.product-console__tab {
  position: relative;
  min-width: 0;
  min-height: 82px;
  padding: 14px 16px 17px;
  border: 0;
  border-radius: 3px;
  background: #17191b;
  color: #888d8f;
  text-align: left;
  cursor: pointer;
  transition: background-color 220ms ease, color 220ms ease;
}

.product-console__tab:hover {
  background: #1d2022;
  color: #d8dad9;
}

.product-console__tab.is-active {
  background: #e8eef0;
  color: #131719;
}

.product-console__tab.is-active::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 0;
  left: 16px;
  height: 3px;
  background: #8bd9f2;
}

.product-console__tab strong,
.product-console__tab span {
  display: block;
}

.product-console__tab strong {
  margin-bottom: 7px;
  font: 500 clamp(1.1rem, 1.9vw, 1.65rem)/1 "Outfit", system-ui, sans-serif;
  letter-spacing: 0;
}

.product-console__tab span {
  font: 500 0.62rem/1.25 "JetBrains Mono", monospace;
  letter-spacing: 0;
  text-transform: uppercase;
}

.product-console__media {
  position: relative;
  min-height: clamp(500px, 48vw, 630px);
  overflow: hidden;
  background: #121619;
}

.product-console__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(0deg, rgba(5, 7, 8, 0.82) 0%, rgba(5, 7, 8, 0.48) 42%, transparent 72%),
    linear-gradient(90deg, rgba(5, 7, 8, 0.84) 0%, rgba(5, 7, 8, 0.22) 68%, rgba(5, 7, 8, 0.08) 100%);
  pointer-events: none;
}

.product-console__image {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 320ms ease;
}

.product-console__image.is-active { opacity: 1; }

.product-console__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: brightness(0.78) saturate(0.82) contrast(1.04);
}

.product-console__image:first-child img {
  filter: brightness(1.35) saturate(0.95) contrast(1.02);
}

.product-console__image:nth-child(2) img { object-position: 53% center; }
.product-console__image:nth-child(3) img { object-position: center; }

.product-console__panel {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  max-width: 650px;
  padding: 32px;
}

.product-console__panel[hidden] { display: none; }

.product-console__panel-label,
.product-console__system-label,
.product-console__support-label {
  font: 500 0.64rem/1.35 "JetBrains Mono", monospace;
  letter-spacing: 0;
  text-transform: uppercase;
}

.product-console__panel-label {
  margin-bottom: 13px;
  color: #8bd9f2;
}

.product-console__panel h3 {
  max-width: 13ch;
  color: #fff;
  font-size: clamp(2.15rem, 4vw, 3.65rem);
  font-weight: 500;
  line-height: 1.01;
  letter-spacing: 0;
}

.product-console__panel > p:last-child {
  max-width: 52ch;
  margin-top: 15px;
  color: rgba(242, 243, 245, 0.78);
  font-size: 0.94rem;
  line-height: 1.55;
}

.product-console__system {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 34px 30px 28px;
  border: 1px solid #cbc4b8;
  background: #f0ece4;
  color: #181716;
}

.product-console__system-label {
  margin-bottom: 28px;
  color: #7b4c2f;
}

.product-console__system h3 {
  color: #181716;
  font-size: clamp(2.25rem, 3.3vw, 3.25rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0;
}

.product-console__system > p:not(.product-console__system-label):not(.product-console__support-label) {
  margin-top: 15px;
  color: #5f5a54;
  font-size: 0.9rem;
  line-height: 1.55;
}

.product-console__system-list {
  display: flex;
  flex-wrap: wrap;
  margin: 28px 0 26px;
  padding: 0;
  border-top: 1px solid #cbc4b8;
  border-bottom: 1px solid #cbc4b8;
  list-style: none;
}

.product-console__system-list li {
  padding: 11px 12px;
  border-right: 1px solid #cbc4b8;
  color: #4e4943;
  font: 500 0.62rem/1.25 "JetBrains Mono", monospace;
  text-transform: uppercase;
}

.product-console__support-label {
  color: #817b72;
}

.product-console__system .product-console__support-label {
  margin-top: auto;
  margin-bottom: 8px;
}

.product-console__support {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #cbc4b8;
}

.product-console__system .product-console__support { margin-top: 0; }

.product-console__support-item {
  min-height: 112px;
  padding: 18px 14px 16px 0;
  border-bottom: 1px solid #cbc4b8;
}

.product-console__support-item:nth-child(even) {
  padding-left: 16px;
  border-left: 1px solid #cbc4b8;
}

.product-console__support dt {
  color: #181716;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
}

.product-console__support dd {
  margin-top: 7px;
  color: #716b63;
  font-size: 0.74rem;
  line-height: 1.45;
}

.audiences__intro h2,
.evidence__header h2 {
  font-size: clamp(2.55rem, 4.8vw, 4.7rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.052em;
}

/* Overnight story */
.night-story {
  position: relative;
  min-height: 860px;
  isolation: isolate;
  overflow: hidden;
  background: #07090d;
}

.night-story__media,
.night-story__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.night-story__media {
  z-index: -3;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.88) brightness(0.74);
}

.night-story__shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(6, 18, 32, 0.44), rgba(5, 7, 11, 0.08) 48%, rgba(72, 35, 12, 0.25)),
    linear-gradient(180deg, rgba(4, 6, 10, 0.78) 0%, rgba(4, 6, 10, 0.04) 38%, rgba(4, 6, 10, 0.9) 100%);
}

.night-story__content {
  min-height: 860px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 92px 0 70px;
}

.night-story h2 {
  max-width: 10ch;
  font-size: clamp(3rem, 5.7vw, 5.6rem);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.055em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
}

.night-story__moments {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 5vw, 80px);
}

.night-story__moment {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.32);
}

.night-story__moment h3 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.night-story__moment p {
  max-width: 30ch;
  margin-top: 12px;
  color: rgba(242, 243, 245, 0.68);
  font-size: 0.96rem;
  line-height: 1.55;
}

/* Five audience recognition scenes */
.audiences {
  padding: clamp(112px, 13vw, 190px) 0;
  background:
    radial-gradient(circle at 20% 18%, rgba(31, 51, 74, 0.2), transparent 28%),
    var(--landing-surface);
}

.audiences__intro {
  max-width: 800px;
}

.audiences__intro p {
  max-width: 44ch;
  margin-top: 24px;
  color: var(--landing-muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

.audience-panels {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 60px;
}

.audience-panel {
  position: relative;
  min-width: 0;
  min-height: 650px;
  overflow: hidden;
  border-radius: var(--landing-radius);
  background: #0b0e13;
}

.audience-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) brightness(0.76);
}

.audience-panel--couple img { object-position: 50% 42%; }
.audience-panel--hot img { object-position: 52% 38%; }
.audience-panel--performer img { object-position: 50% center; }
.audience-panel--menopause img { object-position: 52% 38%; }
.audience-panel--athlete img { object-position: 50% center; }

.audience-panel__copy {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 112px clamp(16px, 1.55vw, 24px) 26px;
  color: var(--landing-text);
  background: linear-gradient(0deg, rgba(4, 6, 10, 0.98) 0%, rgba(4, 6, 10, 0.86) 42%, rgba(4, 6, 10, 0.46) 72%, transparent 100%);
}

.audience-panel__context {
  display: block;
  margin-bottom: 12px;
  color: var(--landing-accent);
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: uppercase;
}

.audience-panel__title {
  font-size: clamp(1.05rem, 1.35vw, 1.3rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: 0;
}

.audience-panel__body {
  max-width: 32ch;
  margin-top: 13px;
  color: rgba(242, 243, 245, 0.72);
  font-size: clamp(0.78rem, 0.76vw, 0.88rem);
  line-height: 1.5;
}

.audiences__promise {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--landing-line);
}

.audiences__promise h3 {
  color: rgba(242, 243, 245, 0.84);
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0;
}

/* Evidence */
.evidence {
  padding: clamp(130px, 14vw, 210px) 0;
  background:
    radial-gradient(circle at 8% 18%, rgba(45, 81, 118, 0.18), transparent 34%),
    radial-gradient(circle at 90% 65%, rgba(190, 112, 55, 0.1), transparent 29%),
    var(--landing-bg);
}

.evidence__header {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  align-items: end;
  gap: clamp(44px, 7vw, 110px);
  margin-bottom: 48px;
}

.evidence__eyebrow,
.evidence-story__label {
  color: var(--landing-accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.69rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-transform: uppercase;
}

.evidence__eyebrow { margin-bottom: 18px; }

.evidence__lede {
  max-width: 43ch;
  color: var(--landing-muted);
  font-size: 1.04rem;
  line-height: 1.66;
}

.evidence__media-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: 16px;
}

.evidence-story {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: var(--landing-radius);
  color: var(--landing-text);
  text-decoration: none;
  isolation: isolate;
}

.evidence-story::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: inherit;
  pointer-events: none;
  transition: border-color 260ms ease, box-shadow 260ms ease;
}

.evidence-story img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  object-fit: cover;
  filter: saturate(0.78) brightness(0.72);
  transition: transform 650ms var(--landing-ease), filter 300ms ease;
}

.evidence-story--sleeper img { object-position: 52% center; }
.evidence-story--science img { object-position: 50% 36%; }

.evidence-story__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 7, 10, 0.08) 28%, rgba(5, 7, 10, 0.92) 100%),
    linear-gradient(90deg, rgba(7, 16, 27, 0.26), transparent 62%);
}

.evidence-story--science .evidence-story__shade {
  background:
    linear-gradient(180deg, rgba(5, 7, 10, 0.1) 25%, rgba(5, 7, 10, 0.94) 100%),
    linear-gradient(90deg, rgba(46, 25, 12, 0.18), transparent 70%);
}

.evidence-story__copy {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  padding: 34px;
}

.evidence-story__copy h3 {
  max-width: 18ch;
  margin-top: 12px;
  font-size: clamp(1.55rem, 2.8vw, 2.45rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.042em;
}

.evidence-story--science .evidence-story__copy h3 {
  font-size: clamp(1.45rem, 2.1vw, 2rem);
}

.evidence-story__copy > p:not(.evidence-story__label) {
  max-width: 44ch;
  margin-top: 13px;
  color: rgba(242, 243, 245, 0.7);
  font-size: 0.93rem;
  line-height: 1.55;
}

.evidence-story__status,
.evidence-story__link {
  display: inline-block;
  margin-top: 19px;
  color: rgba(242, 243, 245, 0.82);
  font-size: 0.82rem;
  font-weight: 500;
}

.evidence-story__status { color: var(--landing-muted); }

.evidence-story[href]:hover::after,
.evidence-story[href]:focus-visible::after {
  border-color: rgba(233, 161, 90, 0.5);
  box-shadow: inset 0 0 0 1px rgba(233, 161, 90, 0.12);
}

.evidence-story[href]:hover img,
.evidence-story[href]:focus-visible img {
  transform: scale(1.025);
  filter: saturate(0.84) brightness(0.78);
}

.evidence-story[href]:focus-visible {
  outline: 2px solid var(--landing-accent);
  outline-offset: 4px;
}

.evidence-ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  margin-top: 18px;
  padding: 0;
  border-top: 1px solid var(--landing-line-strong);
  border-bottom: 1px solid var(--landing-line);
  list-style: none;
}

.evidence-ledger__item {
  min-width: 0;
  padding: 29px 27px 27px;
  border-right: 1px solid var(--landing-line);
}

.evidence-ledger__item:last-child { border-right: 0; }

.evidence-ledger__item h3 {
  margin-top: 0;
  font-size: 1.04rem;
  font-weight: 500;
  letter-spacing: -0.018em;
}

.evidence-ledger__item p {
  max-width: 34ch;
  margin-top: 10px;
  color: var(--landing-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.evidence-ledger__item a,
.evidence-ledger__status {
  display: inline-block;
  margin-top: 21px;
  font-size: 0.79rem;
  font-weight: 500;
}

.evidence-ledger__item a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--landing-text);
  text-decoration: none;
  transition: color 220ms ease;
}

.evidence-ledger__item a:hover,
.evidence-ledger__item a:focus-visible { color: var(--landing-accent); }

.evidence-ledger__status { color: var(--landing-muted); }

.evidence__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding-top: 27px;
}

.evidence__footer p {
  max-width: 56ch;
  color: var(--landing-muted);
  font-size: 0.79rem;
  line-height: 1.55;
}

.evidence__footer .landing-text-link {
  flex: 0 0 auto;
  align-items: center;
  min-height: 44px;
}

/* Closing waitlist and footer */
.landing-footer {
  overflow: hidden;
  background: var(--landing-surface-soft);
}

.landing-footer__bottom {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1.45fr);
  gap: 60px;
  padding: 62px 0 72px;
  border-top: 1px solid var(--landing-line);
}

.landing-footer__brand {
  align-self: start;
}

.landing-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
}

.landing-footer__nav div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.landing-footer__nav h3 {
  margin-bottom: 17px;
  color: rgba(242, 243, 245, 0.46);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-footer__nav a {
  margin-top: 10px;
  color: rgba(242, 243, 245, 0.68);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 220ms ease;
}

.landing-footer__nav a:hover {
  color: var(--landing-text);
}

/* Motivated entry motion for hierarchy */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 760ms var(--landing-ease), transform 760ms var(--landing-ease);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes landing-hero-enter {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1040px) {
  .landing-page {
    --landing-shell: calc(100% - 48px);
  }

  .product-console__stage {
    grid-template-columns: 1fr;
  }

  .product-console__system {
    min-height: 620px;
  }

  .audience-panels {
    margin-top: 50px;
  }

  .audience-panel {
    min-height: 590px;
  }

}

@media (max-width: 760px) {
  .landing-page {
    --landing-shell: calc(100% - 32px);
  }

  .landing-page .top-ribbon {
    top: 0;
    width: 100%;
    min-height: 58px;
    padding: 6px 16px;
    overflow: visible;
  }

  .landing-page .brand__text {
    font-size: 22px;
  }

  .landing-nav-toggle {
    display: block;
    flex: none;
  }

  .landing-page .nav-links {
    display: none;
  }

  .landing-page .nav-links.is-open {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(230px, calc(100vw - 32px));
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--landing-input-radius);
    background: rgba(9, 12, 18, 0.97);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.52);
    backdrop-filter: blur(20px);
  }

  .landing-page .nav-link {
    padding: 12px 14px;
    border-radius: 8px;
  }

  .landing-hero {
    min-height: 100dvh;
  }

  .landing-hero__media {
    object-position: 58% center;
    transform: none;
  }

  .landing-hero__shade {
    background:
      linear-gradient(90deg, rgba(4, 6, 10, 0.88), rgba(4, 6, 10, 0.28)),
      linear-gradient(0deg, rgba(4, 6, 10, 0.96) 0%, rgba(4, 6, 10, 0.2) 62%, rgba(4, 6, 10, 0.44) 100%);
  }

  .landing-hero__content {
    min-height: 100dvh;
    padding: 96px 0 38px;
  }

  .landing-hero h1 {
    max-width: 10.8ch;
    font-size: clamp(3rem, 13.8vw, 4.4rem);
    line-height: 0.95;
  }

  .landing-hero__copy > p {
    max-width: 32ch;
    margin-top: 19px;
    font-size: 0.98rem;
  }

  .landing-hero__actions {
    align-items: flex-start;
    gap: 18px;
    margin-top: 24px;
  }

  .product-console {
    padding: 84px 0 92px;
  }

  .product-console__header {
    margin-bottom: 32px;
  }

  .product-console__header h2 {
    font-size: 2.25rem;
  }

  .product-console__tabs {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .product-console__tabs::-webkit-scrollbar { display: none; }

  .product-console__tab {
    min-height: 76px;
    padding: 13px 14px 16px;
  }

  .product-console__media {
    min-height: 540px;
  }

  .product-console__panel {
    padding: 24px 22px 27px;
  }

  .product-console__panel h3 {
    font-size: clamp(2.15rem, 9vw, 3rem);
  }

  .product-console__system {
    min-height: 0;
  }

  .audiences,
  .evidence {
    padding: 100px 0;
  }

  .audiences__intro h2,
  .evidence__header h2 {
    font-size: clamp(2.5rem, 12vw, 3.8rem);
  }

  .night-story {
    min-height: 860px;
  }

  .night-story__media {
    object-position: 52% center;
  }

  .night-story__shade {
    background:
      linear-gradient(180deg, rgba(4, 6, 10, 0.88) 0%, rgba(4, 6, 10, 0.08) 34%, rgba(4, 6, 10, 0.96) 100%),
      linear-gradient(90deg, rgba(5, 16, 29, 0.3), rgba(79, 39, 13, 0.18));
  }

  .night-story__content {
    min-height: 860px;
    padding: 92px 0 45px;
  }

  .night-story h2 {
    font-size: clamp(3rem, 13vw, 4.6rem);
  }

  .night-story__moments {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .night-story__moment {
    padding: 18px 0 20px;
  }

  .night-story__moment p {
    max-width: 38ch;
  }

  .audiences__intro {
    max-width: 100%;
  }

  .audience-panels {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 46px;
  }

  .audience-panel {
    min-height: 430px;
  }

  .audience-panel img {
    filter: saturate(0.88) brightness(0.88);
  }

  .audience-panel__copy {
    padding: 110px 22px 24px;
  }

  .audience-panel__title {
    max-width: 20ch;
    font-size: 1.35rem;
  }

  .audience-panel__body {
    max-width: 38ch;
    font-size: 0.92rem;
  }

  .audiences__promise {
    margin-top: 28px;
  }

  .evidence__header {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
    margin-bottom: 36px;
  }

  .evidence__lede { max-width: 42ch; }
  .evidence__media-grid { grid-template-columns: 1fr; }

  .evidence-story { min-height: 390px; }

  .evidence-story__copy { padding: 26px 22px; }
  .evidence-ledger { grid-template-columns: 1fr; }

  .evidence-ledger__item {
    padding: 25px 0;
    border-right: 0;
    border-bottom: 1px solid var(--landing-line);
  }

  .evidence-ledger__item:last-child { border-bottom: 0; }
  .evidence-ledger__item h3 { margin-top: 0; }

  .evidence__footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .landing-footer__bottom {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 48px 0 58px;
  }

  .landing-footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 28px;
  }
}

@media (max-width: 480px) {
  .landing-page {
    --landing-shell: calc(100% - 32px);
  }

  .landing-hero__actions {
    flex-direction: column;
  }

  .landing-button {
    width: 100%;
  }

  .landing-hero__actions .landing-text-link {
    margin-left: 4px;
  }

  .product-console__header h2 {
    font-size: 1.3rem;
  }

  .product-console__support dt {
    font-size: 0.88rem;
  }

  .product-console__support dd {
    font-size: 0.74rem;
  }

  .product-console__support {
    grid-template-columns: 1fr;
  }

  .product-console__support-item,
  .product-console__support-item:nth-child(even) {
    min-height: 0;
    padding: 17px 0;
    border-left: 0;
  }

  .evidence-story { min-height: 350px; }

  .evidence-story__copy h3 { font-size: 1.7rem; }

  .landing-footer__nav {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-page *,
  .landing-page *::before,
  .landing-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .landing-hero__copy,
  .reveal-on-scroll,
  .reveal-on-scroll.is-visible {
    opacity: 1;
    transform: none;
  }

  .product-console__image {
    transition: none;
  }
}
