/* ==========================================================================
   NutriOS — Landing para partners
   ========================================================================== */

:root {
  --bg: #06080a;
  --bg-2: #0a0e11;
  --surface: rgba(255, 255, 255, 0.025);
  --surface-2: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.075);
  --line-2: rgba(255, 255, 255, 0.13);
  --text: #eef2ec;
  --muted: #98a29c;
  --dim: #636d67;

  --lime: #c6f36b;
  --lime-deep: #9ed63a;
  --mint: #5ef0c4;
  --amber: #ffb86b;
  --violet: #9d8cff;

  --p: var(--lime);
  --c: var(--mint);
  --f: var(--amber);

  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
::selection { background: var(--lime); color: #0b0f06; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); font-feature-settings: "zero" 1; letter-spacing: -0.01em; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.dim { color: var(--dim); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.accent { color: var(--lime); }

/* ---------- Ambient layers ---------- */
#field {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none; opacity: 0.9;
}
.noise {
  position: fixed; inset: -50%; z-index: 1; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, .footer, .nav { position: relative; z-index: 2; }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; }
.progress span {
  display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--mint), var(--lime));
  box-shadow: 0 0 12px var(--lime);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(6, 8, 10, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 32px;
}
.nav__links { display: flex; gap: 28px; margin-left: auto; font-size: 14px; color: var(--muted); }
.nav__links a { position: relative; transition: color 0.25s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 28px; height: 28px; }
.brand__mark .ring { fill: none; stroke-width: 3; stroke-linecap: round; transform-origin: 16px 16px; transform: rotate(-90deg); }
.brand__mark .ring--a { stroke: var(--lime); stroke-dasharray: 28 69.1; }
.brand__mark .ring--b { stroke: var(--mint); stroke-dasharray: 18 69.1; stroke-dashoffset: -32; }
.brand__mark .ring--c { stroke: var(--amber); stroke-dasharray: 11 69.1; stroke-dashoffset: -54; }
.brand__mark .core { fill: var(--text); }
.brand:hover .brand__mark { animation: spin 1.4s var(--ease); }
@keyframes spin { to { transform: rotate(360deg); } }
.brand__word { font-weight: 600; font-size: 19px; letter-spacing: -0.03em; }
.brand__word b { font-weight: 600; color: var(--lime); }

/* ---------- Buttons ---------- */
.btn {
  --bx: 0px; --by: 0px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; font-weight: 500; letter-spacing: -0.01em; cursor: pointer;
  border: 1px solid transparent; white-space: nowrap;
  transform: translate(var(--bx), var(--by));
  transition: transform 0.35s var(--ease), background 0.3s, border-color 0.3s, box-shadow 0.35s var(--ease), color 0.3s;
}
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--lg { padding: 15px 26px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary {
  background: var(--lime); color: #0b1204;
  box-shadow: 0 0 0 0 rgba(198, 243, 107, 0), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  overflow: hidden;
}
.btn--primary::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.8s var(--ease);
}
.btn--primary:hover { box-shadow: 0 10px 40px -8px rgba(198, 243, 107, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn--primary:hover::before { transform: translateX(120%); }
.btn--ghost { border-color: var(--line-2); color: var(--text); background: rgba(255, 255, 255, 0.02); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.05); }
.arrow { display: inline-block; transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:focus-visible, .tab:focus-visible, .toggle:focus-visible, summary:focus-visible {
  outline: 2px solid var(--lime); outline-offset: 3px;
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); filter: blur(6px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; filter: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 60px; overflow-x: clip; }
.hero__glow {
  position: absolute; left: 50%; top: -220px; width: 1100px; height: 800px; transform: translateX(-50%);
  background:
    radial-gradient(closest-side, rgba(198, 243, 107, 0.16), transparent 70%),
    radial-gradient(closest-side at 70% 60%, rgba(94, 240, 196, 0.10), transparent 70%);
  filter: blur(20px); pointer-events: none;
  animation: breathe 9s ease-in-out infinite;
}
@keyframes breathe { 50% { opacity: 0.7; transform: translateX(-50%) scale(1.06); } }
.hero__copy { text-align: center; display: flex; flex-direction: column; align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px; border-radius: 999px; font-size: 13px; color: var(--muted);
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.3s, color 0.3s;
}
.pill:hover { border-color: rgba(198, 243, 107, 0.45); color: var(--text); }
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(198, 243, 107, 0.6); animation: ping 2.2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(198, 243, 107, 0.55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(198, 243, 107, 0); } }
.pill__arrow { color: var(--lime); transition: transform 0.3s var(--ease); }
.pill:hover .pill__arrow { transform: translateX(3px); }

.hero__title {
  margin: 28px 0 0; font-weight: 600; letter-spacing: -0.045em; line-height: 0.98;
  font-size: clamp(44px, 8vw, 104px);
}
.hero__title .serif { font-size: 1.08em; letter-spacing: -0.02em; padding-right: 0.06em; }
.shimmer {
  background: linear-gradient(100deg, var(--lime) 0%, #f3ffd9 30%, var(--mint) 55%, var(--lime) 80%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 7s linear infinite;
}
@keyframes shimmer { to { background-position: -250% 0; } }
.hero__sub { margin: 28px auto 0; max-width: 680px; font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); line-height: 1.6; }
.hero__sub strong { color: var(--text); font-weight: 500; }
.hero__cta { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero__meta { list-style: none; padding: 0; margin: 28px 0 0; display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; font-size: 13px; color: var(--muted); }
.tick { color: var(--lime); margin-right: 4px; }

/* ---------- Stage / Console ---------- */
.stage { position: relative; margin: 72px auto 0; perspective: 1600px; max-width: 1080px; }
.stage::before {
  content: ""; position: absolute; inset: 10% 6% -8%; border-radius: 40px;
  background: radial-gradient(closest-side, rgba(198, 243, 107, 0.22), transparent);
  filter: blur(50px); z-index: -1;
}
.console {
  --rx: 18deg; --s: 0.94;
  transform: rotateX(var(--rx)) scale(var(--s)); transform-origin: 50% 0%;
  border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, rgba(18, 23, 26, 0.92), rgba(10, 13, 15, 0.96));
  border: 1px solid var(--line-2);
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.02) inset, 0 1px 0 rgba(255, 255, 255, 0.08) inset;
  will-change: transform;
}
.console::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(120deg, rgba(198, 243, 107, 0.35), transparent 30%, transparent 70%, rgba(94, 240, 196, 0.3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; padding: 1px; opacity: 0.6;
}
.console__bar {
  display: flex; align-items: center; gap: 14px; padding: 12px 16px;
  border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.015);
}
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #262d31; }
.console__title { font-family: var(--mono); font-size: 12px; color: var(--dim); flex: 1; text-align: center; }
.console__title b { color: var(--muted); font-weight: 500; }
.console__live { font-family: var(--mono); font-size: 11px; color: var(--lime); display: inline-flex; align-items: center; gap: 6px; text-transform: uppercase; letter-spacing: 0.08em; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); animation: ping 2s infinite; }

.console__body { display: grid; grid-template-columns: 1.45fr 1fr; height: 520px; }
.chat {
  padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px;
  border-right: 1px solid var(--line); overflow: hidden; min-height: 0;
  -webkit-mask: linear-gradient(180deg, transparent 0, #000 70px); mask: linear-gradient(180deg, transparent 0, #000 70px);
}
.chat > * { flex: none; }

.msg { max-width: 88%; padding: 12px 15px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; animation: pop 0.55s var(--ease) both; }
.msg--user { align-self: flex-end; background: var(--text); color: #0a0d0f; border-bottom-right-radius: 5px; }
.msg--ai { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(0.98); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

.tool {
  align-self: flex-start; font-family: var(--mono); font-size: 12px; color: var(--muted);
  display: flex; flex-direction: column; gap: 3px; padding: 8px 12px; border-radius: 10px;
  border: 1px dashed rgba(157, 140, 255, 0.28); background: rgba(157, 140, 255, 0.05);
  animation: pop 0.45s var(--ease) both;
}
.tool__call { color: var(--violet); }
.tool__call .spin { display: inline-block; width: 10px; height: 10px; margin-right: 6px; vertical-align: -1px; border: 1.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: rot 0.7s linear infinite; }
.tool__call.done .spin { display: none; }
.tool__call.done::before { content: "✓ "; color: var(--lime); }
@keyframes rot { to { transform: rotate(360deg); } }
.tool__res { color: var(--dim); opacity: 0; transition: opacity 0.4s; }
.tool__res.show { opacity: 1; }
.tool__res b { color: var(--text); font-weight: 500; }

.meals { display: grid; gap: 8px; margin-top: 10px; }
.meal {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 12px; border-radius: 12px;
  background: rgba(0, 0, 0, 0.25); border: 1px solid var(--line); animation: pop 0.5s var(--ease) both;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.meal:hover { border-color: rgba(198, 243, 107, 0.4); transform: translateX(3px); }
.meal__name { font-weight: 500; font-size: 14px; }
.meal__k { font-family: var(--mono); font-size: 12.5px; color: var(--lime); text-align: right; }
.meal__m { grid-column: 1 / -1; display: flex; height: 4px; border-radius: 4px; overflow: hidden; gap: 2px; margin-top: 6px; }
.meal__m i { display: block; height: 100%; border-radius: 3px; }
.meal__tag { font-family: var(--mono); font-size: 11px; color: var(--dim); }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: bounce 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes bounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-4px); opacity: 1; } }

.panel { padding: 22px; display: flex; flex-direction: column; gap: 20px; background: rgba(255, 255, 255, 0.012); }
.panel__head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.badge { font-family: var(--mono); font-size: 11px; padding: 3px 8px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); }
.rings { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.ring-big { position: relative; width: 170px; height: 170px; }
.ring-big svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-big .track { fill: none; stroke: rgba(255, 255, 255, 0.06); stroke-width: 9; }
.ring-big .fill { fill: none; stroke-width: 9; stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset 1.6s var(--ease); }
.fill--kcal { stroke: var(--lime); filter: drop-shadow(0 0 8px rgba(198, 243, 107, 0.55)); }
.ring-big__label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring-big__label .num { font-family: var(--mono); font-size: 36px; font-weight: 500; letter-spacing: -0.04em; }
.ring-big__label .unit { font-size: 11.5px; color: var(--dim); }
.macros { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; gap: 12px; }
.macros li { display: grid; grid-template-columns: 1fr auto; gap: 6px; font-size: 13px; }
.macro__name { color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.macro__val { font-family: var(--mono); color: var(--dim); }
.macro__val b { color: var(--text); font-weight: 500; }
.sw { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.sw--p, .bar--p { background: var(--p); }
.sw--c, .bar--c { background: var(--c); }
.sw--f, .bar--f { background: var(--f); }
.bar { grid-column: 1 / -1; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.bar__fill { display: block; height: 100%; width: 0; border-radius: 5px; transition: width 1.5s var(--ease); }
.panel__foot { margin-top: auto; display: grid; gap: 8px; font-size: 12px; }
.adj, .lock { padding: 9px 11px; border-radius: 10px; border: 1px solid var(--line); color: var(--muted); opacity: 0.35; transition: opacity 0.6s, border-color 0.6s, background 0.6s; }
.adj .mono { color: var(--lime); margin-right: 4px; }
.adj.on, .lock.on { opacity: 1; }
.adj.on { border-color: rgba(198, 243, 107, 0.3); background: rgba(198, 243, 107, 0.05); }
.lock.on { border-color: rgba(157, 140, 255, 0.3); background: rgba(157, 140, 255, 0.05); }
.lock__ic { margin-right: 4px; }

.replay {
  position: absolute; right: 14px; bottom: -44px; background: none; border: 0; cursor: pointer;
  font-family: var(--mono); font-size: 12px; color: var(--dim); transition: color 0.3s;
}
.replay:hover { color: var(--lime); }

/* ---------- Marquee ---------- */
.marquee { position: relative; padding: 70px 0 30px; overflow: hidden; }
.marquee__label { text-align: center; font-size: 11.5px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.18em; margin-bottom: 22px; }
.marquee__track {
  -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__row { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 38s linear infinite; }
.marquee__row span { font-size: clamp(20px, 2.4vw, 28px); font-weight: 500; letter-spacing: -0.03em; color: #c7cfc9; white-space: nowrap; }
.marquee__row i { font-style: normal; color: var(--lime); font-size: 14px; opacity: 0.7; }
.marquee:hover .marquee__row { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: 130px 0; }
.section__head { max-width: 780px; margin-bottom: 64px; }
.section__head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--lime);
}
.kicker::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.h2 { margin: 0; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.04; letter-spacing: -0.04em; font-weight: 600; }
.h2 .serif { font-size: 1.1em; }
.h2--xl { font-size: clamp(40px, 5.6vw, 76px); }
.lead { margin: 22px 0 0; font-size: 18px; color: var(--muted); max-width: 560px; }
.center .lead { margin-left: auto; margin-right: auto; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.sticky { position: sticky; top: 120px; }

/* Spotlight cards */
.spot { position: relative; isolation: isolate; }
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(198, 243, 107, 0.09), transparent 45%);
  opacity: 0; transition: opacity 0.4s;
}
.spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(198, 243, 107, 0.55), transparent 55%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.4s;
}
.spot:hover::before, .spot:hover::after { opacity: 1; }

/* ---------- Problem ---------- */
.strike { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.strike li {
  display: flex; gap: 22px; align-items: baseline; padding: 20px 4px; color: #b9c2bc;
  border-bottom: 1px solid var(--line); font-size: clamp(17px, 1.7vw, 21px); letter-spacing: -0.02em;
  transition: color 0.6s var(--ease);
}
.strike .n { font-size: 12px; color: var(--dim); min-width: 22px; }
.strike .t { position: relative; }
.strike .t::after {
  content: ""; position: absolute; left: -2px; right: -2px; top: 54%; height: 1.5px;
  background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease);
  box-shadow: 0 0 10px rgba(198, 243, 107, 0.6);
}
.strike li.done { color: var(--dim); }
.strike li.active { color: var(--text); }
.strike li.active .n { color: var(--lime); }
.strike__end { opacity: 0.12; transform: translateY(10px); filter: blur(3px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease); }
.strike__end.on { opacity: 1; transform: none; filter: none; }
.strike li.done .t::after { transform: scaleX(1); }
.strike__end { margin: 40px 0 0; font-size: clamp(24px, 2.6vw, 34px); font-weight: 600; letter-spacing: -0.035em; }

/* ---------- Verbs ---------- */
.verbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
  padding: 28px; display: flex; flex-direction: column; gap: 26px;
  transition: transform 0.5s var(--ease), border-color 0.4s;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.verb { font-size: 12px; color: var(--lime); text-transform: uppercase; letter-spacing: 0.12em; }
.card h3 { margin: 14px 0 10px; font-size: 24px; line-height: 1.15; letter-spacing: -0.03em; font-weight: 600; }
.card h3 .serif { font-size: 1.08em; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.demo { margin-top: auto; border-radius: 14px; border: 1px solid var(--line); background: rgba(0, 0, 0, 0.3); padding: 16px; height: 276px; overflow: hidden; }

.demo--calc { display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.calc__row { display: flex; justify-content: space-between; font-size: 14px; }
.calc__line { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
.calc__total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 500; }
.calc__total .big { font-size: 32px; color: var(--lime); letter-spacing: -0.04em; }

.log__input {
  font-size: 14px; line-height: 1.45; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03);
  height: 63px; overflow: hidden;
}
.caret { display: inline-block; width: 1.5px; height: 1.05em; background: var(--lime); vertical-align: -2px; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.demo--log { display: flex; flex-direction: column; }
.log__chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; flex: 1; min-height: 0; overflow: hidden; align-content: flex-start; }
.chip {
  font-size: 11.5px; line-height: 1.35; padding: 4px 8px; border-radius: 8px; background: rgba(198, 243, 107, 0.08); border: 1px solid rgba(198, 243, 107, 0.22);
  animation: pop 0.45s var(--ease) both;
}
.chip .mono { color: var(--lime); margin-left: 6px; }
.log__total { display: flex; justify-content: space-between; font-size: 13px; padding-top: 10px; border-top: 1px solid var(--line); }
.log__total .mono { color: var(--text); }

.demo--rec { display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.rec { display: grid; grid-template-columns: 1fr 70px 26px; align-items: center; gap: 10px; font-size: 13.5px; }
.rec .mono { font-size: 12px; color: var(--lime); text-align: right; }
.fit { height: 5px; border-radius: 5px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.fit span { display: block; height: 100%; width: 0; border-radius: 5px; background: linear-gradient(90deg, var(--mint), var(--lime)); transition: width 1.4s var(--ease); }
.is-in .fit span { width: var(--fit); }
.rec:nth-child(2) .fit span { transition-delay: 0.15s; }
.rec:nth-child(3) .fit span { transition-delay: 0.3s; }
.rec__note { font-size: 11px; margin-top: 4px; }

.truth {
  margin-top: 16px; display: flex; gap: 20px; align-items: center; padding: 24px 28px; border-radius: var(--radius);
  border: 1px solid rgba(198, 243, 107, 0.18);
  background: linear-gradient(90deg, rgba(198, 243, 107, 0.07), rgba(94, 240, 196, 0.02) 60%, transparent);
}
.truth p { margin: 0; color: var(--muted); font-size: 16px; }
.truth strong { color: var(--text); font-weight: 600; }
.truth__ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--lime); background: rgba(198, 243, 107, 0.1); }
.truth__ic svg { width: 22px; height: 22px; }

/* ---------- Tabs ---------- */
.tabs {
  position: relative; display: inline-flex; padding: 5px; border-radius: 999px; gap: 2px;
  border: 1px solid var(--line); background: var(--surface); margin-bottom: 28px; max-width: 100%; overflow-x: auto;
}
.tabs__ind {
  position: absolute; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px;
  background: var(--text); transition: transform 0.5s var(--ease), width 0.5s var(--ease); z-index: 0;
}
.tab {
  position: relative; z-index: 1; background: none; border: 0; cursor: pointer; padding: 10px 18px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500; color: var(--muted); white-space: nowrap; transition: color 0.4s;
}
.tab .mono { font-size: 11px; opacity: 0.6; margin-right: 6px; }
.tab[aria-selected="true"] { color: #0a0d0f; }
.tabpanel {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 20px; align-items: stretch;
}
.tabpanel[hidden] { display: none; }
.tabpanel.is-active { animation: pop 0.6s var(--ease) both; }
.tp__copy { padding: 34px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; }
.tp__copy h3 { margin: 0 0 12px; font-size: 26px; letter-spacing: -0.03em; line-height: 1.15; font-weight: 600; }
.tp__copy p { margin: 0; color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 11px; }
.checks li { position: relative; padding-left: 28px; font-size: 15px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 17px; height: 17px; border-radius: 50%;
  background: rgba(198, 243, 107, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.3 2.2 2.2 4.8-5' fill='none' stroke='%23c6f36b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat;
}
.checks--alt li::before {
  background: rgba(94, 240, 196, 0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 8h6M8 5l3 3-3 3' fill='none' stroke='%235ef0c4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat;
}
.effort { margin-top: auto; padding-top: 24px; font-size: 13.5px; font-family: var(--mono); }
.code {
  margin: 0; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line);
  background: #080b0d; font-family: var(--mono); font-size: 13.5px; line-height: 1.75; color: #c9d1cc;
  overflow-x: auto; position: relative;
}
.code::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(198, 243, 107, 0.5), transparent);
}
.code .c { color: #56605a; }
.code .k { color: var(--violet); }
.code .f { color: var(--mint); }
.code .s { color: var(--lime); }
.code .t { color: #8fa29a; }
.code .a { color: var(--amber); }

/* ---------- Flow ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 6%; right: 6%; top: 27px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2) 10%, var(--line-2) 90%, transparent);
}
.step { position: relative; text-align: center; padding: 0 10px; }
.step__n {
  display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line-2); font-size: 13px; color: var(--lime);
  box-shadow: 0 0 0 6px var(--bg); transition: border-color 0.4s, box-shadow 0.4s;
}
.step:hover .step__n { border-color: var(--lime); box-shadow: 0 0 0 6px var(--bg), 0 0 30px rgba(198, 243, 107, 0.35); }
.step h4 { margin: 20px 0 8px; font-size: 20px; letter-spacing: -0.02em; font-weight: 600; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Privacy ---------- */
.features { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.features li { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.features b { font-weight: 500; }
.features span { color: var(--muted); }
.consent { position: sticky; top: 120px; }
.consent__card {
  border-radius: 22px; border: 1px solid var(--line-2); padding: 26px;
  background: linear-gradient(180deg, rgba(20, 25, 28, 0.9), rgba(10, 13, 15, 0.9));
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.9);
}
.consent__head { display: flex; gap: 14px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.app-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; color: #0a0d0f; background: linear-gradient(135deg, var(--amber), #ff7a59); }
.consent__app { font-size: 15.5px; }
.scopes { list-style: none; padding: 0; margin: 8px 0 0; }
.scopes li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.scopes .mono { font-size: 11.5px; }
.toggle {
  position: relative; width: 40px; height: 23px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.12); transition: background 0.35s var(--ease);
}
.toggle::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 17px; height: 17px; border-radius: 50%;
  background: #fff; transition: transform 0.4s var(--ease); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.toggle.on { background: var(--lime); }
.toggle.on::after { transform: translateX(17px); }
.locked { color: var(--dim); }
.lockpill { font-size: 11.5px; padding: 3px 9px; border-radius: 999px; border: 1px solid rgba(157, 140, 255, 0.3); color: var(--violet); background: rgba(157, 140, 255, 0.07); }
.consent__out { margin-top: 18px; padding: 14px; border-radius: 12px; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line); display: grid; gap: 6px; font-size: 12.5px; }
.consent__out code { color: var(--text); transition: opacity 0.2s; }

/* ---------- Architecture ---------- */
.stack { position: relative; display: grid; gap: 10px; }
.layer {
  position: relative; display: grid; grid-template-columns: 44px 1fr auto; gap: 16px; align-items: center;
  padding: 22px 22px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface);
  transition: transform 0.45s var(--ease), border-color 0.4s, background 0.4s;
}
.layer:hover { transform: translateX(6px); border-color: var(--line-2); }
.layer__n { font-size: 12px; color: var(--dim); }
.layer h4 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.layer p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.layer--core {
  border-color: rgba(198, 243, 107, 0.35);
  background: linear-gradient(90deg, rgba(198, 243, 107, 0.1), rgba(94, 240, 196, 0.04));
  box-shadow: 0 0 60px -20px rgba(198, 243, 107, 0.4);
}
.layer--core .layer__n { color: var(--lime); }
.chips { display: flex; gap: 6px; }
.chips i { font-style: normal; font-family: var(--mono); font-size: 11px; padding: 3px 8px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--muted); }
.pulse {
  position: absolute; left: 43px; top: 0; bottom: 0; width: 1px; z-index: 3; pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--line-2), transparent);
}
.pulse::after {
  content: ""; position: absolute; left: -3px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--lime); box-shadow: 0 0 14px 3px rgba(198, 243, 107, 0.7);
  animation: travel 3.6s var(--ease) infinite;
}
@keyframes travel { 0% { top: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

/* ---------- Audiences ---------- */
.aud { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.aud__card {
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); padding: 30px;
  transition: transform 0.5s var(--ease), border-color 0.4s;
}
.aud__card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.aud__ic {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; font-size: 18px;
  color: var(--lime); background: rgba(198, 243, 107, 0.08); border: 1px solid rgba(198, 243, 107, 0.2);
  transition: transform 0.5s var(--ease);
}
.aud__card:hover .aud__ic { transform: rotate(-8deg) scale(1.08); }
.aud__card h4 { margin: 22px 0 8px; font-size: 19px; letter-spacing: -0.02em; font-weight: 600; }
.aud__card p { margin: 0; color: var(--muted); font-size: 15px; }
.aud__card--soon { border-style: dashed; }
.soon { font-size: 10.5px; padding: 2px 7px; border-radius: 6px; margin-left: 6px; vertical-align: 2px; color: var(--mint); border: 1px solid rgba(94, 240, 196, 0.3); text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- Proof ---------- */
.proof__card {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center;
  border-radius: 28px; padding: 56px; border: 1px solid var(--line-2); overflow: hidden;
  background:
    radial-gradient(600px 300px at 0% 0%, rgba(198, 243, 107, 0.1), transparent 70%),
    radial-gradient(500px 300px at 100% 100%, rgba(94, 240, 196, 0.07), transparent 70%),
    var(--bg-2);
}
.proof__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.stat { background: var(--bg-2); padding: 26px 22px; display: flex; flex-direction: column; gap: 6px; }
.stat__n { font-size: 34px; font-weight: 500; letter-spacing: -0.04em; color: var(--text); }
.stat__l { color: var(--muted); font-size: 13.5px; }
.ph { color: var(--dim); text-decoration: underline dashed rgba(255, 255, 255, 0.2); text-underline-offset: 6px; text-decoration-thickness: 1px; }

/* ---------- Dev ---------- */
.devgrid { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.devgrid div { background: var(--bg); padding: 20px; display: flex; flex-direction: column; gap: 3px; }
.devgrid b { font-weight: 500; }
.devgrid span { color: var(--muted); font-size: 14px; }
.term { border-radius: 18px; border: 1px solid var(--line-2); background: #070a0c; overflow: hidden; box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.9); }
.term__bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 12px; }
.term__body { margin: 0; padding: 22px; min-height: 380px; font-size: 13px; line-height: 1.75; color: #c9d1cc; white-space: pre-wrap; word-break: break-word; }
.term__body .p { color: var(--lime); }
.term__body .o { color: var(--dim); }
.term__body .g { color: var(--mint); }
.term__body .y { color: var(--amber); }

/* ---------- Program ---------- */
.seats { display: flex; justify-content: center; gap: 10px; margin: -24px 0 48px; }
.seats span {
  width: 42px; height: 6px; border-radius: 6px; background: rgba(198, 243, 107, 0.18); position: relative; overflow: hidden;
}
.seats span::after {
  content: ""; position: absolute; inset: 0; background: var(--lime); transform: translateX(-101%);
  transition: transform 0.9s var(--ease);
}
.seats.is-in span::after { transform: none; }
.seats span:nth-child(2)::after { transition-delay: 0.1s; }
.seats span:nth-child(3)::after { transition-delay: 0.2s; }
.seats span:nth-child(4)::after { transition-delay: 0.3s; }
.seats span:nth-child(5)::after { transition-delay: 0.4s; }
.program { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.program__col { border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); padding: 34px; }
.program__col h4 { margin: 0; font-size: 20px; letter-spacing: -0.02em; font-weight: 600; }
.timeline { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.timeline li { padding: 24px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; transition: background 0.4s; }
.timeline li:last-child { border-right: 0; }
.timeline li:hover { background: var(--surface-2); }
.timeline .mono { font-size: 11.5px; color: var(--lime); text-transform: uppercase; letter-spacing: 0.1em; }
.timeline b { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.timeline p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- FAQ ---------- */
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 2px; font-size: 18px; font-weight: 500; letter-spacing: -0.02em; transition: color 0.3s;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { color: var(--lime); }
.plus { position: relative; width: 14px; height: 14px; flex: none; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform 0.4s var(--ease); }
.plus::after { transform: rotate(90deg); }
.acc details[open] .plus::after { transform: rotate(0); }
.acc details p { margin: 0; padding: 0 40px 24px 2px; color: var(--muted); animation: pop 0.5s var(--ease) both; }

/* ---------- CTA / Form ---------- */
.cta { overflow: hidden; }
.cta__glow {
  position: absolute; left: 50%; bottom: -300px; width: 1200px; height: 700px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(198, 243, 107, 0.14), transparent 70%); pointer-events: none;
}
.form {
  position: relative; border-radius: 24px; border: 1px solid var(--line-2); padding: 30px;
  background: linear-gradient(180deg, rgba(20, 25, 28, 0.85), rgba(10, 13, 15, 0.92));
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.9);
  display: grid; gap: 16px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 7px; font-size: 13px; color: var(--muted); }
.form input, .form select {
  width: 100%; font: inherit; font-size: 15px; color: var(--text); padding: 13px 14px; border-radius: 12px;
  border: 1px solid var(--line-2); background: rgba(0, 0, 0, 0.35); outline: none; appearance: none; -webkit-appearance: none;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23989f9b' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 36px;
}
.form select option { background: #0e1214; }
.form input::placeholder { color: #4b544f; }
.form input:focus, .form select:focus { border-color: rgba(198, 243, 107, 0.6); box-shadow: 0 0 0 4px rgba(198, 243, 107, 0.1); background: rgba(0, 0, 0, 0.5); }
.form .invalid { border-color: rgba(255, 120, 100, 0.7) !important; animation: shake 0.4s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.seg { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seg legend { font-size: 13px; color: var(--muted); margin-bottom: 7px; padding: 0; }
.seg label { display: block; position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span {
  display: block; text-align: center; padding: 11px 8px; border-radius: 12px; border: 1px solid var(--line-2);
  font-size: 14px; color: var(--muted); cursor: pointer; transition: all 0.3s var(--ease);
}
.seg input:checked + span { color: #0a0d0f; background: var(--text); border-color: var(--text); }
.seg input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }
.form__fine { margin: 0; text-align: center; }
.form__ok {
  position: absolute; inset: 0; border-radius: inherit; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 30px; background: rgba(10, 13, 15, 0.97); opacity: 0; pointer-events: none; transition: opacity 0.5s var(--ease);
}
.form.sent .form__ok { opacity: 1; pointer-events: auto; }
.form__ok h3 { margin: 22px 0 6px; font-size: 28px; letter-spacing: -0.03em; }
.ok__ring svg { width: 72px; height: 72px; }
.ok__ring circle { fill: none; stroke: var(--lime); stroke-width: 2; stroke-dasharray: 151; stroke-dashoffset: 151; }
.ok__ring path { fill: none; stroke: var(--lime); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 36; stroke-dashoffset: 36; }
.form.sent .ok__ring circle { animation: draw 0.8s var(--ease) forwards; }
.form.sent .ok__ring path { animation: draw 0.5s 0.6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 32px; }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__tag { margin: 16px 0 0; line-height: 1.6; }
.footer__cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer__cols div { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer__cols b { font-weight: 500; margin-bottom: 4px; }
.footer__cols a { color: var(--muted); transition: color 0.3s; }
.footer__cols a:hover { color: var(--lime); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.footer__bottom .mono { color: var(--lime); opacity: 0.8; }

/* ---------- Definition ---------- */
.define { padding-top: 90px; }
.define__head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.define__head .kicker { margin: 0; }
.define__tag {
  font-size: 11.5px; padding: 5px 11px; border-radius: 999px; color: var(--mint);
  border: 1px solid rgba(94, 240, 196, 0.3); background: rgba(94, 240, 196, 0.06); letter-spacing: 0.04em;
}
.define__text {
  margin: 0; max-width: 1080px; font-size: clamp(28px, 3.9vw, 52px); line-height: 1.14; letter-spacing: -0.035em; font-weight: 500;
}
.define__text .w { color: rgba(238, 242, 236, 0.14); transition: color 0.5s var(--ease); }
.define__text .w.lit { color: var(--text); }
.define__text mark { background: none; color: inherit; }
.define__text mark .w.lit { color: var(--lime); text-shadow: 0 0 30px rgba(198, 243, 107, 0.35); }

.io {
  margin-top: 80px; display: grid; grid-template-columns: 1fr 90px auto 90px 1fr; align-items: center; gap: 0;
}
.io__col { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.io__col li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface); font-size: 14.5px;
  transition: border-color 0.4s, transform 0.4s var(--ease), background 0.4s;
}
.io__col li:hover { border-color: var(--line-2); transform: translateY(-2px); }
.io__in li { justify-content: flex-start; }
.io__ic { width: 22px; color: var(--mint); font-size: 13px; text-align: center; }
.io__out li { border-color: rgba(198, 243, 107, 0.18); background: linear-gradient(90deg, rgba(198, 243, 107, 0.06), transparent); }
.io__out .mono { font-size: 11.5px; color: var(--lime); white-space: nowrap; }
.io__beam { position: relative; height: 70%; display: flex; flex-direction: column; justify-content: space-around; }
.io__beam span {
  display: block; height: 1px; opacity: 0.8;
  background: repeating-linear-gradient(90deg, var(--mint) 0 6px, transparent 6px 14px);
  background-size: 28px 1px; animation: flow 1.1s linear infinite;
  -webkit-mask: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); mask: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
}
.io__beam--out span { background-image: repeating-linear-gradient(90deg, var(--lime) 0 6px, transparent 6px 14px); }
.io__beam span:nth-child(2) { animation-duration: 0.8s; }
.io__beam span:nth-child(3) { animation-duration: 1.4s; }
@keyframes flow { to { background-position: 28px 0; } }
.io__core {
  position: relative; width: 200px; height: 200px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid rgba(198, 243, 107, 0.35);
  background: radial-gradient(circle at 50% 40%, rgba(198, 243, 107, 0.16), rgba(10, 14, 12, 0.95) 70%);
  box-shadow: 0 0 80px -10px rgba(198, 243, 107, 0.35), inset 0 0 40px rgba(198, 243, 107, 0.08);
}
.core__halo { position: absolute; inset: -18px; border-radius: 50%; border: 1px dashed rgba(198, 243, 107, 0.25); animation: rot 22s linear infinite; }
.core__halo::after { content: ""; position: absolute; top: -4px; left: 50%; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); }
.core__mark { width: 54px; height: 54px; animation: rot 9s linear infinite; }
.core__mark .ring { fill: none; stroke-width: 3; stroke-linecap: round; transform-origin: 16px 16px; transform: rotate(-90deg); }
.core__mark .ring--a { stroke: var(--lime); stroke-dasharray: 28 69.1; }
.core__mark .ring--b { stroke: var(--mint); stroke-dasharray: 18 69.1; stroke-dashoffset: -32; }
.core__mark .ring--c { stroke: var(--amber); stroke-dasharray: 11 69.1; stroke-dashoffset: -54; }
.core__mark .core { fill: var(--text); }
.core__label { font-weight: 600; font-size: 20px; letter-spacing: -0.03em; }
.core__label b { color: var(--lime); font-weight: 600; }
.core__sub { font-size: 10.5px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.12em; }

/* ---------- Tools / bento ---------- */
.legend { list-style: none; padding: 0; margin: 26px 0 0; display: flex; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.st { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.st--live { background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.st--beta { background: var(--violet); box-shadow: 0 0 10px var(--violet); }
.st--soon { background: transparent; border: 1.5px dashed var(--muted); }
.lead strong { color: var(--text); font-weight: 500; }

.status {
  display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.1em;
  padding: 4px 9px; border-radius: 999px; margin-right: 6px; border: 1px solid;
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status--live { color: var(--lime); border-color: rgba(198, 243, 107, 0.3); background: rgba(198, 243, 107, 0.06); }
.status--live::before { box-shadow: 0 0 8px currentColor; animation: ping 2.4s infinite; }
.status--beta { color: var(--violet); border-color: rgba(157, 140, 255, 0.35); background: rgba(157, 140, 255, 0.07); }
.status--pilot { color: var(--mint); border-color: rgba(94, 240, 196, 0.3); background: rgba(94, 240, 196, 0.06); }
.status--soon { color: var(--muted); border-color: var(--line-2); border-style: dashed; }
.status--soon::before { background: transparent; border: 1px dashed currentColor; }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile {
  grid-column: span 3; border-radius: 22px; border: 1px solid var(--line); background: var(--surface);
  padding: 28px; display: flex; flex-direction: column; gap: 24px; overflow: hidden;
  transition: border-color 0.4s, transform 0.5s var(--ease);
}
.tile:hover { border-color: var(--line-2); transform: translateY(-3px); }
.tile--plan { grid-column: span 4; }
.tile--recipe { grid-column: span 2; }
.tile h3 { margin: 14px 0 8px; font-size: 23px; line-height: 1.15; letter-spacing: -0.03em; font-weight: 600; }
.tile h3 .serif { font-size: 1.08em; }
.tile p { margin: 0; color: var(--muted); font-size: 15px; }
.tile p strong { color: var(--text); font-weight: 500; }
.tile > :last-child { margin-top: auto; }

/* scan */
.scan { display: grid; grid-template-columns: 180px 1fr; gap: 16px; align-items: stretch; }
.scan__code {
  position: relative; border-radius: 14px; background: #f2f5ef; padding: 18px 16px 12px; display: flex; flex-direction: column; justify-content: center; overflow: hidden;
}
.barcode { width: 100%; height: 70px; }
.barcode rect { fill: #0b0f0c; }
.scan__ean { color: #1b211d; font-size: 11px; text-align: center; margin-top: 6px; letter-spacing: 0.08em; }
.laser {
  position: absolute; left: 8px; right: 8px; top: 20%; height: 2px; border-radius: 2px;
  background: #ff4d4d; box-shadow: 0 0 12px 2px rgba(255, 77, 77, 0.8); animation: laser 1.6s ease-in-out infinite alternate;
}
@keyframes laser { from { top: 16%; } to { top: 70%; } }
.scan.done .laser { opacity: 0; transition: opacity 0.3s; }
.verdict { border-radius: 14px; border: 1px solid var(--line); background: rgba(0, 0, 0, 0.3); padding: 16px; display: flex; flex-direction: column; gap: 10px; min-height: 172px; }
.verdict__prod { display: flex; flex-direction: column; gap: 2px; font-weight: 500; font-size: 15px; }
.verdict__prod .mono { font-size: 11.5px; font-weight: 400; }
.verdict__pill {
  align-self: flex-start; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); color: var(--muted); transition: all 0.5s var(--ease);
}
.verdict__pill.good { background: rgba(198, 243, 107, 0.14); color: var(--lime); box-shadow: 0 0 24px -6px rgba(198, 243, 107, 0.6); }
.verdict__pill.warn { background: rgba(255, 184, 107, 0.14); color: var(--amber); box-shadow: 0 0 24px -6px rgba(255, 184, 107, 0.5); }
.verdict__why { margin: 0; font-size: 13.5px !important; color: var(--muted); min-height: 3em; }
.verdict__why .lockchip { color: var(--violet); }
.verdict .fade { animation: pop 0.5s var(--ease) both; }

/* carta */
.carta { display: grid; gap: 14px; }
.carta__paper {
  position: relative; border-radius: 14px; padding: 18px 20px; overflow: hidden;
  background: linear-gradient(180deg, #f4efe4, #ece5d6); color: #2a241b;
}
.carta__title { display: block; font-size: 22px; margin-bottom: 8px; color: #5a4a30; }
.carta__paper ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.carta__paper li { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; padding: 3px 0; border-bottom: 1px dotted rgba(42, 36, 27, 0.25); }
.carta__paper li::after {
  content: attr(data-label); font-family: var(--mono); font-size: 10.5px; padding: 2px 8px; border-radius: 999px; white-space: nowrap;
  opacity: 0; transform: translateX(8px); transition: all 0.45s var(--ease);
}
.carta__paper li.show::after { opacity: 1; transform: none; }
.carta__paper li[data-v="best"]::after { background: #2f4a0a; color: #d8ff8a; }
.carta__paper li[data-v="good"]::after { background: #16463a; color: #9ff5d8; }
.carta__paper li[data-v="mid"]::after { background: #5a3d12; color: #ffd39e; }
.carta__paper li[data-v="avoid"]::after { background: #5a2a12; color: #ffc3a0; }
.carta__paper li.best { font-weight: 600; }
.carta__sweep {
  position: absolute; left: 0; right: 0; top: -40%; height: 40%; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(198, 243, 107, 0.35), transparent); opacity: 0;
}
.carta.scanning .carta__sweep { animation: sweep 1.3s ease-in-out; }
@keyframes sweep { 0% { top: -40%; opacity: 1; } 100% { top: 100%; opacity: 1; } }
.carta__sum { font-size: 14px !important; opacity: 0; transform: translateY(6px); transition: all 0.5s var(--ease); }
.carta__sum b { color: var(--lime); font-weight: 600; }
.carta__sum.show { opacity: 1; transform: none; }

/* planner */
.planner { display: grid; gap: 14px; }
.seg-mini { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: rgba(0, 0, 0, 0.3); justify-self: start; }
.seg-mini button {
  background: none; border: 0; cursor: pointer; font-size: 13px; padding: 7px 14px; border-radius: 999px; color: var(--muted); transition: all 0.35s var(--ease);
}
.seg-mini button.on { background: var(--text); color: #0a0d0f; }
.pgrid { display: grid; grid-template-columns: 34px repeat(7, 1fr); gap: 6px; }
.pgrid .hd { font-family: var(--mono); font-size: 10.5px; color: var(--dim); text-align: center; padding-bottom: 2px; }
.pgrid .rl { font-family: var(--mono); font-size: 10px; color: var(--dim); display: flex; align-items: center; }
.pcell {
  height: 46px; border-radius: 9px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02);
  font-size: 10.5px; line-height: 1.2; padding: 5px 6px; color: var(--text); overflow: hidden; position: relative;
  opacity: 0.25; transform: scale(0.92); transition: opacity 0.35s, transform 0.45s var(--ease), background 0.4s, border-color 0.4s;
}
.pcell.on { opacity: 1; transform: none; }
.pcell::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--c-src, var(--lime)); }
.pcell.src-rec { --c-src: var(--lime); }
.pcell.src-partner { --c-src: var(--amber); background: rgba(255, 184, 107, 0.06); border-color: rgba(255, 184, 107, 0.2); }
.planner__foot { font-size: 12px; color: var(--muted); }

/* recipe */
.recipe { display: grid; gap: 12px; }
.recipe__url { font-size: 12px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, 0.3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.recipe__card {
  border-radius: 14px; border: 1px solid var(--line); background: rgba(0, 0, 0, 0.3); padding: 14px; display: grid; gap: 8px;
  opacity: 0; transform: translateY(8px); transition: all 0.6s var(--ease);
}
.recipe__card.show { opacity: 1; transform: none; }
.recipe__name { font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.recipe__meta { font-size: 11px; }
.recipe__macros { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; font-size: 11px; color: var(--muted); }
.recipe__macros span { padding: 7px 4px; border-radius: 8px; background: rgba(255, 255, 255, 0.04); text-align: center; }
.recipe__macros b { display: block; font-size: 15px; color: var(--text); font-weight: 500; }
.recipe__macros span:first-child b { color: var(--lime); }
.recipe__flags { display: flex; flex-wrap: wrap; gap: 6px; font-size: 11.5px; }
.recipe__flags .ok { color: var(--lime); }
.recipe__flags .no { color: var(--amber); }

/* cart */
.cart { display: grid; grid-template-columns: 1fr 130px; gap: 16px; align-items: stretch; }
.cart__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.cart__list li {
  display: grid; grid-template-columns: 74px 1fr auto; align-items: center; gap: 10px; font-size: 13.5px; padding: 9px 12px;
  border-radius: 10px; border: 1px solid var(--line); background: rgba(0, 0, 0, 0.25); transition: all 0.55s var(--ease);
}
.cart__list .aisle { font-size: 10px; color: var(--mint); text-transform: uppercase; letter-spacing: 0.08em; }
.cart__list .mono { font-size: 11.5px; }
.cart__list li.gone { opacity: 0.25; transform: translateX(20px) scale(0.97); border-color: rgba(198, 243, 107, 0.3); }
.cart__bag {
  border-radius: 14px; border: 1px dashed var(--line-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  color: var(--muted); position: relative; transition: all 0.4s var(--ease);
}
.cart__bag svg { width: 40px; height: 40px; }
.cart__bag.bump { transform: scale(1.06); color: var(--lime); border-color: rgba(198, 243, 107, 0.5); }
.cart__bag.full { color: var(--lime); border-style: solid; border-color: rgba(198, 243, 107, 0.45); background: rgba(198, 243, 107, 0.06); box-shadow: 0 0 40px -10px rgba(198, 243, 107, 0.5); }
.cart__n { font-size: 26px; color: var(--text); letter-spacing: -0.04em; }
.cart__lbl { font-size: 11.5px; }

/* coach */
.coach { display: flex; flex-direction: column; gap: 10px; }
.coach .msg { animation: none; opacity: 0; transform: translateY(8px); transition: all 0.55s var(--ease); max-width: 92%; }
.coach .show { opacity: 1 !important; transform: none !important; }
.guard {
  align-self: center; font-family: var(--mono); font-size: 11.5px; color: var(--violet); padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(157, 140, 255, 0.4); background: rgba(157, 140, 255, 0.08); opacity: 0; transform: scale(0.9); transition: all 0.5s var(--ease);
}
.guard.show { box-shadow: 0 0 30px -6px rgba(157, 140, 255, 0.6); }
.guard__ic { margin-right: 4px; }

/* ---------- Context ---------- */
.ctx { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.orbit { position: relative; width: min(100%, 460px); aspect-ratio: 1; margin: 0 auto; }
.orbit__ring { position: absolute; border-radius: 50%; border: 1px solid var(--line); }
.orbit__ring--1 { inset: 12%; border-style: dashed; border-color: rgba(94, 240, 196, 0.2); animation: rot 60s linear infinite; }
.orbit__ring--2 { inset: 30%; border-color: rgba(198, 243, 107, 0.15); }
.orbit__center {
  position: absolute; inset: 36%; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle, rgba(198, 243, 107, 0.25), rgba(198, 243, 107, 0.04) 70%);
  border: 1px solid rgba(198, 243, 107, 0.45); box-shadow: 0 0 80px -10px rgba(198, 243, 107, 0.5);
  font-weight: 600; letter-spacing: -0.02em; font-size: clamp(14px, 1.6vw, 17px);
}
.orbit__center::before, .orbit__center::after {
  content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(198, 243, 107, 0.5); animation: ripple 3.2s var(--ease) infinite;
}
.orbit__center::after { animation-delay: 1.6s; }
@keyframes ripple { from { transform: scale(1); opacity: 0.8; } to { transform: scale(2.3); opacity: 0; } }
.orbit__spin { position: absolute; inset: 0; animation: rot 48s linear infinite; }
.node {
  --r: 44%;
  position: absolute; left: calc(50% + cos(var(--a)) * var(--r)); top: calc(50% + sin(var(--a)) * var(--r));
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  translate: -50% -50%;
  padding: 8px 13px; border-radius: 999px; font-size: 13px; border: 1px solid var(--line-2); background: rgba(12, 16, 18, 0.9);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.8);
}
.node i { font-style: normal; color: var(--mint); display: inline-flex; }
.node i svg { width: 12px; height: 12px; }
.orbit__spin .node { animation: counter 48s linear infinite; }
@keyframes counter { from { rotate: 0deg; } to { rotate: -360deg; } }

.insights {
  border-radius: 22px; border: 1px solid var(--line-2); padding: 24px; min-height: 330px; display: flex; flex-direction: column; gap: 16px;
  background: linear-gradient(180deg, rgba(20, 25, 28, 0.9), rgba(10, 13, 15, 0.9)); box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.9);
}
.insights__head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.dots-nav { display: inline-flex; gap: 6px; }
.dots-nav button { width: 18px; height: 4px; border-radius: 4px; border: 0; padding: 0; cursor: pointer; background: rgba(255, 255, 255, 0.12); transition: all 0.4s var(--ease); }
.dots-nav button.on { width: 30px; background: var(--lime); }
.insights__stage { position: relative; flex: 1; display: grid; }
.ins { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 14px; opacity: 0; transform: translateY(12px); filter: blur(4px); transition: all 0.6s var(--ease); pointer-events: none; }
.ins.on { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.ins__pair { display: inline-flex; gap: 6px; align-items: center; font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.ins__pair b { color: var(--mint); font-weight: 500; }
.ins__pair b + b { color: var(--lime); }
.ins h4 { margin: 0; font-size: 22px; letter-spacing: -0.03em; font-weight: 600; line-height: 1.2; }
.ins p { margin: 0; color: var(--muted); font-size: 15px; }
.ins p .n { font-family: var(--mono); color: var(--text); background: rgba(198, 243, 107, 0.1); padding: 1px 6px; border-radius: 6px; }
.ins__viz { display: flex; gap: 14px; align-items: flex-end; margin-top: auto; }
.ins__bar { flex: 1; display: grid; gap: 6px; font-size: 11.5px; color: var(--dim); }
.ins__bar span { display: block; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.ins__bar span i { display: block; height: 100%; width: 0; border-radius: 8px; transition: width 1.2s 0.2s var(--ease); }
.ins.on .ins__bar span i { width: var(--w); }
.ins__bar--a i { background: var(--amber); }
.ins__bar--b i { background: var(--lime); }
.ins__act { font-size: 13px; color: var(--text); padding: 10px 12px; border-radius: 10px; background: rgba(198, 243, 107, 0.06); border: 1px solid rgba(198, 243, 107, 0.2); }
.ins__act b { color: var(--lime); font-weight: 500; }
.insights__note { margin: 0; }

.rules { list-style: none; padding: 0; margin: 72px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.rules li { background: var(--bg); padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.rules b { font-weight: 600; letter-spacing: -0.01em; }
.rules span { color: var(--muted); font-size: 14px; }

.tiers { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tier { border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.tier h4 { margin: 6px 0 0; font-size: 20px; letter-spacing: -0.02em; font-weight: 600; }
.tier p { margin: 0 0 12px; color: var(--muted); font-size: 14.5px; }
.tier .status { margin-top: auto; align-self: flex-start; }
.tier__n { font-size: 12px; color: var(--dim); }
.tier--hl { border-color: rgba(94, 240, 196, 0.35); background: linear-gradient(180deg, rgba(94, 240, 196, 0.07), transparent); }
.tier--soon { border-style: dashed; }

/* ---------- Portable profile ---------- */
.portable { overflow: hidden; }
.port__glow {
  position: absolute; left: 50%; top: 38%; width: 1100px; height: 700px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(94, 240, 196, 0.09), transparent 70%);
}
.portable .section__head .status { margin-top: 22px; }
.port { display: grid; grid-template-columns: 340px 1fr; gap: 72px; align-items: center; }

.phone {
  position: relative; width: 320px; height: 640px; margin: 0 auto; border-radius: 48px; padding: 12px;
  background: linear-gradient(160deg, #1d2427, #0c1012 40%, #151b1e);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 50px 120px -30px rgba(0, 0, 0, 0.95), 0 0 90px -30px rgba(94, 240, 196, 0.35), inset 0 0 0 2px rgba(255, 255, 255, 0.04);
}
.phone__island { position: absolute; top: 22px; left: 50%; width: 96px; height: 26px; transform: translateX(-50%); border-radius: 20px; background: #000; z-index: 5; }
.phone__screen { position: relative; height: 100%; border-radius: 38px; overflow: hidden; background: #f4f6f2; color: #111613; }
.pbar { position: absolute; top: 0; left: 0; right: 0; height: 52px; padding: 16px 26px 0; display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; z-index: 4; color: #111613; }
.pbar__app { opacity: 0; }
.ps { position: absolute; inset: 0; padding: 74px 22px 24px; display: flex; flex-direction: column; gap: 12px; opacity: 0; transform: translateX(24px); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); pointer-events: none; }
.ps.on { opacity: 1; transform: none; }
.ps.out { opacity: 0; transform: translateX(-24px); }
.ps__eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: #4b8a18; }
.ps h5 { margin: 0; font-size: 26px; line-height: 1.1; letter-spacing: -0.035em; font-weight: 600; }
.ps p { margin: 0 0 10px; font-size: 14px; color: #5b645f; }
.pbtn {
  position: relative; display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; border: 0; cursor: default; overflow: hidden;
  padding: 14px 16px; border-radius: 16px; font: inherit; transition: transform 0.25s var(--ease), box-shadow 0.3s;
}
.pbtn b { display: block; font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; }
.pbtn small { display: block; font-size: 12px; opacity: 0.7; margin-top: 1px; }
.pbtn--import { background: #0b0f0d; color: #fff; box-shadow: 0 10px 30px -10px rgba(11, 15, 13, 0.6); }
.pbtn--import svg { width: 30px; height: 30px; flex: none; }
.pbtn--create { background: #fff; color: #111613; border: 1px solid #dfe4dd; }
.pbtn.press { transform: scale(0.97); }
.ps__fine { margin-top: auto !important; font-size: 12px !important; text-align: center; color: #7a847e !important; }
.pbtn svg .ring, .sheet__mark .ring { fill: none; stroke-width: 3; stroke-linecap: round; transform-origin: 16px 16px; transform: rotate(-90deg); }
.pbtn svg .ring--a, .sheet__mark .ring--a { stroke: var(--lime); stroke-dasharray: 28 69.1; }
.pbtn svg .ring--b, .sheet__mark .ring--b { stroke: var(--mint); stroke-dasharray: 18 69.1; stroke-dashoffset: -32; }
.pbtn svg .ring--c, .sheet__mark .ring--c { stroke: var(--amber); stroke-dasharray: 11 69.1; stroke-dashoffset: -54; }
.pbtn svg .core { fill: #fff; }
.sheet__mark .core { fill: #111613; }
.tap { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: rgba(198, 243, 107, 0.7); opacity: 0; pointer-events: none; }
.tap.go { animation: tap 0.7s var(--ease); }
@keyframes tap { 0% { opacity: 0.9; transform: scale(1); } 100% { opacity: 0; transform: scale(26); } }

.ps--b { padding: 0; justify-content: flex-end; background: rgba(10, 14, 12, 0.45); }
.sheet {
  background: #fff; border-radius: 26px 26px 0 0; padding: 12px 20px 26px; display: flex; flex-direction: column; gap: 14px;
  transform: translateY(100%); transition: transform 0.6s var(--ease);
}
.ps--b.on .sheet { transform: none; }
.sheet__grab { width: 40px; height: 5px; border-radius: 5px; background: #dcdfdb; align-self: center; }
.sheet__head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.sheet__head b { font-size: 16px; line-height: 1.25; letter-spacing: -0.02em; }
.sheet__head small { font-size: 12px; color: #6b746f; }
.sheet__icons { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.app-ic--sm { width: 38px; height: 38px; border-radius: 11px; font-size: 16px; }
.sheet__link { color: #9aa39e; font-size: 16px; }
.sheet__mark { width: 38px; height: 38px; padding: 3px; border-radius: 11px; background: #eef3e6; }
.sheet__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #edf0ec; }
.sheet__list li { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #edf0ec; font-size: 13.5px; opacity: 0; transform: translateY(6px); transition: all 0.4s var(--ease); }
.sheet__list li.show { opacity: 1; transform: none; }
.sheet__list li.off span { color: #9aa39e; }
.sheet__list em { font-style: normal; font-size: 11.5px; color: #7d6ee0; }
.ck { width: 20px; height: 20px; border-radius: 50%; background: #9ed63a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.3 2.2 2.2 4.8-5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.pbtn--allow { justify-content: center; background: #0b0f0d; color: #fff; font-weight: 600; font-size: 15px; }

.ps--c { align-items: center; text-align: center; }
.done__ring svg { width: 64px; height: 64px; margin-top: 18px; }
.done__ring circle { fill: none; stroke: #7fbf22; stroke-width: 2.5; stroke-dasharray: 151; stroke-dashoffset: 151; }
.done__ring path { fill: none; stroke: #7fbf22; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 36; stroke-dashoffset: 36; }
.ps--c.on .done__ring circle { animation: draw 0.7s 0.2s var(--ease) forwards; }
.ps--c.on .done__ring path { animation: draw 0.45s 0.75s var(--ease) forwards; }
.done__sub { font-size: 11.5px !important; color: #4b8a18 !important; margin-top: -4px !important; }
.fields { list-style: none; margin: 4px 0 0; padding: 0; width: 100%; display: grid; gap: 6px; text-align: left; }
.fields li { display: flex; justify-content: space-between; padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid #e6eae4; font-size: 13px; opacity: 0; transform: translateY(8px); transition: all 0.45s var(--ease); }
.fields li.show { opacity: 1; transform: none; }
.fields span { color: #6b746f; }
.fields b { font-weight: 600; }
.pbtn--go { margin-top: auto; justify-content: center; background: #c6f36b; color: #0b1204; font-weight: 600; }

.port__side { display: grid; gap: 36px; }
.hub { border-radius: 22px; border: 1px solid var(--line); background: var(--surface); padding: 20px 20px 16px; }
.hub svg { width: 100%; height: auto; overflow: visible; }
.hub__lines line { stroke: rgba(255, 255, 255, 0.1); stroke-width: 1.2; stroke-dasharray: 4 5; transition: stroke 0.6s; }
.hub__lines line.on { stroke: var(--lime); stroke-dasharray: 6 6; animation: dash 0.9s linear infinite; }
.hub__lines line.new { stroke: var(--mint); stroke-dasharray: 6 6; animation: dash 0.5s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -24; } }
.hc__bg { fill: #141c12; }
.hc__ring { fill: none; stroke: rgba(198, 243, 107, 0.6); stroke-width: 1.2; }
.hub__center { filter: drop-shadow(0 0 22px rgba(198, 243, 107, 0.35)); }
.hc__t1 { fill: var(--muted); font-size: 11px; font-family: var(--mono); }
.hc__t2 { fill: var(--text); font-size: 17px; font-weight: 600; font-family: var(--sans); }
.hn rect { fill: #0e1315; stroke: var(--line-2); transition: all 0.5s var(--ease); }
.hn text { fill: var(--dim); font-size: 12.5px; font-family: var(--sans); transition: fill 0.5s; }
.hn.on rect { stroke: rgba(198, 243, 107, 0.6); fill: rgba(198, 243, 107, 0.08); }
.hn.on text { fill: var(--text); }
.hn.new rect { stroke: var(--mint); fill: rgba(94, 240, 196, 0.1); }
.hn.new text { fill: var(--text); }
.hub__legend { display: flex; gap: 16px; justify-content: center; font-size: 11px; color: var(--dim); margin-top: 8px; flex-wrap: wrap; }
.hub__legend span { display: inline-flex; align-items: center; gap: 6px; }
.lk { width: 14px; height: 2px; border-radius: 2px; background: var(--lime); display: inline-block; }
.lk--new { background: var(--mint); }
.lk--off { background: rgba(255, 255, 255, 0.2); }
.port__benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.port__benefits li { display: flex; gap: 14px; }
.pb__ic { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: var(--lime); background: rgba(198, 243, 107, 0.08); border: 1px solid rgba(198, 243, 107, 0.2); font-size: 15px; }
.port__benefits b { font-weight: 600; letter-spacing: -0.01em; }
.port__benefits p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .port { grid-template-columns: 1fr; gap: 48px; }
  .io { grid-template-columns: 1fr; gap: 16px; justify-items: center; }
  .io__col { width: 100%; max-width: 520px; }
  .io__beam { width: 1px; height: 50px; flex-direction: row; }
  .io__beam span { width: 1px; height: 100%; background: repeating-linear-gradient(180deg, var(--mint) 0 6px, transparent 6px 14px); background-size: 1px 28px; animation: flowv 1s linear infinite; -webkit-mask: none; mask: none; }
  .io__beam span:nth-child(n+2) { display: none; }
  .io__beam--out span { background-image: repeating-linear-gradient(180deg, var(--lime) 0 6px, transparent 6px 14px); }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile, .tile--plan, .tile--recipe { grid-column: span 1; }
  .tile--plan { grid-column: 1 / -1; }
  .ctx { grid-template-columns: 1fr; }
  .rules { grid-template-columns: 1fr 1fr; }
}
@keyframes flowv { to { background-position: 0 28px; } }
@media (max-width: 1020px) {
  .grid-2 { grid-template-columns: 1fr; gap: 48px; }
  .sticky, .consent { position: static; }
  .verbs, .aud { grid-template-columns: 1fr 1fr; }
  .verbs .card:last-child { grid-column: 1 / -1; }
  .tabpanel { grid-template-columns: 1fr; }
  .proof__card { grid-template-columns: 1fr; padding: 40px; gap: 36px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline li:nth-child(2) { border-right: 0; }
  .timeline li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 820px) {
  .log__input { font-size: 13px; line-height: 1.4; }
  .nav__links { display: none; }
  .nav__inner { justify-content: space-between; }
  .console__body { grid-template-columns: 1fr; }
  .console__body { height: auto; }
  .chat { border-right: 0; border-bottom: 1px solid var(--line); height: 480px; }
  .panel { display: grid; grid-template-columns: 1fr; }
  .rings { flex-direction: row; align-items: center; }
  .ring-big { width: 130px; height: 130px; flex: none; }
  .ring-big__label .num { font-size: 28px; }
}
@media (max-width: 640px) {
  .port__benefits { grid-template-columns: 1fr; }
  .phone { width: 290px; height: 590px; }
  .hub { padding: 14px 8px 12px; }
  .demo { height: 284px; }
  .bento, .tiers, .rules { grid-template-columns: 1fr; }
  .tile--plan { grid-column: auto; }
  .tile { padding: 22px; }
  .scan { grid-template-columns: 1fr; }
  .cart { grid-template-columns: 1fr; }
  .cart__bag { flex-direction: row; padding: 12px; gap: 10px; }
  .cart__list li { grid-template-columns: 1fr auto; }
  .cart__list .aisle { display: none; }
  .pgrid { grid-template-columns: 26px repeat(7, 1fr); gap: 4px; }
  .pcell { height: 34px; font-size: 0; padding: 0; }
  .seg-mini button { padding: 7px 10px; font-size: 12px; }
  .orbit { width: min(100%, 320px); }
  .node { font-size: 11px; padding: 5px 9px; gap: 5px; --r: 36%; }
  .define__text { font-size: 27px; }
  .io { margin-top: 48px; }
  .wrap { padding: 0 16px; }
  .nav__inner { padding: 12px 16px; }
  .hero { padding: 120px 0 40px; }
  .section { padding: 90px 0; }
  .verbs, .aud, .program, .devgrid, .form__row { grid-template-columns: 1fr; }
  .verbs .card:last-child { grid-column: auto; }
  .steps, .timeline { grid-template-columns: 1fr; }
  .timeline li { border-right: 0; border-bottom: 1px solid var(--line); }
  .timeline li:last-child { border-bottom: 0; }
  .features li { grid-template-columns: 1fr; gap: 2px; }
  .proof__card { padding: 28px; }
  .proof__stats { grid-template-columns: 1fr 1fr; }
  .stat__n { font-size: 26px; }
  .chat { padding: 18px; }
  .msg { max-width: 94%; font-size: 14px; }
  .rings { flex-direction: column; }
  .console { --rx: 0deg !important; --s: 1 !important; }
  .truth { flex-direction: column; align-items: flex-start; }
  .seg { grid-template-columns: 1fr; }
  .code { font-size: 12px; padding: 20px; }
  .tp__copy { padding: 24px; }
  .scopes li { grid-template-columns: 1fr auto; }
  .scopes li .mono { display: none; }
  .hero__cta .btn { width: 100%; }
  .replay { position: static; display: block; margin: 14px auto 0; }
}

@media (min-width: 641px) and (max-width: 700px) {
  .demo { height: 294px; }
  .log__input { height: 80px; }
}

@media (max-width: 380px) {
  .demo { height: 306px; }
  .log__input { height: 82px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .console { --rx: 0deg; --s: 1; }
}


/* ---------- vínculo con la matriz (DataliOS) ---------- */
.byline{display:inline-flex;align-items:center;gap:8px;margin-left:2px;padding-left:16px;
  border-left:1px solid var(--line);font-size:12px;line-height:1.2;color:var(--dim);transition:color .3s var(--ease);}
.byline:hover{color:var(--text);}
.byline__mark{width:15px;height:15px;flex:none;}
.byline__mark .t{fill:none;stroke:currentColor;stroke-width:2.4;stroke-linejoin:round;}
.byline__mark .f{fill:currentColor;}
.byline span{white-space:nowrap;}
.byline b{font-weight:600;color:var(--muted);transition:color .3s;}
.byline:hover b{color:var(--text);}
@media (max-width:1100px){.byline{display:none;}}

.parent-link{display:inline-flex;align-items:center;gap:9px;margin-top:18px;padding:9px 15px;border-radius:999px;
  border:1px solid var(--line);font-size:13px;color:var(--muted);
  transition:border-color .3s,color .3s,transform .35s var(--ease);}
.parent-link:hover{color:var(--text);border-color:var(--line-2);transform:translateY(-2px);}
.parent-link svg{width:15px;height:15px;flex:none;}
.parent-link .t{fill:none;stroke:currentColor;stroke-width:2.4;stroke-linejoin:round;}
.parent-link .f{fill:currentColor;}
.parent-link b{font-weight:600;color:var(--text);}
.sibling{margin-top:12px;font-size:13px;color:var(--dim);}
.sibling a{color:var(--muted);border-bottom:1px solid transparent;transition:color .3s,border-color .3s;}
.sibling a:hover{color:var(--text);border-bottom-color:currentColor;}
