/* Ekansha HRMS website. One stylesheet, no framework.
   Colours follow the Ekansha 2026 brand: navy surfaces, lime accent with navy text. */

@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/work-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/work-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/work-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/work-sans-latin-700-normal.woff2") format("woff2"); }

:root {
  --navy: #02274c;
  --navy-deep: #011a33;
  --navy-soft: #0b3a66;
  --lime: #a9c200;
  --lime-hover: #bad40f;
  --sky: #05adea;
  --sky-ink: #00739e;
  --ink: #17212b;
  --muted: #4a5563;
  --line: #dde3ea;
  --surface: #f3f6f9;
  --white: #fff;
  --danger: #b42318;
  --danger-bg: #fef3f2;
  --success: #067647;
  --success-bg: #ecfdf3;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px -12px rgba(2, 39, 76, 0.25);
  --shadow-sm: 0 1px 2px rgba(2, 39, 76, 0.08), 0 1px 3px rgba(2, 39, 76, 0.06);
  --wrap: 1180px;
  --font: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Theme tokens: the light theme. [data-theme="dark"] below swaps them. */
  --bg: #ffffff;
  --paper: #ffffff;
  --heading: var(--navy);
  --link: var(--sky-ink);
  --input-line: #b9c3cf;
  --sky-soft: var(--sky-soft);
  --warn-soft: #fff6e0;
  --warn-ink: #8a5a00;
  --brand-line: var(--navy);
  --header-bg: rgba(255, 255, 255, 0.86);
  --shadow-lg: 0 24px 60px -24px rgba(2, 39, 76, 0.35);
  --radius-lg: 16px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #0b1120;
  --paper: #111a2b;
  --surface: #0e1728;
  --ink: #d6dde8;
  --muted: #9aa6b8;
  --line: #223049;
  --heading: #f2f6fb;
  --link: #5cc8f5;
  --sky-ink: #5cc8f5;
  --input-line: #2c3b57;
  --sky-soft: rgba(5, 173, 234, 0.14);
  --warn-soft: rgba(245, 158, 11, 0.14);
  --warn-ink: #fcd34d;
  --danger: #fca5a5;
  --danger-bg: rgba(239, 68, 68, 0.14);
  --success: #6ee7a0;
  --success-bg: rgba(34, 197, 94, 0.14);
  --brand-line: #05adea;
  --header-bg: rgba(11, 17, 32, 0.82);
  --shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.6);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--bg); }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { color: var(--heading); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.6em; color: var(--heading); font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -3rem; z-index: 100; background: var(--navy); color: var(--white); padding: 0.5rem 1rem; border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; color: var(--white); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 24px; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0.6em 1.15em; border-radius: var(--radius-sm); border: 2px solid transparent; font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color 0.15s, color 0.15s, border-color 0.15s; white-space: nowrap; }
.btn-accent { background: var(--lime); color: var(--navy); }
.btn-accent:hover { background: var(--lime-hover); color: var(--navy); }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-soft); color: var(--white); }
.btn-ghost { background: transparent; color: var(--heading); }
.btn-ghost:hover { background: var(--surface); }
.btn-ghost-strong { background: transparent; color: var(--heading); border-color: var(--heading); }
.btn-ghost-strong:hover { background: var(--heading); color: var(--bg); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.6); }
.btn-outline-light:hover { background: var(--white); color: var(--navy); }
.btn-lg { min-height: 52px; padding: 0.75em 1.5em; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: 0.7; cursor: progress; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--heading); }
.brand img { width: 36px; height: 36px; }
.brand-name { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.01em; }
.brand-name strong { font-weight: 700; }
.brand-light { color: var(--white); }
.brand-light:hover { color: var(--white); }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); cursor: pointer; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 20px; height: 2px; background: var(--heading); border-radius: 2px; position: relative; transition: transform 0.2s; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }
.site-menu { display: none; }
.site-menu.open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 0.5rem 16px 1rem; max-height: calc(100vh - 68px); overflow-y: auto; }
.menu-links { list-style: none; margin: 0; padding: 0; }
.menu-links a { display: block; padding: 0.75rem 0.25rem; color: var(--ink); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--surface); }
.menu-links a[aria-current="page"] { color: var(--sky-ink); }
.menu-actions { display: grid; gap: 0.5rem; margin-top: 0.75rem; }
@media (min-width: 1080px) {
  .menu-toggle { display: none; }
  .site-menu, .site-menu.open { display: flex; align-items: center; gap: 1.25rem; position: static; padding: 0; background: none; border: 0; box-shadow: none; max-height: none; overflow: visible; }
  .menu-links { display: flex; gap: 0.25rem; }
  .menu-links a { border: 0; padding: 0.5rem 0.7rem; border-radius: var(--radius-sm); }
  .menu-links a:hover { background: var(--surface); }
  .menu-actions { display: flex; margin: 0; gap: 0.4rem; }
}

/* ---------- sections ---------- */
.section { padding: 64px 0; }
.section-tight { padding: 40px 0; }
.section-surface { background: var(--surface); }
.section-navy { background: var(--navy); color: #d7e3ef; }
.section-navy h2, .section-navy h3 { color: var(--white); }
@media (min-width: 768px) { .section { padding: 88px 0; } }
.eyebrow { display: inline-block; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sky-ink); margin-bottom: 0.75rem; }
.section-navy .eyebrow { color: var(--lime); }
.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: 1.1875rem; color: var(--muted); }
.section-navy .lead { color: #c3d3e3; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }

/* ---------- hero ---------- */
.hero { background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%); padding: 48px 0 56px; overflow: hidden; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 992px) { .hero { padding: 72px 0 88px; } .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; } }
.hero h1 { margin-bottom: 0.4em; }
.hero h1 .hl { color: var(--sky-ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0 1rem; }
.hero-note { font-size: 0.95rem; color: var(--muted); margin: 0; }
.checks { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: 0.5rem; }
.checks li { position: relative; padding-left: 1.75rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%2302274c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.8rem no-repeat; }
.section-navy .checks li::before { background-color: var(--lime); }

/* product preview drawn in HTML */
.preview { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; font-size: 0.875rem; }
.preview-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--navy); color: #c3d3e3; font-size: 0.8rem; }
.preview-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); display: inline-block; }
.preview-bar span { margin-left: 8px; }
.preview-body { padding: 16px; display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.tile { border: 1px solid var(--line); border-radius: 10px; padding: 12px; background: var(--paper); }
.tile-wide { grid-column: 1 / -1; }
.tile-label { color: var(--muted); font-size: 0.78rem; margin: 0 0 4px; }
.tile-value { font-size: 1.5rem; font-weight: 700; color: var(--heading); margin: 0; line-height: 1.1; }
.tile-value small { font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.bar { height: 8px; border-radius: 4px; background: var(--surface); margin-top: 8px; overflow: hidden; }
.bar b { display: block; height: 100%; background: var(--sky); border-radius: 4px; }
.mini-list { list-style: none; margin: 6px 0 0; padding: 0; }
.mini-list li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px solid var(--surface); }
.mini-list li:first-child { border-top: 0; }
.pill { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 0.72rem; font-weight: 600; background: var(--surface); color: var(--heading); white-space: nowrap; }
.pill-ok { background: var(--success-bg); color: var(--success); }
.pill-wait { background: var(--warn-soft); color: var(--warn-ink); }
.pill-sky { background: var(--sky-soft); color: var(--sky-ink); }
.preview-caption { margin: 10px 0 0; text-align: center; font-size: 0.8rem; color: var(--muted); }

/* ---------- cards and grids ---------- */
.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.card h3 { margin-bottom: 0.4em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card-link { display: inline-flex; align-items: center; gap: 0.35em; font-weight: 600; text-decoration: none; margin-top: 0.5rem; }
.card-link::after { content: "\2192"; transition: transform 0.15s; }
.card-link:hover::after { transform: translateX(3px); }
.icon { width: 44px; height: 44px; border-radius: 10px; background: var(--sky-soft); color: var(--sky-ink); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.icon svg { width: 24px; height: 24px; }
.section-navy .card { background: var(--navy-soft); border-color: rgba(255, 255, 255, 0.12); box-shadow: none; color: #d7e3ef; }
.section-navy .icon { background: rgba(169, 194, 0, 0.16); color: var(--lime); }

.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 20px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; position: relative; padding: 24px; padding-top: 64px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(step); position: absolute; top: 20px; left: 24px; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.steps h3 { font-size: 1.125rem; }
.steps p { margin: 0; color: var(--muted); }

/* feature detail rows */
.feature-row { display: grid; gap: 28px; align-items: start; padding: 48px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.feature-row:first-of-type { border-top: 0; }
@media (min-width: 992px) { .feature-row { grid-template-columns: 0.9fr 1.1fr; gap: 56px; } }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
@media (min-width: 640px) { .feature-list { grid-template-columns: 1fr 1fr; } }
.feature-list li { background: var(--surface); border-radius: 10px; padding: 14px 16px; }
.feature-list strong { display: block; color: var(--heading); margin-bottom: 2px; }
.feature-list span { color: var(--muted); font-size: 0.95rem; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 1.5rem 0 0; }
.jump a { display: inline-block; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--heading); font-weight: 500; font-size: 0.95rem; background: var(--paper); }
.jump a:hover { border-color: var(--heading); }

/* ---------- page header ---------- */
.page-head { background: var(--surface); padding: 48px 0 40px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
.page-head .lead { max-width: 720px; margin: 0; }
.breadcrumb { font-size: 0.875rem; margin-bottom: 0.75rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); }

/* ---------- pricing ---------- */
.billing-switch { display: inline-flex; padding: 4px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; margin: 0 auto 2rem; }
.billing-switch button { font: inherit; font-weight: 600; font-size: 0.95rem; border: 0; background: transparent; color: var(--muted); padding: 8px 18px; border-radius: 999px; cursor: pointer; min-height: 40px; }
.billing-switch button[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.switch-row { text-align: center; }
.plans { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 720px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .plans[data-count="3"] { grid-template-columns: repeat(3, 1fr); } .plans[data-count="4"] { grid-template-columns: repeat(4, 1fr); } }
.plan { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); position: relative; }
.plan.featured { border: 2px solid var(--brand-line); box-shadow: var(--shadow); }
.plan-badge { position: absolute; top: -13px; left: 24px; background: var(--lime); color: var(--navy); font-size: 0.75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; letter-spacing: 0.03em; text-transform: uppercase; }
.plan h3 { font-size: 1.35rem; margin-bottom: 0.2em; }
.plan-desc { color: var(--muted); min-height: 1.6em; }
.price { font-size: 2.4rem; font-weight: 700; color: var(--heading); line-height: 1.1; margin: 0.5rem 0 0.15rem; }
.price small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.price-note { font-size: 0.875rem; color: var(--muted); margin-bottom: 1rem; min-height: 1.4em; }
.plan .checks { margin: 1rem 0 1.5rem; font-size: 0.975rem; }
.plan .btn { margin-top: auto; }
.plans-status { text-align: center; padding: 32px 16px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.skeleton { background: linear-gradient(90deg, var(--surface) 25%, var(--line) 37%, var(--surface) 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; border-radius: var(--radius); min-height: 360px; }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
@media (prefers-reduced-motion: reduce) { .skeleton { animation: none; } html { scroll-behavior: auto; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; font-weight: 600; color: var(--heading); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--sky-ink); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 1.1rem; color: var(--muted); }

/* ---------- forms ---------- */
.form-layout { display: grid; gap: 40px; align-items: start; }
@media (min-width: 992px) { .form-layout { grid-template-columns: 1fr 1.1fr; gap: 64px; } }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); }
@media (min-width: 640px) { .form-card { padding: 32px; } }
.form-card h2 { font-size: 1.5rem; }
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
label, .label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.35rem; color: var(--ink); }
.optional { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1px solid var(--input-line); border-radius: var(--radius-sm); padding: 0.65rem 0.8rem; min-height: 46px; transition: border-color 0.15s, box-shadow 0.15s; }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sky-ink); box-shadow: 0 0 0 3px rgba(5, 173, 234, 0.25); }
[aria-invalid="true"] { border-color: var(--danger) !important; }
.hint { font-size: 0.875rem; color: var(--muted); margin: 0.35rem 0 0; }
.error { font-size: 0.875rem; color: var(--danger); margin: 0.35rem 0 0; font-weight: 500; }
.error:empty { display: none; }
.input-group { display: flex; align-items: stretch; }
.input-group input { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.input-group .addon { display: flex; align-items: center; padding: 0 0.75rem; border: 1px solid var(--input-line); border-left: 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--surface); color: var(--muted); font-size: 0.9rem; white-space: nowrap; }
.code-status { font-size: 0.875rem; margin: 0.35rem 0 0; min-height: 1.3em; }
.code-status.ok { color: var(--success); }
.code-status.bad { color: var(--danger); }
.check { display: flex; gap: 0.6rem; align-items: flex-start; }
.check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--heading); }
.check label { font-weight: 400; margin: 0; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 4.5rem; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--sky-ink); font: inherit; font-weight: 600; font-size: 0.875rem; padding: 6px 8px; cursor: pointer; border-radius: 6px; }
.pw-rules { list-style: none; padding: 0; margin: 0.5rem 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pw-rules li { font-size: 0.8rem; padding: 2px 8px; border-radius: 999px; background: var(--surface); color: var(--muted); }
.pw-rules li.met { background: var(--success-bg); color: var(--success); }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.captcha { margin: 0.5rem 0 1rem; min-height: 0; }
.alert { border-radius: var(--radius-sm); padding: 0.85rem 1rem; margin-bottom: 1rem; font-weight: 500; }
.alert-error { background: var(--danger-bg); color: var(--danger); border: 1px solid rgba(180, 35, 24, 0.25); }
.alert-success { background: var(--success-bg); color: var(--success); border: 1px solid rgba(6, 118, 71, 0.25); }
.form-foot { font-size: 0.9rem; color: var(--muted); margin: 1rem 0 0; text-align: center; }
.done-panel { text-align: center; padding: 8px 0; }
.done-panel .done-icon { width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%; background: var(--success-bg); color: var(--success); display: flex; align-items: center; justify-content: center; }
.done-panel .code-box { display: inline-block; font-size: 1.35rem; font-weight: 700; letter-spacing: 0.04em; color: var(--heading); background: var(--surface); border: 1px dashed var(--heading); border-radius: var(--radius-sm); padding: 0.4rem 1rem; margin: 0.25rem 0 1rem; }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact-list .icon { margin: 0; flex: none; width: 40px; height: 40px; }
.contact-list strong { display: block; color: var(--heading); }

/* ---------- prose (legal, about, help) ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.5rem; margin-top: 2rem; }
.prose h3 { margin-top: 1.5rem; }
.prose li { margin-bottom: 0.35em; }
.draft-note { background: var(--warn-soft); border: 1px solid rgba(245, 158, 11, 0.4); color: var(--warn-ink); border-radius: var(--radius-sm); padding: 0.85rem 1rem; margin-bottom: 1.5rem; }
.toc { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { font-size: 0.95rem; }

/* ---------- call to action band ---------- */
.cta-band { background: var(--navy); color: #d7e3ef; border-radius: 20px; padding: 40px 24px; display: grid; gap: 24px; align-items: center; background-image: radial-gradient(circle at 90% 10%, rgba(5, 173, 234, 0.25), transparent 45%), radial-gradient(circle at 0% 100%, rgba(169, 194, 0, 0.18), transparent 40%); }
.cta-band h2 { color: var(--white); margin-bottom: 0.3em; }
.cta-band p { margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr auto; padding: 48px; } }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: #b6c6d6; padding: 56px 0 24px; font-size: 0.95rem; }
.site-footer a { color: #d7e3ef; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-about p { margin-top: 1rem; max-width: 340px; }
.footer-title { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--white); margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.footer-bottom p { margin: 0; }
.site-footer .social { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- misc ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 992px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } }
.stat-strip { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }

.stat-strip div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.stat-strip strong { display: block; font-size: 1.15rem; color: var(--heading); }
.stat-strip span { color: var(--muted); font-size: 0.925rem; }
.not-found { text-align: center; padding: 96px 0; }
.not-found .code { font-size: 5rem; font-weight: 700; color: var(--sky); line-height: 1; margin: 0 0 1rem; }
.bar .b-87 { width: 87%; }
.bar .b-9 { width: 9%; background: var(--lime); }
.page-head.center .lead { margin: 0 auto; }
.h3 { font-size: 1.25rem; margin-top: 1.5rem; }
.contact-list a { display: inline-block; }
.center-row { justify-content: center; }


/* ---------- premium finish (shared with the admin app's design system) ---------- */
::selection { background: rgba(5, 173, 234, 0.25); }
.btn { border-radius: 10px; transition: background-color 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.2s, transform 0.08s; }
.btn:active { transform: translateY(1px); }
.btn-accent { box-shadow: 0 1px 2px rgba(2, 39, 76, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn-accent:hover { box-shadow: 0 8px 20px -8px rgba(169, 194, 0, 0.7); }
.btn-primary { box-shadow: 0 1px 2px rgba(2, 39, 76, 0.2); }
.btn-primary:hover { box-shadow: 0 8px 20px -8px rgba(2, 39, 76, 0.6); }
.card, .plan, .steps li, .stat-strip div, .tile { transition: transform 0.2s var(--ease), box-shadow 0.2s, border-color 0.2s; }
.grid > .card:hover, .plan:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card { border-radius: var(--radius-lg); }
.plan { border-radius: var(--radius-lg); }
.preview { border-radius: 18px; box-shadow: var(--shadow-lg); }
.hero { position: relative; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 85% 10%, rgba(5, 173, 234, 0.14), transparent 60%),
    radial-gradient(50% 40% at 0% 90%, rgba(169, 194, 0, 0.05), transparent 60%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px; opacity: 0.45;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 65%);
}
.eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; opacity: 0.7; }
.section-head.center .eyebrow::before { display: none; }
.site-header { transition: box-shadow 0.2s; }

/* theme switch in the header */
.header-tools { display: flex; align-items: center; gap: 0.5rem; }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); color: var(--heading); cursor: pointer; transition: background-color 0.15s, border-color 0.15s; }
.theme-toggle:hover { background: var(--surface); border-color: var(--input-line); }
.theme-toggle svg { width: 20px; height: 20px; display: block; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (min-width: 1080px) { .header-row { gap: 0.25rem; } .header-tools { order: 3; } }

/* dark theme: brand surfaces that would vanish on a dark page */
[data-theme="dark"] .btn-primary { background: #1d5fa8; }
[data-theme="dark"] .btn-primary:hover { background: #2470c4; }
[data-theme="dark"] .section-navy { background: #071a33; }
[data-theme="dark"] .cta-band { background-color: #0a2546; border: 1px solid rgba(255, 255, 255, 0.06); }
[data-theme="dark"] .preview-bar { background: #071a33; }
[data-theme="dark"] .steps li::before { background: var(--sky-ink); color: #04121f; }
[data-theme="dark"] .billing-switch button[aria-pressed="true"] { background: var(--sky-ink); color: #04121f; }
[data-theme="dark"] .site-footer { background: #070d1a; }
[data-theme="dark"] .brand img { filter: none; }
[data-theme="dark"] .menu-links a:hover, [data-theme="dark"] .btn-ghost:hover { background: rgba(255, 255, 255, 0.06); }
[data-theme="dark"] .feature-list li { background: var(--paper); border: 1px solid var(--line); }
[data-theme="dark"] .section-navy .card { background: rgba(255, 255, 255, 0.04); }
html.theme-switching *, html.theme-switching *::before, html.theme-switching *::after { transition: background-color 0.25s ease, border-color 0.25s ease, color 0.2s ease !important; }
@media (prefers-reduced-motion: reduce) { .card, .plan, .btn { transition: none; } .grid > .card:hover, .plan:hover { transform: none; } }
