/* ============ Eventbone landing — design tokens ============ */
:root {
  --ink: #0b0e14;
  --ink-soft: #11151d;
  --ink-card: #161b25;
  --line: rgba(255, 255, 255, 0.08);
  --bone: #f4f1ea;
  --bone-dim: #b9bcc4;
  --bone-faint: #8a8f99;
  --accent: #4f8dfd;
  --accent-deep: #2f6ae0;
  --accent-glow: rgba(79, 141, 253, 0.35);
  --live: #34d399;
  --dev: #fbbf24;
  --soon: #8a8f99;
  --danger: #f87171;
  --font-display: 'Space Grotesk', 'Inter', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 14px;
  --container: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.02em; }

a { color: inherit; }

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

/* ============ Buttons ============ */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 10px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  box-shadow: 0 4px 24px var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px var(--accent-glow); }
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--bone);
  background: rgba(255, 255, 255, 0.03);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); }
.btn-small { padding: 8px 18px; font-size: 14px; }
.btn-large { padding: 16px 36px; font-size: 17px; }

/* ============ Nav ============ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 14, 20, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--container); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.wordmark {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 21px;
  letter-spacing: -0.02em; text-decoration: none; color: var(--bone);
}
.wordmark .mark { width: 26px; height: 26px; color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.btn) {
  text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--bone-dim);
  transition: color 0.15s ease;
}
.nav-links a:not(.btn):hover { color: var(--bone); }

/* ============ Hero ============ */
.hero { position: relative; overflow: hidden; padding: 96px 0 80px; }
.hero-glow {
  position: absolute; top: -240px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(79, 141, 253, 0.16), transparent 65%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
}
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(40px, 5.4vw, 64px);
  font-weight: 700; line-height: 1.06; margin-bottom: 22px;
}
.lede { font-size: 18px; color: var(--bone-dim); max-width: 520px; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-points { list-style: none; display: flex; gap: 22px; flex-wrap: wrap; }
.hero-points li {
  font-size: 13.5px; color: var(--bone-faint); position: relative; padding-left: 18px;
}
.hero-points li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); opacity: 0.8;
}

/* ---- Hero visual: grid panel + phone ---- */
.hero-visual { position: relative; min-height: 420px; }
.panel {
  background: var(--ink-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}
.grid-panel { position: absolute; top: 12px; left: 0; right: 90px; padding: 0 0 14px; }
.panel-head {
  display: flex; align-items: center; gap: 7px;
  padding: 13px 16px; border-bottom: 1px solid var(--line);
}
.panel-head .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.14); }
.panel-title { margin-left: 8px; font-size: 12.5px; color: var(--bone-faint); font-weight: 500; }
.pill {
  margin-left: auto;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em;
  padding: 3px 9px; border-radius: 99px; white-space: nowrap;
}
.pill-live { background: rgba(52, 211, 153, 0.14); color: var(--live); }
.pill-dev { background: rgba(251, 191, 36, 0.13); color: var(--dev); }
.pill-soon { background: rgba(255, 255, 255, 0.07); color: var(--soon); }

.mini-grid { padding: 12px 16px 0; font-size: 12px; }
.mg-row {
  display: grid; grid-template-columns: 46px repeat(4, 1fr); gap: 7px;
  align-items: center; margin-bottom: 7px;
}
.mg-row > span:first-child { color: var(--bone-faint); font-size: 11px; }
.mg-head { color: var(--bone-faint); font-size: 11px; font-weight: 600; }
.chip {
  border-radius: 6px; padding: 5px 7px; text-align: center;
  font-weight: 600; font-size: 11px; color: #fff;
}
.c1 { background: rgba(79, 141, 253, 0.32); }
.c2 { background: rgba(167, 139, 250, 0.30); }
.c3 { background: rgba(52, 211, 153, 0.26); }
.mg-assign .off {
  font-size: 10.5px; color: var(--live); text-align: center; font-weight: 600;
}
.mg-assign .off.pulse { color: var(--accent); animation: pulse 1.6s ease infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.phone-panel {
  position: absolute; right: 0; bottom: 0; width: 215px;
  border-radius: 26px; padding: 14px 13px 16px;
  background: linear-gradient(180deg, #181d28, #12161f);
}
.phone-notch {
  width: 72px; height: 5px; border-radius: 99px;
  background: rgba(255, 255, 255, 0.12); margin: 0 auto 14px;
}
.phone-greet { font-size: 12.5px; font-weight: 600; margin-bottom: 10px; }
.phone-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 12px; margin-bottom: 9px;
}
.phone-card-accent { border-color: rgba(52, 211, 153, 0.35); }
.phone-card-top { font-size: 9px; font-weight: 700; letter-spacing: 0.1em; color: var(--bone-faint); margin-bottom: 3px; }
.phone-card-accent .phone-card-top { color: var(--live); }
.phone-card-main { font-size: 12.5px; font-weight: 600; }
.phone-card-sub { font-size: 10.5px; color: var(--bone-dim); }
.phone-toast {
  background: linear-gradient(135deg, rgba(79, 141, 253, 0.22), rgba(47, 106, 224, 0.22));
  border: 1px solid rgba(79, 141, 253, 0.35);
  border-radius: 10px; padding: 8px 10px;
  font-size: 10.5px; font-weight: 600;
}

/* ============ Proof band ============ */
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink-soft); }
.band-inner { padding: 30px 24px 26px; text-align: center; }
.band-inner p { font-size: 15.5px; color: var(--bone-dim); max-width: 760px; margin: 0 auto; }
.trust-strip {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px 14px; margin-top: 20px;
}
.trust-strip li {
  font-size: 12px; font-weight: 600; letter-spacing: 0.05em;
  color: var(--bone-faint); text-transform: uppercase;
  border: 1px solid var(--line); border-radius: 99px;
  padding: 5px 14px; background: rgba(255, 255, 255, 0.02);
}

/* ============ Sections ============ */
.section { padding: 96px 0; }
.section-alt { background: var(--ink-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; line-height: 1.15; margin-bottom: 18px; }
.section-lede { font-size: 17px; color: var(--bone-dim); }

/* ============ Product showcases ============ */
.showcase {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: 56px; align-items: center;
  padding: 44px 0;
}
.showcase + .showcase { border-top: 1px solid var(--line); }
.showcase.flip .showcase-copy { order: 2; }
.showcase.flip .shot, .showcase.flip .shot-phone-wrap { order: 1; }
.showcase-copy .eyebrow { margin-bottom: 10px; }
.showcase-copy h3 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 700; margin-bottom: 14px; }
.showcase-copy > p { font-size: 16px; color: var(--bone-dim); margin-bottom: 20px; }
.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li {
  font-size: 14.5px; color: var(--bone-dim);
  position: relative; padding-left: 26px;
}
.check-list li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--live); font-weight: 700;
}

/* ---- Shot: shared app-window mockup ---- */
.shot {
  background: var(--ink-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
.shot-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.seg {
  font-size: 12px; font-weight: 600; color: var(--bone-faint);
  padding: 4px 12px; border-radius: 8px;
}
.seg.active { background: rgba(79, 141, 253, 0.16); color: var(--accent); }
.shot-title { font-size: 13px; font-weight: 600; color: var(--bone-dim); }
.shot-filter {
  font-size: 12px; color: var(--bone-faint);
  border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px;
  margin-left: auto;
}
.shot-action {
  font-size: 12px; font-weight: 600; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  border-radius: 8px; padding: 5px 12px; white-space: nowrap;
}
.shot-bar .pill { margin-left: auto; }
.shot-bar .pill + .shot-action { margin-left: 0; }
.shot-filter + .shot-action { margin-left: 8px; }

.shot-table { padding: 6px 12px 10px; }
.st-row {
  display: grid; grid-template-columns: 44px repeat(4, 1fr); gap: 7px;
  padding: 6px 4px; align-items: stretch;
}
.st-head {
  font-size: 11px; font-weight: 600; color: var(--bone-faint);
  border-bottom: 1px solid var(--line); padding-bottom: 8px; align-items: center;
}
.st-head span { display: flex; align-items: center; gap: 5px; }
.fdot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.f1 { background: var(--accent); }
.f2 { background: #a78bfa; }
.st-time { font-size: 11px; color: var(--bone-faint); align-self: center; }
.st-cell {
  border: 1px solid var(--line); border-radius: 8px;
  padding: 6px 8px; background: rgba(255, 255, 255, 0.02);
  display: flex; flex-direction: column; gap: 2px; min-width: 0;
}
.st-cell .mc {
  font-size: 10.5px; font-weight: 700; border-radius: 5px;
  padding: 2px 6px; color: #fff; align-self: flex-start;
  white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis;
}
.st-cell em {
  font-style: normal; font-size: 10px; color: var(--bone-dim);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.st-warn { border-color: rgba(248, 113, 113, 0.5); background: rgba(248, 113, 113, 0.07); }
.st-warn em { color: var(--danger); font-weight: 600; }

.shot-status {
  display: flex; gap: 16px; flex-wrap: wrap;
  padding: 10px 16px; border-top: 1px solid var(--line);
  font-size: 11.5px; font-weight: 500;
}
.shot-status .ok { color: var(--live); }
.shot-status .warn { color: var(--dev); }
.shot-status .muted { color: var(--bone-faint); margin-left: auto; }

/* ---- Shot: payroll table ---- */
.pay-table { padding: 4px 0; }
.pt-row {
  display: grid; grid-template-columns: 1.4fr 0.7fr 0.8fr 0.8fr;
  gap: 10px; align-items: center;
  padding: 9px 18px; font-size: 13px;
}
.pt-row:not(.pt-head):not(:last-child) { border-bottom: 1px solid rgba(255, 255, 255, 0.04); }
.pt-head {
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--bone-faint); border-bottom: 1px solid var(--line);
}
.pt-row > span:nth-child(2) { color: var(--bone-dim); }
.pt-row > span:nth-child(3) { font-weight: 600; font-variant-numeric: tabular-nums; }
.pt-row .pill { margin-left: 0; justify-self: start; }

/* ---- Shot: alert feed ---- */
.shot-feed { padding: 10px 0; }
.feed-item {
  display: flex; align-items: flex-start; gap: 13px;
  padding: 13px 18px;
}
.feed-item:not(:last-child) { border-bottom: 1px solid rgba(255, 255, 255, 0.04); }
.feed-item b { display: block; font-size: 13.5px; font-weight: 600; }
.feed-item span { font-size: 12.5px; color: var(--bone-dim); }
.feed-item em { font-style: normal; font-size: 11px; color: var(--bone-faint); margin-left: auto; white-space: nowrap; padding-top: 2px; }
.fi {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  position: relative; margin-top: 2px;
}
.fi::after {
  content: ''; position: absolute; inset: 0; margin: auto;
  width: 10px; height: 10px; border-radius: 50%;
}
.fi-warn { background: rgba(248, 113, 113, 0.12); } .fi-warn::after { background: var(--danger); }
.fi-ok { background: rgba(52, 211, 153, 0.12); } .fi-ok::after { background: var(--live); }
.fi-info { background: rgba(251, 191, 36, 0.12); } .fi-info::after { background: var(--dev); }
.fi-acc { background: rgba(79, 141, 253, 0.12); } .fi-acc::after { background: var(--accent); }
.fi-pay { background: rgba(167, 139, 250, 0.12); } .fi-pay::after { background: #a78bfa; }
.feed-resolved { opacity: 0.75; }

/* ---- Shot: big phone (portal) ---- */
.shot-phone-wrap {
  background: none; border: none; box-shadow: none; overflow: visible;
  display: flex; justify-content: center;
}
.big-phone {
  width: 300px;
  border-radius: 34px; padding: 16px 15px 20px;
  background: linear-gradient(180deg, #181d28, #11151d);
  border: 1px solid var(--line);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.5);
}
.bp-head { display: flex; align-items: flex-start; justify-content: space-between; margin: 4px 2px 14px; }
.bp-greet { font-size: 15.5px; font-weight: 700; font-family: var(--font-display); }
.bp-sub { font-size: 11px; color: var(--bone-faint); margin-top: 2px; }
.bp-bell { position: relative; font-size: 16px; }
.bp-bell i {
  position: absolute; top: -4px; right: -7px;
  font-style: normal; font-size: 9px; font-weight: 700;
  background: var(--danger); color: #fff;
  border-radius: 99px; padding: 1px 5px;
}
.bp-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 14px; padding: 12px 14px; margin-bottom: 10px;
}
.bp-next { border-color: rgba(79, 141, 253, 0.4); background: rgba(79, 141, 253, 0.07); }
.bp-label { font-size: 9.5px; font-weight: 700; letter-spacing: 0.1em; color: var(--bone-faint); margin-bottom: 6px; }
.bp-next .bp-label { color: var(--accent); }
.bp-main { font-size: 15px; font-weight: 700; }
.bp-meta { font-size: 11.5px; color: var(--bone-dim); margin-top: 2px; }
.bp-line {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; padding: 4px 0;
}
.bp-line span { color: var(--bone-faint); width: 58px; flex: none; }
.bp-line b { font-weight: 600; }
.bp-line i {
  font-style: normal; font-size: 10px; font-weight: 700; margin-left: auto;
}
.bp-line i.done { color: var(--live); }
.bp-line i.up { color: var(--accent); }
.bp-checkin {
  border-color: rgba(52, 211, 153, 0.4); background: rgba(52, 211, 153, 0.08);
  text-align: center; font-size: 12.5px; font-weight: 600; color: var(--live);
}

/* ============ Modules / spine ============ */
.spine-wrap { position: relative; padding-left: 38px; }
.spine-line {
  position: absolute; left: 9px; top: 12px; bottom: 12px; width: 2px;
  background: linear-gradient(180deg, var(--accent), rgba(79, 141, 253, 0.06));
  border-radius: 2px;
}
.module { position: relative; margin-bottom: 22px; }
.module-node {
  position: absolute; left: -36px; top: 28px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--ink); border: 3px solid var(--accent);
  box-shadow: 0 0 0 4px rgba(79, 141, 253, 0.15);
}
.module-card {
  background: var(--ink-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.module-card:hover { border-color: rgba(79, 141, 253, 0.4); transform: translateY(-2px); }
.module-flagship {
  border-color: rgba(79, 141, 253, 0.35);
  background: linear-gradient(135deg, rgba(79, 141, 253, 0.08), var(--ink-card) 45%);
}
.module-top { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.module-top h3 { font-size: 20px; }
.module-top .pill { margin-left: 0; }
.module-tag { font-size: 15px; color: var(--bone-dim); }
.module-list { list-style: none; margin-top: 16px; display: grid; gap: 9px; }
.module-list li {
  font-size: 14.5px; color: var(--bone-dim);
  position: relative; padding-left: 24px;
}
.module-list li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--live); font-weight: 700;
}

/* ============ Why ============ */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.why-item {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; background: rgba(255, 255, 255, 0.015);
}
.why-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(79, 141, 253, 0.1); color: var(--accent);
  margin-bottom: 16px;
}
.why-icon svg { width: 21px; height: 21px; }
.why-item h3 { font-size: 17.5px; margin-bottom: 9px; }
.why-item p { font-size: 14.5px; color: var(--bone-dim); }

/* ============ CTA ============ */
.cta {
  padding: 104px 0;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(79, 141, 253, 0.18), transparent 60%),
    var(--ink-soft);
  border-top: 1px solid var(--line);
}
.cta-inner { text-align: center; max-width: 620px; }
.cta-inner h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 16px; }
.cta-inner > p { font-size: 17px; color: var(--bone-dim); margin-bottom: 30px; }
.cta-sub { margin-top: 18px; font-size: 14px; color: var(--bone-faint); }
.cta-sub a { color: var(--bone-dim); }

/* ============ Footer ============ */
.footer { border-top: 1px solid var(--line); padding: 52px 0 36px; background: var(--ink); }
.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 32px; flex-wrap: wrap; margin-bottom: 36px;
}
.wordmark-footer { font-size: 19px; }
.footer-tagline { font-size: 13.5px; color: var(--bone-faint); margin-top: 8px; }
.footer-links { display: grid; gap: 9px; text-align: right; }
.footer-links a {
  font-size: 14px; color: var(--bone-dim); text-decoration: none;
  transition: color 0.15s ease;
}
.footer-links a:hover { color: var(--bone); }
.footer-legal { border-top: 1px solid var(--line); padding-top: 22px; }
.footer-legal p { font-size: 12.5px; color: var(--bone-faint); }

/* ============ Design-variant switcher (review only) ============ */
.dswitch {
  position: fixed; bottom: 18px; right: 18px; z-index: 999;
  display: flex; gap: 3px; align-items: center;
  padding: 7px 10px; border-radius: 99px;
  background: rgba(10, 12, 18, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-family: var(--font-body); font-size: 11.5px; font-weight: 600;
  color: #9aa1ac; box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}
.dswitch span { padding: 0 7px; letter-spacing: 0.08em; text-transform: uppercase; font-size: 10px; }
.dswitch a { color: #cdd2da; text-decoration: none; padding: 4px 9px; border-radius: 99px; }
.dswitch a:hover { background: rgba(255, 255, 255, 0.1); }
.dswitch a.active { background: #3b82f6; color: #fff; }
@media (max-width: 600px) { .dswitch span { display: none; } }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .hero { padding: 64px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { min-height: 400px; max-width: 560px; }
  .why-grid { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
  .footer-links { text-align: left; }
  .section { padding: 72px 0; }
  .showcase { grid-template-columns: 1fr; gap: 32px; padding: 36px 0; }
  .showcase.flip .showcase-copy { order: 1; }
  .showcase.flip .shot, .showcase.flip .shot-phone-wrap { order: 2; }
}
@media (max-width: 480px) {
  .grid-panel { right: 0; }
  .phone-panel { display: none; }
  .hero-visual { min-height: 300px; }
  .st-row { grid-template-columns: 38px repeat(2, 1fr); }
  .st-row > :nth-child(n+4):not(.st-time) { display: none; }
  .st-head > :nth-child(n+4) { display: none; }
  .shot-filter { display: none; }
}
