/* Lavanta Cam tokens (src/global.css), light + dark. Fonts are self-hosted: no third-party requests. */
@font-face {
  font-family: Figtree;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/Figtree_400Regular.ttf");
}
@font-face {
  font-family: Figtree;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/Figtree_600SemiBold.ttf");
}
@font-face {
  font-family: Figtree;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/Figtree_800ExtraBold.ttf");
}
:root {
  --background: oklch(0.9662 0.0164 300.5);
  --foreground: oklch(0.2265 0.0331 290.6);
  --muted: oklch(0.5182 0.0262 291.5);
  --accent: oklch(0.5303 0.2317 287.1);
  --accent-foreground: oklch(1 0 0);
  --link: oklch(0.5303 0.2317 287.1);
  --surface: oklch(1 0 0 / 62%);
  --border: oklch(1 0 0 / 90%);
  --separator: oklch(0.2265 0.0331 290.6 / 10%);
  --shadow: 0 24px 60px oklch(0.5303 0.2317 287.1 / 14%);
  --danger: oklch(0.6083 0.2079 17.6);
  --success: oklch(0.6271 0.1385 160.5);
  --tone-lavender: oklch(0.9195 0.0459 297.2);
  --tone-lavender-foreground: oklch(0.4471 0.1858 288.1);
  --tone-mint: oklch(0.9349 0.0533 170.5);
  --tone-mint-foreground: oklch(0.4513 0.0905 168.4);
  --tone-peach: oklch(0.9332 0.0473 56.4);
  --tone-peach-foreground: oklch(0.5163 0.1265 45.3);
  --aura-1: oklch(0.8617 0.0773 298.1);
  --aura-2: oklch(0.8986 0.0627 345.6);
  --aura-3: oklch(0.9044 0.0441 237.4);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --background: oklch(0.1696 0.0222 293.4);
    --foreground: oklch(0.9613 0.0122 300.3);
    --muted: oklch(0.7341 0.0219 294.3);
    --success: oklch(0.6981 0.1385 160.5);
    --danger: oklch(0.6544 0.1979 17.6);
    --accent: oklch(0.5622 0.2289 287.9);
    --link: oklch(0.8411 0.0879 296.4);
    --surface: oklch(1 0 0 / 8%);
    --border: oklch(1 0 0 / 14%);
    --separator: oklch(1 0 0 / 10%);
    --shadow: 0 24px 60px oklch(0 0 0 / 30%);
    --tone-lavender: oklch(0.3274 0.0897 291.6 / 70%);
    --tone-lavender-foreground: oklch(0.8411 0.0879 296.4);
    --tone-mint: oklch(0.3402 0.0563 170.2 / 70%);
    --tone-mint-foreground: oklch(0.8569 0.0961 168.9);
    --tone-peach: oklch(0.3519 0.0629 52.1 / 70%);
    --tone-peach-foreground: oklch(0.8547 0.0809 58.2);
    --aura-1: oklch(0.3618 0.1324 291.1);
    --aura-2: oklch(0.3284 0.1046 345.2);
    --aura-3: oklch(0.3233 0.0807 254.9);
  }
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  font-family: Figtree, system-ui, sans-serif;
  color: var(--foreground);
  background:
    radial-gradient(60% 40% at 0% 0%, var(--aura-1), transparent 70%),
    radial-gradient(55% 40% at 100% 45%, var(--aura-2), transparent 70%),
    radial-gradient(60% 40% at 10% 100%, var(--aura-3), transparent 70%), var(--background);
}
main,
.card {
  width: 100%;
  max-width: 420px;
  padding: 28px 24px;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow);
}
.brand {
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin: 0 0 16px;
}
h1 {
  font-size: 26px;
  line-height: 1.15;
  margin: 0 0 8px;
}
p {
  color: var(--muted);
  line-height: 1.45;
  margin: 0 0 20px;
}
a {
  color: var(--link);
}
.actions {
  display: grid;
  gap: 10px;
}
.button {
  display: block;
  width: 100%;
  padding: 14px 18px;
  border: 0;
  border-radius: 999px;
  font:
    600 16px Figtree,
    system-ui,
    sans-serif;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  background: var(--accent);
  color: var(--accent-foreground);
}
.button.secondary {
  background: var(--surface);
  color: var(--link);
  border: 1px solid var(--border);
}
.button:disabled {
  opacity: 0.5;
}
label {
  display: block;
  font-weight: 600;
  margin: 0 0 6px;
}
input {
  width: 100%;
  padding: 14px 16px;
  margin: 0 0 6px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--foreground);
  font:
    16px Figtree,
    system-ui,
    sans-serif;
}
.hint {
  font-size: 13px;
  margin: 0 0 16px;
}
.status {
  font-weight: 600;
  margin: 16px 0 0;
}
.status.error {
  color: var(--danger);
}
.status.ok {
  color: var(--success);
}
[hidden] {
  display: none !important;
}

/* ---- Site pages (landing, legal, store links): body.site ---- */
body.site {
  display: block;
  padding: 0 16px;
  background-attachment: fixed;
}
.site main {
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.wrap {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}
.narrow {
  max-width: 720px;
}
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: var(--foreground);
  text-decoration: none;
}
.logo img {
  border-radius: 10px;
}
.pill {
  display: inline-block;
  padding: 10px 16px;
  min-height: 44px;
  line-height: 24px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--link);
}
.hero {
  padding: 32px 0 8px;
  text-align: center;
}
.eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--link);
  margin: 0 0 12px;
}
.hero h1 {
  font-size: clamp(34px, 9vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 auto 16px;
  max-width: 14ch;
}
.lead {
  font-size: 18px;
  max-width: 34ch;
  margin: 0 auto 24px;
}
.stores {
  display: grid;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto;
}
@media (min-width: 560px) {
  .stores {
    grid-template-columns: 1fr 1fr;
  }
}
.store {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
}
.store svg {
  flex: none;
}
.note {
  font-size: 14px;
  margin: 12px 0 0;
}
.shots {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 24px 16px 28px;
  margin: 0 -16px;
  scrollbar-width: none;
}
.shots::-webkit-scrollbar {
  display: none;
}
.shots img {
  flex: none;
  width: 220px;
  height: auto;
  border-radius: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  scroll-snap-align: center;
}
@media (min-width: 960px) {
  .shots {
    justify-content: center;
  }
}
section {
  padding: 24px 0;
}
h2 {
  font-size: clamp(24px, 6vw, 32px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
h3 {
  font-size: 18px;
  margin: 0 0 6px;
}
.center {
  text-align: center;
}
.center > p {
  margin-left: auto;
  margin-right: auto;
  max-width: 44ch;
}
.grid {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
@media (min-width: 720px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.site .card {
  max-width: none;
  padding: 22px 20px;
}
.card p {
  margin: 0;
}
.tile {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 16px;
}
.tile svg {
  width: 24px;
  height: 24px;
}
.lavender {
  background: var(--tone-lavender);
  color: var(--tone-lavender-foreground);
}
.mint {
  background: var(--tone-mint);
  color: var(--tone-mint-foreground);
}
.peach {
  background: var(--tone-peach);
  color: var(--tone-peach-foreground);
}
.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 16px 0 0;
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--separator);
}
.steps li:last-child {
  border-bottom: 0;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  font-weight: 800;
  background: var(--accent);
  color: var(--accent-foreground);
}
.checks {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: grid;
  gap: 10px;
}
.checks li {
  position: relative;
  padding-left: 30px;
  line-height: 1.45;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--tone-lavender);
}
/* Tick drawn as a mask so it takes the token color in light and dark. */
.checks li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  background: var(--tone-lavender-foreground);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10 3 3 5-6' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 20px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10 3 3 5-6' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 20px no-repeat;
}
.small {
  font-size: 14px;
}
footer {
  padding: 32px 0 40px;
  text-align: center;
  font-size: 14px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 6px;
  margin-bottom: 12px;
}
footer nav a {
  display: inline-block;
  min-height: 44px;
  line-height: 24px;
  padding: 10px 8px;
  text-decoration: none;
  font-weight: 600;
}
footer p {
  margin: 0;
}

/* Legal text */
.legal {
  padding: 28px 22px;
  margin: 8px 0 0;
}
.legal h1 {
  font-size: clamp(28px, 7vw, 36px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 8px;
}
.legal .updated {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 20px;
}
.legal h2 {
  font-size: 20px;
  margin: 28px 0 8px;
}
.legal p,
.legal li {
  color: var(--foreground);
  line-height: 1.6;
}
.legal p {
  margin: 0 0 12px;
}
.legal ul,
.legal ol {
  padding-left: 22px;
  margin: 0 0 12px;
}
.legal li {
  margin: 0 0 6px;
}
.back {
  display: inline-block;
  padding: 10px 0;
  min-height: 44px;
  font-weight: 600;
  text-decoration: none;
}
.store-page {
  max-width: 420px;
  margin: 10vh auto 0;
  text-align: center;
}
.store-page .stores {
  grid-template-columns: 1fr;
}
.store-page img {
  border-radius: 18px;
  margin-bottom: 16px;
}
.center .grid {
  text-align: left;
}
