@font-face { font-family: 'Sora'; src: url('/fonts/Sora-Regular.woff2') format('woff2'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: 'Sora'; src: url('/fonts/Sora-SemiBold.woff2') format('woff2'); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('/fonts/JetBrainsMono-Regular.woff2') format('woff2'); font-style: normal; font-weight: 400; font-display: swap; }

:root {
  color-scheme: light;
  --paper: #ffffff;
  --surface: #ffffff;
  --surface-highlight: #f3f6fa;
  --diagram-surface: #eaf3ff;
  --host-muted: #cbd2dc;
  --ink: #0a0a0a;
  --muted: #4c5868;
  --line: #dce3eb;
  --brand: #007bff;
  --brand-ink: #0a0a0a;
  --action: #075ec8;
  --action-hover: #064b9e;
  --action-ink: #ffffff;
  --line-on-dark: #343b46;
  --accent: #007bff;
  --focus: #007bff;
  --shadow: 0 16px 48px rgba(10, 10, 10, .08);
  --hero-shadow: 0 24px 64px rgba(10, 10, 10, .05);
  --route-ink: rgba(7, 94, 200, .14);
  --scene-shadow: 0 20px 40px rgba(10, 10, 10, .10);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  font-family: 'Sora', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.55; overflow-x: clip; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 4px; }
.wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-header .wrap { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); }
.wordmark { display: inline-flex; align-items: center; gap: var(--space-3); text-decoration: none; flex: none; }
.brand-icon { display: block; width: 44px; height: 44px; border-radius: 28%; }
.wordmark-art { display: block; width: clamp(216px, 20vw, 264px); height: auto; flex: none; }
.site-nav { display: flex; gap: var(--space-4); flex-wrap: wrap; font-size: .88rem; font-weight: 600; }
.site-nav a { text-decoration: none; }
.site-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: clamp(32px, 5vw, 64px); padding-block: clamp(64px, 9vw, 120px); }
h1, h2, h3, p { margin-top: 0; }
strong, b { font-weight: 600; }
h1 { max-width: 12ch; font-size: clamp(3rem, 6vw, 5.8rem); line-height: 1.06; letter-spacing: -.055em; margin-bottom: var(--space-4); font-weight: 600; text-wrap: balance; }
h2 { font-size: clamp(2rem, 3.6vw, 3.3rem); line-height: 1.15; letter-spacing: -.04em; font-weight: 600; }
.lede { max-width: 56ch; color: var(--muted); font-size: clamp(1.08rem, 1.5vw, 1.27rem); }
.release-note { display: inline-flex; align-items: center; gap: var(--space-2); margin-top: var(--space-4); padding: 12px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-weight: 600; font-size: .9rem; }
.release-note::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.diagram { background: var(--brand); border: 1px solid var(--brand); border-radius: 28px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.diagram-label { color: var(--ink); font-family: 'JetBrains Mono', monospace; font-weight: 400; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.diagram-road { margin-top: var(--space-3); height: 64px; border-radius: 14px; background: var(--ink); display: flex; align-items: center; justify-content: space-around; padding-inline: var(--space-3); }
.diagram-road span { display: block; width: 16%; height: 3px; border-radius: 3px; background: var(--accent); }
.diagram-spots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: var(--space-3); }
.diagram-spots span { min-height: 126px; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--surface); border-radius: 14px; color: var(--ink); text-align: center; padding: 12px; font-size: .82rem; font-weight: 600; }
.diagram-spots span:nth-child(2) { border-color: var(--ink); background: var(--ink); color: var(--surface); }
.section { padding-block: clamp(60px, 8vw, 100px); border-top: 1px solid var(--line); }
.section-intro { max-width: 670px; color: var(--muted); font-size: 1.08rem; }
.steps { margin: 40px 0 0; padding: 0; list-style: none; display: grid; gap: 0; }
.steps li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--space-3); padding-block: var(--space-4); border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.step-number { color: var(--ink); font-family: 'JetBrains Mono', monospace; font-weight: 400; font-size: 1.2rem; }
.steps strong { display: block; font-size: 1.18rem; margin-bottom: var(--space-1); }
.steps p { margin-bottom: 0; color: var(--muted); }
.host-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: var(--space-5); align-items: center; background: var(--ink); color: var(--surface); padding: clamp(28px, 6vw, 64px); border-radius: 28px; }
.host-panel p { color: var(--host-muted); }
.host-panel ul { margin: 0; padding-left: 20px; }
.host-panel li + li { margin-top: var(--space-3); }
.release-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.release-panel p { color: var(--muted); }
.store-note { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.store-note strong { display: block; margin-bottom: 8px; }
.site-footer { border-top: 1px solid var(--line); padding-block: var(--space-5); color: var(--muted); font-size: .9rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.error-main { min-height: calc(100vh - 150px); display: grid; align-items: center; padding-block: 72px; }
.error-box { max-width: 650px; }
.error-code { color: var(--ink); font-weight: 600; letter-spacing: .12em; }
.error-box h1 { max-width: none; font-size: clamp(2.6rem, 5vw, 4.3rem); }
.error-box p { color: var(--muted); font-size: 1.08rem; }
.error-actions { display: flex; gap: var(--space-3); align-items: center; flex-wrap: wrap; margin-top: var(--space-5); }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; border-radius: 11px; background: var(--brand); color: var(--brand-ink); text-decoration: none; font-weight: 600; }
.button:hover { filter: brightness(.92); }
.text-link { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .site-header .wrap { padding-block: var(--space-3); align-items: flex-start; flex-direction: column; gap: var(--space-2); }
  .hero, .host-panel, .release-panel { grid-template-columns: minmax(0, 1fr); }
  .diagram-spots span { min-height: 90px; }
}
@media (max-width: 420px) {
  .wrap { width: min(100% - 32px, 1160px); }
  .brand-icon { width: 36px; height: 36px; }
  .wordmark-art { width: 204px; }
  .site-nav { gap: var(--space-3); font-size: .78rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Homepage: quiet typography, bold parking illustration, distinct section rhythms. */
.homepage .site-header { border-bottom: 0; }
.homepage .site-header .wrap { min-height: 96px; }
.homepage .brand-icon { width: 36px; height: 36px; }
.homepage .wordmark { gap: 12px; }
.homepage .wordmark-art { width: 188px; }
.homepage .site-nav { align-items: center; gap: var(--space-5); font-size: .82rem; }
.homepage .site-nav a { padding-block: 8px; }
.homepage .site-nav .nav-app { display: inline-flex; align-items: center; gap: 24px; background: var(--ink); color: var(--surface); padding: 12px 20px; border-radius: 999px; }
.homepage .nav-app:hover { background: var(--muted); text-decoration: none; }
.homepage .hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding-block: 64px 96px; }
.homepage h1 { color: var(--ink); font-size: clamp(3.25rem, 5.5vw, 5rem); max-width: 13ch; line-height: 1.08; letter-spacing: -.055em; margin-bottom: 28px; }
.homepage .lede { max-width: 46ch; font-size: 1rem; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 32px; }
.homepage .hero-actions .button { background: var(--action); color: var(--action-ink); border-radius: 999px; gap: 24px; padding: 16px 24px; font-size: .88rem; }
.homepage .hero-actions .button:hover { background: var(--action-hover); filter: none; }
.homepage .release-note { display: block; border: 0; background: none; padding: 0; margin: 0; font-weight: 400; font-size: .74rem; color: var(--muted); line-height: 1.65; }
.homepage .release-note::before { content: none; }
.homepage .diagram { position: relative; aspect-ratio: 1 / 1.06; min-width: 0; overflow: clip; padding: 0; background: var(--diagram-surface); border: 1px solid var(--line); border-radius: 40px; box-shadow: var(--hero-shadow); }
.diagram::before, .diagram::after { content: ''; position: absolute; border: 1px solid var(--route-ink); border-radius: 32px; transform: rotate(-18deg); }
.diagram::before { width: 64%; height: 42%; left: -20%; top: -12%; }
.diagram::after { width: 54%; height: 34%; right: -28%; top: 16%; }
.diagram-pin { position: absolute; top: 36px; right: 40px; width: 80px; height: 80px; display: grid; place-items: center; background: var(--ink); color: var(--surface); border-radius: 50% 50% 50% 8%; transform: rotate(-45deg); font-size: 0; z-index: 1; box-shadow: var(--scene-shadow); }
.diagram-pin img { display: block; width: 44px; height: 44px; border-radius: 12px; transform: rotate(45deg); }
.diagram-route { position: absolute; inset: 0; width: 100%; height: 100%; }
.diagram-route path { stroke: var(--action); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 3 10; }
.diagram-route circle { fill: var(--action); }
.parking-scene { position: absolute; left: 10%; top: 37%; width: 80%; transform: rotate(-9deg); background: var(--surface); padding: 12px; border-radius: 24px; box-shadow: var(--scene-shadow); }
.homepage .diagram-road { margin: 0; height: 48px; border-radius: 12px; }
.homepage .diagram-road span { width: 16%; height: 3px; }
.homepage .diagram-spots { margin-top: 12px; gap: 8px; }
.homepage .diagram-spots span { border: 1px solid var(--line); border-radius: 12px; min-height: 140px; padding: 12px; color: var(--muted); font-size: .8rem; }
.homepage .diagram-spots span:nth-child(2) { border-color: var(--ink); color: var(--surface); }
.parked-car { width: 52px; max-width: 100%; height: 104px; }
.parked-car rect { fill: var(--surface); }
.parked-car path { fill: var(--ink); }
.parked-car path:last-child { fill: none; stroke: var(--brand); stroke-width: 3; stroke-linecap: round; }
.homepage .diagram-label { position: absolute; bottom: 28px; left: 32px; font-family: 'Sora', sans-serif; font-size: .86rem; font-weight: 600; letter-spacing: -.02em; text-transform: none; }
.homepage .section { padding-block: 88px; }
.homepage h2 { font-size: clamp(2rem, 3vw, 2.7rem); line-height: 1.2; text-wrap: balance; margin-bottom: 24px; }
.how-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 96px; }
.section-heading { max-width: 390px; }
.homepage .section-intro { font-size: .96rem; line-height: 1.75; margin-bottom: 0; }
.homepage .steps { margin: 0; }
.homepage .steps li { grid-template-columns: 48px minmax(0, 1fr); gap: 20px; padding-block: 28px; }
.homepage .steps li:first-child { padding-top: 0; border-top: 0; }
.homepage .steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.homepage .step-number { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-highlight); color: var(--ink); font-size: .85rem; }
.homepage .steps strong { font-size: 1rem; margin-bottom: 12px; }
.homepage .steps p { font-size: .9rem; line-height: 1.75; }
.homepage #host { border-top: 0; padding-block: 0 88px; }
.homepage .host-panel { grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 72px; padding: 64px; border-radius: 32px; align-items: center; }
.host-copy h2 { max-width: 16ch; }
.homepage .host-panel p { margin-bottom: 0; font-size: .94rem; line-height: 1.8; }
.homepage .host-panel ul { padding: 0; list-style: none; }
.homepage .host-panel li { position: relative; padding: 24px 0 24px 32px; border-bottom: 1px solid var(--line-on-dark); font-size: .94rem; }
.homepage .host-panel li:first-child { padding-top: 0; }
.homepage .host-panel li:last-child { border-bottom: 0; padding-bottom: 0; }
.homepage .host-panel li + li { margin: 0; }
.homepage .host-panel li::before { content: '↗'; position: absolute; left: 0; color: var(--brand); font-size: 1.1rem; }
.homepage #app { background: var(--surface-highlight); border: 0; }
.homepage .release-panel { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 96px; align-items: center; }
.homepage .release-panel h2 { max-width: 12ch; font-size: clamp(2.6rem, 4vw, 3.6rem); }
.homepage .release-panel p { max-width: 44ch; margin-bottom: 0; font-size: .96rem; line-height: 1.75; }
.homepage .store-note { padding: 0; border: 0; background: transparent; border-radius: 0; }
.app-brand-icon { display: block; width: 76px; height: 76px; margin-bottom: 24px; border-radius: 22px; }
.store-badge { display: block; width: 208px; max-width: 100%; margin-top: 24px; }
.store-badge img { display: block; width: 100%; height: auto; }
.homepage .store-note strong { font-size: 1.1rem; line-height: 1.5; max-width: 28ch; margin-bottom: 12px; }
.homepage #support { border-top: 0; padding-block: 64px; }
.support-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 96px; align-items: start; }
.homepage .support-layout h2 { font-size: 1.7rem; max-width: 16ch; margin-bottom: 0; }
.homepage .site-footer { padding-block: 24px; font-size: .8rem; }
@media (max-width: 1000px) {
  .homepage .hero { gap: 32px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .homepage .release-note br { display: none; }
  .how-layout, .homepage .release-panel, .support-layout { gap: 48px; }
  .homepage .host-panel { padding: 48px; gap: 40px; }
  .homepage .diagram-spots span { min-height: 112px; }
  .parked-car { height: 84px; }
}
@media (max-width: 760px) {
  .homepage .site-header .wrap { min-height: 80px; flex-direction: row; align-items: center; gap: 16px; }
  .homepage .wordmark-art { width: 148px; }
  .homepage .brand-icon { width: 28px; height: 28px; }
  .homepage .site-nav { gap: 16px; font-size: .72rem; }
  .homepage .site-nav .nav-app { padding: 8px 12px; gap: 12px; }
  .homepage .hero { grid-template-columns: minmax(0, 1fr); padding-block: 40px 64px; gap: 40px; }
  .homepage h1 { font-size: clamp(3rem, 8vw, 4rem); max-width: 16ch; }
  .homepage .lede { max-width: 52ch; }
  .hero-actions { flex-direction: row; align-items: center; }
  .homepage .release-note br { display: initial; }
  .homepage .diagram { aspect-ratio: 1.25; width: 100%; max-width: 560px; border-radius: 28px; }
  .parking-scene { top: 32%; width: 72%; left: 14%; }
  .diagram-pin { top: 24px; right: 28px; width: 64px; height: 64px; }
  .diagram-pin img { width: 36px; height: 36px; border-radius: 8px; }
  .homepage .diagram-label { bottom: 20px; left: 24px; }
  .homepage .section { padding-block: 64px; }
  .how-layout, .homepage .host-panel, .homepage .release-panel, .support-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .section-heading { max-width: 480px; }
  .homepage #host { padding-bottom: 64px; }
  .homepage .host-panel { padding: 40px 32px; border-radius: 24px; }
  .host-copy h2 { max-width: 22ch; }
  .homepage .release-panel h2 { max-width: 16ch; }
  .homepage #support { padding-block: 48px; }
  .support-layout { gap: 24px; }
}
@media (max-width: 540px) {
  .homepage .site-header .wrap { flex-wrap: wrap; gap: 12px; padding-block: 20px; }
  .homepage .site-nav { width: 100%; justify-content: space-between; }
  .homepage .hero { padding-top: 24px; }
  .homepage h1 { font-size: 3rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .homepage .release-note br { display: none; }
  .homepage .diagram { aspect-ratio: 1; }
  .homepage .diagram-spots span { min-height: 100px; }
  .parking-scene { width: 80%; left: 10%; top: 35%; }
  .parked-car { height: 76px; }
  .homepage .diagram-label { font-size: .76rem; }
  .homepage .host-panel { padding: 32px 24px; }
}
