/* =========================================================
   SmokeFree — editorial bold
   ========================================================= */

:root {
  /* canvas */
  --bg:        #FAF7F0;
  --bg-cream:  #F4E9D2;
  --bg-dark:   #0E0E0C;
  --paper:    #FFFFFB;

  /* ink */
  --ink:       #0E0E0C;
  --ink-soft:  #2A2926;
  --ink-mid:   #6B6760;
  --ink-mute:  #A8A39A;
  --line:      #E2D9C6;
  --line-soft: #ECE4D2;

  /* accents — lifted from the app */
  --accent:        #B4EC51;   /* acid green */
  --accent-deep:   #86B94C;
  --hot:           #D81B7A;   /* a punchier take on app magenta */
  --warm:          #FCD09F;   /* cigarette-cream from the app */
  --ember:         #FF6A2C;

  /* type */
  --display: "Fraunces", "Times New Roman", ui-serif, serif;
  --body:    "Geist", "Helvetica Neue", system-ui, sans-serif;
  --mono:    "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* motion */
  --ease:    cubic-bezier(.2,.7,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  /* shape */
  --radius:  14px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  position: relative;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--accent); color: var(--ink); }

/* -------- atmosphere: grain ---------- */
.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.32;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* =========================================================
   NAV
========================================================= */
.nav {
  position: sticky; top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 18px clamp(20px, 4vw, 56px);
  background: color-mix(in oklab, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.nav__brand img {
  width: 28px; height: 28px;
  border-radius: 7px;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}
.nav__wordmark {
  font-family: var(--display);
  font-weight: 500;
  font-variation-settings: "opsz" 24, "SOFT" 30, "WONK" 1;
  font-style: italic;
  letter-spacing: -0.01em;
  font-size: 22px;
}
.nav__dot { color: var(--accent-deep); }

.nav__links {
  display: flex;
  justify-self: center;
  gap: 28px;
}
.nav__links a {
  position: relative;
  font-size: 14px;
  color: var(--ink-soft);
  padding: 6px 2px;
  transition: color .25s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }

/* =========================================================
   BUTTONS
========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  background: var(--ink);
  color: var(--bg);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  will-change: transform;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 0 -2px rgba(14,14,12,.18);
}
.btn:active { transform: translateY(0); box-shadow: none; }

.btn--primary {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--ink);
}
.btn--primary:hover {
  background: var(--ink);
  color: var(--accent);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: transparent;
  text-decoration: underline;
  text-decoration-color: var(--ink-mid);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  padding-left: 4px; padding-right: 4px;
}
.btn--ghost:hover {
  color: var(--ink);
  text-decoration-color: var(--accent-deep);
  background: transparent;
  box-shadow: none;
}

.btn--lg { padding: 16px 22px; font-size: 15.5px; }

.nav__cta { padding: 9px 14px; font-size: 13.5px; }

/* =========================================================
   HERO
========================================================= */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 100px) clamp(20px, 4vw, 56px) 0;
}

.hero__grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding-bottom: clamp(60px, 8vw, 120px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mid);
  animation: fade-up .9s var(--ease-out) both;
}
.eyebrow__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 30%, transparent);
}

.display {
  font-family: var(--display);
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 0;
  font-size: clamp(48px, 7.4vw, 110px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 0 0 32px;
  color: var(--ink);
  animation: fade-up 1s .08s var(--ease-out) both;
}
.display__em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  font-weight: 500;
  position: relative;
  display: inline-block;
}
.display__em::after {
  content: "";
  position: absolute;
  left: -2px; right: 6px; bottom: 0.07em;
  height: 0.22em;
  background: var(--accent);
  z-index: -1;
  border-radius: 2px;
  transform: skewX(-6deg);
}

.lede {
  max-width: 32ch;
  font-size: clamp(17px, 1.4vw, 19.5px);
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 36px;
  animation: fade-up 1s .18s var(--ease-out) both;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-bottom: 28px;
  animation: fade-up 1s .26s var(--ease-out) both;
}

.hero__fine {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-mid);
  margin: 0;
  animation: fade-up 1s .34s var(--ease-out) both;
}

/* -------- proof card ---------- */
.proofcard {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 460px;
  animation: card-in 1.2s .2s var(--ease-out) both;
}
@keyframes card-in {
  from { opacity: 0; transform: translateY(30px) rotate(-4deg); }
  to   { opacity: 1; transform: translateY(0) rotate(-2.2deg); }
}

.proofcard__inner {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 18px;
  padding: 28px 28px 22px;
  box-shadow:
    0 1px 0 var(--ink),
    14px 14px 0 -4px var(--accent),
    14px 14px 0 -3px var(--ink);
  transform-origin: center;
  animation: card-float 7s ease-in-out 1.5s infinite alternate;
}
@keyframes card-float {
  from { transform: translateY(0); }
  to   { transform: translateY(-6px); }
}

.proofcard__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mid);
  border-bottom: 1px dashed var(--line);
  padding-bottom: 14px;
  margin-bottom: 22px;
}
.proofcard__corner { color: var(--ink); }

.proofcard__stat { display: flex; flex-direction: column; }
.proofcard__num {
  font-family: var(--display);
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0;
  font-weight: 600;
  font-size: 92px;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-feature-settings: "tnum", "lnum";
}
.proofcard__num--md { font-size: 38px; font-weight: 500; }
.proofcard__cap {
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink-mid);
}
.proofcard__cap em {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
}

.proofcard__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}

.proofcard__foot {
  display: flex;
  justify-content: space-between;
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-mid);
}

.proofcard__stamp {
  position: absolute;
  right: -28px;
  bottom: -28px;
  animation: stamp-spin 28s linear infinite;
}
@keyframes stamp-spin {
  from { transform: rotate(0); }
  to   { transform: rotate(360deg); }
}

/* -------- marquee ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  padding: 18px 0;
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
  font-family: var(--display);
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 80, "WONK" 1;
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 500;
  letter-spacing: -0.02em;
  animation: marquee 22s linear infinite;
}
.marquee__track span { padding-right: 6px; }
.marquee__dot {
  color: var(--accent);
  font-size: 0.5em;
  transform: translateY(-0.18em);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =========================================================
   SECTIONS (common)
========================================================= */
.section {
  position: relative;
  padding: clamp(72px, 10vw, 140px) clamp(20px, 4vw, 56px);
}
.section--cream { background: var(--bg-cream); }
.section--dark { background: var(--bg-dark); color: var(--bg); }
.section--values {}

.section__head {
  display: grid;
  gap: 18px;
  max-width: 1400px;
  margin: 0 auto clamp(40px, 6vw, 72px);
}
.section__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mid);
}
.section__head--dark .section__num { color: var(--ink-mute); }

.section__title {
  font-family: var(--display);
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 40, "WONK" 0;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.022em;
  margin: 0;
  max-width: 18ch;
}
.section__title em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--ink);
  position: relative;
  padding-right: 0.08em;
}
.section--dark .section__title { color: var(--bg); }
.section--dark .section__title em { color: var(--accent); }

.section__title--xl { font-size: clamp(48px, 7vw, 96px); }

/* =========================================================
   01 — TRICK
========================================================= */
.trick__grid {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: clamp(40px, 6vw, 90px);
  max-width: 1400px;
  margin: 0 auto;
  align-items: center;
}

.prose {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 18px;
  max-width: 42ch;
}
.prose em {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
}
.prose--muted { color: var(--ink-soft); }

.trick__bullets {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  gap: 10px;
}
.trick__bullets li {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: baseline;
  gap: 12px;
  font-family: var(--mono);
  font-size: 13.5px;
  color: var(--ink-soft);
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.trick__bullets li:last-child { border-bottom: 1px solid var(--line); }
.trick__bullets span {
  font-size: 14px;
  color: var(--accent-deep);
}

/* -------- fact card stack ---------- */
.trick__cards {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 440px;
}
.factstack { position: relative; }
.factstack__shadow {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 1px solid var(--ink);
  background: var(--paper);
  z-index: -1;
}
.factstack__shadow--1 { transform: translate(10px, 14px) rotate(2deg); opacity: 0.7; }
.factstack__shadow--2 { transform: translate(20px, 28px) rotate(4deg); opacity: 0.4; }

.factcard {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 16px;
  padding: 26px 26px 22px;
  box-shadow: 0 1px 0 var(--ink);
  transition: transform .5s var(--ease-out), opacity .35s var(--ease);
  min-height: 320px;
  display: flex;
  flex-direction: column;
}
.factcard.is-leaving {
  transform: translateY(-12px) rotate(-3deg);
  opacity: 0;
}
.factcard.is-entering {
  animation: fact-in .55s var(--ease-out) both;
}
@keyframes fact-in {
  from { transform: translateY(10px) rotate(2deg); opacity: 0; }
  to   { transform: translateY(0) rotate(0); opacity: 1; }
}

.factcard__head {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mid);
  margin-bottom: 22px;
}
.factcard__tag {
  background: var(--accent);
  color: var(--ink);
  padding: 3px 8px;
  border-radius: 999px;
}

.factcard__body {
  font-family: var(--display);
  font-variation-settings: "opsz" 24, "SOFT" 40, "WONK" 0;
  font-size: 22px;
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 auto;
  letter-spacing: -0.005em;
}

.factcard__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}
.factcard__src {
  background: transparent;
  border: 0;
  padding: 4px 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-mid);
  text-transform: uppercase;
  transition: color .2s var(--ease);
}
.factcard__src:hover { color: var(--ink); }

.factcard__nav { display: flex; gap: 8px; }

.iconbtn {
  width: 36px; height: 36px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.iconbtn:hover { transform: translateY(-1px); background: var(--bg); }
.iconbtn--primary { background: var(--ink); color: var(--accent); }
.iconbtn--primary:hover { background: var(--ink); color: var(--bg); }

/* =========================================================
   02 — EVERYWHERE (tiles)
========================================================= */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.tile {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 18px;
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 320px;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.tile:hover {
  transform: translateY(-4px);
  box-shadow: 8px 8px 0 -1px var(--ink);
}
.tile--phone   { transform: rotate(-1deg); }
.tile--watch   { transform: translateY(20px) rotate(0.6deg); background: var(--accent); }
.tile--watch:hover { transform: translateY(16px) rotate(0.6deg); }
.tile--widget  { transform: rotate(-0.4deg); }

.tile__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.tile--watch .tile__icon { background: var(--paper); }

.tile__title {
  font-family: var(--display);
  font-variation-settings: "opsz" 72, "SOFT" 40, "WONK" 0;
  font-weight: 500;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
}
.tile__body {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
  max-width: 38ch;
}
.tile--watch .tile__body { color: var(--ink); }
.tile__tag {
  margin-top: auto;
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mid);
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line);
}
.tile--watch .tile__tag { background: var(--paper); border-color: var(--ink); color: var(--ink); }

/* =========================================================
   03 — CALCULATOR
========================================================= */
.calc {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 90px);
  max-width: 1400px;
  margin: 0 auto;
  align-items: start;
}

.calc__inputs {
  display: grid;
  gap: 36px;
  padding-top: 14px;
}

.slider {
  display: grid;
  gap: 10px;
}
.slider__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.slider__val {
  font-family: var(--display);
  font-variation-settings: "opsz" 72, "SOFT" 40, "WONK" 0;
  font-weight: 500;
  font-style: italic;
  font-size: 28px;
  letter-spacing: -0.01em;
  color: var(--bg);
  font-feature-settings: "tnum";
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--accent) var(--p, 35%), color-mix(in oklab, var(--bg) 22%, transparent) var(--p, 35%));
  border-radius: 2px;
  outline: none;
  margin: 6px 0;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px; height: 22px;
  background: var(--accent);
  border: 2px solid var(--bg);
  border-radius: 50%;
  cursor: grab;
  box-shadow: 0 0 0 1px var(--ink), 0 8px 18px rgba(0,0,0,.3);
  transition: transform .15s var(--ease);
}
input[type="range"]::-webkit-slider-thumb:active { transform: scale(1.12); cursor: grabbing; }
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px;
  background: var(--accent);
  border: 2px solid var(--bg);
  border-radius: 50%;
  cursor: grab;
  box-shadow: 0 0 0 1px var(--ink);
}
.slider__scale {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
}

.calc__output {
  position: relative;
  border-left: 1px dashed color-mix(in oklab, var(--bg) 18%, transparent);
  padding-left: clamp(24px, 4vw, 52px);
  display: grid;
  gap: 28px;
}

.calc__row { display: grid; gap: 6px; }
.calc__row--bigprint { gap: 4px; }
.calc__cap {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.calc__cap em {
  font-family: var(--display);
  font-style: italic;
  text-transform: none;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0;
  color: var(--bg);
}
.calc__num {
  font-family: var(--display);
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
  font-weight: 600;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--bg);
  font-feature-settings: "tnum", "lnum";
  transition: transform .35s var(--ease);
}
.calc__num--xl {
  font-size: clamp(72px, 9vw, 132px);
  color: var(--accent);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  font-style: italic;
  font-weight: 500;
}
.calc__num--md { font-size: 38px; font-weight: 500; }
.calc__row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-top: 18px;
  border-top: 1px dashed color-mix(in oklab, var(--bg) 18%, transparent);
}
.calc__fine {
  margin: 18px 0 0;
  font-size: 12.5px;
  color: var(--ink-mute);
  max-width: 50ch;
}

/* =========================================================
   04 — VALUES
========================================================= */
.values {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  max-width: 1400px;
  margin: 0 auto clamp(60px, 7vw, 100px);
  border-top: 1px solid var(--ink);
}

.values li {
  padding: 32px 24px 28px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
  background: var(--bg);
  transition: background .3s var(--ease);
}
.values li:first-child { border-left: 1px solid var(--ink); }
.values li:hover { background: var(--accent); }

.values__no {
  font-family: var(--display);
  font-style: italic;
  font-variation-settings: "opsz" 24, "SOFT" 100, "WONK" 1;
  font-size: 18px;
  color: var(--ink-mid);
}
.values h3 {
  font-family: var(--display);
  font-weight: 500;
  font-variation-settings: "opsz" 72, "SOFT" 40, "WONK" 0;
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0;
}
.values p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

.closing {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.closing__line {
  font-family: var(--display);
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 60, "WONK" 1;
  font-style: italic;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}

/* =========================================================
   FOOTER
========================================================= */
.foot {
  background: var(--bg);
  border-top: 1px solid var(--ink);
  padding: 36px clamp(20px, 4vw, 56px) 44px;
}
.foot__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  max-width: 1400px;
  margin: 0 auto 24px;
}
.foot__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-weight: 500;
  font-style: italic;
  font-variation-settings: "opsz" 24, "SOFT" 30, "WONK" 1;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.foot__brand img { border-radius: 8px; }
.foot__links {
  display: flex;
  gap: 22px;
  font-size: 14px;
  color: var(--ink-soft);
}
.foot__links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

.foot__fine {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-mid);
  padding-top: 20px;
  border-top: 1px dashed var(--line);
  align-items: center;
}
.foot__fine a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent-deep); }
.foot__sep { color: var(--ink-mute); }

/* =========================================================
   ANIMATIONS
========================================================= */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .proofcard { justify-self: start; max-width: 480px; margin-top: 16px; }
  .trick__grid { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tile--watch { transform: rotate(0.6deg); }
  .tile--watch:hover { transform: translateY(-4px) rotate(0.6deg); }
  .calc { grid-template-columns: 1fr; }
  .calc__output { border-left: 0; padding-left: 0; padding-top: 32px; border-top: 1px dashed color-mix(in oklab, var(--bg) 18%, transparent); }
  .values { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav { grid-template-columns: 1fr auto; gap: 16px; }
  .display { font-size: clamp(44px, 11vw, 72px); }
  .proofcard__num { font-size: 72px; }
  .tiles { grid-template-columns: 1fr; }
  .tile { transform: none !important; }
  .tile--watch { transform: none !important; }
  .values { grid-template-columns: 1fr; }
  .values li { border-right: 1px solid var(--ink); }
  .values li:first-child { border-left: 1px solid var(--ink); }
  .proofcard__stamp { right: -16px; bottom: -22px; transform: scale(0.85); }
  .calc__num { font-size: 44px; }
  .marquee__track { font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee__track { animation: none; }
  .proofcard__stamp { animation: none; }
}
