:root {
  --navy: #061a44;
  --navy-2: #09265c;
  --blue: #1e6bff;
  --gold: #ffc400;
  --orange: #f28c38;
  --ink: #10141d;
  --muted: #5c6270;
  --line: #c8ceda;
  --paper: #f5f5f7;
  --white: #ffffff;
  --shadow: rgba(6, 26, 68, 0.2);
  --page-x: clamp(20px, 5vw, 72px);
  --section-y: clamp(64px, 9vw, 112px);
  --radius-card: 4px;
  --radius-chip: 4px;
  --radius-sheet: 12px;
  --radius-badge: 6px;
  --font-sans: "IBM Plex Sans", "Inter", "Segoe UI", system-ui, sans-serif;
  --font-display: "Space Grotesk", "IBM Plex Sans", "Inter", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.5;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

#product,
#screens,
#features {
  scroll-margin-top: 104px;
}

.site-header,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--page-x);
  background: var(--navy);
  color: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 3px solid var(--gold);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-card);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(14px, 3vw, 34px);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a {
  padding-block: 6px;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
  border-color: var(--gold);
  outline: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(340px, 1.04fr);
  gap: clamp(36px, 6vw, 86px);
  align-items: center;
  min-height: calc(100svh - 122px);
  padding: clamp(46px, 6.4vw, 84px) var(--page-x);
  background:
    linear-gradient(90deg, rgba(6, 26, 68, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, var(--white), #f1f3f7 82%);
  background-size: 42px 42px, auto;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero__copy {
  max-width: 760px;
}

.eyebrow,
.section__kicker,
.feature-grid article span {
  margin: 0;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.screen-section h2,
.feature-grid h2,
.closing p {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
  text-wrap: balance;
}

.hero h1 {
  margin-top: 18px;
  max-width: 11ch;
  font-size: clamp(48px, 8vw, 108px);
}

.hero__lead {
  max-width: 620px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 750;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border: 2px solid var(--navy);
  border-radius: var(--radius-card);
  color: var(--navy);
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -22px var(--shadow);
  outline: none;
}

.button--primary {
  background: var(--gold);
}

.button--secondary {
  background: var(--white);
}

.hero__stage {
  position: relative;
  min-height: clamp(520px, 60vw, 760px);
  isolation: isolate;
  perspective: 1000px;
}

.motion-canvas {
  position: absolute;
  inset: 7% 0 6% 4%;
  overflow: hidden;
  border: 3px solid var(--navy);
  border-radius: var(--radius-sheet);
  background: var(--navy);
  box-shadow: 16px 16px 0 var(--gold);
  z-index: -1;
}

.motion-canvas::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(6, 26, 68, 0.88), rgba(6, 26, 68, 0.42)),
    linear-gradient(135deg, transparent 0 40%, rgba(255, 196, 0, 0.28) 40% 42%, transparent 42% 100%);
}

.motion-canvas__grid {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 30px 30px;
}

.motion-canvas__reel {
  position: absolute;
  right: 28px;
  bottom: 30px;
  left: 34%;
  display: grid;
  min-height: 128px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-card);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.12)),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.08) 0 10px,
      rgba(255, 255, 255, 0.03) 10px 20px
    );
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  z-index: 1;
}

.phone-shot {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 3px solid var(--navy);
  border-radius: var(--radius-sheet);
  background: var(--white);
  box-shadow: 0 26px 80px -34px rgba(6, 26, 68, 0.58);
}

.phone-shot--primary {
  top: 0;
  right: clamp(12px, 3vw, 44px);
  width: min(54vw, 370px);
  max-width: 68%;
  aspect-ratio: 9 / 19.6;
}

.phone-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
}

.cue-card {
  position: absolute;
  width: min(360px, 45%);
  padding: 18px;
  border: 2px solid var(--navy);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: 10px 10px 0 rgba(255, 196, 0, 0.86);
}

.cue-card--top {
  top: 17%;
  left: 0;
}

.cue-card--bottom {
  right: 0;
  bottom: 11%;
}

.cue-card span {
  display: block;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cue-card strong {
  display: block;
  margin-top: 7px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 31px);
  line-height: 1.02;
  text-transform: uppercase;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--navy);
  color: var(--white);
  border-bottom: 3px solid var(--gold);
}

.proof-strip div {
  min-width: 0;
  padding: 26px var(--page-x);
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.proof-strip div:last-child {
  border-right: 0;
}

.proof-strip strong {
  display: block;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.proof-strip span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
}

.section,
.screen-section,
.feature-grid,
.closing {
  padding: var(--section-y) var(--page-x);
}

.section--split {
  display: grid;
  grid-template-columns: minmax(150px, 0.25fr) minmax(0, 0.75fr);
  gap: clamp(28px, 8vw, 112px);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.section h2,
.screen-section h2,
.feature-grid h2 {
  max-width: 900px;
  font-size: clamp(36px, 5.8vw, 84px);
}

.section p:not(.section__kicker),
.screen-section__intro {
  max-width: 780px;
}

.section p:not(.section__kicker) {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 750;
}

.screen-section {
  background:
    linear-gradient(90deg, rgba(6, 26, 68, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 36px 36px, auto;
}

.screen-section h2 {
  margin-top: 14px;
}

.screen-wall {
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) minmax(220px, 0.8fr) minmax(220px, 0.8fr);
  gap: 16px;
  align-items: stretch;
  margin-top: clamp(28px, 5vw, 54px);
}

.screen-card {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  border: 2px solid var(--navy);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: 10px 10px 0 rgba(6, 26, 68, 0.1);
}

.screen-card--live {
  min-height: 620px;
}

.screen-card img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: 50% 0;
}

.screen-card figcaption {
  padding: 14px 16px;
  border-top: 2px solid var(--navy);
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.placeholder-phone,
.placeholder-reel {
  position: relative;
  display: grid;
  min-height: 0;
  place-items: center;
  background:
    linear-gradient(180deg, rgba(255, 196, 0, 0.22), transparent 26%),
    linear-gradient(135deg, rgba(6, 26, 68, 0.04), rgba(6, 26, 68, 0.13));
}

.placeholder-phone::before {
  width: min(68%, 220px);
  aspect-ratio: 9 / 19.6;
  border: 3px solid var(--navy);
  border-radius: var(--radius-sheet);
  background:
    linear-gradient(var(--navy) 0 16%, transparent 16%),
    repeating-linear-gradient(180deg, var(--white) 0 64px, #eef1f6 64px 68px);
  content: "";
  box-shadow: 12px 12px 0 var(--gold);
}

.placeholder-phone span,
.placeholder-reel span {
  position: absolute;
  display: block;
  border-radius: var(--radius-chip);
  background: rgba(6, 26, 68, 0.12);
}

.placeholder-phone span:nth-child(1) {
  top: 28%;
  left: 27%;
  width: 40%;
  height: 10px;
}

.placeholder-phone span:nth-child(2) {
  top: 38%;
  left: 27%;
  width: 31%;
  height: 10px;
}

.placeholder-phone span:nth-child(3) {
  top: 54%;
  left: 27%;
  width: 45%;
  height: 46px;
  border: 2px solid var(--navy);
  background: transparent;
}

.placeholder-reel {
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(6, 26, 68, 0.9), rgba(9, 38, 92, 0.7)),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.13) 0 12px,
      rgba(255, 255, 255, 0.03) 12px 24px
    );
}

.placeholder-reel::before {
  width: 72%;
  aspect-ratio: 16 / 10;
  border: 2px solid rgba(255, 255, 255, 0.52);
  border-radius: var(--radius-card);
  background:
    linear-gradient(135deg, rgba(255, 196, 0, 0.62), rgba(242, 140, 56, 0.5) 46%, rgba(30, 107, 255, 0.34));
  content: "";
}

.placeholder-reel span:nth-child(1) {
  top: 28%;
  left: 20%;
  width: 20%;
  height: 8px;
  background: rgba(255, 255, 255, 0.44);
}

.placeholder-reel span:nth-child(2) {
  right: 18%;
  bottom: 30%;
  width: 28%;
  height: 8px;
  background: rgba(255, 255, 255, 0.36);
}

.placeholder-reel span:nth-child(3) {
  top: 45%;
  left: 45%;
  width: 44px;
  height: 44px;
  border: 2px solid var(--white);
  background: rgba(255, 255, 255, 0.18);
  transform: rotate(45deg);
}

.feature-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) repeat(2, minmax(220px, 0.9fr));
  gap: 16px;
  background: var(--white);
}

.feature-grid__intro {
  grid-row: span 2;
  padding: 28px;
  border-radius: var(--radius-card);
  background: var(--navy);
  color: var(--white);
}

.feature-grid__intro h2 {
  margin-top: 16px;
  color: var(--white);
  font-size: clamp(34px, 5vw, 70px);
}

.feature-grid article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--paper);
}

.feature-grid article:nth-of-type(2) {
  border-top: 6px solid var(--gold);
}

.feature-grid h3 {
  margin: 12px 0 0;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
  text-transform: uppercase;
}

.feature-grid p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 750;
}

.closing {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.closing p {
  max-width: 880px;
  font-size: clamp(40px, 6.5vw, 92px);
}

.footer {
  border-top: 3px solid var(--gold);
}

.footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 1080px) {
  .hero,
  .section--split,
  .feature-grid,
  .screen-wall {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero h1 {
    max-width: 12ch;
  }

  .hero__stage {
    min-height: min(780px, 92vw);
  }

  .phone-shot--primary {
    width: min(420px, 72vw);
    max-width: none;
  }

  .feature-grid__intro {
    grid-row: auto;
  }

  .screen-card,
  .screen-card--live {
    min-height: 520px;
  }
}

@media (max-width: 680px) {
  html {
    scroll-behavior: auto;
  }

  .site-header,
  .footer,
  .closing {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
    font-size: 12px;
  }

  .hero {
    padding-top: 38px;
  }

  .hero h1 {
    font-size: clamp(42px, 14vw, 62px);
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 340px);
  }

  .button {
    width: 100%;
    overflow-wrap: anywhere;
  }

  .hero__stage {
    min-height: 620px;
  }

  .motion-canvas {
    inset: 8% 0 4% 0;
    box-shadow: 9px 9px 0 var(--gold);
  }

  .motion-canvas__reel {
    right: 16px;
    bottom: 18px;
    left: 16px;
    min-height: 96px;
  }

  .phone-shot--primary {
    top: 0;
    right: auto;
    left: 50%;
    width: min(310px, 82vw);
    translate: -50% 0;
  }

  .cue-card {
    width: min(270px, 78vw);
    padding: 14px;
  }

  .cue-card--top {
    top: 34%;
    left: 0;
  }

  .cue-card--bottom {
    right: 0;
    bottom: 9%;
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .proof-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .proof-strip div:last-child {
    border-bottom: 0;
  }

  .screen-card,
  .screen-card--live {
    min-height: 460px;
  }
}

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