/* The app's own tokens, not a second palette invented for the web: paper and
   ink from theme.css, jade for the one thing on screen that is you, canvas for
   the ground a night map is drawn on. Fonts are what the device already has —
   this page asks the network for nothing, which is the whole claim the app
   makes about itself. */
:root {
  --paper: #f4f4f5;
  --paper-warm: #ffffff;
  --ink: #191a1b;
  --ink-2: #4a4c4e;
  --ink-3: #7c7f82;
  --rule: #d8dadc;
  --jade: #0a7f60;
  --canvas: #101011;
  --trace: #1fb188;
  color-scheme: light dark;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--paper);
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #131314;
    --paper-warm: #1c1d1e;
    --ink: #ededee;
    --ink-2: #c3c5c7;
    --ink-3: #8a8d90;
    --rule: #2e3032;
    --jade: #1fb188;
  }
}

* { box-sizing: border-box; }
body { margin: 0; line-height: 1.65; }
.wrap { max-width: 44rem; margin: 0 auto; padding: 0 1.5rem; }
a { color: var(--jade); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--jade); outline-offset: 4px; border-radius: 4px; }
p { overflow-wrap: anywhere; }

.skip-link { position: absolute; top: 8px; left: 16px; padding: 8px 14px; background: var(--paper); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

nav { display: flex; gap: 12px 22px; flex-wrap: wrap; align-items: center; padding: 22px 0 0; }
nav a { min-height: 44px; display: inline-flex; align-items: center; color: var(--ink-2); text-decoration: none; }
nav a:hover { color: var(--ink); text-decoration: underline; }
nav .brand { font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
/* Korean breaks between words, not inside them. */
:lang(ko) { word-break: keep-all; }

/* Georgia rather than a downloaded face: the app sets Instrument Serif and
   falls back to Georgia, and a web font would be the one request this page
   makes. */
h1, h2 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; line-height: 1.1; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 7vw, 4.2rem); margin: 30px 0 14px; max-width: 16ch; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.1rem); margin: 0 0 14px; }
h3 { font-size: 1rem; margin: 0 0 4px; font-weight: 650; }
.lead { font-size: 1.22rem; color: var(--ink-2); margin: 0 0 30px; max-width: 46ch; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 14px; }
.store {
  display: inline-flex; align-items: center; gap: 11px;
  min-height: 52px; padding: 0 22px 0 18px;
  border-radius: 13px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper);
  text-decoration: none; font-weight: 600; font-size: 1rem;
}
.store:hover { background: var(--ink-2); border-color: var(--ink-2); }
.store svg { flex: none; }
.store span { display: block; line-height: 1.15; }
.store .where { font-size: 0.74rem; font-weight: 500; opacity: 0.72; }
.store-note { color: var(--ink-3); font-size: 0.92rem; margin: 0 0 40px; }

/* The one loud thing on the page, and it is the app's own screen rather than
   a drawing of one. */
.shot { background: var(--canvas); padding: 40px 0 28px; margin: 10px 0 56px; }
.shot img { display: block; width: 100%; height: auto; border-radius: 8px; }
.shot figcaption { color: #8a8d90; font-size: 0.9rem; margin: 16px 0 0; }

.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 30px 0 0; }
.phones figure { margin: 0; }
.phones img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--rule); background: var(--canvas); }
.phones figcaption { color: var(--ink-3); font-size: 0.88rem; margin: 9px 0 0; }

section { margin: 0 0 52px; }
.draws { margin: 0; padding: 0; list-style: none; }
.draws li { padding: 15px 0; border-top: 1px solid var(--rule); }
.draws li:last-child { border-bottom: 1px solid var(--rule); }
.draws p { margin: 0; color: var(--ink-2); }

/* Numbered because getting the export out of Google Maps genuinely is a
   sequence; nothing else on the page is numbered. */
.sub { color: var(--ink-2); margin: 0 0 22px; max-width: 52ch; }
.steps { margin: 0; padding: 0; counter-reset: step; }
.steps div { display: grid; grid-template-columns: 2rem 92px 1fr; gap: 0 16px; align-items: start; padding: 18px 0; border-top: 1px solid var(--rule); }
.steps div:last-child { border-bottom: 1px solid var(--rule); }
.steps div::before { counter-increment: step; content: counter(step); font-family: "IBM Plex Mono", Menlo, monospace; color: var(--jade); font-size: 0.95rem; padding-top: 3px; }
.steps img { grid-row: 1 / span 2; grid-column: 2; width: 92px; height: auto; border-radius: 9px; border: 1px solid var(--rule); }
.steps h3 { grid-column: 3; }
.steps p { grid-column: 3; margin: 0; color: var(--ink-2); }

.never { border-left: 3px solid var(--jade); padding: 2px 0 2px 20px; margin: 22px 0 0; }
.never p { margin: 0 0 10px; }
.never p:last-child { margin-bottom: 0; }

footer { border-top: 1px solid var(--rule); margin-top: 8px; padding: 22px 0 56px; color: var(--ink-3); font-size: 0.9rem; }
footer p { margin: 7px 0; }
footer a { color: var(--ink-2); }

[id] { scroll-margin-top: 20px; }

@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  h1 { font-size: 2.5rem; }
  .store { width: 100%; }
  .phones { grid-template-columns: 1fr 1fr; gap: 14px; }
  .phones figure:last-child { display: none; }
  .steps div { grid-template-columns: 1.6rem 72px 1fr; gap: 0 12px; }
  .steps img { width: 72px; }
}

/* The policy page: the same surface, narrower measure, headings that step
   down rather than open like a hero. */
.policy { margin: 30px 0 0; }
.policy h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin: 22px 0 18px; max-width: none; }
.policy h2 { font-size: 1.22rem; margin: 34px 0 8px; }
.policy p, .policy li { color: var(--ink-2); }
.policy strong { color: var(--ink); font-weight: 650; }
.policy ul { padding-left: 1.3rem; }
.policy li { margin: 8px 0; }
