/* Zen Locker — Canyon design system, ported to the web.
   Warm cream ground, borderless color blocks, a sunset stripe as the one
   decorative motif. Light/dark mirror the app. */

:root {
  --ground: #F2E8D5;
  --surface: #FBF5E8;
  --tint: #EBDFC8;
  --text: #3B2C20;
  --muted: #7A6A58;

  --tomato: #C5311D;
  --orange: #CC6B2C;
  --grass: #7E9C34;
  --lake: #45718A;
  --gold: #E0A83A;
  --on-accent: #F7F0DF;

  --maxw: 960px;
  --radius: 18px;
  --display: "Futura", "Futura PT", "Century Gothic", "Avenir Next", "Segoe UI", system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #241C15;
    --surface: #332920;
    --tint: #3F3427;
    --text: #F2E8D5;
    --muted: #B8A88F;
    --on-accent: #F7F0DF;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--display);
  background: var(--ground);
  color: var(--text);
  line-height: 1.6;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--lake); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Small-caps label — the app's CapsLabel motif */
.caps {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 700;
  font-size: 0.72rem;
}

/* The sunset stripe band — gold, orange, grass, lake */
.stripe { display: flex; height: 8px; width: 100%; }
.stripe > span { flex: 1; }
.stripe .s1 { background: var(--gold); }
.stripe .s2 { background: var(--orange); }
.stripe .s3 { background: var(--grass); }
.stripe .s4 { background: var(--lake); }

/* Lotus mark — recolored via mask so it follows the theme */
.lotus {
  display: inline-block;
  background-color: currentColor;
  -webkit-mask: url(assets/lotus.svg) center / contain no-repeat;
  mask: url(assets/lotus.svg) center / contain no-repeat;
}
.privacy-page .lotus { -webkit-mask-image: url(../assets/lotus.svg); mask-image: url(../assets/lotus.svg); }

/* Header */
header.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--tomato); }
.brand .lotus { width: 30px; height: 30px; }
.brand .name { color: var(--text); }
.nav-links { display: flex; gap: 24px; align-items: center; }

/* Hero */
.hero { text-align: center; padding: 40px 0 28px; }
.hero .lotus { width: 108px; height: 108px; color: var(--tomato); margin: 8px auto 26px; }
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  line-height: 1.02;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
  font-weight: 700;
}
.hero p.lead {
  font-size: clamp(1.1rem, 2.6vw, 1.4rem);
  color: var(--muted);
  max-width: 34ch;
  margin: 0 auto 30px;
}

/* Hero call to action. One button, its explanation directly beneath it, then a
   quiet link down the page — stacked rather than side by side so the note can
   only be read as belonging to the button above it. */
.cta { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cta-note {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 42ch;
  margin: 0;
}
.quiet-link { color: var(--muted); font-size: 0.95rem; }
.quiet-link:hover { color: var(--tomato); }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--tomato);
  color: var(--on-accent);
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.btn:hover { text-decoration: none; filter: brightness(1.05); }
.btn.ghost { background: var(--tint); color: var(--text); }
.badge {
  display: inline-block;
  background: var(--tint);
  color: var(--muted);
  padding: 8px 16px;
  border-radius: 999px;
  margin-top: 14px;
}

/* Section */
section { padding: 56px 0; }
section h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin: 0 0 8px; }
.section-intro { color: var(--muted); max-width: 52ch; margin: 0 0 34px; }

/* Feature blocks — borderless, told apart by tone */
.blocks { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.block {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.block .dot { width: 34px; height: 34px; border-radius: 10px; margin-bottom: 16px; }
.block h3 { margin: 0 0 8px; font-size: 1.15rem; }
.block p { margin: 0; color: var(--muted); font-size: 0.98rem; }
/* Screenshots — borderless like everything else: the phone shot sits on a
   tinted block, no device frame, no drop shadow. The images are already
   full-bleed screen captures, so a chrome bezel would only add noise. */
/* Four across, then 2x2, then stacked. Explicit breakpoints rather than
   auto-fit: with four shots, auto-fit drops to three columns and orphans the
   fourth on a row of its own. */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .shots { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (max-width: 480px) { .shots { grid-template-columns: 1fr; } }
.shot { margin: 0; }
.shot .frame {
  display: block;
  background: var(--tint);
  border-radius: var(--radius);
  padding: 20px 20px 0;
  overflow: hidden;
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px 14px 0 0;
}
.shot figcaption {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 14px;
}

.dot.tomato { background: var(--tomato); }
.dot.lake { background: var(--lake); }
.dot.grass { background: var(--grass); }
.dot.gold { background: var(--gold); }

/* Privacy / prose */
.prose { max-width: 44rem; margin: 0 auto; padding: 8px 0 40px; }
.prose h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin: 24px 0 6px; }
.prose h2 { font-size: 1.25rem; margin: 34px 0 8px; }
.prose p, .prose li { color: var(--text); }
.prose .muted { color: var(--muted); }
.prose ul { padding-left: 1.2em; }
.prose li { margin: 6px 0; }
.callout {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
}

/* Footer */
footer {
  background: var(--surface);
  margin-top: 40px;
  padding: 40px 0;
  color: var(--muted);
  font-size: 0.92rem;
}
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
footer .brand { color: var(--tomato); }
footer a { color: var(--muted); }

@media (max-width: 560px) {
  .nav-links { gap: 16px; }
  header.nav { padding: 18px 20px; }
}
