/* Launch page. Nujai type and ink on white: lighter on brand than the main site, on purpose.
   The kairos blue appears once (the button). The design system's dark plate and foil appear
   once (the thank-you offer). Plate, grain and .nx-foil are the design system's own recipes. */
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/HankenGrotesk-VariableFont_wght.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("fonts/OpenSans-VariableFont_wght.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }

:root {
  --ink: #1a1a1a; --muted: #645d59; --line: #e4e0d9; --field: #bdb6aa;
  --dark: #2e2a26; --deep: #161310; --on: #f4efe6;
  --kairos: #5b8cff; --kairos-deep: #3556d8; --error: #c2401c;
  --on-dark: #f4efe6; --on-dark-muted: #b8aea4;
  --foil-1: #5b8cff; --foil-2: #3ee0cf; --foil-3: #b06bff; --foil-4: #ff6fb8; --foil-5: #ffce6a;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 17px/1.65 "Open Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure, dl, dd, ul { margin: 0; padding: 0; }
ul { list-style: none; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3 { font-family: "Hanken Grotesk", system-ui, sans-serif; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.wrap { width: min(100%, 1120px); margin: 0 auto; padding: 0 32px; }
.col { max-width: 680px; margin-left: auto; margin-right: auto; }
header { padding: 28px 0; }
.logo { width: 150px; }
.eyebrow { font: 600 12px/1.4 "Hanken Grotesk", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.video { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: linear-gradient(160deg, var(--dark), var(--deep)); display: grid; place-items: center; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.soon { font: 700 clamp(20px, 3vw, 34px)/1.2 "Hanken Grotesk", sans-serif; letter-spacing: -.02em; color: var(--on); text-align: center; padding: 16px; }

.intro { margin-top: 72px; }
h1 { font-size: clamp(52px, 8.2vw, 104px); font-weight: 800; letter-spacing: -.03em; line-height: 1; margin: 16px 0 32px; }
.lead { font-size: 20px; line-height: 1.6; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); margin-top: 48px; }
.facts > div { padding: 18px 0; }
.facts > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
dt { font: 800 28px/1.1 "Hanken Grotesk", sans-serif; letter-spacing: -.02em; }
dd { color: var(--muted); font-size: 14px; margin-top: 4px; }

section { margin-top: 88px; }
h2 { font-size: 32px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 16px; }
h3 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; margin-bottom: 10px; }

/* Columns follow each photo's own ratio (1 : 3/4 : 4/3): same height, nothing cropped. */
.photos { display: grid; grid-template-columns: 1fr .75fr 1.3333fr; gap: 16px; margin-top: 40px; }
.photos img { border-radius: 6px; }

.project { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 48px; }
.project img { aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; }
.project p { font-size: 16px; }
figcaption { color: var(--muted); font-size: 14px; line-height: 1.45; margin-top: 10px; }
.link { font-weight: 600; text-decoration: none; display: inline-block; margin-top: 14px; }
.link span { display: inline-block; transition: transform .15s; }
.link:hover span { transform: translateX(3px); }

/* The thank-you offer: dark plate on top, details on white below.
   The plate's inner column is the page's text column, so its text lines up with the rest. */
.plate { position: relative; isolation: isolate; overflow: hidden; border-radius: 24px; padding: 80px 32px; color: var(--on-dark); background: linear-gradient(140deg, var(--dark) 0%, var(--deep) 100%); }
.plate::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; mix-blend-mode: screen; opacity: .08; filter: contrast(150%) brightness(130%); background-size: 200px 200px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='ng'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.4' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23ng)'/%3E%3C/svg%3E"); }
.plate-in { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.plate .eyebrow { color: var(--on-dark-muted); }
.plate h2 { font-size: clamp(38px, 5.6vw, 68px); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; margin: 16px 0 24px; padding-bottom: .08em; }
.plate p:last-child { color: var(--on-dark-muted); font-size: 18px; }

/* Design system recipe, tokens/effects.css. Dark backgrounds only. */
@property --hx { syntax: '<percentage>'; inherits: false; initial-value: 66%; }
@property --hy { syntax: '<percentage>'; inherits: false; initial-value: 32%; }
.nx-foil { --hx: 66%; --hy: 32%;
  background-image:
    radial-gradient(clamp(280px, 30vw, 540px) circle at var(--hx) var(--hy), rgba(255, 255, 255, .32) 0%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(115deg,
      color-mix(in srgb, var(--foil-1) 62%, var(--on-dark)) 0%,
      color-mix(in srgb, var(--foil-2) 55%, var(--on-dark)) 20%,
      color-mix(in srgb, var(--foil-5) 48%, var(--on-dark)) 42%,
      color-mix(in srgb, var(--foil-3) 55%, var(--on-dark)) 64%,
      color-mix(in srgb, var(--foil-4) 58%, var(--on-dark)) 84%,
      color-mix(in srgb, var(--foil-1) 62%, var(--on-dark)) 100%);
  background-size: auto, 200% 200%; background-position: 0 0, var(--hx) var(--hy); background-repeat: no-repeat, no-repeat; background-blend-mode: screen, normal;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  filter: saturate(1.05); transition: --hx .35s ease-out, --hy .35s ease-out; }

.offer { margin-top: 32px; }
.offer li { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.offer li:last-child { border-bottom: 0; }
.offer h3 { font-size: 18px; margin: 0; line-height: 1.5; }
.offer p { font-size: 16px; }

.closing { margin-top: 112px; padding-top: 48px; border-top: 1px solid var(--ink); }
.closing h2 { font-size: clamp(34px, 5vw, 48px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 28px; }
form { display: grid; gap: 16px; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
input { font: inherit; font-size: 17px; min-height: 52px; padding: 12px 14px; border-radius: 6px; width: 100%; background: #fff; color: var(--ink); border: 1px solid var(--field); }
input:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
button { justify-self: start; margin-top: 6px; font: 600 16px "Hanken Grotesk", sans-serif; min-height: 54px; padding: 0 30px; border: 0; border-radius: 999px; cursor: pointer; color: #fff; background: linear-gradient(135deg, #4a7bf0, var(--kairos-deep)); transition: filter .15s; }
button:hover { filter: brightness(1.08); }
button:disabled { cursor: progress; opacity: .7; }
.status { font-size: 16px; font-weight: 500; }
.status.error { color: var(--error); font-weight: 400; }
.status.ok { font: 700 24px/1.3 "Hanken Grotesk", sans-serif; letter-spacing: -.02em; }
.note { color: var(--muted); font-size: 15px; margin-top: 20px; }
footer { margin-top: 96px; margin-bottom: 40px; color: var(--muted); font-size: 14px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  header { padding: 20px 0; }
  .logo { width: 130px; }
  .intro { margin-top: 44px; }
  .lead { font-size: 18px; }
  dt { font-size: 22px; }
  .facts > div + div { padding-left: 12px; }
  section { margin-top: 64px; }
  .photos, .project { grid-template-columns: 1fr; gap: 20px; }
  .project { margin-top: 36px; }
  .plate { border-radius: 16px; padding: 44px 22px; }
  .plate p:last-child { font-size: 17px; }
  .offer li { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  button { width: 100%; justify-self: stretch; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
