/* =========================================================================
   QUITER — DESIGN TOKENS
   One idea: a chrome-glass flower video on black, with liquid-glass surfaces
   floating over it. Nothing else is decorative.
   Instrument Serif italic = emotional lines · Inter = UI/body · JetBrains Mono = numbers
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg: #000000;
  --ink: #ffffff;
  --ink-70: rgba(255, 255, 255, 0.72);
  --ink-50: rgba(255, 255, 255, 0.55);
  --ink-40: rgba(255, 255, 255, 0.42);
  --line: rgba(255, 255, 255, 0.14);

  --accent-violet: #8d7cff;   /* brand */
  --accent-teal: #3fe8c9;     /* done / on track */
  --accent-gold: #f8bf40;     /* partial / caution */
  --accent-ember: #ff6b4a;    /* missed / errors */

  --font-serif: 'Instrument Serif', ui-serif, Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --radius-full: 999px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 7rem;
  --max-width: 1160px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

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

/* --- Typography --- */
em { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.eyebrow { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-50); }
h1, .h1 { font-weight: 600; font-size: clamp(2.6rem, 7.5vw, 5.5rem); line-height: 1.02; letter-spacing: -0.025em; }
h2, .h2 { font-weight: 600; font-size: clamp(2rem, 4.6vw, 3.5rem); line-height: 1.08; letter-spacing: -0.02em; }
h3, .h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; letter-spacing: -0.01em; }
p { color: var(--ink-70); max-width: 62ch; }
.lede { font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--ink-70); line-height: 1.65; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* =========================================================================
   LIQUID GLASS — the only surface style in the product.
   Translucent dark fill + backdrop blur + a gradient hairline border (masked
   ::before) + a soft inset catch-light along the top edge.
   ========================================================================= */
.liquid-glass {
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.14);
  position: relative;
  overflow: hidden;
}
.liquid-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.3px;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.16) 20%,
    rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%,
    rgba(255,255,255,0.16) 80%, rgba(255,255,255,0.5) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
/* Content surfaces: darker + blurrier so text stays readable over the flower. */
.liquid-glass--panel {
  background: rgba(12, 12, 20, 0.42);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.14), 0 18px 50px rgba(0,0,0,0.4);
}

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.8rem 1.6rem; border-radius: var(--radius-full);
  font-weight: 500; font-size: 0.93rem; white-space: nowrap;
  transition: transform 0.25s var(--ease-out), background 0.25s var(--ease-out), opacity 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn--glass { color: var(--ink); }
.btn--glass:hover:not(:disabled) { background: rgba(255,255,255,0.1); }
.btn--solid { background: var(--ink); color: #000; font-weight: 600; }
.btn--solid:hover:not(:disabled) { background: rgba(255,255,255,0.86); }
.btn--text { color: var(--ink-70); padding: 0.8rem 0.6rem; }
.btn--text:hover { color: var(--ink); }
.btn--sm { padding: 0.5rem 1rem; font-size: 0.82rem; }
.btn.is-confirming { background: rgba(255,107,74,0.2); color: var(--accent-ember); }
.icon-btn {
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; color: var(--ink-70);
  transition: color 0.25s var(--ease-out), background 0.25s var(--ease-out);
}
.icon-btn:hover { color: var(--ink); background: rgba(255,255,255,0.1); }