/* Kaspio CMMS — tokens from DESIGN.md */
:root {
  --ink: #091135;
  --electric: #0f77ff;
  --cobalt: #127ee3;
  --cobalt-hover: #0f6dc6;
  --slate: #36394a;
  --muted: #5b6075;
  --frost: #e1e9f0;
  --mist: #b1bbcd;
  --paper: #ffffff;
  --wash: #f5f3ff;
  --blue-tint: #eaf3ff;
  --cmms-blue: #2754fe;

  --font: 'Inter', 'InterVar', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius-card: 12px;
  --radius-btn: 8px;
  --radius-pill: 9999px;
  --focus: 0 0 0 1px rgb(15, 119, 255), 0 1px 2px rgba(12, 43, 100, .32), 0 6px 16px rgba(12, 43, 100, .32);

  --max: 1200px;
  --gutter: 16px;
  --section: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: .008em;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; color: var(--ink); }
p { margin: 0; }
figure { margin: 0; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 640px) { :root { --gutter: 24px; } }
.wash { background: var(--wash); }
@media (min-width: 640px) { .nowrap { white-space: nowrap; } }

section { padding: var(--section) 0; }
@media (max-width: 720px) { :root { --section: 64px; } }

/* ---------- type ---------- */
h1 {
  font-size: clamp(36px, 6.4vw, 64px);
  line-height: 1.15;
  letter-spacing: .018em;
  max-width: 1040px;
  margin: 20px auto 0;
}
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.2; letter-spacing: .016em; }
.lead { font-size: 18px; color: var(--slate); line-height: 1.55; letter-spacing: .014em; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 600; color: var(--cobalt); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 12px; }
.pill { display: inline-block; background: var(--wash); color: var(--ink); font-size: 14px; font-weight: 500; padding: 8px 16px; border-radius: var(--radius-pill); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head .lead { margin-top: 16px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 500 16px/1.2 var(--font); letter-spacing: .01em;
  padding: 12px 20px; border-radius: var(--radius-btn);
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background .15s, border-color .15s, color .15s;
  white-space: nowrap;
}
.btn:focus-visible { outline: none; box-shadow: var(--focus); }
.btn-primary { background: var(--cobalt); color: #fff; }
.btn-primary:hover { background: var(--cobalt-hover); }
.btn-ghost { background: var(--paper); color: var(--ink); border-color: var(--frost); }
.btn-ghost:hover { border-color: var(--mist); }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-lg { padding: 14px 26px; }
.btn-block { width: 100%; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--frost); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; flex-shrink: 0; }
.brand-name { font-size: 20px; font-weight: 500; color: var(--ink); letter-spacing: 0; line-height: 1; }
.brand-divider { width: 1px; height: 18px; background: var(--frost); }
.brand-product { font-size: 16px; font-weight: 500; color: var(--cmms-blue); letter-spacing: .02em; line-height: 1; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--slate); }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; gap: 8px; }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-menu { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.nav-menu .nav-links { margin-left: 0; }

/* burger (mobile only) */
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; border-radius: 8px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle:focus-visible { outline: none; box-shadow: var(--focus); }
.nav-toggle-bar { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; margin-right: -10px; }
  .nav-menu { display: none; position: absolute; top: 64px; left: 0; right: 0; margin: 0; padding: 8px var(--gutter) 20px; flex-direction: column; align-items: stretch; gap: 16px; background: #fff; border-bottom: 1px solid var(--frost); box-shadow: 0 12px 24px rgba(15, 23, 42, .08); max-height: calc(100vh - 64px); overflow-y: auto; }
  .nav.open .nav-menu { display: flex; }
  .nav.open { border-bottom-color: var(--frost); }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--frost); }
  .nav-actions { flex-direction: column; gap: 10px; }
  .nav-actions .btn { width: 100%; padding: 12px 16px; font-size: 15px; }
}
@media (max-width: 820px) and (prefers-reduced-motion: reduce) { .nav-toggle-bar { transition: none; } }

/* ---------- hero ---------- */
.hero { text-align: center; padding-top: 72px; padding-bottom: 80px; }
.hero-ticks {
  list-style: none; padding: 0; margin: 40px auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: 980px; text-align: left;
}
.hero-ticks li { display: flex; gap: 12px; align-items: flex-start; }
.hero-ticks strong { display: block; font-weight: 600; font-size: 16px; }
.hero-ticks span:not(.tick) { display: block; font-size: 15px; color: var(--slate); margin-top: 2px; }
.tick { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--blue-tint); display: grid; place-items: center; margin-top: 1px; }
.tick svg { width: 16px; height: 16px; fill: none; stroke: var(--electric); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 760px) {
  .hero-ticks { grid-template-columns: 1fr; max-width: 420px; gap: 16px; }
}

.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--muted); }
@media (max-width: 480px) {
  .hero-ctas .btn { flex: 1 1 100%; }
}

.metrics {
  margin: 64px auto 0; max-width: 900px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--frost); border-radius: var(--radius-card);
}
.metric { padding: 28px 20px; display: flex; flex-direction: column; gap: 6px; }
.metric + .metric { border-left: 1px solid var(--frost); }
.metric-value { font-size: clamp(36px, 5vw, 48px); font-weight: 600; letter-spacing: .016em; color: var(--cobalt); line-height: 1.1; font-variant-numeric: tabular-nums; }
.metric-label { font-size: 15px; color: var(--slate); }
@media (max-width: 640px) {
  .metrics { grid-template-columns: 1fr; }
  .metric + .metric { border-left: 0; border-top: 1px solid var(--frost); }
  .metric { padding: 20px; }
}

/* ---------- platform ---------- */
.platform-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.platform-copy h2 { margin-bottom: 16px; }
.checklist { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 32px; color: var(--ink); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%230f77ff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 32px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px 0 10px;
  background: #000; color: #fff; border-radius: var(--radius-btn); border: 1px solid #a6a6a6;
  text-decoration: none; transition: opacity .15s ease;
}
.store-badge:hover { opacity: .85; }
.store-badge:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 2px; }
.store-icon { width: 21px; height: 23px; flex-shrink: 0; }
.store-text { display: flex; flex-direction: column; line-height: 1.05; }
.store-text small { font-size: 9px; font-weight: 500; letter-spacing: .02em; }
.store-text b { font-size: 16px; font-weight: 600; letter-spacing: 0; }

.devices { position: relative; padding-bottom: 48px; padding-right: 7%; }
.browser { background: var(--paper); border: 1px solid var(--frost); border-radius: var(--radius-card); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--frost); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--frost); }
.browser-bar span { margin-left: 10px; font-size: 12px; color: var(--muted); background: var(--wash); padding: 3px 12px; border-radius: var(--radius-pill); }
/* phone: cut-out screenshot with its own rounded white frame (transparent corners) */
.phone {
  position: absolute; right: 0; bottom: 0; width: 27%; min-width: 120px;
  filter: drop-shadow(0 12px 24px rgba(10, 21, 64, .18));
}
.phone img { display: block; width: 100%; height: auto; }
@media (max-width: 900px) {
  .platform-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- benefits tabs ---------- */
.tabs {
  display: flex; gap: 4px; padding: 4px; margin: 0 auto 32px; width: fit-content; max-width: 100%;
  border: 1px solid var(--frost); border-radius: var(--radius-pill); background: var(--paper);
  overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  font: 500 15px/1 var(--font); letter-spacing: .01em; color: var(--slate);
  background: transparent; border: 0; border-radius: var(--radius-pill);
  padding: 12px 20px; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s;
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--cobalt); color: #fff; }
.tabs button:focus-visible { outline: none; box-shadow: var(--focus); }
/* Below 900px the five tabs no longer fit on one row. Rather than a sideways
   scroll (which hid tabs off-screen), lay them out as a grid so every tab is visible. */
@media (max-width: 900px) {
  .tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; border-radius: var(--radius-card); padding: 6px; gap: 6px; overflow: visible; }
  .tabs button { padding: 12px 10px; font-size: 14px; line-height: 1.25; white-space: normal; border-radius: var(--radius-btn); background: var(--wash); color: var(--ink); }
  .tabs button:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 561px) and (max-width: 900px) {
  .tabs { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .tabs button { grid-column: span 2; }
  .tabs button:nth-child(n+4) { grid-column: span 3; }
  .tabs button:last-child:nth-child(odd) { grid-column: span 3; }
}

.panel { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.panel[hidden] { display: none; }
.panel.enter .compare, .panel.enter .visual { animation: rise .45s cubic-bezier(.22,1,.36,1) both; }
.panel.enter .visual { animation-delay: .06s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.compare { display: grid; gap: 16px; }
.side { border: 1px solid var(--frost); border-radius: var(--radius-card); padding: 24px; background: var(--paper); }
.side.before { background: #fafbfc; }
.side.after { border-color: var(--electric); }
.side-label { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 5px 12px; border-radius: var(--radius-pill); }
.before .side-label { background: #eef0f4; color: var(--slate); }
.after .side-label { background: var(--blue-tint); color: var(--cobalt); }

.flow { list-style: none; padding: 0; margin: 20px 0 0; display: flex; align-items: stretch; gap: 0; counter-reset: step; }
.flow li {
  flex: 1; position: relative; font-size: 15px; font-weight: 500; line-height: 1.35;
  padding: 12px 12px 12px 12px; border-radius: var(--radius-btn); counter-increment: step;
  display: flex; flex-direction: column; gap: 6px;
}
.flow li::before { content: counter(step, decimal-leading-zero); font-size: 12px; font-weight: 600; letter-spacing: .06em; }
.flow li + li { margin-left: 22px; }
.flow li + li::after {
  content: ""; position: absolute; left: -18px; top: 50%; width: 14px; height: 14px; transform: translateY(-50%);
  background: center/contain no-repeat;
}
.before .flow li { background: #f1f3f6; color: var(--slate); }
.before .flow li::before { color: var(--muted); }
.before .flow li + li::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h9m-3.5-3.5L12 8l-3.5 3.5' fill='none' stroke='%23b1bbcd' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.before .flow li:last-child { background: #f7eeee; color: #7a3b3b; }
.after .flow li { background: var(--blue-tint); color: var(--ink); }
.after .flow li::before { color: var(--cobalt); }
.after .flow li + li::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h9m-3.5-3.5L12 8l-3.5 3.5' fill='none' stroke='%230f77ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.outcome { margin-top: 16px; font-size: 15px; color: var(--slate); }
.outcome strong { color: var(--ink); font-weight: 600; }

@media (max-width: 960px) { .panel { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .flow { flex-direction: column; }
  .flow li { flex-direction: row; align-items: baseline; gap: 10px; }
  .flow li + li { margin-left: 0; margin-top: 22px; }
  .flow li + li::after { left: 50%; top: -18px; transform: translateX(-50%) rotate(90deg); }
}

/* ---------- tab visuals (mock UI) ---------- */
.visual {
  background: var(--wash); border-radius: var(--radius-card); padding: 40px 32px;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 0;
  min-height: 420px; position: relative; overflow: hidden;
}
@media (max-width: 560px) { .visual { padding: 28px 16px; min-height: 0; } }
/* before / after states inside a visual */
.visual-states { justify-content: flex-start; padding-top: 24px; min-height: 560px; }
@media (max-width: 560px) { .visual-states { min-height: 540px; } }
.v-switch { display: flex; gap: 2px; padding: 3px; margin-bottom: 24px; background: var(--paper); border: 1px solid var(--frost); border-radius: var(--radius-pill); }
.v-switch button { font: 500 13px/1 var(--font); border: 0; background: transparent; color: var(--muted); padding: 8px 14px; border-radius: var(--radius-pill); cursor: pointer; transition: background .2s, color .2s; }
.v-switch button[aria-pressed="true"] { color: #fff; }
.visual-states[data-state="before"] [data-show="before"][aria-pressed="true"] { background: var(--slate); }
.visual-states[data-state="after"] [data-show="after"][aria-pressed="true"] { background: var(--cobalt); }
.v-switch button:focus-visible { outline: none; box-shadow: var(--focus); }
.v-state { display: none; width: 100%; flex-direction: column; align-items: center; }
.visual-states[data-state="before"] .v-state-before,
.visual-states[data-state="after"] .v-state-after { display: flex; animation: rise .4s cubic-bezier(.22,1,.36,1) both; }

.v-inbox { padding: 6px 0; }
.v-inbox-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 18px 10px; border-bottom: 1px solid var(--frost); }
.v-unread { font-size: 12px; font-weight: 600; color: #fff; background: #c0392b; padding: 2px 8px; border-radius: var(--radius-pill); }
.v-mail { display: grid; grid-template-columns: 8px 1fr auto; gap: 10px; align-items: center; padding: 9px 18px; }
.v-mail + .v-mail { border-top: 1px solid #f0f3f7; }
.v-mail div { display: flex; flex-direction: column; min-width: 0; }
.v-mail small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v-mail time { font-size: 12px; color: var(--muted); }
.v-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--electric); }
.v-mail-chase { background: #fdf3f2; }
.v-mail-chase .v-dot { background: #c0392b; }
.v-mail-faded { opacity: .45; }
.chip-red { background: #fbe3e1; color: #a5281b; }

.v-sheet { margin-top: 16px; padding: 0; overflow: hidden; font-size: 12px; }
.v-sheet-head { display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-bottom: 1px solid var(--frost); font-weight: 500; color: var(--slate); }
.v-xls { font-size: 9px; font-weight: 700; color: #fff; background: #1d7044; padding: 2px 4px; border-radius: 3px; }
.v-sheet-grid { display: grid; grid-template-columns: 1fr 1.4fr 1fr .8fr; }
.v-sheet-grid span { padding: 6px 10px; border-right: 1px solid #eef1f5; border-bottom: 1px solid #eef1f5; color: var(--slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 28px; }
.v-sheet-grid span:nth-child(-n+4) { background: #f6f8fa; font-weight: 600; color: var(--ink); }
.v-sheet-grid span:nth-child(4n) { border-right: 0; }
.v-blank { background: repeating-linear-gradient(45deg, transparent 0 5px, #f3f4f7 5px 10px); }
.v-missing { color: #a5281b !important; background: #fdf3f2; font-style: italic; }

.v-card { background: var(--paper); border: 1px solid var(--frost); border-radius: var(--radius-card); padding: 18px 20px; width: 100%; max-width: 400px; font-size: 14px; }
.v-card b { font-weight: 600; }
.v-card small { color: var(--muted); font-size: 13px; }
.v-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.v-meta { display: flex; justify-content: space-between; color: var(--slate); margin-top: 8px; }
.v-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--cobalt); color: #fff; font-size: 11px; font-weight: 600; display: grid; place-items: center; flex-shrink: 0; }
.v-avatar-grey { background: #e6e9ef; color: var(--slate); }

.v-email-head { display: flex; gap: 12px; align-items: center; }
.v-email-head div { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.v-email-head time { font-size: 12px; color: var(--muted); }
.v-attach { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 12px; color: var(--slate); border: 1px solid var(--frost); border-radius: 6px; padding: 5px 10px; }
.v-attach::before { content: "PDF"; font-size: 10px; font-weight: 700; color: #c0392b; }
.v-connector { position: relative; height: 64px; display: flex; align-items: center; justify-content: center; width: 100%; }
.v-connector::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 2px dashed var(--mist); }
.v-connector span { position: relative; background: var(--cobalt); color: #fff; font-size: 12px; font-weight: 500; padding: 5px 12px; border-radius: var(--radius-pill); }
.v-assignee { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--frost); color: var(--slate); }

.chip { display: inline-block; font-size: 12px; font-weight: 500; padding: 3px 10px; border-radius: var(--radius-pill); white-space: nowrap; }
.chip-green { background: #e6f6ec; color: #1a7a43; }
.chip-amber { background: #fdf3e1; color: #a35d00; }
.chip-blue { background: var(--blue-tint); color: var(--cobalt); }
.chip-cycle { position: relative; display: inline-grid; padding: 0; background: none; }
.chip-cycle i { grid-area: 1 / 1; font-style: normal; padding: 3px 10px; border-radius: var(--radius-pill); text-align: center; opacity: 0; animation: cycle 6s infinite; }
.chip-cycle i:nth-child(1) { background: var(--blue-tint); color: var(--cobalt); }
.chip-cycle i:nth-child(2) { background: #fdf3e1; color: #a35d00; animation-delay: 2s; }
.chip-cycle i:nth-child(3) { background: #e6f6ec; color: #1a7a43; animation-delay: 4s; }
@keyframes cycle { 0%, 30% { opacity: 1; } 34%, 100% { opacity: 0; } }

.v-toast { display: flex; gap: 12px; align-items: center; background: var(--paper); border: 1px solid var(--frost); border-radius: var(--radius-card); padding: 12px 16px; width: 100%; max-width: 340px; margin-bottom: 16px; font-size: 14px; animation: toast 5s ease-in-out infinite; }
.v-toast div { display: flex; flex-direction: column; }
.v-toast b { font-weight: 600; }
.v-toast small { color: var(--muted); font-size: 13px; }
.v-bell { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; background: var(--blue-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9a6 6 0 0 1 12 0c0 6 2.5 7.5 2.5 7.5h-17S6 15 6 9zm4 10.5a2 2 0 0 0 4 0' fill='none' stroke='%23127ee3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
@keyframes toast { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.v-toast-phone { margin: 16px 0 0; }
.v-toast-warn { margin: 16px 0 0; }
.v-bell-warn { background-color: #fdf3e1; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='8.5' fill='none' stroke='%23a35d00' stroke-width='1.8'/%3E%3Cpath d='M12 7.5V12l3 2' fill='none' stroke='%23a35d00' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }

/* reporting tab */
.v-sheet-report { margin-top: 0; }
.v-sheet-report .v-sheet-grid { grid-template-columns: 1.2fr 1fr 1.3fr .8fr; }
.v-report { max-width: 420px; }
.v-report-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--frost); }
.v-report-head div { display: flex; flex-direction: column; }
.v-export { flex-shrink: 0; font-size: 12px; font-weight: 500; color: var(--slate); border: 1px solid var(--frost); border-radius: var(--radius-btn); padding: 5px 10px; }
.v-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.v-kpi { border: 1px solid var(--frost); border-left: 3px solid var(--cobalt); border-radius: 8px; padding: 8px 10px; display: flex; flex-direction: column; }
.v-kpi small { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.v-kpi b { font-size: 22px; line-height: 1.2; }
.v-kpi-warn { border-left-color: #d98a00; }
.v-bars { display: grid; grid-template-columns: auto 1fr auto; gap: 8px 12px; align-items: center; margin-top: 16px; color: var(--slate); font-size: 13px; }
.v-finance { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--frost); }
.v-finance div { display: flex; flex-direction: column; }
.v-finance b { font-size: 15px; }

.v-ppm { padding: 8px 0; }
.v-ppm-head { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 20px 12px; border-bottom: 1px solid var(--frost); gap: 8px; }
.v-ppm-row { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 10px 20px; }
.v-ppm-row + .v-ppm-row { border-top: 1px solid #f0f3f7; }
.v-ppm-row small { min-width: 64px; }
.v-compliance { display: flex; align-items: center; gap: 12px; padding: 12px 20px 8px; border-top: 1px solid var(--frost); color: var(--slate); }
.v-bar { flex: 1; height: 8px; background: #eef1f6; border-radius: var(--radius-pill); overflow: hidden; }
.v-bar i { display: block; height: 100%; width: var(--w); background: var(--cobalt); border-radius: inherit; }
.panel.enter .v-bar i, .v-state-after .v-bar i { animation: grow 1.2s cubic-bezier(.22,1,.36,1) .2s both; }
@keyframes grow { from { width: 0; } }

.v-planner { max-width: 440px; }
.v-planner-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.v-week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.v-day { display: grid; grid-template-rows: 18px repeat(7, 22px); gap: 3px; position: relative; background: #fafbfd; border-radius: 6px; padding: 4px; }
.v-day small { font-size: 11px; text-align: center; }
.blk { grid-row: var(--r); font-style: normal; font-size: 10px; line-height: 1.2; padding: 3px 4px; border-radius: 4px; background: var(--blue-tint); color: var(--cobalt); border: 1px solid #c9defa; overflow: hidden; }
.blk-ppm { background: #e6f6f1; color: #1a7a5a; border-color: #bfe5d7; }
.blk-off { background: repeating-linear-gradient(45deg, #f1f3f6 0 6px, #e8ebf0 6px 12px); color: var(--muted); border-color: var(--frost); }
.blk-drop { background: var(--cobalt); color: #fff; border-color: var(--cobalt); animation: drop 4s ease-in-out infinite; }
@keyframes drop { 0%, 35% { opacity: 0; transform: translateY(-8px) scale(.96); } 50%, 100% { opacity: 1; transform: none; } }
.v-drag { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; font-weight: 500; padding: 8px 12px; border: 1px dashed var(--electric); border-radius: var(--radius-btn); color: var(--cobalt); background: var(--blue-tint); }
.v-grip { width: 8px; height: 14px; background: radial-gradient(circle, var(--cobalt) 1.2px, transparent 1.4px) 0 0/4px 4px; }

.v-done { display: flex; gap: 12px; align-items: center; max-width: 340px; }
.v-done div { display: flex; flex-direction: column; }
.v-check { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; background: #e6f6ec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 6.8' fill='none' stroke='%231a7a43' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.v-lines { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin-top: 12px; color: var(--slate); }
.v-total { display: flex; justify-content: space-between; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--frost); }
.v-sync { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.sync-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--paper); border: 1px solid var(--frost); border-radius: var(--radius-pill); padding: 7px 14px; font-size: 13px; font-weight: 500; }
.sync-chip i { width: 16px; height: 16px; border-radius: 50%; background: #e6f6ec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 6.8' fill='none' stroke='%231a7a43' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat; }

/* ---------- trial band ---------- */
.band { padding: 0; }
.band-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: var(--ink); color: #fff; border-radius: var(--radius-card); padding: 40px;
}
.band h2 { color: #fff; font-size: clamp(22px, 3vw, 30px); }
.band p { color: #c5cbe0; margin-top: 8px; }
@media (max-width: 640px) {
  .band-inner { flex-direction: column; text-align: center; justify-content: center; padding: 40px 24px; gap: 28px; margin: 0 var(--gutter); }
  .band h2 { font-size: 24px; line-height: 1.3; }
  .band p { margin-top: 12px; }
  .band-inner .btn { width: 100%; }
}
.panorama { margin-top: 40px; border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--frost); background: var(--wash); }
.panorama img { width: 100%; }
@media (max-width: 640px) { .panorama { margin-top: 24px; } }
.band + .pricing { margin-top: var(--section); }

/* ---------- pricing ---------- */
.currency { display: flex; width: fit-content; margin: 0 auto 32px; padding: 3px; gap: 2px; border: 1px solid var(--frost); border-radius: var(--radius-pill); background: var(--paper); }
.currency button { font: 600 14px/1 var(--font); border: 0; background: transparent; color: var(--muted); padding: 9px 18px; border-radius: var(--radius-pill); cursor: pointer; }
.currency button[aria-pressed="true"] { background: var(--cobalt); color: #fff; }
.currency button:focus-visible { outline: none; box-shadow: var(--focus); }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.price-card { position: relative; background: var(--paper); border: 1px solid var(--frost); border-radius: var(--radius-card); padding: 28px 24px; }
.price-card.featured { border-color: var(--electric); }
.price-card h3 { font-size: 20px; letter-spacing: .012em; }
.price-card h3 small { font-size: 15px; font-weight: 500; color: var(--muted); }
.badge { position: absolute; top: -13px; left: 24px; background: var(--cobalt); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: var(--radius-pill); letter-spacing: .02em; }
.price { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px; }
.price .cur { font-size: 24px; font-weight: 600; }
.price .amt { font-size: 48px; font-weight: 600; letter-spacing: .016em; line-height: 1; font-variant-numeric: tabular-nums; }
.price .vat { font-size: 13px; font-weight: 600; color: var(--slate); margin-left: 4px; white-space: nowrap; }
.price .per { font-size: 15px; color: var(--muted); margin-left: 6px; }
.seats { margin: 8px 0 20px; color: var(--slate); font-weight: 500; }
.features-list { list-style: none; padding: 20px 0 0; margin: 20px 0 0; border-top: 1px solid var(--frost); display: grid; gap: 10px; font-size: 14px; color: var(--slate); }
.features-list li { position: relative; padding-left: 26px; }
.features-list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 6.8' fill='none' stroke='%230f77ff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.pricing-note { text-align: center; margin-top: 32px; color: var(--slate); }
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; gap: 28px; }
}

/* ---------- FAQ / features accordion ---------- */
.faq-container { max-width: 880px; }
.accordion { border-top: 1px solid var(--frost); }
.accordion details { border-bottom: 1px solid var(--frost); }
.accordion summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 4px; font-size: 18px; font-weight: 500; letter-spacing: .012em;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: ""; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--frost);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.5v9M3.5 8h9' fill='none' stroke='%23091135' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat;
  transition: transform .2s, background-color .2s;
}
.accordion details[open] summary::after { transform: rotate(45deg); background-color: var(--wash); }
.accordion summary:hover { color: var(--cobalt); }
.accordion summary:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--radius-btn); }
.acc-body { padding: 0 4px 28px; display: grid; gap: 20px; }
.acc-body p { color: var(--slate); max-width: 680px; }
.acc-body .btn { justify-self: start; }
.accordion details[open] .acc-body { animation: rise .35s cubic-bezier(.22,1,.36,1); }
@media (max-width: 560px) { .accordion summary { font-size: 16px; padding: 18px 2px; } }

.shot { border: 1px solid var(--frost); border-radius: var(--radius-card); overflow: hidden; background: var(--wash); }
.shot-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 240px)); gap: 16px; }
.shot-phone { aspect-ratio: 9 / 16; }
.shot-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot-single { max-width: 240px; }

/* ---------- final CTA ---------- */
.final-inner { text-align: center; max-width: 720px; }
.final-inner .lead { margin-top: 16px; }
.final-inner .hero-ctas { margin-top: 32px; }

/* ---------- footer ---------- */
.footer { padding: 40px 0; border-top: 1px solid var(--frost); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.footer .brand-name { font-size: 19px; }
.footer .brand-product { font-size: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-left: auto; }
.footer-links a { font-size: 14px; color: var(--slate); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.legal { width: 100%; font-size: 13px; color: var(--muted); }
@media (max-width: 640px) { .footer-links { margin-left: 0; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .chip-cycle i:nth-child(1) { opacity: 1; }
  .blk-drop { opacity: 1; }
}

/* =========================================================
   Sub-pages: /free-trial and /payment
   ========================================================= */
.page-hero { text-align: center; padding: 72px 0 56px; }
.page-hero h1 { margin-top: 4px; font-size: clamp(34px, 5.6vw, 56px); }
.page-hero .lead { margin: 16px auto 0; max-width: 620px; }
@media (max-width: 720px) { .page-hero { padding: 48px 0 40px; } }

.signup { padding: 64px 0 96px; }
.signup-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 64px; align-items: start; }
.signup-feats h2 { font-size: clamp(24px, 3vw, 32px); }
.signup-feats > .lead { margin-top: 12px; font-size: 17px; }
.trial-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; font-size: 15px; }
.trial-list li { position: relative; padding-left: 30px; line-height: 1.4; }
.trial-list li::before {
  content: ""; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%230f77ff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat;
}
.trial-list-setup { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--frost); grid-template-columns: 1fr; color: var(--slate); }
.trial-list-setup li::before {
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 3l2 4.2 4.6.6-3.4 3.2.9 4.5L10 13.3l-4.1 2.2.9-4.5L3.4 7.8 8 7.2z' fill='none' stroke='%230f77ff' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
  border: 1px solid var(--frost);
}
.star { color: var(--cobalt); font-weight: 600; font-size: .75em; margin-left: 2px; }
.trial-notes { margin-top: 24px; display: grid; gap: 10px; font-size: 13px; color: var(--muted); max-width: 640px; }
.trial-notes .star { margin: 0 4px 0 0; }

.form-card { background: var(--paper); border: 1px solid var(--frost); border-radius: var(--radius-card); padding: 32px; }
.form-card[hidden] { display: none; }
.form-card-head h2 { font-size: 24px; letter-spacing: .012em; }
.form-card-head p { margin-top: 6px; color: var(--slate); font-size: 15px; }
.form-card-head strong { color: var(--ink); font-weight: 600; word-break: break-all; }
.fields { display: grid; gap: 16px; margin: 24px 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label { display: block; font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.field .optional { color: var(--muted); font-weight: 400; }
.field input {
  width: 100%; font: 400 16px/1.4 var(--font); letter-spacing: .008em; color: var(--ink);
  background: var(--paper); border: 1px solid var(--frost); border-radius: var(--radius-btn);
  padding: 11px 14px; transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder { color: var(--mist); }
.field input:hover { border-color: var(--mist); }
.field input:focus { outline: none; border-color: var(--electric); box-shadow: var(--focus); }
.code-input { text-align: center; font-size: 24px !important; letter-spacing: .4em !important; font-weight: 600 !important; font-variant-numeric: tabular-nums; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary:disabled:hover { background: var(--cobalt); }
.form-error { margin: -8px 0 16px; padding: 10px 14px; border-radius: var(--radius-btn); background: #fdf3f2; color: #a5281b; font-size: 14px; }
.form-error a { color: inherit; font-weight: 600; }
.form-legal { margin-top: 16px; font-size: 13px; color: var(--muted); text-align: center; }
/* contact section (home page) — reuses .form-card / .field */
.contact-wrap { max-width: 640px; margin: 0 auto; }
.contact .section-head .lead a { color: var(--cobalt); font-weight: 500; text-underline-offset: 3px; }
.field .req { color: var(--cobalt); }
.field textarea {
  width: 100%; min-height: 128px; resize: vertical; font: 400 16px/1.55 var(--font); letter-spacing: .008em; color: var(--ink);
  background: var(--paper); border: 1px solid var(--frost); border-radius: var(--radius-btn);
  padding: 11px 14px; transition: border-color .15s, box-shadow .15s;
}
.field textarea::placeholder { color: var(--mist); }
.field textarea:hover { border-color: var(--mist); }
.field textarea:focus { outline: none; border-color: var(--electric); box-shadow: var(--focus); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-done { text-align: center; }
.contact-done-tick { width: 56px; height: 56px; border-radius: 50%; background: var(--cobalt); display: flex; align-items: center; justify-content: center; margin: 4px auto 18px; }
.contact-done h3 { font-size: 24px; }
.contact-done p { margin-top: 8px; color: var(--slate); }
.contact-done strong { color: var(--ink); font-weight: 600; word-break: break-all; }
.contact-done-sub { font-size: 14px; }
.contact-direct { margin-top: 24px; text-align: center; font-size: 15px; color: var(--slate); }
.contact-direct a { color: var(--cobalt); font-weight: 600; text-decoration: none; }
.contact-direct a:hover { text-decoration: underline; }

.form-links { display: flex; justify-content: center; gap: 8px; }
.form-links button { font: inherit; color: var(--slate); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
.form-links button:disabled { color: var(--muted); text-decoration: none; cursor: default; }
.form-links button:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }

@media (min-width: 961px) { .signup-form-wrap { position: sticky; top: 88px; } }
@media (max-width: 960px) {
  .signup-grid { grid-template-columns: 1fr; gap: 40px; }
  .signup-form-wrap { order: -1; max-width: 520px; width: 100%; margin: 0 auto; }
}
@media (max-width: 560px) {
  .signup { padding: 40px 0 64px; }
  .trial-list { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }
  .field-row { grid-template-columns: 1fr; gap: 16px; }
}

/* payment */
.page-pricing { padding-top: 72px; }
.h1-section { font-size: clamp(30px, 4.4vw, 44px); line-height: 1.2; letter-spacing: .016em; margin: 0; max-width: none; }
.offer {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 14px;
  max-width: 720px; margin: 0 auto 32px; padding: 16px 24px; text-align: center;
  background: var(--blue-tint); border: 1px solid #c9defa; border-radius: var(--radius-card);
}
.offer-tag { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: var(--cobalt); padding: 5px 12px; border-radius: var(--radius-pill); }
.offer p { font-size: 18px; font-weight: 600; color: var(--ink); }
@media (max-width: 720px) { .page-pricing { padding-top: 48px; } .offer { flex-direction: column; } }

/* =========================================================
   Blog: /blog and /blog/<post>
   ========================================================= */
.blog-list { padding: 0 0 96px; }
.post-cards { list-style: none; padding: 0; margin: 0 auto; max-width: 800px; display: grid; gap: 20px; }
.post-card a { display: block; text-decoration: none; background: var(--paper); border: 1px solid var(--frost); border-radius: var(--radius-card); padding: 28px; transition: border-color .15s; }
.post-card a:hover { border-color: var(--electric); }
.post-card a:focus-visible { outline: none; box-shadow: var(--focus); }
.post-card h2 { font-size: clamp(22px, 3vw, 26px); line-height: 1.3; }
.post-card p { margin-top: 10px; color: var(--slate); }
.post-meta { font-size: 14px; color: var(--muted); }
.post-card .post-meta { margin: 0 0 10px; }
.read-more { display: inline-block; margin-top: 16px; font-weight: 500; color: var(--cobalt); }

.post { padding: 56px 0 80px; }
.post-container { max-width: 760px; }
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--slate); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.post-header { margin: 20px 0 40px; padding-bottom: 32px; border-bottom: 1px solid var(--frost); }
.post-header h1 { margin: 0 0 16px; font-size: clamp(34px, 5.4vw, 52px); max-width: none; }
.prose { font-size: 17px; line-height: 1.7; color: var(--slate); }
.prose > * + * { margin-top: 20px; }
.prose h2 { font-size: clamp(24px, 3.2vw, 30px); line-height: 1.25; margin-top: 56px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--cobalt); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--cobalt-hover); }
.prose ul, .prose ol { padding-left: 24px; }
.prose li + li { margin-top: 10px; }
.prose li::marker { color: var(--cobalt); }
.prose .check-list { list-style: none; padding-left: 0; }
.prose .check-list li { position: relative; padding-left: 32px; }
.prose .check-list li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border: 1.5px solid var(--mist); border-radius: 4px; background: var(--paper); }
.table-wrap { overflow-x: auto; border: 1px solid var(--frost); border-radius: var(--radius-card); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--frost); }
.prose thead th { background: var(--wash); color: var(--ink); font-weight: 600; }
.prose tbody th { color: var(--ink); font-weight: 600; }
.prose tr:last-child > * { border-bottom: 0; }
.prose td + td, .prose th + td, .prose th + th { border-left: 1px solid var(--frost); }
@media (max-width: 640px) { .prose table { min-width: 560px; } }
.faq-list { display: grid; gap: 20px; }
.faq-list h3 { font-size: 18px; line-height: 1.4; color: var(--ink); }
.faq-list p { margin-top: 6px; }
.post-cta { margin-top: 56px; padding: 32px; border-radius: var(--radius-card); background: var(--wash); text-align: center; }
.post-cta h2 { font-size: clamp(22px, 3vw, 28px); }
.post-cta p { margin-top: 10px; color: var(--slate); }
.post-cta p a { color: var(--cobalt); text-decoration: underline; text-underline-offset: 2px; }
.post-cta .hero-ctas { margin-top: 24px; }
@media (max-width: 560px) { .post { padding-top: 32px; } .post-cta { padding: 28px 20px; } .prose { font-size: 16px; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ============ Apple install guide (/apple) ============ */
.ios-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; padding: 0; margin: 24px 0 0; }
.ios-pills li { font-size: 14px; font-weight: 500; color: var(--ink); background: var(--blue-tint); padding: 6px 14px; border-radius: var(--radius-pill); }
.ios-guide { padding: 64px 0 var(--section); }
.ios-steps { list-style: none; padding: 0; margin: 0 auto; max-width: 880px; display: grid; gap: 16px; }
.ios-step {
  display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 24px;
  background: var(--paper); border: 1px solid var(--frost); border-radius: var(--radius-card); padding: 28px;
}
.ios-step-copy { display: flex; gap: 16px; align-items: flex-start; }
.ios-num {
  flex-shrink: 0; width: 36px; height: 36px; display: grid; place-items: center;
  background: var(--cobalt); color: #fff; font-weight: 700; border-radius: 50%;
}
.ios-step h2 { font-size: 20px; line-height: 1.3; letter-spacing: .01em; margin-top: 5px; }
.ios-step p { margin-top: 6px; color: var(--slate); }
.ios-step p a { color: var(--cobalt); text-decoration: underline; text-underline-offset: 2px; word-break: break-word; }
.ios-tip { margin-top: 12px !important; font-size: 14px; background: var(--wash); border-radius: var(--radius-btn); padding: 8px 12px; }
.ios-dots { display: inline-block; background: var(--paper); border: 1px solid var(--frost); border-radius: var(--radius-pill); padding: 0 8px; font-weight: 700; letter-spacing: .1em; }
.ios-visual { display: flex; justify-content: center; align-items: center; min-height: 96px; background: var(--wash); border-radius: var(--radius-btn); padding: 20px; }

.ios-urlbar {
  display: flex; align-items: center; gap: 8px; width: 100%; max-width: 280px; justify-content: center;
  background: #e9e9ee; color: #1c1c1e; border-radius: 12px; padding: 11px 16px; font-size: 16px; font-weight: 500;
  box-shadow: 0 1px 2px rgba(12, 43, 100, .12);
}
.ios-urlbar svg { color: #8e8e93; }
.ios-share {
  width: 76px; height: 76px; display: grid; place-items: center; color: #0a84ff;
  background: var(--paper); border-radius: 18px; box-shadow: 0 0 0 4px rgba(10, 132, 255, .18), 0 4px 14px rgba(12, 43, 100, .12);
}
.ios-sheet { width: 100%; max-width: 280px; background: var(--paper); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 14px rgba(12, 43, 100, .12); }
.ios-sheet-row { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; font-size: 15px; color: #1c1c1e; border-top: 1px solid #ececf0; }
.ios-sheet-row:first-child { border-top: 0; }
.ios-sheet-row svg { color: #3a3a3c; }
.ios-sheet-row.is-active { background: rgba(10, 132, 255, .1); font-weight: 600; box-shadow: inset 3px 0 0 #0a84ff; }
.ios-addbar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; max-width: 300px;
  background: var(--paper); border-radius: 12px; padding: 12px 14px; font-size: 14px; color: #1c1c1e; box-shadow: 0 4px 14px rgba(12, 43, 100, .12);
}
.ios-addbar b { font-weight: 600; white-space: nowrap; }
.ios-cancel { color: #0a84ff; }
.ios-add { color: #fff; background: #0a84ff; font-weight: 600; padding: 4px 12px; border-radius: var(--radius-pill); box-shadow: 0 0 0 4px rgba(10, 132, 255, .2); }

.ios-done {
  max-width: 880px; margin: 40px auto 0; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 40px;
  background: var(--ink); color: #fff; border-radius: var(--radius-card); padding: 40px;
}
.ios-done h2 { color: #fff; font-size: clamp(24px, 3.4vw, 32px); line-height: 1.25; }
.ios-done .lead { color: #c9cde0; margin-top: 12px; }
.ios-done .eyebrow { color: #7fb8ff; }
.ios-home {
  display: flex; gap: 18px; padding: 24px 22px; border-radius: 22px;
  background: linear-gradient(150deg, #3b5bdb 0%, #127ee3 55%, #5cc8ff 100%);
}
.ios-app { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 64px; font-size: 11px; color: #fff; text-align: center; line-height: 1.2; }
.ios-app-icon { width: 60px; height: 60px; border-radius: 14px; background: #fff; display: block; object-fit: cover; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); }
.ios-app-icon.ghost { background: rgba(255, 255, 255, .35); box-shadow: none; }
.ios-app:nth-child(2) .ios-app-icon { outline: 3px solid rgba(255, 255, 255, .85); outline-offset: 2px; }

.ios-android {
  max-width: 880px; margin: 24px auto 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--paper); border: 1px solid var(--frost); border-radius: var(--radius-card); padding: 20px 28px;
}
.ios-android p { color: var(--slate); }
.ios-android p b { color: var(--ink); }

@media (max-width: 720px) {
  .ios-guide { padding-top: 40px; }
  .ios-step { grid-template-columns: 1fr; padding: 20px; gap: 16px; }
  .ios-done { grid-template-columns: 1fr; gap: 24px; padding: 28px 20px; justify-items: center; text-align: center; }
  .ios-android { padding: 20px; }
}
@media (max-width: 380px) {
  .ios-home { gap: 10px; padding: 20px 14px; }
}
