/* SmartRoster — warm light, product-led */
@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@400;500;600;700;800;900&family=Red+Hat+Text:wght@400;500;600;700&family=Geist+Mono:wght@400;500&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --stone-50: oklch(0.97 0.005 70);
  --stone-100: oklch(0.94 0.008 70);
  --stone-200: oklch(0.88 0.01 70);
  --stone-300: oklch(0.80 0.012 65);
  --stone-500: oklch(0.55 0.015 60);
  --stone-700: oklch(0.35 0.02 55);
  --stone-900: oklch(0.18 0.02 50);
  --amber: oklch(0.72 0.16 70);
  --amber-dim: oklch(0.72 0.16 70 / 0.1);
  --sage: oklch(0.62 0.08 155);
  --sage-dim: oklch(0.62 0.08 155 / 0.1);
  --clay: oklch(0.60 0.1 45);
  --clay-dim: oklch(0.60 0.1 45 / 0.1);
  --slate: oklch(0.55 0.04 250);
  --slate-dim: oklch(0.55 0.04 250 / 0.1);
  --rose: oklch(0.58 0.12 15);
  --rose-dim: oklch(0.58 0.12 15 / 0.1);
  --bg: var(--stone-50);
  --bg-2: var(--stone-100);
  --bg-3: var(--stone-200);
  --text: var(--stone-900);
  --text-2: var(--stone-500);
  --text-3: var(--stone-300);
  --border: var(--stone-200);
  --border-2: var(--stone-300);
  --r: 10px; --r-sm: 6px;
  --font: 'Red Hat Text', system-ui, sans-serif;
  --font-display: 'Red Hat Display', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); font-size: 15px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--font-display); }
a { color: inherit; text-decoration: none; }

/* ── Nav ── */
.topbar { position: sticky; top: 0; z-index: 100; height: 56px; display: flex; align-items: center; padding: 0 clamp(1rem,3vw,3rem); background: oklch(0.97 0.005 70 / 0.9); border-bottom: 1px solid var(--border); backdrop-filter: blur(12px); }
.topbar-logo { font-weight: 800; font-size: 18px; letter-spacing: -0.04em; margin-right: auto; }
.topbar-logo span { color: var(--amber); }
.topbar a:not(.topbar-logo) { font-size: 13px; color: var(--text-2); margin-left: 24px; font-weight: 500; }
.topbar a:not(.topbar-logo):hover { color: var(--text); }
.topbar .cta { color: var(--stone-50); background: var(--stone-900); padding: 6px 16px; border-radius: var(--r-sm); font-weight: 600; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; font-family: var(--font); font-size: 14px; font-weight: 600; padding: 10px 20px; border-radius: var(--r-sm); border: none; cursor: pointer; transition: all 0.15s; }
.btn-dark { background: var(--stone-900); color: var(--stone-50); }
.btn-dark:hover { background: var(--stone-700); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border-2); }
.btn-outline:hover { border-color: var(--stone-500); }

/* ── Hero: left-aligned, roster right ── */
.hero { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem,4vw,5rem); align-items: center; min-height: min(85vh, 700px); padding: clamp(3rem,6vw,6rem) clamp(1rem,3vw,3rem); max-width: 1280px; margin: 0 auto; }
.hero h1 { font-size: clamp(2.4rem,4.5vw,3.6rem); font-weight: 800; line-height: 1.06; letter-spacing: -0.04em; margin-bottom: 1.25rem; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero-sub { font-size: 1.05rem; color: var(--text-2); max-width: 420px; margin-bottom: 2rem; line-height: 1.7; }
.hero-actions { display: flex; gap: 10px; }
.hero-badge { font-family: var(--mono); font-size: 11px; color: var(--amber); background: var(--amber-dim); padding: 4px 10px; border-radius: 4px; display: inline-block; margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 0.04em; }
.hero-waitlist { display: flex; gap: 8px; max-width: 440px; flex-wrap: wrap; }
.hero-waitlist input { flex: 1 1 220px; min-width: 0; padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid var(--border-2); background: var(--bg); font-family: var(--font); font-size: 14px; color: var(--text); outline: none; transition: border-color 0.15s; }
.hero-waitlist input:focus { border-color: var(--amber); }
.hero-waitlist button { flex: 0 0 auto; cursor: pointer; }
.hero-waitlist button:disabled { opacity: 0.7; cursor: default; }
.hero-waitlist-note { font-size: 12px; color: var(--text-3); margin-top: 0.5rem; transition: color 0.15s; }
.hero-waitlist-note[data-state="success"] { color: var(--sage); }
.hero-waitlist-note[data-state="error"] { color: var(--rose); }

/* ── Roster mockup ── */
.roster-mock { background: var(--stone-900); border-radius: var(--r); overflow: hidden; box-shadow: 0 32px 64px oklch(0.18 0.02 50 / 0.2); }
.rm-bar { display: flex; align-items: center; gap: 5px; padding: 8px 12px; border-bottom: 1px solid oklch(1 0 0 / 0.06); }
.rm-dot { width: 7px; height: 7px; border-radius: 50%; }
.rm-bar .rm-title { margin-left: 8px; font-family: var(--mono); font-size: 11px; color: oklch(0.6 0 0); }
.rm-body { padding: 12px; color: oklch(0.85 0 0); font-size: 10px; }
.rm-site { font-weight: 700; font-size: 11px; padding: 3px 8px; border-radius: 4px; display: inline-block; margin-bottom: 6px; }
.rm-table { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
.rm-table th { font-weight: 500; color: oklch(0.5 0 0); text-align: left; padding: 3px 6px; font-size: 9px; text-transform: uppercase; letter-spacing: 0.1em; border-bottom: 1px solid oklch(1 0 0 / 0.06); }
.rm-table td { padding: 4px 6px; border-bottom: 1px solid oklch(1 0 0 / 0.04); vertical-align: top; }
.rm-tag { display: inline-block; padding: 1px 6px; border-radius: 3px; font-size: 9px; font-weight: 500; margin: 1px 0; white-space: nowrap; }
.rm-shift { font-family: var(--mono); font-size: 9px; color: oklch(0.5 0 0); }
@keyframes nudge { 0%,100% { transform: translateX(0); } 35% { transform: translateX(3px) translateY(-2px); } 65% { transform: translateX(-2px); } }
.rm-tag.anim { animation: nudge 4s ease-in-out infinite; }
.rm-tag.anim:nth-child(2) { animation-delay: 1.2s; }

/* ── Page-width band (alternating bg) ── */
.band { padding: clamp(4rem,8vw,7rem) clamp(1rem,3vw,3rem); }
.band-warm { background: var(--bg-2); }
.band-inner { max-width: 1280px; margin: 0 auto; }

/* ── Split sections ── */
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem,4vw,5rem); align-items: start; }
.split-reverse { grid-template-columns: 1.2fr 1fr; }
.split h2 { font-size: clamp(1.4rem,2.8vw,2rem); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 1rem; line-height: 1.15; }
.split p { font-size: 14px; color: var(--text-2); line-height: 1.7; margin-bottom: 1rem; }
.split p:last-child { margin-bottom: 0; }

/* ── Chat mockup (light version) ── */
.chat-mock { background: white; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; box-shadow: 0 8px 32px oklch(0.18 0.02 50 / 0.06); }
.cm-header { padding: 8px 14px; border-bottom: 1px solid var(--border); font-family: var(--mono); font-size: 11px; color: var(--text-2); display: flex; align-items: center; gap: 6px; }
.cm-header::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--sage); }
.cm-msg { padding: 10px 14px; font-size: 12px; line-height: 1.6; display: flex; gap: 8px; }
.cm-msg + .cm-msg { border-top: 1px solid var(--border); }
.cm-av { width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 600; }
.cm-av-human { background: var(--bg-3); color: var(--text-2); }
.cm-av-ai { background: var(--stone-900); color: var(--stone-50); }
.cm-name { font-weight: 600; font-size: 10px; margin-bottom: 2px; }
.cm-name-ai { color: var(--amber); }
.cm-body p { color: var(--text-2); }
.cm-result { background: var(--bg-2); border-radius: var(--r-sm); padding: 8px 10px; margin-top: 6px; font-family: var(--mono); font-size: 10px; line-height: 1.8; }
@keyframes blink { 0%,100% { opacity:.3; } 50% { opacity:1; } }
.dot-live { display: inline-block; width: 5px; height: 5px; border-radius: 50%; margin-right: 4px; animation: blink 2s infinite; }

/* ── Issues feed ── */
.issues { background: white; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; box-shadow: 0 8px 32px oklch(0.18 0.02 50 / 0.06); }
.issues-bar { padding: 10px 14px; border-bottom: 1px solid var(--border); font-family: var(--mono); font-size: 11px; color: var(--text-2); display: flex; align-items: center; justify-content: space-between; }
.issues-count { font-size: 10px; padding: 2px 8px; border-radius: 999px; }
.issue-row { padding: 10px 14px; display: grid; grid-template-columns: 5px 1fr auto; gap: 10px; align-items: start; font-size: 12px; }
.issue-row + .issue-row { border-top: 1px solid var(--border); }
.issue-dot { width: 5px; height: 5px; border-radius: 50%; margin-top: 5px; }
.issue-title { font-weight: 600; font-size: 12px; margin-bottom: 1px; }
.issue-desc { font-size: 11px; color: var(--text-2); line-height: 1.5; }
.issue-when { font-family: var(--mono); font-size: 10px; color: var(--text-3); white-space: nowrap; }
.issue-fix { font-size: 10px; font-weight: 600; color: var(--stone-900); padding: 2px 8px; border: 1px solid var(--border-2); border-radius: 4px; cursor: pointer; margin-top: 4px; display: inline-block; }

/* ── Staff profile ── */
.profile { background: white; border: 1px solid var(--border); border-radius: var(--r); padding: 20px; box-shadow: 0 8px 32px oklch(0.18 0.02 50 / 0.06); }
.pf-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.pf-av { width: 36px; height: 36px; border-radius: 50%; background: var(--stone-900); color: var(--stone-50); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.pf-name { font-weight: 700; font-size: 14px; }
.pf-role { font-size: 11px; color: var(--text-2); }
.pf-ai { background: var(--bg-2); border-radius: var(--r-sm); padding: 14px; }
.pf-label { font-family: var(--mono); font-size: 10px; font-weight: 500; color: var(--amber); margin-bottom: 8px; }
.pf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 8px; }
.pf-field { font-size: 10px; color: var(--text-2); margin-bottom: 3px; }
.tags { display: flex; flex-wrap: wrap; gap: 4px; }
.t { font-size: 10px; padding: 2px 7px; border-radius: 999px; font-weight: 500; }
.pf-c { font-size: 11px; color: var(--text-2); padding: 2px 0; }

/* ── Integrations ── */
.int-bar { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.int-label { font-size: 12px; color: var(--text-3); white-space: nowrap; }
.chip { font-family: var(--mono); font-size: 11px; color: var(--text-2); padding: 4px 10px; border: 1px solid var(--border); border-radius: var(--r-sm); }

/* ── Pricing ── */
.price-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.price-card { background: white; border: 1px solid var(--border); border-radius: var(--r); padding: 1.75rem; }
.price-card.feat { border-color: var(--stone-900); position: relative; }
.price-card.feat::after { content: 'popular'; position: absolute; top: 12px; right: 12px; font-family: var(--mono); font-size: 9px; padding: 2px 7px; border-radius: 999px; background: var(--stone-900); color: var(--stone-50); }
.pc-tier { font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.pc-price { font-family: var(--mono); font-size: clamp(1.75rem,3vw,2.25rem); font-weight: 700; margin-bottom: 2px; }
.pc-price span { font-size: 13px; font-weight: 400; color: var(--text-2); }
.pc-desc { font-size: 12px; color: var(--text-2); margin-bottom: 1.25rem; }
.price-card ul { list-style: none; margin-bottom: 1.5rem; }
.price-card li { font-size: 12px; color: var(--text-2); padding: 4px 0; }
.price-card .btn { width: 100%; justify-content: center; font-size: 13px; padding: 8px 16px; }

/* ── Steps ── */
.steps-grid { display: grid; grid-template-columns: auto 1fr; gap: 0 2rem; }
.step-num { font-family: var(--mono); font-size: 11px; color: var(--text-3); padding-top: 2px; grid-column: 1; }
.step-content { grid-column: 2; padding-bottom: 2rem; border-bottom: 1px solid var(--border); margin-bottom: 2rem; }
.step-content:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.step-content h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.step-content p { font-size: 13px; color: var(--text-2); line-height: 1.6; }

/* ── Upsell ── */
.upsell { background: var(--stone-900); color: var(--stone-50); border-radius: var(--r); padding: clamp(2rem,4vw,3rem); max-width: 700px; }
.upsell h2 { font-size: clamp(1.2rem,2.5vw,1.5rem); font-weight: 700; margin-bottom: 0.75rem; letter-spacing: -0.02em; }
.upsell p { font-size: 13px; color: oklch(0.7 0 0); line-height: 1.65; margin-bottom: 1.25rem; }
.upsell .btn { background: var(--stone-50); color: var(--stone-900); }

/* ── Footer ── */
.foot { padding: 2rem clamp(1rem,3vw,3rem); border-top: 1px solid var(--border); font-size: 12px; color: var(--text-3); display: flex; justify-content: space-between; max-width: 1280px; margin: 0 auto; }
.foot a { color: var(--text-2); margin-left: 16px; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero, .split, .split-reverse { grid-template-columns: 1fr; }
  .price-row { grid-template-columns: 1fr; }
  .price-card.feat { order: -1; }
  .topbar a:not(.topbar-logo):not(.cta) { display: none; }
  .foot { flex-direction: column; gap: 8px; }
  .pf-grid { grid-template-columns: 1fr; }
}
