/* Elixir Attendance website. Colours are the Android app's (res/values/colors.xml). */
:root {
  --navy: #12305c; --navy-dark: #0c2245; --navy-ink: #0b1f3f;
  --blue: #1e5aa8; --blue-text: #1e4a85; --blue-soft: #dee7f5; --blue-faint: #f1f5fb;
  --green: #0e9f6e; --green-soft: #d7f2e6; --green-ink: #04422c;
  --warn: #8a3a06; --warn-soft: #fbeadb;
  --danger: #c0342b; --danger-soft: #fadedc;
  --bg: #f6f7f9; --card: #ffffff; --text: #101828; --body: #344054; --muted: #5a6478;
  --line: #dde1e9; --line-soft: #e8ebf0;
  --radius: 14px; --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 24px rgba(16, 24, 40, .06);
  --shadow-lg: 0 24px 48px -12px rgba(12, 34, 69, .25);
  --wrap: 1180px;
  --font: "Roboto", system-ui, -apple-system, "Segoe UI", "Noto Sans", Arial, 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; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--card); color: var(--text); font: 16px/1.6 var(--font); overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--blue); text-underline-offset: 2px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid #5b8fd8; outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; color: #fff; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line-soft); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); flex: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand span { font-weight: 800; letter-spacing: 2.2px; font-size: 14px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--body); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { background: var(--blue-faint); color: var(--navy); }
.nav a[aria-current="page"] { color: var(--navy); font-weight: 700; }
.nav .btn { margin-left: 8px; }
/* .nav a outranks .btn-primary; the header button keeps white text on navy, hovered or not. */
.nav a.btn-primary { color: #fff; font-weight: 600; padding: 10px 18px; border-radius: 10px; }
.nav a.btn-primary:hover { background: var(--navy-dark); color: #fff; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; color: var(--navy); cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
@media (max-width: 920px) {
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 8px; border-bottom: 1px solid var(--line-soft); border-radius: 0; font-size: 16px; }
  .nav .btn { margin: 14px 0 0; text-align: center; border-bottom: 0; border-radius: 10px; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: 15px; line-height: 1.2; padding: 13px 20px; border-radius: 10px; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .15s, box-shadow .15s; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-dark); color: #fff; box-shadow: 0 6px 16px rgba(18, 48, 92, .25); }
.btn-outline { background: #fff; color: var(--navy); border-color: #c4cfdf; }
.btn-outline:hover { background: var(--blue-faint); color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--blue-soft); color: var(--navy); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .45); background: transparent; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: default; box-shadow: none; }

/* ---------- type ---------- */
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
h1, h2, h3, h4 { color: var(--navy-ink); line-height: 1.2; margin: 0 0 12px; }
h1 { font-size: clamp(32px, 5vw, 52px); letter-spacing: -.8px; }
h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -.4px; }
h3 { font-size: 20px; }
p { margin: 0 0 14px; color: var(--body); }
.lead { font-size: clamp(17px, 2vw, 19px); color: var(--muted); max-width: 640px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section-tint { background: var(--bg); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head .lead { margin: 0 auto; }
@media (max-width: 640px) { .section { padding: 64px 0; } .section-head { margin-bottom: 32px; } }

/* ---------- hero ---------- */
.hero { background: linear-gradient(180deg, var(--blue-faint), #fff 82%); padding: 72px 0 80px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero .lead { margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.hero-note { font-size: 14px; color: var(--muted); }
.hero-note strong { color: var(--navy); }
@media (max-width: 920px) { .hero { padding: 48px 0 56px; } .hero .wrap { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- phone mockup (drawn after the app's dashboard) ---------- */
.device-stage { position: relative; display: flex; justify-content: center; }
.device-stage::before { content: ""; position: absolute; inset: 12% 6% 4%; background: radial-gradient(closest-side, rgba(30, 90, 168, .18), transparent); z-index: 0; }
.phone { position: relative; z-index: 1; width: 300px; max-width: 86vw; background: #0b1220; border-radius: 42px; padding: 11px; box-shadow: var(--shadow-lg); }
.phone-screen { background: var(--bg); border-radius: 32px; overflow: hidden; }
.phone-status { display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; color: var(--text); padding: 10px 20px 4px; }
.app-pad { padding: 8px 12px 14px; display: grid; gap: 10px; }
.app-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px; }
.app-org { display: flex; align-items: center; gap: 10px; }
.app-org img { width: 34px; height: 34px; border-radius: 9px; }
.app-org b { display: block; font-size: 14px; color: var(--navy-ink); }
.app-org small { font-size: 11px; color: var(--muted); }
.app-punch { background: var(--navy); color: #fff; border-radius: 18px; padding: 14px; display: flex; justify-content: space-between; align-items: center; }
.app-punch b { font-size: 15px; display: block; }
.app-punch small { font-size: 11px; opacity: .8; }
.app-punch .scan { width: 38px; height: 38px; border: 2px solid rgba(255, 255, 255, .8); border-radius: 10px; display: grid; place-items: center; }
.app-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.app-stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 9px 8px; }
.app-stat b { display: block; font-size: 17px; color: var(--navy-ink); }
.app-stat small { font-size: 10.5px; color: var(--muted); }
.app-row { display: flex; align-items: center; gap: 9px; padding: 7px 0; border-top: 1px solid var(--line-soft); font-size: 12px; }
.app-row:first-of-type { border-top: 0; }
.app-avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--blue-soft); color: var(--navy); font-weight: 700; font-size: 11px; display: grid; place-items: center; flex: none; }
.app-row .who { flex: 1; color: var(--text); }
.pill { display: inline-block; font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.pill-in { background: var(--green-soft); color: var(--green-ink); }
.pill-out { background: var(--blue-soft); color: var(--navy); }
.app-title { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--muted); text-transform: uppercase; margin-bottom: 4px; }
.app-nav { display: flex; justify-content: space-around; background: #fff; border-top: 1px solid var(--line); padding: 9px 4px 12px; font-size: 10px; color: var(--muted); }
.app-nav span.on { color: var(--navy); font-weight: 700; }
.illustration-note { position: absolute; z-index: 2; bottom: -14px; left: 50%; transform: translateX(-50%); font-size: 12px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; white-space: nowrap; }

/* ---------- highlight strip ---------- */
.highlights { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: #fff; }
.highlights ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 24px; }
.highlights li { display: flex; gap: 10px; align-items: center; font-weight: 600; color: var(--navy-ink); font-size: 15px; }
.tick { width: 22px; height: 22px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; flex: none; }
.tick svg { width: 13px; height: 13px; }
@media (max-width: 920px) { .highlights ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .highlights ul { grid-template-columns: 1fr; } }

/* ---------- cards & grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card h3 { margin-top: 0; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.icon { width: 46px; height: 46px; border-radius: 12px; background: var(--blue-soft); color: var(--navy); display: grid; place-items: center; margin-bottom: 16px; }
.icon svg { width: 24px; height: 24px; }
.checks { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; color: var(--body); font-size: 15px; }
.checks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e9f6e' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.checks.no li::before { background: #eef0f4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6478' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 11px no-repeat; }
.soon { display: inline-block; vertical-align: middle; font-size: 12px; font-weight: 700; color: var(--warn); background: var(--warn-soft); padding: 2px 9px; border-radius: 999px; margin-left: 6px; }
.badge { display: inline-block; font-size: 12px; font-weight: 700; color: var(--navy); background: var(--blue-soft); padding: 3px 10px; border-radius: 999px; }

/* ---------- feature rows ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 40px 0; }
.feature-row + .feature-row { border-top: 1px solid var(--line-soft); }
.feature-row.flip .feature-copy { order: 2; }
@media (max-width: 920px) { .feature-row { grid-template-columns: 1fr; gap: 28px; } .feature-row.flip .feature-copy { order: 0; } }
.panel { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }

/* flow (touchless steps) */
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.flow li { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-weight: 600; color: var(--navy-ink); position: relative; }
.flow li .n { width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 13px; display: grid; place-items: center; flex: none; }
.flow li.done .n { background: var(--green); }
.flow li small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }

/* calendar sample */
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; font-size: 13px; }
.cal .h { font-weight: 700; color: var(--muted); font-size: 12px; }
.cal .d { background: #fff; border: 1px solid var(--line-soft); border-radius: 8px; padding: 8px 0 12px; position: relative; color: var(--text); }
.cal .d::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; }
.cal .off::after { background: #667085; } .cal .hol::after { background: var(--blue-text); } .cal .half::after { background: #b54708; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.legend span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.legend .off::before { background: #667085; } .legend .hol::before { background: var(--blue-text); } .legend .half::before { background: #b54708; }

/* report sample table */
.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { padding: 11px 14px; border-bottom: 1px solid var(--line-soft); text-align: left; white-space: nowrap; }
thead th { background: var(--blue-faint); color: var(--navy-ink); font-size: 13px; }
tbody tr:last-child td { border-bottom: 0; }
.st { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.st-p { background: var(--green-soft); color: var(--green-ink); } .st-l { background: var(--warn-soft); color: var(--warn); } .st-a { background: var(--danger-soft); color: #8f1f19; } .st-w { background: #eef0f4; color: var(--muted); }

/* dashboard showcase */
.showcase { background: var(--navy); color: #fff; }
.showcase h2, .showcase h3 { color: #fff; }
.showcase p, .showcase .lead { color: rgba(255, 255, 255, .82); }
.showcase .eyebrow { color: #9dc0ef; }
.dash { background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; color: var(--text); }
.dash-top { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line-soft); }
.dash-top img { width: 34px; height: 34px; border-radius: 9px; }
.dash-top b { color: var(--navy-ink); }
.dash-top small { display: block; color: var(--muted); font-size: 12px; }
.dash-body { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; padding: 20px; background: var(--bg); }
.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }
.dash-stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.dash-stat b { display: block; font-size: 22px; color: var(--navy-ink); }
.dash-stat small { color: var(--muted); font-size: 12px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.bars i { flex: 1; background: var(--blue-soft); border-radius: 6px 6px 2px 2px; }
.bars i.hi { background: var(--navy); }
@media (max-width: 820px) { .dash-body { grid-template-columns: 1fr; } .dash-stats { grid-template-columns: repeat(2, 1fr); } }

/* steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; margin-bottom: 14px; }
.steps h3 { font-size: 18px; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* roles */
.role-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.role-head .icon { margin: 0; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--navy), var(--navy-dark)); border-radius: 22px; padding: 48px; color: #fff; display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; }
.cta-band h2 { color: #fff; margin: 0 0 8px; }
.cta-band p { color: rgba(255, 255, 255, .82); margin: 0; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; padding: 32px 24px; } .cta-band .actions { justify-content: flex-start; } }

/* store badge */
.store { display: inline-flex; align-items: center; gap: 12px; background: #0b1220; color: #fff; border-radius: 12px; padding: 10px 18px; text-decoration: none; }
.store small { display: block; font-size: 11px; opacity: .8; }
.store b { font-size: 16px; }
.store[aria-disabled="true"] { opacity: .7; }

/* page header (inner pages) */
.page-head { background: linear-gradient(180deg, var(--blue-faint), #fff); padding: 64px 0 40px; border-bottom: 1px solid var(--line-soft); }
.page-head .lead { margin-bottom: 0; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }

/* legal documents */
.doc { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; padding: 56px 20px 88px; }
.toc { position: sticky; top: 92px; align-self: start; max-height: calc(100vh - 110px); overflow: auto; font-size: 14px; }
.toc b { display: block; color: var(--navy-ink); margin-bottom: 10px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 5px 10px; border-radius: 8px; color: var(--muted); text-decoration: none; }
.toc a:hover { background: var(--blue-faint); color: var(--navy); }
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; margin-top: 44px; padding-top: 4px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; margin-top: 26px; }
.prose p, .prose li { color: var(--body); line-height: 1.7; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 16px; }
.prose li { margin-bottom: 6px; }
.prose .table-wrap { margin: 16px 0 20px; }
.prose td, .prose th { white-space: normal; vertical-align: top; }
.callout { background: var(--blue-faint); border: 1px solid var(--blue-soft); border-left: 4px solid var(--navy); border-radius: 10px; padding: 16px 18px; margin: 18px 0; }
.callout p:last-child { margin: 0; }
.callout.warn { background: var(--warn-soft); border-color: #f3d3b6; border-left-color: #b54708; }
@media (max-width: 920px) { .doc { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 32px; } .toc { position: static; max-height: none; border: 1px solid var(--line); border-radius: 12px; padding: 16px; } }

/* forms (account deletion) */
label { display: block; font-weight: 600; margin: 14px 0 6px; color: var(--navy-ink); }
input[type=email], input[type=password] { width: 100%; padding: 13px 14px; border: 1px solid #c4cfdf; border-radius: 10px; font: inherit; background: #fff; color: var(--text); }
input[type=email]:focus, input[type=password]:focus { border-color: var(--blue); outline: 3px solid rgba(30, 90, 168, .18); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--body); }
.check input { margin-top: 5px; width: 18px; height: 18px; flex: none; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.msg { margin-top: 12px; min-height: 1.5em; font-size: 15px; }
.msg.error { color: var(--danger); } .msg.ok { color: var(--green); }
.date { font-size: 22px; font-weight: 800; color: var(--danger); margin: 4px 0 12px; }
.plain-btn { background: none; border: 0; color: var(--blue); font: inherit; font-weight: 600; padding: 10px 0; cursor: pointer; }
[hidden] { display: none !important; }

/* contact */
.contact-card { display: flex; gap: 18px; align-items: flex-start; }
.contact-card .icon { margin: 0; flex: none; }
.mail { font-size: 20px; font-weight: 700; word-break: break-all; }

/* footer */
.site-footer { background: var(--navy-ink); color: rgba(255, 255, 255, .78); padding: 64px 0 28px; font-size: 15px; }
.site-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; letter-spacing: 2px; font-size: 14px; margin-bottom: 12px; }
.foot-brand img { width: 34px; height: 34px; border-radius: 9px; }
.site-footer h2 { font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; color: #fff; margin: 4px 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 44px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }
@media (max-width: 920px) { .foot-grid { grid-template-columns: repeat(2, 1fr); } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* pricing */
.controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0 0 8px; }
.seg { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
.seg button { appearance: none; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 15px; font-weight: 600; padding: 9px 16px; border-radius: 9px; cursor: pointer; white-space: nowrap; }
.seg button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.seg button .save { font-size: 12px; font-weight: 700; color: var(--green); margin-left: 6px; }
.seg button[aria-pressed="true"] .save { color: #bff0d4; }
.hint { text-align: center; color: var(--muted); font-size: 14px; margin: 0 0 28px; }
.notice { max-width: 680px; margin: 22px auto 0; background: var(--warn-soft); color: var(--warn); border-radius: 10px; padding: 11px 16px; font-size: 14px; text-align: center; }
.plans { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; position: relative; }
.plan.featured { border: 2px solid var(--blue); }
.ribbon { position: absolute; top: -12px; left: 24px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.plan h3 { margin: 0; }
.plan .seats { color: var(--muted); font-size: 15px; }
.price { margin: 18px 0 2px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price .amount { font-size: 34px; font-weight: 800; color: var(--navy-ink); letter-spacing: -.5px; }
.price .per { color: var(--muted); font-size: 15px; }
.equiv { color: var(--muted); font-size: 13px; min-height: 20px; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 22px; font-size: 15px; }
.plan li { display: flex; gap: 10px; padding: 5px 0; color: var(--body); }
.plan li::before { content: "\2713"; color: var(--green); font-weight: 800; flex: none; }
.plan li.no { color: var(--muted); }
.plan li.no::before { content: "\2013"; color: var(--muted); }
.plan li.no .sr { position: absolute; }
.plan .btn { margin-top: auto; width: 100%; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare th, .compare td { text-align: center; white-space: normal; }
.compare .y { color: var(--green); font-weight: 800; }
.compare .n { color: var(--muted); }
.addons { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin: 10px 0; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy-ink); }
.faq details p { color: var(--muted); margin: 10px 0 0; }
.faq { max-width: 800px; margin: 0 auto; }
.faq details ul { color: var(--muted); margin: 10px 0 0; padding-left: 20px; }
.faq-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.faq-nav a { font-size: 14px; font-weight: 600; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy-ink); text-decoration: none; }
.faq-nav a:hover { border-color: var(--navy); }
.faq-group { scroll-margin-top: 90px; }
.faq-group h2 { font-size: 22px; margin: 32px 0 6px; }
@media (max-width: 560px) { .seg button { padding: 8px 10px; font-size: 14px; } .seg button .save { display: block; margin: 0; } }

/* ---------- announcement, hero trust line, capability strip ---------- */
.announce { background: var(--navy); color: #dbe5f5; font-size: 14px; text-align: center; }
.announce .wrap { padding-top: 9px; padding-bottom: 9px; }
.announce a { color: #fff; font-weight: 600; white-space: nowrap; }
.announce a:hover { color: #fff; }
.hero-trust { list-style: none; padding: 0; margin: 22px 0 10px; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.hero-trust li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--navy-ink); }
.hero-trust .tick { width: 18px; height: 18px; }
.cap-icon { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--blue-faint); color: var(--blue); display: grid; place-items: center; }
.cap-icon svg { width: 20px; height: 20px; }
.capabilities { background: var(--bg); border-bottom: 1px solid var(--line-soft); }
.capabilities ul { list-style: none; margin: 0; padding: 20px 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.capabilities a { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; text-decoration: none; color: var(--navy-ink); font-size: 13px; font-weight: 600; padding: 12px 6px; border-radius: 12px; }
.capabilities a:hover { background: #fff; box-shadow: var(--shadow); color: var(--navy); }
@media (max-width: 920px) { .capabilities ul { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 420px) { .capabilities ul { grid-template-columns: repeat(2, 1fr); } }

/* ---------- mid-page call to action ---------- */
.cta-slim { margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--blue-faint); border: 1px solid var(--blue-soft); border-radius: var(--radius); padding: 20px 24px; }
.cta-slim p { margin: 0; color: var(--body); max-width: 720px; }
.cta-slim strong { color: var(--navy-ink); }

/* ---------- comparison ---------- */
.compare.why th.us, .compare.why td:last-child { background: var(--blue-faint); }
.compare.why th.us { color: var(--navy); }
.compare.why td:last-child { font-weight: 600; color: var(--navy-ink); }

/* ---------- features: jump chips ---------- */
.jump { border-bottom: 1px solid var(--line-soft); background: #fff; }
.jump ul { list-style: none; margin: 0; padding: 16px 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.jump a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--navy-ink); font-size: 14px; font-weight: 600; background: #fff; }
.jump a:hover { border-color: var(--blue); color: var(--navy); }
.jump .cap-icon { width: 28px; height: 28px; border-radius: 50%; }
.jump .cap-icon svg { width: 16px; height: 16px; }

/* ---------- hero: punch-screen illustration ---------- */
.phone-shot { display: block; width: 100%; height: auto; border-radius: 32px; }
.float-card { position: absolute; z-index: 2; left: calc(50% - 150px); top: 50%; transform: translateX(-62%); display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-lg); }
.float-card .tick { width: 32px; height: 32px; }
.float-card .tick svg { width: 18px; height: 18px; }
.float-card b { display: block; font-size: 14px; color: var(--navy-ink); }
.float-card small { font-size: 12px; color: var(--muted); }
@media (max-width: 560px) { .float-card { left: 50%; top: auto; bottom: -34px; transform: translateX(-50%); } .scan-stage { margin-bottom: 40px; } .scan-stage .illustration-note { bottom: -72px; } }
.compare.why td.y:last-child { color: var(--green); }
/* The hero note can carry a photo credit: let it wrap on narrow screens instead of overflowing. */
.scan-stage .illustration-note { white-space: normal; width: max-content; max-width: min(92vw, 520px); text-align: center; line-height: 1.4; }
@media (max-width: 560px) { .scan-stage { margin-bottom: 72px; } }
/* The punch card lands after the fourth check on the phone (same 8 s loop as punch-scan.svg). */
.float-card { animation: punched 8s ease-out infinite; }
@keyframes punched { 0%, 57% { opacity: 0; translate: 0 10px; } 61%, 94% { opacity: 1; translate: 0 0; } 97%, 100% { opacity: 0; translate: 0 0; } }
@media (prefers-reduced-motion: reduce) { .float-card { animation: none; } }

/* ---------- real app screens ---------- */
.screens { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.screens figure { margin: 0; text-align: center; }
.screens img { display: block; width: 100%; height: auto; background: #0b1220; border: 8px solid #0b1220; border-radius: 30px; box-shadow: var(--shadow-lg); }
.screens figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); }
.screens figcaption b { display: block; font-size: 16px; color: var(--navy-ink); }
@media (max-width: 1000px) { .screens { grid-template-columns: repeat(2, 1fr); max-width: 560px; margin: 0 auto; } }
@media (max-width: 420px) { .screens { gap: 16px; } .screens img { border-width: 5px; border-radius: 20px; } }
.showcase .screens figcaption { color: rgba(255, 255, 255, .78); }
.showcase .screens figcaption b { color: #fff; }
.showcase .screens img { border-color: #060d1a; }

/* ---------- video tutorials (click-to-play YouTube, video.js) ---------- */
.yt { position: relative; aspect-ratio: 16 / 9; background: #0b1220; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.yt-play { position: absolute; inset: 0; display: block; color: #fff; }
.yt-play img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Below the poster's title, in the empty lower band. */
.yt-btn { position: absolute; left: 50%; top: 82%; translate: -50% -50%; transition: scale .15s; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .35)); }
.yt-play:hover .yt-btn, .yt-play:focus-visible .yt-btn { scale: 1.08; }
.yt-play:focus-visible { outline-offset: -4px; }
.yt-len { position: absolute; right: 10px; bottom: 10px; background: rgba(11, 18, 32, .85); color: #fff; font-size: 13px; font-weight: 700; padding: 2px 8px; border-radius: 6px; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.watch { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
@media (max-width: 920px) { .watch { grid-template-columns: 1fr; gap: 28px; } }
.videos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
.video-card { display: flex; flex-direction: column; gap: 16px; }
.video-copy h2 { font-size: 21px; margin: 4px 0 8px; }
.video-copy p { color: var(--muted); margin-bottom: 8px; }
.video-n { font-size: 13px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--blue); }
@media (max-width: 760px) { .videos { grid-template-columns: 1fr; gap: 36px; } }
