/* Handrow brand tokens (from handrow-landing-assets/tokens/handrow-tokens.css) */
:root {
  --hr-night: #0d1430;
  --hr-stand: #18234d;
  --hr-handoff-orange: #ff5a1f;
  --hr-orange-deep: #c2410c;
  --hr-floodlight: #4f8cff;
  --hr-floodlight-deep: #1f5fd6;
  --hr-steel: #5a6480;
  --hr-haze: #9aa6c4;
  --hr-concrete: #eef1f6;
  --hr-line: #d9deea;
  --hr-white: #ffffff;
  --hr-footer: #070c22;
  --hr-seat-taken: #2b3768;
  --hr-font-sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --hr-font-mono: 'DM Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --hr-radius-input: 12px;
  --hr-radius-button: 14px;
  --hr-radius-card: 20px;
  --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--hr-font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--hr-night);
  background: var(--hr-white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.1; }
p { margin: 0; }
a { color: var(--hr-orange-deep); }
a:hover { color: var(--hr-night); }
:focus-visible { outline: 3px solid var(--hr-floodlight); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: 88px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--hr-handoff-orange); color: var(--hr-night);
  padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; width: 100%; }
.mono { font-family: var(--hr-font-mono); }
.muted { color: var(--hr-haze); }
.xs { font-size: 11px; }
.small { font-size: 13px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 15px 24px; border-radius: var(--hr-radius-button);
  font-family: inherit; font-size: 17px; font-weight: 700; line-height: 1.1;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--hr-handoff-orange); color: var(--hr-night); }
.btn-primary:hover { background: #ff7440; color: var(--hr-night); }
.btn-ghost { border-color: var(--hr-haze); color: var(--hr-white); font-weight: 500; }
.btn-ghost:hover { border-color: var(--hr-white); color: var(--hr-white); }
.btn-sm { min-height: 44px; padding: 12px 18px; font-size: 15px; border-radius: 12px; }
.btn-block { display: flex; width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--hr-night); color: var(--hr-white);
  border-bottom: 1px solid rgba(154, 166, 196, .14);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { color: var(--hr-white); display: inline-flex; padding: 8px 0; }
.lockup { width: 150px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.site-nav a:not(.btn) { color: var(--hr-white); text-decoration: none; }
.site-nav a:not(.btn):hover { color: var(--hr-handoff-orange); }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid rgba(154,166,196,.4);
  border-radius: 12px; background: transparent; cursor: pointer; position: relative;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  position: absolute; left: 12px; width: 18px; height: 2px; background: var(--hr-white);
  border-radius: 2px; content: ''; transition: transform .2s, opacity .2s;
}
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { left: 0; top: -6px; }
.nav-toggle-bar::after { left: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 820px) {
  .js .nav-toggle { display: block; }
  .js .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--hr-night); padding: 12px 24px 24px;
    border-bottom: 1px solid rgba(154, 166, 196, .14);
  }
  .js .site-nav.is-open { display: flex; }
  .js .site-nav a:not(.btn) { padding: 12px 0; font-size: 17px; }
  .js .site-nav .btn { margin-top: 8px; }
  .site-nav { flex-wrap: wrap; gap: 16px; }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.dark { background: var(--hr-night); color: var(--hr-white); }
.concrete { background: var(--hr-concrete); }
.stack { display: flex; flex-direction: column; gap: 40px; }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.eyebrow {
  font-family: var(--hr-font-mono); font-size: 13px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--hr-orange-deep);
}
.eyebrow-blue { color: var(--hr-floodlight); }
h2 { font-size: clamp(32px, 4.4vw, 44px); letter-spacing: -.02em; }
h3 { font-size: 20px; line-height: 1.3; }
.sub { font-size: 18px; color: var(--hr-steel); }
.dark .sub, .dark .lead { color: var(--hr-haze); }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  background: var(--hr-white); border: 1px solid var(--hr-line); border-radius: var(--hr-radius-card);
  padding: 32px; display: flex; flex-direction: column; gap: 14px;
}
.card p { color: var(--hr-steel); }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 14px; background: var(--hr-concrete); color: var(--hr-night);
}
.benefit { display: flex; flex-direction: column; gap: 10px; border-top: 3px solid var(--hr-handoff-orange); padding-top: 18px; }
.benefit p { color: var(--hr-steel); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 96px; overflow-x: clip; }
.hero-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-copy { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(44px, 7vw, 72px); letter-spacing: -.03em; line-height: 1.02; }
.lead { font-size: 20px; line-height: 1.6; max-width: 560px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; }
.powered { font-family: var(--hr-font-mono); font-size: 12px; color: var(--hr-haze); }
.hero-visual { flex: 1 1 340px; display: flex; justify-content: center; }

/* Hero phone: three screens that cycle (seat -> menu -> status). HTML so it stays sharp and crawlable. */
.hero-visual { position: relative; }
.phone {
  position: relative; margin: 0; width: 300px; height: 600px; flex-shrink: 0;
  border-radius: 46px; background: #05091c; border: 2px solid rgba(79,140,255,.35); padding: 14px;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.7);
}
.phone-notch { position: absolute; top: 24px; left: 50%; transform: translateX(-50%); width: 90px; height: 24px; border-radius: 20px; background: #05091c; z-index: 3; }
.phone-screen { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: var(--hr-concrete); color: var(--hr-night); }
.phone-dots { position: absolute; bottom: -30px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.phone-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.3); transition: background .3s, width .3s; }
.phone-dots i.on { width: 22px; border-radius: 6px; background: var(--hr-handoff-orange); }

.screen {
  position: absolute; inset: 0; padding: 62px 20px 20px; display: flex; flex-direction: column; gap: 10px;
  opacity: 0; transform: translateX(24px); transition: opacity .5s, transform .5s; pointer-events: none;
}
.screen.is-active { opacity: 1; transform: none; }
.s-kicker { font-family: var(--hr-font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--hr-floodlight-deep); }
.s-title { font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 6px; }
.s-field { background: var(--hr-white); border: 1px solid var(--hr-line); border-radius: 12px; padding: 8px 12px; display: flex; flex-direction: column; }
.s-field span { font-size: 11px; color: var(--hr-steel); }
.s-field b { font-family: var(--hr-font-mono); font-size: 15px; font-weight: 500; }
.s-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini-map {
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; padding: 14px 12px;
  background: var(--hr-white); border: 1px solid var(--hr-line); border-radius: 12px;
}
.mini-map i { aspect-ratio: 1; border-radius: 5px 5px 2px 2px; background: var(--hr-floodlight); }
.mini-map i.t { background: var(--hr-line); }
.mini-map i.on { background: var(--hr-handoff-orange); }
.s-btn {
  margin-top: auto; background: var(--hr-handoff-orange); color: var(--hr-night); border-radius: var(--hr-radius-button);
  padding: 15px; text-align: center; font-weight: 700; font-size: 16px;
}
.s-item {
  display: flex; align-items: center; gap: 12px; background: var(--hr-white); border: 1px solid var(--hr-line);
  border-radius: 14px; padding: 12px;
}
.s-item div { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.s-item b { font-size: 15px; }
.s-item small { font-size: 12px; color: var(--hr-steel); }
.s-item em {
  font-style: normal; font-weight: 700; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--hr-floodlight-deep); color: var(--hr-white);
}
.s-sw { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; }
.sw-1 { background: var(--hr-handoff-orange); }
.sw-2 { background: #ffc24b; }
.sw-3 { background: var(--hr-floodlight); }
.s-track { list-style: none; margin: 8px 0 0; padding: 0 0 0 4px; display: flex; flex-direction: column; }
.s-track li { position: relative; padding: 0 0 22px 26px; display: flex; flex-direction: column; line-height: 1.3; }
.s-track li::before { content: ''; position: absolute; left: 0; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--hr-white); border: 2px solid var(--hr-line); }
.s-track li:not(:last-child)::after { content: ''; position: absolute; left: 7px; top: 19px; bottom: 2px; width: 2px; background: var(--hr-line); }
.s-track li.done::before { background: var(--hr-floodlight-deep); border-color: var(--hr-floodlight-deep); }
.s-track li.done::after { background: var(--hr-floodlight-deep); }
.s-track li.live::before { background: var(--hr-handoff-orange); border-color: var(--hr-handoff-orange); box-shadow: 0 0 0 4px rgba(255,90,31,.22); }
.s-track b { font-size: 15px; }
.s-track small { font-size: 12px; color: var(--hr-steel); }
.s-track li:not(.done):not(.live) b { color: var(--hr-steel); }

.float-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; z-index: 2;
  background: rgba(24,35,77,.92); border: 1px solid rgba(154,166,196,.3); border-radius: 8px; padding: 10px 14px;
  font-family: var(--hr-font-mono); font-size: 12px; color: var(--hr-white); white-space: nowrap;
  box-shadow: 0 16px 40px -16px rgba(0,0,0,.7); animation: float 6s ease-in-out infinite;
}
.float-chip-a { left: calc(50% - 210px); top: 4%; }
.float-chip-b { right: calc(50% - 215px); top: 60%; animation-delay: -3s; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--hr-handoff-orange); box-shadow: 0 0 0 4px rgba(255,90,31,.22); }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) {
  .float-chip { animation: none; }
  .screen { transition: none; }
}
@media (max-width: 980px) { .float-chip { display: none; } }
@media (max-width: 380px) { .phone { width: 272px; height: 548px; } }

/* ---------- How it works ---------- */
.how-inner { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.how-inner > .stack { flex: 999 1 560px; min-width: 0; }
.how-visual { flex: 1 1 280px; margin: 0; display: flex; justify-content: center; }
.how-visual img { width: 300px; }
.steps { list-style: none; margin: 0; padding: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--hr-stand); border-radius: var(--hr-radius-card); padding: 28px;
  display: flex; flex-direction: column; gap: 12px; position: relative;
}
.step p { font-size: 15px; color: var(--hr-haze); }
.step-icon { color: var(--hr-white); }
.step-num { position: absolute; top: 28px; right: 28px; font-family: var(--hr-font-mono); font-size: 14px; color: var(--hr-handoff-orange); }
.flow { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: 14px; }
.flow-chip { background: var(--hr-stand); padding: 10px 14px; border-radius: 10px; }
.flow-arrow { color: var(--hr-haze); }
.flow-done { background: var(--hr-handoff-orange); color: var(--hr-night); }

/* ---------- Teams tabs ---------- */
.tabs { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.tabs-list {
  display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px;
  background: var(--hr-white); border: 1px solid var(--hr-line); border-radius: 999px;
}
.tabs-list button {
  background: none; border: 0; color: var(--hr-steel); font: 500 15px/1 var(--hr-font-sans);
  padding: 13px 20px; border-radius: 999px; cursor: pointer; min-height: 44px;
}
.tabs-list button:hover { color: var(--hr-night); }
.tabs-list button[aria-selected="true"] { background: var(--hr-night); color: var(--hr-white); font-weight: 700; }
.tabs-panel {
  width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 36px;
  background: var(--hr-white); border: 1px solid var(--hr-line); border-radius: var(--hr-radius-card);
  box-shadow: 0 12px 28px rgba(13,20,48,.06); animation: fadein .35s ease;
}
.tabs-panel[hidden] { display: none; }
.tabs-copy { display: flex; flex-direction: column; gap: 12px; }
.tabs-copy h3 { font-size: 24px; letter-spacing: -.01em; }
.tabs-copy p { color: var(--hr-steel); font-size: 17px; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ticks li {
  position: relative; padding: 14px 16px 14px 50px; background: var(--hr-concrete);
  border: 1px solid var(--hr-line); border-radius: var(--hr-radius-input); color: var(--hr-steel); line-height: 1.45;
}
.ticks li::before {
  content: ''; position: absolute; left: 16px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  border-radius: 50%; background: var(--hr-floodlight-deep);
}
.ticks li::after {
  content: ''; position: absolute; left: 24px; top: 50%; width: 5px; height: 9px; margin-top: -6px;
  border: solid var(--hr-white); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .tabs-panel { animation: none; } }
@media (max-width: 820px) {
  .tabs { align-items: stretch; }
  .tabs-list { border-radius: 18px; }
  .tabs-list button { flex: 1 1 auto; }
  .tabs-panel { grid-template-columns: 1fr; gap: 20px; padding: 26px; }
}

/* ---------- Fans ---------- */
.fans-inner { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.fan-card {
  flex: 0 1 300px; margin: 0 auto; background: var(--hr-night); color: var(--hr-white);
  border-top: 5px solid var(--hr-handoff-orange); border-radius: 24px; padding: 30px 30px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  box-shadow: 0 30px 60px -30px rgba(13,20,48,.45);
}
.qr { width: 100%; background: var(--hr-white); border-radius: 16px; padding: 20px; color: var(--hr-night); margin-bottom: 8px; }
.qr svg { width: 100%; height: auto; }
.fan-card-label { font-size: 21px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.fan-card small { font-family: var(--hr-font-mono); font-size: 11px; color: var(--hr-haze); }
.fans-copy { flex: 999 1 460px; display: flex; flex-direction: column; gap: 14px; }
.fan-steps { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.fan-steps li { display: flex; gap: 16px; align-items: center; font-size: 17px; line-height: 1.5; color: var(--hr-steel); }
.fan-steps strong { color: var(--hr-night); }
.step-n {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: #fff1eb; color: var(--hr-orange-deep); font-family: var(--hr-font-mono); font-size: 15px; font-weight: 500;
}

/* ---------- FAQ ---------- */
.faq-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; align-items: start; }
@media (max-width: 860px) { .faq-inner { grid-template-columns: 1fr; gap: 32px; } }
.faq-list { border-top: 1px solid var(--hr-line); }
.faq-list details { border-bottom: 1px solid var(--hr-line); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary h3 { font-size: 19px; display: inline; }
.faq-list summary::after {
  content: ''; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--hr-orange-deep); border-bottom: 2px solid var(--hr-orange-deep);
  transform: rotate(45deg); transition: transform .2s;
}
.faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-list details p { padding: 0 40px 24px 0; color: var(--hr-steel); font-size: 17px; }

/* ---------- Demo / form ---------- */
.demo { padding: 104px 0; }
.demo-inner { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.demo-copy { flex: 1 1 340px; display: flex; flex-direction: column; gap: 22px; color: var(--hr-white); }
.demo-copy h2 { font-size: clamp(34px, 4.8vw, 48px); }
.form-card {
  flex: 999 1 520px; min-width: 0; background: var(--hr-white); color: var(--hr-night);
  border-radius: 24px; padding: 36px;
}
@media (max-width: 560px) { .form-card { padding: 24px; } }
.form { display: flex; flex-direction: column; gap: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; }
.form input:not([type="checkbox"]), .form select, .form textarea {
  width: 100%; font-family: inherit; font-size: 16px; color: var(--hr-night); background: var(--hr-white);
  border: 1px solid #b9c1d4; border-radius: var(--hr-radius-input); padding: 13px 14px;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid rgba(79,140,255,.35); border-color: var(--hr-floodlight-deep); }
.form [aria-invalid="true"] { border-color: #c81e1e; }
.form .consent { flex-direction: row; gap: 12px; align-items: flex-start; line-height: 1.5; color: var(--hr-steel); font-weight: 400; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--hr-night); flex-shrink: 0; }
.form .btn { align-self: flex-start; }
.form-error { color: #b42318; font-size: 14px; }
.thanks [role="status"] { display: flex; flex-direction: column; gap: 12px; padding: 20px 0; }
.thanks h3 { font-size: 26px; letter-spacing: -.01em; }
.thanks p { color: var(--hr-steel); }
.mark-night { color: var(--hr-night); }

/* ---------- Footer ---------- */
.site-footer { background: var(--hr-footer); color: var(--hr-haze); padding: 32px 0; }
.site-footer svg { color: var(--hr-white); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; font-size: 14px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--hr-haze); text-decoration: none; }
.footer-links a:hover { color: var(--hr-white); }

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; display: flex; align-items: center; }
.notfound .stack { gap: 24px; }

/* ---------- Form extras ---------- */
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile { min-height: 65px; }
.mail-link { color: var(--hr-white); }
.mail-link:hover { color: var(--hr-handoff-orange); }
