/* PiDash website. Colours follow the app and the board (ios-app/src/constants/theme.ts). */
:root {
  --bg: #0b1119;
  --bg-2: #0f1620;
  --surface: #17212f;
  --raised: #1e2a3a;
  --line: #233142;
  --line-2: #2a3848;
  --text: #eaf0f6;
  --secondary: #9aa8b6;
  --muted: #7d8d9e;
  --accent: #f25533;
  --accent-2: #ff8a5c;
  --critical: #ff6b6b;
  --warning: #f4b740;
  --info: #56b6e6;
  --silenced: #b79cff;
  --ok: #3fd08a;

  --radius: 16px;
  --radius-lg: 24px;
  --max: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
code { font-family: var(--mono); font-size: .9em; background: var(--raised); padding: .1em .4em; border-radius: 6px; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: 16px; letter-spacing: -0.01em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: linear-gradient(180deg, #ff6a45, var(--accent)); color: #fff; box-shadow: 0 8px 24px -8px rgba(242, 85, 51, .6), inset 0 1px 0 rgba(255,255,255,.2); }
.btn-primary:hover { box-shadow: 0 10px 30px -8px rgba(242, 85, 51, .8), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-ghost { background: rgba(255,255,255,.04); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: #3a4b60; }

.appstore {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 20px 0 16px; border-radius: 14px;
  background: #fff; color: #000;
  transition: transform .15s ease, box-shadow .2s ease;
  box-shadow: 0 8px 30px -10px rgba(255,255,255,.35);
}
.appstore:hover { transform: translateY(-1px); box-shadow: 0 12px 34px -10px rgba(255,255,255,.45); }
.appstore svg { width: 26px; height: 26px; }
.appstore span { display: flex; flex-direction: column; font-size: 20px; font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; }
.appstore small { font-size: 11px; font-weight: 500; letter-spacing: 0; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 17, 25, .72);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.brand img { border-radius: 8px; }
.nav-links { display: flex; gap: 28px; font-size: 15px; color: var(--secondary); }
.nav-links a { transition: color .15s ease; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--line-2); background: transparent; border-radius: 10px; padding: 0; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { width: 16px; height: 1.5px; background: var(--text); transition: transform .2s ease; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ---------- Common ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-2);
}
.lead { font-size: 19px; color: var(--secondary); line-height: 1.6; }
.grad { background: linear-gradient(90deg, var(--accent-2), var(--accent) 60%, #e0436b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot-ok { background: var(--ok); box-shadow: 0 0 0 4px rgba(63, 208, 138, .18); }

.section { padding: 120px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin: 0 auto 64px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 700; text-wrap: balance; }

.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--secondary); font-size: 16px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(63, 208, 138, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%233FD08A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* ---------- Phone frame ---------- */
.phone {
  position: relative; margin: 0;
  width: 100%; max-width: 300px;
  aspect-ratio: 462 / 1000;
  padding: 9px;
  border-radius: 46px;
  background: linear-gradient(145deg, #2b3646, #0b0f15 40%, #1a2230);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.06),
    0 40px 80px -30px rgba(0,0,0,.8),
    0 20px 60px -20px rgba(242, 85, 51, .15);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 38px; }
.phone::after { /* Dynamic Island */
  content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 27%; height: 3.2%; border-radius: 99px; background: #000;
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% -10% auto; height: 900px; pointer-events: none;
  background:
    radial-gradient(600px 400px at 75% 30%, rgba(242, 85, 51, .22), transparent 70%),
    radial-gradient(500px 360px at 20% 10%, rgba(86, 182, 230, .12), transparent 70%);
}
.hero::before { /* faint grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero-copy .eyebrow { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: var(--secondary); letter-spacing: .02em; text-transform: none; font-weight: 500; font-size: 14px; }
.hero h1 { font-size: clamp(44px, 6.4vw, 76px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; }
.hero .lead { max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 8px; }
.hero-actions-center { justify-content: center; }
.hero-points { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--muted); }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.hero-points svg { width: 16px; height: 16px; fill: none; stroke: var(--ok); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.hero-visual { position: relative; height: 640px; }
.hero-visual .phone { position: absolute; max-width: 290px; }
.phone-front { right: 22%; top: 10px; z-index: 2; }
.phone-back { right: 0; top: 70px; transform: rotate(6deg) scale(.9); opacity: .55; filter: saturate(.8); }

.float-card {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  background: rgba(30, 42, 58, .78);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px; padding: 12px 14px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.8);
  font-size: 13px; line-height: 1.35;
}
.float-card strong { display: block; font-size: 14px; color: var(--text); }
.float-card span { color: var(--secondary); }
.float-push { left: -4%; top: 470px; max-width: 340px; animation: floaty 6s ease-in-out infinite; }
.float-icon img { border-radius: 7px; }
.float-actions { display: flex; flex-direction: column; gap: 4px; margin-left: 4px; }
.float-actions span { font-size: 12px; font-weight: 600; color: var(--text); background: rgba(255,255,255,.08); border-radius: 8px; padding: 2px 10px; text-align: center; }
.float-faceid { right: 2%; bottom: 60px; animation: floaty 7s ease-in-out -2s infinite; }
.float-faceid svg { width: 36px; height: 36px; fill: none; stroke: var(--ok); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .float-card { animation: none; } }

/* ---------- Integrations ---------- */
.integrations { padding: 36px 0 24px; border-top: 1px solid var(--line); }
.integrations-title { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips li { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.02); color: var(--secondary); font-size: 14px; font-weight: 500; }

/* ---------- Feature rows ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; padding: 56px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature-flip .feature-copy { order: 2; }
.feature-copy { max-width: 480px; }
.feature-copy h3 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; margin: 16px 0 16px; text-wrap: balance; }
.feature-copy > p { color: var(--secondary); font-size: 18px; }
.feature-visual { margin: 0; display: flex; justify-content: center; position: relative; }
.feature-visual::before {
  content: ""; position: absolute; inset: 10% 10%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(242, 85, 51, .14), transparent);
  filter: blur(20px); z-index: 0;
}
.feature-visual .phone { z-index: 1; max-width: 290px; }
.feature-pair { gap: 20px; }
.feature-pair .phone { max-width: 250px; }
.feature-pair .phone:last-child { transform: translateY(40px); }

.feature-tag { display: inline-block; font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.tag-critical { color: var(--critical); background: rgba(255,107,107,.12); }
.tag-warning { color: var(--warning); background: rgba(244,183,64,.12); }
.tag-info { color: var(--info); background: rgba(86,182,230,.12); }
.tag-ok { color: var(--ok); background: rgba(63,208,138,.12); }
.tag-silenced { color: var(--silenced); background: rgba(183,156,255,.12); }
.tag-accent { color: var(--accent-2); background: rgba(242,85,51,.14); }

/* Terminal mock */
.phone-term { background: linear-gradient(145deg, #2b3646, #0b0f15 40%, #1a2230); }
.term { width: 100%; height: 100%; border-radius: 38px; background: #0a0e13; overflow: hidden; display: flex; flex-direction: column; padding-top: 52px; }
.term-bar { display: flex; align-items: center; gap: 10px; padding: 0 16px 10px; font-size: 14px; border-bottom: 1px solid #1a2330; }
.term-back { font-size: 26px; line-height: 1; color: var(--accent-2); }
.term-live { margin-left: auto; font-size: 11px; color: var(--ok); display: inline-flex; align-items: center; gap: 5px; }
.term-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.term-body { flex: 1; margin: 0; padding: 12px 12px; font: 10.5px/1.5 var(--mono); color: #c9d4df; white-space: pre; overflow: hidden; }
.t-ok { color: var(--ok); } .t-info { color: var(--info); } .t-warn { color: var(--warning); }
.t-cursor { display: inline-block; width: 7px; height: 13px; background: #c9d4df; vertical-align: -2px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.term-keys { display: flex; gap: 5px; padding: 10px 10px 26px; background: #121a24; border-top: 1px solid #1a2330; flex-wrap: wrap; }
.term-keys span { flex: 1; text-align: center; font: 600 10px/1 var(--font); padding: 8px 0; border-radius: 7px; background: #1e2a3a; color: var(--secondary); }
.term-keys svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -1px; }
.term-keys span.on { background: var(--accent); color: #fff; }

/* ---------- Card grid ---------- */
.grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  padding: 28px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(30, 42, 58, .6), rgba(23, 33, 47, .6));
  border: 1px solid var(--line);
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: #33455b; transform: translateY(-2px); }
.card h3 { font-size: 19px; margin: 18px 0 8px; letter-spacing: -0.01em; }
.card p { color: var(--secondary); font-size: 15.5px; }
.card-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; }
.card-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic-accent { color: var(--accent-2); background: rgba(242,85,51,.14); }
.ic-ok { color: var(--ok); background: rgba(63,208,138,.12); }
.ic-info { color: var(--info); background: rgba(86,182,230,.12); }
.ic-warning { color: var(--warning); background: rgba(244,183,64,.12); }
.ic-silenced { color: var(--silenced); background: rgba(183,156,255,.12); }
.ic-critical { color: var(--critical); background: rgba(255,107,107,.12); }

/* ---------- Architecture ---------- */
.arch { display: grid; grid-template-columns: 1fr auto 1fr auto 1.3fr; align-items: center; gap: 0; margin: 0 auto 72px; max-width: 1100px; }
.arch-node {
  padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--line-2);
  background: var(--surface); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
}
.arch-node > svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }
.arch-node strong { font-size: 17px; }
.arch-node span { font-size: 13px; color: var(--muted); }
.arch-phone { color: var(--info); }
.arch-board { color: var(--accent-2); border-color: rgba(242,85,51,.45); box-shadow: 0 0 0 6px rgba(242,85,51,.06), 0 20px 50px -20px rgba(242,85,51,.4); }
.arch-node strong { color: var(--text); }
.arch-systems ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.arch-systems li { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: var(--raised); color: var(--secondary); }
.arch-link { position: relative; width: 150px; height: 2px; background: linear-gradient(90deg, var(--line-2), var(--accent), var(--line-2)); }
.arch-link span { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); white-space: nowrap; font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.arch-link::after { content: ""; position: absolute; right: -1px; top: -4px; border: 5px solid transparent; border-left: 7px solid var(--line-2); border-right: 0; }

.sec-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.sec-grid h3 { font-size: 17px; display: flex; flex-direction: column; gap: 14px; margin-bottom: 8px; letter-spacing: -0.01em; }
.sec-grid h3 svg { width: 28px; height: 28px; fill: none; stroke: var(--accent-2); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sec-grid p { color: var(--secondary); font-size: 15.5px; }

/* ---------- Wall board ---------- */
.monitor { margin: 0 auto; max-width: 980px; }
.monitor-screen {
  padding: 12px; border-radius: 22px;
  background: linear-gradient(145deg, #2b3646, #0b0f15 40%, #1a2230);
  box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 50px 100px -40px rgba(0,0,0,.9), 0 30px 80px -30px rgba(242,85,51,.2);
}
.monitor-screen img { border-radius: 12px; width: 100%; }
.board-thumbs { list-style: none; padding: 0; margin: 32px auto 0; max-width: 980px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.board-thumbs li { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); text-align: center; }
.board-thumbs img { border-radius: 10px; border: 1px solid var(--line-2); }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.steps li { padding: 32px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--bg-2); display: flex; flex-direction: column; gap: 12px; }
.step-num { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 15px; color: #fff; background: linear-gradient(180deg, #ff6a45, var(--accent)); }
.steps h3 { font-size: 21px; margin-top: 6px; }
.steps p { color: var(--secondary); font-size: 15.5px; flex: 1; }
.code { margin: 8px 0 0; padding: 12px 14px; border-radius: 12px; background: #080c12; border: 1px solid var(--line); overflow-x: auto; }
.code code { background: none; padding: 0; color: var(--ok); font-size: 13.5px; }
.code code::before { content: "$ "; color: var(--muted); }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 24px; }
.price-card { position: relative; padding: 36px; border-radius: var(--radius-lg); border: 1px solid var(--line-2); background: var(--surface); display: flex; flex-direction: column; }
.price-card h3 { font-size: 20px; }
.price { margin: 18px 0 4px; display: flex; align-items: baseline; gap: 10px; }
.amount { font-family: var(--font-display); font-size: 52px; font-weight: 800; letter-spacing: -0.03em; }
.per { color: var(--muted); font-size: 16px; }
.price-sub { color: var(--secondary); font-size: 15px; }
.price-card .ticks { flex: 1; margin-bottom: 32px; }
.price-featured { border-color: rgba(242,85,51,.55); background: linear-gradient(180deg, rgba(242,85,51,.10), var(--surface) 45%); box-shadow: 0 30px 80px -40px rgba(242,85,51,.6); }
.badge { position: absolute; top: -13px; left: 36px; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--accent); color: #fff; letter-spacing: .02em; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); transition: border-color .2s ease; }
.faq details[open] { border-color: var(--line-2); background: var(--surface); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 600; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 24px 22px; color: var(--secondary); }

/* ---------- CTA ---------- */
.cta { padding: 120px 0; position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 50% 60%, rgba(242,85,51,.2), transparent 70%); pointer-events: none; }
.cta-inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cta-inner img { border-radius: 18px; box-shadow: 0 20px 50px -15px rgba(242,85,51,.5); margin-bottom: 8px; }
.cta h2 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; letter-spacing: -0.03em; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 32px; background: var(--bg-2); font-size: 15px; }
.footer-inner { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer-brand p { color: var(--muted); margin-top: 10px; }
.footer-cols { display: flex; gap: 72px; flex-wrap: wrap; }
.footer-cols div { display: flex; flex-direction: column; gap: 10px; }
.footer-cols h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
.footer-cols a { color: var(--secondary); }
.footer-cols a:hover { color: var(--text); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

/* ---------- Document pages (privacy, support) ---------- */
.doc { padding: 80px 0 120px; }
.doc h1 { font-size: clamp(36px, 5vw, 52px); font-weight: 800; letter-spacing: -0.03em; margin: 12px 0 12px; }
.doc .meta { color: var(--muted); font-size: 15px; margin-bottom: 48px; }
.doc h2 { font-size: 24px; margin: 48px 0 14px; }
.doc p, .doc li { color: var(--secondary); }
.doc p + p { margin-top: 14px; }
.doc ul { padding-left: 22px; margin: 14px 0; display: grid; gap: 8px; }
.doc a:not(.btn) { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,138,92,.4); }
.doc a:not(.btn):hover { text-decoration-color: currentColor; }
.doc strong { color: var(--text); }
.callout { margin: 32px 0; padding: 22px 24px; border-radius: var(--radius); border: 1px solid rgba(63,208,138,.35); background: rgba(63,208,138,.06); }
.callout p { color: var(--text); }
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 40px 0; }
.support-grid .card h3 { margin-top: 0; }
.doc .support-grid .card a { display: inline-block; margin-top: 14px; font-weight: 600; text-decoration: none; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .sec-grid { grid-template-columns: repeat(2, 1fr); }
  .arch { grid-template-columns: 1fr; justify-items: center; max-width: 420px; }
  .arch-node { width: 100%; }
  .arch-link { width: 2px; height: 56px; background: linear-gradient(180deg, var(--line-2), var(--accent), var(--line-2)); }
  .arch-link span { left: 14px; bottom: auto; top: 50%; transform: translateY(-50%); }
  .arch-link::after { right: auto; left: -4px; top: auto; bottom: -1px; border: 5px solid transparent; border-top: 7px solid var(--line-2); border-bottom: 0; }
}
@media (max-width: 900px) {
  .nav-links {
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px 24px 20px;
    background: rgba(11, 17, 25, .97); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; color: var(--text); }
  .nav-toggle { display: inline-flex; }
  .hero { padding-top: 48px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { align-items: center; text-align: center; }
  .hero .lead { margin: 0 auto; }
  .hero-actions, .hero-points { justify-content: center; }
  .hero-visual { height: 560px; max-width: 480px; width: 100%; margin: 0 auto; }
  .hero-visual .phone { max-width: 250px; }
  .phone-front { right: auto; left: 50%; transform: translateX(-62%); }
  .phone-back { right: 4%; }
  .float-push { left: 0; top: 360px; max-width: 300px; }
  .feature { grid-template-columns: 1fr; gap: 40px; padding: 48px 0; }
  .feature-flip .feature-copy { order: 0; }
  .feature-copy { max-width: none; }
  .steps { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: minmax(0, 480px); }
  .board-thumbs { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 88px 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .lead { font-size: 17px; }
  .nav-cta .btn { display: none; }
  .grid, .sec-grid, .support-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 500px; }
  .hero-visual .phone { max-width: 220px; }
  .float-push { font-size: 12px; max-width: 280px; padding: 10px 12px; }
  .float-faceid { display: none; }
  .float-push { top: 330px; }
  .feature-pair .phone { max-width: 46%; }
  .feature-pair .phone:last-child { transform: translateY(24px); }
  .section-head { margin-bottom: 44px; }
  .price-card { padding: 28px; }
  .footer-cols { gap: 40px; }
}
