/* Lasa landing site. Same fonts and paper-and-ink palette as the app (src/styles/tokens.css). No scripts. */
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/fonts/dm-sans-latin.woff2') format('woff2'); }
@font-face { font-family: 'Libre Baskerville'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/fonts/libre-baskerville-latin.woff2') format('woff2'); }

:root {
  --bg: #e8e3dc; --surface: #f8f6f2; --surface-2: #ebe6df; --line: #d7cfc4;
  --text: #24190f; --muted: #6b5541; --accent: #45302b; --on-accent: #faf5ea;
  --up: #2f9e62; --bench: #8a7660;
  --radius: 14px;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --serif: 'Libre Baskerville', Baskerville, Georgia, serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #100b08; --surface: #1c1511; --surface-2: #2a2019; --line: #35291f;
    --text: #f5ead8; --muted: #bba68c; --accent: #d8bca9; --on-accent: #2b120a;
    --up: #40ad66; --bench: #8f7a64;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums lining-nums;
}
a { color: inherit; }
.muted { color: var(--muted); }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.12; font-weight: 700; }

.nav {
  position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between;
  max-width: 1120px; margin: 0 auto; padding: calc(14px + env(safe-area-inset-top)) 24px 14px;
  background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 21px/1 var(--serif); }
.brand img { border-radius: 7px; }
.brand.small { font-size: 15px; gap: 8px; }
.nav nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav nav a:not(.btn) { text-decoration: none; color: var(--muted); }
@media (hover: hover) { .nav nav a:not(.btn):hover { color: var(--text); } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 20px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-weight: 600; font-size: 15px;
  transition: transform 120ms ease, background-color 160ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-quiet { height: 36px; padding: 0 14px; background: transparent; }
@media (hover: hover) { .btn:hover { background: var(--surface-2); } .btn-primary:hover { background: var(--accent); filter: brightness(1.08); } }

main { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; }

.hero { padding-top: 56px; text-align: center; }
.eyebrow {
  display: inline-block; margin: 0 0 18px; padding: 5px 12px; border-radius: 999px; background: var(--surface-2);
  color: var(--muted); font-size: 13px; font-weight: 600;
}
.hero h1 { font-size: clamp(36px, 6vw, 64px); }
.hero h1 span { color: var(--muted); }
.lede { max-width: 660px; margin: 22px auto 0; color: var(--muted); font-size: 19px; }
.cta { display: flex; justify-content: center; gap: 12px; margin-top: 30px; flex-wrap: wrap; }

.preview {
  max-width: 760px; margin: 56px auto 0; padding: 22px 24px 18px; border: 1px solid var(--line); border-radius: 20px;
  background: var(--surface); text-align: left; box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.35);
}
.preview-head { display: flex; justify-content: space-between; align-items: flex-start; }
.preview-head span.muted { display: block; font-size: 14px; }
.preview-head strong { font-size: 30px; letter-spacing: -0.02em; }
.delta { padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--up) 16%, transparent); color: var(--up); font-size: 14px; font-weight: 600; }
.preview svg { display: block; width: 100%; height: 180px; margin-top: 12px; }
.preview .area { fill: url(#wash); }
.preview .s0 { stop-color: var(--up); stop-opacity: 0.22; }
.preview .s1 { stop-color: var(--up); stop-opacity: 0; }
.preview .line { fill: none; stroke: var(--up); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.preview .bench { fill: none; stroke: var(--bench); stroke-width: 1.5; stroke-dasharray: 5 5; vector-effect: non-scaling-stroke; }
.legend { display: flex; gap: 18px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 16px; height: 0; border-top: 2px solid var(--up); }
.legend i.sp { border-top: 2px dashed var(--bench); }

.features h2, .privacy h2, .closing h2 { font-size: clamp(28px, 4vw, 40px); text-align: center; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.grid article { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.grid h3 { font-size: 18px; letter-spacing: -0.01em; }
.grid p { margin: 10px 0 0; color: var(--muted); font-size: 15.5px; }

.privacy ul { list-style: none; max-width: 760px; margin: 36px auto 0; padding: 0; display: grid; gap: 14px; }
.privacy li { padding: 18px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.privacy li strong { color: var(--text); }

.closing { text-align: center; }
.closing p { margin: 14px 0 26px; }

.foot {
  display: flex; justify-content: space-between; align-items: center; max-width: 1120px; margin: 0 auto;
  padding: 28px 24px calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: 14px;
}

@media (max-width: 860px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  body { font-size: 16px; }
  section { padding: 52px 0; }
  .grid { grid-template-columns: 1fr; }
  .nav nav a:not(.btn) { display: none; }
  .lede { font-size: 17px; }
  .preview { padding: 18px 16px 14px; }
  .preview-head strong { font-size: 24px; }
}
