/* ==========================================================================
   NOETOS: site stylesheet

   Palette is the TGOI five-grey ramp and nothing else:
     #FFFFFF  #C0C0C0  #808080  #404040  #000000
   plus TGOI's dark surface ladder (#121212 / #1A1A1A / #212121 / #292929).
   Sections switch between `.dark` and `.light`; every component reads
   tokens, so it renders correctly on either ground.
   ========================================================================== */

:root {
  --mono-1: #ffffff;
  --mono-2: #c0c0c0;
  --mono-3: #808080;
  --mono-4: #404040;
  --mono-5: #000000;

  --bg: #000000;
  --surface-1: #121212;
  --surface-2: #1a1a1a;
  --surface-3: #212121;
  --line: #292929;
  --text: #ffffff;
  --text-2: #afafaf;
  --text-3: #878787;
  --dim: #808080;
  --scrub-off: #363636;

  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-display: "Archivo", "Geist", ui-sans-serif, system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  --pad: clamp(20px, 4vw, 56px);
  --gutter: clamp(16px, 2vw, 32px);
  --maxw: 1520px;
  --radius: 16px;
  --section-y: clamp(96px, 13vw, 200px);
  --nav-h: 72px;
}

.dark {
  --bg: #000000;
  --surface-1: #121212;
  --surface-2: #1a1a1a;
  --surface-3: #212121;
  --line: #292929;
  --text: #ffffff;
  --text-2: #afafaf;
  --text-3: #878787;
  --dim: #808080;
  --scrub-off: #363636;
  background: var(--bg);
  color: var(--text);
}

.light {
  --bg: #ffffff;
  --surface-1: #f5f5f5;
  --surface-2: #ededed;
  --surface-3: #e4e4e4;
  --line: #e2e2e2;
  --text: #111111;
  --text-2: #5e5e5e;
  --text-3: #8a8a8a;
  --dim: #a3a3a3;
  --scrub-off: #d6d6d6;
  background: var(--bg);
  color: var(--text);
}

/* ---------- base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: #000;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, dl, dd, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: #fff; color: #000; }
.light ::selection { background: #000; color: #fff; }

:focus-visible { outline: 1.5px solid currentColor; outline-offset: 4px; border-radius: 4px; }

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

.skip-link {
  position: fixed; left: 12px; top: -64px; z-index: 300;
  background: #fff; color: #000; padding: 10px 16px; border-radius: 999px;
  font-size: 14px; transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- layout ---------- */

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section {
  position: relative;
  padding-block: var(--section-y);
}

.section--tight { padding-block: clamp(64px, 8vw, 120px); }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
}

.section-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: start;
  margin-bottom: clamp(48px, 7vw, 112px);
}
.section-head > .label { grid-column: 1 / span 3; padding-top: 0.9em; }
.section-head > .section-head__main { grid-column: 4 / -1; }
.section-head .lead { margin-top: clamp(20px, 2.4vw, 32px); }

@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; row-gap: 20px; }
  .section-head > * { grid-column: 1 / -1 !important; }
  .section-head > .label { padding-top: 0; }
}

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

.label {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
}

.label--dot { display: inline-flex; align-items: center; gap: 10px; }
.label--dot::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
}

.h-display {
  font-weight: 400;
  font-size: clamp(2.9rem, 7.4vw, 7.75rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.h-1 {
  font-weight: 400;
  font-size: clamp(2.5rem, 5.6vw, 5.75rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.h-2 {
  font-weight: 400;
  font-size: clamp(2.1rem, 4.2vw, 4.25rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.h-3 {
  font-weight: 500;
  font-size: clamp(1.3rem, 1.9vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.028em;
}

.lead {
  font-size: clamp(1.075rem, 1.4vw, 1.35rem);
  line-height: 1.5;
  letter-spacing: -0.012em;
  color: var(--text-2);
  max-width: 46ch;
}

.body { color: var(--text-2); line-height: 1.6; }
.dim { color: var(--dim); }
.muted { color: var(--text-3); }

.display-word {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  white-space: nowrap;
}

[data-fit] { display: block; width: 100%; }
[data-fit] > span { display: inline-block; }

/* ---------- motion primitives ---------- */

.split-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.split-line > span { display: inline-block; }
.js .split-line > span {
  transform: translate3d(0, 108%, 0);
  transition: transform 1.2s var(--ease);
  transition-delay: var(--d, 0s);
}
.is-loaded .split-line > span { transform: none; }

.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition: opacity 1s var(--ease), transform 1.2s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal].is-in { opacity: 1; transform: none; }

[data-scrub] .w { color: var(--scrub-off); transition: color 0.35s linear; }
[data-scrub] .w.is-on { color: var(--text); }
[data-scrub] .dim .w.is-on { color: var(--dim); }

.link-line {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: background-size 0.45s var(--ease);
}
.link-line:hover,
.link-line:focus-visible,
.link-line[aria-current="page"] { background-size: 100% 1px; }

.arrow { display: inline-block; transition: transform 0.4s var(--ease); }
a:hover .arrow,
button:hover .arrow { transform: translate(3px, -3px); }

/* ---------- nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  color: #fff;
  mix-blend-mode: difference;
  transition: transform 0.6s var(--ease);
}
.nav.is-hidden { transform: translate3d(0, -110%, 0); }

.nav__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--nav-h);
}

/* The logo is the wordmark itself: NOETOS in Archivo Expanded Black,
   outlined to SVG so it never waits on the webfont. */
.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  line-height: 0;
}
.brand img { height: 15px; width: auto; transition: opacity 0.35s var(--ease); }
.brand:hover img { opacity: 0.7; }

.nav__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.62;
  white-space: nowrap;
}

.nav__links {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 32px);
  font-size: 14px;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s;
}
.nav__cta:hover { background: #fff; color: #000; border-color: #fff; }

.nav__toggle {
  display: none;
  justify-self: end;
  width: 44px; height: 44px;
  position: relative;
}
.nav__toggle span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor;
  transition: transform 0.5s var(--ease), top 0.5s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 18px; }
.nav__toggle span:nth-child(2) { top: 25px; }
.menu-open .nav__toggle span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.menu-open .nav__toggle span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav__inner { grid-template-columns: 1fr auto; }
  .nav__meta, .nav__links { display: none; }
  .nav__toggle { display: block; }
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: #000;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--nav-h) + 32px) var(--pad) 32px;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.8s var(--ease), visibility 0s linear 0.8s;
}
.menu.is-open {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path 0.8s var(--ease), visibility 0s;
}
.menu__links a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid #292929;
  font-size: clamp(2.2rem, 10vw, 3.5rem);
  letter-spacing: -0.05em;
  line-height: 1.05;
}
.menu__links a small { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: #878787; }
.menu__foot { display: grid; gap: 6px; color: #afafaf; font-size: 15px; }

@media (min-width: 901px) { .menu { display: none; } }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), opacity 0.3s;
}
.btn--solid { background: var(--text); color: var(--bg); }
.btn--solid:hover { opacity: 0.82; }
.btn--ghost { border: 1px solid var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 58px;
  padding: 0 22px 0 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface-1);
  color: var(--text);
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.store:hover { border-color: var(--text); }
.store svg { width: 24px; height: 24px; flex-shrink: 0; }
.store small { display: block; font-size: 11px; line-height: 1.1; color: var(--text-3); letter-spacing: 0.01em; }
.store strong { display: block; font-size: 17px; line-height: 1.2; font-weight: 500; letter-spacing: -0.02em; }

.tag {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--text-2);
  white-space: nowrap;
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- grain + glow (from the TGOI landing) ---------- */

.grain { position: relative; isolation: isolate; }
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: var(--grain-opacity, 0.35);
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

.glow {
  background-color: #070707;
  background-image:
    radial-gradient(88% 78% at 18% 12%, rgba(255, 255, 255, 0.13) 0%, transparent 62%),
    radial-gradient(78% 88% at 88% 84%, rgba(192, 192, 192, 0.09) 0%, transparent 66%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.05) 0%, #0a0a0a 72%);
}

/* ---------- home: hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: calc(var(--nav-h) + 48px);
  padding-bottom: clamp(28px, 4vw, 48px);
  overflow: hidden;
}

.hero__field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-mask-image: radial-gradient(90% 80% at 72% 30%, #000 20%, transparent 78%);
  mask-image: radial-gradient(90% 80% at 72% 30%, #000 20%, transparent 78%);
}

.hero__inner { position: relative; z-index: 1; }

.hero__top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 5vw, 64px);
}
.hero__top .label:nth-child(2) { text-align: center; }

.hero__bottom {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 32px;
  margin-top: clamp(40px, 6vw, 88px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero__intro { grid-column: 1 / span 5; }
.hero__stats {
  grid-column: 7 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.stat__num {
  font-size: clamp(1.9rem, 2.8vw, 2.75rem);
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.stat__label { margin-top: 10px; font-size: 13px; line-height: 1.35; color: var(--text-3); max-width: 16ch; }

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
}
.scroll-cue i {
  position: relative;
  width: 1px; height: 36px;
  background: var(--line);
  overflow: hidden;
}
.scroll-cue i::after {
  content: "";
  position: absolute;
  left: 0; top: -40%;
  width: 1px; height: 40%;
  background: var(--text);
  animation: cue 2.2s var(--ease-io) infinite;
}
@keyframes cue { to { top: 100%; } }

@media (max-width: 1000px) {
  .hero__intro, .hero__stats { grid-column: 1 / -1; }
  .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
}
@media (max-width: 600px) {
  .hero__top .label:nth-child(2) { display: none; }
  /* Sized so each hand-set line ("the world. We build") holds on one row. */
  .hero .h-display { font-size: min(9.4vw, 2.9rem); }
}

/* ---------- home: thesis ---------- */

.thesis__text {
  font-size: clamp(1.75rem, 3.5vw, 3.4rem);
  line-height: 1.14;
  letter-spacing: -0.038em;
}

.definition {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  margin-top: clamp(64px, 9vw, 140px);
}
.definition__card {
  grid-column: 4 / span 5;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 40px);
  background: var(--surface-1);
}
.definition__word { font-size: clamp(2.2rem, 4vw, 3.5rem); letter-spacing: -0.04em; line-height: 1; }
.definition__say { font-family: var(--font-mono); font-size: 13px; color: var(--text-3); margin-top: 10px; }
.definition__meaning { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--text-2); font-size: 1.05rem; }
.definition__meaning em { font-style: normal; color: var(--text); }

.scales {
  grid-column: 9 / -1;
  display: grid;
  align-content: end;
  gap: 0;
  border-top: 1px solid var(--line);
}
.scale {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.scale span:first-child { color: var(--text-2); }
.scale strong { font-weight: 500; letter-spacing: -0.02em; }

@media (max-width: 1000px) {
  .definition__card { grid-column: 1 / span 7; }
  .scales { grid-column: 8 / -1; }
}
@media (max-width: 760px) {
  .definition__card, .scales { grid-column: 1 / -1; }
  .scales { margin-top: 32px; }
}

/* ---------- home: products ---------- */

.products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 3vw, 48px) var(--gutter);
  align-items: start;
}
.product:nth-child(2) { margin-top: clamp(0px, 11vw, 180px); }

.product { display: block; position: relative; }

.product__media {
  display: block;
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  background: #070707;
}

.product__badge {
  position: absolute;
  z-index: 4;
  left: 16px; top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 12.5px;
}
.product__badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; }

.product__mark {
  position: absolute;
  z-index: 4;
  right: 18px; top: 18px;
  width: 30px; height: 30px;
  color: #fff;
}
.product__mark--logo { width: 40px; height: auto; }

.fan { position: absolute; inset: 0; }
.fan img {
  position: absolute;
  left: 28%;
  top: 19%;
  width: 44%;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9);
  transition: transform 1.1s var(--ease);
}
.fan img:nth-child(1) { transform: translate3d(-62%, 9%, 0) rotate(-9deg) scale(0.86); }
.fan img:nth-child(2) { z-index: 2; transform: translate3d(0, 0, 0); }
.fan img:nth-child(3) { transform: translate3d(62%, 9%, 0) rotate(9deg) scale(0.86); }
.product:hover .fan img:nth-child(1) { transform: translate3d(-76%, 6%, 0) rotate(-12deg) scale(0.86); }
.product:hover .fan img:nth-child(2) { transform: translate3d(0, -3%, 0) scale(1.03); }
.product:hover .fan img:nth-child(3) { transform: translate3d(76%, 6%, 0) rotate(12deg) scale(0.86); }

.window-shot {
  position: absolute;
  left: 12%;
  top: 20%;
  width: 118%;
  max-width: none;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.95);
  transition: transform 1.2s var(--ease);
}
.product:hover .window-shot { transform: translate3d(-4%, -3%, 0); }

.product__wordmark {
  position: absolute;
  z-index: 2;
  left: 12%;
  top: 8%;
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.9);
}

.product__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-top: 22px;
}
.product__name { font-size: clamp(1.6rem, 2.5vw, 2.4rem); letter-spacing: -0.045em; line-height: 1; font-weight: 400; }
.product__type { color: var(--text-3); font-size: 15px; text-align: right; }
.product__desc { color: var(--text-2); max-width: 50ch; margin-top: 14px; }
.product__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 20px; }
.product__cta { display: inline-flex; gap: 8px; align-items: center; font-size: 15px; }

@media (max-width: 860px) {
  .products { grid-template-columns: 1fr; }
  .product:nth-child(2) { margin-top: 0; }
}

/* ---------- rows (principles, pillars) ---------- */

.rows { border-top: 1px solid var(--line); }
.row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  padding-block: clamp(28px, 3.6vw, 52px);
  border-bottom: 1px solid var(--line);
}
.row::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--ease);
}
.row:hover::after { transform: scaleX(1); }
.row__num { grid-column: 1 / span 3; font-family: var(--font-mono); font-size: 13px; color: var(--text-3); padding-top: 0.7em; }
.row__title { grid-column: 4 / span 4; font-size: clamp(1.7rem, 2.9vw, 2.75rem); letter-spacing: -0.045em; line-height: 1.05; font-weight: 400; }
.row__body { grid-column: 8 / -1; }
.row__body strong { display: block; font-weight: 500; font-size: 1.075rem; letter-spacing: -0.015em; color: var(--text); margin-bottom: 10px; }
.row__body p { color: var(--text-2); max-width: 48ch; }

@media (max-width: 900px) {
  .row__num, .row__title, .row__body { grid-column: 1 / -1; }
  .row__num { padding-top: 0; }
  .row__title { margin: 12px 0 16px; }
}

/* ---------- numbers ---------- */

.numbers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 56px;
}
.number { border-top: 1px solid var(--line); padding-top: 24px; }
.number__value {
  font-size: clamp(3.25rem, 7.2vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.065em;
  font-variant-numeric: tabular-nums;
}
.number__label { margin-top: 18px; color: var(--text); font-size: 1.05rem; letter-spacing: -0.015em; max-width: 22ch; }
.number__foot { margin-top: 8px; }

@media (max-width: 900px) { .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- log ---------- */

.log { border-top: 1px solid var(--line); }
.log li {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: baseline;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
}
.log time { grid-column: 1 / span 3; }
.log .log__product { grid-column: 4 / span 2; }
.log .log__text { grid-column: 6 / -1; font-size: clamp(1.1rem, 1.6vw, 1.45rem); letter-spacing: -0.025em; line-height: 1.3; }
.log .log__text span { color: var(--text-3); }

@media (max-width: 760px) {
  .log li { grid-template-columns: auto 1fr; row-gap: 8px; }
  .log time { grid-column: 1; }
  .log .log__product { grid-column: 2; justify-self: end; }
  .log .log__text { grid-column: 1 / -1; }
}

/* ---------- contact ---------- */

.contact { min-height: 72svh; display: flex; flex-direction: column; justify-content: space-between; }

.contact__email {
  position: relative;
  display: inline-block;
  margin-top: clamp(40px, 6vw, 88px);
  font-size: clamp(2.4rem, 8.6vw, 9.5rem);
  line-height: 1;
  letter-spacing: -0.06em;
  word-break: break-word;
}
.contact__email::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -0.06em;
  height: max(2px, 0.03em);
  background: currentColor;
  transform: scaleX(0.18);
  transform-origin: left;
  transition: transform 1s var(--ease);
}
.contact__email:hover::after { transform: scaleX(1); }

.contact__copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  transition: color 0.3s;
}
.contact__copy:hover { color: var(--text); }

.contact__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 32px;
  margin-top: clamp(64px, 8vw, 120px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.contact__grid dt { margin-bottom: 12px; }
.contact__grid dd { color: var(--text); line-height: 1.7; }
.contact__grid dd a { color: var(--text); }

@media (max-width: 900px) { .contact__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .contact__grid { grid-template-columns: 1fr; } }

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

.footer { padding-top: clamp(64px, 8vw, 120px); overflow: hidden; border-top: 1px solid var(--line); }

.footer__cols {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 40px;
}
.footer__about { grid-column: 1 / span 4; }
.footer__about p { color: var(--text-2); margin-top: 18px; max-width: 34ch; }
.footer__col { grid-column: span 2; }
.footer__col:first-of-type { grid-column: 7 / span 2; }
.footer__col h2 { margin-bottom: 16px; }
.footer__col a { display: block; width: max-content; padding: 4px 0; color: var(--text-2); transition: color 0.3s; }
.footer__col a:hover { color: var(--text); }

.footer__about .brand img { height: 22px; }

.footer__word {
  width: 100%;
  height: auto;
  margin-block: clamp(56px, 8vw, 120px) clamp(20px, 2.4vw, 36px);
  user-select: none;
  pointer-events: none;
}

.text-gradient > span {
  color: transparent;
  background: linear-gradient(180deg, #f5f5f5 0%, #4a4a4a 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 20px 28px;
  border-top: 1px solid var(--line);
}
.footer__bottom a:hover { color: var(--text); }

@media (max-width: 900px) {
  .footer__about { grid-column: 1 / -1; }
  .footer__col, .footer__col:first-of-type { grid-column: span 4; }
}
@media (max-width: 560px) {
  .footer__col, .footer__col:first-of-type { grid-column: span 6; }
}

/* ---------- cursor ---------- */

.cursor {
  position: fixed;
  left: 0; top: 0;
  z-index: 150;
  pointer-events: none;
  will-change: transform;
}
.cursor__disc {
  display: grid;
  place-items: center;
  width: 92px; height: 92px;
  margin: -46px 0 0 -46px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transform: scale(0);
  transition: transform 0.5s var(--ease);
}
.cursor.is-active .cursor__disc { transform: scale(1); }

/* ---------- product pages: hero ---------- */

.phero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(40px, 7vw, 96px));
  padding-bottom: clamp(48px, 6vw, 88px);
  overflow: hidden;
}

.crumbs { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.crumbs a:hover { color: var(--text); }

.phero__word { margin-block: clamp(28px, 4vw, 56px) clamp(32px, 5vw, 72px); }

.phero__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 36px;
  align-items: end;
}
.phero__intro { grid-column: 1 / span 6; }
.phero__intro .h-2 { max-width: 16ch; }
.phero__intro .lead { margin-top: 24px; }
.phero__actions { grid-column: 8 / -1; justify-self: end; display: grid; gap: 16px; justify-items: end; }

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 24px;
  margin-top: clamp(48px, 6vw, 88px);
  border-top: 1px solid var(--line);
}
.facts > div { padding-top: 18px; }
.facts dt { margin-bottom: 8px; }
.facts dd { font-size: clamp(1.15rem, 1.6vw, 1.5rem); letter-spacing: -0.03em; }

@media (max-width: 900px) {
  .phero__intro, .phero__actions { grid-column: 1 / -1; }
  .phero__actions { justify-self: start; justify-items: start; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.app-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #000;
  overflow: hidden;
}

/* MANTRA logo lockups: the mark is a traced SVG, so it stays crisp at any size. */
.lockup { display: flex; align-items: center; gap: 14px; }
.lockup .app-icon { display: grid; place-items: center; flex-shrink: 0; }
.lockup .app-icon img { width: 72%; height: auto; }
.lockup__text strong { display: block; font-weight: 500; font-size: 1.05rem; letter-spacing: -0.02em; line-height: 1.2; }
.lockup__text .label { display: block; margin-top: 3px; }

.download__mark {
  width: clamp(88px, 10vw, 140px);
  height: auto;
  margin-bottom: clamp(32px, 4vw, 56px);
}

/* ---------- drift gallery ---------- */

.drift { overflow: hidden; }
.drift__track {
  display: flex;
  gap: clamp(12px, 1.4vw, 22px);
  width: max-content;
  padding-inline: var(--pad);
  will-change: transform;
}
.drift__item {
  flex-shrink: 0;
  height: clamp(420px, 52vw, 720px);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-1);
  border: 1px solid var(--line);
}
.drift__item img { height: 100%; width: auto; max-width: none; }
.drift__cap { display: flex; justify-content: space-between; margin-top: 14px; padding-inline: 2px; }

@media (prefers-reduced-motion: reduce) {
  .drift { overflow-x: auto; }
}

/* ---------- cards in columns ---------- */

.cols-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 40px;
}
.col-card { border-top: 1px solid var(--line); padding-top: 22px; }
.col-card .h-3 { margin: 16px 0 12px; }
.col-card p { color: var(--text-2); max-width: 40ch; }

@media (max-width: 860px) { .cols-3 { grid-template-columns: 1fr; } }

.statement {
  margin-top: clamp(64px, 9vw, 140px);
  font-size: clamp(2rem, 4.6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  max-width: 20ch;
}

/* ---------- companions (MANTRA) ---------- */

.companion {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 40px;
  align-items: center;
}
.companion + .companion { margin-top: clamp(96px, 12vw, 180px); }
.companion__media {
  grid-column: 1 / span 5;
  position: relative;
  aspect-ratio: 864 / 1180;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #050505;
}
.companion__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 100%; transition: transform 1.4s var(--ease); }
.companion__media:hover img { transform: scale(1.03); }
.companion__text { grid-column: 7 / -1; }
.companion--flip .companion__media { grid-column: 8 / -1; grid-row: 1; }
.companion--flip .companion__text { grid-column: 1 / span 6; grid-row: 1; }

.companion__name { margin: 18px 0 10px; }
.companion__role { font-size: clamp(1.4rem, 2.2vw, 2rem); letter-spacing: -0.035em; line-height: 1.15; }
.companion__role span { color: var(--dim); }
.companion__text > p.body { margin-top: 24px; max-width: 46ch; font-size: 1.05rem; }

.quote {
  margin-top: 36px;
  padding-left: 22px;
  border-left: 1px solid var(--text);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  line-height: 1.35;
  letter-spacing: -0.025em;
  max-width: 34ch;
}
.quote cite { display: block; margin-top: 12px; font-style: normal; }

@media (max-width: 860px) {
  .companion__media, .companion__text,
  .companion--flip .companion__media, .companion--flip .companion__text { grid-column: 1 / -1; grid-row: auto; }
  .companion__media { max-width: 440px; }
}

/* ---------- tabs + fade panels (Decode phone, TGOI switcher) ---------- */

.tabbed {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 48px;
  align-items: center;
}
.tabbed__list { grid-column: 1 / span 5; border-top: 1px solid var(--line); }
.tabbed__stage { grid-column: 7 / -1; position: relative; }
.tabbed--sticky { align-items: start; }
.tabbed--sticky .tabbed__stage { position: sticky; top: calc(var(--nav-h) + 24px); }

.tab {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  width: 100%;
  padding-block: 22px;
  text-align: left;
  color: var(--text-3);
  border-bottom: 1px solid var(--line);
  transition: color 0.35s var(--ease);
}
.tab:hover { color: var(--text-2); }
.tab[aria-selected="true"] { color: var(--text); }
.tab__n { font-family: var(--font-mono); font-size: 12px; padding-top: 0.55em; }
.tab__t { font-size: clamp(1.3rem, 2vw, 1.8rem); letter-spacing: -0.035em; line-height: 1.15; }
.tab__d {
  grid-column: 2;
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.6s var(--ease), opacity 0.45s var(--ease);
}
.tab__d > span { overflow: hidden; }
.tab__d > span > span { display: block; padding-top: 10px; color: var(--text-2); font-size: 15px; line-height: 1.55; max-width: 44ch; }
.tab[aria-selected="true"] .tab__d { grid-template-rows: 1fr; opacity: 1; }
.tab::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left;
}
.tab[aria-selected="true"]::after { transform: scaleX(1); }
.is-cycling .tab[aria-selected="true"]::after { animation: tab-progress var(--auto, 6000ms) linear both; }
@keyframes tab-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.fade-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 12px, 0);
  transition: opacity 0.55s var(--ease), transform 0.7s var(--ease), visibility 0s linear 0.55s;
}
.fade-panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.55s var(--ease), transform 0.7s var(--ease), visibility 0s;
}

@media (max-width: 900px) {
  .tabbed__list, .tabbed__stage { grid-column: 1 / -1; }
  .tabbed__stage { grid-row: 1; }
  .tabbed--sticky .tabbed__stage { position: relative; top: 0; }
}

/* ---------- phone mockup (MANTRA Decode, rebuilt in HTML) ---------- */

.phone {
  position: relative;
  width: min(350px, 86vw);
  aspect-ratio: 350 / 720;
  margin-inline: auto;
  padding: 11px;
  border-radius: 54px;
  background: linear-gradient(160deg, #2e2e2e 0%, #0b0b0b 38%, #161616 100%);
  box-shadow: inset 0 0 0 1px #3a3a3a, 0 70px 140px -60px rgba(255, 255, 255, 0.2), 0 30px 60px -30px #000;
}
.phone__screen {
  position: relative;
  height: 100%;
  border-radius: 44px;
  overflow: hidden;
  background: #060606;
  color: #fff;
  font-size: 12px;
  line-height: 1.35;
  display: flex;
  flex-direction: column;
}
.phone__island {
  position: absolute; z-index: 5;
  top: 11px; left: 50%;
  width: 98px; height: 28px; margin-left: -49px;
  border-radius: 20px; background: #000;
}
.phone__status {
  display: flex; justify-content: space-between; align-items: center;
  height: 48px; padding: 6px 30px 0;
  font-size: 12px; font-weight: 600;
}
.phone__status svg { width: 42px; height: 12px; }

.app-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 16px 4px; }
.app-bar__menu { width: 16px; display: grid; gap: 4px; }
.app-bar__menu i { display: block; height: 1.5px; background: #fff; border-radius: 2px; }
.app-bar__title { font-family: var(--font-display); font-stretch: 110%; font-variation-settings: "wdth" 110; font-weight: 800; letter-spacing: 0.12em; font-size: 12px; }
.app-bar__sub { font-size: 9.5px; color: #8a8a8a; margin-top: 1px; }
.mirror-pill {
  display: flex; align-items: center; gap: 6px;
  padding: 4px 10px 4px 4px;
  border: 1px solid #262626; border-radius: 999px; background: #0f0f0f;
  font-size: 9.5px; line-height: 1.15;
}
.mirror-pill i { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #d9d9d9, #404040 70%); flex-shrink: 0; }
.mirror-pill small { display: block; color: #7a7a7a; font-size: 8px; }

.seg { display: flex; margin: 8px auto 2px; padding: 3px; border: 1px solid #222; border-radius: 999px; background: #0c0c0c; }
.seg span { padding: 5px 18px; border-radius: 999px; font-size: 11px; color: #777; }
.seg .on { background: #fff; color: #000; font-weight: 600; }

.app-tabs { display: grid; grid-template-columns: repeat(4, 1fr); margin: 6px 12px 0; border-bottom: 1px solid #1c1c1c; }
.app-tabs button { position: relative; padding: 9px 0 10px; font-size: 11px; color: #666; transition: color 0.3s; }
.app-tabs button.is-active { color: #fff; }
.app-tabs button::after {
  content: ""; position: absolute; left: 20%; right: 20%; bottom: -1px; height: 2px;
  border-radius: 2px; background: #fff; transform: scaleX(0); transition: transform 0.45s var(--ease);
}
.app-tabs button.is-active::after { transform: scaleX(1); }

.phone__body { position: relative; flex: 1; }
.screen { padding: 12px 12px 16px; display: flex; flex-direction: column; gap: 8px; }

.ui-card { border: 1px solid #1d1d1d; background: #0d0d0d; border-radius: 14px; padding: 11px 12px; }
.ui-eyebrow { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #8a8a8a; }
.ui-title { font-size: 14.5px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; margin-top: 4px; }
.ui-title--lg { font-size: 19px; line-height: 1.12; letter-spacing: -0.035em; }
.ui-sub { color: #8a8a8a; font-size: 10.5px; margin-top: 3px; }
.ui-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ui-3 .ui-card { padding: 9px 6px 10px; text-align: center; }
.ui-mood { font-size: 12.5px; font-weight: 500; margin-top: 2px; }
.ui-ring { width: 44px; height: 44px; margin: 7px auto 6px; transform: rotate(-90deg); }
.ui-ring circle { fill: none; stroke-width: 3.5; }
.ui-ring .track { stroke: #222; }
.ui-ring .val { stroke: #fff; stroke-linecap: round; }
.ui-pct { font-family: var(--font-mono); font-size: 10px; color: #bdbdbd; }
.ui-note { font-size: 9px; color: #7a7a7a; line-height: 1.3; margin-top: 4px; }
.ui-row { display: flex; gap: 10px; align-items: center; }
.ui-dot { width: 30px; height: 30px; border-radius: 50%; border: 1px solid #2a2a2a; display: grid; place-items: center; flex-shrink: 0; }
.ui-dot svg { width: 14px; height: 14px; }
.ui-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.ui-chip { border: 1px solid #262626; border-radius: 999px; padding: 4px 9px; font-size: 10px; color: #cfcfcf; }
.ui-btn { display: flex; justify-content: space-between; align-items: center; background: #fff; color: #000; border-radius: 12px; padding: 11px 13px; font-weight: 600; font-size: 12px; }
.ui-bar { height: 4px; border-radius: 4px; background: #1f1f1f; overflow: hidden; margin-top: 6px; }
.ui-bar i { display: block; height: 100%; width: var(--v); background: #fff; border-radius: 4px; }
.ui-line { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; padding: 8px 0; border-top: 1px solid #1a1a1a; font-size: 10.5px; }
.ui-line:first-of-type { border-top: 0; }
.ui-line b { font-family: var(--font-mono); font-weight: 400; font-size: 10px; color: #d0d0d0; white-space: nowrap; }
.ui-line small { display: block; color: #6f6f6f; font-size: 9px; margin-top: 2px; }
.ui-check { width: 12px; height: 12px; border-radius: 3px; background: #fff; flex-shrink: 0; margin-top: 1px; position: relative; }
.ui-check::after { content: ""; position: absolute; left: 4px; top: 1.5px; width: 3px; height: 6px; border: solid #000; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.ui-big-ring { position: relative; width: 78px; height: 78px; flex-shrink: 0; }
.ui-big-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ui-big-ring circle { fill: none; stroke-width: 5; }
.ui-big-ring .track { stroke: #202020; }
.ui-big-ring .val { stroke: #fff; stroke-linecap: round; }
.ui-big-ring span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 22px; letter-spacing: -0.04em; }
.ui-bars { display: flex; align-items: flex-end; gap: 4px; height: 58px; margin-top: 10px; }
.ui-bars i { flex: 1; height: var(--h); background: linear-gradient(180deg, #fff, #404040); border-radius: 3px 3px 1px 1px; opacity: 0.9; }
.ui-bars-axis { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 8px; color: #666; margin-top: 5px; }
.ui-pill { display: inline-flex; align-items: center; gap: 5px; border: 1px solid #2a2a2a; border-radius: 999px; padding: 3px 8px; font-size: 9.5px; color: #cfcfcf; }

/* ---------- features grid (MANTRA) ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.feature {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  min-height: 280px;
  padding: clamp(20px, 2.2vw, 32px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.5s var(--ease);
}
.feature:hover { background: var(--surface-1); }
.feature__top { display: flex; justify-content: space-between; align-items: flex-start; }
.feature__icon { width: 28px; height: 28px; color: var(--text); }
.feature__t { font-size: 1.3rem; letter-spacing: -0.03em; font-weight: 500; line-height: 1.2; }
.feature__b { color: var(--text-2); font-size: 15px; margin-top: 10px; }

@media (max-width: 1100px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } .feature { min-height: 0; } }

/* ---------- refusals (MANTRA) ---------- */

.nots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--gutter);
}
.not { padding-block: 28px 32px; border-top: 1px solid var(--line); }
.not__t { font-size: clamp(1.8rem, 3.2vw, 3rem); letter-spacing: -0.05em; line-height: 1; }
.not__t s { text-decoration-thickness: 1px; text-decoration-color: var(--text-3); }
.not__b { color: var(--text-2); margin-top: 14px; max-width: 32ch; }

@media (max-width: 860px) { .nots { grid-template-columns: 1fr; } }

.philosophy { margin-top: clamp(80px, 11vw, 160px); display: grid; gap: clamp(28px, 3vw, 44px); }
.philosophy p {
  font-size: clamp(1.8rem, 4vw, 3.9rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

/* ---------- TGOI page ---------- */

.shot-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.shot-frame img { width: 100%; height: auto; }

.phero__shot { margin-top: clamp(48px, 7vw, 104px); }

/* The window crops differ slightly in aspect ratio, so they are contained,
   never covered: a covered crop loses the sidebar edge. */
.stage {
  position: relative;
  aspect-ratio: 1120 / 920;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.stage .fade-panel { padding: clamp(12px, 2vw, 26px); }
.stage .fade-panel img { width: 100%; height: 100%; object-fit: contain; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 40px;
}
.step { border-top: 1px solid var(--line); padding-top: 22px; }
.step .h-3 { margin: 18px 0 12px; }
.step p { color: var(--text-2); }

@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.receipt {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: clamp(40px, 5vw, 64px);
  padding: 12px 16px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-2);
}
.receipt b { font-weight: 400; color: var(--text); }
.receipt i { width: 3px; height: 3px; border-radius: 50%; background: var(--text-3); }

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gutter);
}
.plan {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3.2vw, 48px);
  border: 1px solid var(--line);
  border-radius: 22px;
}
.plan__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan__price { margin-top: clamp(28px, 4vw, 56px); font-size: clamp(3.6rem, 6.4vw, 6rem); line-height: 1; letter-spacing: -0.065em; }
.plan__cadence { margin-top: 10px; color: var(--text-2); }
.plan__tag { margin-top: 22px; color: var(--text-2); max-width: 38ch; }
.plan ul { margin: 32px 0 40px; border-top: 1px solid var(--line); }
.plan li { display: flex; align-items: center; gap: 14px; padding-block: 13px; border-bottom: 1px solid var(--line); }
.plan li::before { content: ""; width: 14px; height: 1px; background: currentColor; flex-shrink: 0; }
.plan .btn { margin-top: auto; align-self: flex-start; }

@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding-block: 26px;
  list-style: none;
  cursor: pointer;
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  letter-spacing: -0.03em;
  line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { position: relative; width: 16px; height: 16px; margin-top: 0.4em; flex-shrink: 0; }
.faq .plus::before, .faq .plus::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -0.75px;
  background: currentColor; transition: transform 0.5s var(--ease);
}
.faq .plus::after { transform: rotate(90deg); }
.faq details[open] .plus::after { transform: rotate(0deg); }
.faq .answer { max-width: 64ch; padding-bottom: 30px; color: var(--text-2); font-size: 1.05rem; line-height: 1.6; }

@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content {
    height: 0;
    overflow: clip;
    transition: height 0.55s var(--ease), content-visibility 0.55s allow-discrete;
  }
  .faq details[open]::details-content { height: auto; }
}

/* ---------- CTA band ---------- */

.cta__actions { margin-top: clamp(36px, 4vw, 56px); }
.cta__note { margin-top: 28px; }

/* ---------- 404 ---------- */

.notfound {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: calc(var(--nav-h) + 24px) var(--pad) 48px;
}
.notfound .lead { margin: 24px auto 36px; }
.notfound .actions { justify-content: center; }

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .split-line > span,
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .scroll-cue i::after { animation: none; }
  .is-cycling .tab[aria-selected="true"]::after { animation: none; }
  .fan img, .window-shot, .companion__media img, .row::after { transition: none; }
}
