/* WizeLift — site styles. Black and white; teal appears only inside data (the app's own colour), never as decoration. */
:root {
  --bg: #000;
  --bg-2: #080808;
  --surface: #0f0f0f;
  --surface-2: #161616;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #fff;
  --text-2: #b4b4b4;
  --muted: #7c7c7c;
  --teal: #23ebc6;
  --teal-2: #15c4a6;
  --teal-ink: #04201c;
  --teal-glow: rgba(35, 235, 198, 0.18);
  --red: #ef4343;
  --amber: #fbbf24;
  --green: #34d399;
  --chalk: #f4f3ef;
  --chalk-ink: #111414;
  --radius: 12px;      /* cards */
  --radius-sm: 8px;    /* inputs, thumbs */
  --radius-xs: 6px;    /* tags, badges */
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --f-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, sans-serif;
  --f-mono: "Barlow Semi Condensed", "Barlow", system-ui, sans-serif;   /* labels + numbers: DIN-like */
  --f-num: "Barlow Semi Condensed", "Barlow", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--teal); color: var(--teal-ink); }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 11vw, 140px) 0; position: relative; }
.section.tight { padding: clamp(48px, 7vw, 88px) 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.chalk { background: var(--chalk); color: var(--chalk-ink); color-scheme: light; }
.section.chalk .muted, .section.chalk .lede { color: #5a6363; }
.section.chalk .eyebrow { color: #0b9885; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); margin: 0; letter-spacing: -0.025em; line-height: 1.02; font-weight: 600; }
h1 { font-size: clamp(44px, 6.6vw, 92px); letter-spacing: -0.04em; line-height: .98; }
h2 { font-size: clamp(34px, 4.8vw, 64px); letter-spacing: -0.035em; }
h3 { font-size: clamp(20px, 1.9vw, 24px); letter-spacing: -0.015em; line-height: 1.2; }
h4 { font-size: 16px; letter-spacing: -0.005em; line-height: 1.3; }
p { margin: 0; }
.eyebrow {
  font: 600 13px/1 var(--f-mono); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); display: inline-flex; align-items: center; gap: 10px;
}
.lede { font-size: clamp(17px, 1.45vw, 19px); color: var(--text-2); line-height: 1.55; max-width: 52ch; }
.muted { color: var(--muted); }
.teal { color: var(--teal); }
.mono { font-family: var(--f-mono); }
.num { font-family: var(--f-num); font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); }
.head.center { text-align: center; justify-items: center; }
.head.center .lede { margin: 0 auto; }
.small { font-size: 14px; }
.xs { font-size: 12px; }

/* ---------- buttons ---------- */
.btn {
  --b: #fff; --c: #000;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 30px; border-radius: 999px; border: 1px solid var(--b);
  background: var(--b); color: var(--c); font: 600 13px/1 var(--f-body); letter-spacing: 0.1em; text-transform: uppercase;
  transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: #dcdcdc; border-color: #dcdcdc; }
.btn:active { transform: scale(.98); }
.btn.ghost { --b: transparent; --c: var(--text); border-color: rgba(255,255,255,.35); }
.btn.ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn.dark { --b: var(--chalk-ink); --c: #fff; }
.btn.sm { height: 40px; padding: 0 20px; font-size: 12px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn svg { width: 18px; height: 18px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font: 600 13px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; }
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- announcement + nav ---------- */
.announce {
  background: #000; color: var(--text-2); text-align: center; border-bottom: 1px solid var(--line);
  font: 500 12.5px/1.3 var(--f-body); padding: 9px var(--gutter); letter-spacing: .01em;
}
.announce b { color: var(--text); font-weight: 600; }
.announce a { text-decoration: underline; text-underline-offset: 2px; }
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, 0.78); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; height: 68px; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 900; font-stretch: 125%; font-size: 22px; letter-spacing: 0.02em; }
.logo .logo-word { height: 26px; width: auto; }
.products.two, .plans.two { grid-template-columns: repeat(2, 1fr); max-width: 920px; margin: 0 auto; }
@media (max-width: 640px) { .products.two, .plans.two { grid-template-columns: 1fr; } }
.nav-links { display: flex; gap: 26px; margin-left: 12px; }
.nav-links a { font: 500 13px/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 999px; display: grid; place-items: center; position: relative;
  background: transparent; border: 1px solid transparent; transition: background .2s, border-color .2s;
}
.icon-btn:hover { background: rgba(255,255,255,.06); border-color: var(--line); }
.icon-btn svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: #fff; color: #000; font: 700 11px/18px var(--f-body); text-align: center;
  transform: scale(0); transition: transform .25s var(--ease);
}
.cart-count.on { transform: scale(1); }
.cart-count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 50% { transform: scale(1.35); } }
.lang {
  height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent;
  font: 600 12px/1 var(--f-mono); letter-spacing: .08em; color: var(--text-2);
}
.lang:hover { color: var(--text); border-color: var(--text-2); }
.nav .btn { height: 40px; padding: 0 18px; font-size: 14px; }
.burger { display: none; }
.mobile-menu {
  position: fixed; inset: 68px 0 0; z-index: 49; background: var(--bg); padding: 24px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 4px; transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s var(--ease); overflow-y: auto;
}
.mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu a:not(.btn) { font: 600 30px/1.2 var(--f-display); padding: 14px 0; border-bottom: 1px solid var(--line); letter-spacing: -0.02em; }
.mobile-menu .btn { margin-top: 24px; }
.mobile-menu .social-row { margin-top: auto; padding-top: 32px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 9vw, 120px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 120%;
  background: none;
  pointer-events: none;
}
.grid-bg {
  display: none;
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 26px; }
.hero h1 .line { display: block; }
.hero h1 em { font-style: normal; color: var(--text-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 10px; color: var(--muted); font-size: 14px; }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 16px; height: 16px; color: var(--teal); }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 560px; }

/* ---------- phone mock ---------- */
.phone {
  --w: 300px;
  width: var(--w); aspect-ratio: 390 / 844; border-radius: calc(var(--w) * .15);
  background: #000; padding: calc(var(--w) * .035); position: relative;
  box-shadow: 0 0 0 1.5px #2c2c2c, 0 0 0 6px #111, 0 50px 100px -30px rgba(0,0,0,.9);
}
.phone::after {
  content: ""; position: absolute; top: calc(var(--w) * .055); left: 50%; transform: translateX(-50%);
  width: 30%; height: calc(var(--w) * .085); background: #000; border-radius: 999px; z-index: 3;
}
.screen {
  width: 100%; height: 100%; border-radius: calc(var(--w) * .12); overflow: hidden; background: #0d0d0d;
  position: relative; display: flex; flex-direction: column; font-family: var(--f-body); color: #fafafa;
  font-size: calc(var(--w) * .04);
}
.app-top { padding: 16% 7% 3%; display: flex; align-items: center; justify-content: center; position: relative; font-weight: 700; font-size: 1.15em; }
.app-top .back { position: absolute; left: 7%; opacity: .9; }
.app-pill {
  margin: 1% auto 0; padding: .55em 1.4em; border-radius: 999px; background: #203c38; border: 1px solid #2c5a53;
  color: #75f0df; font: 700 .72em/1 var(--f-body); letter-spacing: .14em; display: inline-flex; align-items: center; gap: .6em;
}
.app-pill i { width: .55em; height: .55em; border-radius: 99px; background: #23ebc6; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.app-card { margin: 5% 5% 0; background: #141414; border: 1px solid #262626; border-radius: 1.3em; padding: 6% 5% 5%; display: flex; flex-direction: column; flex: 1; min-height: 0; }
.app-big { text-align: center; font: 800 3.4em/1 var(--f-display); font-stretch: 105%; color: #23ebc6; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; transition: color .3s; }
.app-big.warn { color: var(--amber); } .app-big.stop { color: var(--red); }
.app-lbl { text-align: center; font: 700 .62em/1 var(--f-body); letter-spacing: .14em; color: #a6a6a6; margin-top: .7em; }
.app-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5em; margin-top: 7%; }
.app-stat { border: 1px solid #262626; border-radius: .8em; padding: .7em .3em; text-align: center; }
.app-stat b { display: block; font: 800 1.05em/1.1 var(--f-body); }
.app-stat small { font: 700 .5em/1 var(--f-body); letter-spacing: .12em; color: #a6a6a6; }
.app-bars { margin-top: 7%; flex: 1; border: 1px solid #262626; border-radius: .9em; padding: 1.4em 5% 1.5em; display: flex; align-items: flex-end; gap: 5%; position: relative; min-height: 0; }
.app-bars .cut { position: absolute; left: 4%; right: 4%; border-top: 1px dashed rgba(239,67,67,.8); }
.app-bars .cut::before { content: "STOP"; position: absolute; left: 0; top: -1.3em; font: 700 .48em/1 var(--f-body); letter-spacing: .1em; color: #ef4343; }
.app-bar { flex: 1; background: #15c4a6; border-radius: .35em .35em .15em .15em; height: 0; transition: height .6s var(--ease), background .3s; position: relative; }
.app-bar.warn { background: var(--amber); } .app-bar.stop { background: var(--red); }
.app-bar span { position: absolute; bottom: -1.5em; left: 0; right: 0; text-align: center; font: 600 .5em/1 var(--f-body); color: #737373; }
.app-foot { padding: 5% 5% 9%; display: grid; gap: .5em; }
.app-btn { height: 2.6em; border-radius: .7em; display: grid; place-items: center; font: 700 .72em/1 var(--f-body); letter-spacing: .06em; border: 1px solid #333; }
.app-btn.red { background: #7c1d1d; border-color: #7c1d1d; }

.float-chip {
  position: absolute; background: rgba(17,21,22,.86); border: 1px solid var(--line-2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: 14px; padding: 12px 14px; display: flex; gap: 12px; align-items: center; box-shadow: 0 20px 40px -20px #000;
  animation: floaty 6s ease-in-out infinite; z-index: 2;
}
.float-chip .ic { width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.08); color: var(--text); display: grid; place-items: center; flex: none; }
.float-chip .ic svg { width: 18px; height: 18px; }
.float-chip b { display: block; font-size: 14px; line-height: 1.2; }
.float-chip small { color: var(--muted); font-size: 12px; }
.float-chip.c1 { top: 12%; left: -2%; }
.float-chip.c2 { bottom: 16%; right: -4%; animation-delay: -3s; }
.float-chip.c3 { bottom: 4%; left: 4%; animation-delay: -1.5s; }
@keyframes floaty { 50% { transform: translateY(-8px); } }

/* ---------- marquee / strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.strip .wrap { display: grid; grid-template-columns: repeat(5, 1fr); }
.strip-item { padding: 26px 18px; border-left: 1px solid var(--line); display: grid; gap: 4px; }
.strip-item:first-child { border-left: 0; }
.strip-item .num { font-size: clamp(26px, 3vw, 36px); color: var(--text); }
.strip-item .num small { font-size: .5em; color: var(--muted); font-weight: 600; margin-left: 4px; letter-spacing: 0; }
.strip-item span { color: var(--muted); font-size: 13px; }

/* ---------- generic grids / cards ---------- */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.4vw, 32px);
  position: relative; overflow: hidden; transition: border-color .3s, transform .3s var(--ease);
}
.card:hover { border-color: var(--line-2); }
.card .ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.06); color: var(--text); display: grid; place-items: center; margin-bottom: 22px; }
.card .ic svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-2); font-size: 15.5px; }
.section.chalk .card { background: #fff; border-color: rgba(0,0,0,.08); }
.section.chalk .card p { color: #4d5656; }
.section.chalk .card .ic { background: rgba(11,152,133,.1); color: #0b9885; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding-top: 28px; border-top: 1px solid var(--line-2); }
.step::before { counter-increment: s; content: "0" counter(s); font: 600 13px/1 var(--f-mono); color: var(--muted); letter-spacing: .12em; position: absolute; top: -7px; background: var(--bg); padding-right: 12px; }
.section.alt .step::before { background: var(--bg-2); }
.step h3 { margin: 18px 0 10px; }
.step p { color: var(--text-2); }
.step-visual { aspect-ratio: 4/3; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; position: relative; }
.step-visual img { width: 100%; height: 100%; object-fit: cover; }

/* split feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split.rev > :first-child { order: 2; }
.split-copy { display: grid; gap: 22px; }
.ticks { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--text-2); }
.ticks li::before { content: ""; width: 22px; height: 22px; border-radius: 99px; background: rgba(255,255,255,.08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; margin-top: 1px; }
.ticks li b { color: var(--text); font-weight: 600; }
.section.chalk .ticks li { color: #3e4747; }
.section.chalk .ticks li b { color: var(--chalk-ink); }
.section.chalk .ticks li::before { background-color: rgba(11,152,133,.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b9885' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.media-frame { border-radius: calc(var(--radius) + 6px); overflow: hidden; border: 1px solid var(--line); background: var(--surface); position: relative; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame .tag { position: absolute; left: 14px; bottom: 14px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: var(--radius-xs);
  font: 600 11.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase;
  background: rgba(0,0,0,.6); border: 1px solid var(--line-2); color: var(--text-2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.tag.teal { background: rgba(0,0,0,.6); border-color: var(--line-2); color: var(--text); }
.tag.solid { background: #fff; color: #000; border-color: #fff; }

/* metric tiles */
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.metric { background: var(--surface); padding: 28px; display: grid; gap: 10px; align-content: start; min-height: 190px; }
.metric .num { font-size: 44px; color: var(--text); }
.metric .num small { font-size: 16px; color: var(--muted); font-weight: 600; letter-spacing: 0; margin-left: 4px; }
.metric h4 { font-size: 16px; }
.metric p { color: var(--muted); font-size: 14.5px; }

/* comparison */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); -webkit-overflow-scrolling: touch; }
.compare th, .compare td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.compare thead th { font: 600 12px/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td:first-child { color: var(--text-2); }
.compare .us { background: rgba(255,255,255,.05); color: var(--text); font-weight: 600; }
.compare thead .us { color: var(--text); }
.yes, .compare .us.yes { color: var(--text); } .no { color: #555; }

/* products */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .3s, transform .35s var(--ease);
}
.product:hover { border-color: var(--line-2); transform: translateY(-3px); }
.product.featured { border-color: var(--line-2); }
.product-media { aspect-ratio: 4/3; background: #0b0b0b; position: relative; display: grid; place-items: center; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product:hover .product-media img { transform: scale(1.04); }
.product-media .tag { position: absolute; top: 14px; left: 14px; }
.product-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-body h3 { font-size: 22px; }
.product-body p { color: var(--text-2); font-size: 15px; }
.product-body ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 7px; font-size: 14px; color: var(--text-2); }
.product-body ul li { display: flex; gap: 10px; }
.product-body ul li::before { content: "·"; color: var(--muted); }
.price-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; }
.price { font: 600 32px/1 var(--f-num); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.price s { font-size: 16px; color: var(--muted); font-weight: 500; margin-left: 6px; }
.price small { display: block; font: 500 12px/1.4 var(--f-body); color: var(--muted); letter-spacing: 0; margin-top: 6px; }

/* gyms */
.gym-hero-media { position: relative; }
.nfc-demo { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.station {
  aspect-ratio: 1; max-width: 300px; width: 100%; justify-self: end; border-radius: 26px; background: linear-gradient(160deg, #1b2122, #0f1213);
  border: 1px solid var(--line-2); display: grid; place-items: center; position: relative; padding: 24px; text-align: center;
}
.station-tag { width: 64%; aspect-ratio: 1; border-radius: 22px; background: #fff; padding: 10%; position: relative; box-shadow: 0 20px 50px -20px #000; }
.station-tag .qr { width: 100%; height: 100%; }
.station-tag .nfc-ring { position: absolute; inset: -14px; border-radius: 30px; border: 2px solid #fff; opacity: 0; animation: nfc 2.4s var(--ease) infinite; }
.station-tag .nfc-ring.r2 { animation-delay: .8s; }
@keyframes nfc { 0% { opacity: .9; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.25); } }
.station-label { position: absolute; bottom: 16px; left: 0; right: 0; font: 600 11px/1 var(--f-mono); letter-spacing: .12em; color: var(--muted); }
.tap-arrow { color: var(--text); display: grid; justify-items: center; gap: 8px; font: 600 11px/1 var(--f-mono); letter-spacing: .12em; }
.tap-arrow svg { width: 56px; height: 24px; }
.board { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.board-head { display: flex; gap: 8px; padding: 14px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.board-head::-webkit-scrollbar { display: none; }
.chip { height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; font-size: 13px; color: var(--text-2); white-space: nowrap; transition: all .2s; }
.chip.on, .chip:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.board-row { display: grid; grid-template-columns: 36px 1fr auto auto; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 15px; transition: background .2s; }
.board-row:last-child { border-bottom: 0; }
.board-row.you { background: rgba(35, 235, 198,.06); }
.board-row .rank { font: 700 14px/1 var(--f-mono); color: var(--muted); }
.board-row:nth-child(1) .rank { color: #f5c542; } .board-row:nth-child(2) .rank { color: #c9d1d1; } .board-row:nth-child(3) .rank { color: #d08b52; }
.board-row .who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.avatar { width: 34px; height: 34px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line-2); display: grid; place-items: center; font: 700 12px/1 var(--f-body); color: var(--text-2); flex: none; }
.board-row .who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-row .who small { display: block; color: var(--muted); font-size: 12px; }
.board-row .val { font: 700 16px/1 var(--f-mono); color: var(--teal); font-variant-numeric: tabular-nums; }
.board-row .delta { font: 600 12px/1 var(--f-mono); color: var(--muted); width: 48px; text-align: right; }

/* packages */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 18px; }
.plan.featured { border-color: rgba(255,255,255,.4); }
.plan h3 { font-size: 24px; }
.plan .price { font-size: 38px; }
.plan ul { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 11px; font-size: 14.5px; color: var(--text-2); }
.plan ul li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.plan ul li::before { content: "✓"; color: var(--text); font-weight: 700; }
.plan .btn { margin-top: auto; }

/* estimator */
.estimator { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); overflow: hidden; background: var(--surface); }
.est-controls { padding: clamp(24px, 3vw, 40px); display: grid; gap: 28px; }
.est-out { padding: clamp(24px, 3vw, 40px); background: var(--surface-2); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.range-row { display: grid; gap: 12px; }
.range-row label { display: flex; justify-content: space-between; font-weight: 600; font-size: 15px; }
.range-row label output { font-family: var(--f-mono); color: var(--text); font-size: 17px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; background: linear-gradient(90deg, #fff var(--p, 50%), #2a2a2a var(--p, 50%)); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 99px; background: #fff; border: 0; cursor: grab; box-shadow: 0 2px 10px rgba(0,0,0,.5); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 99px; background: #fff; border: 0; cursor: grab; }
.est-line { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--text-2); padding-bottom: 12px; border-bottom: 1px dashed var(--line-2); }
.est-line b { color: var(--text); font-family: var(--f-mono); font-weight: 600; }
.est-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 4px; }
.est-total .num { font-size: 48px; color: var(--text); }
.toggle-row { display: flex; gap: 8px; flex-wrap: wrap; }

/* roadmap */
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rm { border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.rm-media { aspect-ratio: 16/11; position: relative; overflow: hidden; background: #0e1112; }
.rm-media img { width: 100%; height: 100%; object-fit: cover; }
.rm-media canvas { width: 100% !important; height: 100% !important; }
.rm-media .tag { position: absolute; top: 14px; left: 14px; }
.rm-body { padding: 24px; display: grid; gap: 10px; }
.rm-body p { color: var(--text-2); font-size: 15px; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 44px 26px 0; font: 500 clamp(17px, 1.6vw, 20px)/1.4 var(--f-display); letter-spacing: -0.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(#fff, #fff) center/100% 1.5px no-repeat, linear-gradient(#fff, #fff) center/1.5px 100% no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--text-2); max-width: 70ch; }
.section.chalk .faq details { border-color: rgba(0,0,0,.1); }
.section.chalk .faq details p { color: #4d5656; }

/* CTA band */
.cta-band { border-radius: calc(var(--radius) + 10px); padding: clamp(40px, 6vw, 80px); position: relative; overflow: hidden; background: #0b0b0b; border: 1px solid var(--line); display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: center; }
.cta-band::before { content: none; }
.cta-band .actions { display: flex; flex-direction: column; gap: 12px; position: relative; }
.cta-band h2 { font-size: clamp(32px, 4.4vw, 56px); }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row.three { grid-template-columns: 1.2fr 1fr .8fr; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.field label .opt { color: var(--muted); font-weight: 400; }
.input, .field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea {
  width: 100%; height: 50px; padding: 0 16px; border-radius: var(--radius-sm); border: 1px solid var(--line-2);
  background: var(--bg-2); transition: border-color .2s, box-shadow .2s; font-size: 16px;
}
.field textarea { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b9c3c2' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.08); outline: none; }
.field input:user-invalid, .field select:user-invalid { border-color: var(--red); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-2); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: #fff; margin: 1px 0 0; flex: none; }
.check a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; color: var(--muted); }
.form-status { display: none; padding: 14px 16px; border-radius: var(--radius-sm); font-size: 14.5px; }
.form-status.ok { display: block; background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.35); color: #b7f5dc; }
.form-status.err { display: block; background: rgba(239,67,67,.1); border: 1px solid rgba(239,67,67,.35); color: #ffc4c4; }
.radio-cards { display: grid; gap: 10px; }
.radio-card { display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); cursor: pointer; transition: border-color .2s, background .2s; }
.radio-card input { accent-color: #fff; width: 18px; height: 18px; margin: 0; }
.radio-card:has(input:checked) { border-color: #fff; background: rgba(255,255,255,.04); }
.radio-card b { display: block; font-size: 15px; }
.radio-card small { color: var(--muted); font-size: 13px; }
.radio-card .rc-price { font: 600 15px/1 var(--f-mono); }

/* ---------- cart drawer ---------- */
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 90; opacity: 0; pointer-events: none; transition: opacity .3s; backdrop-filter: blur(2px); }
.scrim.on { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); z-index: 91; background: var(--bg-2); border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform .4s var(--ease); display: flex; flex-direction: column;
}
.drawer.on { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 20px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 22px; }
.drawer-foot { padding: 20px 22px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 14px; }
.ship-meter { display: grid; gap: 8px; font-size: 13.5px; color: var(--text-2); padding: 16px 0 8px; }
.ship-meter .bar { height: 3px; border-radius: 99px; background: #262626; overflow: hidden; }
.ship-meter .bar i { display: block; height: 100%; background: #fff; width: 0; transition: width .5s var(--ease); }
.line-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line-item img { width: 76px; height: 76px; border-radius: 12px; object-fit: cover; background: var(--surface); }
.line-item h4 { font-size: 15px; margin-bottom: 4px; }
.line-item .meta { color: var(--muted); font-size: 13px; }
.line-item .lp { font: 600 15px/1 var(--f-mono); text-align: right; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; margin-top: 10px; height: 34px; }
.qty button { width: 34px; height: 32px; background: transparent; border: 0; font-size: 16px; color: var(--text-2); }
.qty button:hover { color: var(--text); }
.qty span { min-width: 26px; text-align: center; font: 600 14px/1 var(--f-mono); }
.remove { background: none; border: 0; color: var(--muted); font-size: 12.5px; text-decoration: underline; margin-top: 10px; padding: 0; display: block; margin-left: auto; }
.sum-row { display: flex; justify-content: space-between; font-size: 15px; color: var(--text-2); }
.sum-row.total { color: var(--text); font-size: 18px; font-weight: 700; }
.sum-row.total b { font-family: var(--f-mono); }
.empty { text-align: center; padding: 60px 10px; color: var(--muted); display: grid; gap: 16px; justify-items: center; }
.empty svg { width: 48px; height: 48px; color: #3a4444; }
.pay-icons { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.pay-icons span { height: 24px; padding: 0 8px; border: 1px solid var(--line-2); border-radius: 5px; font: 700 10px/22px var(--f-body); color: var(--muted); letter-spacing: .04em; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; z-index: 100; background: var(--text); color: var(--bg); padding: 12px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; transition: all .35s var(--ease); pointer-events: none; display: flex; gap: 10px; align-items: center; box-shadow: 0 20px 40px -10px #000; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- product detail ---------- */
.pdp { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 72px); align-items: start; padding-top: 32px; }
.gallery { display: grid; gap: 12px; position: sticky; top: 90px; }
.gallery-main { aspect-ratio: 1; border-radius: var(--radius); background: #0a0a0a; border: 0; position: relative; overflow: hidden; }
.gallery-main > img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main canvas { width: 100% !important; height: 100% !important; cursor: grab; touch-action: pan-y; }
.gallery-main canvas:active { cursor: grabbing; }
.gallery-main .tag { position: absolute; top: 16px; left: 16px; z-index: 2; }
.gallery-main .hint { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 2; white-space: nowrap; }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.thumb { aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); background: var(--surface); padding: 0; transition: border-color .2s; display: grid; place-items: center; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.on { border-color: #fff; }
.thumb svg { width: 26px; height: 26px; color: var(--text); }
.pdp-info { display: grid; gap: 22px; }
.pdp-info h1 { font-size: clamp(36px, 4.4vw, 56px); }
.rating { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.opt-group { display: grid; gap: 10px; }
.opt-group > span { font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { height: 44px; padding: 0 16px 0 8px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; transition: border-color .2s; }
.swatch i { width: 28px; height: 28px; border-radius: 99px; border: 1px solid rgba(255,255,255,.2); }
.swatch.on { border-color: #fff; }
.buy-row { display: grid; grid-template-columns: auto 1fr; gap: 12px; }
.buy-row .qty { margin: 0; height: 52px; }
.buy-row .qty button { height: 50px; width: 44px; }
.assure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.assure div { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; font-size: 13px; color: var(--text-2); display: grid; gap: 6px; }
.assure svg { width: 20px; height: 20px; color: var(--text); }
.acc details { border-top: 1px solid var(--line); }
.acc details:last-child { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; padding: 18px 0; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; color: var(--muted); font-family: var(--f-mono); font-size: 18px; transition: transform .3s; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc .acc-body { padding: 0 0 20px; color: var(--text-2); font-size: 15px; display: grid; gap: 10px; }
.spec { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.spec td { padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec td:first-child { color: var(--muted); width: 42%; padding-right: 12px; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(0,0,0,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); display: none; align-items: center; gap: 14px; transform: translateY(100%); transition: transform .35s var(--ease); }
.sticky-buy.on { transform: none; }
.sticky-buy .btn { margin-left: auto; height: 46px; }

/* ---------- checkout ---------- */
.checkout { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 64px); align-items: start; padding: 40px 0 100px; }
.stepper { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 28px; flex-wrap: wrap; }
.stepper b { color: var(--text); font-weight: 600; }
.stepper .dot { width: 26px; height: 26px; border-radius: 99px; border: 1px solid var(--line-2); display: inline-grid; place-items: center; font: 600 12px/1 var(--f-mono); margin-right: 8px; }
.stepper .on .dot { background: #fff; color: #000; border-color: #fff; }
.stepper .done .dot { border-color: #fff; color: #fff; }
.stepper .sep { width: 24px; height: 1px; background: var(--line-2); }
.co-panel { display: none; gap: 20px; }
.co-panel.on { display: grid; animation: fadeUp .4s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }
.co-panel h2 { font-size: 28px; }
.co-actions { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-top: 8px; flex-wrap: wrap; }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: sticky; top: 90px; display: grid; gap: 14px; }
.summary .line-item { grid-template-columns: 60px 1fr auto; padding: 12px 0; }
.summary .line-item img { width: 60px; height: 60px; }
.promo { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.promo input { height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg-2); }
.review-block { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; display: flex; justify-content: space-between; gap: 16px; font-size: 14.5px; color: var(--text-2); }
.review-block b { color: var(--text); display: block; margin-bottom: 4px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; font-family: var(--f-mono); font-weight: 600; }
.review-block button { background: none; border: 0; color: var(--text); text-decoration: underline; font-size: 14px; align-self: start; }
.success { text-align: center; display: grid; gap: 18px; justify-items: center; padding: 40px 0; }
.success .check-big { width: 84px; height: 84px; border-radius: 99px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: var(--text); }
.success .check-big svg { width: 40px; height: 40px; }

/* ---------- page hero (inner) ---------- */
.page-hero { padding: clamp(56px, 8vw, 110px) 0 clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.page-hero .wrap { position: relative; display: grid; gap: 22px; }
.page-hero h1 { font-size: clamp(42px, 6.4vw, 84px); max-width: 16ch; }
.crumbs { font-size: 13px; color: var(--muted); display: flex; gap: 8px; }
.crumbs a:hover { color: var(--text); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 72px 0 40px; background: var(--bg); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.foot-grid h4 { font: 600 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: 14.5px; color: var(--text-2); }
.foot-grid a:hover { color: var(--text); }
.newsletter { display: flex; gap: 8px; margin-top: 18px; max-width: 380px; }
.newsletter input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg-2); font-size: 15px; }
.newsletter input:focus { outline: none; border-color: #fff; }
.newsletter .btn { height: 46px; }
.social-row { display: flex; gap: 10px; }
.social-row a { width: 42px; height: 42px; border-radius: 99px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--text-2); transition: all .2s; }
.social-row a:hover { color: #000; background: #fff; border-color: #fff; }
.social-row svg { width: 18px; height: 18px; }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.foot-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-bottom a:hover { color: var(--text); }
.wordmark { font: 900 clamp(80px, 19vw, 260px)/.8 var(--f-display); font-stretch: 125%; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1px var(--line-2); text-align: center; margin-top: 48px; user-select: none; }
.wordmark span { -webkit-text-stroke: 1px rgba(35, 235, 198,.5); }

/* ---------- legal / prose ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 28px; margin: 48px 0 14px; }
.prose h3 { font-size: 19px; margin: 28px 0 10px; }
.prose p, .prose li { color: var(--text-2); margin-bottom: 12px; }
.prose a { color: var(--text); text-decoration: underline; }
.placeholder { background: rgba(251,191,36,.12); color: var(--amber); padding: 0 4px; border-radius: 4px; }

/* ---------- legal documents (terms.html, privacy.html) ---------- */
/* Both language versions sit in the page; html[lang] (set by app.js, and early by an inline script) picks one. */
html[lang="es"] .legal-doc[data-doc-lang="en"], html:not([lang="es"]) .legal-doc[data-doc-lang="es"] { display: none; }
.legal-page .page-hero h1 { font-size: clamp(36px, 6vw, 64px); max-width: 20ch; }
.legal-meta { font: 500 13px/1.5 var(--f-body); color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 14px; }
.legal-switch { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; gap: 2px; justify-self: start; }
.legal-switch button { height: 32px; min-width: 52px; padding: 0 14px; border-radius: 999px; border: 0; background: transparent; color: var(--text-2); font: 600 13px/1 var(--f-mono); letter-spacing: .1em; }
.legal-switch button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.legal-doc { max-width: 720px; font-size: 16px; line-height: 1.65; overflow-wrap: anywhere; }
.legal-doc h2 { font-size: clamp(22px, 3.2vw, 28px); line-height: 1.2; margin: 52px 0 14px; scroll-margin-top: 84px; letter-spacing: -0.02em; }
.legal-doc h3 { font-size: 18px; line-height: 1.3; margin: 28px 0 10px; scroll-margin-top: 84px; letter-spacing: -0.01em; }
.legal-doc p, .legal-doc li { color: var(--text-2); margin: 0 0 12px; }
.legal-doc ul, .legal-doc ol { padding-left: 1.25em; margin: 0 0 14px; }
.legal-doc strong { color: var(--text); font-weight: 600; }
.legal-doc a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.legal-doc hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.legal-doc blockquote { margin: 0 0 16px; padding: 12px 16px; border-left: 2px solid var(--line-2); background: var(--surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.legal-doc blockquote p { margin: 0; }
.legal-doc code { font: 500 .9em/1 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--surface-2); padding: 2px 5px; border-radius: 4px; color: var(--text); overflow-wrap: anywhere; }
.legal-doc .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.legal-doc table { border-collapse: collapse; width: 100%; font-size: 14px; line-height: 1.5; }
.legal-doc th, .legal-doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--text-2); min-width: 120px; overflow-wrap: normal; word-break: normal; }
.legal-doc th { color: var(--text); font: 600 12px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; background: var(--surface); }
.legal-doc tr:last-child td { border-bottom: 0; }
.legal-doc thead:empty, .legal-doc th:empty { display: none; }
.legal-lede { color: var(--text-2); font-size: 15px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; margin: 0 0 28px; }
.legal-toc { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 0 0 36px; background: var(--bg-2); }
.legal-toc h2 { font: 600 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 14.5px; }
.legal-toc a { color: var(--text-2); text-decoration: none; }
.legal-toc a:hover { color: var(--text); text-decoration: underline; }
.legal-top { display: inline-block; margin-top: 40px; font-size: 13px; color: var(--muted); }
@media (max-width: 640px) {
  .legal-doc { font-size: 15.5px; }
  .legal-doc th, .legal-doc td { padding: 9px 10px; font-size: 13.5px; }
}
@media print {
  .nav, .announce, .footer, .legal-switch, .legal-toc, .legal-top, .scrim, .drawer { display: none !important; }
  body { background: #fff; color: #000; }
  .legal-doc p, .legal-doc li, .legal-doc td { color: #000; }
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { gap: 18px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; padding: 20px 0 0; }
  .products, .plans, .roadmap { grid-template-columns: 1fr 1fr; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-links, .nav .btn.hide-m { display: none; }
  .burger { display: grid; }
  .strip .wrap { grid-template-columns: repeat(2, 1fr); padding: 0; }
  .strip-item { border-left: 0; border-top: 1px solid var(--line); padding: 20px var(--gutter); }
  .strip-item:nth-child(-n+2) { border-top: 0; }
  .strip-item:nth-child(even) { border-left: 1px solid var(--line); }
  .strip-item:last-child { grid-column: 1 / -1; border-left: 0; }
  .split, .pdp, .checkout, .estimator, .cta-band { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .est-out { border-left: 0; border-top: 1px solid var(--line); }
  .gallery, .summary { position: static; }
  .checkout .summary { order: -1; }
  .steps, .g3, .metrics { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .nfc-demo { grid-template-columns: 1fr; justify-items: center; }
  .station { justify-self: center; }
  .tap-arrow svg { transform: rotate(90deg); }
  .sticky-buy { display: flex; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .products, .plans, .roadmap, .g2, .g4 { grid-template-columns: 1fr; }
  .form-row, .form-row.three { grid-template-columns: 1fr; }
  .phone { --w: 262px; }
  .float-chip { padding: 9px 11px; gap: 9px; }
  .float-chip .ic { width: 28px; height: 28px; }
  .float-chip b { font-size: 12.5px; } .float-chip small { font-size: 11px; }
  .float-chip.c1 { left: 0; top: 6%; } .float-chip.c2 { right: 0; } .float-chip.c3 { display: none; }
  .hero-cta .btn { flex: 1 1 100%; }
  .assure { grid-template-columns: 1fr; }
  .board-row { grid-template-columns: 26px 1fr auto; }
  .board-row .delta { display: none; }
  .compare th, .compare td { padding: 14px 14px; font-size: 14px; }
  .announce { font-size: 12px; }
  .thumbs { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .co-actions .btn { flex: 1 1 100%; }
}

/* ---------- app-faithful mockups (match powr-native) ---------- */
.demo-note { font: 600 11px/1 var(--f-mono); letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.app-sub { display: flex; justify-content: center; align-items: center; gap: .6em; margin-top: 3%; font-size: .72em; }
.app-sub .hz { color: #737373; }
.app-sub .wchip { border: 1px solid #333; border-radius: 99px; padding: .25em .8em; font-weight: 700; color: #fafafa; }
.app-sub .edit { color: #a6a6a6; font-weight: 700; letter-spacing: .08em; font-size: .9em; }
.app-meta { text-align: center; font-size: .66em; color: #a6a6a6; margin-top: .5em; }
.app-stat small { display: block; margin-bottom: .3em; }
.app-bar { background: rgba(21, 196, 166,.7); }
.app-bar.best { background: #15c4a6; }
.app-bar.slow { background: var(--amber); }
.app-foot { grid-template-columns: 1fr 1.6fr; }
.app-btn { background: transparent; }
.sa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sa-grid div { border: 1px solid var(--line); border-radius: 10px; padding: 10px 8px; text-align: center; }
.sa-grid b { font: 700 18px/1 var(--f-body); }
.sa-grid i { font-style: normal; font-size: 11px; color: var(--muted); margin-left: 2px; }
.sa-grid small { display: block; font: 700 9.5px/1 var(--f-body); letter-spacing: .12em; color: var(--muted); margin-top: 6px; }
.sa-next { text-align: center; display: grid; gap: 4px; }
.sa-next small { font: 700 9.5px/1 var(--f-body); letter-spacing: .12em; color: var(--muted); }
.sa-next div { display: flex; justify-content: center; align-items: center; gap: 18px; }
.sa-next span { width: 30px; height: 30px; border-radius: 99px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--text-2); }
.sa-next b { font: 800 30px/1 var(--f-display); font-stretch: 105%; }
.sa-next em { font-style: normal; font-size: 12px; color: var(--muted); }
.sa-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 14px; }
.sa-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.seg { display: grid; grid-template-columns: repeat(5, 1fr); background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 3px; gap: 3px; }
.seg button { background: transparent; border: 0; border-radius: 7px; padding: 8px 0; font-size: 13px; font-weight: 600; color: var(--text-2); }
.seg button.on { background: var(--surface-2); color: var(--text); box-shadow: 0 0 0 1px var(--line-2); }
.sa-chart { height: 170px; border: 1px solid var(--line); border-radius: 12px; padding: 14px 12px 24px; display: flex; align-items: flex-end; gap: 6%; position: relative; }
.sa-chart .bar { flex: 1; background: rgba(21, 196, 166,.7); border-radius: 4px 4px 2px 2px; position: relative; transition: height .5s var(--ease); }
.sa-chart .bar.best { background: #15c4a6; }
.sa-chart .bar span { position: absolute; bottom: -18px; left: 0; right: 0; text-align: center; font: 600 10px/1 var(--f-body); color: #737373; }
.sa-chart .cut { position: absolute; left: 10px; right: 10px; border-top: 1.5px dashed rgba(239,67,67,.9); transition: bottom .5s var(--ease), opacity .3s; }
.sa-chart .cut::before { content: "STOP"; position: absolute; left: 0; top: -13px; font: 700 9px/1 var(--f-body); letter-spacing: .1em; color: #ef4343; }
.metrics .metric { min-height: 0; gap: 6px; padding: 20px; }
.metrics .metric .num { font-size: 30px; }
.mlbl { font: 700 11px/1 var(--f-body); letter-spacing: .14em; color: var(--muted); }
.metric p { font-size: 13.5px; }
.ex-cards { padding: 2% 5%; display: grid; gap: .6em; }
.xc { background: #141414; border: 1px solid #262626; border-radius: .9em; padding: .8em .9em; display: grid; gap: .35em; }
.xc > small { font-size: .7em; color: #a6a6a6; font-weight: 600; }
.xc-row { display: flex; align-items: baseline; gap: .3em; }
.xc-row b { font: 800 2.1em/1 var(--f-display); font-stretch: 105%; }
.xc-row i { font-style: normal; color: #a6a6a6; font-size: .8em; }
.xc-row .fit { margin-left: auto; font-size: .6em; font-weight: 700; color: #34d399; border: 1px solid rgba(52,211,153,.4); border-radius: 99px; padding: .2em .6em; }
.xc em { font-style: normal; font-size: .62em; color: #737373; }
.xc .lv { width: 100%; }
.xc-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .5em; }
.xc-2 small { display: block; font-size: .5em; letter-spacing: .12em; color: #a6a6a6; font-weight: 700; }
.xc-2 b { font-size: 1em; } .xc-2 i { font-style: normal; font-size: .7em; color: #a6a6a6; }
@media (max-width: 640px) { .seg button { font-size: 12px; } }

.split.top { align-items: start; }
.split.top .split-copy { position: sticky; top: 110px; }
.xc-bars { display: flex; align-items: flex-end; gap: 6%; height: 4.2em; padding-top: .3em; }
.xc-bars i { flex: 1; background: rgba(21, 196, 166,.3); border-radius: .2em .2em .1em .1em; }
.xc-bars i:last-child { background: #15c4a6; }
@media (max-width: 900px) { .split.top .split-copy { position: static; } }

@media (max-width: 900px) { .metrics { grid-template-columns: 1fr 1fr; } .metrics .metric { padding: 16px; } .metrics .metric .num { font-size: 24px; } }

/* ---------- idea / science / goals ---------- */
.sports { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sport { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 12px; align-content: start; }
.sport-ic { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.05); display: grid; place-items: center; color: var(--text-2); }
.sport-ic svg { width: 24px; height: 24px; }
.sport-data { display: flex; flex-wrap: wrap; gap: 8px; }
.sport-data span, .sport-data s { font: 600 14px/1 var(--f-mono); padding: 8px 10px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line); color: var(--text); }
.sport-data s { color: var(--muted); text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.sport p { color: var(--text-2); font-size: 15px; }
.sport.gym { border-color: rgba(35, 235, 198,.45); background: linear-gradient(180deg, rgba(35, 235, 198,.07), var(--surface) 55%); }
.sport.gym .sport-ic { background: var(--teal-glow); color: var(--teal); }
.manifesto { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr .9fr; gap: 20px; }
.manifesto > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 12px; align-content: start; }
.manifesto p { color: var(--text-2); font-size: 15.5px; }
.free-card { background: linear-gradient(160deg, #10302b, #0c1414) !important; border-color: rgba(35, 235, 198,.35) !important; }
.free-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.free-row b { display: block; font: 800 38px/1 var(--f-display); font-stretch: 110%; color: var(--teal); }
.free-row small { color: var(--text-2); font-size: 13px; }
.hood { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.hood-fig { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: 20px; position: sticky; top: 100px; }
.curve { width: 100%; height: auto; }
.curve .raw { fill: none; stroke: #23ebc6; stroke-width: 3; stroke-linecap: round; }
.curve .drift { fill: none; stroke: #ef4343; stroke-width: 2; stroke-dasharray: 5 5; opacity: .75; }
.curve .zero circle { fill: #070909; stroke: #23ebc6; stroke-width: 2.5; }
.curve .lbl { fill: #7f8b8a; font: 600 12px var(--f-mono); letter-spacing: .06em; }
.curve .lbl2 text { fill: #b9c3c2; font: 600 12px var(--f-body); }
.curve .leg { fill: #b9c3c2; font: 500 12px var(--f-body); }
.hood-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hood-steps li { border-left: 2px solid var(--line-2); padding: 4px 0 4px 20px; display: grid; gap: 6px; }
.hood-steps li:hover { border-left-color: var(--teal); }
.hood-steps b { font: 700 18px/1.3 var(--f-display); font-stretch: 105%; }
.hood-steps p { color: var(--text-2); font-size: 15px; }
.proof .num { font-size: 44px; color: var(--text); margin-bottom: 12px; }
.proof .num small { font-size: 15px; color: var(--muted); margin-left: 4px; font-weight: 600; letter-spacing: 0; }
.proof h4 { margin-bottom: 8px; }
.honest { margin-top: 20px; font-size: 14px; color: var(--muted); border-left: 2px solid var(--amber); padding-left: 14px; max-width: 80ch; }
.goal-card { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: 22px; display: grid; gap: 20px; }
.goal-seg { grid-template-columns: repeat(5, 1fr); }
.goal-q { font: 700 12px/1.3 var(--f-body); letter-spacing: .14em; color: var(--muted); }
.goal-a { font: 800 clamp(30px, 3.4vw, 42px)/1.05 var(--f-display); font-stretch: 108%; letter-spacing: -0.02em; }
.goal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.goal-grid div { border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: grid; gap: 6px; }
.goal-grid small { font: 700 10px/1.2 var(--f-body); letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.goal-grid b { font: 700 17px/1.2 var(--f-body); }
.goal-card p { color: var(--text-2); }
@media (max-width: 900px) {
  .sports, .manifesto, .hood { grid-template-columns: 1fr; }
  .hood-fig { position: static; }
  .goal-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .goal-seg button { font-size: 11px; padding: 8px 0; } }

/* ---- build-your-own kit (product page) ---- */
.cfg { display: grid; gap: 16px; }
.cfg-presets { display: flex; gap: 8px; flex-wrap: wrap; }
.preset { height: 40px; padding: 0 14px 0 6px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--text); display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; transition: border-color .2s; }
.preset.on { border-color: #fff; }
.kit-swatch { display: inline-flex; flex: none; }
.kit-swatch i { width: 18px; height: 28px; border: 1px solid rgba(255,255,255,.18); }
.kit-swatch i:first-child { border-radius: 99px 0 0 99px; }
.kit-swatch i:last-child { border-radius: 0 99px 99px 0; background-image: linear-gradient(135deg, rgba(255,255,255,.45), transparent 55%); }
.line-item .kit-swatch i { width: 25px; height: 76px; }
.line-item .kit-swatch i:first-child { border-radius: 12px 0 0 12px; }
.line-item .kit-swatch i:last-child { border-radius: 0 12px 12px 0; }
.cfg-row { display: grid; gap: 8px; }
.cfg-row > span { font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.cfg-row > span b { color: var(--text); }
.dots { display: flex; gap: 8px; flex-wrap: wrap; }
.dot { width: 36px; height: 36px; border-radius: 99px; border: 2px solid transparent; padding: 3px; background: transparent; }
.dot i { display: block; width: 100%; height: 100%; border-radius: 99px; border: 1px solid rgba(255,255,255,.2); }
.dot.metal i { background-image: linear-gradient(135deg, rgba(255,255,255,.55), transparent 55%, rgba(0,0,0,.25)); }
.dot.on { border-color: #fff; }
.dot:focus-visible, .preset:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.gallery-main .apart { position: absolute; bottom: 16px; right: 16px; z-index: 2; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(7,9,9,.72); color: var(--text); font-size: 13px; backdrop-filter: blur(6px); }
.gallery-main .apart.on { border-color: #fff; }
@media (max-width: 520px) { .gallery-main .hint { display: none; } .dot { width: 40px; height: 40px; } }
