/* ==========================================================================
   Tessel — staff scheduling SaaS
   Theme tokens first. The online editor edits this block.
   ========================================================================== */

:root {
  --accent: #0f766e;          /* buttons, links, the brand teal */
  --accent-ink: #ffffff;      /* text on the accent colour */
  --accent-dark: #0b5e57;
  --accent-soft: #e2f3f0;
  --pop: #c8f169;             /* lime highlights */

  --ink: #0f1419;
  --ink-2: #475161;
  --ink-3: #7b8494;

  --surface: #ffffff;
  --surface-2: #f4f6f8;
  --card: #ffffff;
  --border: #e3e7ec;

  --radius: 14px;
  --font-display: "Geist", -apple-system, system-ui, sans-serif;
  --font-body: "Geist", -apple-system, system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, monospace;

  --container: 1200px;
  --gutter: 24px;

  /* Role colours used on shifts */
  --r-floor: #dbeafe;  --r-floor-ink: #1e40af;
  --r-bar: #dcfce7;    --r-bar-ink: #166534;
  --r-kitchen: #ffedd5; --r-kitchen-ink: #9a3412;
  --r-lead: #ede9fe;   --r-lead-ink: #5b21b6;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font-body); font-size: 16.5px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 650; line-height: 1.05; letter-spacing: -.035em; }
h1 { font-size: clamp(2.8rem, 6.4vw, 5.2rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h3 { font-size: 1.2rem; letter-spacing: -.02em; line-height: 1.25; }
p { margin: 0; }
.mono { font-family: var(--font-mono); }
mark.hl { background: linear-gradient(transparent 58%, var(--pop) 58%, var(--pop) 92%, transparent 92%); color: inherit; padding: 0 .06em; }

.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow { display: inline-block; font-family: var(--font-mono); font-size: .8rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font-weight: 600; font-size: .96rem; text-decoration: none; cursor: pointer; transition: transform .15s, background-color .2s, border-color .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -10px rgba(15, 20, 25, .5); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--ink-3); }
.btn--sm { padding: 8px 14px; font-size: .88rem; border-radius: 8px; }
.btn svg { width: 16px; height: 16px; }
.link { color: var(--accent); font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------- header */
.header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .85); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.is-stuck { border-bottom-color: var(--border); }
.header__inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; letter-spacing: -.03em; text-decoration: none; }
.brand svg { width: 28px; height: 28px; }
.nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav a { padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.nav__end { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav .btn { padding: 8px 14px; }
.nav .btn--accent, .nav .btn--accent:hover { color: var(--accent-ink); background: var(--accent); }
.nav .btn--accent:hover { background: var(--accent-dark); }
.nav .btn--ghost:hover { background: var(--surface); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); cursor: pointer; place-items: center; }

/* ----------------------------------------------------------------- hero */
.hero { position: relative; padding: clamp(48px, 7vw, 88px) 0 0; text-align: center; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 620px; background: radial-gradient(60% 60% at 50% 0%, var(--accent-soft), transparent 70%), linear-gradient(var(--border) 1px, transparent 1px) 0 0 / 100% 48px, linear-gradient(90deg, var(--border) 1px, transparent 1px) 0 0 / 48px 100%; -webkit-mask-image: linear-gradient(#000 20%, transparent 85%); mask-image: linear-gradient(#000 20%, transparent 85%); opacity: .7; z-index: -1; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); text-decoration: none; font-size: .88rem; font-weight: 500; color: var(--ink-2); box-shadow: 0 2px 6px -4px rgba(15, 20, 25, .2); }
.pill b { padding: 3px 10px; border-radius: 999px; background: var(--pop); color: var(--ink); font-size: .78rem; font-weight: 700; }
.pill:hover { border-color: var(--ink-3); }
.hero h1 { max-width: 15ch; margin: 24px auto 0; }
.hero__lede { max-width: 38rem; margin: 22px auto 0; font-size: 1.18rem; color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.hero__actions .btn { padding: 14px 24px; font-size: 1rem; }
.hero__note { margin-top: 14px; font-size: .88rem; color: var(--ink-3); }

/* ------------------------------------------------------------- rota app */
.app { position: relative; margin: 56px auto 0; max-width: 1120px; text-align: left; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); box-shadow: 0 50px 100px -40px rgba(15, 20, 25, .35), 0 0 0 8px rgba(244, 246, 248, .8); overflow: hidden; }
.app__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.app__bar h3 { font-size: 1rem; }
.app__bar .week { display: inline-flex; align-items: center; gap: 4px; margin-right: auto; }
.app__bar .week button { width: 30px; height: 30px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); cursor: pointer; }
.app__bar .week span { padding: 0 8px; font-weight: 600; font-size: .92rem; }
.legend { display: flex; flex-wrap: wrap; gap: 12px; font-size: .8rem; color: var(--ink-2); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.rota-wrap { overflow-x: auto; }
.rota { display: grid; grid-template-columns: 170px repeat(7, minmax(108px, 1fr)); min-width: 940px; }
.rota__head { padding: 10px 12px; font-size: .78rem; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid var(--border); background: var(--surface); }
.rota__head b { display: block; color: var(--ink); font-size: .95rem; letter-spacing: -.01em; text-transform: none; }
.rota__head.is-weekend { background: #fbfbfc; }
.person { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--border); border-right: 1px solid var(--border); }
.person .av { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font-size: .78rem; font-weight: 700; flex: none; }
.person b { display: block; font-size: .9rem; line-height: 1.2; }
.person small { display: block; font-family: var(--font-mono); font-size: .74rem; color: var(--ink-3); }
.person small.is-over { color: #c2410c; font-weight: 600; }
.cell { position: relative; min-height: 66px; padding: 6px; border-bottom: 1px solid var(--border); border-right: 1px solid var(--border); transition: background-color .15s; }
.cell:last-child { border-right: 0; }
.cell.is-weekend { background: #fbfbfc; }
.cell.is-target { background: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--accent); }
.cell.is-empty-pick { cursor: pointer; }
.cell.is-empty-pick:hover { background: var(--accent-soft); }
.cell.is-off::after { content: "Off"; position: absolute; inset: 6px; display: grid; place-items: center; border: 1px dashed var(--border); border-radius: 8px; font-size: .75rem; color: var(--ink-3); background: repeating-linear-gradient(-45deg, transparent 0 6px, var(--surface-2) 6px 8px); }
.shift { display: block; width: 100%; padding: 7px 9px; border: 0; border-radius: 8px; text-align: left; cursor: grab; touch-action: none; user-select: none; transition: transform .15s, box-shadow .15s; line-height: 1.25; }
.shift b { display: block; font-family: var(--font-mono); font-size: .8rem; font-weight: 600; }
.shift span { font-size: .76rem; }
.shift:hover { transform: translateY(-1px); box-shadow: 0 6px 14px -8px rgba(15, 20, 25, .4); }
.shift.is-selected { box-shadow: 0 0 0 2px var(--ink); }
.shift.is-new { animation: popin .45s cubic-bezier(.2, .8, .2, 1.3); }
@keyframes popin { from { transform: scale(.6); opacity: 0; } }
.shift[data-role="floor"] { background: var(--r-floor); color: var(--r-floor-ink); }
.shift[data-role="bar"] { background: var(--r-bar); color: var(--r-bar-ink); }
.shift[data-role="kitchen"] { background: var(--r-kitchen); color: var(--r-kitchen-ink); }
.shift[data-role="lead"] { background: var(--r-lead); color: var(--r-lead-ink); }
.ghost { position: fixed; z-index: 100; pointer-events: none; width: 120px; transform: rotate(-3deg); box-shadow: 0 16px 30px -10px rgba(15, 20, 25, .45); opacity: .95; }
.app__foot { display: grid; grid-template-columns: repeat(4, 1fr) 1.6fr; border-top: 1px solid var(--border); background: var(--surface-2); }
.app__foot > div { padding: 14px 18px; border-right: 1px solid var(--border); }
.app__foot small { display: block; font-size: .74rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.app__foot b { font-family: var(--font-mono); font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; }
.meter { height: 6px; border-radius: 6px; background: var(--border); overflow: hidden; margin-top: 6px; }
.meter i { display: block; height: 100%; width: var(--v, 0%); background: var(--accent); transition: width .4s, background-color .3s; }
.meter.is-high i { background: #ea580c; }
.issues { border-right: 0 !important; font-size: .84rem; }
.issues ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 3px; }
.issues li { display: flex; gap: 6px; align-items: baseline; color: #9a3412; }
.issues li::before { content: "!"; display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: #ffedd5; font-size: .7rem; font-weight: 800; flex: none; }
.issues li.is-ok { color: #166534; }
.issues li.is-ok::before { content: "✓"; background: #dcfce7; }
.app__hint { padding: 10px 18px; font-size: .82rem; color: var(--ink-3); border-top: 1px solid var(--border); text-align: center; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 90; transform: translate(-50%, 16px); opacity: 0; padding: 12px 18px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 500; font-size: .94rem; pointer-events: none; transition: opacity .25s, transform .25s; box-shadow: 0 16px 40px -16px rgba(15, 20, 25, .6); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------------------------------------------- logos */
.logos { padding: 72px 0 24px; text-align: center; }
.logos p { font-size: .9rem; color: var(--ink-3); }
.logos__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 48px; margin-top: 22px; color: var(--ink-3); }
.logos__row span { font-size: 1.3rem; font-weight: 700; letter-spacing: -.04em; opacity: .8; }
.logos__row span:nth-child(2) { font-family: Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: 0; }
.logos__row span:nth-child(3) { font-family: var(--font-mono); font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; }
.logos__row span:nth-child(5) { text-transform: lowercase; font-weight: 800; }

/* ------------------------------------------------------------- sections */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--tint { background: var(--surface-2); }
.center { text-align: center; }
.section__head { max-width: 46rem; margin: 0 auto 56px; text-align: center; }
.section__head h2 { margin-top: 14px; }
.section__head p { margin-top: 18px; color: var(--ink-2); font-size: 1.1rem; }

/* ------------------------------------------------------------- features */
.tour { display: grid; grid-template-columns: 360px 1fr; gap: 40px; align-items: start; }
.tour__tabs { display: grid; gap: 8px; }
.tour__tab { display: block; width: 100%; padding: 18px 20px; border: 1px solid transparent; border-radius: var(--radius); background: transparent; text-align: left; cursor: pointer; transition: background-color .2s, border-color .2s; }
.tour__tab h3 { display: flex; align-items: center; gap: 10px; }
.tour__tab h3 i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--surface-2); font-style: normal; font-size: .9rem; }
.tour__tab p { margin-top: 6px; color: var(--ink-2); font-size: .95rem; display: none; }
.tour__tab[aria-selected="true"] { background: var(--surface); border-color: var(--border); box-shadow: 0 10px 30px -18px rgba(15, 20, 25, .35); }
.tour__tab[aria-selected="true"] p { display: block; }
.tour__tab[aria-selected="true"] h3 i { background: var(--accent); color: #fff; }
.tour__stage { border: 1px solid var(--border); border-radius: 20px; background: var(--surface); padding: 28px; min-height: 420px; box-shadow: 0 40px 80px -50px rgba(15, 20, 25, .45); }
.panel h4 { font-size: 1rem; margin-bottom: 14px; }
.mini-list { display: grid; gap: 10px; }
.mini-row { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; font-size: .92rem; }
.mini-row .av { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-weight: 700; font-size: .78rem; }
.mini-row small { display: block; color: var(--ink-3); font-size: .82rem; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; }
.tag--ok { background: #dcfce7; color: #166534; }
.tag--wait { background: #fef3c7; color: #92400e; }
.tag--info { background: var(--r-floor); color: var(--r-floor-ink); }
.mini-actions { display: flex; gap: 6px; }
.phone-mock { width: 260px; margin: 0 auto; padding: 12px; border-radius: 36px; background: var(--ink); }
.phone-mock__screen { border-radius: 26px; background: var(--surface); padding: 20px 16px; min-height: 380px; }
.clock-btn { display: grid; place-items: center; width: 150px; height: 150px; margin: 22px auto; border-radius: 50%; border: 0; background: var(--accent); color: #fff; font-size: 1.1rem; font-weight: 700; cursor: pointer; box-shadow: 0 0 0 10px var(--accent-soft); transition: background-color .3s, box-shadow .3s; }
.clock-btn.is-in { background: #ea580c; box-shadow: 0 0 0 10px #ffedd5; }
.bars { display: flex; align-items: end; gap: 10px; height: 180px; margin-top: 10px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.bars div { position: relative; flex: 1; border-radius: 6px 6px 0 0; background: var(--accent-soft); }
.bars div::after { content: attr(data-d); position: absolute; bottom: -22px; left: 0; right: 0; text-align: center; font-size: .75rem; color: var(--ink-3); font-family: var(--font-mono); }
.bars div i { position: absolute; left: 0; right: 0; bottom: 0; border-radius: 6px 6px 0 0; background: var(--accent); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.kpi { padding: 14px; border: 1px solid var(--border); border-radius: 12px; }
.kpi small { display: block; font-size: .78rem; color: var(--ink-3); }
.kpi b { font-family: var(--font-mono); font-size: 1.3rem; }

.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.bento > div { padding: 26px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.bento > div:first-child { grid-column: span 2; background: var(--ink); color: #fff; border-color: var(--ink); }
.bento > div:first-child p { color: #aab3c0; }
.bento h3 { margin: 14px 0 8px; }
.bento p { color: var(--ink-2); font-size: .95rem; }
.bento .ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }
.bento > div:first-child .ico { background: var(--pop); color: var(--ink); }
.bento .ico svg { width: 20px; height: 20px; }
.integrations { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.integrations span { padding: 6px 12px; border-radius: 999px; border: 1px solid #2b3440; font-size: .85rem; color: #dbe1e8; }

/* ----------------------------------------------------------------- stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.stat b { display: block; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 650; letter-spacing: -.05em; line-height: 1; }
.stat span { display: block; margin-top: 10px; color: var(--ink-2); font-size: .95rem; }

/* ---------------------------------------------------------- testimonials */
.quotes { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.quote { margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.quote:first-child { background: var(--accent); color: #fff; border-color: var(--accent); }
.quote:first-child blockquote { font-size: 1.45rem; }
.quote:first-child figcaption span { color: #bfe3dd; }
.quote blockquote { margin: 0; font-size: 1.08rem; line-height: 1.45; letter-spacing: -.01em; }
.quote figcaption { display: flex; align-items: center; gap: 12px; font-size: .9rem; }
.quote figcaption b { display: block; }
.quote figcaption span { color: var(--ink-3); }
.quote .av { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-weight: 700; font-size: .82rem; background: var(--pop); color: var(--ink); flex: none; }

/* --------------------------------------------------------------- pricing */
.billing { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.billing label { position: relative; }
.billing input { position: absolute; opacity: 0; }
.billing span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 9px; font-weight: 600; font-size: .92rem; cursor: pointer; color: var(--ink-2); }
.billing input:checked + span { background: var(--surface); color: var(--ink); box-shadow: 0 2px 8px -4px rgba(15, 20, 25, .3); }
.billing input:focus-visible + span { outline: 2px solid var(--accent); }
.billing em { font-style: normal; font-size: .75rem; padding: 2px 8px; border-radius: 999px; background: var(--pop); color: var(--ink); }
.team { max-width: 560px; margin: 32px auto 0; padding: 22px 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); text-align: left; }
.team__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.team__top label { font-weight: 600; }
.team__top output { font-family: var(--font-mono); font-size: 1.5rem; font-weight: 600; }
.slider { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; margin-top: 16px; border-radius: 8px; background: linear-gradient(var(--accent), var(--accent)) 0 / var(--p, 10%) 100% no-repeat, var(--surface-2); cursor: pointer; }
.slider::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); box-shadow: 0 2px 6px rgba(15, 20, 25, .2); }
.slider::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); }
.team__scale { display: flex; justify-content: space-between; margin-top: 8px; font-family: var(--font-mono); font-size: .75rem; color: var(--ink-3); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; text-align: left; }
.plan { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }
.plan--best { border: 2px solid var(--accent); box-shadow: 0 30px 60px -36px rgba(15, 118, 110, .55); position: relative; }
.plan__flag { position: absolute; top: -13px; left: 28px; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .75rem; font-weight: 700; }
.plan h3 { font-size: 1.3rem; }
.plan > p { margin-top: 6px; color: var(--ink-2); font-size: .95rem; min-height: 3em; }
.price { margin: 22px 0 4px; display: flex; align-items: baseline; gap: 6px; }
.price b { font-size: 2.8rem; font-weight: 650; letter-spacing: -.05em; line-height: 1; }
.price span { color: var(--ink-3); font-size: .9rem; }
.price-total { font-family: var(--font-mono); font-size: .85rem; color: var(--ink-2); min-height: 1.5em; }
.plan ul { list-style: none; margin: 22px 0 26px; padding: 22px 0 0; border-top: 1px solid var(--border); display: grid; gap: 10px; font-size: .94rem; }
.plan li { display: flex; gap: 10px; }
.plan li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--accent); }
.plan .btn { margin-top: auto; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 24px; font-size: .94rem; }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--border); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { position: sticky; top: 68px; background: var(--surface); z-index: 2; font-size: 1rem; }
.compare tbody th { font-weight: 500; color: var(--ink-2); }
.compare .group th { padding-top: 28px; font-weight: 700; color: var(--ink); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.compare .yes { color: var(--accent); font-weight: 700; }
.compare .no { color: var(--border); }
.compare-wrap { overflow-x: auto; }
.addons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.addon { padding: 24px; border: 1px dashed var(--border); border-radius: var(--radius); }
.addon b { font-family: var(--font-mono); }
.addon p { margin-top: 8px; color: var(--ink-2); font-size: .95rem; }

/* ------------------------------------------------------------------- faq */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; font-weight: 600; font-size: 1.05rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; margin-top: 6px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { padding-bottom: 22px; color: var(--ink-2); }

/* ------------------------------------------------------------------- cta */
.cta { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 80px); border-radius: 28px; background: var(--ink); color: #fff; text-align: center; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 50% 120%, rgba(200, 241, 105, .35), transparent 70%); }
.cta > * { position: relative; }
.cta h2 { max-width: 18ch; margin: 0 auto; }
.cta p { margin: 16px auto 0; max-width: 32rem; color: #aab3c0; }
.cta .hero__actions .btn--ghost { background: transparent; color: #fff; border-color: #3a4552; }
.cta .btn--accent { background: var(--pop); border-color: var(--pop); color: var(--ink); }
.cta mark.hl { background: var(--pop); color: var(--ink); border-radius: 10px; padding: 0 .14em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

.footer { padding: 72px 0 36px; border-top: 1px solid var(--border); margin-top: clamp(72px, 10vw, 128px); }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 28px; }
.footer p { margin-top: 14px; color: var(--ink-2); font-size: .94rem; max-width: 20rem; }
.footer h4 { font-size: .85rem; letter-spacing: 0; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .93rem; }
.footer a { color: var(--ink-2); text-decoration: none; }
.footer a:hover { color: var(--ink); }
.status { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; font-size: .84rem; color: var(--ink-2); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 3px #dcfce7; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--border); font-size: .86rem; color: var(--ink-3); }

/* ------------------------------------------------------------- changelog */
.page-head { padding: clamp(48px, 7vw, 88px) 0 40px; }
.page-head h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); margin-top: 14px; }
.page-head p { margin-top: 16px; max-width: 38rem; color: var(--ink-2); font-size: 1.1rem; }
.cl { display: grid; grid-template-columns: 240px 1fr; gap: 72px; align-items: start; }
.cl__side { position: sticky; top: 96px; display: grid; gap: 22px; }
.cl__side h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin-bottom: 10px; }
.filters { display: grid; gap: 6px; }
.filter { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border: 1px solid transparent; border-radius: 10px; background: transparent; cursor: pointer; font-weight: 500; text-align: left; }
.filter:hover { background: var(--surface-2); }
.filter[aria-pressed="true"] { background: var(--surface-2); border-color: var(--border); font-weight: 600; }
.filter small { font-family: var(--font-mono); color: var(--ink-3); }
.search { position: relative; }
.search input { width: 100%; padding: 10px 12px 10px 36px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.search svg { position: absolute; left: 11px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--ink-3); }
.subscribe { padding: 18px; border-radius: var(--radius); background: var(--surface-2); }
.subscribe p { font-size: .9rem; color: var(--ink-2); margin-bottom: 10px; }
.subscribe form { display: grid; gap: 8px; }
.subscribe input { padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.release { display: grid; grid-template-columns: 150px 1fr; gap: 28px; padding: 36px 0; border-bottom: 1px solid var(--border); }
.release:first-child { padding-top: 0; }
.release time { font-family: var(--font-mono); font-size: .85rem; color: var(--ink-3); position: sticky; top: 96px; }
.release time b { display: block; color: var(--ink); font-size: .95rem; }
.release h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); letter-spacing: -.03em; }
.release > div > p { margin-top: 12px; color: var(--ink-2); }
.release ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.release li { display: grid; grid-template-columns: 92px 1fr; gap: 12px; align-items: baseline; }
.release li[hidden] { display: none; }
.kind { display: inline-block; text-align: center; padding: 3px 8px; border-radius: 6px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.kind--new { background: var(--pop); color: #283b05; }
.kind--improved { background: var(--r-floor); color: var(--r-floor-ink); }
.kind--fixed { background: var(--surface-2); color: var(--ink-2); }
.release .shot { margin-top: 20px; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-2); }
.none { padding: 40px 0; color: var(--ink-2); }

/* ---------------------------------------------------------------- signup */
.signup { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 68px); }
.signup__side { padding: clamp(36px, 6vw, 72px); background: var(--ink); color: #fff; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.signup__side h2 { max-width: 14ch; }
.signup__side p { color: #aab3c0; margin-top: 16px; max-width: 26rem; }
.signup__side blockquote { margin: 0; padding: 22px; border-radius: var(--radius); background: #1a222c; font-size: 1.05rem; }
.signup__side blockquote footer { margin-top: 12px; font-size: .88rem; color: #aab3c0; }
.signup__main { padding: clamp(36px, 6vw, 72px); display: flex; flex-direction: column; }
.progress { display: flex; gap: 6px; margin-bottom: 30px; }
.progress i { flex: 1; height: 4px; border-radius: 4px; background: var(--surface-2); transition: background-color .3s; }
.progress i.is-done { background: var(--accent); }
.step-label { font-family: var(--font-mono); font-size: .8rem; color: var(--ink-3); }
.wiz h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 8px 0 8px; }
.wiz > p { color: var(--ink-2); margin-bottom: 26px; }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: flex; flex-direction: column; gap: 8px; padding: 16px; border: 1px solid var(--border); border-radius: 12px; cursor: pointer; font-weight: 600; transition: border-color .15s, background-color .15s; }
.choice span i { font-style: normal; font-size: 1.4rem; }
.choice input:checked + span { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-block; padding: 8px 14px; border: 1px solid var(--border); border-radius: 999px; cursor: pointer; font-weight: 500; font-size: .92rem; }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 600; font-size: .9rem; padding: 0; }
.field input, .field select { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.field input:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field [aria-invalid="true"] { border-color: #dc2626; }
fieldset.field { border: 0; margin: 0; min-width: 0; padding: 0; }
.error { display: block; min-height: 1.1em; font-size: .84rem; color: #dc2626; font-weight: 500; }
.stack { display: grid; gap: 18px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hours-list { display: grid; gap: 8px; }
.hours-row { display: grid; grid-template-columns: 110px auto 1fr; gap: 12px; align-items: center; padding: 8px 12px; border: 1px solid var(--border); border-radius: 10px; }
.hours-row select { padding: 6px 8px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.hours-row .times { display: flex; align-items: center; gap: 6px; font-size: .9rem; color: var(--ink-3); }
.hours-row.is-closed .times { opacity: .35; pointer-events: none; }
.switch { position: relative; width: 40px; height: 24px; }
.switch input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; z-index: 1; }
.switch i { position: absolute; inset: 0; border-radius: 999px; background: var(--border); transition: background-color .2s; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.switch input:checked + i { background: var(--accent); }
.switch input:checked + i::after { transform: translateX(16px); }
.switch input:focus-visible + i { outline: 2px solid var(--accent); outline-offset: 2px; }
.strength { display: flex; gap: 4px; margin-top: 4px; }
.strength i { flex: 1; height: 4px; border-radius: 4px; background: var(--surface-2); }
.strength.s1 i:nth-child(-n+1) { background: #dc2626; }
.strength.s2 i:nth-child(-n+2) { background: #ea580c; }
.strength.s3 i:nth-child(-n+3) { background: #ca8a04; }
.strength.s4 i { background: #16a34a; }
.wiz__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 32px; }
.ready { text-align: left; }
.ready .rota { min-width: 0; grid-template-columns: 110px repeat(7, 1fr); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin-top: 22px; font-size: .8rem; }
.ready .rota .person { padding: 8px; }
.ready .rota .cell { min-height: 46px; padding: 4px; }
.ready .shift { padding: 4px 6px; cursor: default; }
.ready .shift b { font-size: .7rem; }

/* -------------------------------------------------------------- reveals */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ----------------------------------------------------------- responsive */
@media (max-width: 1000px) {
  .tour { grid-template-columns: 1fr; }
  .tour__tabs { grid-template-columns: repeat(2, 1fr); }
  .tour__tab p { display: block; }
  .quotes, .plans, .addons { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cl { grid-template-columns: 1fr; }
  .cl__side { position: static; }
  .signup { grid-template-columns: 1fr; }
  .signup__side { order: 2; }
  .app__foot { grid-template-columns: repeat(2, 1fr); }
  .issues { grid-column: 1 / -1; border-top: 1px solid var(--border); }
}
@media (max-width: 760px) {
  .nav-toggle { display: grid; margin-left: auto; }
  .nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 12px var(--gutter) 20px; background: var(--surface); border-bottom: 1px solid var(--border); display: none; }
  .nav.is-open { display: flex; }
  .nav__end { margin: 8px 0 0; flex-direction: column; align-items: stretch; }
  .tour__tabs, .bento, .row-2 { grid-template-columns: 1fr; }
  .bento > div:first-child { grid-column: auto; }
  .release { grid-template-columns: 1fr; gap: 10px; }
  .release time { position: static; }
  .kpis { grid-template-columns: 1fr; }
  .hours-row { grid-template-columns: 1fr auto; }
  .hours-row .times { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}
