/* Cyberdes SafeAI — product page (index.html, the store listings' Marketing URL).
   Loaded on the index only, after site.css. Always dark: the palette comes from the
   Cyberdes shield-and-cube logo (navy #013f66 → teal #089ebc → cyan #00c4d9). */

body.page-index {
  --bg: #03101b; --surface: #0a1b29; --raised: #10283a; --line: rgba(150, 210, 235, .12);
  --ink: #ecf6fa; --muted: #9cb4c4; --faint: #6b8496; --link: #4fd6ea; --signal: #19c8de;
  --cyan: #19c8de; --teal: #089ebc; --navy: #013f66; --green: #34d399; --red: #ff6b6b;
  --panel: rgba(255, 255, 255, .035); --panel-line: rgba(160, 215, 240, .11);
  color-scheme: dark; background: var(--bg); color: var(--ink); overflow-x: hidden;
}
html:has(body.page-index) { scroll-padding-top: 80px; background: #03101b; }

/* ── header: transparent over the hero, solid once the page scrolls ───────── */
.page-index .top {
  position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none; transition: background .25s, border-color .25s;
}
.page-index .top.scrolled {
  background: rgba(3, 16, 27, .8); border-bottom-color: var(--line);
  backdrop-filter: saturate(1.5) blur(16px); -webkit-backdrop-filter: saturate(1.5) blur(16px);
}
.page-index .top .bar { max-width: 1200px; padding: 14px 24px; }
.page-index .brand img { filter: drop-shadow(0 2px 10px rgba(25, 200, 222, .35)); }
.page-index .top nav a { color: var(--muted); }
.page-index .top nav a:hover { color: var(--ink); background: rgba(255, 255, 255, .06); }
.page-index .lang { background: rgba(255, 255, 255, .04); border-color: var(--panel-line); }
.page-index .lang button[aria-pressed='true'] { background: #fff; color: #03101b; }
.nav-cta {
  text-decoration: none; font-weight: 700; font-size: 14.5px; white-space: nowrap;
  color: #032330; background: var(--cyan); padding: 9px 16px; border-radius: 12px; transition: filter .15s;
}
.nav-cta:hover { filter: brightness(1.1); }
@media (max-width: 980px) {
  .page-index .top nav { display: none; }
  .page-index .lang { margin-left: auto; }
}
@media (max-width: 640px) {
  .page-index .top .bar { flex-wrap: nowrap; padding: 10px 16px; gap: 10px; }
  .nav-cta { padding: 8px 13px; font-size: 14px; }
}

/* ── page frame ──────────────────────────────────────────────────────────── */
.page-index .page { max-width: none; padding: 0; display: block; }
.lp { overflow: hidden; }
.lp .wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.lp h1, .lp h2 { display: block; margin: 0; color: var(--ink); font-family: 'Archivo SemiExpanded', 'Archivo', sans-serif; }
.lp h2::before { display: none; }
.lp p { margin: 0; }
.lp ul { list-style: none; margin: 0; padding: 0; }
.lp li { margin: 0; color: inherit; }
.lp .anchor { display: none; }
.lp svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* the logo's cube angles (30° / 150°) as a faint isometric grid */
.hero::after, .final-inner::after, .feats::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background-image:
    linear-gradient(30deg, transparent calc(50% - .6px), rgba(120, 205, 235, .09) 50%, transparent calc(50% + .6px)),
    linear-gradient(150deg, transparent calc(50% - .6px), rgba(120, 205, 235, .09) 50%, transparent calc(50% + .6px));
  background-size: 64px 36.95px;
}

/* ── hero ────────────────────────────────────────────────────────────────── */
.hero { position: relative; isolation: isolate; padding: 112px 0 0; text-align: center; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(46% 34% at 50% 6%, rgba(8, 158, 188, .26), transparent 72%),
    radial-gradient(38% 30% at 50% 74%, rgba(25, 200, 222, .22), transparent 72%),
    linear-gradient(180deg, #051a2b 0%, var(--bg) 78%);
}
.hero::after { mask-image: radial-gradient(56% 48% at 50% 36%, #000, transparent 78%); -webkit-mask-image: radial-gradient(56% 48% at 50% 36%, #000, transparent 78%); }
.hero-logo { display: block; width: 54px; height: auto; margin: 0 auto 22px; filter: drop-shadow(0 12px 32px rgba(25, 200, 222, .5)); }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 15px 7px 12px; border-radius: 999px;
  border: 1px solid var(--panel-line); background: rgba(255, 255, 255, .04);
  font: 500 11.5px/1.4 'Martian Mono', ui-monospace, monospace; letter-spacing: .04em; color: #bfe6ef;
}
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(52, 211, 153, .18); }
.lp h1 {
  margin: 22px auto 0; font-weight: 800; font-size: clamp(42px, 5.6vw, 78px); line-height: 1.0; letter-spacing: -0.035em;
}
.lp h1 em { font-style: normal; color: var(--cyan); }
.lead { max-width: 640px; margin: 22px auto 0 !important; font-size: clamp(17px, 1.35vw, 19.5px); line-height: 1.6; color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; min-width: 196px; padding: 11px 22px 11px 16px; border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .04); color: var(--ink); text-decoration: none;
  text-align: left; transition: background .15s, border-color .15s, transform .15s;
}
.store:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .35); transform: translateY(-1px); }
.store svg { width: 26px; height: 26px; flex: none; }
.store span { font: 700 17.5px/1.15 'Archivo', sans-serif; }
.store small { display: block; font-weight: 500; font-size: 11.5px; color: var(--muted); margin-bottom: 2px; }
.store-main { background: #fff; border-color: #fff; color: #03101b; }
.store-main small { color: #4a6474; }
.store-main:hover { background: #e6f9fc; border-color: #e6f9fc; }
.hero-note { margin-top: 18px !important; font-size: 14px; color: var(--faint); }

/* phones */
/* every measure follows --w, the phone's width (percentage padding would follow the page instead) */
.dev {
  --w: 300px; position: relative; margin: 0; width: var(--w); padding: calc(var(--w) * .026); border-radius: calc(var(--w) * .156);
  background: linear-gradient(145deg, #1b2a36, #0a131b 40%, #121e28);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 0, 0, .6);
}
.dev img { display: block; width: 100%; height: auto; border-radius: calc(var(--w) * .13); background: #f2f4f3; }
.dev::after {
  content: ''; position: absolute; left: 50%; top: calc(var(--w) * .052); width: calc(var(--w) * .3); height: calc(var(--w) * .088); transform: translateX(-50%);
  border-radius: 99px; background: #000;
}
.devices { position: relative; height: 640px; margin: 52px auto 0;
  mask-image: linear-gradient(to bottom, #000 84%, transparent 100%); -webkit-mask-image: linear-gradient(to bottom, #000 84%, transparent 100%); }
.devices::before {
  content: ''; position: absolute; left: 50%; top: 4%; width: 780px; height: 560px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(25, 200, 222, .34), rgba(8, 158, 188, .1) 60%, transparent);
}
/* three upright phones on one line, the middle one forward */
.devices .dev { position: absolute; left: 50%; top: 0; }
.dev-c { --w: 300px; z-index: 2; transform: translateX(-50%); }
.dev-l, .dev-r { --w: 256px; top: 56px !important; z-index: 1; }
.dev-l { transform: translateX(calc(-50% - 304px)); }
.dev-r { transform: translateX(calc(-50% + 304px)); }
.dev-l img, .dev-r img { filter: brightness(.86); }
.chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 14px; text-align: left;
  border-radius: 16px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(8, 26, 41, .82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .7);
  font-size: 13px; line-height: 1.35; color: var(--muted);
}
.chip b { display: block; font-size: 14.5px; color: var(--ink); }
.chip i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.chip i.red { background: var(--red); box-shadow: 0 0 0 5px rgba(255, 107, 107, .18); }
.chip i.green { background: var(--green); box-shadow: 0 0 0 5px rgba(52, 211, 153, .18); }
.chip i.cyan { background: var(--cyan); box-shadow: 0 0 0 5px rgba(25, 200, 222, .2); }
.chip-1 { right: calc(50% + 402px); top: 300px; }
.chip-2 { left: calc(50% + 402px); top: 150px; }

/* trust band */
.trust {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; padding: 26px 24px !important;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .015);
}
.trust li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: #cfe3eb; }
.trust svg { width: 20px; height: 20px; color: var(--cyan); flex: none; }

/* ── sections ────────────────────────────────────────────────────────────── */
.sect { padding-top: 136px; }
.sect-head { max-width: 780px; margin: 0 auto 60px; text-align: center; }
.kicker { font: 500 12px/1 'Martian Mono', ui-monospace, monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); margin-bottom: 18px !important; }
.lp h2 { font-weight: 800; font-size: clamp(32px, 3.9vw, 54px); line-height: 1.05; letter-spacing: -0.03em; }
.sub { margin: 20px auto 0 !important; max-width: 640px; font-size: 18px; line-height: 1.6; color: var(--muted); }
.sub a { color: var(--link); }
.ticks li { position: relative; padding-left: 28px; margin: 9px 0; font-size: 15px; line-height: 1.5; color: #cfe2ea; }
.ticks li::before {
  content: ''; position: absolute; left: 2px; top: .38em; width: 12px; height: 6px;
  border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(-45deg);
}

/* ── features: a phone on a stage + the list beside it ───────────────────── */
.feats { position: relative; isolation: isolate; }
.feat-h {
  appearance: none; border: 0; background: none; width: 100%; display: flex; align-items: center; gap: 16px;
  padding: 22px 6px; font: inherit; color: var(--muted); text-align: left; cursor: pointer;
}
.feat-h .num { font: 500 12px/1 'Martian Mono', ui-monospace, monospace; color: var(--faint); width: 24px; flex: none; }
.feat-h b { flex: 1; font: 700 22px/1.2 'Archivo SemiExpanded', 'Archivo', sans-serif; letter-spacing: -0.01em; color: inherit; transition: color .2s; }
.feat-h:hover b { color: var(--ink); }
.tag {
  font: 500 10.5px/1 'Martian Mono', ui-monospace, monospace; letter-spacing: .05em; text-transform: uppercase;
  padding: 6px 9px; border-radius: 999px; border: 1px solid var(--panel-line); color: var(--muted); flex: none;
}
.tag-pro { color: #032330; background: var(--cyan); border-color: var(--cyan); }
.feat.on .feat-h { color: var(--ink); }
.feat.on .num { color: var(--cyan); }
.feat-b p { color: var(--muted); font-size: 16.5px; line-height: 1.65; margin-bottom: 12px !important; }
.prog { display: block; height: 2px; margin: 22px 0 26px; border-radius: 2px; background: var(--line); overflow: hidden; }
.prog i { display: block; width: 0; height: 100%; background: var(--cyan); }
.feats:not(.auto) .prog { visibility: hidden; margin: 10px 0 14px; }

@media (min-width: 900px) {
  .feats { display: flex; flex-direction: column; justify-content: center; min-height: 780px; padding-left: 53%; }
  .feats::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 46%; z-index: -2; border-radius: 32px;
    border: 1px solid var(--panel-line);
    background: radial-gradient(52% 42% at 50% 52%, rgba(25, 200, 222, .3), transparent 75%), linear-gradient(180deg, #0a2234, #061624);
  }
  .feats::after { right: 54%; border-radius: 32px; mask-image: radial-gradient(60% 50% at 50% 50%, #000, transparent); -webkit-mask-image: radial-gradient(60% 50% at 50% 50%, #000, transparent); }
  .feat { border-bottom: 1px solid var(--line); }
  .feat:first-child { border-top: 1px solid var(--line); }
  .feat .dev {
    --w: 304px; position: absolute; left: 23%; top: 50%; opacity: 0; pointer-events: none;
    transform: translate(-50%, -50%) scale(.96); transition: opacity .5s ease, transform .6s cubic-bezier(.2, .7, .2, 1);
  }
  .feat.on .dev { opacity: 1; transform: translate(-50%, -50%); }
  .feat-b { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.2, .7, .2, 1); }
  .feat-b > div { overflow: hidden; padding-left: 46px; }
  .feat.on .feat-b { grid-template-rows: 1fr; }
  .feats.auto .feat.on .prog i { animation: fill 8s linear forwards; }
  .feats.paused .feat.on .prog i { animation-play-state: paused; }
}
@keyframes fill { to { width: 100%; } }

@media (max-width: 899px) {
  .feats {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 -24px; padding: 0 24px 6px; scroll-padding: 0 24px;
  }
  .feats::-webkit-scrollbar { display: none; }
  .feats::after { display: none; }
  .feat {
    flex: 0 0 min(84%, 380px); scroll-snap-align: center; overflow: hidden; padding: 0 22px 18px;
    border-radius: 26px; border: 1px solid var(--panel-line);
    background: radial-gradient(80% 40% at 50% 12%, rgba(25, 200, 222, .26), transparent 75%), linear-gradient(180deg, #0a2234, #071826);
  }
  .feat .dev {
    --w: 200px; height: 330px; margin: 28px auto 0; overflow: hidden;
    border-radius: calc(var(--w) * .156) calc(var(--w) * .156) 0 0; padding-bottom: 0;
    mask-image: linear-gradient(to bottom, #000 72%, transparent); -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent);
  }
  .feat-h { padding: 8px 0 10px; cursor: default; color: var(--ink); }
  .feat-h .num { color: var(--cyan); width: auto; }
  .feat-h b { font-size: 20px; }
  .feat-b p { font-size: 15.5px; }
  .prog { display: none; }
}

/* ── bento ───────────────────────────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.b {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 8px; padding: 28px 26px 26px;
  border-radius: 24px; border: 1px solid var(--panel-line); background: var(--panel); transition: border-color .2s, background .2s;
}
.b:hover { border-color: rgba(25, 200, 222, .35); background: rgba(255, 255, 255, .05); }
.b > svg { width: 30px; height: 30px; color: var(--cyan); margin-bottom: 18px; }
.b > b, .b-text b { font: 700 18px/1.3 'Archivo SemiExpanded', 'Archivo', sans-serif; color: var(--ink); }
.b > span, .b-text span { font-size: 15px; line-height: 1.55; color: var(--muted); }
.b-score {
  grid-column: span 2; grid-row: span 2; padding: 32px; gap: 24px;
  background: radial-gradient(70% 60% at 50% 100%, rgba(25, 200, 222, .22), transparent 72%), linear-gradient(180deg, #0a2234, #071826);
}
.b-text { display: flex; flex-direction: column; gap: 8px; max-width: 440px; }
.b-text b { font-size: 24px; }
/* privacy score, drawn (the app's real items and weights: security_center_screen.dart) */
.score {
  display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 28px; align-items: center; margin-top: auto;
  padding: 22px 24px; border-radius: 20px; border: 1px solid var(--panel-line); background: rgba(3, 16, 27, .6);
}
.ring { position: relative; width: 148px; height: 148px; }
.ring svg { display: block; width: 100%; height: 100%; }
.ring-track { stroke: rgba(255, 255, 255, .08); stroke-width: 10; }
.ring-arc {
  stroke: var(--green); stroke-width: 10; stroke-dasharray: 277.7 400;
  transition: stroke-dashoffset 1.4s cubic-bezier(.2, .7, .2, 1) .25s;
}
.rv-hide .ring-arc { stroke-dashoffset: 277.7; }
.ring p { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.ring b { font: 800 44px/1 'Archivo SemiExpanded', 'Archivo', sans-serif; letter-spacing: -0.03em; color: var(--ink); }
.ring small { font: 500 12px/1 'Martian Mono', ui-monospace, monospace; color: var(--muted); }
.score-items li {
  display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line);
  font-size: 14px; line-height: 1.35; color: #d3e6ed;
}
.score-items li:last-child { border-bottom: 0; }
.score-items li::before {
  content: ''; flex: none; width: 10px; height: 5px; margin: 0 2px 3px 2px;
  border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg);
}
.score-items li.todo::before { width: 8px; height: 8px; margin: 0 3px; border: 2px solid #f1b23e; border-radius: 50%; transform: none; }
.score-items span { flex: 1; }
.score-items em { font: 500 12px/1 'Martian Mono', ui-monospace, monospace; font-style: normal; color: var(--green); }
.score-items li.todo { color: var(--ink); font-weight: 600; }
.score-items li.todo em { color: #f1b23e; }
.score-base { display: flex; gap: 12px; justify-content: space-between; font-size: 13px; color: var(--faint); }
.score-base em { font: 500 12px/1.4 'Martian Mono', ui-monospace, monospace; font-style: normal; color: var(--muted); }
.b-signed, .b-wide { grid-column: span 2; }
.b-langs {
  grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); column-gap: 48px; row-gap: 8px;
  align-items: center; padding: 34px 32px;
}
.b-langs > b { grid-column: 1; grid-row: 1; align-self: end; font-size: 24px; }
.b-langs > span { grid-column: 1; grid-row: 2; align-self: start; }
.langs { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.langs span {
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--panel-line); background: rgba(255, 255, 255, .03);
  font-size: 18px; font-weight: 600; color: #dcedf3;
}
.langs span:first-child { border-color: rgba(25, 200, 222, .5); color: var(--cyan); }

/* ── models: the app is not tied to one AI ──────────────────────────────── */
.models { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.model {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px 24px 24px;
  border-radius: 24px; border: 1px solid var(--panel-line); background: var(--panel);
}
.model-main {
  border-color: rgba(25, 200, 222, .5);
  background: radial-gradient(90% 60% at 50% 0%, rgba(25, 200, 222, .16), transparent 72%), #071d2c;
}
.model > b { padding-right: 86px; font: 700 19px/1.25 'Archivo SemiExpanded', 'Archivo', sans-serif; color: var(--ink); }
.model-tag {
  position: absolute; top: 24px; right: 20px; max-width: 110px; padding: 5px 9px; border-radius: 999px; text-align: center;
  font: 500 10px/1.2 'Martian Mono', ui-monospace, monospace; letter-spacing: .05em; text-transform: uppercase;
  color: var(--cyan); border: 1px solid rgba(25, 200, 222, .45);
}
.model-tag-pro { color: #032330; background: var(--cyan); border-color: var(--cyan); }
.model-id { font: 500 12px/1.45 'Martian Mono', ui-monospace, monospace; color: var(--muted); }
.specs { margin: 14px 0 12px !important; border-top: 1px solid var(--line); }
.specs li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink); text-align: right; }
.specs span { color: var(--muted); text-align: left; }
.model-note { font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.models-foot { max-width: 760px; margin: 26px auto 0 !important; text-align: center; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
@media (max-width: 1100px) { .models { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .models { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .model { padding: 22px 20px 20px; }
}

/* ── how it works ────────────────────────────────────────────────────────── */
.how { background: linear-gradient(180deg, transparent, rgba(1, 63, 102, .16) 30%, rgba(1, 63, 102, .16) 70%, transparent); padding-bottom: 20px; }
.flow { display: grid; grid-template-columns: 340px minmax(0, 1fr); align-items: center; max-width: 1000px; margin: 0 auto; }
.node {
  position: relative; z-index: 1; padding: 32px 26px 26px; border-radius: 32px; text-align: center;
  border: 1px solid rgba(25, 200, 222, .4); background: linear-gradient(180deg, #0c2c43, #071a2a);
  box-shadow: 0 0 0 8px rgba(25, 200, 222, .05), 0 40px 90px -30px rgba(25, 200, 222, .45);
}
.node img { width: 58px; height: auto; filter: drop-shadow(0 10px 26px rgba(25, 200, 222, .5)); }
.node-label { font: 700 19px/1.3 'Archivo SemiExpanded', 'Archivo', sans-serif; margin: 14px 0 20px !important; }
.node ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.node li { display: flex; align-items: center; justify-content: center; padding: 10px 8px; border-radius: 11px; background: rgba(255, 255, 255, .05); font-size: 13.5px; color: #d5e9ef; }
.links { display: grid; gap: 14px; }
.links li {
  position: relative; margin-left: 84px; padding: 18px 22px; border-radius: 18px; display: flex; align-items: center;
  justify-content: space-between; gap: 18px; border: 1px solid var(--panel-line); background: var(--panel);
}
.links li::before { content: ''; position: absolute; right: 100%; top: 50%; width: 84px; border-top: 2px dashed rgba(25, 200, 222, .45); }
.links b { font-size: 16.5px; color: var(--ink); }
.links span { font-size: 14px; color: var(--muted); text-align: right; }
.links li.none { border-color: rgba(255, 107, 107, .35); background: rgba(255, 107, 107, .06); }
.links li.none::before { border-top-color: rgba(255, 107, 107, .5); }
.links li.none::after {
  content: '×'; position: absolute; right: calc(100% + 31px); top: 50%; width: 22px; height: 22px; margin-top: -11px;
  border-radius: 50%; border: 1px solid rgba(255, 107, 107, .6); background: #2a0f15; color: #ff8a8a;
  font: 700 15px/20px system-ui, sans-serif; text-align: center;
}
.links li.none b { color: #ffc2c2; text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 2px; }

/* ── pricing ─────────────────────────────────────────────────────────────── */
.pricing { max-width: 940px; margin: 0 auto; }
.period {
  display: flex; width: max-content; margin: -20px auto 40px; padding: 4px; border-radius: 999px;
  border: 1px solid var(--panel-line); background: var(--panel);
}
.period button {
  appearance: none; border: 0; background: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 999px; font: 600 15px/1 'Archivo', sans-serif; color: var(--muted);
}
.period button[aria-pressed='true'] { background: #fff; color: #03101b; }
.period em { font: 500 10.5px/1 'Martian Mono', ui-monospace, monospace; font-style: normal; color: var(--green); }
.period button[aria-pressed='true'] em { color: #08875a; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 36px 34px 34px; border-radius: 28px; border: 1px solid var(--panel-line); background: var(--panel); }
.plan-pro {
  border-color: rgba(25, 200, 222, .55);
  background: radial-gradient(90% 50% at 50% 0%, rgba(25, 200, 222, .18), transparent 72%), #071d2c;
  box-shadow: 0 40px 100px -40px rgba(25, 200, 222, .55);
}
.ribbon {
  position: absolute; top: 30px; right: 30px; padding: 7px 11px; border-radius: 999px;
  font: 500 10.5px/1 'Martian Mono', ui-monospace, monospace; letter-spacing: .05em; text-transform: uppercase;
  color: #6ee7b7; background: rgba(52, 211, 153, .12); border: 1px solid rgba(52, 211, 153, .35);
}
.plan-name { font: 700 17px/1.2 'Archivo SemiExpanded', 'Archivo', sans-serif; color: var(--muted); }
.plan-pro .plan-name { color: var(--cyan); }
.plan-price { margin: 18px 0 8px !important; font: 800 54px/1 'Archivo SemiExpanded', 'Archivo', sans-serif; letter-spacing: -0.035em; color: var(--ink); }
.plan-price small { margin-left: 8px; font: 500 16px/1 'Archivo', sans-serif; letter-spacing: 0; color: var(--muted); }
.plan-note { min-height: 1.5em; margin-bottom: 28px !important; font-size: 14.5px; color: var(--muted); }
.pricing[data-period='year'] .p-month, .pricing[data-period='month'] .p-year { display: none; }
.btn {
  display: flex; justify-content: center; padding: 15px 20px; border-radius: 14px; text-decoration: none;
  font-weight: 700; font-size: 16px; color: #032330; background: var(--cyan); transition: filter .15s, transform .15s;
}
.btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-ghost { color: var(--ink); background: transparent; border: 1px solid rgba(255, 255, 255, .22); }
.btn-ghost:hover { background: rgba(255, 255, 255, .06); filter: none; }
.plan-lead { margin: 30px 0 6px !important; padding-top: 26px; border-top: 1px solid var(--line); font-weight: 700; font-size: 14.5px; color: var(--ink); }
.fine { max-width: 760px; margin: 30px auto 0 !important; text-align: center; font-size: 13px; line-height: 1.65; color: var(--faint); }

/* ── faq ─────────────────────────────────────────────────────────────────── */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  position: relative; list-style: none; cursor: pointer; padding: 24px 52px 24px 0;
  font: 600 18px/1.4 'Archivo', sans-serif; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; transform: translateY(-70%) rotate(45deg);
  border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.faq summary:hover { color: #fff; }
.faq details p { max-width: 720px; padding-bottom: 24px; font-size: 16px; line-height: 1.7; color: var(--muted); }
@media (min-width: 900px) {
  .sect-faq { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 72px; align-items: start; }
  .sect-faq .sect-head { margin: 0; text-align: left; position: sticky; top: 110px; }
  .sect-faq .sub { margin-left: 0 !important; }
}

/* ── closing call to action ─────────────────────────────────────────────── */
.final { padding-top: 136px; padding-bottom: 96px; }
.final-inner {
  position: relative; isolation: isolate; overflow: hidden; text-align: center; padding: 76px 24px 80px; border-radius: 36px;
  border: 1px solid rgba(25, 200, 222, .32);
  background: radial-gradient(55% 70% at 50% 0%, rgba(25, 200, 222, .3), transparent 72%), linear-gradient(180deg, #0a2c44, #061827);
}
.final-inner::after { mask-image: radial-gradient(60% 70% at 50% 20%, #000, transparent); -webkit-mask-image: radial-gradient(60% 70% at 50% 20%, #000, transparent); }
.final-inner img { width: 84px; height: auto; filter: drop-shadow(0 16px 40px rgba(25, 200, 222, .55)); }
.final h2 { max-width: 22ch; margin: 28px auto 14px; }
.final p { font-size: 18px; color: #b5d1dc; }

/* ── footer + back to top ───────────────────────────────────────────────── */
.page-index footer { border-top-color: var(--line); color: var(--faint); }
.page-index footer .bar { max-width: 1200px; padding: 28px 24px 44px; }
.page-index footer a { color: var(--muted); }
.page-index .totop { background: #0c2232; border-color: var(--panel-line); color: var(--ink); }

/* reveal on scroll (home.js hides only what is below the fold, so nothing flashes) */
.rv-hide { opacity: 0; transform: translateY(24px); }
.rv-show { opacity: 1; transform: none; transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
@media (prefers-reduced-motion: reduce) {
  .rv-hide { opacity: 1; transform: none; }
  .rv-show, .feat .dev, .feat-b { transition: none !important; }
}

/* ── tablet and phone (last, so these win) ──────────────────────────────── */
@media (max-width: 1300px) {
  .chip { display: none; }
}
@media (max-width: 899px) {
  .sect { padding-top: 96px; }
  .sect-head { margin-bottom: 40px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-score { grid-row: auto; }
  .flow { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 560px; }
  .links { margin-top: 0; padding-top: 28px; position: relative; }
  .links::before { content: ''; position: absolute; left: 50%; top: 0; height: 28px; border-left: 2px dashed rgba(25, 200, 222, .45); }
  .links li { margin-left: 0; }
  .links li::before, .links li.none::after { display: none; }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin: 0 auto; }
  .final { padding-top: 96px; padding-bottom: 80px; }
}
@media (max-width: 640px) {
  .lp .wrap { padding-left: 18px; padding-right: 18px; }
  .hero { padding-top: 104px; }
  .hero-logo { width: 50px; margin-bottom: 20px; }
  .pill { font-size: 10.5px; }
  .lp h1 { font-size: clamp(36px, 10.4vw, 46px); }
  .lead { font-size: 16.5px; }
  .cta-row { flex-direction: column; align-items: stretch; max-width: 320px; margin-left: auto; margin-right: auto; }
  .store { justify-content: center; }
  .devices { height: 446px; margin-top: 48px; }
  .devices::before { width: 420px; height: 420px; }
  .dev-c { --w: 206px; }
  .dev-l, .dev-r { --w: 172px; top: 40px !important; }
  .dev-l { transform: translateX(calc(-50% - 203px)); }
  .dev-r { transform: translateX(calc(-50% + 203px)); }
  .trust { justify-content: flex-start; gap: 14px 18px; padding: 22px 18px !important; }
  .trust li { width: calc(50% - 9px); font-size: 13px; align-items: flex-start; }
  .trust svg { width: 18px; height: 18px; }
  .sect { padding-top: 84px; }
  .lp h2 { font-size: clamp(29px, 8.4vw, 36px); }
  .sub { font-size: 16.5px; }
  .feats { margin: 0 -18px; padding: 0 18px 6px; scroll-padding: 0 18px; }
  .bento { gap: 12px; }
  .b { padding: 22px 18px 20px; border-radius: 20px; }
  .b > svg { width: 26px; height: 26px; margin-bottom: 12px; }
  .b > b { font-size: 16px; }
  .b > span { font-size: 14px; }
  .b-score { padding: 24px 18px 20px; gap: 20px; }
  .score { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 14px; padding: 20px 16px 10px; }
  .score-items { width: 100%; }
  .score-items li { font-size: 13.5px; }
  .score-base { flex-direction: column; gap: 2px; }
  .b-text b, .b-langs > b { font-size: 20px; }
  .b-langs { display: flex; align-items: stretch; padding: 24px 20px; }
  .b-langs > b, .b-langs > span { align-self: auto; }
  .page-index .totop { display: none; }
  .langs { order: 3; justify-content: flex-start; margin-top: 14px; gap: 8px; }
  .langs span { font-size: 16px; padding: 8px 13px; }
  .node { padding: 26px 18px 20px; }
  .links li { flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px 18px; }
  .links span { text-align: left; }
  .period { margin-top: -10px; margin-bottom: 30px; }
  .plan { padding: 30px 22px 26px; border-radius: 24px; }
  .ribbon { top: 26px; right: 22px; }
  .plan-price { font-size: 46px; }
  .faq summary { font-size: 16.5px; padding: 20px 40px 20px 0; }
  .final-inner { padding: 56px 20px 60px; border-radius: 28px; }
  .final-inner img { width: 68px; }
  .page-index footer .bar { padding: 24px 18px 40px; }
}
