/* apps.roamrock.com: one stylesheet for the portal, Cairn's store and order pages.
   The RoamRock look (www.roamrock.com): near-black field, electric blue, cyan glow. */

:root {
  --bg:        #04060a;
  --bg-alt:    #080c14;
  --panel:     #0d131d;
  --panel-2:   #111a27;
  --line:      #1b2634;
  --line-2:    #263548;
  --ink:       #eef4fa;
  --ink-muted: #a3b4c6;
  --ink-faint: #7d8fa3;
  --blue:      #2f9fe8;
  --blue-soft: #7cc6f5;
  --blue-deep: #1466a8;
  --cyan:      #22d3f5;
  --green:     #3ddc97;
  --amber:     #ffb547;
  --red:       #ff6266;
  --maxw:      1180px;
  --radius:    18px;
  --glow:      0 0 0 1px rgba(47,159,232,.35), 0 10px 40px -10px rgba(34,211,245,.35);
  --font:      "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono:      "Cascadia Mono", Consolas, "SFMono-Regular", Menlo, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue-soft); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; }
h3 { font-size: 21px; font-weight: 700; }
p { margin: 0 0 1em; }
code, kbd { font-family: var(--mono); font-size: .92em; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
@media (max-width: 480px) { .wrap { padding: 0 16px; } body { font-size: 16px; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--blue); color: #00121f; padding: 10px 16px; border-radius: 8px; }
.neon { color: var(--blue-soft); text-shadow: 0 0 18px rgba(34,211,245,.55), 0 0 42px rgba(47,159,232,.45); }
.grad { background: linear-gradient(92deg, #fff 0%, var(--blue-soft) 45%, var(--cyan) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--ink-muted); }
.small { font-size: 14px; }

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

.topnav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(4,6,10,.72);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(27,38,52,.8);
}
.topnav-inner { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 19px; letter-spacing: -.01em; white-space: nowrap; }
.brand img { width: 34px; height: 34px; filter: drop-shadow(0 0 10px rgba(34,211,245,.45)); }
/* Same as www.roamrock.com's top bar: plain bold text beside the emblem (the wordmark itself is only ever the logo image). */
.brand .roam { color: #f4f8fc; }
.brand .rock { background: linear-gradient(180deg, var(--blue-soft), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand .sub { margin-left: 4px; padding-left: 12px; border-left: 1px solid var(--line-2); color: var(--ink-muted); font-weight: 600; font-style: normal; font-size: 16px; }
.nav-links { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-links a { color: var(--ink-muted); text-decoration: none; font-size: 15px; font-weight: 600; padding: 8px 12px; border-radius: 10px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; background: rgba(47,159,232,.10); }
.nav-links .ext::after { content: " ↗"; font-size: 12px; opacity: .7; }
.nav-cta { margin-left: 6px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-2); color: var(--ink); border-radius: 10px; width: 44px; height: 40px; font-size: 20px; cursor: pointer; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 16px 16px; background: rgba(6,9,14,.97); border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; font-size: 16px; }
  .nav-cta { margin: 6px 0 0; text-align: center; }
}
@media (max-width: 380px) { .brand .sub { display: none; } }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 16px/1.2 var(--font); text-decoration: none; cursor: pointer;
  padding: 14px 22px; border-radius: 12px; border: 1px solid transparent;
  color: #00131f; background: linear-gradient(180deg, #5cc0f7 0%, var(--blue) 55%, #1b86d3 100%);
  box-shadow: 0 0 0 1px rgba(124,198,245,.5) inset, 0 8px 28px -6px rgba(47,159,232,.65), 0 0 22px -4px rgba(34,211,245,.5);
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.btn:hover { color: #00131f; transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 0 0 1px rgba(124,198,245,.7) inset, 0 12px 34px -6px rgba(47,159,232,.8), 0 0 30px -2px rgba(34,211,245,.6); }
.btn:disabled, .btn[aria-disabled="true"] { cursor: not-allowed; filter: grayscale(.6) brightness(.7); transform: none; }
.btn-ghost { color: var(--ink); background: rgba(13,19,29,.6); border-color: var(--line-2); box-shadow: none; }
.btn-ghost:hover { color: #fff; border-color: var(--blue); background: rgba(47,159,232,.10); box-shadow: 0 0 24px -8px rgba(34,211,245,.6); }
.btn-sm { padding: 9px 14px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ------------------------------------------------------------- the sky */

.sky { position: relative; overflow: hidden; isolation: isolate; }
.sky::before { /* stars */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("../img/sky.svg") center top / cover no-repeat, radial-gradient(120% 80% at 70% 0%, #0d1f38 0%, #070c16 45%, var(--bg) 80%);
}
.sky::after { /* the range along the bottom */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: min(300px, 34vw); z-index: -1;
  background: url("../img/ridge.svg") center bottom / cover no-repeat;
}
.glow { position: absolute; z-index: -1; pointer-events: none; border-radius: 50%; filter: blur(10px); }
.glow-a { width: min(900px, 140vw); aspect-ratio: 1; left: 50%; top: -40%; transform: translateX(-30%); background: radial-gradient(circle, rgba(47,159,232,.30) 0%, rgba(47,159,232,.10) 40%, transparent 68%); }
.glow-b { width: 520px; aspect-ratio: 1; left: -180px; top: 30%; background: radial-gradient(circle, rgba(34,211,245,.14) 0%, transparent 65%); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--cyan); font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: linear-gradient(90deg, transparent, var(--cyan)); box-shadow: 0 0 10px var(--cyan); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .02em; border: 1px solid var(--line-2); color: var(--ink-muted); background: rgba(13,19,29,.7); white-space: nowrap; }
.pill-live { color: #04140d; background: var(--green); border-color: transparent; box-shadow: 0 0 18px -2px rgba(61,220,151,.6); }
.pill-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #04140d; animation: pulse 1.8s ease-in-out infinite; }
.pill-blue { color: #001523; background: var(--blue-soft); border-color: transparent; }
.pill-amber { color: #241300; background: var(--amber); border-color: transparent; }
@keyframes pulse { 50% { opacity: .35; } }

/* ------------------------------------------------------------ sections */

.section { padding: 96px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--bg-alt), var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 26px; height: 2px; background: linear-gradient(270deg, transparent, var(--cyan)); box-shadow: 0 0 10px var(--cyan); }
.lede { font-size: clamp(17px, 2vw, 20px); color: var(--ink-muted); }
@media (max-width: 640px) { .section { padding: 68px 0; } }

/* ------------------------------------------------------- portal: hero */

.portal-hero { padding: 92px 0 clamp(170px, 24vw, 280px); text-align: center; }
.portal-hero h1 { margin: 0 0 24px; }
.portal-hero h1 .logo { display: block; width: min(430px, 78vw); height: auto; margin: 0 auto; filter: drop-shadow(0 0 30px rgba(34,211,245,.25)); }
.portal-hero h1 .apps-word { display: block; margin-top: 2px; font-size: clamp(46px, 8.5vw, 92px); font-weight: 800; letter-spacing: .14em; line-height: 1; padding-left: .14em; }
.tagline { margin: 0 0 22px; color: var(--ink-faint); font-size: 14px; letter-spacing: .32em; text-transform: uppercase; font-weight: 600; }
.portal-hero .lede { max-width: 680px; margin: 0 auto 30px; }
.portal-hero .btn-row { justify-content: center; }

/* Cairn spotlight on the portal: pulled up over the ridge. */
.spotlight-wrap { margin-top: clamp(-150px, -16vw, -90px); position: relative; z-index: 2; }
.spotlight {
  position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 0; overflow: hidden;
  border-radius: 26px; background: linear-gradient(160deg, #0f1b2c 0%, #0a111c 55%, #070b12 100%);
  border: 1px solid rgba(47,159,232,.35);
  box-shadow: 0 0 0 1px rgba(34,211,245,.08), 0 40px 120px -40px rgba(47,159,232,.55), 0 0 80px -30px rgba(34,211,245,.45);
}
.spotlight::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 80% at 0% 0%, rgba(47,159,232,.18), transparent 60%); }
.spotlight-copy { padding: clamp(28px, 4vw, 52px); position: relative; }
.spotlight-copy .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.cairn-lockup { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.cairn-lockup img { width: 58px; height: 58px; filter: drop-shadow(0 0 16px rgba(47,159,232,.55)); }
.cairn-lockup b { display: block; font-size: 30px; font-weight: 800; line-height: 1; letter-spacing: -.01em; }
.cairn-lockup span { display: block; color: var(--ink-muted); font-size: 14px; margin-top: 4px; }
.spotlight h2 { font-size: clamp(28px, 3.6vw, 40px); }
.price-strip { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 6px 0 26px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.price-strip div { font-size: 14px; color: var(--ink-muted); }
.price-strip strong { display: block; color: #fff; font-size: 24px; font-weight: 800; }
.spotlight-media { position: relative; min-height: 360px; background: radial-gradient(80% 70% at 60% 40%, rgba(47,159,232,.22), transparent 70%); }
.spotlight-media .shot { position: absolute; left: 8%; top: 12%; width: 118%; border-radius: 14px; border: 1px solid rgba(124,198,245,.35); box-shadow: 0 30px 80px -20px #000, 0 0 50px -12px rgba(34,211,245,.5); transform: perspective(1400px) rotateY(-14deg) rotateX(4deg); transform-origin: left center; }
.spotlight-media .shot-phone { position: absolute; right: 7%; bottom: 7%; width: 28%; border-radius: 22px; border: 3px solid #1d2a3b; box-shadow: 0 30px 60px -10px #000, 0 0 40px -10px rgba(34,211,245,.6); }
@media (max-width: 900px) {
  .spotlight { grid-template-columns: 1fr; }
  .spotlight-media { min-height: 0; aspect-ratio: 16 / 11; }
  .spotlight-media .shot { left: 6%; top: 8%; width: 100%; }
}

/* ------------------------------------------------------- portal: app grid */

.apps-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.app-card {
  position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel) 0%, #0a0f17 100%); border: 1px solid var(--line);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.app-card:hover { border-color: rgba(47,159,232,.55); transform: translateY(-2px); box-shadow: 0 20px 50px -24px rgba(34,211,245,.45); }
.app-card.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; }
.app-card .media { border-radius: 12px; overflow: hidden; border: 1px solid var(--line-2); }
.app-card .media img { display: block; width: 100%; }
.app-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; background: rgba(47,159,232,.10); border: 1px solid rgba(47,159,232,.35); color: var(--blue-soft); box-shadow: 0 0 24px -8px rgba(34,211,245,.6); }
.app-icon svg { width: 26px; height: 26px; }
.app-card .head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.app-card h3 { font-size: 23px; margin-bottom: 4px; }
.kicker { color: var(--blue-soft); font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.status { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line-2); font-size: 14.5px; color: var(--ink-muted); }
.status strong { color: var(--ink); }
.card-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; }
.card-links a { font-weight: 700; font-size: 15px; text-decoration: none; }
.card-links a:hover { text-decoration: underline; }
@media (max-width: 860px) { .apps-grid { grid-template-columns: 1fr; } .app-card.wide { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .app-card { padding: 22px; } }

.more-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.more-card { display: flex; align-items: center; gap: 18px; padding: 24px 26px; border-radius: var(--radius); text-decoration: none; color: var(--ink); background: linear-gradient(120deg, rgba(47,159,232,.12), rgba(13,19,29,.85) 60%); border: 1px solid var(--line-2); transition: border-color .2s, box-shadow .2s; }
.more-card:hover { color: #fff; border-color: var(--blue); box-shadow: var(--glow); }
.more-card img { width: 52px; height: 52px; flex: none; }
.more-card b { display: block; font-size: 19px; }
.more-card span { color: var(--ink-muted); font-size: 15px; }
.more-card .arrow { margin-left: auto; font-size: 22px; color: var(--cyan); }
@media (max-width: 760px) { .more-grid { grid-template-columns: minmax(0, 1fr); } }
.more-card > div { min-width: 0; overflow-wrap: break-word; }
@media (max-width: 440px) { .more-card { padding: 20px; gap: 14px; } .more-card img { width: 40px; height: 40px; } .more-card b { font-size: 17px; } }

/* ----------------------------------------------------------- cairn: hero */

.cairn-hero { padding: 76px 0 clamp(150px, 20vw, 230px); }
.cairn-hero-grid { display: grid; grid-template-columns: 1.12fr 1fr; gap: 44px; align-items: center; }
.cairn-hero h1 { font-size: clamp(40px, 4.7vw, 62px); text-wrap: balance; font-weight: 900; letter-spacing: -.035em; line-height: 1.02; margin-bottom: 20px; }
.cairn-hero h1 span { display: block; }
.cairn-hero .lede { max-width: 540px; margin-bottom: 28px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink); background: rgba(13,19,29,.75); border: 1px solid var(--line-2); }
.hero-facts svg { width: 16px; height: 16px; color: var(--green); flex: none; }
.device { position: relative; }
.device-frame { position: relative; border-radius: 16px; padding: 10px 10px 12px; background: linear-gradient(180deg, #1a2433, #0d141f); border: 1px solid #2a3a50; box-shadow: 0 50px 100px -30px #000, 0 0 0 1px rgba(34,211,245,.08), 0 0 90px -20px rgba(47,159,232,.55); }
.device-frame::before { content: ""; display: block; height: 18px; margin: -2px 0 8px; background: radial-gradient(circle at 10px 9px, #ff6266 4px, transparent 5px), radial-gradient(circle at 26px 9px, #ffb547 4px, transparent 5px), radial-gradient(circle at 42px 9px, #3ddc97 4px, transparent 5px); opacity: .85; }
.device-frame img { display: block; width: 100%; border-radius: 8px; }
.device .phone { position: absolute; width: 30%; right: -4%; bottom: -14%; border-radius: 26px; padding: 7px; background: #0b1119; border: 1px solid #2a3a50; box-shadow: 0 30px 70px -10px #000, 0 0 50px -12px rgba(34,211,245,.6); }
.device .phone img { display: block; border-radius: 20px; }
.device-cap { margin-top: 16px; padding-right: 34%; font-size: 13px; line-height: 1.5; color: var(--ink-faint); }
.cairn-stones { position: absolute; z-index: 0; pointer-events: none; right: 5%; bottom: 3%; width: clamp(70px, 9vw, 120px); filter: drop-shadow(0 0 18px rgba(34,211,245,.55)); }
@media (max-width: 960px) {
  .cairn-hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .device { max-width: 640px; margin: 0 auto; width: 92%; }
}

/* numbers band */
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stats div { background: linear-gradient(180deg, #0b121c, #080d15); padding: 26px 14px; text-align: center; }
.stats b { display: block; font-size: clamp(30px, 3.6vw, 42px); font-weight: 900; letter-spacing: -.02em; color: #fff; text-shadow: 0 0 22px rgba(34,211,245,.45); line-height: 1.05; }
.stats span { display: block; margin-top: 6px; color: var(--ink-muted); font-size: 14px; line-height: 1.35; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats div:last-child { grid-column: 1 / -1; } }

/* the three pillars */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pillar { position: relative; padding: 30px 28px; border-radius: var(--radius); background: linear-gradient(180deg, var(--panel), #090e16); border: 1px solid var(--line); overflow: hidden; }
.pillar::after { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--accent, var(--blue)); box-shadow: 0 0 18px var(--accent, var(--blue)); }
.pillar .ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; color: var(--accent, var(--blue)); background: color-mix(in srgb, var(--accent, var(--blue)) 14%, transparent); border: 1px solid color-mix(in srgb, var(--accent, var(--blue)) 45%, transparent); }
.pillar .ico svg { width: 28px; height: 28px; }
.pillar h3 { font-size: 23px; }
.pillar p { color: var(--ink-muted); margin: 0; }
.pillar.em { --accent: var(--red); }
.pillar.haul { --accent: var(--amber); }
.pillar.lib { --accent: var(--blue); }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }

/* screenshots gallery */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 44px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); background: var(--panel); transition: border-color .2s, box-shadow .2s; }
.gallery figure:hover { border-color: rgba(47,159,232,.55); box-shadow: 0 20px 50px -24px rgba(34,211,245,.45); }
.gallery img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }
.gallery figcaption { padding: 12px 16px; font-size: 14px; color: var(--ink-muted); border-top: 1px solid var(--line); }
.gallery figcaption b { color: var(--ink); }
@media (max-width: 860px) { .gallery { grid-template-columns: minmax(0, 1fr); } }

.also { margin-top: 44px; padding: 26px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(13,19,29,.6); }
.also h3 { font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { padding: 7px 13px; border-radius: 10px; font-size: 14.5px; background: #0f1724; border: 1px solid var(--line-2); color: var(--ink); }

/* three steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px 26px 26px; border-radius: var(--radius); background: linear-gradient(180deg, #0d1522, #090e16); border: 1px solid var(--line); }
.step .n { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; margin-bottom: 18px; font-size: 22px; font-weight: 900; color: #00131f; background: radial-gradient(circle at 35% 30%, #a9dcfb, var(--blue) 60%, var(--blue-deep)); box-shadow: 0 0 26px -2px rgba(34,211,245,.65); }
.step h3 { font-size: 24px; margin-bottom: 6px; }
.step p { color: var(--ink-muted); margin: 0; }
.step code { color: var(--blue-soft); }
.phones-note { display: flex; gap: 16px; align-items: flex-start; margin-top: 22px; padding: 20px 24px; border-radius: var(--radius); background: rgba(47,159,232,.07); border: 1px solid rgba(47,159,232,.3); }
.phones-note svg { flex: none; width: 28px; height: 28px; color: var(--cyan); margin-top: 2px; }
.phones-note p { margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* topics */
.topics { columns: 3 220px; column-gap: 28px; margin: 0; padding: 0; list-style: none; }
.topics li { break-inside: avoid; padding: 9px 0 9px 26px; position: relative; border-bottom: 1px solid var(--line); color: var(--ink); }
.topics li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 9px; height: 9px; border-radius: 3px; background: var(--blue); box-shadow: 0 0 10px rgba(34,211,245,.7); transform: rotate(45deg); }

/* comparison table */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--line-2); background: #070b12; }
.compare { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare thead th { font-size: 16px; font-weight: 800; color: #fff; background: #0d1522; position: sticky; top: 0; }
.compare thead th.hot { color: var(--cyan); text-shadow: 0 0 14px rgba(34,211,245,.5); }
.compare tbody th { text-align: left; font-weight: 600; color: var(--ink-muted); position: sticky; left: 0; background: #0a1019; min-width: 200px; }
.compare td.hot { background: rgba(47,159,232,.06); }
.compare .y { color: var(--green); font-weight: 900; font-size: 18px; }
.compare .no { color: var(--ink-faint); }
.compare tr.price td { font-weight: 800; color: #fff; font-size: 17px; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.scroll-hint { display: none; font-size: 13px; color: var(--ink-faint); margin-top: 8px; }
@media (max-width: 720px) { .scroll-hint { display: block; } .compare tbody th { min-width: 150px; } .compare { font-size: 14px; } }

/* -------------------------------------------------------------- the store */

.buy { background: radial-gradient(80% 60% at 50% 0%, rgba(47,159,232,.14), transparent 70%), var(--bg); }
.notice { margin: 0 auto 30px; max-width: 760px; padding: 14px 18px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel); color: var(--ink); }
.notice.warn { border-color: rgba(255,181,71,.5); background: rgba(255,181,71,.08); }
.notice.bad { border-color: rgba(255,98,102,.55); background: rgba(255,98,102,.08); }
.notice.ok { border-color: rgba(61,220,151,.5); background: rgba(61,220,151,.08); }
.group-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin: 0 0 22px; }
.group-head h3 { font-size: 26px; margin: 0; }
.group-head p { margin: 0; color: var(--ink-muted); }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-bottom: 26px; }
.tier {
  position: relative; display: flex; flex-direction: column; padding: 30px 26px 26px; border-radius: 22px;
  background: linear-gradient(180deg, #0e1724 0%, #090e16 100%); border: 1px solid var(--line-2);
}
.tier.featured { border-color: rgba(34,211,245,.7); background: linear-gradient(180deg, #102238 0%, #0a1220 60%, #090e16 100%); box-shadow: 0 0 0 1px rgba(34,211,245,.25), 0 30px 80px -30px rgba(34,211,245,.6); }
@media (min-width: 961px) { .tier.featured { transform: translateY(-10px); } }
.ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 5px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; color: #00131f; background: linear-gradient(90deg, var(--blue-soft), var(--cyan)); box-shadow: 0 0 22px rgba(34,211,245,.6); }
.tier-kind { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 6px; }
.tier h4 { margin: 0 0 4px; font-size: 24px; font-weight: 800; }
.tier .fits { color: var(--blue-soft); font-weight: 600; font-size: 15px; margin-bottom: 18px; }
.tier .price { display: flex; align-items: flex-start; gap: 2px; margin-bottom: 4px; font-weight: 900; color: #fff; line-height: 1; }
.tier .price .cur { font-size: 26px; margin-top: 8px; }
.tier .price .amt { font-size: 60px; letter-spacing: -.03em; text-shadow: 0 0 30px rgba(47,159,232,.45); }
.tier .once { font-size: 13.5px; color: var(--ink-faint); margin-bottom: 18px; }
.tier ul { list-style: none; padding: 0; margin: 0 0 22px; font-size: 15px; }
.tier li { position: relative; padding: 6px 0 6px 26px; color: var(--ink); border-top: 1px solid rgba(27,38,52,.7); }
.tier li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 12px; height: 7px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.tier .note { font-size: 13.5px; color: var(--ink-muted); margin: -8px 0 16px; }
.tier .buy-area { margin-top: auto; }
.tier .soon { display: block; text-align: center; padding: 13px; border-radius: 12px; border: 1px dashed var(--line-2); color: var(--amber); font-weight: 700; }
.tier .msg { margin: 10px 0 0; font-size: 14px; min-height: 0; }
.tier .msg:empty { display: none; }
.tier .msg.bad { color: #ff9a9d; }
.tier.unavailable .price .amt { color: var(--ink-muted); text-shadow: none; }
@media (max-width: 960px) { .tiers { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; } }

.dl-note { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0 0 64px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); background: #0a1019; }
.dl-note > div { padding: 22px 24px; border-right: 1px solid var(--line); }
.dl-note > div:last-child { border-right: 0; }
.dl-note h5 { margin: 0 0 8px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.dl-note p, .dl-note li { font-size: 15px; color: var(--ink-muted); margin: 0; }
.dl-note ul { padding-left: 18px; margin: 0; }
.dl-note strong { color: var(--ink); }
@media (max-width: 900px) { .dl-note { grid-template-columns: 1fr; } .dl-note > div { border-right: 0; border-bottom: 1px solid var(--line); } .dl-note > div:last-child { border-bottom: 0; } }

.updates { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; margin-top: 10px; padding: 22px 26px; border-radius: var(--radius); border: 1px dashed var(--line-2); background: rgba(13,19,29,.5); }
.updates b { font-size: 19px; }
.updates p { margin: 4px 0 0; color: var(--ink-muted); font-size: 15px; }
.secure { margin-top: 26px; text-align: center; color: var(--ink-faint); font-size: 14px; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative; font-size: 19px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--cyan); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .a { padding: 0 0 22px; color: var(--ink-muted); }
.faq .a p:last-child { margin-bottom: 0; }
.faq table { border-collapse: collapse; font-size: 15px; margin: 6px 0 14px; width: 100%; max-width: 560px; }
.faq th, .faq td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.faq th { color: var(--ink); }

.fineprint { color: var(--ink-faint); font-size: 14px; text-align: center; margin-top: 40px; }

/* final call */
.final { text-align: center; padding: 110px 0 clamp(190px, 24vw, 300px); }
.final h2 { margin-bottom: 14px; }
.final .lede { max-width: 620px; margin: 0 auto 28px; }
.final .btn-row { justify-content: center; }

/* --------------------------------------------------------------- order */

.order-hero { padding: 56px 0 150px; }
.order-hero::after { height: 150px; }
.order-shell { max-width: 820px; margin: -70px auto 0; position: relative; z-index: 2; }
.panel { border-radius: 22px; padding: clamp(22px, 4vw, 40px); background: linear-gradient(180deg, #0e1724, #090e16); border: 1px solid var(--line-2); box-shadow: 0 40px 100px -40px rgba(47,159,232,.45); }
.panel + .panel { margin-top: 22px; }
.order-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; margin-bottom: 18px; }
.order-top h2 { font-size: clamp(24px, 3.6vw, 32px); margin: 0; }
.status-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-weight: 800; font-size: 14px; }
.status-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.st-paid, .st-shipped { color: var(--green); background: rgba(61,220,151,.1); border: 1px solid rgba(61,220,151,.4); }
.st-pending, .st-processing { color: var(--amber); background: rgba(255,181,71,.1); border: 1px solid rgba(255,181,71,.4); }
.st-refunded, .st-cancelled { color: var(--ink-muted); background: rgba(147,166,187,.1); border: 1px solid var(--line-2); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 0 0 24px; }
.facts div { background: #0a1019; padding: 12px 16px; }
.facts dt { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
.facts dd { margin: 2px 0 0; font-weight: 700; overflow-wrap: break-word; }
@media (min-width: 700px) { .facts { grid-template-columns: .9fr .7fr .9fr 1.7fr; } }
.keybox { margin: 8px 0 10px; padding: 22px; border-radius: 16px; text-align: center; background: radial-gradient(100% 140% at 50% 0%, rgba(47,159,232,.18), rgba(7,11,18,.9) 70%); border: 1px solid rgba(34,211,245,.55); box-shadow: 0 0 40px -12px rgba(34,211,245,.6); }
.keybox .label { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); font-weight: 700; }
.keybox .key { display: block; margin: 10px 0 16px; font-family: var(--mono); font-size: clamp(17px, 3.3vw, 27px); font-weight: 700; letter-spacing: .04em; line-height: 1.45; color: #fff; text-shadow: 0 0 18px rgba(34,211,245,.5); overflow-wrap: normal; word-break: keep-all; user-select: all; }
.keybox .key span { white-space: nowrap; }
.save-line { text-align: center; color: var(--amber); font-weight: 600; font-size: 15px; margin-bottom: 26px; }
.howto { counter-reset: h; list-style: none; padding: 0; margin: 0; }
.howto > li { counter-increment: h; position: relative; padding: 0 0 22px 56px; }
.howto > li::before { content: counter(h); position: absolute; left: 0; top: -2px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; color: #00131f; background: radial-gradient(circle at 35% 30%, #a9dcfb, var(--blue) 60%, var(--blue-deep)); box-shadow: 0 0 18px -2px rgba(34,211,245,.6); }
.howto > li::after { content: ""; position: absolute; left: 18px; top: 40px; bottom: 4px; width: 2px; background: linear-gradient(var(--line-2), transparent); }
.howto > li:last-child::after { display: none; }
.howto h4 { margin: 4px 0 6px; font-size: 18px; }
.howto p { color: var(--ink-muted); margin: 0 0 10px; }
.howto pre { margin: 6px 0 10px; padding: 12px 14px; border-radius: 10px; background: #060a10; border: 1px solid var(--line); overflow-x: auto; font-size: 14px; color: var(--blue-soft); }
.track { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 16px 18px; border-radius: 14px; background: rgba(61,220,151,.07); border: 1px solid rgba(61,220,151,.35); }
.progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 6px 0 24px; padding: 0; list-style: none; }
.progress li { text-align: center; font-size: 13px; color: var(--ink-faint); padding-top: 14px; border-top: 3px solid var(--line-2); }
.progress li.done { color: var(--ink); border-color: var(--green); }
.progress li.now { color: #fff; font-weight: 700; border-color: var(--cyan); box-shadow: 0 -6px 14px -8px var(--cyan); }
.form-row { display: grid; grid-template-columns: 1fr 1.3fr auto; gap: 12px; align-items: end; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-muted); margin-bottom: 6px; }
.field input { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: #070b12; color: var(--ink); font: 16px var(--font); }
.field input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34,211,245,.18); }
@media (max-width: 680px) { .form-row { grid-template-columns: 1fr; } }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--line-2); border-top-color: var(--cyan); animation: spin .8s linear infinite; display: inline-block; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading { display: flex; align-items: center; gap: 14px; color: var(--ink-muted); }

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

footer { border-top: 1px solid var(--line); padding: 44px 0 52px; background: #030508; }
.footer-inner { display: grid; grid-template-columns: auto 1fr; gap: 24px 40px; align-items: center; }
.footer-logo img { width: 260px; display: block; }
.footer-links { justify-self: end; text-align: right; }
.footer-links p { margin: 0 0 8px; color: var(--ink-faint); font-size: 14px; }
.footer-links a { color: var(--ink-muted); text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; text-align: center; } .footer-logo img { margin: 0 auto; width: 220px; } .footer-links { justify-self: center; text-align: center; } }
