@font-face {
  font-family: "Public Sans";
  src: url("fonts/public-sans-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #f5f7fa;
  --surface-2: #eef1f6;
  --ink: #0e1726;
  --ink-2: #374357;
  --muted: #566275;
  --line: #e1e6ee;
  --line-2: #cdd5e1;
  --accent: #1c4fd6;
  --accent-hover: #173fae;
  --accent-soft: #e8eefc;
  --on-accent: #ffffff;
  --danger: #b42318;
  --ok: #1f7a3d;
  --band: #0e1726;
  --on-band: #f2f5f9;
  --on-band-2: #b9c3d2;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(14, 23, 38, 0.06), 0 8px 24px rgba(14, 23, 38, 0.06);
  --font: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0d121a;
    --surface: #131a25;
    --surface-2: #19212e;
    --ink: #e9eef5;
    --ink-2: #c2cbd8;
    --muted: #97a3b5;
    --line: #232d3c;
    --line-2: #2f3b4d;
    --accent: #7ea2ff;
    --accent-hover: #a3bdff;
    --accent-soft: #18233a;
    --on-accent: #0b1220;
    --danger: #ff8a7a;
    --ok: #6fd394;
    --band: #131a25;
    --on-band: #e9eef5;
    --on-band-2: #a9b4c4;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.25);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; background: var(--bg); color: var(--ink); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font);
  font-variant-numeric: proportional-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  caret-color: var(--accent);
}
::selection { background: var(--accent); color: var(--on-accent); }
html { scrollbar-color: var(--line-2) var(--bg); }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 4.6vw + 0.6rem, 4rem); line-height: 1.05; font-weight: 700; }
h2 { font-size: clamp(1.6rem, 2vw + 0.9rem, 2.35rem); line-height: 1.15; font-weight: 680; }
h3 { font-size: 1.2rem; line-height: 1.3; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0; }
.measure { max-width: 66ch; }
.lead { font-size: clamp(1.1rem, 0.5vw + 1rem, 1.3rem); color: var(--ink-2); line-height: 1.55; }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; left: 16px; top: -100px; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 650; letter-spacing: -0.01em; font-size: 1.02rem; white-space: nowrap; }
.brand svg { width: 26px; height: 26px; flex: none; }
.brand:hover { color: var(--ink); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 0.95rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { color: var(--ink); background: var(--surface); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav .btn { margin-left: 8px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line-2); color: var(--ink); border-radius: 8px; min-width: 44px; min-height: 44px; font: inherit; font-size: 0.95rem; padding: 0 12px; }
@media (max-width: 760px) {
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .nav { position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; display: none; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 8px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin: 12px 0 0; text-align: center; border-bottom: 0; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: 8px; font: inherit; font-weight: 600; font-size: 0.98rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-secondary:hover { border-color: var(--ink-2); color: var(--ink); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.6; cursor: progress; }
.nav .btn-primary { min-height: 40px; padding: 8px 16px; color: var(--on-accent); }
.nav .btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }

/* sections */
section { padding: 88px 0; }
section.tight { padding: 56px 0; }
.sec-head { display: grid; gap: 12px; margin-bottom: 40px; max-width: 760px; }
.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* hero */
.hero { padding: 96px 0 72px; }
.hero .wrap > * { animation: rise 0.9s var(--ease) both; }
.hero .wrap > *:nth-child(2) { animation-delay: 0.06s; }
.hero .wrap > *:nth-child(3) { animation-delay: 0.12s; }
.hero .wrap > *:nth-child(4) { animation-delay: 0.18s; }
@keyframes rise { from { opacity: 0.001; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero h1 { max-width: 15ch; }
.hero .lead { margin-top: 22px; max-width: 58ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 40px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); list-style: none; color: var(--ink-2); font-size: 0.97rem; }
.facts li { display: inline-flex; align-items: center; gap: 10px; }
.facts svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

/* price list */
.groups { display: grid; gap: 40px; }
@media (min-width: 960px) { .groups { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }
.group h3 { font-size: 1.05rem; padding-bottom: 12px; border-bottom: 2px solid var(--ink); display: flex; justify-content: space-between; align-items: baseline; }
.group h3 span { font-weight: 450; color: var(--muted); font-size: 0.92rem; letter-spacing: 0; }
.offer { display: block; padding: 20px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.offer:hover .offer-name { color: var(--accent); }
.offer-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.offer-name { font-weight: 650; font-size: 1.06rem; transition: color 0.2s var(--ease); }
.offer-price { font-weight: 650; white-space: nowrap; font-variant-numeric: tabular-nums; }
.offer-desc { color: var(--ink-2); margin-top: 6px; font-size: 0.97rem; }
.offer-meta { color: var(--muted); margin-top: 6px; font-size: 0.9rem; }
.rate-note { margin-top: 28px; color: var(--muted); font-size: 0.95rem; }

/* reasons */
.reasons { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 860px) { .reasons { grid-template-columns: 1fr 1fr; column-gap: 56px; } }
.reason { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.reason svg { width: 22px; height: 22px; color: var(--accent); margin-top: 3px; }
.reason h3 { margin-bottom: 6px; }
.reason p { color: var(--ink-2); max-width: 54ch; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; counter-reset: s; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; } }
.steps li { counter-increment: s; padding-top: 18px; border-top: 2px solid var(--line-2); }
.steps li::before { content: counter(s); display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 0.92rem; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--ink-2); font-size: 0.98rem; max-width: 52ch; }

/* faq */
.faq { border-top: 1px solid var(--line); max-width: 860px; padding-top: 4px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 600; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 64ch; }

/* band */
.band { background: var(--band); color: var(--on-band); }
.band h2 { color: var(--on-band); }
.band p { color: var(--on-band-2); }
.band .wrap { display: grid; gap: 24px; align-items: center; }
@media (min-width: 860px) { .band .wrap { grid-template-columns: 1.4fr auto; } }
.band .btn-primary { background: #ffffff; color: #0e1726; }
.band .btn-primary:hover { background: #dfe7fb; color: #0e1726; }

/* service detail */
.page-head { padding: 72px 0 40px; border-bottom: 1px solid var(--line); }
.page-head .lead { margin-top: 16px; max-width: 62ch; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.toc a { font-size: 0.92rem; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-2); text-decoration: none; }
.toc a:hover { border-color: var(--accent); color: var(--accent); }
.svc { padding: 56px 0; border-bottom: 1px solid var(--line); }
.svc-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .svc-grid { grid-template-columns: 0.9fr 1.1fr; gap: 64px; } }
.svc-group { font-size: 0.92rem; color: var(--muted); font-weight: 500; }
.svc h2 { margin-top: 6px; }
.svc .lead { margin-top: 12px; font-size: 1.08rem; }
.price-box { margin-top: 24px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 12px; }
.price-box .p { font-size: 1.9rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.price-box .p small { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-box dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: 0.95rem; }
.price-box dt { color: var(--muted); }
.price-box dd { margin: 0; color: var(--ink-2); }
.tiers { display: grid; gap: 12px; margin-top: 24px; }
@media (min-width: 560px) { .tiers { grid-template-columns: 1fr 1fr; } }
.tier { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.tier .p { font-size: 1.5rem; }
.tier .t { font-weight: 650; }
.tier p { color: var(--ink-2); font-size: 0.94rem; margin-top: 6px; }
.lists { display: grid; gap: 24px; }
@media (min-width: 620px) { .lists { grid-template-columns: 1fr 1fr; } }
.lists h3 { font-size: 1rem; margin-bottom: 10px; }
.lists .full { grid-column: 1 / -1; }
.check, .dash { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--ink-2); font-size: 0.98rem; }
.check li, .dash li { position: relative; padding-left: 26px; }
.check li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.dash li::before { content: ""; position: absolute; left: 3px; top: 0.75em; width: 10px; height: 2px; background: var(--muted); }

/* rate table */
table { border-collapse: collapse; width: 100%; font-size: 0.98rem; }
th, td { text-align: left; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
td.n, th.n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; padding-right: 0; }
.table-wrap { overflow-x: auto; }

/* prose (process, privacy) */
.prose { max-width: 62ch; }
.prose h2 { margin: 56px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { color: var(--ink-2); margin: 0 0 14px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: 6px 0; }
.split { display: grid; gap: 40px; }
@media (min-width: 960px) { .split { grid-template-columns: 220px 1fr; gap: 64px; } }
.side-nav { position: sticky; top: 100px; align-self: start; display: none; }
@media (min-width: 960px) { .side-nav { display: grid; gap: 4px; } }
.side-nav a { color: var(--muted); text-decoration: none; font-size: 0.93rem; padding: 6px 0; }
.side-nav a:hover { color: var(--accent); }

/* form */
.form-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .form-grid { grid-template-columns: 1.2fr 0.8fr; gap: 72px; } }
form { display: grid; gap: 20px; }
.row2 { display: grid; gap: 20px; }
@media (min-width: 620px) { .row2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; align-content: start; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field label .opt { font-weight: 400; color: var(--muted); }
input, select, textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); border: 1px solid var(--line-2); border-radius: 8px; padding: 12px 14px; min-height: 48px; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: var(--muted); }
option { background: var(--bg); color: var(--ink); }
input:hover, select:hover, textarea:hover { border-color: var(--muted); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.err { color: var(--danger); font-size: 0.9rem; display: none; }
.field.invalid .err { display: block; }
.form-status { font-size: 0.98rem; min-height: 1.5em; }
.form-status.ok { color: var(--ok); }
.form-status.bad { color: var(--danger); }
.aside { display: grid; gap: 28px; align-content: start; }
.aside h2 { font-size: 1.25rem; }
.aside .steps-v { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: v; }
.aside .steps-v li { counter-increment: v; display: grid; grid-template-columns: 28px 1fr; gap: 10px; color: var(--ink-2); }
.aside .steps-v li::before { content: counter(v); width: 24px; height: 24px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 0.8rem; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 56px; color: var(--muted); font-size: 0.93rem; }
.site-footer .wrap { display: grid; gap: 28px; }
@media (min-width: 860px) { .site-footer .wrap { grid-template-columns: 1.3fr 1fr 1fr; } }
.foot-title { font-size: 0.95rem; font-weight: 650; color: var(--ink); margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.legal { margin-top: 12px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .site-header, .band, .cta-row, .menu-btn, form .btn { display: none !important; }
  body { color: #000; background: #fff; }
  section, .svc { padding: 24px 0; }
}

/* price menus (service lines) */
.menus { display: grid; gap: 48px; }
@media (min-width: 960px) { .menus { grid-template-columns: 1fr 1fr; gap: 48px 64px; } }
.menu h3 { font-size: 1.15rem; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.menu > p { color: var(--ink-2); margin-top: 12px; font-size: 0.98rem; }
.menu a.offer { padding: 16px 0; }
.menu .more { display: inline-block; margin-top: 14px; font-size: 0.95rem; font-weight: 600; }
.addons { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 16px; }
@media (min-width: 860px) { .addons { grid-template-columns: 220px 1fr 1fr; gap: 32px; align-items: start; } }
.addons h3 { font-size: 1rem; }
.addon .offer-top { gap: 12px; }
.addon p { color: var(--ink-2); font-size: 0.95rem; margin-top: 4px; }
.done { margin-top: 18px; padding: 14px 16px; border-radius: var(--radius); background: var(--accent-soft); color: var(--ink); font-size: 0.97rem; display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.done svg { width: 20px; height: 20px; color: var(--accent); margin-top: 1px; }
.price-rows { margin-top: 24px; border-top: 1px solid var(--line); }
.price-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.price-row .n1 { font-weight: 600; }
.price-row .p1 { font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-row .t1 { grid-column: 1 / -1; color: var(--muted); font-size: 0.92rem; }
.programs { display: grid; gap: 24px; }
@media (min-width: 860px) { .programs { grid-template-columns: 1fr 1fr; gap: 48px; } }
.program { padding-top: 18px; border-top: 2px solid var(--ink); }
.program .big { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; margin: 8px 0 6px; }
.program p { color: var(--ink-2); }
.program ul { margin-top: 12px; }
.addon p, .menu > p, .offer-desc, .program p { max-width: 60ch; }
.price-row .t1 { max-width: 66ch; }
.svc .lead { max-width: 58ch; }
.rate-note { max-width: 62ch; }
#terms .table-wrap { max-width: 820px; }
td { max-width: 62ch; }
.band p, .sec-head .lead { max-width: 60ch; }

/* the request form's hidden field: people never see it, bots fill it in */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
