/* Lullo landing. Tokens match the app (src/App.css): evening blue neutrals, Lull, Ember. Borderless. */

@font-face { font-family: "Fraunces Variable"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/fraunces-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces Variable"; font-style: italic; font-weight: 100 900; font-display: swap; src: url("fonts/fraunces-latin-wght-italic.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans Variable"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/instrument-sans-latin-wght-normal.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --ink: oklch(0.16 0.014 272);
  --ink-2: oklch(0.185 0.018 272);
  --dusk: oklch(0.23 0.03 274);
  --mist: oklch(0.94 0.012 270);
  --haze: oklch(0.74 0.022 270);
  --faint: oklch(0.6 0.03 272);
  --dim: oklch(0.4 0.03 272);
  --lull: #a5b0ff;
  --ember: #ff8f70;
  --ember-ink: oklch(0.3 0.06 35);

  --serif: "Fraunces Variable", ui-serif, Georgia, serif;
  --sans: "Instrument Sans Variable", -apple-system, system-ui, sans-serif;
  --ease: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: 22px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink); color: var(--mist);
  font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--serif); font-variation-settings: "SOFT" 100, "WONK" 0; font-weight: 400; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(3.2rem, 10vw, 7rem); font-weight: 300; line-height: .98; letter-spacing: -0.035em; }
h1 em, h2 em { font-style: italic; color: var(--lull); }
h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 300; line-height: 1.1; max-width: 17em; }
h3 { font-size: 1.35rem; margin-bottom: 8px; }
code { font: 0.85em ui-monospace, Menlo, monospace; background: var(--ink-2); padding: 2px 7px; border-radius: 6px; color: var(--mist); }
:focus-visible { outline: 2px solid var(--lull); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.center { text-align: center; }
.center h2 { margin-left: auto; margin-right: auto; }

.label, .kicker { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin-bottom: 18px; }
.body { color: var(--haze); max-width: 30em; margin-top: 20px; }
.lede { font-size: 1.2rem; color: var(--haze); max-width: 30em; margin: 24px auto 0; text-wrap: pretty; }

/* Header */
.top { position: absolute; top: 0; left: 0; right: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; max-width: 1180px; margin: 0 auto; padding: 24px var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--mist); }
.brand span { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-weight: 500; font-size: 20px; letter-spacing: -0.02em; }
.link-quiet { color: var(--haze); text-decoration: none; font-size: 14px; padding: 8px 4px; transition: color .25s var(--ease); }
.link-quiet:hover { color: var(--mist); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 30px; border-radius: 999px;
  background: var(--lull); color: oklch(0.2 0.05 272);
  font: 600 1rem var(--sans); text-decoration: none; cursor: pointer;
  box-shadow: 0 12px 36px color-mix(in oklch, var(--lull) 28%, transparent);
  transition: transform .4s var(--ease-expo), box-shadow .3s var(--ease);
}
.btn:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 16px 46px color-mix(in oklch, var(--lull) 40%, transparent); }
.btn:active { transform: scale(.98); }
.cta-block { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 38px; }
.cta-note { font-size: 14px; color: var(--faint); max-width: 30em; text-align: center; }
.cta-status { min-height: 1.4em; font-size: 14px; color: var(--ember); }

/* Hero: the app's sky, evening above and a warm horizon low */
.hero {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 150px var(--gutter) 0;
  background:
    radial-gradient(70% 18% at 50% 92%, color-mix(in oklch, var(--ember) 16%, transparent), transparent 70%),
    linear-gradient(180deg, oklch(0.215 0.048 274) 0%, oklch(0.18 0.03 272) 55%, var(--ink) 92%);
}
.hero .kicker { color: var(--haze); }
.hero .lede { margin-top: 28px; }
.stage { width: min(1180px, 100%); margin: 64px auto 0; padding-bottom: 0; }
.mac { background: oklch(0.2 0.02 272); border-radius: 18px 18px 0 0; overflow: hidden; box-shadow: 0 -10px 80px -20px color-mix(in oklch, var(--lull) 30%, transparent), 0 40px 120px -30px oklch(0.05 0.02 272 / .9); }
.mac-bar { height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 16px; background: oklch(0.21 0.022 272); }
.mac-bar i { width: 12px; height: 12px; border-radius: 50%; background: oklch(0.38 0.03 272); display: block; }
.mac-screen { position: relative; width: 100%; aspect-ratio: 1600 / 1000; overflow: hidden; background: var(--ink); }
.mac-frame { position: absolute; left: 0; top: 0; width: 1600px; height: 1000px; border: 0; transform-origin: 0 0; pointer-events: none; }

/* Sections */
.section { padding: clamp(80px, 12vw, 140px) 0; }
.night-flow { background: var(--ink); }
.beats { list-style: none; margin-top: 56px; display: grid; gap: 16px; }
.beat { position: relative; background: var(--ink-2); border-radius: 24px; padding: 30px 28px 32px; }
.beat-n { position: absolute; top: 22px; right: 26px; font: italic 300 2.6rem var(--serif); color: var(--ember); opacity: .85; }
.beat p { color: var(--haze); font-size: 16px; max-width: 26em; }
.asks { list-style: none; margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.asks li { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-style: italic; font-size: 1.15rem; line-height: 1.35; color: var(--lull); }


.privacy { background: oklch(0.185 0.03 272); }
.trio { display: grid; gap: 16px; margin-top: 52px; }
.tile { background: var(--ink-2); border-radius: 24px; padding: 30px 28px; }
.tile p { color: var(--haze); font-size: 16px; }

.faq { background: var(--ink); }
.faq-list { margin-top: 40px; display: grid; gap: 10px; }
details { background: var(--ink-2); border-radius: 18px; padding: 0 24px; }
summary { list-style: none; cursor: pointer; padding: 22px 0; font: 500 1.02rem var(--sans); display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 300 1.6rem/1 var(--serif); color: var(--ember); transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 0 22px; color: var(--haze); font-size: 16px; max-width: 38em; }

.final {
  padding: clamp(90px, 13vw, 150px) 0 clamp(70px, 9vw, 110px);
  background:
    radial-gradient(60% 40% at 50% 100%, color-mix(in oklch, var(--ember) 13%, transparent), transparent 70%),
    linear-gradient(180deg, var(--ink), oklch(0.2 0.045 274));
}
.final-mark { margin-bottom: 26px; filter: drop-shadow(0 0 28px color-mix(in oklch, var(--lull) 35%, transparent)); }

.footer { padding: 40px var(--gutter) 56px; text-align: center; color: var(--faint); font-size: 13px; background: oklch(0.2 0.045 274); }

/* Motion */
.rise { animation: rise .9s var(--ease-expo) both; animation-delay: var(--d, 0s); }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease-expo); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes set { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes set-lo { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); opacity: .8; } }

@media (min-width: 820px) {
  body { font-size: 18px; }
  .beats, .trio { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
