/* Layout: one narrow column of sections, a phone thread in the hero, ticket-printer details in mono */
:root {
  --bg: #ffffff;
  --surface: #f4f8f5;
  --ink: #0d1f16;
  --muted: #56645c;
  --line: #e2e9e4;
  --accent: #14c964;
  --accent-ink: #0d1f16;
  --link: #0b8a43;
  --band: #0d1f16;
  --band-ink: #ffffff;
  --tag: #b6f5ce;
  --bubble-in: #eef3ef;
  --bubble-out: #14c964;
  --bubble-out-ink: #0d1f16;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --max: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1410; --surface: #131f19; --ink: #eaf3ed; --muted: #97a69e; --line: #24332b;
    --accent: #2ee58a; --accent-ink: #062012; --link: #4cf09c; --band: #131f19; --band-ink: #eaf3ed; --tag: #1d5c3a;
    --bubble-in: #1c2a23; --bubble-out: #2ee58a; --bubble-out-ink: #062012;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b1410; --surface: #131f19; --ink: #eaf3ed; --muted: #97a69e; --line: #24332b;
    --accent: #2ee58a; --accent-ink: #062012; --link: #4cf09c; --band: #131f19; --band-ink: #eaf3ed; --tag: #1d5c3a;
    --bubble-in: #1c2a23; --bubble-out: #2ee58a; --bubble-out-ink: #062012;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--link); outline-offset: 2px;
}
h1, h2, h3 { font-family: var(--display); line-height: 1.08; text-wrap: balance; margin: 0; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 22px; font-stretch: 112%; letter-spacing: -0.01em; }
.logo-mark { width: 30px; height: 30px; flex: none; }
.nav { display: flex; gap: 22px; align-items: center; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--ink); }
.nav .btn { color: var(--accent-ink); }
@media (max-width: 640px) { .nav .hide-sm { display: none; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--body); font-weight: 600; font-size: 15px;
  padding: 11px 18px; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none;
  transition: transform .15s ease, filter .15s ease;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }

/* Hero */
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; padding-block: 72px 64px; }
.hero-copy { min-width: 0; }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 76px); font-weight: 800; font-stretch: 115%; letter-spacing: -0.03em; }
.hero h1 mark { background: linear-gradient(transparent 58%, var(--tag) 58%, var(--tag) 92%, transparent 92%); color: inherit; padding: 0 2px; }
.lede { font-size: 19px; color: var(--muted); max-width: 34em; margin: 22px 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { font-family: var(--mono); font-size: 13px; color: var(--muted); margin-top: 22px; }

/* Phone thread */
.phone {
  justify-self: center; width: 100%; max-width: 360px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 34px;
  padding: 18px 16px 22px; box-shadow: 0 30px 60px -30px rgba(18, 32, 27, 0.35);
}
.phone-top { display: flex; flex-direction: column; align-items: center; gap: 4px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; }
.avatar svg { width: 20px; height: 20px; }
.phone-top span { font-size: 13px; font-weight: 600; }
.thread { display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.4; }
.stamp { align-self: center; font-family: var(--mono); font-size: 11px; color: var(--muted); margin: 4px 0; }
.msg { max-width: 84%; padding: 9px 13px; border-radius: 18px; }
.msg.out { align-self: flex-end; background: var(--bubble-out); color: var(--bubble-out-ink); border-bottom-right-radius: 6px; }
.msg.in { align-self: flex-start; background: var(--bubble-in); color: var(--ink); border-bottom-left-radius: 6px; }
.msg .ticket { display: block; margin-top: 8px; font-family: var(--mono); font-size: 12.5px; line-height: 1.5; border-top: 1px dashed var(--muted); padding-top: 8px; }

/* Sections */
section.block .wrap { padding-block: 72px; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; font-stretch: 108%; letter-spacing: -0.02em; }
.section-head p { color: var(--muted); margin: 14px 0 0; font-size: 18px; }
.divider { border-top: 1px solid var(--line); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { counter-increment: step; min-width: 0; }
.steps li::before { content: "STEP " counter(step); display: block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--link); margin-bottom: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.steps h3 { font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
.feature { padding: 26px 28px 26px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 150px 1fr; gap: 20px; min-width: 0; }
.feature:nth-child(odd) { border-right: 1px solid var(--line); }
.feature:nth-child(even) { padding-left: 28px; padding-right: 0; }
.feature .cmd { font-family: var(--mono); font-size: 13px; color: var(--link); padding-top: 4px; }
.feature h3 { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }

/* Demo form */
.demo { background: var(--band); color: var(--band-ink); }
.demo .btn { box-shadow: 0 0 0 0 transparent; }
.demo .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; padding-block: 80px; }
.demo h2 { font-size: clamp(32px, 4.4vw, 48px); font-weight: 800; font-stretch: 110%; letter-spacing: -0.02em; }
.demo-copy { min-width: 0; }
.demo-copy p { opacity: 0.8; margin: 16px 0 0; }
.form { background: var(--surface); color: var(--ink); border-radius: 22px; padding: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; min-width: 0; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; width: 100%;
}
.consent { grid-column: 1 / -1; display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); }
.form .btn { grid-column: 1 / -1; padding-block: 14px; font-size: 16px; }
.form-done { grid-column: 1 / -1; font-family: var(--mono); font-size: 14px; color: var(--link); margin: 0; }

/* Footer */
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; padding-block: 36px; font-size: 14px; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--muted); }

/* Legal pages */
.legal .wrap { max-width: 760px; padding-block: 64px 80px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); font-weight: 800; font-stretch: 110%; letter-spacing: -0.02em; }
.legal .meta { font-family: var(--mono); font-size: 13px; color: var(--muted); margin: 14px 0 36px; }
.legal h2 { font-size: 22px; font-weight: 700; margin: 40px 0 10px; }
.legal p, .legal li { color: var(--ink); }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.callout { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; padding: 18px 20px; margin: 18px 0; }
.callout p { margin: 0; }
.ph { background: #fde68a; color: #0d1f16; padding: 0 5px; border-radius: 4px; font-family: var(--mono); font-size: 0.88em; }

@media (max-width: 860px) {
  .hero .wrap, .demo .wrap { grid-template-columns: 1fr; gap: 44px; padding-block: 48px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .features { grid-template-columns: 1fr; }
  .feature, .feature:nth-child(even) { padding: 22px 0; border-right: 0; }
  .feature:nth-child(odd) { border-right: 0; }
  section.block .wrap { padding-block: 56px; }
}
@media (max-width: 520px) {
  .feature { grid-template-columns: 1fr; gap: 6px; }
  .form { grid-template-columns: 1fr; padding: 22px; }
  .lede { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* Brand lockup */
.site-header .wrap > .logo { margin-right: auto; }
.tagline { font-size: 14px; color: var(--muted); padding-left: 14px; border-left: 1px solid var(--line); margin-right: auto; margin-left: -2px; }
.site-header .wrap > .logo:has(+ .tagline) { margin-right: 0; }
@media (max-width: 720px) { .tagline { display: none; } .site-header .wrap > .logo { margin-right: auto; } }
.foot-brand strong { color: var(--ink); font-family: var(--display); }

/* Two-view phone demo */
.demo-phone { justify-self: center; width: 100%; max-width: 360px; display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 0; }
.view-toggle { display: inline-flex; padding: 4px; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; }
.view-toggle button {
  font: inherit; font-size: 14px; font-weight: 600; color: var(--muted);
  background: transparent; border: 0; border-radius: 999px; padding: 8px 16px; cursor: pointer;
}
.view-toggle button[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); }
.viewing { margin: 0; font-size: 13.5px; color: var(--muted); text-align: center; }
.viewing strong { color: var(--ink); }
.status-bar { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 600; color: var(--muted); padding: 0 6px 12px; }
.role-chip { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.role-chip.employee { background: var(--ink); color: var(--bg); }
.demo-phone .phone { max-width: none; }

/* iPhone Messages look for the demo phone */
:root {
  --ios-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --phone-bg: #ffffff; --phone-ink: #000000; --phone-sub: #8a8a8e; --phone-bar: #f6f6f6; --phone-field: #c6c6c8;
  --ios-in: #e9e9eb; --ios-in-ink: #000000; --ios-out: #34c759; --ios-out-ink: #ffffff; --ios-blue: #0a84ff;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --phone-bg: #000000; --phone-ink: #ffffff; --phone-sub: #8d8d93; --phone-bar: #1c1c1e; --phone-field: #3a3a3c;
    --ios-in: #26252a; --ios-in-ink: #ffffff; --ios-out: #30d158; --ios-out-ink: #ffffff;
  }
}
:root[data-theme="dark"] {
  --phone-bg: #000000; --phone-ink: #ffffff; --phone-sub: #8d8d93; --phone-bar: #1c1c1e; --phone-field: #3a3a3c;
  --ios-in: #26252a; --ios-in-ink: #ffffff; --ios-out: #30d158; --ios-out-ink: #ffffff;
}

.demo-phone .phone {
  font-family: var(--ios-font); color: var(--phone-ink); background: var(--phone-bg);
  padding: 0; overflow: hidden; border-radius: 46px;
  border: 10px solid #1b1b1d; box-shadow: 0 0 0 1px #3a3a3c, 0 30px 60px -28px rgba(13, 31, 22, 0.45);
  -webkit-font-smoothing: antialiased;
}
.ios-status { display: flex; align-items: center; justify-content: space-between; padding: 12px 22px 4px 30px; font-size: 15px; font-weight: 600; letter-spacing: -0.2px; }
.ios-island { width: 92px; height: 26px; border-radius: 20px; background: #000; }
.ios-icons { display: inline-flex; align-items: center; gap: 5px; }
.ios-icons svg { fill: currentColor; color: var(--phone-ink); }
.ios-header { position: relative; display: flex; justify-content: center; padding: 6px 12px 10px; background: var(--phone-bar); border-bottom: 0.5px solid var(--phone-field); }
.ios-back { position: absolute; left: 14px; top: 22px; color: var(--ios-blue); }
.ios-contact { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; color: var(--phone-ink); }
.ios-contact .avatar { width: 46px; height: 46px; }
.ios-contact .avatar svg { width: 26px; height: 26px; }
.ios-contact span { display: inline-flex; align-items: center; gap: 3px; }
.ios-contact span svg { color: var(--phone-sub); }

.demo-phone .thread {
  font-family: var(--ios-font); font-size: 16px; line-height: 21px; letter-spacing: -0.3px;
  gap: 2px; padding: 10px 14px 12px; min-height: 380px;
}
.demo-phone .stamp {
  font-family: var(--ios-font); font-size: 11px; line-height: 14px; color: var(--phone-sub);
  text-align: center; margin: 10px 0 6px; letter-spacing: 0;
}
.demo-phone .stamp b { font-weight: 600; }
.demo-phone .msg { position: relative; max-width: 76%; padding: 7px 12px; border-radius: 18px; word-wrap: break-word; }
.demo-phone .msg.in { background: var(--ios-in); color: var(--ios-in-ink); border-bottom-left-radius: 18px; }
.demo-phone .msg.out { background: var(--ios-out); color: var(--ios-out-ink); border-bottom-right-radius: 18px; }
.demo-phone .msg.in + .msg.out, .demo-phone .msg.out + .msg.in { margin-top: 8px; }
.demo-phone .msg.tail { margin-bottom: 0; }
.demo-phone .msg.tail::before, .demo-phone .msg.tail::after { content: ""; position: absolute; bottom: 0; height: 20px; }
.demo-phone .msg.out.tail::before { right: -7px; width: 20px; background: var(--ios-out); border-bottom-left-radius: 16px 14px; }
.demo-phone .msg.out.tail::after { right: -26px; width: 26px; background: var(--phone-bg); border-bottom-left-radius: 10px; }
.demo-phone .msg.in.tail::before { left: -7px; width: 20px; background: var(--ios-in); border-bottom-right-radius: 16px 14px; }
.demo-phone .msg.in.tail::after { left: -26px; width: 26px; background: var(--phone-bg); border-bottom-right-radius: 10px; }
.demo-phone .msg.tail + .msg, .demo-phone .msg.tail + .stamp { margin-top: 8px; }
.delivered { align-self: flex-end; font-size: 11px; color: var(--phone-sub); margin-top: 2px; padding-right: 2px; }

.ios-input { display: flex; align-items: center; gap: 10px; padding: 8px 14px 22px; }
.ios-plus { width: 32px; height: 32px; border-radius: 50%; background: var(--ios-in); color: var(--phone-sub); display: grid; place-items: center; font-size: 22px; font-weight: 300; line-height: 1; }
.ios-field { flex: 1; border: 1px solid var(--phone-field); border-radius: 18px; padding: 6px 14px; font-size: 16px; color: var(--phone-sub); }

.viewing { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }

/* Live demo */
.demo-label { font-size: 13px; font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.demo-sub { font-weight: 400; color: var(--muted); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.5); animation: livepulse 1.8s infinite; }
@keyframes livepulse { 0% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.5); } 70% { box-shadow: 0 0 0 8px rgba(255, 59, 48, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); } }
.scenarios { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.scn {
  font: inherit; font-size: 13px; font-weight: 600; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; cursor: pointer;
}
.scn:hover { border-color: var(--accent); }
.scn[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.demo-phone .thread { height: 400px; min-height: 0; overflow-y: auto; scrollbar-width: none; }
.demo-phone .thread::-webkit-scrollbar { display: none; }
.demo-phone .msg.pop { animation: pop .28s ease-out; transform-origin: bottom left; }
.demo-phone .msg.out.pop { transform-origin: bottom right; }
@keyframes pop { from { transform: scale(.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.demo-phone .msg.typing { display: inline-flex; gap: 4px; padding: 11px 14px; align-self: flex-start; }
.demo-phone .msg.typing i { width: 8px; height: 8px; border-radius: 50%; background: var(--phone-sub); opacity: .5; animation: blink 1.2s infinite; }
.demo-phone .msg.typing i:nth-child(2) { animation-delay: .2s; }
.demo-phone .msg.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: .9; transform: translateY(-2px); } }

.ios-field { min-height: 34px; display: flex; align-items: center; overflow: hidden; white-space: nowrap; }
.ios-field.typing-now { color: var(--phone-ink); justify-content: flex-end; }
.ios-send { width: 30px; height: 30px; border-radius: 50%; background: var(--ios-out); display: grid; place-items: center; opacity: 0; transform: scale(.6); transition: opacity .15s, transform .15s; flex: none; }
.ios-send.ready { opacity: 1; transform: scale(1); }

.demo-caption { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.demo-caption p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--muted); min-height: 2.9em; min-width: 0; }
.demo-controls { display: flex; gap: 6px; flex: none; }
.ctl { font: inherit; font-size: 13px; font-weight: 600; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.ctl:hover { border-color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  .live-dot, .demo-phone .msg.pop, .demo-phone .msg.typing i { animation: none; }
  .ios-send { transition: none; }
}

/* Try it yourself */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mode-toggle { display: inline-flex; padding: 4px; gap: 4px; background: var(--ink); border-radius: 999px; }
.mode-toggle button { font: inherit; font-size: 14px; font-weight: 700; color: var(--bg); opacity: .75; background: transparent; border: 0; border-radius: 999px; padding: 9px 18px; cursor: pointer; }
.mode-toggle button[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); opacity: 1; }
.mode-toggle button:hover { opacity: 1; }
.ios-input { margin: 0; }
.ios-real {
  flex: 1; min-width: 0; font-family: var(--ios-font); font-size: 16px; color: var(--phone-ink);
  background: transparent; border: 1px solid var(--phone-field); border-radius: 18px; padding: 6px 14px; min-height: 34px; outline: none;
}
.ios-real::placeholder { color: var(--phone-sub); }
.ios-real:focus { border-color: var(--ios-out); }
.ios-real:disabled { opacity: .6; }
button.ios-send { border: 0; padding: 0; cursor: pointer; }
.try-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; width: 100%; }
.try-hint { width: 100%; text-align: center; font-size: 13px; color: var(--muted); margin-bottom: 2px; }
.chip { font: inherit; font-size: 13px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.chip:hover { border-color: var(--accent); background: var(--bg); }

/* Lite / Premium tiers */
.soon-pill {
  display: inline-block; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--tag); color: var(--ink); padding: 3px 8px; border-radius: 999px; vertical-align: middle; white-space: nowrap;
}
.nav .nav-premium { color: var(--ink); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.nav .nav-premium[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px; }
@media (max-width: 420px) {
  .nav { gap: 12px; }
  .nav .nav-premium .soon-pill { display: none; }
  .nav .btn { padding: 9px 14px; font-size: 14px; }
}
.eyebrow .soon-pill { margin-right: 8px; }

.steps-4 { grid-template-columns: repeat(4, 1fr); gap: 28px; }
@media (max-width: 980px) { .steps-4 { grid-template-columns: repeat(2, 1fr); gap: 32px 28px; } }
@media (max-width: 560px) { .steps-4 { grid-template-columns: 1fr; } }

.premium-teaser {
  margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px;
  padding: 18px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface);
  color: var(--ink); text-decoration: none; transition: border-color .15s ease;
}
.premium-teaser:hover { border-color: var(--accent); }
.premium-teaser > span:nth-child(2) { flex: 1 1 320px; min-width: 0; color: var(--muted); }
.premium-teaser strong { color: var(--ink); }
.teaser-cta { font-weight: 600; color: var(--link); white-space: nowrap; }

.premium-hero .wrap { grid-template-columns: 1fr; max-width: 860px; margin-left: auto; margin-right: auto; }
.premium-hero .lede { max-width: 38em; }
.roadmap { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); max-width: 860px; }
.roadmap li { display: grid; grid-template-columns: 170px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.roadmap li > div { min-width: 0; }
.roadmap .cmd { font-family: var(--mono); font-size: 13px; color: var(--link); padding-top: 4px; }
.roadmap h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.roadmap p { margin: 0; color: var(--muted); }
@media (max-width: 560px) { .roadmap li { grid-template-columns: 1fr; gap: 6px; } }

.checks { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checks legend { font-size: 14px; font-weight: 600; padding: 0; margin-bottom: 10px; }
.checks label { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; font-weight: 400; cursor: pointer; }
.checks input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.form-error { grid-column: 1 / -1; margin: 0; font-size: 14px; color: #c62828; }
.roadmap li.roadmap-more h3 { color: var(--link); }
.demo-phone .stamp.later { margin-top: 14px; }

/* FAQ */
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font-family: var(--display); font-weight: 700; font-size: 19px; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--body); font-weight: 400; font-size: 26px; color: var(--link); flex: none; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -4px 0 22px; color: var(--muted); max-width: 680px; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }
.noscript-thread { height: auto; }

/* Lite vs Premium comparison */
#compare .section-head { max-width: 860px; }
.lite-note { margin-top: 10px !important; font-size: 16px !important; color: var(--ink) !important; }
.cmp-wrap { max-width: 920px; }
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 16px; }
.cmp col, .cmp th, .cmp td { min-width: 0; }
.cmp thead .corner { width: 44%; }
.cmp thead th { text-align: left; vertical-align: bottom; padding: 22px 24px 18px; font-weight: 400; }
.cmp .plan { display: block; font-family: var(--display); font-weight: 800; font-stretch: 110%; font-size: 24px; letter-spacing: -0.01em; color: var(--ink); }
.cmp .plan-sub { display: inline-block; margin-top: 8px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 3px 0; }
.cmp thead .soon-pill { margin-top: 8px; }
.cmp tbody th, .cmp tbody td { padding: 18px 24px; border-top: 1px solid var(--line); vertical-align: top; text-align: left; line-height: 1.45; }
.cmp tbody th { font-weight: 500; color: var(--ink); padding-left: 0; }
.cmp tbody td { color: var(--muted); }
.cmp .val { display: block; font-size: 15px; }
.cmp td.prem .val { color: var(--ink); font-weight: 500; }

/* Premium column: faint wash, green top edge */
.cmp .prem { background: color-mix(in srgb, var(--accent) 7%, var(--bg)); }
.cmp thead th.prem { border-top: 3px solid var(--accent); border-radius: 14px 14px 0 0; }
.cmp tbody tr:last-child td.prem { border-radius: 0 0 14px 14px; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 1px solid var(--line); }
.cmp tbody tr:last-child td.prem { border-bottom-color: transparent; }

.cmp .ck { width: 22px; height: 22px; color: var(--link); display: block; }
.cmp td.lite .ck { color: var(--muted); }
.cmp .no { display: block; width: 14px; height: 2px; margin-top: 10px; border-radius: 2px; background: var(--line); }

.cmp .shared summary { list-style: none; cursor: pointer; display: inline-flex; align-items: baseline; gap: 10px; font-weight: 600; }
.cmp .shared summary::-webkit-details-marker { display: none; }
.cmp .shared summary::after { content: "Show all 7"; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--link); white-space: nowrap; }
.cmp .shared details[open] summary::after { content: "Hide"; }
.cmp .shared ul { list-style: none; margin: 12px 0 2px; padding: 0; display: grid; gap: 8px; }
.cmp .shared li { font-weight: 400; color: var(--muted); font-size: 15px; padding-left: 18px; position: relative; }
.cmp .shared li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.cmp-note { margin: 18px 0 0; font-size: 14px; color: var(--muted); }

/* Phone: feature name on its own line, Lite and Premium side by side under sticky headers */
@media (max-width: 640px) {
  .cmp, .cmp thead, .cmp tbody { display: block; }
  .cmp tr { display: grid; grid-template-columns: 1fr 1fr; }
  .cmp thead .corner { display: none; }
  .cmp thead { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 2; background: var(--bg); }
  .cmp thead th { padding: 14px 14px 12px; }
  .cmp .plan { font-size: 20px; }
  .cmp tbody th { grid-column: 1 / -1; padding: 16px 0 6px; border-top: 1px solid var(--line); }
  .cmp tbody td { border-top: 0; padding: 4px 14px 16px; }
  .cmp tbody tr:last-child th { border-bottom: 0; }
  .cmp tbody tr:last-child td.lite { border-bottom: 0; }
  .cmp .prem { background: transparent; }
  .cmp td.prem, .cmp thead th.prem { background: color-mix(in srgb, var(--accent) 7%, var(--bg)); border-radius: 10px; }
  .cmp thead th.prem { border-radius: 12px 12px 0 0; }
  .cmp td.prem { border-radius: 8px; margin-bottom: 8px; padding-top: 10px; }
  .cmp tbody td.lite { padding-top: 10px; }
  .cmp .val { font-size: 15px; }
}
.field-hint { margin: 2px 0 0; font-size: 13px; line-height: 1.4; color: var(--muted); }
