@font-face {
  font-family: "Doto";
  src: url("assets/doto-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  /* SystemColors.kt — DCC_COVER palette */
  --background: #0b0e14;
  --surface: #101520;
  --panel: #141a26;
  --panel-high: #1a2231;
  --line: #2b384f;
  --line-strong: #3c485b;
  --accent: #00ffc7;
  --accent-deep: #063d31;
  --text: #e6ecf5;
  --muted: #a9bad2;
  --quiet: #7d8da6;
  --quest-daily: #5cc8ff;
  --quest-weekly: #f97a1f;
  --quest-monthly: #ff3350;
  --tier-bronze: #c98a4b;
  --tier-silver: #c2ccda;
  --tier-gold: #e8c45c;
  --tier-platinum: #c6e6ec;
  --tier-legendary: #c46bff;
  --tier-celestial: #b8f0ff;
  --display: "Doto", "Courier New", monospace;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --page: min(1160px, calc(100% - 40px));
}

* { box-sizing: border-box; }

html {
  background: var(--background);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--background);
  color: var(--text);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
}

a { color: inherit; }
img { max-width: 100%; }

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  width: 1px;
  height: 1px;
  padding: 10px 14px;
  overflow: hidden;
  background: var(--accent);
  color: var(--background);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  width: auto;
  height: auto;
  overflow: visible;
  clip-path: none;
}

.site-header,
.hero,
.section,
.closing,
body > footer {
  width: var(--page);
  margin-inline: auto;
}

.site-header {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  color: var(--accent);
  font: 600 1.15rem/1 var(--display);
  font-variation-settings: "ROND" 100;
  letter-spacing: 0.04em;
  text-decoration: none;
}

nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

nav a {
  color: var(--muted);
  font: 700 0.75rem/1 var(--mono);
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
}

nav a:hover,
nav a:focus-visible,
.text-link:hover,
.text-link:focus-visible { color: var(--text); }

.hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(290px, 0.82fr);
  gap: clamp(42px, 8vw, 110px);
  align-items: center;
  padding: 72px 0 96px;
}

.system-label {
  margin: 0 0 18px;
  color: var(--accent);
  font: 500 0.95rem/1.35 var(--display);
  font-variation-settings: "ROND" 100;
  letter-spacing: 0.05em;
}

h1,
h2,
h3,
p,
figure,
blockquote { margin-top: 0; }

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  color: var(--accent);
  font-family: var(--display);
  font-variation-settings: "ROND" 100;
  font-weight: 600;
  font-size: clamp(2.9rem, 5.6vw, 5rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 20px;
  font-family: var(--display);
  font-variation-settings: "ROND" 100;
  font-weight: 600;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.45rem;
  line-height: 1.12;
}

.hero-kicker {
  margin-bottom: 16px;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
}

.hero-body,
.section-intro > p:last-child,
.connection > p:not(.system-label):not(.data-path),
.principles p,
.legal-intro,
.prose p,
.prose li {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-body { max-width: 650px; }

.actions {
  margin-top: 31px;
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.play-badge img {
  display: block;
  height: 64px;
  width: auto;
}

.text-link {
  color: var(--accent);
  font: 700 0.81rem/1.35 var(--mono);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.compat-note {
  margin: 20px 0 0;
  color: var(--quiet);
  font-size: 0.92rem;
}

.availability-note {
  margin: 12px 0 0;
  color: var(--quiet);
  font-size: 0.82rem;
}

.compat-note a { color: var(--muted); }

.hero-shot {
  width: min(320px, 100%);
  margin: 0 auto;
}

/* Devices.css Pixel 6 Pro frames are fixed-size (404x862); zoom scales frame and layout together. */
.hero-shot .device { zoom: 0.78; margin-inline: auto; }
.gallery .device { zoom: 0.66; }

/* Preserve the capture's 9:20 ratio without clipping the in-app navigation. */
.device.device-google-pixel-6-pro .device-screen {
  width: 367.2px;
  height: 816px;
  margin-inline: auto;
  object-fit: contain;
}

/* Devices.css ships the Pixel 6 Pro in its light colorway; recolor to Stormy Black for the dark page. */
.device-google-pixel-6-pro .device-frame {
  box-shadow: inset 0 0 12px #454c56, inset 0 7px 0 3px #303740, inset 0 -6px 0 3px #303740;
}

.device-google-pixel-6-pro .device-header {
  background: linear-gradient(to bottom, #454c56 0, #303740 30%, #303740 100%);
}

.device-google-pixel-6-pro .device-stripe::before { background: #303740; }
.device-google-pixel-6-pro .device-stripe::after { background: linear-gradient(to top, #121212, #3a414b); }
.device-google-pixel-6-pro .device-sensors::after { background: linear-gradient(to bottom, #121212, #3a414b); }

.device-google-pixel-6-pro .device-btns,
.device-google-pixel-6-pro .device-power { background: #3a414b; }

figcaption {
  margin-top: 12px;
  color: var(--quiet);
  font: 0.72rem/1.4 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.facts-line {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 7vw, 86px);
  overflow: hidden;
  padding: 17px 22px;
  border-block: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font: 700 0.75rem/1.3 var(--mono);
  white-space: nowrap;
}

.section { padding: 108px 0; }

.section-intro {
  max-width: 800px;
  margin-bottom: 58px;
}

.section-intro.compact {
  max-width: 540px;
  margin-bottom: 0;
}

.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: clamp(22px, 3.5vw, 40px);
  overflow-x: auto;
  padding-bottom: 18px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}

.gallery figure {
  margin: 0;
  scroll-snap-align: start;
}

.gallery figcaption b {
  display: block;
  margin-bottom: 2px;
  color: var(--accent);
  font: 500 0.95rem/1.4 var(--display);
  font-variation-settings: "ROND" 100;
  letter-spacing: 0.04em;
  text-transform: none;
}

.sells {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(48px, 9vw, 120px);
  align-items: start;
  border-top: 1px solid var(--line);
}

.sells > div > p:not(.system-label) {
  color: var(--muted);
  font-size: 1.05rem;
}

.sells .excerpt {
  display: block;
  width: 100%;
  max-width: 500px;
  height: auto;
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.cadence {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.cadence li {
  display: grid;
  grid-template-columns: 14px 150px 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.cadence li:last-child { border-bottom: 1px solid var(--line); }

.cadence .dot {
  align-self: center;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.cadence .daily { background: var(--quest-daily); }
.cadence .weekly { background: var(--quest-weekly); }
.cadence .monthly { background: var(--quest-monthly); }

.cadence b { font-size: 0.98rem; }
.cadence span:last-child { color: var(--muted); font-size: 0.98rem; }

.tiers {
  margin: 26px 0 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tiers span {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font: 700 0.72rem/1.3 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tiers .bronze { color: var(--tier-bronze); border-color: var(--tier-bronze); }
.tiers .gold { color: var(--tier-gold); border-color: var(--tier-gold); }

.medal-showcase {
  display: flex;
  align-items: center;
  gap: clamp(36px, 6vw, 90px);
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.medal-spin {
  margin: 0;
  text-align: center;
  perspective: 900px;
}

.medal-spin img {
  display: block;
  width: 220px;
  height: 220px;
  animation: medal-spin 8s linear infinite;
}

@keyframes medal-spin {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

.tier-ladder {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font: 700 0.9rem/1.3 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tier-ladder li:nth-child(4) { font-size: 1rem; }
.tier-ladder li:nth-child(5) { font-size: 1.1rem; }
.tier-ladder li:nth-child(6) { font-size: 1.2rem; }

.tier-bronze { color: var(--tier-bronze); }
.tier-silver { color: var(--tier-silver); }
.tier-gold { color: var(--tier-gold); }
.tier-platinum { color: var(--tier-platinum); }
.tier-legendary { color: var(--tier-legendary); }
.tier-celestial { color: var(--tier-celestial); }

.transcript {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
}

.transcript blockquote {
  margin: 0;
  padding: 26px 26px 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
}

.transcript blockquote > p:not(.system-label) {
  margin-bottom: 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.55;
}

.transcript .system-label {
  margin-bottom: 12px;
  font-size: 0.8rem;
}

.transcript footer {
  margin-top: 14px;
  color: var(--muted);
  font: 700 0.72rem/1.4 var(--mono);
  letter-spacing: 0.04em;
}

.crawl {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(55px, 10vw, 140px);
  border-top: 1px solid var(--line);
}

.steps {
  margin: 0;
  padding: 0;
  counter-reset: crawl-step;
  list-style: none;
}

.steps li {
  counter-increment: crawl-step;
  display: grid;
  grid-template-columns: 42px 180px 1fr;
  gap: 18px;
  padding: 23px 0;
  border-top: 1px solid var(--line);
}

.steps li::before {
  content: counter(crawl-step, decimal-leading-zero);
  color: var(--accent);
  font: 500 0.85rem/1.5 var(--display);
  font-variation-settings: "ROND" 100;
}

.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps b { font-size: 1rem; }
.steps span { color: var(--muted); }

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

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px clamp(48px, 9vw, 120px);
}

.faq-grid > div { border-top: 1px solid var(--line); }
.faq-grid h3 { margin-top: 22px; }
.faq-grid p { color: var(--muted); }

.connection {
  width: 100%;
  max-width: none;
  display: flex;
  align-items: center;
  gap: clamp(40px, 6vw, 100px);
  padding: 78px max(20px, calc((100% - 1160px) / 2));
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.connection-copy { min-width: 0; }
.connection-watch { flex: none; }

@media (max-width: 880px) {
  .connection-watch { display: none; }
}

.connection > p:not(.system-label) {
  max-width: 960px;
  color: var(--muted);
}

.data-path {
  margin-bottom: 22px;
  color: var(--text);
  font: 800 clamp(1.05rem, 2.4vw, 1.8rem)/1.5 var(--mono);
}

.data-path span { color: var(--accent); }

.connection b { color: var(--text); }

.brands {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 960px;
  margin: 26px 0 30px;
  padding: 0;
  list-style: none;
}

.brands li {
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  font: 700 0.75rem/1.3 var(--mono);
  letter-spacing: 0.04em;
}

.brands li:last-child {
  border-style: dashed;
  color: var(--muted);
}

.principles {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: clamp(55px, 10vw, 140px);
  align-items: start;
}

.privacy-summary {
  padding: 30px 30px 34px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
}

.privacy-summary h3 { font-size: 1.6rem; }

.closing {
  padding: 108px 0 118px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.closing h2 {
  max-width: 760px;
  margin-inline: auto;
}

.closing > p:not(.system-label) {
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1.2rem;
}

.closing .play-badge {
  display: inline-block;
}

body > footer {
  padding: 42px 0 58px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

footer > p {
  margin: 18px 0;
  max-width: 620px;
}

footer nav {
  justify-content: flex-start;
  margin: 22px 0;
}

footer small {
  display: block;
  max-width: 900px;
  color: var(--quiet);
}

.legal-header {
  width: min(780px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0 62px;
  border-bottom: 1px solid var(--line-strong);
}

.legal-header h1 {
  margin-bottom: 24px;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
}

.legal-meta {
  color: var(--quiet);
  font: 0.78rem/1.6 var(--mono);
}

.prose {
  width: min(780px, calc(100% - 40px));
  margin: 0 auto;
  padding: 62px 0 110px;
}

.prose section {
  margin-bottom: 58px;
  scroll-margin-top: 24px;
}

.prose h2 {
  margin-bottom: 18px;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
}

.prose h3 {
  margin-top: 32px;
  font-size: 1.25rem;
}

.prose ul,
.prose ol { padding-left: 22px; }

.prose li { margin-bottom: 11px; }
.prose strong { color: var(--text); }

.guide-contents {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 46px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.guide-screens {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 4vw, 40px);
  margin: 32px 0 16px;
}

.guide-screens figure { margin: 0; }

.guide-screens img {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 0 auto 18px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
}

.guide-screens figcaption { color: var(--muted); font-size: 0.95rem; }
.guide-screens figcaption strong { display: block; }

.notice {
  margin-bottom: 46px;
  padding: 22px 0;
  border-block: 1px solid var(--line);
  color: var(--muted);
}

.notice strong {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font: 500 0.85rem/1.4 var(--display);
  font-variation-settings: "ROND" 100;
  letter-spacing: 0.05em;
}

.support-flow {
  margin: 34px 0 46px;
  padding: 0;
  counter-reset: support-step;
  list-style: none;
}

.support-flow li {
  counter-increment: support-step;
  position: relative;
  padding: 19px 0 19px 54px;
  border-top: 1px solid var(--line);
}

.support-flow li:last-child { border-bottom: 1px solid var(--line); }

.support-flow li::before {
  content: counter(support-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 20px;
  color: var(--accent);
  font: 500 0.85rem/1.4 var(--display);
  font-variation-settings: "ROND" 100;
}

.not-found {
  min-height: calc(100vh - 137px);
  display: grid;
  place-items: center;
  width: var(--page);
  margin: 0 auto;
  text-align: center;
}

.not-found h1 { margin-bottom: 20px; }
.not-found p { color: var(--muted); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

@media (max-width: 880px) {
  .hero,
  .crawl,
  .faq-grid,
  .principles,
  .sells,
  .transcript { grid-template-columns: 1fr; }

  .hero { padding-top: 64px; }
  .hero-shot { width: min(390px, 88vw); }
  .section-intro.compact { margin-bottom: 44px; }
  .crawl, .principles { gap: 48px; }
  .sells { gap: 64px; }
}

@media (max-width: 620px) {
  :root { --page: min(100% - 28px, 1160px); }

  .site-header { min-height: 66px; }
  .site-header nav { display: none; }

  h1 { font-size: clamp(2.1rem, 10vw, 2.9rem); }
  h2 { font-size: clamp(1.6rem, 7.5vw, 2.2rem); }

  .hero {
    min-height: auto;
    padding: 62px 0 76px;
    gap: 58px;
  }

  .hero-shot { width: auto; }
  .hero-shot .device { zoom: 0.72; }
  .gallery .device { zoom: 0.62; }
  .actions { align-items: flex-start; flex-direction: column; }
  .facts-line { justify-content: flex-start; }
  .section { padding: 84px 0; }
  .section-intro { margin-bottom: 42px; }

  .steps li {
    grid-template-columns: 36px 1fr;
    gap: 12px;
  }

  .steps span {
    grid-column: 2;
    display: block;
  }

  .cadence li {
    grid-template-columns: 14px 1fr;
    row-gap: 4px;
  }

  .cadence span:last-child { grid-column: 2; }

  .connection { padding-block: 60px; }
  .data-path { line-height: 1.7; }
  .closing { padding: 84px 0 90px; }

  footer nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .legal-header {
    width: min(100% - 28px, 780px);
    padding: 64px 0 46px;
  }

  .legal-header h1 { font-size: clamp(2rem, 10vw, 2.9rem); }

  .prose {
    width: min(100% - 28px, 780px);
    padding: 48px 0 84px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .medal-spin img { animation: none; }
}
