/* Shelfcrew — Warm Ink theme (matches the app: deep warm ink + amber accent) */
:root {
  --bg:        oklch(0.165 0.010 65);
  --bg-2:      oklch(0.205 0.011 65);
  --bg-3:      oklch(0.245 0.012 65);
  --line:      oklch(1 0 0 / 0.09);
  --line-2:    oklch(1 0 0 / 0.16);
  --text:      oklch(0.95 0.006 65);
  --text-dim:  oklch(0.74 0.010 65);
  --text-mute: oklch(0.58 0.010 65);
  --accent:     oklch(0.74 0.135 65);
  --accent-hi:  oklch(0.82 0.130 68);
  --accent-ink: oklch(0.20 0.03 65);
  --accent-wash: oklch(0.74 0.135 65 / 0.12);
  --accent-line: oklch(0.74 0.135 65 / 0.34);
  --r-sm: 8px; --r-md: 12px; --r-lg: 18px; --r-xl: 26px; --r-pill: 999px;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --maxw: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
::selection { background: var(--accent-wash); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent); display: inline-flex;
  align-items: center; gap: 10px; margin-bottom: 18px;
}
.eyebrow i { width: 22px; height: 1px; background: var(--accent); display: block; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; font-weight: 650; }
.section { padding: 96px 0; position: relative; }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; }
.section-head p { color: var(--text-dim); font-size: 18px; }
.muted { color: var(--text-dim); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: var(--r-pill); font-size: 15px;
  font-weight: 600; font-family: var(--sans); cursor: pointer; border: 1px solid transparent;
  transition: transform .12s ease, background .16s, border-color .16s, color .16s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hi); }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent-line); background: var(--accent-wash); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px); background: oklch(0.165 0.010 65 / 0.72);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 18px; letter-spacing: -0.01em; }
.brand .logo { width: 30px; height: 30px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--text-dim); font-size: 15px; transition: color .14s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; }

/* Hero */
.hero { position: relative; padding: 92px 0 40px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto -10%; height: 620px; z-index: 0;
  background: radial-gradient(60% 80% at 70% 0%, var(--accent-wash), transparent 62%),
              radial-gradient(50% 70% at 15% 10%, oklch(0.74 0.135 65 / 0.06), transparent 60%);
  pointer-events: none;
}
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.4vw, 62px); margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { font-size: 20px; color: var(--text-dim); max-width: 520px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 13.5px; color: var(--text-mute); display: flex; align-items: center; gap: 8px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-wash); }

/* Hero visual — the crew */
.crew {
  position: relative; border: 1px solid var(--line); border-radius: var(--r-xl);
  background: linear-gradient(160deg, var(--bg-2), oklch(0.185 0.011 65));
  padding: 20px; box-shadow: 0 30px 80px -40px oklch(0 0 0 / 0.8);
}
.crew-h { display: flex; align-items: center; gap: 9px; padding: 4px 6px 16px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.crew-h .k { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-mute); }
.crew-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.spec {
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg);
  padding: 14px; display: flex; flex-direction: column; gap: 10px; transition: border-color .2s, transform .2s;
}
.spec:hover { border-color: var(--accent-line); transform: translateY(-2px); }
.spec .si { width: 34px; height: 34px; border-radius: 9px; background: var(--accent-wash); border: 1px solid var(--accent-line); display: grid; place-items: center; }
.spec .si svg { width: 18px; height: 18px; stroke: var(--accent); }
.spec .sn { font-size: 14px; font-weight: 600; }
.spec .sd { font-size: 12px; color: var(--text-mute); line-height: 1.45; }
.spec .stag { margin-top: auto; font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; color: var(--accent); }

/* Logos / context strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
.strip-in { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; }
.strip .lab { font-size: 13px; color: var(--text-mute); font-family: var(--mono); letter-spacing: .04em; }
.strip .names { display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; }
.strip .names span { font-size: 15px; font-weight: 600; color: var(--text-dim); }

/* Feature / card grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card {
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-2);
  padding: 26px; transition: border-color .2s, transform .2s, background .2s;
}
.card:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.card .ic { width: 44px; height: 44px; border-radius: 11px; background: var(--accent-wash); border: 1px solid var(--accent-line); display: grid; place-items: center; margin-bottom: 18px; }
.card .ic svg { width: 22px; height: 22px; stroke: var(--accent); }
.card h3 { font-size: 19px; margin-bottom: 9px; }
.card p { color: var(--text-dim); font-size: 15px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-2); padding: 28px; position: relative; }
.step .no { font-family: var(--mono); font-size: 13px; color: var(--accent-ink); background: var(--accent); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; margin-bottom: 16px; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--text-dim); font-size: 15px; }

/* Pricing */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.tier { border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--bg-2); padding: 30px; display: flex; flex-direction: column; }
.tier.feat { border-color: var(--accent-line); background: linear-gradient(180deg, var(--accent-wash), var(--bg-2) 40%); box-shadow: 0 24px 60px -40px oklch(0.74 0.135 65 / 0.5); }
.tier .tn { font-size: 14px; font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.tier .tp { font-size: 30px; font-weight: 650; margin-bottom: 4px; letter-spacing: -0.02em; }
.tier .tp small { font-size: 15px; color: var(--text-mute); font-weight: 500; }
.tier .td { color: var(--text-dim); font-size: 14.5px; margin-bottom: 20px; min-height: 44px; }
.tier ul { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; }
.tier li { display: flex; gap: 10px; font-size: 14.5px; color: var(--text); align-items: flex-start; }
.tier li svg { width: 17px; height: 17px; stroke: var(--accent); flex: none; margin-top: 3px; }
.tier .btn { width: 100%; margin-top: auto; }
.badge { align-self: flex-start; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent); padding: 3px 10px; border-radius: var(--r-pill); margin-bottom: 14px; }

/* CTA band */
.cta {
  border: 1px solid var(--accent-line); border-radius: var(--r-xl); padding: 56px 40px; text-align: center;
  background: radial-gradient(90% 140% at 50% 0%, var(--accent-wash), var(--bg-2) 65%);
}
.cta h2 { font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 14px; }
.cta p { color: var(--text-dim); font-size: 18px; max-width: 520px; margin: 0 auto 28px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 44px 0 60px; margin-top: 40px; }
.footer-in { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer .brand { margin-bottom: 12px; }
.footer .ftag { color: var(--text-mute); font-size: 14px; max-width: 280px; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.fcol h4 { font-size: 12px; font-family: var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 14px; }
.fcol a { display: block; color: var(--text-dim); font-size: 14.5px; margin-bottom: 10px; transition: color .14s; }
.fcol a:hover { color: var(--text); }
.copy { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-mute); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 60px 24px 90px; }
.legal h1 { font-size: 38px; margin-bottom: 8px; }
.legal .updated { color: var(--text-mute); font-size: 14px; margin-bottom: 14px; }
.legal .note { border: 1px solid var(--accent-line); background: var(--accent-wash); border-radius: var(--r-md); padding: 14px 18px; font-size: 14px; color: var(--text-dim); margin-bottom: 34px; }
.legal h2 { font-size: 21px; margin: 34px 0 12px; }
.legal p, .legal li { color: var(--text-dim); font-size: 15.5px; margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 12px; }
.legal a { color: var(--accent-hi); text-decoration: underline; text-underline-offset: 3px; }

/* Success page */
.success { min-height: 78vh; display: grid; place-items: center; text-align: center; padding: 40px 24px; }
.success .ok { width: 78px; height: 78px; border-radius: 50%; background: var(--accent-wash); border: 1px solid var(--accent-line); display: grid; place-items: center; margin: 0 auto 26px; }
.success .ok svg { width: 38px; height: 38px; stroke: var(--accent); }
.success h1 { font-size: 34px; margin-bottom: 12px; }
.success p { color: var(--text-dim); font-size: 17px; max-width: 440px; margin: 0 auto 28px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .grid-3, .steps, .tiers { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .tier.feat { order: -1; }
}
@media (max-width: 560px) {
  .section { padding: 68px 0; }
  .crew-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
