@font-face {
  font-family: Anton;
  font-display: swap;
  src: url("fonts/anton-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-weight: 400;
  font-display: swap;
  src: url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-weight: 500;
  font-display: swap;
  src: url("fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-display: swap;
  src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
}

/* Night ink and a warm peach. A shared grid aligns the hero, feature pairs,
   reading cards and footer. Media keeps native proportions; the skyline is art. */
:root {
  color-scheme: dark;
  --unit: clamp(1rem, min(1.25vw, 2svh), 1.125rem);
  --s1: calc(var(--unit) * .25);
  --s2: calc(var(--unit) * .5);
  --s3: calc(var(--unit) * .75);
  --s4: var(--unit);
  --s5: calc(var(--unit) * 1.5);
  --s6: calc(var(--unit) * 2);
  --s7: calc(var(--unit) * 3);
  --s8: calc(var(--unit) * 4);
  --s9: calc(var(--unit) * 5);
  --gutter: max(16px, 4vw);
  --wrap: 73rem;
  --text-width: 36rem;
  --bg: #100d15;
  --surface: #18131f;
  --raised: #211a2a;
  --line: #342b3d;
  --text: #fbf3ed;
  --secondary: #d0c6d4;
  --muted: #b0a4b8;
  --accent: #ffc4a2;
  --body: 1rem;
  --small: .875rem;
  --lead: calc(var(--unit) * 1.125);
  --label: calc(var(--unit) * 1.25);
  --display: clamp(2.25rem, 4.3vw, 3.75rem);
  --hero-title: clamp(3.25rem, 9vw, 8rem);
  --font-display: Anton, Impact, "Arial Narrow", sans-serif;
  --font-text: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
  --hairline: 1px solid var(--line);
  --radius: 12px;
  --button-radius: 8px;
  --target: 44px;
  --focus: 2px solid var(--accent);
  --fast: 80ms;
  --spring-fast: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 var(--body)/1.55 var(--font-text); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font: 400 var(--display)/1.07 var(--font-display); }
h3 { font-size: var(--label); font-weight: 500; line-height: 1.3; }
strong, b { font-weight: 500; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { color: var(--accent); }
:focus-visible { outline: var(--focus); outline-offset: var(--s1); }
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }

.skip { position: absolute; z-index: 2; left: var(--s4); top: var(--s4); }
.skip:not(:focus) { clip-path: inset(50%); }
.site-header { position: relative; z-index: 1; border-bottom: var(--hairline); }
.header-row { display: flex; min-height: var(--s8); align-items: center; gap: var(--s6); }
.wordmark { font: 400 var(--label)/1 var(--font-display); text-decoration: none; text-transform: uppercase; }
.header-row .nav { display: flex; align-items: center; gap: var(--s5); margin-left: auto; }
.nav a, .text-link, .footer-row nav a {
  min-height: var(--target);
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
}
.nav a { color: var(--secondary); font-size: var(--small); text-decoration: none; }
.nav a:hover { color: var(--text); text-decoration: underline; }

.button {
  display: inline-flex;
  min-height: var(--target);
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  padding: var(--s2) var(--s4);
  background: var(--text);
  color: var(--bg);
  border-radius: var(--button-radius);
  font-weight: 500;
  text-decoration: none;
  transition: transform var(--fast) var(--spring-fast);
}
.button:hover { background: var(--accent); color: var(--bg); }
.button:active { transform: scale(.98); }
.header-row .button { font-size: var(--small); }
.text-link { font-weight: 500; }

.hero { position: relative; isolation: isolate; overflow: hidden; }
.skyline {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 63%;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  /* Only enough to steady the text on the left and land the bottom on the page: the sunset stays lit. */
  background: linear-gradient(90deg, rgb(16 13 21 / .78), rgb(16 13 21 / .46) 36%, transparent 62%),
    linear-gradient(0deg, var(--bg), transparent 22%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  gap: var(--s6);
  align-items: center;
  padding-block: var(--s8);
}
.hero-copy { display: grid; gap: var(--s5); }
.hero-title p { margin-bottom: var(--s2); color: var(--accent); font: 400 var(--small)/1.4 var(--font-mono); }
.hero h1 { font-size: var(--hero-title); line-height: 1; letter-spacing: -.025em; text-transform: uppercase; }
.subhead { font: 400 var(--label)/1.25 var(--font-text); }
.wanted {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s2) var(--s3);
  color: var(--accent);
  font: 400 var(--small)/1.4 var(--font-mono);
}
.lede { color: var(--text); font-size: var(--lead); max-width: 29rem; }
.actions { display: flex; flex-wrap: wrap; column-gap: var(--s5); }
.hero-device { justify-self: center; width: min(100%, 17.5rem); }
/* The pictures are the menu's screen alone; the phone's body is drawn here. */
.hero-device img, .device-grid img { width: 100%; border: 6px solid #1d1626; border-radius: 30px; box-shadow: 0 0 0 1px rgb(237 237 237 / .16); }
.device-grid figcaption {
  margin-top: var(--s2);
  color: var(--secondary);
  font-size: var(--small);
  text-align: center;
}

.hero-device .wanted { justify-content: center; margin-top: var(--s3); }

.release-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s3) var(--s5);
  justify-content: space-between;
  width: min(100%, 32rem);
  margin-top: var(--s1);
  padding-top: var(--s4);
  border-top: var(--hairline);
}
.release-title { font-weight: 500; }
.release-note { color: var(--secondary); font-size: var(--small); }
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); }
.countdown span { display: grid; min-width: 2.25rem; color: var(--secondary); text-align: right; font-size: var(--small); }
.countdown b { color: var(--accent); font: 400 var(--label)/1.1 var(--font-mono); font-variant-numeric: tabular-nums; }

.section { padding-block: var(--s9); }
.rule { border-top: var(--hairline); }
.intro { max-width: var(--text-width); }
.intro p, .section-note, .faq p, .policy p { color: var(--secondary); }
.intro p { margin-top: var(--s3); }
.intro h3 { margin-top: var(--s5); }
.intro .text-link { margin-top: var(--s2); }
.feed-grid { display: grid; grid-template-columns: minmax(0, 19fr) minmax(0, 16fr); gap: var(--s4); margin-top: var(--s6); }
.demo {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: var(--hairline);
  border-radius: var(--radius);
  background: var(--surface);
}
.demo img { width: 100%; }
.feed-grid figcaption { margin-top: auto; }
.demo figcaption {
  display: grid;
  gap: var(--s1);
  padding: var(--s3) var(--s4);
  color: var(--muted);
  font-size: var(--small);
}
.demo figcaption strong { color: var(--text); font-size: var(--body); }
.section-note { margin-top: var(--s4); }
.feature, .info-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  align-items: center;
  gap: var(--s7);
}
.toolbar { background: var(--surface); }
.device-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s4);
  width: min(100%, 29rem);
  justify-self: center;
}
.info-grid { align-items: start; }
.faq h2 { margin-bottom: var(--s5); }
.faq details { border-top: var(--hairline); }
.faq details:last-child { border-bottom: var(--hairline); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s4);
  min-height: var(--target);
  padding-block: var(--s3);
  list-style: none;
  font-weight: 500;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font: 400 var(--label)/1 var(--font-mono); }
.faq [open] summary::after { content: "−"; }
.faq summary:hover { color: var(--accent); }
.faq p { padding-bottom: var(--s4); }

.reading-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); margin-top: var(--s6); }
.reading-grid img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.reading-grid h3 { margin-top: var(--s3); }
.read { display: block; color: inherit; text-decoration: none; border-radius: var(--radius); }
.read small { display: block; margin-top: 4px; font-size: var(--small); color: var(--muted); }
.read img { transition: opacity 0.16s cubic-bezier(0.22, 1, 0.36, 1); }
.read:hover img { opacity: 0.86; }
.read:hover h3 { text-decoration: underline; text-underline-offset: 4px; }

/* The last section is the same city after dark. */
.get { position: relative; isolation: isolate; padding-block: var(--s9); background: #06051a url(img/scene-night.svg?v=mwl4zomb) 60% 58% / cover; border-block: var(--hairline); }
.get::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgb(6 5 26 / .82), rgb(6 5 26 / .3) 52%, rgb(6 5 26 / .62)); }
.get-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s6); }
.stores { display: flex; flex-wrap: wrap; gap: var(--s3); }
.store { min-width: 10rem; }
.store > span {
  display: grid;
  padding: var(--s3) var(--s4);
  border: var(--hairline);
  border-radius: var(--button-radius);
}
.store small { font-size: var(--small); color: var(--muted); }
.store a { display: inline-flex; align-items: center; min-height: var(--target); }
.store img { width: auto; height: var(--target); }

.site-footer { padding-block: var(--s6); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s4); }
.footer-row p { margin-top: var(--s2); color: var(--secondary); }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 0 var(--s5); }
.footer-row nav a { font-size: var(--small); }
.legal { border-top: var(--hairline); padding-top: var(--s4); margin-top: var(--s4); color: var(--muted); font-size: var(--small); }

.policy { max-width: 44rem; }
.policy .updated { color: var(--muted); font-size: var(--small); }
.policy h2 { margin-top: var(--s6); font: 500 var(--label)/1.3 var(--font-text); }
.policy p { margin-top: var(--s3); }
.policy a { overflow-wrap: anywhere; }

@media (max-width: 52rem) {
  :root { --hero-title: clamp(2.75rem, 13vw, 5.75rem); }
  .hero-grid, .feature, .info-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
  .hero-grid { padding-block: var(--s7) var(--s4); }
  .skyline { object-position: 64% center; }
  .hero::after {
    background: linear-gradient(180deg, rgb(16 13 21 / .78), rgb(16 13 21 / .6) 52%, rgb(16 13 21 / .15) 76%, var(--bg));
  }
  .hero-device { width: min(100%, 13.5rem); }
  .section { padding-block: var(--s7); }
}

@media (max-width: 36rem) {
  .header-row { gap: var(--s3); min-height: calc(var(--s7) + var(--s2)); }
  .header-row .nav { display: none; }
  .header-row .button { margin-left: auto; }
  .hero-copy { gap: var(--s4); }
  .feed-grid, .reading-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
  .stores { width: 100%; }
  .store { flex: 1 1 10rem; }
  .footer-row nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
  .button:active { transform: none; }
}

/* guide */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: var(--s5) var(--s6);
  margin-block: var(--s6) var(--s4);
}
.platform-grid > div { border-top: var(--hairline); padding-top: var(--s4); }
.platform-grid p { color: var(--secondary); margin-top: var(--s2); }
.guide h1 { text-wrap: balance; }
.guide h2 { margin-top: var(--s7); }
.guide ul { display: grid; gap: var(--s2); padding-left: var(--s5); margin-block: var(--s3) 0; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-bottom: var(--s5);
  color: var(--muted);
  font-size: var(--small);
}
