/* staffprime.in. Brand font and colours from the app (apps/mobile/lib/core/theme). */

@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 400; font-display: swap; src: url('/assets/fonts/PlusJakartaSans-Regular.ttf') format('truetype'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 500; font-display: swap; src: url('/assets/fonts/PlusJakartaSans-Medium.ttf') format('truetype'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 600; font-display: swap; src: url('/assets/fonts/PlusJakartaSans-SemiBold.ttf') format('truetype'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 700; font-display: swap; src: url('/assets/fonts/PlusJakartaSans-Bold.ttf') format('truetype'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-display: swap; src: url('/assets/fonts/PlusJakartaSans-ExtraBold.ttf') format('truetype'); }

:root {
  --ink: #0b1220;
  --ink-2: #1d2939;
  --ink-line: #2b3648;
  --text: #101828;
  --muted: #475467;
  --faint: #667085;
  --line: #e4e7ec;
  --line-2: #d0d5dd;
  --bg: #ffffff;
  --subtle: #f8f9fb;
  --subtle-2: #f2f4f7;
  --mint: #34d399;
  --accent: #067647;
  --accent-bg: #ecfdf3;
  --accent-line: #abefc6;
  --amber: #b54708;
  --amber-bg: #fffaeb;
  --red: #b42318;
  --red-bg: #fef3f2;
  --blue: #175cd3;
  --blue-bg: #eff8ff;
  --radius: 8px;
  --radius-lg: 12px;
  --max: 1200px;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-lg: 0 24px 48px -12px rgba(16, 24, 40, 0.18), 0 2px 6px rgba(16, 24, 40, 0.06);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 700; letter-spacing: -0.025em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.num { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.site-header > .wrap { display: flex; align-items: center; height: 68px; gap: 40px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--text); }
.header-actions { display: flex; gap: 20px; align-items: center; margin-left: auto; }
.header-actions .link { color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; }
.header-actions .link:hover { color: var(--accent); }
@media (max-width: 960px) { .nav { display: none; } }
@media (max-width: 480px) { .header-actions .link { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: 15px; line-height: 20px;
  padding: 10px 16px; border-radius: var(--radius); border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
}
.btn-lg { font-size: 16px; padding: 12px 20px; }
.btn-primary { background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--ink-2); }
.btn-secondary { background: #fff; color: var(--text); border-color: var(--line-2); box-shadow: var(--shadow); }
.btn-secondary:hover { background: var(--subtle); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--subtle-2); }
.btn-outline-dark { color: #fff; border-color: var(--ink-line); }
.btn-outline-dark:hover { border-color: #667085; }
.btn svg { width: 18px; height: 18px; flex: none; }
.arrow-link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; text-decoration: none; }
.arrow-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Hero ---------- */
.hero { padding: 80px 0 0; background: linear-gradient(var(--bg), var(--subtle)); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-copy { max-width: 760px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--muted);
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 4px 12px 4px 4px; box-shadow: var(--shadow);
}
.badge b { background: var(--accent-bg); color: var(--accent); border-radius: 999px; padding: 2px 8px; font-weight: 700; font-size: 12px; }
.hero h1 { font-size: clamp(38px, 5.6vw, 64px); letter-spacing: -0.04em; line-height: 1.04; margin: 24px 0 20px; }
.hero .lead { font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 640px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 28px; color: var(--muted); font-size: 14px; font-weight: 500; }
.hero-facts span { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 16px; height: 16px; color: var(--accent); }
@media (max-width: 600px) { .hero { padding-top: 48px; } .hero .lead { font-size: 17px; } }

/* App window in the hero */
.showcase { position: relative; margin-top: 64px; }
.window {
  background: #fff; border: 1px solid var(--line-2); border-bottom: 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0; box-shadow: var(--shadow-lg);
  overflow: hidden; display: grid; grid-template-columns: 220px 1fr; min-height: 470px;
}
.win-side { background: var(--subtle); border-right: 1px solid var(--line); padding: 16px 12px; font-size: 14px; }
.win-org { display: flex; align-items: center; gap: 10px; padding: 6px 8px 14px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.win-org .logo { width: 30px; height: 30px; border-radius: 6px; background: var(--ink); color: var(--mint); display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.win-org b { display: block; font-size: 14px; line-height: 1.2; }
.win-org small { color: var(--faint); font-size: 12px; }
.win-nav { list-style: none; display: grid; gap: 2px; }
.win-nav li { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 6px; color: var(--muted); font-weight: 500; }
.win-nav li svg { width: 16px; height: 16px; }
.win-nav li.on { background: #fff; color: var(--text); font-weight: 600; box-shadow: var(--shadow); border: 1px solid var(--line); }
.win-nav .count { margin-left: auto; background: var(--red-bg); color: var(--red); font-size: 11px; font-weight: 700; padding: 0 6px; border-radius: 999px; }
.win-main { padding: 20px 24px; min-width: 0; }
.win-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.win-head h3 { font-size: 18px; letter-spacing: -0.01em; }
.win-head .sub { color: var(--faint); font-size: 13px; }
.win-head .spacer { flex: 1; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-2); border-radius: 6px; padding: 4px 10px; font-size: 13px; font-weight: 500; color: var(--muted); background: #fff; }
.chip.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 16px 0; }
.kpi { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.kpi small { display: block; color: var(--faint); font-size: 12px; font-weight: 500; }
.kpi b { font-size: 22px; letter-spacing: -0.02em; }
.kpi em { font-style: normal; font-size: 12px; font-weight: 600; margin-left: 6px; }
.kpi em.up { color: var(--accent); }
.kpi em.warn { color: var(--amber); }
.register-scroll { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); position: relative; }
.register { border-collapse: collapse; width: 100%; font-size: 13px; }
.register th, .register td { border-bottom: 1px solid var(--line); padding: 0; height: 38px; text-align: center; white-space: nowrap; }
.register thead th { background: var(--subtle); color: var(--faint); font-weight: 600; font-size: 11px; height: 40px; line-height: 1.2; }
.register thead th span { display: block; font-size: 12px; color: var(--muted); }
.register th.name, .register td.name { text-align: left; padding: 0 12px; min-width: 160px; }
.register td.name b { font-weight: 600; display: block; line-height: 1.2; }
.register td.name small { color: var(--faint); font-size: 11px; }
.register td.total { font-weight: 700; padding: 0 10px; }
.register tr:last-child td { border-bottom: 0; }
.cell { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 5px; font-size: 11px; font-weight: 700; }
.c-p { background: var(--accent-bg); color: var(--accent); }
.c-l { background: var(--amber-bg); color: var(--amber); }
.c-a { background: var(--red-bg); color: var(--red); }
.c-lv { background: var(--blue-bg); color: var(--blue); }
.c-h { background: #f4f3ff; color: #5925dc; }
.c-wo { background: var(--subtle-2); color: var(--faint); }
.c-hd { background: linear-gradient(135deg, var(--accent-bg) 50%, var(--subtle-2) 50%); color: var(--accent); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: 12px; color: var(--faint); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend .cell { width: 18px; height: 18px; font-size: 10px; }

.window { grid-template-columns: minmax(0, 1fr) 280px; }
.win-rail { border-left: 1px solid var(--line); background: var(--subtle); display: flex; flex-direction: column; font-size: 13px; }
.rail-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 18px 12px; }
.rail-head b { font-size: 14px; }
.feed { list-style: none; padding: 0 12px; display: grid; gap: 8px; }
.feed li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }
.feed b { display: block; font-size: 13px; line-height: 1.3; }
.feed small { display: block; color: var(--faint); font-size: 12px; margin-bottom: 6px; }
.rail-foot { margin-top: auto; display: flex; justify-content: space-between; padding: 14px 18px; border-top: 1px solid var(--line); color: var(--faint); }
.rail-foot b { color: var(--text); }
@media (max-width: 1080px) { .window { grid-template-columns: 1fr; } .win-side, .win-rail { display: none; } }
@media (max-width: 700px) {
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .register th.d, .register td.d { display: none; }
  .register th.d.keep, .register td.d.keep { display: table-cell; }
  .register .extra { display: none; }
  .register th.name, .register td.name { min-width: 0; padding: 0 8px 0 10px; }
  .win-main { padding: 16px; }
  .showcase { margin-top: 48px; }
}

/* ---------- Industries strip ---------- */
.industries { padding: 28px 0; border-bottom: 1px solid var(--line); }
.industries .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.industries p { color: var(--faint); font-size: 14px; font-weight: 500; flex: none; }
.industries ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.industries li { font-weight: 600; color: var(--muted); font-size: 15px; }

/* ---------- Sections ---------- */
.section { padding: 112px 0; }
.section.alt { background: var(--subtle); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head .label { display: block; color: var(--accent); font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.section-head h2 { font-size: clamp(30px, 3.8vw, 44px); letter-spacing: -0.035em; }
.section-head p { font-size: 18px; color: var(--muted); margin-top: 16px; }
.section-head.split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.section-head.split p { margin-top: 0; }
@media (max-width: 860px) { .section { padding: 72px 0; } .section-head { margin-bottom: 36px; } .section-head.split { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- Product tour (tabs) ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 48px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  font: inherit; font-size: 15px; font-weight: 600; color: var(--faint);
  background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
  padding: 12px 16px; cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px;
}
.tab svg { width: 18px; height: 18px; }
.tab:hover { color: var(--text); }
.tab[aria-selected='true'] { color: var(--text); border-bottom-color: var(--ink); }
.panel { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.panel[hidden] { display: none; }
.panel h3 { font-size: 28px; letter-spacing: -0.03em; }
.panel > div > p { color: var(--muted); font-size: 17px; margin-top: 14px; }
.checks { list-style: none; display: grid; gap: 14px; margin-top: 28px; }
.checks li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; color: var(--muted); font-size: 15px; }
.checks li b { color: var(--text); font-weight: 600; }
.checks svg { width: 20px; height: 20px; color: var(--accent); margin-top: 2px; }
@media (max-width: 960px) { .panel { grid-template-columns: 1fr; gap: 36px; } }

/* UI cards used in the tour */
.ui { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; font-size: 14px; }
.ui-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.ui-head b { font-size: 15px; }
.ui-head small { color: var(--faint); }
.ui-head .spacer { flex: 1; }
.ui-body { padding: 18px; }
.ui-table { width: 100%; border-collapse: collapse; }
.ui-table th { text-align: left; font-size: 12px; font-weight: 600; color: var(--faint); padding: 10px 18px; background: var(--subtle); border-bottom: 1px solid var(--line); }
.ui-table td { padding: 12px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ui-table tr:last-child td { border-bottom: 0; }
.ui-table td.r, .ui-table th.r { text-align: right; }
.person { display: flex; align-items: center; gap: 10px; }
.av { width: 30px; height: 30px; border-radius: 50%; background: var(--subtle-2); color: var(--muted); display: grid; place-items: center; font-size: 11px; font-weight: 700; flex: none; border: 1px solid var(--line); }
.person b { display: block; font-weight: 600; line-height: 1.25; }
.person small { color: var(--faint); font-size: 12px; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 2px 8px; border: 1px solid; white-space: nowrap; }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.s-ok { color: var(--accent); background: var(--accent-bg); border-color: var(--accent-line); }
.s-warn { color: var(--amber); background: var(--amber-bg); border-color: #fedf89; }
.s-info { color: var(--blue); background: var(--blue-bg); border-color: #b2ddff; }
.s-muted { color: var(--muted); background: var(--subtle); border-color: var(--line-2); }
.mini-btns { display: inline-flex; gap: 6px; }
.mini-btn { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 6px; border: 1px solid var(--line-2); background: #fff; color: var(--text); }
.mini-btn.go { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (max-width: 560px) { .ui-table .hide-sm { display: none; } .ui-table td, .ui-table th { padding-left: 12px; padding-right: 12px; } }

/* Payslip */
.slip-meta { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.slip-meta div { padding: 12px 18px; border-right: 1px solid var(--line); }
.slip-meta div:last-child { border-right: 0; }
.slip-meta small { display: block; color: var(--faint); font-size: 12px; }
.slip-meta b { font-size: 15px; }
.slip-cols { display: grid; grid-template-columns: 1fr 1fr; }
.slip-cols > div { padding: 14px 18px; }
.slip-cols > div + div { border-left: 1px solid var(--line); }
.slip-cols h4 { font-size: 12px; font-weight: 600; color: var(--faint); letter-spacing: 0; margin-bottom: 8px; }
.line { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; color: var(--muted); }
.line span:last-child { color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; }
.line.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; color: var(--text); font-weight: 600; }
.slip-net { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; background: var(--subtle); border-top: 1px solid var(--line); }
.slip-net small { display: block; color: var(--faint); font-size: 12px; }
.slip-net b { font-size: 24px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .slip-meta { grid-template-columns: repeat(2, 1fr); } .slip-meta div:nth-child(2) { border-right: 0; } .slip-meta div:nth-child(-n + 2) { border-bottom: 1px solid var(--line); } .slip-cols { grid-template-columns: 1fr; } .slip-cols > div + div { border-left: 0; border-top: 1px solid var(--line); } }

/* Leave balances */
.balances { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 18px; border-bottom: 1px solid var(--line); }
.bal small { color: var(--faint); font-size: 12px; display: block; }
.bal b { font-size: 20px; }
.bal b span { font-size: 13px; color: var(--faint); font-weight: 500; }
.bar { height: 6px; background: var(--subtle-2); border-radius: 999px; margin-top: 8px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--ink); border-radius: 999px; }

/* ---------- Compliance grid ---------- */
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; overflow: hidden; }
.spec { padding: 28px; border-right: 1px solid var(--line); }
.spec:last-child { border-right: 0; }
.spec .code { font-size: 13px; font-weight: 700; color: var(--accent); background: var(--accent-bg); border-radius: 6px; padding: 2px 8px; }
.spec h3 { font-size: 18px; margin: 16px 0 8px; letter-spacing: -0.01em; }
.spec p { color: var(--muted); font-size: 15px; }
.spec dl { margin: 16px 0 0; display: grid; gap: 6px; font-size: 14px; }
.spec dl div { display: flex; justify-content: space-between; gap: 8px; border-top: 1px dashed var(--line); padding-top: 6px; }
.spec dt { color: var(--faint); }
.spec dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.footnote { margin-top: 16px; color: var(--faint); font-size: 13px; }
@media (max-width: 1000px) { .spec-grid { grid-template-columns: repeat(2, 1fr); } .spec:nth-child(2) { border-right: 0; } .spec:nth-child(-n + 2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .spec-grid { grid-template-columns: 1fr; } .spec { border-right: 0; border-bottom: 1px solid var(--line); } .spec:last-child { border-bottom: 0; } }

.also { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 48px; border-top: 1px solid var(--line); }
.also div { padding: 24px 24px 0 0; }
.also h4 { font-size: 16px; letter-spacing: -0.01em; margin-bottom: 6px; }
.also p { color: var(--muted); font-size: 15px; }
@media (max-width: 800px) { .also { grid-template-columns: 1fr; } }

/* ---------- Two audiences ---------- */
.audiences { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.aud { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; background: #fff; }
.aud .who { font-size: 13px; font-weight: 600; color: var(--faint); }
.aud h3 { font-size: 24px; margin: 8px 0 20px; letter-spacing: -0.02em; }
.aud ul { list-style: none; display: grid; gap: 0; }
.aud li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.aud li b { color: var(--text); font-weight: 600; }
.aud li span:last-child { color: var(--faint); font-size: 13px; text-align: right; flex: none; }
@media (max-width: 860px) { .audiences { grid-template-columns: 1fr; } .aud { padding: 24px; } }

/* ---------- Security ---------- */
.security { background: var(--ink); color: #fff; }
.security .section-head h2 { color: #fff; }
.security .section-head p { color: #98a2b3; }
.security .section-head .label { color: var(--mint); }
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink-line); border-left: 1px solid var(--ink-line); }
.sec { padding: 28px; border-right: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line); }
.sec svg { width: 22px; height: 22px; color: var(--mint); }
.sec h3 { font-size: 17px; margin: 16px 0 8px; letter-spacing: -0.01em; }
.sec p { color: #98a2b3; font-size: 15px; }
@media (max-width: 900px) { .sec-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .sec-grid { grid-template-columns: 1fr; } .sec { padding: 24px 20px; } }

/* ---------- Pricing ---------- */
.billing { display: inline-flex; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 3px; background: #fff; box-shadow: var(--shadow); }
.billing button { font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); background: none; border: 0; border-radius: 6px; padding: 7px 14px; cursor: pointer; }
.billing button[aria-pressed='true'] { background: var(--ink); color: #fff; }
.billing .save { color: var(--accent); font-weight: 700; margin-left: 4px; }
.billing button[aria-pressed='true'] .save { color: var(--mint); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; overflow: hidden; margin-top: 32px; }
.plan { padding: 32px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.plan:last-child { border-right: 0; }
.plan.rec { background: linear-gradient(var(--subtle), #fff 140px); }
.plan .name { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.plan h3 { font-size: 20px; letter-spacing: -0.01em; }
.plan .rec-tag { font-size: 12px; font-weight: 600; color: var(--accent); }
.plan .for { color: var(--muted); font-size: 15px; margin-top: 6px; min-height: 48px; }
.price { margin-top: 20px; display: flex; align-items: baseline; gap: 6px; }
.price b { font-size: 44px; letter-spacing: -0.04em; font-weight: 700; font-variant-numeric: tabular-nums; }
.price span { color: var(--faint); font-weight: 500; }
.price-note { font-size: 13px; color: var(--faint); margin-top: 2px; min-height: 21px; }
.plan .btn { margin-top: 24px; width: 100%; }
.plan ul { list-style: none; margin-top: 28px; display: grid; gap: 12px; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 15px; color: var(--muted); }
.plan li svg { width: 18px; height: 18px; color: var(--accent); margin-top: 3px; }
.plan li b { color: var(--text); font-weight: 600; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } .plan { border-right: 0; border-bottom: 1px solid var(--line); } .plan:last-child { border-bottom: 0; } .plan .for { min-height: 0; } }

.compare-wrap { margin-top: 56px; overflow-x: auto; }
.compare { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; padding-left: 0; }
.compare thead th { font-size: 15px; font-weight: 700; border-bottom: 1px solid var(--line-2); }
.compare .group td { font-size: 13px; font-weight: 700; color: var(--faint); padding-top: 28px; border-bottom: 1px solid var(--line-2); }
.compare td { color: var(--muted); }
.compare .yes { color: var(--accent); }
.compare .yes svg, .compare .no svg { width: 18px; height: 18px; display: inline-block; vertical-align: middle; }
.compare .no { color: var(--line-2); }
.pricing-foot { margin-top: 20px; color: var(--faint); font-size: 14px; }

/* ---------- Referral ---------- */
.refer-box { display: grid; grid-template-columns: 1.1fr 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.refer-box > div { padding: 32px; border-right: 1px solid var(--line); }
.refer-box > div:last-child { border-right: 0; }
.refer-box h3 { font-size: 24px; letter-spacing: -0.02em; }
.refer-box p { color: var(--muted); font-size: 15px; margin-top: 10px; }
.refer-box .who { font-size: 13px; font-weight: 600; color: var(--faint); }
.refer-box .big { display: block; font-size: 32px; font-weight: 700; letter-spacing: -0.03em; margin-top: 8px; }
@media (max-width: 900px) { .refer-box { grid-template-columns: 1fr; } .refer-box > div { border-right: 0; border-bottom: 1px solid var(--line); } .refer-box > div:last-child { border-bottom: 0; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; }
.faq div { padding: 24px 0; border-top: 1px solid var(--line); }
.faq h3 { font-size: 17px; letter-spacing: -0.01em; margin-bottom: 8px; }
.faq p { color: var(--muted); font-size: 15px; }
.faq a { color: var(--accent); font-weight: 600; }
@media (max-width: 800px) { .faq { grid-template-columns: 1fr; } }

/* ---------- Closing ---------- */
.closing { background: var(--ink); color: #fff; padding: 88px 0; }
.closing .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.closing h2 { font-size: clamp(30px, 3.6vw, 42px); letter-spacing: -0.035em; }
.closing p { color: #98a2b3; font-size: 18px; margin-top: 14px; }
.closing .hero-ctas { margin-top: 0; justify-content: flex-end; }
@media (max-width: 860px) { .closing .wrap { grid-template-columns: 1fr; } .closing .hero-ctas { justify-content: flex-start; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--subtle); border-top: 1px solid var(--line); padding: 64px 0 32px; font-size: 15px; color: var(--muted); }
.site-footer .cols { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.site-footer .brand img { height: 46px; }
.site-footer .about { margin-top: 16px; max-width: 300px; }
.site-footer h4 { color: var(--text); font-size: 14px; font-weight: 600; letter-spacing: 0; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.site-footer .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); margin-top: 48px; padding-top: 24px; font-size: 14px; color: var(--faint); }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } .site-footer .cols > :first-child { grid-column: 1 / -1; } }

/* ---------- Document pages (privacy, terms, delete account) ---------- */
.doc-head { padding: 64px 0 40px; border-bottom: 1px solid var(--line); background: var(--subtle); }
.doc-head .crumbs { font-size: 14px; color: var(--faint); margin-bottom: 16px; }
.doc-head .crumbs a { text-decoration: none; }
.doc-head .crumbs a:hover { color: var(--text); }
.doc-head h1 { font-size: clamp(32px, 4.4vw, 48px); letter-spacing: -0.035em; }
.doc-head p { color: var(--muted); margin-top: 12px; font-size: 17px; max-width: 680px; }
.doc { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 72px; padding-top: 56px; padding-bottom: 104px; }
.toc { position: sticky; top: 100px; align-self: start; font-size: 14px; }
.toc b { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 12px; }
.toc ol { list-style: none; display: grid; gap: 8px; border-left: 1px solid var(--line); }
.toc a { display: block; color: var(--faint); text-decoration: none; padding-left: 14px; margin-left: -1px; border-left: 1px solid transparent; }
.toc a:hover { color: var(--text); border-left-color: var(--ink); }
.prose h2 { font-size: 22px; letter-spacing: -0.02em; margin: 48px 0 12px; padding-top: 8px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 17px; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 22px; margin: 14px 0; }
.prose li + li { margin-top: 8px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--accent); font-weight: 600; }
.prose .table-scroll { overflow-x: auto; margin: 18px 0; border: 1px solid var(--line); border-radius: var(--radius); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }
.prose th { color: var(--text); font-weight: 600; background: var(--subtle); font-size: 14px; }
.callout { background: var(--subtle); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 24px 0; }
@media (max-width: 900px) { .doc { grid-template-columns: 1fr; gap: 0; padding-top: 40px; } .toc { display: none; } }

.not-found { min-height: 64vh; display: grid; place-items: center; text-align: center; padding: 80px 16px; }
.not-found .code { font-size: 14px; font-weight: 600; color: var(--accent); }
.not-found h1 { font-size: clamp(32px, 4vw, 44px); letter-spacing: -0.035em; margin: 12px 0; }
.not-found p { color: var(--muted); margin: 0 auto 28px; max-width: 460px; }
.not-found .hero-ctas { justify-content: center; }

/* ---------- Navigation: dropdown, current page, phone menu ---------- */
.nav { align-items: center; }
.nav a[aria-current='page'], .nav .dropdown.current .nav-btn { color: var(--text); font-weight: 600; }
.dropdown { position: relative; }
.nav-btn { display: inline-flex; align-items: center; gap: 4px; font: inherit; font-size: 15px; font-weight: 500; color: var(--muted); background: none; border: 0; padding: 0; cursor: pointer; }
.nav-btn:hover, .dropdown.open .nav-btn { color: var(--text); }
.nav-btn svg { width: 16px; height: 16px; transition: transform 0.15s; }
.dropdown.open .nav-btn svg { transform: rotate(180deg); }
.menu {
  position: absolute; top: calc(100% + 18px); left: -20px; width: 360px; z-index: 60;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 8px; display: none;
}
.menu::before { content: ''; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.dropdown.open .menu { display: grid; }
@media (hover: hover) { .dropdown:hover .menu { display: grid; } .dropdown:hover .nav-btn svg { transform: rotate(180deg); } }
.menu a { display: grid; grid-template-columns: 20px 1fr; gap: 12px; padding: 10px 12px; border-radius: var(--radius); text-decoration: none; color: var(--text); }
.menu a:hover, .menu a[aria-current='page'] { background: var(--subtle); }
.menu svg { width: 20px; height: 20px; color: var(--accent); margin-top: 2px; }
.menu b { display: block; font-size: 15px; font-weight: 600; }
.menu small { color: var(--faint); font-size: 13px; }

.menu-toggle { display: none; width: 40px; height: 40px; border-radius: var(--radius); border: 1px solid var(--line-2); background: #fff; color: var(--text); cursor: pointer; place-items: center; }
.menu-toggle svg { width: 20px; height: 20px; }
.menu-toggle .shut, .menu-toggle[aria-expanded='true'] .open { display: none; }
.menu-toggle[aria-expanded='true'] .shut { display: block; }
.mobile-menu { border-top: 1px solid var(--line); background: #fff; max-height: calc(100vh - 68px); overflow-y: auto; }
.mobile-menu .wrap { display: grid; padding-top: 8px; padding-bottom: 24px; }
.mobile-menu a:not(.btn) { padding: 12px 0; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-menu a[aria-current='page'] { color: var(--accent); }
.mm-label { font-size: 13px; font-weight: 600; color: var(--faint); margin-top: 20px; }
.mm-actions { display: grid; gap: 10px; margin-top: 24px; }
body.menu-open { overflow: hidden; }
@media (max-width: 960px) {
  .menu-toggle { display: grid; }
  .header-actions .btn-primary { display: none; }
}
@media (min-width: 961px) { .mobile-menu { display: none; } }

.site-footer .store { margin-top: 20px; }
.site-footer .store .btn { font-size: 14px; padding: 8px 14px; }
.site-footer a[aria-current='page'] { color: var(--text); font-weight: 600; }

/* ---------- Inner pages ---------- */
.page-top { padding: 72px 0 64px; background: linear-gradient(var(--bg), var(--subtle)); border-bottom: 1px solid var(--line); }
.page-top .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.page-top .grid.solo { grid-template-columns: minmax(0, 760px); }
.crumbs { font-size: 14px; color: var(--faint); margin-bottom: 20px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.page-top h1 { font-size: clamp(34px, 4.6vw, 54px); letter-spacing: -0.04em; line-height: 1.06; }
.page-top .lead { font-size: 19px; color: var(--muted); margin-top: 20px; max-width: 620px; }
.page-top .hero-ctas { margin-top: 28px; }
@media (max-width: 960px) { .page-top { padding: 48px 0; } .page-top .grid { grid-template-columns: 1fr; gap: 40px; } .page-top .lead { font-size: 17px; } }

.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature-row + .feature-row { margin-top: 96px; }
.feature-row.flip > :first-child { order: 2; }
.feature-row h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.03em; }
.feature-row > div > p { color: var(--muted); font-size: 17px; margin-top: 14px; }
@media (max-width: 960px) { .feature-row { grid-template-columns: 1fr; gap: 32px; } .feature-row.flip > :first-child { order: 0; } .feature-row + .feature-row { margin-top: 64px; } }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; overflow: hidden; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card { padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.card > svg { width: 22px; height: 22px; color: var(--accent); }
.card h3 { font-size: 17px; letter-spacing: -0.01em; margin: 14px 0 8px; }
.card p { color: var(--muted); font-size: 15px; }
.card ul { list-style: none; margin-top: 14px; display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.card li { display: grid; grid-template-columns: 16px 1fr; gap: 8px; }
.card li svg { width: 16px; height: 16px; color: var(--accent); margin-top: 3px; }
@media (max-width: 960px) { .cards, .cards.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards, .cards.two, .cards.four { grid-template-columns: 1fr; } .card { padding: 24px 20px; } }

.rules { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; overflow: hidden; }
.rule { display: grid; grid-template-columns: 240px 1fr; gap: 32px; padding: 22px 28px; border-bottom: 1px solid var(--line); }
.rule:last-child { border-bottom: 0; }
.rule h3 { font-size: 16px; letter-spacing: -0.01em; }
.rule p { color: var(--muted); font-size: 15px; }
@media (max-width: 700px) { .rule { grid-template-columns: 1fr; gap: 6px; padding: 20px; } }

.formula { background: var(--ink); color: #e4e7ec; border-radius: var(--radius-lg); padding: 24px 28px; font-size: 15px; line-height: 1.9; }
.formula b { color: var(--mint); font-weight: 600; }
.formula small { display: block; color: #98a2b3; margin-top: 8px; font-size: 13px; line-height: 1.6; }

.matrix-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.matrix { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.matrix th, .matrix td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: center; }
.matrix th:first-child, .matrix td:first-child { text-align: left; }
.matrix thead th { background: var(--subtle); font-size: 14px; }
.matrix thead th small { display: block; color: var(--faint); font-weight: 500; font-size: 12px; }
.matrix tr:last-child td { border-bottom: 0; }
.matrix td { color: var(--muted); }
.matrix .yes { color: var(--accent); }
.matrix .no { color: var(--line-2); }
.matrix svg { width: 18px; height: 18px; display: inline-block; vertical-align: middle; }

.steps-row { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; overflow: hidden; counter-reset: step; }
.steps-row li { padding: 28px; border-right: 1px solid var(--line); counter-increment: step; }
.steps-row li:last-child { border-right: 0; }
.steps-row li::before { content: counter(step, decimal-leading-zero); display: block; font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 12px; }
.steps-row h3 { font-size: 17px; margin-bottom: 8px; letter-spacing: -0.01em; }
.steps-row p { color: var(--muted); font-size: 15px; }
@media (max-width: 800px) { .steps-row { grid-template-columns: 1fr; } .steps-row li { border-right: 0; border-bottom: 1px solid var(--line); } .steps-row li:last-child { border-bottom: 0; } }

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related a { display: block; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; text-decoration: none; background: #fff; transition: border-color 0.15s, box-shadow 0.15s; }
.related a:hover { border-color: var(--line-2); box-shadow: var(--shadow-lg); }
.related small { color: var(--faint); font-size: 13px; font-weight: 600; }
.related b { display: block; font-size: 18px; letter-spacing: -0.01em; margin: 6px 0; }
.related p { color: var(--muted); font-size: 15px; }
.related .arrow-link { margin-top: 14px; }
@media (max-width: 860px) { .related { grid-template-columns: 1fr; } }

.more-link { margin-top: 28px; }
.note-box { margin-top: 24px; border: 1px solid var(--line); background: var(--subtle); border-radius: var(--radius); padding: 14px 18px; color: var(--muted); font-size: 14px; }
.note-box b { color: var(--text); }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; background: #fff; display: flex; flex-direction: column; }
.contact-card > svg { width: 24px; height: 24px; color: var(--accent); }
.contact-card h3 { font-size: 18px; margin: 16px 0 8px; letter-spacing: -0.01em; }
.contact-card p { color: var(--muted); font-size: 15px; flex: 1; }
.contact-card .arrow-link { margin-top: 18px; word-break: break-all; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.kicker { display: block; color: var(--accent); font-weight: 600; font-size: 14px; margin-bottom: 12px; }

/* ---------- Phones ---------- */
.refer-box.two { grid-template-columns: 1fr 1fr; }
.refer-box.wide { grid-template-columns: 1.4fr 1fr; }
.refer-box.wide > div:last-child { display: flex; align-items: center; }
@media (max-width: 900px) { .refer-box.two, .refer-box.wide { grid-template-columns: 1fr; } }

@media (max-width: 600px) {
  .brand img { height: 40px; }
  .site-header > .wrap { height: 64px; }
  .mobile-menu { max-height: calc(100vh - 64px); }

  /* Room to breathe without endless scrolling. */
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 28px; }
  .section-head h2 { font-size: 28px; }
  .section-head p, .page-top .lead, .hero .lead { font-size: 16px; }
  .hero h1, .page-top h1 { font-size: 34px; }
  .feature-row + .feature-row { margin-top: 48px; }
  .closing { padding: 56px 0; }
  .doc-head { padding: 40px 0 28px; }

  /* Full-width buttons are easier to tap. */
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }

  /* Product tabs: all four visible as a 2 × 2 grid instead of a strip that scrolls off-screen. */
  .tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border-bottom: 0; margin-bottom: 32px; overflow: visible; }
  .tab { justify-content: center; border: 1px solid var(--line-2); border-radius: var(--radius); margin: 0; padding: 10px 8px; font-size: 14px; white-space: normal; text-align: center; }
  .tab[aria-selected='true'] { background: var(--ink); color: #fff; border-color: var(--ink); }

  /* Tables fit the screen instead of hiding columns off to the side. */
  .compare-wrap, .matrix-wrap { overflow-x: visible; }
  .compare, .matrix { min-width: 0; font-size: 13px; }
  .compare th, .compare td { padding: 10px 4px; }
  .compare thead th { font-size: 13px; }
  .compare td:first-child { width: 40%; }
  .matrix th, .matrix td { padding: 10px 6px; }
  .matrix thead th { font-size: 12px; }
  .matrix thead th small { display: none; }
  .matrix td:first-child { width: 38%; }
  .matrix svg, .compare svg { width: 16px; height: 16px; }

  /* Bigger tap targets in the footer. */
  .site-footer ul { gap: 0; }
  .site-footer li a { display: block; padding: 8px 0; }
  .site-footer .cols { gap: 28px 24px; }
  .site-footer .bottom { margin-top: 32px; }

  .card, .spec, .sec, .plan, .refer-box > div, .contact-card, .aud { padding: 22px 18px; }
  .rule { padding: 18px; }
  .formula { padding: 20px; font-size: 14px; }
  .related a { padding: 20px; }
}

@media (max-width: 360px) {
  .hero h1, .page-top h1 { font-size: 30px; }
  .tab { font-size: 13px; }
  .compare, .matrix { font-size: 12px; }
}

@media (max-width: 600px) {
  .site-footer .bottom a { display: inline-block; padding: 8px 0; }
}
@media (max-width: 400px) {
  .mini-btns { flex-direction: column-reverse; align-items: stretch; }
  .mini-btn { text-align: center; }
}

/* ---------- Guides (blog) ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; background: #fff; text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s; }
.post-card:hover { border-color: var(--line-2); box-shadow: var(--shadow-lg); }
.post-card small { color: var(--accent); font-size: 13px; font-weight: 600; }
.post-card b { font-size: 19px; line-height: 1.3; letter-spacing: -0.015em; margin: 10px 0 8px; }
.post-card p { color: var(--muted); font-size: 15px; flex: 1; }
.post-card .arrow-link { margin-top: 18px; }
@media (max-width: 960px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .posts { grid-template-columns: 1fr; } }

.post-meta { display: block; color: var(--accent); font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.doc-head .lead { font-size: 18px; }
.prose .takeaways { background: var(--accent-bg); border: 1px solid var(--accent-line); border-radius: var(--radius); padding: 18px 22px; margin: 0 0 28px; }
.prose .takeaways b { display: block; color: var(--text); margin-bottom: 6px; }
.prose .takeaways ul { margin: 0; }
.prose .example { background: var(--subtle); border: 1px solid var(--line); border-left: 3px solid var(--ink); border-radius: var(--radius); padding: 16px 20px; margin: 18px 0; font-variant-numeric: tabular-nums; }
.prose .example p { margin: 0; }
.prose .example p + p { margin-top: 6px; }
.post-cta { margin-top: 48px; background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 28px; }
.post-cta h3 { color: #fff; font-size: 20px; margin: 0 0 8px; }
.post-cta p { color: #98a2b3 !important; margin: 0 0 18px; }
.post-cta .hero-ctas { margin-top: 0; }
.prose .post-cta a.btn { color: inherit; font-weight: 600; }
.prose .post-cta a.btn-light { color: var(--ink); }
.post-foot { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--faint); }

/* Hero: decorative attendance-calendar grid on the right (index.html). */
.hero .wrap { position: relative; }
.hero h1 { margin-top: 0; }
.hero-copy, .showcase { position: relative; z-index: 1; }
.hero-pattern {
  position: absolute; top: -24px; right: 24px; width: 420px; height: auto; z-index: 0; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 70% 40%, #000 35%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 75% at 70% 40%, #000 35%, transparent 75%);
}
@media (max-width: 1180px) { .hero-pattern { width: 340px; opacity: 0.7; } }
@media (max-width: 1000px) { .hero-pattern { display: none; } }
