/* Quitslip — shared design system (Uber-style black / white / grey) */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #FFFFFF; --bg-2: #F6F6F6; --surface: #FFFFFF; --border: #E4E4E4;
  --text: #000000; --muted: #6B6B6B; --accent: #000000; --accent-dk: #262626;
  --error: #D6336C;
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
::selection { background: #000; color: #fff; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.section { padding: 120px 0; }
.section-grey { background: var(--bg-2); }
.section-title { font-size: clamp(30px, 4.6vw, 46px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; }
.section-sub { font-size: clamp(16px, 2vw, 19px); color: var(--muted); max-width: 560px; margin-top: 18px; }
.center { text-align: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; font-weight: 600; padding: 13px 22px; border-radius: 8px; border: 1px solid transparent; cursor: pointer; transition: all .2s ease; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-primary { background: #000; color: #fff; }
.btn-primary:hover { background: #262626; }
.btn-secondary { background: #fff; border-color: #000; color: #000; }
.btn-secondary:hover { background: #F1F1F1; }
.btn-ghost { background: transparent; color: #000; padding: 13px 8px; }
.btn-ghost:hover { text-decoration: underline; }
.btn-lg { padding: 16px 28px; font-size: 16px; }

/* Nav (black Uber bar) */
nav { position: sticky; top: 0; z-index: 100; background: #000; }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
.logo em { color: inherit; font-style: normal; }
nav .logo { color: #fff; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-link { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.78); transition: color .2s; }
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-login { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.78); }
.nav-login:hover { color: #fff; }
nav .nav-right .btn-primary { background: #fff; color: #000; }
nav .nav-right .btn-primary:hover { background: #E4E4E4; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { width: 22px; height: 2px; background: #fff; border-radius: 2px; }

.drawer { position: fixed; inset: 0 0 0 auto; width: 78%; max-width: 320px; background: #fff; border-left: 1px solid var(--border); transform: translateX(100%); transition: transform .28s ease; z-index: 200; padding: 24px; display: flex; flex-direction: column; gap: 6px; box-shadow: -20px 0 60px rgba(0,0,0,.12); }
.drawer.open { transform: translateX(0); }
.drawer a { padding: 14px 8px; font-size: 16px; font-weight: 500; color: var(--text); border-bottom: 1px solid var(--border); }
.drawer .btn { margin-top: 16px; }
.drawer-close { align-self: flex-end; background: none; border: none; color: var(--muted); font-size: 28px; cursor: pointer; margin-bottom: 8px; }
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.4); opacity: 0; pointer-events: none; transition: opacity .28s; z-index: 150; }
.scrim.open { opacity: 1; pointer-events: auto; }

/* Hero */
.hero { padding: 96px 0 72px; position: relative; overflow: hidden; }
.hero-label { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--border); background: var(--bg-2); border-radius: 100px; padding: 6px 14px; margin-bottom: 28px; }
.hero-label .dot { width: 7px; height: 7px; border-radius: 50%; background: #000; }
.hero-label span { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); }
.hero h1 { font-size: clamp(40px, 7vw, 72px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.03; max-width: 900px; color: var(--text); }
.hero-sub { font-size: clamp(16px, 2.2vw, 20px); color: var(--muted); max-width: 600px; margin: 26px 0 34px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.hero-split .hero-sub { margin-bottom: 30px; }

.hero-stats { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 40px; }
.stat-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 100px; padding: 9px 16px; font-size: 13px; color: var(--muted); }
.stat-pill b { color: var(--text); font-weight: 600; }
.stat-pill .tick { color: #000; }

/* Grids + cards */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 52px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 32px; text-align: left; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.07); }
.card .icon { font-size: 26px; margin-bottom: 14px; display: block; }
.card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--muted); }
.metric-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 28px 24px; text-align: center; transition: transform .2s, box-shadow .2s; }
.metric-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.metric-num { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; color: #000; }
.metric-label { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; position: relative; }
.steps::before { content: ''; position: absolute; top: 28px; left: 16%; right: 16%; height: 2px; background-image: linear-gradient(90deg, #CFCFCF 40%, transparent 0); background-size: 12px 2px; }
.step { text-align: center; position: relative; }
.step-num { width: 56px; height: 56px; border-radius: 50%; background: #000; color: #fff; font-size: 20px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; position: relative; z-index: 1; }
.step h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); max-width: 260px; margin: 0 auto; }
.note { text-align: center; margin-top: 48px; font-size: 14px; color: var(--muted); }
.note b { color: var(--text); font-weight: 600; }

/* Pricing */
.toggle { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 40px; }
.toggle span { font-size: 14px; font-weight: 500; color: var(--muted); }
.toggle span.on { color: var(--text); }
.toggle .save { color: #000; font-weight: 600; }
.switch { width: 52px; height: 30px; border-radius: 100px; background: #fff; border: 1px solid var(--border); cursor: pointer; padding: 3px; }
.switch .knob { width: 22px; height: 22px; border-radius: 50%; background: #000; transition: transform .2s; }
.switch.on .knob { transform: translateX(22px); }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.plan { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; text-align: left; transition: transform .2s, box-shadow .2s; }
.plan:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.07); }
.plan.pop { border-color: #000; box-shadow: 0 0 0 1px #000; position: relative; }
.plan-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: #000; color: #fff; font-size: 11px; font-weight: 700; padding: 4px 14px; border-radius: 100px; letter-spacing: .04em; }
.plan-name { font-size: 14px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.plan-price { font-size: 46px; font-weight: 800; letter-spacing: -0.03em; margin: 14px 0 2px; color: var(--text); }
.plan-price small { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan-addon { font-size: 14px; color: #000; font-weight: 600; margin-bottom: 8px; }
.plan-tag { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.plan-hr { height: 1px; background: var(--border); margin-bottom: 22px; }
.plan-feats { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 28px; flex: 1; }
.plan-feats li { font-size: 14px; color: var(--text); display: flex; gap: 10px; align-items: flex-start; }
.plan-feats li::before { content: '✓'; color: #000; font-weight: 700; flex-shrink: 0; }
.plan .btn { width: 100%; }

/* Calculator (business) */
.calc { max-width: 620px; margin: 48px auto 0; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 40px; text-align: center; box-shadow: 0 12px 40px rgba(0,0,0,.06); }
.calc-emp { font-size: 15px; color: var(--muted); margin-bottom: 8px; }
.calc-count { font-size: 20px; font-weight: 700; color: #000; }
.calc input[type=range] { width: 100%; margin: 20px 0 28px; accent-color: #000; height: 4px; }
.calc-total { font-size: 56px; font-weight: 800; letter-spacing: -0.03em; }
.calc-total small { font-size: 18px; font-weight: 500; color: var(--muted); }
.calc-break { font-size: 14px; color: var(--muted); margin-top: 8px; }

/* FAQ */
.faq-wrap { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 4px; font-size: 16px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 22px; font-weight: 400; color: #000; flex-shrink: 0; }
.faq-item[open] summary::after { content: '−'; }
.faq-item .faq-a { padding: 0 4px 22px; font-size: 15px; line-height: 1.65; color: var(--muted); }

/* CTA (black) */
.cta { background: #000; color: #fff; text-align: center; }
.cta h2 { font-size: clamp(30px, 5vw, 48px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.cta p { font-size: 17px; color: rgba(255,255,255,.7); margin: 16px auto 32px; max-width: 480px; }
.cta-form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.cta-form input { flex: 1; min-width: 220px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); border-radius: 8px; padding: 14px 16px; font-size: 15px; font-family: inherit; color: #fff; }
.cta-form input::placeholder { color: rgba(255,255,255,.5); }
.cta-form input:focus { outline: none; border-color: #fff; }
.cta-form button { background: #fff; color: #000; border: none; border-radius: 8px; padding: 14px 24px; font-size: 15px; font-weight: 600; cursor: pointer; transition: all .15s; }
.cta-form button:hover { background: #E4E4E4; }
.cta-trust { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 16px; }

/* Prose (legal pages) */
.prose { max-width: 760px; margin: 0 auto; padding: 80px 24px 100px; }
.prose h1 { font-size: clamp(32px, 5vw, 44px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.prose .updated { color: var(--muted); font-size: 14px; margin-bottom: 40px; }
.prose h2 { font-size: 22px; font-weight: 700; margin: 40px 0 14px; letter-spacing: -0.01em; }
.prose h3 { font-size: 17px; font-weight: 600; margin: 24px 0 10px; }
.prose p, .prose li { font-size: 15px; line-height: 1.7; color: #262626; margin-bottom: 14px; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 14px; }
.prose a { text-decoration: underline; }
.prose strong { font-weight: 600; color: #000; }

/* Auth card */
.auth { min-height: calc(100vh - 64px); display: flex; align-items: center; justify-content: center; padding: 40px 24px; background: var(--bg-2); }
.auth-card { width: 100%; max-width: 400px; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 40px; box-shadow: 0 12px 40px rgba(0,0,0,.06); }
.auth-card h1 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; text-align: center; margin-bottom: 6px; }
.auth-card .sub { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; }
.input { width: 100%; background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 13px 14px; font-size: 15px; font-family: inherit; color: #000; transition: border-color .15s; }
.input:focus { outline: none; border-color: #000; }
.auth .btn { width: 100%; margin-top: 6px; }
.auth-alt { text-align: center; font-size: 14px; color: var(--muted); margin-top: 20px; }
.auth-alt a { color: #000; font-weight: 600; }

/* Footer */
footer { background: #fff; border-top: 1px solid var(--border); padding: 72px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot-tag { font-size: 14px; color: var(--muted); margin-top: 14px; max-width: 260px; }
.foot-col h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.foot-col a { display: block; font-size: 14px; color: var(--text); margin-bottom: 12px; opacity: .85; }
.foot-col a:hover { color: #000; opacity: 1; }
.foot-bar { border-top: 1px solid var(--border); margin-top: 56px; padding-top: 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.foot-bar .copy { font-size: 13px; color: var(--muted); }
.foot-bar .links a { font-size: 13px; color: var(--muted); margin-left: 20px; }
.foot-bar .links a:hover { color: var(--text); }
.foot-final { font-size: 13px; color: var(--muted); margin-top: 18px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Responsive */
@media (max-width: 900px) {
  .nav-links, .nav-login, .nav-right > .btn-primary { display: none; }
  .hamburger { display: flex; }
  .grid-2, .grid-3, .grid-4, .steps, .price-grid, .hero-split, .foot-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .section { padding: 80px 0; }
  .foot-grid { gap: 40px; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 56px; }
  .foot-bar { flex-direction: column; align-items: flex-start; }
  .foot-bar .links a { margin-left: 0; margin-right: 20px; }
}
