/* Busmark marketing site. Tokens -> base -> layout -> components -> sections -> pages -> media. */
@font-face { font-family: "Inter Display"; src: url("../fonts/InterDisplay-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/JetBrainsMono-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/JetBrainsMono-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --display: "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --bg: #FAFAF7; --bg-alt: #F3F2EE; --surface: #FFFFFF; --surface-raised: #FFFFFF;
  --ink: #0F0E0C; --ink-2: #47453F; --ink-3: #75726A;
  --line: #E7E5DF; --line-strong: #D4D1C8;
  --accent: #5856D6; --accent-hover: #4A48C4; --accent-ink: #4B49C8; --accent-tint: #EEEEFC; --on-accent: #FFFFFF;
  --brand-amber: #FFB000;
  --pass: #248A3D; --warn: #C93400; --fail: #D70015; --info: #0040DD;
  --pass-fill: rgba(52,199,89,.12); --warn-fill: rgba(255,149,0,.14); --fail-fill: rgba(255,59,48,.12); --info-fill: rgba(0,122,255,.10);
  --diagram-line: rgba(15,14,12,.16); --grid-line: rgba(15,14,12,.045);
  --bezel: #0F0E0C; --nav-bg: rgba(250,250,247,.80); --selection: rgba(88,86,214,.22);
  --pill-bg: linear-gradient(#FFFFFF,#FBFAF6); --pill-border: rgba(15,14,12,.09);
  --check-disc-ring: transparent;

  --dark: #0E0D0B; --dark-2: #1A1815; --dark-line: rgba(255,255,255,.10);
  --buff: #F3E9D8; --buff-2: #BFB6A3; --buff-3: #8F8878;

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;
  --max: 1200px; --max-text: 720px; --gutter: clamp(20px, 4vw, 48px);
  --section-pad: clamp(80px, 11vw, 140px); --head-gap: 56px; --nav-h: 64px;
  --r-sm: 8px; --r: 12px; --r-btn: 10px; --r-lg: 20px; --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(15,14,12,.04);
  --shadow: 0 1px 2px rgba(15,14,12,.04), 0 12px 32px -12px rgba(15,14,12,.10);
  --shadow-lg: 0 2px 4px rgba(15,14,12,.04), 0 40px 80px -24px rgba(15,14,12,.22);
  --glow-accent: 0 10px 28px -14px rgba(88,86,214,.45);
  --ease: cubic-bezier(.3,.7,.2,1); --t-fast: 150ms; --t: 200ms; --t-slow: 350ms;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0E0D0B; --bg-alt: #14120F; --surface: #1A1815; --surface-raised: #24211D;
  --ink: #F3E9D8; --ink-2: #BFB6A3; --ink-3: #8F8878; --line: #26231E; --line-strong: #3A362F;
  --accent: #5E5CE6; --accent-hover: #6E6CF0; --accent-ink: #9C9AFF; --accent-tint: rgba(94,92,230,.16);
  --pass: #30D158; --warn: #FF9F0A; --fail: #FF6961; --info: #409CFF;
  --pass-fill: rgba(52,199,89,.18); --warn-fill: rgba(255,149,0,.18); --fail-fill: rgba(255,59,48,.18); --info-fill: rgba(0,122,255,.18);
  --diagram-line: rgba(243,233,216,.14); --grid-line: rgba(255,255,255,.05);
  --bezel: #3A362F; --nav-bg: rgba(14,13,11,.78); --selection: rgba(158,156,255,.30);
  --pill-bg: linear-gradient(#1D1B17,#171512); --pill-border: rgba(255,255,255,.10);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px -12px rgba(0,0,0,.6);
  --shadow-lg: 0 2px 4px rgba(0,0,0,.4), 0 40px 80px -24px rgba(0,0,0,.7);
  --glow-accent: 0 10px 28px -14px rgba(94,92,230,.55);
  --check-disc-ring: rgba(158,156,255,.38);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0E0D0B; --bg-alt: #14120F; --surface: #1A1815; --surface-raised: #24211D;
    --ink: #F3E9D8; --ink-2: #BFB6A3; --ink-3: #8F8878; --line: #26231E; --line-strong: #3A362F;
    --accent: #5E5CE6; --accent-hover: #6E6CF0; --accent-ink: #9C9AFF; --accent-tint: rgba(94,92,230,.16);
    --pass: #30D158; --warn: #FF9F0A; --fail: #FF6961; --info: #409CFF;
    --pass-fill: rgba(52,199,89,.18); --warn-fill: rgba(255,149,0,.18); --fail-fill: rgba(255,59,48,.18); --info-fill: rgba(0,122,255,.18);
    --diagram-line: rgba(243,233,216,.14); --grid-line: rgba(255,255,255,.05);
    --bezel: #3A362F; --nav-bg: rgba(14,13,11,.78); --selection: rgba(158,156,255,.30);
    --pill-bg: linear-gradient(#1D1B17,#171512); --pill-border: rgba(255,255,255,.10);
    --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px -12px rgba(0,0,0,.6);
    --shadow-lg: 0 2px 4px rgba(0,0,0,.4), 0 40px 80px -24px rgba(0,0,0,.7);
    --glow-accent: 0 10px 28px -14px rgba(94,92,230,.55);
    --check-disc-ring: rgba(158,156,255,.38);
  }
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--font); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; color: var(--ink); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(42px, 6.4vw, 80px); line-height: 1.02; letter-spacing: -.04em; }
h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.05; letter-spacing: -.032em; }
h3 { font-size: 19px; line-height: 1.3; letter-spacing: -.012em; }
p { margin: 0 0 1em; }
img, svg { max-width: 100%; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color var(--t-fast); }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: inherit; }
::selection { background: var(--selection); }
code { font-family: var(--mono); font-size: .9em; }
.i { width: 1em; height: 1em; stroke: currentColor; fill: none; flex: none; vertical-align: -.125em; }
.skip-link { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--surface); color: var(--ink); padding: 10px 16px; border-radius: 8px; box-shadow: var(--shadow); }
.skip-link:focus { left: 12px; position: fixed; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.small { font-size: 14px; line-height: 1.5; }
.fine { font-size: 13px; line-height: 1.5; color: var(--ink-3); }
.lede { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 640px; }
.code { font: 400 12px/1.4 var(--mono); }
main { overflow-x: clip; }

/* Wordmark + lockup */
.wordmark { position: relative; display: inline-block; font: 700 27px/1 var(--display); letter-spacing: -.02em; color: var(--ink); padding-top: .06em; text-decoration: none; }
.wordmark::before { content: ""; position: absolute; left: .72em; right: 0; top: .17em; height: .12em; background: var(--accent); }
.lockup { display: flex; align-items: center; gap: 10px; }
.lockup a { text-decoration: none; display: flex; align-items: center; gap: 10px; color: inherit; }
.lockup .mark { width: 34px; height: 34px; border-radius: 22.37%; box-shadow: 0 0 0 .5px rgba(15,14,12,.18), 0 1px 3px rgba(15,14,12,.18); }
.lockup .div { width: 1px; height: 20px; background: var(--line-strong); margin: 0 2px; }
.lockup .by { font-size: 13px; color: var(--ink-3); }
.lockup .em { display: flex; align-items: center; }
.lockup .em img { height: 14px; width: auto; }
.mark-dark { display: none; }
:root[data-theme="dark"] .mark-light { display: none; }
:root[data-theme="dark"] .mark-dark { display: inline; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mark-light { display: none; } :root:not([data-theme="light"]) .mark-dark { display: inline; } }

/* Nav */
.nav { position: sticky; top: 0; z-index: 30; height: var(--nav-h); background: var(--nav-bg); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid var(--line); }
.nav-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); height: 100%; display: flex; align-items: center; gap: 24px; }
.nav-links { display: flex; gap: clamp(14px, 1.7vw, 28px); list-style: none; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; line-height: 1; padding: 8px 0; display: inline-block; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--ink); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.theme-toggle, .menu-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--ink-2); cursor: pointer; display: inline-grid; place-items: center; padding: 0; position: relative; }
.theme-toggle:hover, .menu-btn:hover { color: var(--ink); background: var(--bg-alt); }
.theme-toggle .i { position: absolute; font-size: 20px; transition: transform var(--t-slow) var(--ease), opacity var(--t-slow); }
.theme-toggle .i-moon { opacity: 0; transform: rotate(-60deg); }
:root[data-theme="dark"] .theme-toggle .i-sun { opacity: 0; transform: rotate(60deg); }
:root[data-theme="dark"] .theme-toggle .i-moon { opacity: 1; transform: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { opacity: 0; transform: rotate(60deg); }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { opacity: 1; transform: none; }
}
html:not(.js) .theme-toggle, html:not(.js) .menu-btn { display: none; }
.menu-btn { display: none; border-radius: 12px; }
.menu-btn span { position: absolute; width: 16px; height: 1.75px; background: currentColor; transition: transform var(--t) var(--ease); }
.menu-btn span:first-child { transform: translateY(-4px); } .menu-btn span:last-child { transform: translateY(4px); }
.nav.open .menu-btn span:first-child { transform: rotate(45deg); } .nav.open .menu-btn span:last-child { transform: rotate(-45deg); }

/* Buttons, pills, store-soon */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: var(--r-btn); font: 500 15px/1 var(--font); text-decoration: none; border: 1px solid transparent; transition: background var(--t-fast), border-color var(--t-fast); }
.btn-primary { background: var(--accent); color: var(--on-accent); } .btn-primary:hover { background: var(--accent-hover); }
.btn-outline { background: var(--surface); color: var(--ink); border-color: var(--line-strong); box-shadow: var(--shadow-sm); } .btn-outline:hover { border-color: var(--ink-3); }
.store-soon { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px; border-radius: 9px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 14px; font-weight: 500; color: var(--ink); margin: 0; }
.store-soon .i { font-size: 16px; color: var(--ink-3); }
.store-soon-sm { height: 36px; font-size: 13px; padding: 0 14px; }
.store-soon-light { background: transparent; color: var(--buff); border-color: rgba(243,233,216,.35); } .store-soon-light .i { color: var(--buff-2); }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px; border: 1px solid var(--pill-border); background: var(--pill-bg); border-radius: var(--r-pill); font-size: 13.5px; font-weight: 500; color: var(--ink); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 1px 2px rgba(15,14,12,.06), var(--glow-accent); }
.pill .dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.pill .dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); animation: ping 2.6s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .6; } 70%, 100% { transform: scale(3.2); opacity: 0; } }
.soon-note { font-size: 14px; color: var(--ink-3); margin: 0; }
.link-arrow { font-weight: 500; text-decoration: none; display: inline-flex; gap: 6px; }
.link-arrow span { transition: transform var(--t) var(--ease); display: inline-block; }
.link-arrow:hover span { transform: translateX(3px); }
.link-arrow.down:hover span { transform: translateY(3px); }

/* Sections */
section { padding-top: var(--section-pad); }
.section-head { max-width: var(--max-text); margin-bottom: var(--head-gap); }
.section-head p { color: var(--ink-2); font-size: 18px; margin: 0; }
.label { display: flex; align-items: center; gap: 12px; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 20px; }
.label .n { color: var(--accent-ink); }
.label .rule { width: 20px; height: 1px; background: var(--line-strong); }
.band { background: var(--bg-alt); padding-bottom: var(--section-pad); margin-top: var(--section-pad); padding-top: 0; }
.band > .wrap { padding-top: var(--section-pad); }

/* Hero */
.hero { position: relative; padding: clamp(56px, 9vw, 112px) 0 0; text-align: center; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 70%); }
.art { position: absolute; background: var(--diagram-line); -webkit-mask: var(--art-url) center / contain no-repeat; mask: var(--art-url) center / contain no-repeat; pointer-events: none; }
.art-accent { background: var(--accent); }
.art-hero { top: 0; right: 0; width: min(46vw, 640px); aspect-ratio: 1200 / 720; opacity: .9; z-index: -1; }
.art-hero-1 { --art-url: url("../assets/art/hero-oneline.svg"); }
.art-hero-2 { --art-url: url("../assets/art/hero-oneline-accent.svg"); }
.hero-copy { max-width: 940px; margin: 0 auto; padding: 0 var(--gutter); display: flex; flex-direction: column; align-items: center; }
.hero h1 { margin: 28px 0 24px; }
.hero .lede { margin: 0 0 36px; }
.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.hero-stage { position: relative; max-width: 1080px; margin: clamp(56px, 8vw, 88px) auto 0; padding: 0 var(--gutter); }
.hero-phone { position: absolute; right: calc(-2% + var(--gutter)); bottom: -10%; width: clamp(150px, 22%, 250px); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(72px, 10vw, 120px) auto 0; max-width: var(--max); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; }
.stats > div { display: flex; flex-direction: column-reverse; padding: 28px 24px; border-left: 1px solid var(--line); }
.stats > div:first-child { border-left: 0; }
.stats dt { font-size: 13px; color: var(--ink-3); } .stats dd { margin: 0; font: 600 clamp(26px, 2.8vw, 36px)/1.1 var(--display); letter-spacing: -.03em; margin-bottom: 6px; }
.stats-wrap { padding: 0 var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm); transition: transform var(--t) var(--ease), box-shadow var(--t); }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 8px; } .card p { font-size: 15px; color: var(--ink-2); margin: 0 0 14px; }
.card .tag { font: 400 12px/1.4 var(--mono); color: var(--ink-3); margin: 0; }
.icon-disc { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-tint); color: var(--accent-ink); display: grid; place-items: center; font-size: 22px; margin-bottom: 18px; }
.grid-calcs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; list-style: none; }
.grid-calcs > li { grid-column: span 2; } .grid-calcs > li:nth-child(n+4) { grid-column: span 3; }
.grid-calcs .card { height: 100%; }
.grid-out { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; list-style: none; }
.grid-out .card { padding: 12px; height: 100%; } .grid-out .card-body { padding: 16px 12px 12px; }
.grid-out h3 { margin-bottom: 8px; }
.grid-priv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; list-style: none; }
.grid-priv .i { font-size: 22px; color: var(--accent-ink); margin-bottom: 12px; display: block; }
.grid-priv h3 { font-size: 17px; margin-bottom: 6px; } .grid-priv p { font-size: 15px; color: var(--ink-2); margin: 0; }

/* Split, checks, flow */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.split--flip { grid-template-columns: 7fr 5fr; } .split--flip > .split-media { order: -1; }
.split-media { position: relative; min-width: 0; }
.split h3.big { font-size: 22px; }
.split p { color: var(--ink-2); }
.checks { list-style: none; display: grid; gap: 14px; margin: 24px 0 0; }
.checks li { position: relative; padding-left: 36px; color: var(--ink); line-height: 1.45; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234B49C8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 12.5l4 4 7-8'/%3E%3C/svg%3E") center / 14px no-repeat; box-shadow: inset 0 0 0 1px var(--check-disc-ring); }
:root[data-theme="dark"] .checks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239C9AFF' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 12.5l4 4 7-8'/%3E%3C/svg%3E"); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .checks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239C9AFF' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 12.5l4 4 7-8'/%3E%3C/svg%3E"); } }
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; list-style: none; margin-top: 80px; }
.flow li { border-top: 1px solid var(--ink); padding-top: 24px; }
.flow .step { font: 500 12px/1 var(--mono); color: var(--accent-ink); display: block; margin-bottom: 14px; }
.flow p { color: var(--ink-2); font-size: 15px; margin: 0; }
.mini { display: grid; gap: 28px; }
.mini > div { display: grid; grid-template-columns: 22px 1fr; gap: 14px; }
.mini .i { font-size: 22px; color: var(--accent-ink); margin-top: 2px; }
.mini h3 { margin-bottom: 4px; } .mini p { margin: 0; font-size: 15px; }
.note { display: grid; grid-template-columns: 20px 1fr; gap: 14px; border: 1px solid var(--line-strong); background: var(--bg-alt); border-radius: var(--r); padding: 20px 24px; max-width: 880px; margin: 48px auto 0; }
.band .note { background: var(--surface); }
.note .i { font-size: 20px; color: var(--accent-ink); margin-top: 2px; }
.note h3 { font-size: 15px; margin: 0 0 4px; font-family: var(--font); letter-spacing: 0; } .note p { font-size: 15px; color: var(--ink-2); margin: 0; }
.note-sm { margin: 24px 0; }

/* Device frames + placeholders */
.device { container-type: inline-size; margin: 0; position: relative; width: 100%; background: var(--bezel); box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,.08); }
.device--phone { max-width: 300px; aspect-ratio: 1320 / 2868; border-radius: 17.3% / 7.96%; }
.device--ipad { aspect-ratio: 2752 / 2064; border-radius: 3.4% / 4.53%; }
.device__screen { position: absolute; overflow: hidden; background: var(--bg-alt); }
.device--phone .device__screen { inset: 3.4cqw; border-radius: 14cqw; }
.device--ipad .device__screen { inset: 2.2cqw; border-radius: 1.8cqw; }
.device--phone::after { content: ""; position: absolute; top: 3.1%; left: 50%; transform: translateX(-50%); width: 28%; aspect-ratio: 5 / 1; border-radius: 999px; background: #000; z-index: 2; }
.device__screen > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.device__ph { position: absolute; inset: 0; display: grid; place-content: center; gap: 6px; padding: 12%; text-align: center; font: 500 11px/1.5 var(--mono); color: var(--ink-3); background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 24px 24px; background-position: center; }
.device__ph b, .ph__label b { color: var(--accent-ink); font-weight: 500; letter-spacing: .04em; display: block; }
.device__ph i, .ph__label i { font-style: normal; opacity: .85; display: block; }
@container (max-width: 220px) { .device__ph { font-size: 9px; padding: 8% 6%; } .device__ph i { display: none; } }
html.js .device:not(.is-loaded) .device__screen > img { opacity: 0; }
.device.is-loaded .device__ph { display: none; }
.phones { display: flex; gap: 6%; justify-content: center; padding-bottom: 56px; }
.phones .device { width: 46%; } .phones .device:nth-child(2) { transform: translateY(48px); }
.phones--pair { padding-bottom: 0; } .phones--pair .device:nth-child(2) { transform: translateY(32px); }
.dev-overlap { position: absolute; left: -4%; bottom: -8%; width: 26%; }
.ph { position: relative; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background-color: var(--bg-alt); background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 24px 24px; background-position: center; }
.ph-wide { aspect-ratio: 21 / 9; } .ph-card { aspect-ratio: 16 / 10; border-radius: var(--r); }
.ph .art { inset: 0; width: 100%; height: 100%; }
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 4%; z-index: 1; }
.ph-card > img.cover { object-fit: cover; object-position: top; padding: 0; }
.ph-card > img.fit70 { padding: 5% 0; }
.ph__label { position: absolute; inset: 0; display: grid; place-content: center; gap: 4px; padding: 8%; text-align: center; font: 500 11px/1.5 var(--mono); color: var(--ink-3); }
.ph.is-loaded .ph__label { display: none; }
.ph-wide .art-a8 { --art-url: url("../assets/art/diagram-detail.svg"); background: var(--ink-3); }
.ph-wide .art-a8b { --art-url: url("../assets/art/diagram-detail-accent.svg"); background: var(--accent); }
.fig-note { font-size: 14px; color: var(--ink-3); margin: 14px 0 0; max-width: 720px; }
.fig-block { margin: 64px 0 0; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; align-items: start; }
.faq details { border-top: 1px solid var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; min-height: 44px; padding: 18px 40px 18px 0; position: relative; font-size: 17px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; margin-top: -14px; font-size: 24px; line-height: 28px; color: var(--ink-3); transition: transform var(--t) var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 22px; font-size: 15px; color: var(--ink-2); max-width: 560px; }
.faq details > div p { margin: 0; }

/* Closing band + disclaimer */
.band-dark { position: relative; overflow: hidden; isolation: isolate; background: var(--dark); color: var(--buff); text-align: center; margin-top: var(--section-pad); padding: clamp(96px,12vw,160px) var(--gutter); }
.band-dark h2 { color: var(--buff); }
.band-dark .lede { color: var(--buff-2); margin: 0 auto 32px; }
.band-dark .soon-note { color: var(--buff-2); margin-top: 18px; } .band-dark a { color: var(--buff); }
.band-dark .art { inset: 0; width: 100%; height: 100%; opacity: .5; z-index: -1; --art-url: url("../assets/art/hero-oneline.svg"); background: rgba(243,233,216,.14); }
.band-dark .mark-big { width: 96px; height: 96px; border-radius: 22.37%; margin: 0 auto 32px; display: block; box-shadow: 0 0 0 .5px rgba(255,255,255,.12), 0 20px 60px rgba(94,92,230,.35); }
.band-dark .btnrow { display: flex; flex-direction: column; align-items: center; }
.disclaimer { max-width: var(--max-text); margin: 0 auto; padding: 32px var(--gutter); font-size: 13px; color: var(--ink-3); text-align: center; }
.disclaimer p { margin: 0; }

/* Footer */
.footer { position: relative; background: var(--dark); color: var(--buff-2); font-size: 14px; border-top: 1px solid var(--dark-line); padding-bottom: 2px; }
.footer a { color: var(--buff-2); text-decoration: none; } .footer a:hover { color: var(--buff); text-decoration: underline; }
.footer-grid { max-width: var(--max); margin: 0 auto; padding: 64px var(--gutter) 40px; display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
.footer .wordmark { color: var(--buff); } .footer .wordmark::before { background: #9C9AFF; }
.footer .lockup .mark { box-shadow: 0 0 0 .5px rgba(255,255,255,.12); }
.footer-tag { margin: 14px 0 24px; max-width: 300px; }
.endorse img { height: 20px; width: auto; display: block; margin-bottom: 10px; }
.endorse p { margin: 0 0 4px; }
.endorse a { color: var(--buff); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer h4 { font: 500 13px/1.2 var(--font); color: var(--buff); margin: 0 0 14px; letter-spacing: 0; }
.footer ul { list-style: none; display: grid; gap: 4px; } .footer li a { display: inline-block; padding: 6px 0; }
.footer li small { display: block; color: var(--buff-3); font-size: 12.5px; }
.footer .fine { color: var(--buff-3); font-size: 12.5px; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) 40px; }
.footer::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, rgba(255,176,0,.55) 20%, rgba(255,217,138,.8) 50%, rgba(255,176,0,.55) 80%, transparent); box-shadow: 0 0 24px 4px rgba(255,138,0,.35); }

/* Doc pages */
.doc { max-width: var(--max-text); margin: 0 auto; padding: clamp(56px, 8vw, 96px) var(--gutter) var(--s-9); }
.doc h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 24px; }
.doc h2 { font-size: 24px; letter-spacing: -.02em; margin: 48px 0 16px; }
.doc p, .doc li { font-size: 16px; line-height: 1.7; color: var(--ink-2); } .doc strong { color: var(--ink); }
.doc ul { padding-left: 22px; } .doc li { margin-bottom: 6px; }
.doc .label { margin-bottom: 20px; } .doc .lede { margin-bottom: 0; }
.center-page { text-align: center; padding: clamp(80px, 12vw, 160px) var(--gutter); }
.center-page .label { justify-content: center; } .center-page p { color: var(--ink-2); margin-bottom: 28px; }
.todo { background: var(--warn-fill); }

/* Responsive */
@media (max-width: 1080px) {
  .menu-btn { display: inline-grid; }
  .nav-links { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 4px var(--gutter) 12px; }
  .nav.open .nav-links { display: flex; }
  .nav-links li { border-top: 1px solid var(--line); } .nav-links li:first-child { border-top: 0; }
  .nav-links a { font-size: 16px; padding: 14px 0; width: 100%; }
  html:not(.js) .nav { height: auto; }
  html:not(.js) .nav-inner { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  html:not(.js) .nav-links { display: flex; position: static; flex-direction: row; flex-wrap: wrap; gap: 4px 20px; background: none; border: 0; padding: 0; width: 100%; order: 3; }
  html:not(.js) .nav-links li { border: 0; } html:not(.js) .nav-links a { font-size: 14px; padding: 8px 0; }
}
@media (max-width: 1000px) { .grid-calcs { grid-template-columns: repeat(2, 1fr); } .grid-calcs > li, .grid-calcs > li:nth-child(n+4) { grid-column: span 1; } .grid-calcs > li:last-child { grid-column: span 2; } }
@media (max-width: 900px) {
  .split, .split--flip { grid-template-columns: 1fr; gap: 40px; } .split--flip > .split-media { order: 0; } .split > div:first-child:not(.split-media) { order: -1; }
  .grid-priv { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .stats { grid-template-columns: repeat(2, 1fr); } .stats > div:nth-child(3) { border-left: 0; } .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hero-phone, .dev-overlap { display: none; }
  .flow { grid-template-columns: 1fr; gap: 0; } .flow li { padding-bottom: 28px; }
  .faq { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; } .footer-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) { .nav-right .store-soon-sm { display: none; } }
@media (max-width: 560px) {
  .grid-calcs, .grid-out, .grid-priv { grid-template-columns: 1fr; } .grid-calcs > li, .grid-calcs > li:last-child { grid-column: auto; }
  .art-hero { display: none; }
  .footer-cols { grid-template-columns: 1fr; }
  .phones { gap: 4%; } .phones .device { width: 48%; }
}
@media (max-width: 420px) { .lockup .by, .lockup .div { display: none; } .lockup .em img { height: 12px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (forced-colors: active) { .card, .btn, .store-soon, .note { border: 1px solid CanvasText; } .hero-bg, .art { display: none; } }

.split-after { margin-top: 64px; }
.privacy-link { margin-top: 48px; }
.band-dark .art { -webkit-mask-size: cover; mask-size: cover; }
