/* Lemon Code: one stylesheet, system fonts, no external requests. */

:root {
  --bg: #fbfaf5;
  --bg-raised: #ffffff;
  --ink: #1b1a14;
  --ink-soft: #3b392f;
  --muted: #545142;
  --line: #e3dfd0;
  --accent: #f5d327;
  --accent-hover: #ebc60a;
  --on-accent: #1b1a14;
  --focus: #1b1a14;
  --mark-band: #f5d327;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  --wrap: 72rem;
  --gutter: clamp(1rem, 4.5vw, 2.5rem);
  --section: clamp(4rem, 10vw, 7.5rem);
  --radius: 0.75rem;

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121210;
    --bg-raised: #1a1a17;
    --ink: #f1efe6;
    --ink-soft: #d8d5c8;
    --muted: #b5b19f;
    --line: #2f2e28;
    --focus: #f5d327;
  }
}

/* Base */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 700; letter-spacing: -0.015em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: var(--muted);
}
a:hover { text-decoration-color: currentColor; text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 3px;
}

[id] { scroll-margin-top: 1.5rem; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  z-index: 10;
  padding: 0.6rem 1rem;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  border-radius: 0 0 0.5rem 0.5rem;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

/* Header */

.site-header { border-bottom: 1px solid var(--line); }

.header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  min-height: 4.25rem;
  padding-block: 0.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand:hover span { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }

.mark { width: 1.75rem; height: 1.75rem; flex: none; }

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  list-style: none;
  font-size: 0.9375rem;
}
.site-nav a { text-decoration: none; color: var(--ink-soft); padding-block: 0.25rem; }
.site-nav a:hover { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; }

/* Shared type */

.kicker {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.kicker::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.section h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); letter-spacing: -0.025em; }

.section-intro {
  margin-top: 1rem;
  max-width: 34rem;
  color: var(--ink-soft);
  font-size: 1.0625rem;
}

/* Hero */

.hero { padding-block: clamp(4.5rem, 12vw, 9rem) clamp(4rem, 9vw, 7rem); }

.hero-grid { display: grid; gap: 3.5rem 4rem; align-items: center; }
@media (min-width: 60rem) {
  .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}

.hero-visual {
  position: relative;
  width: min(100%, 22rem);
  aspect-ratio: 22 / 25;
  margin-inline: auto;
}
.hero-visual img {
  position: absolute;
  border: 1px solid var(--line);
  background: #1e0e45;
  box-shadow: 0 1.5rem 3rem -1.5rem rgba(27, 26, 20, 0.45);
}
.hv-back, .hv-front { width: 54%; height: auto; aspect-ratio: 392 / 696; border-radius: 1.25rem; }
.hv-back { left: 0; top: 7%; }
.hv-front { right: 0; top: 0; }
.hv-icon {
  left: 36%;
  bottom: 0;
  width: 24%;
  aspect-ratio: 1;
  border-radius: 22.5%;
  outline: 4px solid var(--bg);
}

.hero h1 {
  max-width: 17ch;
  font-size: clamp(2.375rem, 7vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

mark {
  color: inherit;
  background: linear-gradient(to bottom, transparent 64%, var(--mark-band) 64%, var(--mark-band) 90%, transparent 90%);
  padding-inline: 0.04em;
}
@media (prefers-color-scheme: dark) {
  mark { background: none; color: var(--accent); }
}

.lede {
  margin-top: 1.75rem;
  max-width: 38rem;
  font-size: clamp(1.125rem, 2.2vw, 1.3125rem);
  line-height: 1.55;
  color: var(--ink-soft);
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  margin-top: 2.25rem;
  list-style: none;
  font-weight: 600;
}
.hero-links a { text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.hero-links a:hover { text-decoration-color: currentColor; }

/* Sections */

.section {
  padding-block: var(--section);
  border-top: 1px solid var(--line);
}

.split {
  display: grid;
  gap: 2rem 4rem;
}
@media (min-width: 56rem) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}

/* Product */

.product { display: grid; gap: 3.5rem 5rem; }
@media (min-width: 60rem) {
  .product { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
}

.app-id { display: flex; align-items: center; gap: 1.25rem; }

.app-icon {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 22.5%;
  border: 1px solid var(--line);
  flex: none;
}

.app-id h2 { font-size: clamp(2rem, 4vw, 2.75rem); letter-spacing: -0.03em; }
.store-name { margin-top: 0.35rem; color: var(--muted); font-size: 0.9375rem; }

.product-intro {
  margin-top: 1.75rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 34rem;
}

.button {
  display: inline-flex;
  align-items: center;
  margin-top: 1.75rem;
  padding: 0.8rem 1.3rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 650;
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.button:hover { background: var(--accent-hover); }

.facts {
  margin: 2.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  border-top: 1px solid var(--line);
}
.facts div { padding: 0.9rem 1rem 0.9rem 0; border-bottom: 1px solid var(--line); }
.facts dt {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.facts dd { margin: 0.2rem 0 0; font-size: 1rem; }

.features {
  list-style: none;
  display: grid;
  gap: 0 2.5rem;
}
@media (min-width: 40rem) {
  .features { grid-template-columns: 1fr 1fr; }
}
.features li { padding-block: 1.5rem; border-top: 1px solid var(--line); }
.features h4 { font-size: 1.125rem; letter-spacing: -0.01em; }
.features p { margin-top: 0.5rem; color: var(--ink-soft); }

.fine-print {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--muted);
}

.screens { margin: clamp(3.5rem, 8vw, 5.5rem) 0 0; }

.screens-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 62%;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 0.25rem 0.25rem 1rem;
  margin-inline: -0.25rem;
}
.screens-track img {
  width: 100%;
  aspect-ratio: 392 / 696;
  object-fit: cover;
  border-radius: 1.25rem;
  border: 1px solid var(--line);
  background: #1e0e45;
  scroll-snap-align: start;
}
.screens figcaption { margin-top: 0.75rem; font-size: 0.9375rem; color: var(--muted); }
@media (min-width: 30rem) {
  .screens-track { grid-auto-columns: 40%; }
}
@media (min-width: 48rem) {
  .screens-track {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-columns: auto;
    overflow: visible;
  }
}

/* Legal list on home */

.doc-list { list-style: none; border-bottom: 1px solid var(--line); }
.doc-list li { border-top: 1px solid var(--line); }
.doc-list a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem 1.5rem;
  align-items: center;
  padding: 1.4rem 0.25rem;
  text-decoration: none;
}
.doc-list .doc-name { font-size: 1.1875rem; font-weight: 650; letter-spacing: -0.01em; }
.doc-list .doc-desc { grid-column: 1; color: var(--muted); font-size: 1rem; }
.doc-list .arrow {
  grid-column: 2;
  grid-row: 1 / span 2;
  font-size: 1.25rem;
  color: var(--muted);
  transition: transform 0.15s ease;
}
.doc-list a:hover .doc-name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.doc-list a:hover .arrow { transform: translateX(0.25rem); color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  .doc-list .arrow, .button { transition: none; }
}

/* Contact */

.email {
  margin-top: 1.5rem;
  font-size: clamp(1.5rem, 5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.email a { text-decoration-color: var(--accent); text-decoration-thickness: 0.12em; text-underline-offset: 0.18em; }
.email a:hover { text-decoration-color: currentColor; }

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 3rem 3.5rem;
  font-size: 0.9375rem;
  color: var(--muted);
}

.footer-grid { display: grid; gap: 1.75rem 3rem; }
@media (min-width: 52rem) {
  .footer-grid { grid-template-columns: minmax(0, 1fr) auto; }
  .footer-copy { grid-column: 1 / -1; }
}

.footer-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.footer-name .mark { width: 1.375rem; height: 1.375rem; }
.footer-note { margin-top: 0.6rem; max-width: 30rem; }

.footer-links ul { list-style: none; display: grid; gap: 0.45rem; }
.footer-links a { color: var(--ink-soft); }

/* Legal pages */

.legal { padding-block: 2rem var(--section); }

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  list-style: none;
  font-size: 0.875rem;
  color: var(--muted);
}
.crumbs li + li::before { content: "/"; margin-right: 0.35rem; color: var(--line); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }

.doc-head { padding-block: clamp(3rem, 8vw, 5rem) clamp(2rem, 5vw, 3rem); }
.doc-head h1 {
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  letter-spacing: -0.01em;
  line-height: 1.05;
  overflow-wrap: break-word;
}

.doc-layout { display: grid; gap: 2.5rem; border-top: 1px solid var(--line); padding-top: 2.5rem; }
@media (min-width: 64rem) {
  .doc-layout.has-toc { grid-template-columns: 15rem minmax(0, 44rem); gap: 4rem; }
  .toc { position: sticky; top: 2rem; align-self: start; max-height: calc(100vh - 4rem); overflow-y: auto; }
}

.toc h2 {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.toc ol { list-style: none; margin-top: 0.75rem; display: grid; gap: 0.15rem; font-size: 0.9375rem; }
.toc a {
  display: grid;
  grid-template-columns: 1.75rem 1fr;
  padding-block: 0.3rem;
  color: var(--ink-soft);
  text-decoration: none;
  line-height: 1.35;
}
.toc a span { color: var(--muted); font-variant-numeric: tabular-nums; }
.toc a:hover { color: var(--ink); text-decoration: underline; }

.doc {
  max-width: 68ch;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-soft);
  overflow-wrap: break-word;
}
.doc > :first-child { margin-top: 0; }
.doc p { margin: 0 0 1.1em; }
.doc ul, .doc ol { margin: 0 0 1.25em; padding-left: 1.35em; }
.doc li { margin-bottom: 0.4em; padding-left: 0.2em; }
.doc li::marker { color: var(--muted); }
.doc strong { font-weight: 650; color: var(--ink); }
.doc a { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.doc a:hover { text-decoration-color: currentColor; }
.doc h2 {
  margin: 2.75rem 0 1rem;
  font-size: 1.3125rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.3;
}
.doc h2[data-n]::before {
  content: attr(data-n) ".";
  display: inline-block;
  min-width: 2.1ch;
  margin-right: 0.5rem;
  color: var(--muted);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.doc h3, .doc h4 { margin: 2rem 0 0.75rem; font-size: 1.125rem; color: var(--ink); }
.doc table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: 0.9375rem; }
.doc th, .doc td { border-bottom: 1px solid var(--line); padding: 0.5rem 0.75rem 0.5rem 0; text-align: left; vertical-align: top; }

.doc-foot {
  max-width: 44rem;
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  color: var(--muted);
  font-size: 0.9375rem;
}
@media (min-width: 64rem) {
  .has-toc + .doc-foot { margin-left: 19rem; }
}
.doc-foot a { color: var(--ink); }
.back { font-weight: 600; }

/* 404 */

.notfound h1 { max-width: 20ch; }

/* Print: legal documents should print cleanly */

@media print {
  .site-header, .site-footer, .crumbs, .toc, .doc-foot, .skip-link { display: none !important; }
  body { background: #fff; color: #000; }
  .doc { max-width: none; color: #000; }
  .doc-layout { display: block; border: 0; padding: 0; }
}
