/* Après Groove site: the app's Forest & tangerine palette, set with more restraint. */
:root {
  --paper: #f4f1e8;
  --paper-2: #ebe7da;
  --card: #fbfaf5;
  --ink: #1a1e1a;
  --ink-2: #3a403a;
  --muted: #646a60;
  --rule: rgba(26, 30, 26, 0.12);
  --forest: #1f3a2e;
  --forest-2: #274637;
  --tangerine: #f08a3c;
  --tangerine-text: #a24a12;
  --pale: #d9e0d2;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Archivo", system-ui, sans-serif;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: min(1120px, 100% - 48px); margin: 0 auto; }

/* Nav */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(244, 241, 232, 0.86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.lockup { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--forest); }
.lockup .word { font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1; letter-spacing: -0.01em; white-space: nowrap; }
.record-mark { width: 26px; height: 26px; flex-shrink: 0; animation: spin 1.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .record-mark { animation: none; } }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 15px; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.nav a:hover { color: var(--ink); }
.nav .pill { color: var(--paper); background: var(--forest); padding: 9px 18px; border-radius: 999px; font-weight: 600; }
.nav .pill:hover { color: var(--paper); background: var(--forest-2); }
@media (max-width: 720px) { .nav a:not(.pill) { display: none; } }

/* Type */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tangerine-text); margin: 0 0 18px; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; color: var(--forest); }
h1 { font-size: clamp(52px, 7.4vw, 96px); line-height: 0.95; margin: 0 0 24px; }
h1 em, h2 em { font-style: italic; }
h2 { font-size: clamp(38px, 4.6vw, 60px); line-height: 1; margin: 0 0 16px; }
.lede { font-size: 20px; line-height: 1.55; color: var(--muted); max-width: 30em; margin: 0 0 36px; }

/* Waitlist: one field with the button inside */
.waitlist { position: relative; display: flex; align-items: center; max-width: 460px; padding: 6px; background: var(--card); border: 1px solid var(--rule); border-radius: 999px; box-shadow: 0 1px 2px rgba(26, 30, 26, 0.04); transition: border-color .15s, box-shadow .15s; }
.waitlist:focus-within { border-color: var(--forest); box-shadow: 0 0 0 4px rgba(31, 58, 46, 0.12); }
.waitlist label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.waitlist input { flex: 1; min-width: 0; height: 46px; padding: 0 16px 0 18px; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 16px; outline: none; }
.waitlist input::placeholder { color: #8b9086; }
.btn { flex-shrink: 0; height: 46px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--tangerine); color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: filter .15s; }
.btn:hover { filter: brightness(0.95); }
.btn:disabled { opacity: 0.6; cursor: default; }
.btn:focus-visible { outline: 3px solid var(--forest); outline-offset: 2px; }
.form-note { font-size: 14px; color: var(--muted); margin: 12px 0 0 20px; min-height: 1.4em; }
.form-note.ok { color: var(--forest); font-weight: 600; }
.form-note.err { color: #a8433d; }
@media (max-width: 480px) {
  .waitlist { flex-direction: column; align-items: stretch; border-radius: 22px; }
  .btn { width: 100%; }
}

/* Hero */
.hero { padding: 72px 0 112px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; }
.meta { display: flex; align-items: center; gap: 10px; margin-top: 28px; font-size: 14px; color: var(--muted); }
.meta .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--tangerine); }

/* Phone */
.phone { position: relative; width: min(330px, 100%); margin: 0 auto; aspect-ratio: 330 / 680; background: var(--paper); border-radius: 48px; padding: 14px; box-shadow: 0 0 0 6px #121512, 0 0 0 7px #2a2f2a, 0 50px 80px -40px rgba(31, 58, 46, 0.55), 0 20px 40px -20px rgba(26, 30, 26, 0.25); }
.phone .screen { height: 100%; border-radius: 36px; overflow: hidden; background: var(--paper); padding: 22px 16px; display: flex; flex-direction: column; gap: 14px; }
.phone .bar { display: flex; align-items: center; gap: 7px; color: var(--forest); font-family: var(--serif); font-style: italic; font-size: 19px; }
.phone .bar svg { width: 18px; height: 18px; }
.hero-card { position: relative; overflow: hidden; background: var(--forest); color: var(--paper); border-radius: 18px; padding: 16px; }
.hero-card .k { font-size: 9.5px; font-weight: 600; letter-spacing: 0.14em; color: var(--pale); }
.hero-card .t { font-family: var(--serif); font-size: 29px; line-height: 1; margin: 8px 0 14px; }
.hero-card .t em { color: var(--tangerine); }
.hero-card .b { display: inline-block; background: var(--tangerine); color: var(--ink); font-weight: 600; font-size: 11px; padding: 7px 13px; border-radius: 999px; }
.hero-card .ring { position: absolute; border: 1px solid rgba(244, 241, 232, 0.14); border-radius: 50%; }
.stub { display: flex; border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; background: var(--card); }
.stub .d { width: 52px; background: var(--tangerine); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 8px 0; font-size: 9px; font-weight: 700; letter-spacing: 0.1em; position: relative; }
.stub .d::after { content: ""; position: absolute; right: -1px; top: 6px; bottom: 6px; border-right: 1.5px dashed rgba(26, 30, 26, 0.5); }
.stub .d b { font-family: var(--serif); font-weight: 400; font-size: 24px; letter-spacing: 0; line-height: 1; }
.stub .c { padding: 10px 12px; font-size: 12px; line-height: 1.4; }
.stub .c strong { display: block; font-size: 14px; font-weight: 700; }
.stub .c span { color: var(--muted); }
.stub.quiet .d { background: var(--paper-2); }
.who { display: flex; align-items: center; margin-top: 2px; font-size: 11.5px; font-weight: 600; color: var(--ink-2); }
.who i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--paper); display: inline-flex; align-items: center; justify-content: center; font-family: var(--serif); font-style: italic; font-size: 11px; background: var(--forest); color: var(--paper); margin-right: -8px; }
.who i:nth-child(2) { background: var(--tangerine); color: var(--ink); }
.who span { margin-left: 16px; }

/* Sections */
section { padding: 112px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }
.rule-top { border-top: 1px solid var(--rule); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.step { border-top: 1px solid var(--rule); padding-top: 24px; }
.step .n { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--tangerine-text); margin-bottom: 10px; }
.step h3 { margin: 0 0 8px; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

.dark { background: var(--forest); color: var(--paper); }
.dark h2 { color: var(--paper); }
.dark .eyebrow { color: #f3a56a; }
.dark .section-head p { color: var(--pale); }
.crate-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.crate-grid figure { margin: 0; }
.crate-grid svg { width: 100%; max-width: 150px; height: auto; aspect-ratio: 1; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.25)); }
.crate-grid figcaption { margin-top: 18px; font-weight: 600; font-size: 16px; }
.crate-grid figcaption small { display: block; font-weight: 400; color: var(--pale); font-size: 14px; margin-top: 2px; }
.crate-grid .tier { display: inline-block; margin-top: 8px; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pale); opacity: 0.8; }

.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.trust div { border-top: 1px solid var(--rule); padding-top: 24px; }
.trust h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; }
.trust p { margin: 0; color: var(--muted); font-size: 16px; }

.cta-panel { position: relative; overflow: hidden; background: var(--forest); color: var(--paper); border-radius: 28px; padding: 80px 48px; text-align: center; }
.cta-panel h2 { color: var(--paper); }
.cta-panel p { color: var(--pale); font-size: 18px; margin: 0 auto 32px; max-width: 32em; }
.cta-panel .waitlist { margin: 0 auto; background: rgba(244, 241, 232, 0.08); border-color: rgba(244, 241, 232, 0.2); }
.cta-panel .waitlist input { color: var(--paper); }
.cta-panel .waitlist input::placeholder { color: rgba(244, 241, 232, 0.55); }
.cta-panel .waitlist:focus-within { border-color: var(--tangerine); box-shadow: 0 0 0 4px rgba(240, 138, 60, 0.2); }
.cta-panel .form-note { margin-left: 0; color: var(--pale); }
.cta-panel .form-note.ok { color: #f3a56a; }
.cta-panel .ring { position: absolute; border: 1px solid rgba(244, 241, 232, 0.08); border-radius: 50%; pointer-events: none; }

/* Footer */
footer { padding: 48px 0 56px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; border-top: 1px solid var(--rule); padding-top: 32px; }
footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

/* Legal and support pages */
.doc { padding: 56px 0 96px; }
.doc .wrap { max-width: 720px; }
.doc h1 { font-size: clamp(48px, 6vw, 72px); }
.doc h2 { font-size: 30px; margin: 48px 0 12px; }
.doc h3 { font-size: 18px; margin: 28px 0 6px; }
.doc p, .doc li { color: var(--ink-2); }
.doc a { color: var(--forest); text-underline-offset: 3px; }
.doc .updated { color: var(--muted); font-size: 15px; }
.placeholder { background: #fbe3cf; padding: 0 4px; border-radius: 4px; }

@media (max-width: 900px) {
  .hero { padding: 40px 0 80px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 56px; }
  .steps, .trust { grid-template-columns: 1fr; gap: 32px; }
  .crate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  section { padding: 80px 0; }
  .cta-panel { padding: 56px 24px; border-radius: 22px; }
  #join { padding-bottom: 48px !important; }
}
