/* ==========================================================================
   uaplatform.com - design system
   The site mirrors the product: AMOLED black, hairline grid, square corners,
   monospace telemetry, one blue accent. Depth = lightness, never shadows.
   Text ramp: --text > --body > --muted; --faint is decorative-only (fails AA).
   ========================================================================== */

@font-face {
    font-family: 'Geist';
    src: url('fonts/Geist-Variable.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Geist Mono';
    src: url('fonts/GeistMono-Variable.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #000000;
    --panel: #0d0d0d;
    --card: #121212;
    --line: #1f1f1f;
    --line-strong: #2a2a2a;
    --text: #ededed;
    --body: #a3a3a3;
    --muted: #8a8a8a;
    --faint: #4a4a4a;
    --blue: #228be6;
    --blue-btn: #1971c2;
    --blue-btn-hover: #1864ab;
    --green: #2ecc71;
    --amber: #ffa500;
    --sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    --mono: 'Geist Mono', ui-monospace, 'SF Mono', 'Cascadia Mono', 'Courier New', monospace;
    --rail: 1120px;
    --pad: clamp(20px, 4vw, 48px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--body);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

::selection { background: rgba(34, 139, 230, 0.35); color: #ffffff; }

a { color: inherit; text-decoration: none; }

:focus-visible { outline: 1px solid var(--blue); outline-offset: 3px; }

.nowrap { white-space: nowrap; }

.skip-link {
    position: absolute;
    top: -48px;
    left: 16px;
    z-index: 100;
    background: var(--blue-btn);
    color: #ffffff;
    font-size: 13px;
    padding: 10px 16px;
    transition: top 0.15s ease;
}

.skip-link:focus { top: 8px; }

/* Anchor targets clear the sticky nav */
section[id] { scroll-margin-top: 76px; }

@media (max-width: 860px) {
    section[id] { scroll-margin-top: 116px; }
}

/* --------------------------------------------------------------------------
   Rail: central column with full-height hairlines, sections cut by rules
   -------------------------------------------------------------------------- */

.rail {
    display: block;
    max-width: var(--rail);
    margin: 0 auto;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
}

@media (max-width: 1160px) {
    .rail { border-left: none; border-right: none; }
}

.rule { border: none; border-top: 1px solid var(--line); }

section { position: relative; }

/* Crosshair tick at section corners - blueprint detail */
.tick { position: relative; }
.tick::before {
    content: '+';
    position: absolute;
    top: -11px;
    left: -7px;
    color: var(--faint);
    font-family: var(--mono);
    font-size: 13px;
    line-height: 1;
    z-index: 2;
}
@media (max-width: 1160px) { .tick::before { display: none; } }

/* Section scaffolding */
.section-head {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 0 var(--pad);
    margin-bottom: 40px;
}

.index {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--blue);
    letter-spacing: 0.08em;
}

.eyebrow {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-head .eyebrow { display: block; margin-bottom: 14px; }

h2 {
    color: var(--text);
    font-size: clamp(26px, 3.4vw, 36px);
    font-weight: 560;
    letter-spacing: -0.022em;
    line-height: 1.15;
}

.section-sub {
    max-width: 560px;
    margin-top: 14px;
    font-size: 16px;
    color: var(--body);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding: 10px 18px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.btn-primary { background: var(--blue-btn); color: #ffffff; }
.btn-primary:hover { background: var(--blue-btn-hover); }

.btn-ghost { border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: #3d3d3d; background: #0f0f0f; }

.btn .ext {
    font-family: var(--mono);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
}
.btn-ghost .ext { color: var(--muted); }

/* --------------------------------------------------------------------------
   Nav
   -------------------------------------------------------------------------- */

.nav-wrap {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(0, 0, 0, 0.84);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.nav {
    max-width: var(--rail);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 0 var(--pad);
    height: 60px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 560;
    font-size: 15px;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.brand svg { display: block; flex: none; }

.nav-links {
    display: flex;
    gap: 26px;
    font-size: 13.5px;
    color: var(--muted);
}

.nav-links a { transition: color 0.15s ease; white-space: nowrap; }
.nav-links a:hover { color: var(--text); }

.nav-cta {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    margin-right: 8px;
}

.lang-btn {
    background: none;
    border: none;
    padding: 4px 2px;
    font: inherit;
    letter-spacing: inherit;
    color: var(--muted);
    cursor: pointer;
    transition: color 0.15s ease;
}

.lang-btn:hover { color: var(--text); }
.lang-btn.active { color: var(--text); }

.lang-sep { color: var(--faint); }

.nav-cta .signin {
    font-size: 13.5px;
    color: var(--muted);
    transition: color 0.15s ease;
    margin-right: 6px;
    white-space: nowrap;
}
.nav-cta .signin:hover { color: var(--text); }

.nav .btn { padding: 7px 14px; font-size: 13px; }

/* Small screens: links become a scrollable mono strip on a second row */
@media (max-width: 860px) {
    .nav { flex-wrap: wrap; height: auto; gap: 16px; row-gap: 0; }
    .brand, .nav-cta { height: 56px; }
    .nav-cta { display: flex; align-items: center; }
    .brand { display: inline-flex; align-items: center; }
    .nav-links {
        order: 4;
        width: 100%;
        border-top: 1px solid var(--line);
        padding: 11px 0;
        overflow-x: auto;
        font-family: var(--mono);
        font-size: 11px;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        gap: 24px;
        scrollbar-width: none;
    }
    .nav-links::-webkit-scrollbar { display: none; }
}

@media (max-width: 430px) {
    .nav-cta .signin { display: none; } /* still reachable via footer and #get-started */
    .nav { gap: 10px; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
    padding: clamp(64px, 9vw, 110px) var(--pad) clamp(56px, 8vw, 96px);
}

.hero-copy .eyebrow { display: block; margin-bottom: 22px; }

h1 {
    color: var(--text);
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 570;
    letter-spacing: -0.028em;
    line-height: 1.06;
    margin-bottom: 22px;
}

.hero-sub {
    font-size: 17px;
    line-height: 1.65;
    max-width: 480px;
    margin-bottom: 34px;
}

.hero-sub strong { color: var(--text); font-weight: 500; }

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 960px) {
    .hero { grid-template-columns: 1fr; }
    .hero-panel-wrap { max-width: 520px; }
}

/* --- Telemetry panel ------------------------------------------------------ */

.panel {
    background: var(--panel);
    border: 1px solid var(--line-strong);
    font-family: var(--mono);
}

.panel-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    font-size: 11.5px;
    letter-spacing: 0.06em;
    color: var(--muted);
}

.live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--green);
    font-weight: 500;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.5); }
    50% { opacity: 0.55; box-shadow: 0 0 0 5px rgba(46, 204, 113, 0); }
}

.panel-head .vid { margin-left: auto; color: var(--faint); }

.wave-wrap {
    position: relative;
    border-bottom: 1px solid var(--line);
}

.wave-strip {
    display: block;
    width: 100%;
    height: 72px;
    background:
        linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 18px,
        linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / calc(100% / 10) 100%;
}

.wave-label {
    position: absolute;
    top: 6px;
    right: 10px;
    font-size: 10px;
    letter-spacing: 0.08em;
    color: var(--muted);
    background: #0d0d0d;
    padding: 1px 5px;
}

.sig-rows { padding: 6px 0; }

.sig {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 8px 16px;
    font-size: 12.5px;
}

.sig .name { color: var(--muted); letter-spacing: 0.02em; }

.sig .fill {
    flex: 1;
    border-bottom: 1px dotted #262626;
    transform: translateY(-3px);
}

.sig .val {
    color: var(--text);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

/* Fixed unit gutter so every value shares the same right edge */
.sig .unit { width: 4ch; flex: none; color: var(--muted); font-size: 11px; }

.panel-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    padding: 12px 16px;
    border-top: 1px solid var(--line);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--muted);
}

.panel-foot span { white-space: nowrap; }
.panel-foot b { color: var(--green); font-weight: 500; }
.panel-foot .alerts b { color: var(--text); }

/* --------------------------------------------------------------------------
   Ticker
   -------------------------------------------------------------------------- */

.ticker-wrap {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    padding: 11px 0;
    position: relative;
    mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent);
}

/* No flex gap: spacing lives inside each item so the doubled track measures
   exactly two periods and translateX(-50%) loops seamlessly. */
.ticker {
    display: flex;
    width: max-content;
    font-family: var(--mono);
    font-size: 12px;
    color: #565656;
    white-space: nowrap;
}

.js .ticker { animation: ticker 90s linear infinite; }

.ticker span { padding-right: 48px; }
.ticker span b { color: #8f8f8f; font-weight: 400; }
.ticker span i { font-style: normal; color: #3d3d3d; margin-right: 10px; }

@keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   Sections shared padding
   -------------------------------------------------------------------------- */

.block { padding: clamp(64px, 9vw, 104px) 0; }

/* --------------------------------------------------------------------------
   Why we exist - indictment copy + numbered plan panel
   -------------------------------------------------------------------------- */

.why {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center; /* copy sits balanced against the taller plan panel */
    padding-left: var(--pad);
    padding-right: var(--pad);
}

.why-copy p { max-width: 520px; font-size: 15.5px; line-height: 1.7; }
.why-copy p + p { margin-top: 14px; }

.why-quote { color: var(--text); }
.why-copy p + p.why-quote { margin-top: 18px; }

.plan {
    background: var(--panel);
    border: 1px solid var(--line-strong);
    font-family: var(--mono);
}

.plan-head {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--muted);
}

.plan-head .vid { color: var(--faint); }

.plan-list {
    list-style: none;
    counter-reset: step;
    padding: 6px 0;
}

.plan-list li {
    counter-increment: step;
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 11px 16px;
    font-size: 12.5px;
}

.plan-list li::before {
    content: counter(step, decimal-leading-zero);
    color: var(--blue);
    font-size: 11px;
    flex: none;
}

.plan-list .step { color: #c9c9c9; }

.plan-list .state {
    margin-left: auto;
    flex: none;
    font-size: 10px;
    letter-spacing: 0.1em;
    padding: 3px 8px;
    border: 1px solid transparent;
}

.plan-list .state.ok { color: var(--green); border-color: rgba(46, 204, 113, 0.3); }
.plan-list .state.wip { color: var(--amber); border-color: rgba(255, 165, 0, 0.3); }

.plan-foot {
    padding: 12px 16px;
    border-top: 1px solid var(--line);
    font-size: 10.5px;
    letter-spacing: 0.1em;
    color: var(--muted);
}

@media (max-width: 960px) {
    .why { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Pillars
   -------------------------------------------------------------------------- */

.pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
}

.pillar {
    padding: 32px var(--pad) 40px;
    border-right: 1px solid var(--line);
}

.pillar:last-child { border-right: none; }

.pillar .num {
    display: block;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--blue);
    margin-bottom: 40px;
}

.pillar h3 {
    color: var(--text);
    font-size: 17px;
    font-weight: 550;
    letter-spacing: -0.01em;
    line-height: 1.35;
    min-height: 2.7em; /* two lines - keeps body text aligned across columns */
    margin-bottom: 10px;
}

.pillar p { font-size: 14.5px; color: var(--body); line-height: 1.62; }

@media (max-width: 960px) {
    .pillars { grid-template-columns: 1fr 1fr; }
    .pillar:nth-child(2) { border-right: none; }
    .pillar:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 560px) {
    .pillars { grid-template-columns: 1fr; }
    .pillar { border-right: none; }
    .pillar:nth-child(n+2) { border-top: 1px solid var(--line); }
    .pillar .num { margin-bottom: 14px; }
    .pillar h3 { min-height: 0; }
}

/* --------------------------------------------------------------------------
   Numbers strip
   -------------------------------------------------------------------------- */

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.stat {
    padding: 36px var(--pad);
    border-right: 1px solid var(--line);
}

.stat:last-child { border-right: none; }

.stat .value {
    font-family: var(--mono);
    font-size: clamp(24px, 2.6vw, 32px);
    color: var(--text);
    font-weight: 450;
    letter-spacing: -0.01em;
    font-variant-numeric: tabular-nums;
    margin-bottom: 8px;
}

.stat .label {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
}

.stats-note {
    padding: 14px var(--pad);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--muted);
}

@media (max-width: 960px) {
    .stats { grid-template-columns: 1fr 1fr; }
    .stat:nth-child(2) { border-right: none; }
    .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* --------------------------------------------------------------------------
   Lifecycle
   -------------------------------------------------------------------------- */

.stages {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
}

.stage {
    padding: 0 var(--pad) 44px;
    border-right: 1px solid var(--line);
    position: relative;
}

.stage:last-child { border-right: none; }

.stage-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.14em;
    color: var(--text);
    padding: 22px 0 26px;
}

.stage-label::before {
    content: '';
    width: 7px;
    height: 7px;
    background: var(--blue);
}

.stage ul { list-style: none; display: grid; gap: 18px; }

.stage li .app-name {
    display: block;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-bottom: 3px;
}

.stage li .app-desc { font-size: 14.5px; color: var(--body); line-height: 1.5; }

@media (max-width: 960px) {
    .stages { grid-template-columns: 1fr 1fr; }
    .stage:nth-child(2) { border-right: none; }
    .stage:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 560px) {
    .stages { grid-template-columns: 1fr; }
    .stage { border-right: none; }
    .stage:nth-child(n+2) { border-top: 1px solid var(--line); }
}

/* --------------------------------------------------------------------------
   uaMind terminal
   -------------------------------------------------------------------------- */

.mind {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
    padding-left: var(--pad);
    padding-right: var(--pad);
}

.mind-copy p { max-width: 440px; font-size: 15.5px; }
.mind-copy p + p { margin-top: 14px; }

.term {
    background: var(--panel);
    border: 1px solid var(--line-strong);
    font-family: var(--mono);
    font-size: 13px;
    line-height: 1.8;
}

.term-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--line);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--muted);
}

.term-body { padding: 18px 16px 22px; min-height: 160px; }

.term-body .q { color: var(--text); }
.term-body .q::before { content: '> '; color: var(--blue); }

.caret {
    display: inline-block;
    width: 7px;
    height: 15px;
    background: var(--blue);
    vertical-align: -2px;
    animation: blink 1.1s steps(1) infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.term-body .r { color: var(--muted); }
.term-body .r b { color: var(--text); font-weight: 450; }
.term-body .r .ok { color: var(--green); }
.term-body .r .warn { color: var(--amber); }
.term-body .r.actions { color: var(--muted); }
.term-body .r.actions b { color: var(--blue); font-weight: 450; }

/* Structured result rows - real columns, so wrapping never garbles them */
.term-body .row {
    display: grid;
    grid-template-columns: 8ch 9ch 12ch 1fr;
    gap: 8px;
}

@media (max-width: 960px) {
    .mind { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .term { font-size: 12px; }
    .term-body .row { grid-template-columns: 8ch 8ch 11ch 1fr; gap: 6px; }
}

/* --------------------------------------------------------------------------
   Hardware
   -------------------------------------------------------------------------- */

.hw {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
}

.hw-item {
    padding: 36px var(--pad) 44px;
    border-right: 1px solid var(--line);
}

.hw-item:last-child { border-right: none; }

.hw-item svg { display: block; margin-bottom: 26px; }

.hw-item h3 {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    color: var(--text);
    margin-bottom: 10px;
}

.hw-item p { font-size: 14.5px; color: var(--body); line-height: 1.62; }

@media (max-width: 860px) {
    .hw { grid-template-columns: 1fr; }
    .hw-item { border-right: none; }
    .hw-item:nth-child(n+2) { border-top: 1px solid var(--line); }
}

/* Next in the lineup - upcoming hardware, honestly tagged */

.hw-next {
    border-top: 1px solid var(--line);
    padding: 26px var(--pad) 8px;
}

.hw-next-label {
    display: block;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 22px;
}

.hw-next-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 4vw, 56px);
}

.hw-next-item { display: flex; gap: 18px; align-items: flex-start; }

.hw-next-item svg { flex: none; margin-top: 2px; }

.hw-next-item h3 {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    color: var(--text);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hw-next-item .state {
    font-size: 10px;
    letter-spacing: 0.1em;
    padding: 2px 7px;
    border: 1px solid transparent;
    font-weight: 400;
}

.hw-next-item .state.wip { color: var(--amber); border-color: rgba(255, 165, 0, 0.3); }
.hw-next-item .state.next { color: var(--muted); border-color: var(--line-strong); }

.hw-next-item p { font-size: 14px; color: var(--body); line-height: 1.6; }

@media (max-width: 700px) {
    .hw-next-items { grid-template-columns: 1fr; gap: 24px; }
}

/* Inline "coming soon" tag inside feature lists */
.feat-list .soon {
    font-style: normal;
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: 0.1em;
    color: var(--amber);
    border: 1px solid rgba(255, 165, 0, 0.3);
    padding: 1px 6px;
    margin-left: 6px;
    vertical-align: 1px;
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Mobile app
   -------------------------------------------------------------------------- */

.mobile {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(32px, 5vw, 80px);
    align-items: center;
    padding-left: var(--pad);
    padding-right: var(--pad);
}

.phone-wrap { display: flex; justify-content: center; }

.phone {
    width: 290px;
    background: #0a0a0a;
    border: 1px solid #2e2e2e;
    border-radius: 34px;
    padding: 12px;
}

.phone-screen {
    background: #000000;
    border: 1px solid var(--line);
    border-radius: 22px; /* concentric with the 34px bezel at 12px padding */
    overflow: hidden;
    font-family: var(--mono);
}

.phone-status {
    display: flex;
    justify-content: space-between;
    padding: 12px 18px 4px;
    font-size: 10px;
    color: var(--faint);
    letter-spacing: 0.06em;
}

.phone-title {
    padding: 14px 18px 4px;
    font-size: 12px;
    letter-spacing: 0.1em;
    color: var(--text);
}

.phone-title small { display: block; color: var(--muted); font-size: 10px; margin-top: 3px; letter-spacing: 0.14em; }

.phone-car { display: block; margin: 4px auto 0; }

.phone-chips {
    display: flex;
    gap: 8px;
    padding: 10px 18px 4px;
}

.chip {
    font-size: 10px;
    letter-spacing: 0.08em;
    padding: 5px 9px;
    border: 1px solid var(--line-strong);
    color: var(--body);
}

.chip.ok { color: var(--green); border-color: rgba(46, 204, 113, 0.35); }

.phone-card {
    margin: 14px 14px 8px;
    border: 1px solid var(--line);
    background: var(--card);
    padding: 12px 14px;
}

.phone-card .k {
    font-size: 9.5px;
    letter-spacing: 0.14em;
    color: var(--muted);
    margin-bottom: 6px;
}

.phone-card .v { font-size: 12.5px; color: var(--text); }

.meter {
    height: 3px;
    background: #1c1c1c;
    margin-top: 10px;
    position: relative;
}

.meter i {
    position: absolute;
    inset: 0 40% 0 0;
    background: var(--blue);
}

.phone-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 6px 14px 18px;
}

.phone-btn {
    text-align: center;
    font-size: 10.5px;
    letter-spacing: 0.1em;
    padding: 11px 0;
    border: 1px solid var(--line-strong);
    color: var(--body);
}

.phone-btn.primary { background: var(--blue-btn); border-color: var(--blue-btn); color: #ffffff; }

.mobile-copy { padding-top: 4px; }

.feat-list { list-style: none; display: grid; gap: 12px; margin-bottom: 34px; }

.feat-list li {
    display: flex;
    gap: 12px;
    font-size: 14.5px;
    color: var(--body);
}

.feat-list li::before {
    content: '';
    flex: none;
    width: 6px;
    height: 6px;
    background: var(--blue);
    margin-top: 8px;
}

.feat-list li b { color: var(--text); font-weight: 500; }

.store-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.store-soon {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--muted);
    border: 1px dashed #2a2a2a;
    padding: 14px 18px;
}

@media (max-width: 960px) {
    .mobile { grid-template-columns: 1fr; }
    .phone-wrap { order: 2; }
}

/* --------------------------------------------------------------------------
   Get started
   -------------------------------------------------------------------------- */

.paths {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
}

.path {
    padding: 36px var(--pad) 44px;
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.path:last-child { border-right: none; }

.path .eyebrow { margin-bottom: 18px; }

/* Quiet anchor for CTA-less cells - sits at the buttons' optical level */
.path .path-cta .eyebrow { margin: 14px 0 0; color: var(--muted); }

.path p { font-size: 14.5px; color: var(--body); margin-bottom: 26px; }

/* Every cell reserves the same CTA slot so buttons share a top edge */
.path-cta {
    margin-top: auto;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

@media (max-width: 860px) {
    .paths { grid-template-columns: 1fr; }
    .path { border-right: none; }
    .path:nth-child(n+2) { border-top: 1px solid var(--line); }
    .path-cta { min-height: 0; }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

footer { border-top: 1px solid var(--line); }

/* Footer snaps to the same quarter-column rhythm as the pillar grids */
.foot-main {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 56px 0;
}

.foot-brand { grid-column: span 2; padding: 0 var(--pad); }

.foot-brand .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 560;
    font-size: 15px;
    letter-spacing: -0.01em;
    margin-bottom: 14px;
}

.foot-brand p { font-size: 13.5px; color: var(--muted); max-width: 320px; }

.foot-col { padding: 0 var(--pad); }

.foot-col h3 {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    color: var(--muted);
    margin-bottom: 16px;
}

.foot-col ul { list-style: none; display: grid; gap: 10px; }

.foot-col a { font-size: 13.5px; color: var(--muted); transition: color 0.15s ease; }
.foot-col a:hover { color: var(--text); }

.foot-legal {
    border-top: 1px solid var(--line);
    padding: 20px var(--pad);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.04em;
    color: var(--muted);
    line-height: 1.8;
}

.foot-legal a { text-decoration: underline; text-underline-offset: 3px; transition: color 0.15s ease; }
.foot-legal a:hover { color: var(--text); }

/* --------------------------------------------------------------------------
   Prose pages (privacy)
   -------------------------------------------------------------------------- */

.prose {
    max-width: 640px;
    padding: clamp(48px, 7vw, 80px) var(--pad) clamp(64px, 9vw, 104px);
}

.prose h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 10px; }

.prose .updated {
    display: block;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-bottom: 40px;
}

.prose h2 {
    font-size: 18px;
    font-weight: 550;
    margin: 36px 0 10px;
}

.prose p { font-size: 15px; color: var(--body); line-height: 1.7; }
.prose p + p { margin-top: 10px; }
.prose a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { margin: 10px 0 0 18px; color: var(--body); font-size: 15px; line-height: 1.7; }

@media (max-width: 860px) {
    .foot-main { grid-template-columns: 1fr; gap: 32px; padding: 56px 0; }
    .foot-brand { grid-column: auto; }
}

/* --------------------------------------------------------------------------
   Reveal on scroll
   Applied to whole grid containers (not cells) so the hairline lattice moves
   as one plate. Hidden state only when JS is confirmed running (html.js set
   inline in <head>, removed by the script tag's onerror) - content is never
   lost if the script fails to load.
   -------------------------------------------------------------------------- */

.js .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.in { opacity: 1; transform: none; }
