/* Preez website. Tokens mirror mobile-app/src/design/theme.ts. */
:root {
  --canvas: #F7F9FC;
  --surface: #FFFFFF;
  --surface-alt: #F1F4F9;
  --heading: #0C2C63;
  --text: #071D49;
  --muted: #5B6578;
  --primary: #1677FF;
  --primary-pressed: #0E5FD8;
  --primary-soft: #E8F1FF;
  --success: #13C879;
  --success-text: #0A7F4B;
  --success-soft: #EAFBF3;
  --warning: #B5610A;
  --warning-soft: #FFF4E5;
  --danger: #C8372D;
  --danger-soft: #FDECEA;
  --border: #E6EAF0;
  --dark: #071A3D;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(7, 29, 73, .04), 0 12px 32px rgba(7, 29, 73, .08);
  --wrap: 1120px;
  --gutter: 20px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font: 400 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-pressed); text-underline-offset: 2px; }
h1, h2, h3 { color: var(--heading); line-height: 1.15; margin: 0; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
code { font-size: .9em; background: var(--surface-alt); padding: .1em .35em; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; }
.skip:focus { left: 12px; z-index: 100; background: var(--surface); padding: 8px 14px; border-radius: 8px; }
.eyebrow { color: var(--primary-pressed); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 12px; }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 16px/1 inherit; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-pressed); }
.btn-ghost { background: var(--surface); color: var(--heading); border-color: var(--border); }
.btn-ghost:hover { border-color: #C9D2E0; }
.btn-light { background: #fff; color: var(--primary-pressed); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 249, 252, .88);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(230, 234, 240, .8);
}
.header-row { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--heading); font-weight: 800; font-size: 21px; letter-spacing: -.03em; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover, .nav a[aria-current] { color: var(--primary-pressed); }
@media (max-width: 820px) {
  /* Section links live in the footer on small screens; no menu JS needed. */
  .nav { display: none; }
  .header-row { justify-content: space-between; }
}

/* Hero */
.hero { padding: 64px 0 32px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.4vw, 64px); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; margin-bottom: 22px; }
.hero .accent { color: var(--primary); }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 33ch; margin-bottom: 30px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual::before {
  content: ""; position: absolute; inset: 8% -10% 4%; z-index: -1;
  background: radial-gradient(closest-side, rgba(22, 119, 255, .16), rgba(22, 119, 255, 0));
}
.hero .phone { width: min(340px, 78vw); }

/* Phone frame around a full-screen mockup */
.phone {
  background: #0B1324; padding: 10px; border-radius: 44px;
  box-shadow: 0 2px 4px rgba(7, 29, 73, .08), 0 30px 60px -12px rgba(7, 29, 73, .28);
}
.phone img { border-radius: 34px; width: 100%; aspect-ratio: 720 / 1507; object-fit: cover; }

/* Sections */
.section { padding: 96px 0; }
.section-tint { background: var(--surface); border-block: 1px solid var(--border); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2, .split-copy h2 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 800; letter-spacing: -.035em; margin-bottom: 16px; }
.section-head p:not(.eyebrow), .split-copy > p:not(.eyebrow):not(.muted) { font-size: 19px; color: var(--muted); }
.note { color: var(--muted); font-size: 15px; max-width: 760px; margin: 36px 0 0; padding-left: 14px; border-left: 3px solid var(--border); }

/* Problem comparison */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare-card { border-radius: var(--radius); padding: 32px; }
.compare-card h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 22px; }
.before { background: var(--surface-alt); }
.before h3 { color: var(--muted); }
.after { background: var(--surface); border: 1.5px solid var(--primary); box-shadow: var(--shadow); }
.after h3 { color: var(--primary-pressed); }
.flow { list-style: none; margin: 0; padding: 0; }
.flow li { position: relative; padding: 12px 16px; border-radius: 12px; font-weight: 600; }
.flow li + li { margin-top: 26px; }
.flow li + li::before { content: "↓"; position: absolute; left: 50%; top: -25px; transform: translateX(-50%); color: #A3ADBF; font-weight: 400; }
.flow-before li { background: var(--surface); color: var(--muted); border: 1px dashed #C9D2E0; }
.flow-after li { background: var(--primary-soft); color: var(--heading); }
.flow-after li:last-child { background: var(--success-soft); color: var(--success-text); }
.flow-compact { max-width: 360px; margin-top: 24px; }
.flow s { color: var(--muted); }

/* How it works */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.steps li { background: var(--canvas); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; counter-increment: step; }
.steps h3 { font-size: 21px; margin: 18px 0 8px; }
.steps h3::before { content: counter(step) ". "; color: var(--primary); }
.steps p { color: var(--muted); margin: 0; }
.step-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--primary-soft); color: var(--primary-pressed); }
.step-icon.step-ok { background: var(--success-soft); color: var(--success-text); }
.ico { width: 26px; height: 26px; flex: none; }
.equation { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin: 40px 0 0; font-weight: 700; }
.equation span { padding: 10px 18px; border-radius: 999px; background: var(--canvas); border: 1px solid var(--border); color: var(--heading); }
.equation b { color: #A3ADBF; font-size: 22px; }
.equation .ok { background: var(--success-soft); border-color: transparent; color: var(--success-text); }

/* Employee screens */
.screens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.screens figure { margin: 0; }
.screens .phone { max-width: 300px; margin-inline: auto; }
.screens figcaption { text-align: center; margin-top: 20px; font-weight: 600; color: var(--heading); }
.screens figcaption b { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 6px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 14px; }

/* Split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-reverse .split-copy { order: 2; }
.split-visual .phone { max-width: 320px; margin-inline: auto; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; }
.ticks li { position: relative; padding-left: 32px; margin-top: 12px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--success-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A7F4B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat; }

/* Example dashboard */
.dash { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.dash-head { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; color: var(--heading); font-size: 20px; }
.dash-total { font-size: 15px; font-weight: 500; color: var(--muted); }
.dash-total b { color: var(--heading); font-size: 20px; }
.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 20px 0 24px; }
.dash-stats div { border-radius: 14px; padding: 14px 12px; }
.dash-stats dt { font-size: 13px; font-weight: 600; }
.dash-stats dd { margin: 2px 0 0; font-size: 28px; font-weight: 800; color: var(--heading); }
.s-present { background: var(--success-soft); } .s-present dt { color: var(--success-text); }
.s-late { background: var(--warning-soft); } .s-late dt { color: var(--warning); }
.s-absent { background: var(--danger-soft); } .s-absent dt { color: var(--danger); }
.s-leave { background: var(--primary-soft); } .s-leave dt { color: var(--primary-pressed); }
.dash-branches { list-style: none; margin: 0; padding: 0; }
.dash-branches li { display: grid; grid-template-columns: 9.5em 1fr 4em; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--border); font-weight: 600; color: var(--heading); font-size: 15px; }
.bar { display: block; width: 100%; height: 8px; }
.bar-track { fill: var(--surface-alt); }
.bar-fill { fill: var(--success); }
.count { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.dash figcaption { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* Proof */
.proof { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
.proof-photo { border-radius: 24px; aspect-ratio: 4 / 3; object-fit: cover; object-position: 72% 50%; box-shadow: var(--shadow); }
.proof-list { list-style: none; margin: 0; padding: 0; }
.proof-list li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.proof-list li:last-child { border-bottom: 0; }
.proof-list .ico { color: var(--primary); margin-top: 2px; }
.proof-list h3 { font-size: 18px; margin-bottom: 2px; }
.proof-list p { margin: 0; color: var(--muted); }

/* Privacy (dark band) */
.section-dark { background: var(--dark); color: #C9D4EA; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: #7DB3FF; }
.section-dark .section-head p:not(.eyebrow) { color: #C9D4EA; }
.pillars { list-style: none; padding: 0; margin: 0 0 36px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillars li { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 24px; }
.pillars .ico { color: #7DB3FF; }
.pillars h3 { font-size: 18px; margin: 14px 0 8px; }
.pillars p { margin: 0; font-size: 15px; }
.link-light { color: #fff; font-weight: 600; }

/* Businesses */
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.chips li { padding: 12px 22px; background: var(--canvas); border: 1px solid var(--border); border-radius: 999px; font-weight: 600; color: var(--heading); }
.scope { margin: 32px 0 0; color: var(--muted); }
.scope b { color: var(--heading); font-weight: 600; }

/* CTA */
.cta { background: linear-gradient(135deg, #1677FF, #0E4FC0); color: #E5EFFF; text-align: center; padding: 96px 0; }
.cta h2 { color: #fff; font-size: clamp(34px, 5vw, 56px); font-weight: 800; letter-spacing: -.04em; margin-bottom: 14px; }
.cta p { font-size: 19px; max-width: 34em; margin: 0 auto 30px; }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 56px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; }
.footer-brand p { color: var(--muted); margin-top: 10px; max-width: 24ch; }
.site-footer h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.site-footer nav a, .site-footer div > a:not(.brand) { display: block; color: var(--text); text-decoration: none; padding: 4px 0; }
.site-footer a:hover { color: var(--primary-pressed); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }
.footer-bottom a { color: var(--muted); }

/* Legal / document pages */
.doc-page { padding: 56px var(--gutter) 96px; }
.doc { max-width: 800px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 56px 64px; }
.doc-head { padding-bottom: 28px; margin-bottom: 8px; border-bottom: 1px solid var(--border); }
.doc-head h1 { font-size: clamp(34px, 5vw, 50px); font-weight: 800; letter-spacing: -.04em; margin-bottom: 14px; }
.doc-intro { font-size: 19px; color: var(--muted); }
.doc-meta { font-size: 14px; color: var(--muted); margin: 0; }
.doc h2 { font-size: 22px; margin: 40px 0 12px; letter-spacing: -.02em; }
.doc p, .doc li { color: #2B3A55; }
.doc ul, .doc ol { padding-left: 22px; margin: 0 0 1em; }
.doc li { margin: 6px 0; }
.doc strong { color: var(--heading); }
.num { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 10px; border-radius: 50%; background: var(--primary-soft); color: var(--primary-pressed); font-size: 15px; vertical-align: 2px; }
.callout { margin: 28px 0 8px; padding: 20px 22px; background: var(--primary-soft); border-radius: 16px; }
.callout strong { display: block; margin-bottom: 6px; font-size: 17px; }
.callout p { margin: 0; }
.doc-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--border); font-size: 15px; }
.doc-links:empty { display: none; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; font-weight: 600; color: var(--heading); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--primary); font-size: 22px; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 16px; margin: 0; }

/* Legal index */
.index-list { list-style: none; padding: 0 !important; margin-top: 24px !important; }
.index-list a { display: block; padding: 18px 0; border-bottom: 1px solid var(--border); text-decoration: none; }
.index-list span { display: block; font-size: 19px; font-weight: 700; color: var(--heading); }
.index-list small { color: var(--muted); font-size: 15px; }
.index-list a:hover span { color: var(--primary-pressed); }

/* Data safety + security */
.ds-list div { padding: 14px 0; border-bottom: 1px solid var(--border); }
.ds-list dt { font-weight: 700; color: var(--heading); }
.ds-list dd { margin: 4px 0 0; color: #2B3A55; }
.ds-not { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 8px; }
.ds-not li { margin: 0; padding: 6px 14px; background: var(--surface-alt); border-radius: 999px; font-size: 15px; text-decoration: line-through; text-decoration-color: rgba(91, 101, 120, .6); }
.sec-list { list-style: none; padding: 0 !important; }
.sec-list li { padding: 18px 0; border-bottom: 1px solid var(--border); margin: 0; }
.sec-list h2 { font-size: 18px; margin: 0 0 4px; }
.sec-list p { margin: 0; }

/* Deletion request form */
.request { margin: 28px 0 0; padding: 26px; border: 1.5px solid var(--primary); border-radius: 20px; }
.request h2 { margin-top: 0; }
.form { display: grid; gap: 18px; margin-top: 20px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; color: var(--heading); font-size: 15px; padding: 0; }
.req, .opt { font-weight: 500; font-size: 13px; color: var(--muted); margin-left: 6px; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--surface);
  border: 1.5px solid #C9D2E0; border-radius: 12px; padding: 12px 14px; min-height: 48px;
}
.field input:focus, .field textarea:focus { border-color: var(--primary); outline: 3px solid var(--primary-soft); outline-offset: 0; }
.choice { display: flex; gap: 10px; align-items: flex-start; font-weight: 500 !important; margin-top: 6px; color: var(--text) !important; }
.choice input { width: 20px; height: 20px; min-height: 0; margin-top: 3px; accent-color: var(--primary); flex: none; }
.form .btn { justify-self: start; }
.form-status { margin: 0; color: var(--success-text); font-weight: 600; }
.form-status:empty { display: none; }

/* Responsive */
@media (max-width: 1000px) {
  .pillars { grid-template-columns: 1fr 1fr; }
  .split, .proof { gap: 40px; }
}
@media (max-width: 860px) {
  .hero { padding-top: 40px; }
  .hero-grid, .split, .proof, .compare { grid-template-columns: 1fr; }
  .hero-copy { text-align: left; }
  .split-reverse .split-copy { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .screens { gap: 16px; }
  .screens .phone { padding: 6px; border-radius: 28px; }
  .screens .phone img { border-radius: 22px; }
  .screens figcaption { font-size: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .section { padding: 72px 0; }
}
@media (max-width: 560px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .header-row { gap: 12px; }
  .actions .btn { flex: 1 1 100%; }
  .hero h1 { font-size: 9.4vw; }
  .pillars { grid-template-columns: 1fr; }
  .screens { grid-template-columns: 1fr; gap: 48px; }
  .screens .phone { max-width: 280px; padding: 10px; border-radius: 44px; }
  .screens .phone img { border-radius: 34px; }
  .compare-card { padding: 24px 20px; }
  .dash { padding: 20px; }
  .dash-stats { grid-template-columns: 1fr 1fr; }
  .dash-branches li { grid-template-columns: 1fr 3.6em; gap: 6px 10px; }
  .dash-branches .bar { grid-column: 1 / -1; grid-row: 2; }
  .doc-page { padding: 16px 0 64px; }
  .doc { border-radius: 0; border-inline: 0; padding: 32px var(--gutter); }
  .request { padding: 20px 16px; }
  .form .btn { justify-self: stretch; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}

/* ── Use cases and guides ─────────────────────────────────────────── */
.doc-wide { max-width: 880px; }
.small { font-size: 14px; }
.wrap.narrow { max-width: 820px; }
.more-links { margin-top: 24px; color: var(--muted); }
.badge-illustrative { display: inline-block; margin: 22px 0 4px; padding: 6px 12px; border-radius: 999px; background: var(--surface-alt); color: var(--muted) !important; font-size: 13px; font-weight: 600; }
.answer { margin: 26px 0 8px; padding: 18px 20px; border-left: 4px solid var(--primary); background: var(--primary-soft); border-radius: 0 14px 14px 0; font-size: 18px; color: var(--heading) !important; }

.case-cards { list-style: none; padding: 0 !important; margin: 24px 0 8px !important; display: grid; gap: 14px; }
.case-cards li { margin: 0; }
.case-cards a { display: grid; gap: 6px; padding: 22px; border: 1px solid var(--border); border-radius: 18px; text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
.case-cards a:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.case-industry { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary-pressed); }
.case-title { font-size: 21px; font-weight: 800; color: var(--heading); letter-spacing: -.02em; }
.case-summary { color: #2B3A55; }
.case-estimate { font-weight: 600; color: var(--success-text); }
.case-estimate s { color: var(--muted); font-weight: 500; }
.case-estimate small { color: var(--muted); font-weight: 500; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin: 18px 0 8px; }
.facts div { background: var(--canvas); border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; }
.facts dt { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 600; color: var(--heading); }

.timeline { list-style: none; padding: 0 !important; border-left: 2px solid var(--border); margin-left: 6px !important; }
.timeline li { position: relative; padding: 0 0 18px 22px; margin: 0; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 3px var(--surface); }
.timeline time { font-weight: 700; color: var(--primary-pressed); font-variant-numeric: tabular-nums; }
.timeline p { margin: 2px 0 0; }

.table-wrap { overflow-x: auto; margin: 16px 0 12px; border: 1px solid var(--border); border-radius: 14px; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 15px; }
/* Only wide comparison tables scroll sideways; 2–3 column tables wrap. */
.table-wrap table:has(thead th:nth-child(4)) { min-width: 640px; }
.table-wrap caption { text-align: left; padding: 12px 14px 0; font-weight: 700; color: var(--heading); }
.table-wrap th, .table-wrap td { text-align: left; vertical-align: top; padding: 11px 14px; border-top: 1px solid var(--border); color: #2B3A55; }
.table-wrap thead th { border-top: 0; background: var(--canvas); color: var(--heading); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.table-wrap tbody th { color: var(--heading); font-weight: 600; }
.table-wrap tr.total th, .table-wrap tr.total td { background: var(--success-soft); color: var(--success-text); font-weight: 700; }

.steps-list li { margin: 10px 0; }
.checklist { list-style: none; padding: 0 !important; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--success-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A7F4B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat; }

.calc { margin: 32px 0 8px; padding: 26px; border-radius: 20px; background: var(--canvas); border: 1px solid var(--border); }
.calc h2 { margin-top: 0; }
.calc-form { grid-template-columns: 1fr 1fr; }
.calc-result { margin: 20px 0 0; padding: 16px 18px; border-radius: 14px; background: var(--surface); border: 1.5px solid var(--success); color: var(--heading) !important; }
.calc-result span { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.calc-result strong { font-size: 24px; color: var(--success-text); }
@media (max-width: 560px) {
  .calc { padding: 20px 16px; }
  .calc-form { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
}

/* Google Play badge: Google's unmodified PNG, which carries ~16% transparent
   padding. Rendered 72px tall so the visible badge is 48px, the button height;
   the negative margin cancels the padding for alignment only. */
.play-badge { display: inline-flex; line-height: 0; border-radius: 10px; }
.play-badge img { height: 72px; width: auto; margin: -12px; }
.play-badge-sm img { height: 60px; margin: -10px; }
.footer-brand .play-badge { margin-top: 16px; }
.actions { align-items: center; }
.hero-note { margin: 16px 0 0; color: var(--muted); font-size: 15px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: center; }
@media (max-width: 560px) { .actions .play-badge { margin: 4px auto 0; } }

.chips a { color: inherit; text-decoration: none; }
.chips li:has(a) { border-color: #C9D2E0; }
.chips li:has(a):hover { border-color: var(--primary); color: var(--primary-pressed); }
.callout-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 14px; }

/* ── Button + Google Play badge pair ──────────────────────────────────
   The badge PNG is 646×250 with 41px of transparent padding, so its visible
   part is 564×168. The button takes that exact aspect ratio and radius, and
   the image is scaled (114.54% wide, −7.27% margins = 41/564) so its visible
   part fills the cell edge to edge. Both halves are therefore identical in
   size at every width. */
.cta-pair { display: grid; grid-template-columns: repeat(2, 184px); gap: 14px; align-items: center; }
.cta-pair-center { justify-content: center; }
.cta-pair > .btn { width: 100%; min-height: 0; height: auto; aspect-ratio: 564 / 168; padding: 0 10px; border-radius: 9px; font-size: 16px; }
.cta-pair .play-badge { display: block; width: 100%; overflow: hidden; border-radius: 9px; }
.cta-pair .play-badge img { display: block; width: 114.54%; max-width: none; height: auto; margin: -7.27%; }
.cta-pair-in-callout { margin-top: 16px; }

/* Equation chips: the term group stays on one line on phones. */
.equation .eq-terms { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; padding: 0; border: 0; background: none; border-radius: 0; }

/* ── Phone polish ───────────────────────────────────────────────────── */
@media (max-width: 600px) {
  /* Employee screens become a swipeable row instead of three full-height phones. */
  .screens { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px; scrollbar-width: none; }
  .screens::-webkit-scrollbar { display: none; }
  .screens figure { flex: 0 0 68%; scroll-snap-align: center; }
  .screens .phone { max-width: none; padding: 7px; border-radius: 30px; }
  .screens .phone img { border-radius: 24px; }
  .screens figcaption { font-size: 14px; margin-top: 14px; }
}
@media (max-width: 560px) {
  .hide-sm { display: none; }
  .hero { padding: 28px 0 8px; }
  .lede { margin-bottom: 24px; }
  .hero .phone { width: min(270px, 72vw); }
  .split-visual .phone { max-width: 250px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 32px; }
  .cta { padding: 64px 0; }

  .cta-pair { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cta-pair > .btn { font-size: 15px; padding: 0 6px; }

  .flow-compact { max-width: none; }

  .chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .chips li { text-align: center; padding: 12px 8px; }

  .equation { flex-direction: column; gap: 10px; }
  .equation .eq-terms { flex-wrap: nowrap; gap: 6px; }
  .equation .eq-terms span { padding: 8px 11px; font-size: 14px; }
  .equation b { font-size: 18px; }
}
@media (max-width: 560px) {
  /* Steps and privacy cards: icon left, text right, instead of an icon row
     followed by a heading row — halves their height and lines text up. */
  .steps li, .pillars li { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: start; padding: 18px; }
  .steps li > :first-child, .pillars li > .ico { grid-row: 1 / span 2; }
  .step-icon { width: 44px; height: 44px; border-radius: 12px; }
  .steps h3, .pillars h3 { margin: 0 0 4px; font-size: 17px; }
  .pillars .ico { width: 24px; height: 24px; margin-top: 10px; justify-self: center; }
}

/* ── Pricing ──────────────────────────────────────────────────────────── */
.pricing-hero { padding: 64px 0 8px; text-align: center; }
.pricing-hero h1 { font-size: clamp(34px, 5.4vw, 60px); font-weight: 800; letter-spacing: -.045em; line-height: 1.04; margin-bottom: 18px; }
.pricing-hero .accent { color: var(--primary); }
.pricing-hero .lede { margin: 0 auto; max-width: 40ch; }
.pricing-plans { padding: 32px 0 72px; }

/* Billing switch: two radios; :has() swaps the prices. No JS. */
.billing-switch { display: flex; width: max-content; margin: 0 auto 36px; padding: 5px; background: var(--surface-alt); border-radius: 999px; }
.billing-switch input { position: absolute; opacity: 0; pointer-events: none; }
.billing-switch label { padding: 10px 20px; border-radius: 999px; font-weight: 600; color: var(--muted); cursor: pointer; white-space: nowrap; }
.billing-switch input:checked + label { background: var(--surface); color: var(--heading); box-shadow: 0 1px 3px rgba(7, 29, 73, .12); }
.billing-switch input:focus-visible + label { outline: 3px solid var(--primary); outline-offset: 2px; }
.billing-switch .save { margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--success-soft); color: var(--success-text); font-size: 12px; }
.p-year { display: none; }
.pricing-page:has(#bill-annual:checked) .p-year { display: inline; }
.pricing-page:has(#bill-annual:checked) .p-month { display: none; }

.plans { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 28px 24px; }
.plan h2 { font-size: 20px; letter-spacing: -.02em; }
.plan-tagline { color: var(--muted); font-size: 15px; margin: 4px 0 18px; min-height: 2.6em; }
.plan-price { margin: 0; display: flex; align-items: baseline; gap: 4px; }
.plan-price .amount { font-size: 40px; font-weight: 800; letter-spacing: -.04em; color: var(--heading); font-variant-numeric: tabular-nums; }
.plan-price .per { color: var(--muted); font-weight: 500; }
.plan-billing { margin: 4px 0 0; color: var(--muted); font-size: 13px; min-height: 1.5em; }
.plan-perhead { margin: 6px 0 0; color: var(--success-text); font-size: 13px; font-weight: 600; }
.plan-cta { width: 100%; margin: 22px 0 20px; }
.plan-limits { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--border); padding-top: 16px; font-size: 15px; }
.plan-limits li { position: relative; padding-left: 26px; margin: 9px 0; color: #2B3A55; }
.plan-limits li::before { content: ""; position: absolute; left: 0; top: 3px; width: 17px; height: 17px; border-radius: 50%; background: var(--success-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A7F4B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.plan-limits b { color: var(--heading); }
.plan-popular { border: 2px solid var(--primary); box-shadow: 0 24px 48px -16px rgba(22, 119, 255, .35); transform: translateY(-8px); }
.plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); margin: 0; padding: 4px 14px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.pricing-note { text-align: center; color: var(--muted); font-size: 14px; margin: 28px auto 0; max-width: 60ch; }

.included { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 24px; }
.included li { position: relative; padding-left: 28px; font-weight: 500; color: var(--heading); }
.included li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--success-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A7F4B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }

.compare-table td { text-align: center; }
.compare-table thead th:not(:first-child) { text-align: center; }

.value-points { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.value-points li { background: var(--canvas); border: 1px solid var(--border); border-radius: 18px; padding: 20px; }
.value-points b { display: block; font-size: 28px; letter-spacing: -.03em; color: var(--heading); }
.value-points span { color: var(--muted); font-size: 15px; }

@media (max-width: 1000px) {
  .plans { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .plan-popular { transform: none; }
  .included { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .pricing-hero { padding: 36px 0 0; }
  .plans { grid-template-columns: 1fr; gap: 22px; }
  /* Lead with the recommended plan on phones. */
  .plan-popular { order: -1; }
  .plan-tagline { min-height: 0; }
  .billing-switch label { padding: 9px 14px; }
  .included { grid-template-columns: 1fr; }
  .value-points { grid-template-columns: 1fr 1fr; }
  .value-points b { font-size: 22px; }
}

/* ── Header menu (phones) ────────────────────────────────────────────────
   The header has backdrop-filter, which makes it the containing block for
   fixed descendants, so the panel and backdrop are absolutely positioned from
   the header's bottom edge instead of fixed to the viewport. */
.nav-toggle, .nav-cta { display: none; }
.nav-backdrop { display: none; }

@media (max-width: 820px) {
  .header-cta { display: none; }

  .nav-toggle {
    display: inline-grid; place-items: center; position: relative;
    width: 44px; height: 44px; margin-left: auto; padding: 0;
    border: 1px solid var(--border); border-radius: 12px; background: var(--surface);
    cursor: pointer; transition: background-color .2s, border-color .2s;
  }
  .nav-toggle span {
    position: absolute; left: 12px; width: 20px; height: 2px; border-radius: 2px; background: var(--heading);
    transition: transform .3s cubic-bezier(.2, .8, .2, 1), top .3s cubic-bezier(.2, .8, .2, 1);
  }
  .nav-toggle span:first-child { top: 17px; }
  .nav-toggle span:last-child { top: 25px; }
  .nav-open .nav-toggle { background: var(--primary-soft); border-color: transparent; }
  .nav-open .nav-toggle span:first-child { top: 21px; transform: rotate(45deg); }
  .nav-open .nav-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

  .nav {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0; z-index: 2;
    max-height: calc(100dvh - 64px); overflow-y: auto;
    margin: 0; padding: 6px var(--gutter) 22px;
    background: var(--surface); border-bottom: 1px solid var(--border);
    border-radius: 0 0 24px 24px; box-shadow: 0 28px 48px -16px rgba(7, 29, 73, .28);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .2s ease, transform .3s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .3s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

  .nav > a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 17px 2px; font-size: 18px; font-weight: 600; color: var(--heading);
    border-bottom: 1px solid var(--border);
    opacity: 0; transform: translateY(-6px); transition: opacity .25s ease, transform .3s ease, color .15s;
  }
  .nav > a::after {
    content: ""; width: 8px; height: 8px; margin-right: 6px;
    border-top: 2px solid currentColor; border-right: 2px solid currentColor;
    transform: rotate(45deg); opacity: .35;
  }
  .nav > a[aria-current] { color: var(--primary-pressed); }
  .nav > a[aria-current]::after { opacity: 1; }
  .nav-open .nav > a { opacity: 1; transform: none; }
  .nav-open .nav > a:nth-of-type(2) { transition-delay: .03s; }
  .nav-open .nav > a:nth-of-type(3) { transition-delay: .06s; }
  .nav-open .nav > a:nth-of-type(4) { transition-delay: .09s; }
  .nav-open .nav > a:nth-of-type(5) { transition-delay: .12s; }

  .nav-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; opacity: 0; transition: opacity .3s ease .15s; }
  .nav-open .nav-cta { opacity: 1; }

  .nav-backdrop:not([hidden]) {
    display: block; position: absolute; top: 100%; left: 0; right: 0; z-index: 1;
    height: 100vh; background: rgba(7, 26, 61, .38);
    -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
    animation: nav-fade .25s ease;
  }
  .nav-lock, .nav-lock body { overflow: hidden; }
}
@keyframes nav-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .nav, .nav > a, .nav-cta, .nav-toggle span { transition: none !important; }
  .nav-backdrop:not([hidden]) { animation: none; }
}
