/* FieldGrid — one stylesheet for every page. */

@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: normal; font-display: swap; src: url("/fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); }

:root {
  --ink: #232323;
  --ink-soft: #4A4843;
  --paper: #EDEBE6;
  --slate: #3D4240;
  --slate-deep: #343938;
  --night: #161817;
  --accent: #F4902F;
  --line: #8F8C85;
  --placeholder: #7A7770;
  --gutter: clamp(24px, 6vw, 96px);
  --cond: "Barlow Condensed", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Barlow", system-ui, sans-serif;
  font-size: 16px;
  background: var(--slate);
  color: var(--paper);
  overflow-x: hidden;
}
body.light { background: var(--paper); color: var(--ink); }

img, video { display: block; max-width: 100%; }
h1, h2, p, ul, ol { margin: 0; }
strong { font-weight: 600; }

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--paper); outline-offset: 3px; }
.light a:focus-visible, .light button:focus-visible, .light input:focus-visible { outline-color: var(--accent); }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- type ---------- */

.display {
  font-family: var(--cond); font-weight: 800; text-transform: uppercase;
  font-size: clamp(36px, 3.9vw, 56px); line-height: 0.98;
}
.display span { display: block; }
.display .hl { color: var(--accent); }

.heading {
  font-family: var(--cond); font-weight: 800; text-transform: uppercase;
  font-size: 32px; line-height: 1;
}
.heading--sm { font-size: 28px; line-height: 1.05; }
.nowrap { white-space: nowrap; }

.label {
  font-family: var(--cond); font-weight: 700; font-size: 16px;
  letter-spacing: 0.12em; text-transform: uppercase;
}

.tag {
  align-self: flex-start;
  font-family: var(--cond); font-weight: 800; font-size: 18px; letter-spacing: 0.1em; line-height: 1;
  color: var(--ink); background: var(--accent); padding: 6px 12px;
}
.tag--sm { font-size: 16px; text-transform: uppercase; }

.text-link { text-decoration: underline; }
.text-link:hover { color: var(--accent); }

/* ---------- topographic decorations ---------- */

.topo { position: absolute; height: auto; opacity: 0.14; pointer-events: none; }
.topo--a { top: 0; right: 0; width: 420px; max-width: 80%; transform: translate(9%, -22%); }
.topo--b { bottom: 0; left: 0; width: 320px; max-width: 60%; transform: translate(-33%, 55%); }
.topo--c { bottom: 0; right: 0; width: 560px; max-width: 90%; transform: translate(7%, 22%); }
.topo--d { bottom: 0; left: 0; width: 380px; max-width: 80%; transform: translate(-33%, 5%); }
.topo--e { top: 0; left: 0; width: 440px; max-width: 80%; transform: translate(-18%, -18%); }
.topo--f { bottom: 0; left: 0; width: 300px; max-width: 60%; transform: translate(-33%, 5%); opacity: 0.12; }
.topo--on-light { filter: invert(1); opacity: 0.06; }

/* ---------- logo ---------- */

.logo { width: auto; height: 88px; }
.logo--md { height: 80px; }
.logo--sm { height: 60px; }
.logo--xs { height: 52px; }

.logo-link { display: block; align-self: flex-start; }
.logo-link .logo--hover { display: none; }
.logo-link:hover .logo--base, .logo-link:focus-visible .logo--base { display: none; }
.logo-link:hover .logo--hover, .logo-link:focus-visible .logo--hover { display: block; }

/* ---------- feature rows: text beside a full-bleed photo ---------- */

.feat { display: flex; flex-wrap: wrap; background: var(--slate); }
.feat--rev { flex-direction: row-reverse; }
.feat--light { background: var(--paper); color: var(--ink); }

.feat__text {
  position: relative; overflow: hidden;
  flex: 1 1 480px; min-width: 0; min-height: 460px;
  padding: 72px var(--gutter);
  display: flex; flex-direction: column; justify-content: center;
}
.feat__body {
  position: relative; z-index: 1;
  max-width: 440px; display: flex; flex-direction: column; gap: 16px;
}
.feat__body p { line-height: 1.6; }
.feat--light .feat__body p { color: var(--ink-soft); }

.feat__photo {
  position: relative; flex: 1 1 480px; min-width: 0; min-height: 420px;
  background: var(--slate-deep);
}
.feat--light .feat__photo { background: #D8D5CE; }
.feat__photo--video { background: var(--night) !important; }
.feat__photo > img, .feat__photo > video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}

/* ---------- landing: hero ---------- */

.fold { display: flex; flex-direction: column; min-height: min(100vh, 1200px); }
.fold > .feat { flex: 1 0 auto; }
.hero__text { min-height: 480px; }
.hero__body { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; max-width: 560px; }
.hero__title { font-size: clamp(26px, 3vw, 42px); line-height: 1.02; }
.hero__title span { white-space: nowrap; }
.hero__body p { line-height: 1.55; max-width: 480px; }

/* ---------- signup forms ---------- */

.band { padding: 0 var(--gutter); }
.band--light { background: var(--paper); color: var(--ink); }
.band--accent { background: var(--accent); color: var(--ink); }
.band__inner {
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between;
  gap: 24px 48px; padding: 44px 0;
}
.band--accent .band__inner { gap: 28px 48px; padding: 64px 0; }
.band__intro { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.band__intro h2 { font-family: var(--cond); font-weight: 800; font-size: 28px; line-height: 1; text-transform: uppercase; }
.band__intro p { max-width: 560px; font-size: 15px; line-height: 1.4; color: var(--ink-soft); }
.band__intro strong { color: var(--ink); }
.band__closing {
  flex: 1 1 320px; min-width: 0;
  font-family: var(--cond); font-weight: 800; text-transform: uppercase;
  font-size: clamp(30px, 3.3vw, 42px); line-height: 0.98;
}
.band__form { flex: 1 1 400px; min-width: 0; max-width: 520px; display: flex; flex-direction: column; gap: 10px; }
.band__form p { font-size: 14px; line-height: 1.4; }
.band--accent .text-link:hover { color: #FFFFFF; }

/* White field with the button inside it. */
.field {
  position: relative; width: 100%; max-width: 520px;
  display: flex; align-items: center; gap: 8px;
  background: #FFFFFF; border: 1px solid var(--line); padding: 4px 4px 4px 16px;
}
.field:focus-within { outline: 3px solid var(--ink); outline-offset: 3px; }
.on-dark .field:focus-within { outline-color: var(--paper); }
.field input {
  flex: 1 1 auto; min-width: 0; height: 44px; padding: 0;
  font: inherit; font-size: 16px; color: var(--ink);
  background: transparent; border: 0; border-radius: 0;
}
.field input:focus-visible { outline: none; }

/* Field and button side by side, on the orange band. */
.split-field { display: flex; flex-wrap: wrap; gap: 10px; }
.split-field input {
  flex: 1 1 200px; min-width: 0; height: 50px; padding: 0 16px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--paper); border: 2px solid var(--ink); border-radius: 0;
}
.split-field input:focus-visible, .split-field button:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

input::placeholder { color: var(--placeholder); opacity: 1; }

.btn {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 44px; padding: 0 22px;
  font-family: var(--cond); font-weight: 800; font-size: 16px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink); background: var(--accent); border: 0; border-radius: 0; cursor: pointer;
}
.btn:hover { background: var(--ink); color: var(--accent); }
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn--dark { height: 50px; color: var(--paper); background: var(--ink); }
.btn--dark:hover { background: #FFFFFF; color: var(--ink); }
.btn--wide { flex: 1 1 100%; height: 52px; }
.btn--wide:hover { background: #FFFFFF; color: var(--ink); }
.btn--ghost { flex: 1 1 auto; height: 44px; padding: 0 18px; white-space: nowrap; color: var(--paper); background: transparent; border: 2px solid rgba(237, 235, 230, 0.55); }
.btn--ghost:hover { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn--outline { flex: 1 1 100%; height: 48px; color: var(--paper); background: transparent; border: 2px solid var(--paper); }
.btn--outline:hover { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn--outline.is-done { color: var(--ink); background: var(--paper); }

/* Honeypot: real people never see or fill it. */
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-status { min-height: 0; font-size: 14px; line-height: 1.4; font-weight: 600; }
.form-status:empty { display: none; }

/* ---------- landing: proof strip ---------- */

.proof { position: relative; overflow: hidden; padding: 0 var(--gutter); background: var(--slate); }
.proof__grid { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 40px 32px; padding: 72px 0 56px; list-style: none; }
.proof__item { flex: 1 1 140px; min-width: 0; display: flex; flex-direction: column; gap: 10px; border-top: 3px solid var(--accent); padding-top: 16px; }
.proof__num { font-family: var(--cond); font-weight: 800; font-size: clamp(48px, 5.2vw, 76px); line-height: 0.9; }
.proof__unit { font-size: 0.4em; margin-left: 6px; letter-spacing: 0.06em; }
.proof__label { font-family: var(--cond); font-weight: 700; font-size: 16px; letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- footer ---------- */

.page-end { padding: 0 var(--gutter); background: var(--slate); color: var(--paper); }
.page-end__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 28px 0 36px; }
.page-end__social { display: flex; flex-wrap: wrap; gap: 24px; font-family: var(--cond); font-weight: 700; font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; }
.page-end__social a { display: inline-block; padding: 12px 0; }
.page-end__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; padding: 0 0 32px; font-size: 14px; }
.page-end__legal a { display: inline-block; padding: 10px 0; text-decoration: underline; }
.page-end a:hover { color: var(--accent); }
.page-end a:focus-visible { outline-color: var(--paper); }

/* ---------- landing: sticky signup bar on phones ---------- */

.sticky-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px;
  background: var(--paper); border-top: 1px solid var(--line);
}
.sticky-bar__when { font-family: var(--cond); font-weight: 800; font-size: 16px; line-height: 1.05; text-transform: uppercase; color: var(--ink); }
.sticky-bar__when span { display: block; }
.sticky-bar .btn { height: 46px; padding: 0 26px; }
.sticky-bar .btn:focus-visible { outline-color: var(--ink); }

/* ---------- document pages (privacy, rules, contact) ---------- */

.hd { position: relative; overflow: hidden; background: var(--slate); color: var(--paper); padding: 28px var(--gutter) 64px; }
.hd .topo--a { max-width: 70%; }
.hd__inner { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 56px; }
.hd__intro { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.hd__intro p { line-height: 1.6; }

.page { min-height: 100vh; display: flex; flex-direction: column; }
.doc { flex: 1 0 auto; padding: 64px var(--gutter) 80px; }
.doc a { color: var(--ink); text-decoration: underline; }
.doc a:hover { color: var(--accent); text-decoration-thickness: 2px; }
.doc__sections { max-width: 760px; display: flex; flex-direction: column; gap: 44px; }
.doc__section { display: flex; flex-direction: column; gap: 14px; }
.doc__title { display: flex; align-items: center; gap: 14px; }
.doc__num {
  flex: 0 0 auto; width: 34px; padding: 6px 0; text-align: center;
  font-family: var(--cond); font-weight: 800; font-size: 16px; line-height: 1;
  color: var(--ink); background: var(--accent);
}
.doc p { line-height: 1.65; color: var(--ink-soft); }
.doc strong { color: inherit; }

.bullets { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.bullets li { position: relative; padding-left: 19px; line-height: 1.55; color: var(--ink-soft); }
.bullets li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 7px; height: 7px; background: var(--accent);
}
.on-dark .bullets { gap: 4px; }
.on-dark .bullets li { color: var(--paper); line-height: 1.45; padding-left: 20px; }
.on-dark .bullets li::before { width: 8px; height: 8px; top: 0.5em; }

/* Contact */
.contact { display: flex; flex-direction: column; gap: 32px; max-width: 760px; }
.contact__block { display: flex; flex-direction: column; gap: 10px; }
.contact .small { font-size: 14px; }

/* ---------- draw info and thank-you pages: text beside a photo ---------- */

.split-page .feat { flex: 0 0 auto; }
.split-page .feat__text { min-height: 1100px; }
.split-page__body { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 36px; max-width: 560px; }
.split-page__body > p { line-height: 1.55; }
.split-page--thanks .feat { flex: 1 0 auto; max-height: 1000px; }
.split-page--thanks .feat__text { min-height: 760px; padding-top: 56px; padding-bottom: 56px; }
.split-page--thanks .split-page__body { gap: 24px; max-width: 520px; }

.block { width: 100%; display: flex; flex-direction: column; gap: 14px; border-top: 1px solid rgba(237, 235, 230, 0.22); padding-top: 36px; }
.block p { line-height: 1.55; }
.block--tight { gap: 10px; }
.block .note { font-size: 14px; line-height: 1.45; }

.steps { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; line-height: 1.45; }
.steps__n {
  flex: 0 0 auto; width: 28px; padding: 5px 0; text-align: center;
  font-family: var(--cond); font-weight: 800; font-size: 16px; line-height: 1;
  color: var(--ink); background: var(--accent);
}

.split-page__body > .fine, .fine { font-size: 13px; line-height: 1.5; opacity: 0.8; }
.fine a { text-decoration: underline; }
.fine a:hover { color: var(--accent); }

.actions { width: 100%; display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.actions__row { display: flex; flex-wrap: wrap; gap: 12px; }

.share-sheet {
  flex: 1 1 100%; display: flex; flex-direction: column; gap: 16px; padding: 20px;
  background: rgba(237, 235, 230, 0.08); border: 1px solid rgba(237, 235, 230, 0.28);
}
.share-sheet[hidden] { display: none; }
.share-sheet__intro { display: flex; flex-direction: column; gap: 6px; }
.share-sheet p { font-size: 14px; line-height: 1.5; }
.share-sheet__links { display: flex; flex-wrap: wrap; gap: 10px; }
.share-sheet [role="status"] { min-height: 20px; font-size: 14px; line-height: 1.4; }

.strip {
  flex: 1 0 auto; min-height: 84px; padding: 28px var(--gutter); text-align: center;
  background: var(--accent); color: var(--ink);
}
.strip p { font-family: var(--cond); font-weight: 800; font-size: 18px; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.2; }

/* 404 */
.lost { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.lost .btn { height: 52px; padding: 0 28px; }

/* ---------- phones and tablets ---------- */

@media (max-width: 959px) {
  .fold { min-height: 0; }
  .topo { display: none; }

  .feat { position: relative; }
  .feat__photo {
    position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; flex: none;
  }
  .feat__text {
    z-index: 1; flex: 1 1 100%; min-height: 540px; justify-content: flex-end;
    padding: 40px 24px 36px;
    background: linear-gradient(to top, rgba(22, 24, 23, 0.94) 0%, rgba(22, 24, 23, 0.82) 55%, rgba(22, 24, 23, 0) 100%);
    color: var(--paper);
  }
  .feat--light .feat__body p { color: var(--paper); }
  .hero__text { min-height: 600px; }

  /* The video row stacks instead of sitting behind the text. */
  .feat__photo--video {
    position: relative; order: -1; flex: 1 1 100%; height: auto; aspect-ratio: 4 / 3;
  }
  .viewer { aspect-ratio: 1 / 1; }
  .viewer__modes { top: 12px; }
  .viewer__mode { padding: 7px 10px; font-size: 13px; }
  .viewer__full { top: auto; bottom: 12px; right: 12px; }
  .feat__text--plain {
    background: var(--paper); color: var(--ink); min-height: 0; justify-content: flex-start;
  }
  .feat--light .feat__text--plain .feat__body p { color: var(--ink-soft); }

  .split-page .feat { min-height: 0; max-height: none; }
  .split-page .feat__text {
    min-height: 600px;
    background: linear-gradient(to top, rgba(22, 24, 23, 0.94) 0%, rgba(22, 24, 23, 0.86) 60%, rgba(22, 24, 23, 0.2) 100%);
  }

  .has-sticky .sticky-bar { display: flex; }
  .has-sticky .page-end { padding-bottom: 76px; }
}

/* Photo focal points: what stays in view when object-fit crops. */
.fp-0 { object-position: 50% 0%; }
.fp-30 { object-position: 50% 30%; }
.fp-45 { object-position: 50% 45%; }
.fp-70 { object-position: 50% 70%; }
.fp-80 { object-position: 50% 80%; }

/* ---------- 3D case viewer (landing, feature 04) ---------- */

.viewer { overflow: hidden; background: #191919 !important; }
.viewer canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.viewer canvas:active { cursor: grabbing; }
.viewer:fullscreen { background: #191919; }
.viewer__labels { position: absolute; inset: 0; pointer-events: none; }
.viewer__dim {
  padding: 2px 7px; background: rgba(20, 20, 20, 0.9); border: 1px solid var(--accent);
  color: var(--paper); font-size: 12.5px; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.viewer__modes {
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 2px; padding: 3px; border: 1px solid #3a3a3a; background: rgba(20, 20, 20, 0.85);
}
.viewer__mode, .viewer__full {
  font-family: var(--cond); font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--paper); background: none; border: 1px solid transparent; cursor: pointer;
}
.viewer__mode { padding: 7px 14px; }
.viewer__mode:hover, .viewer__full:hover { color: var(--accent); }
.viewer__mode[aria-checked="true"] { border-color: var(--accent); color: var(--accent); background: #2a2018; }
.viewer__full {
  position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; display: grid; place-items: center;
  border-color: #3a3a3a; background: rgba(20, 20, 20, 0.85);
}
.viewer__full:hover { border-color: var(--accent); }
