/* ==========================================================================
   Sage Endowardance - one stylesheet
   1. Tokens  2. Base  3. Layout  4. Header and navigation  5. Hero
   6. Form  7. Components  8. Sections  9. Footer  10. Calculator shell
   11. Special-offer modal  12. Motion and accessibility
   ========================================================================== */

/* 1. Tokens: one accent (muted slate blue), one detail colour (copper), one light theme */
:root {
  --accent: #3D608A;
  --accent-hover: #2F4D70;
  --accent-tint: #E7EDF4;
  --accent-tint-2: #D3DEEA;
  --accent-deep: #1B2E47;
  --copper: #B87333;
  --copper-ink: #94551F;
  --copper-tint: #F6ECE2;
  --bg: #F3F5F7;
  --surface: #FCFCFD;
  --surface-2: #EDF0F3;
  --border: #D9E0E7;
  --border-strong: #C3CDD7;
  --text: #1B2733;
  --text-muted: #4C5C6D;
  --on-accent: #FFFFFF;
  --focus: #1B2733;
  --success: #2F6B4F;
  --success-tint: #E6F2EC;
  --danger: #A33A2B;
  --danger-tint: #F8E9E6;
  --shadow-sm: 0 1px 2px rgba(27, 46, 71, .06), 0 1px 1px rgba(27, 46, 71, .04);
  --shadow-md: 0 1px 2px rgba(27, 46, 71, .06), 0 12px 32px -14px rgba(27, 46, 71, .22);
  --shadow-lg: 0 2px 6px rgba(27, 46, 71, .06), 0 32px 64px -28px rgba(27, 46, 71, .32);
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-pill: 999px;
  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Charter, Georgia, "Times New Roman", serif;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .6, .2, 1);
}

/* 2. Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe, video, canvas { max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p, ul, ol, dl, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; transition: color .15s var(--ease); }
a:hover { color: var(--accent-hover); }
:where(a) { padding-block: 4px; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus { outline: 3px solid var(--focus); outline-offset: 3px; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus:not(:focus-visible) { outline-color: transparent; }
[id] { scroll-margin-top: calc(var(--header-h) + 20px); }
.icon { display: inline-block; vertical-align: middle; flex: none; }

h1, h2 { font-family: var(--font-serif); font-weight: 400; letter-spacing: -.015em; line-height: 1.12; color: var(--text); }
h1 { font-size: clamp(2.15rem, 1.3rem + 2.4vw, 3.55rem); }
h2 { font-size: clamp(1.6rem, 1.28rem + 1vw, 2.3rem); line-height: 1.16; }
h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.3; letter-spacing: -.005em; }
h4 { font-size: 1.02rem; font-weight: 600; line-height: 1.35; }
strong { font-weight: 600; }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); line-height: 1.55; color: var(--text-muted); }
.small { font-size: .875rem; }
.muted { color: var(--text-muted); }
.center { text-align: center; }

.skip-link {
  position: absolute; left: 16px; top: -120px; z-index: 300;
  padding: 12px 18px; border-radius: var(--r-sm);
  background: var(--accent); color: var(--on-accent);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--on-accent); }

/* 3. Layout */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.site-main { display: block; min-height: 40vh; }
.section { position: relative; padding-block: clamp(48px, 7vw, 96px); }
.section--tight { padding-block: clamp(32px, 4.5vw, 56px); }
.section--tint { background: var(--surface-2); }
.section--surface { background: var(--surface); }
.section--grid {
  background-color: var(--surface-2);
  background-image:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(61, 96, 138, .10), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cpath d='M28 .5H.5V28' fill='none' stroke='%233D608A' stroke-opacity='.12'/%3E%3C/svg%3E");
}
.section--lines {
  background-color: var(--bg);
  background-image: repeating-linear-gradient(to bottom, transparent 0 47px, rgba(61, 96, 138, .07) 47px 48px);
}
.section--dots {
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Ccircle cx='1.2' cy='1.2' r='1.2' fill='%233D608A' fill-opacity='.14'/%3E%3C/svg%3E");
}
.section--texture {
  background-color: var(--bg);
  background-image:
    linear-gradient(to right, var(--bg) 18%, rgba(243, 245, 247, .55) 60%, rgba(243, 245, 247, .1) 100%),
    url("/assets/images/hero-texture.svg");
  background-repeat: no-repeat;
  background-position: right -60px bottom -40px;
  background-size: min(980px, 95vw) auto;
}
.section__head { max-width: 780px; margin-bottom: clamp(28px, 4vw, 48px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__title { margin-bottom: 12px; }
.section__head--center .section__lead { margin-inline: auto; max-width: 680px; }
.section__foot { margin-top: clamp(24px, 3.4vw, 40px); }

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.split { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split--5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split--7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}
.stack { display: grid; gap: 16px; }
.stack--lg { gap: 28px; }

/* 4. Header and navigation */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(243, 245, 247, .97);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease);
}
.site-header.is-scrolled { background: var(--surface); border-bottom-color: var(--border); box-shadow: var(--shadow-md); }
.site-header__inner { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.brand__mark { display: block; }
.brand__name { font-family: var(--font-serif); font-size: 1.22rem; letter-spacing: -.01em; white-space: nowrap; }
.nav { margin-left: auto; }
.site-header__cta { min-height: 44px; padding: 0 20px; font-size: .9rem; }

.nav-toggle {
  display: none; align-items: center; justify-content: center; flex: none;
  width: 44px; height: 44px; margin-right: -8px;
  border: 0; border-radius: var(--r-sm); background: var(--accent-tint); color: var(--accent); cursor:pointer;
  transition: background-color .15s var(--ease), color .15s var(--ease);
}
.nav-toggle:hover { background: var(--accent-tint-2); }
.nav-toggle .icon { width: 22px; height: 22px; }
.icon--nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .icon--nav-toggle__close { display: block; }

@media (min-width: 1024px) {
  .nav { display: flex; align-items: center; gap: 6px; }
  .nav__list { display: flex; align-items: center; gap: 2px; }
  .nav__item { position: relative; }
  .nav__trigger {
    display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px;
    border: 0; border-radius: var(--r-sm); background: none; color: var(--text);
    font-weight: 500; font-size: .95rem; line-height: 1; cursor: pointer;
    transition: background-color .15s var(--ease), color .15s var(--ease);
  }
  .nav__trigger:hover, .nav__item.is-open .nav__trigger, .nav__item.is-current .nav__trigger { background: var(--accent-tint); color: var(--accent); }
  .icon--nav__caret { width: 16px; height: 16px; transition: transform .2s var(--ease); }
  .nav__item.is-open .icon--nav__caret { transform: rotate(180deg); }
  .nav__submenu {
    position: absolute; top: calc(100% + 8px); left: 0; z-index: 110;
    min-width: 264px; padding: 8px;
    background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-md);
    opacity: 0; transform: translateY(4px); pointer-events: none;
    transition: opacity .16s var(--ease), transform .16s var(--ease), visibility .16s;
  }
  html:not(.js) .nav__submenu, html.no-inert .nav__submenu { visibility: hidden; }
  .nav__item.is-open .nav__submenu,
  html:not(.js) .nav__item:hover .nav__submenu,
  html:not(.js) .nav__item:focus-within .nav__submenu { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
  .nav__submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -9px; height: 9px; }
  .nav__submenu::after {
    content: ""; position: absolute; top: -6px; left: 22px; width: 11px; height: 11px;
    background: var(--surface); border-left: 1px solid var(--border); border-top: 1px solid var(--border);
    border-top-left-radius: 2px; transform: rotate(45deg);
  }
  .nav__submenu--wide { min-width: 540px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 8px; }
  .nav__item.is-align-end .nav__submenu { left: auto; right: 0; }
  .nav__item.is-align-end .nav__submenu::after { left: auto; right: 22px; }
  .nav__subitem a {
    display: block; padding: 10px 12px; border-radius: 8px;
    color: var(--text); text-decoration: none; font-size: .95rem; line-height: 1.3;
    transition: background-color .15s var(--ease), color .15s var(--ease);
  }
  .nav__subitem a:hover, .nav__subitem a:focus-visible { background: var(--accent-tint); color: var(--accent); }
  .nav__subitem a[aria-current="page"] { color: var(--accent); font-weight: 600; }
  .nav .nav__cta { display: none; }
}

@media (max-width: 1023px) {
  :root { --header-h: 64px; }
  .site-header__inner { flex-wrap: wrap; justify-content: space-between; gap: 8px; }
  .brand__name { font-size: 1.08rem; }
  .nav-toggle { display: inline-flex; }
  html:not(.js) .nav-toggle { display: none; }
  .nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0; margin: 0;
    max-height: calc(100vh - var(--header-h) - 2px); overflow-y: auto; overscroll-behavior: contain;
    padding: 12px 16px 24px; background: var(--surface);
    border-top: 1px solid var(--border); box-shadow: var(--shadow-lg);
  }
  .nav.is-open { display: block; animation: nav-in .18s var(--ease); }
  html:not(.js) .nav { display: block; position: static; width: 100%; order: 3; max-height: none; overflow: visible; box-shadow: none; border-top: 1px solid var(--border); }
  .nav__list { display: grid; gap: 2px; }
  .nav__trigger {
    display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; min-height: 50px; padding: 0 12px;
    border: 0; border-radius: var(--r-sm); background: none; color: var(--text);
    font-weight: 600; font-size: 1rem; line-height: 1; text-align: left; cursor: pointer;
  }
  .nav__trigger:hover, .nav__item.is-open .nav__trigger { background: var(--accent-tint); color: var(--accent); }
  .icon--nav__caret { width: 18px; height: 18px; transition: transform .2s var(--ease); }
  .nav__item.is-open .icon--nav__caret { transform: rotate(180deg); }
  .nav__submenu { display: none; margin: 2px 0 8px 14px; padding: 0 0 0 12px; border-left: 2px solid var(--accent-tint-2); }
  .nav__item.is-open .nav__submenu, html:not(.js) .nav__submenu { display: block; }
  .nav__subitem a { display: block; padding: 11px 12px; color: var(--text); text-decoration: none; font-size: 1rem; }
  .nav__subitem a[aria-current="page"] { color: var(--accent); font-weight: 600; }
  .nav .nav__cta { display: flex; width: 100%; margin-top: 16px; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 599px) { .site-header .site-header__cta { display: none; } }
@keyframes nav-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.breadcrumbs { background: var(--bg); border-bottom: 1px solid var(--border); }
.breadcrumbs .container { padding-block: 10px; }
.breadcrumbs__list { display: flex; flex-wrap: wrap; gap: 4px 6px; font-size: .85rem; line-height: 1.4; color: var(--text-muted); }
.breadcrumbs__item { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs__item + .breadcrumbs__item::before { content: "/"; color: var(--border-strong); }
.breadcrumbs__link { color: var(--text-muted); text-decoration: none; }
.breadcrumbs__link:hover { color: var(--accent); text-decoration: underline; }
.breadcrumbs__current { color: var(--text); font-weight: 600; }

/* 5. Hero */
.hero {
  position: relative; isolation: isolate; padding: clamp(28px, 5vw, 56px) 0 clamp(48px, 6vw, 88px);
  background:
    radial-gradient(ellipse at 14% 0%, #d4e3f0, transparent 55%),
    radial-gradient(ellipse at 92% 5%, #eeddd0, transparent 47%),
    linear-gradient(180deg, #edf3f8, var(--bg) 73%);
}
.hero__title .hero-accent { color: var(--accent); }
.hero__band { position: absolute; inset: 0 0 auto 0; z-index: -1; height: min(560px, 70vh); pointer-events: none; }
.hero__band svg { display: block; width: 100%; height: 100%; }
.hero__band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(243, 245, 247, 0) 42%, var(--bg) 100%); }
.hero__points { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-bottom: clamp(18px, 3vw, 28px); font-weight: 600; font-size: .95rem; color: var(--text-muted); }
.hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.hero__points .icon { width: 18px; height: 18px; color: var(--copper-ink); }
.hero__br { display: none; }
@media (min-width: 900px) { .hero__br { display: inline; } }
.hero__title { max-width: 880px; margin: 0 auto clamp(24px, 3.4vw, 40px); text-align: center; }

.page-hero { position: relative; padding: clamp(36px, 5.5vw, 72px) 0 clamp(36px, 5vw, 64px); overflow: hidden; }
.page-hero__copy { max-width: 660px; }
.page-hero__kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--copper-ink); }
.page-hero__kicker::before { content: ""; width: 20px; height: 2px; background: var(--copper); }
.page-hero__title { margin-bottom: 16px; }
.page-hero--form .container { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 980px) { .page-hero--form .container { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 6. Form card and the injected form (styled through generic elements only) */
.form-card {
  display: grid; gap: clamp(24px, 3vw, 44px);
  padding: clamp(22px, 3vw, 40px);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
}
.form-card--wide { max-width: 1080px; margin-inline: auto; }
@media (min-width: 880px) {
  .form-card--wide { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
  .form-card--wide .form-card__aside { padding-left: clamp(24px, 3vw, 44px); border-left: 1px solid var(--border); }
}
.form-card--narrow { max-width: 520px; padding: clamp(20px, 2.6vw, 32px); box-shadow: var(--shadow-md); }
.form-card__title { font-family: var(--font-serif); font-weight: 400; letter-spacing: -.015em; font-size: clamp(1.5rem, 1.3rem + .8vw, 1.9rem); line-height: 1.15; margin-bottom: 6px; }
.form-card__text { color: var(--text-muted); }
.form-card__text + p { margin-top: 10px; }
.form-card__call { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; font-weight: 600; font-size: .95rem; line-height: 1.45; }
.form-card__call .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--copper-ink); }

.form-block form { display: flex; flex-wrap: wrap; gap: 12px 14px; }
.form-block form > * { flex: 1 1 100%; min-width: 0; }
.form-block form > div:has(> input), .form-block form > div:has(> select), .form-block form > div:has(> textarea) { flex: 1 1 200px; }
.form-block form > div { display: grid; gap: 6px; align-content: start; }
.form-block label { display: block; font-size: .9rem; font-weight: 600; line-height: 1.35; color: var(--text); }
.form-block label:has(> input[type="checkbox"]) { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; color: var(--text-muted); cursor: pointer; }
.form-block label:has(> input[type="checkbox"]) > span { flex: 1; }
.form-block input:not([type="checkbox"]):not([type="hidden"]), .form-block select, .form-block textarea {
  width: 100%; height: 48px; padding: 0 14px;
  border: 1px solid var(--border-strong); border-radius: var(--r-sm); background: var(--surface); color: var(--text);
  font-size: 1rem; line-height: 1.2;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.form-block textarea { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; }
.form-block input::placeholder { color: #7A8899; }
.form-block input:focus-visible, .form-block select:focus-visible, .form-block textarea:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint-2); }
.form-block input[aria-invalid="true"], .form-block select[aria-invalid="true"], .form-block textarea[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px var(--danger-tint); }
.form-block input[type="checkbox"] { width: 24px; height: 24px; margin: 0; flex: none; accent-color: var(--accent); }
.form-block form [class*="error"], .form-block form [id$="-error"] { margin: 0; font-size: .85rem; line-height: 1.4; font-weight: 500; color: var(--danger); }
.form-block form > [role="status"] { flex: 1 1 100%; padding: 12px 16px; border-radius: var(--r-sm); background: var(--success-tint); color: var(--success); font-weight: 600; font-size: .95rem; }
.form-block button[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; padding: 0 24px;
  border: 1px solid transparent; border-radius: var(--r-pill); background: var(--accent); color: var(--on-accent);
  font-weight: 600; font-size: 1.05rem; line-height: 1; white-space: nowrap; cursor: pointer; box-shadow: var(--shadow-sm);
  transition: background-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.form-block button[type="submit"]:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.form-block button[type="submit"]:active { transform: none; box-shadow: var(--shadow-sm); }
.form-block__intro { margin-bottom: 14px; color: var(--text-muted); }
.form-legal { margin-top: 14px; font-size: .85rem; line-height: 1.5; color: var(--text-muted); }

.trust-links { display: grid; margin-top: 18px; }
.trust-links li { border-top: 1px solid var(--border); }
.trust-links li:last-child { border-bottom: 1px solid var(--border); }
.trust-links a { display: flex; align-items: center; gap: 14px; padding: 12px 4px; color: var(--text); text-decoration: none; font-weight: 600; transition: color .15s var(--ease), background-color .15s var(--ease); }
.trust-links a:hover { color: var(--accent); }
.trust-links .icon-badge { width: 40px; height: 40px; border-radius: 11px; }
.trust-links small { display: block; font-weight: 400; color: var(--text-muted); }
.market-flag { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-weight: 600; }
.market-flag img { display: block; width: 36px; height: 18px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(27, 46, 71, .14); }

/* 7. Components */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px;
  border: 1px solid transparent; border-radius: var(--r-pill);
  font-weight: 600; font-size: .95rem; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.btn .icon { width: 18px; height: 18px; }
.btn--primary { background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--accent-hover); color: var(--on-accent); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--primary:active { transform: none; box-shadow: var(--shadow-sm); }
.btn--secondary { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn--secondary:hover { background: var(--accent-tint); color: var(--accent-hover); transform: translateY(-1px); }
.btn--lg { min-height: 54px; padding: 0 30px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.icon-badge { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--accent-tint); color: var(--accent); }
.icon-badge .icon { width: 24px; height: 24px; }
.icon-badge--sm { width: 44px; height: 44px; border-radius: 12px; }
.icon-badge--copper { background: var(--copper-tint); color: var(--copper-ink); }
.icon-badge--deep { background: var(--accent-deep); color: var(--surface); }

.card {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: clamp(20px, 2.4vw, 30px);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.card p + p { margin-top: 8px; }
.card__head { display: flex; align-items: center; gap: 14px; }
.card__title { font-size: 1.15rem; }
.card__text { color: var(--text-muted); }
.card__foot { margin-top: auto; padding-top: 8px; }
.card--link { color: inherit; text-decoration: none; }
.card--link:hover { color: inherit; }
.card__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent); }
.card__more .icon { width: 16px; height: 16px; transition: transform .18s var(--ease); }
.card--link:hover .card__more .icon { transform: translateX(3px); }
.card__tag { display: inline-flex; align-self: flex-start; padding: 4px 10px; border-radius: var(--r-pill); background: var(--copper-tint); color: var(--copper-ink); font-size: .78rem; font-weight: 700; letter-spacing: .04em; }

.tile {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  color: var(--text); text-decoration: none;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.tile:hover { color: var(--text); transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.tile__title { display: block; font-weight: 600; line-height: 1.3; }
.tile__text { display: block; font-size: .875rem; color: var(--text-muted); }
.tile--stack { flex-direction: column; align-items: flex-start; }

.steps { position: relative; display: grid; gap: 28px; }
.step { position: relative; }
.step__num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: .95rem; }
.step__title { margin: 14px 0 8px; font-size: 1.12rem; }
.step__text { color: var(--text-muted); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .steps::before { content: ""; position: absolute; top: 18px; left: 10%; right: 10%; height: 1px; background: var(--border-strong); }
  .step__num { position: relative; box-shadow: 0 0 0 6px var(--bg); }
  .section--tint .step__num, .step__num--tint { box-shadow: 0 0 0 6px var(--surface-2); }
}
.steps--3 { grid-template-columns: none; }
@media (min-width: 760px) { .steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); }
.table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .95rem; line-height: 1.5; }
.table caption { caption-side: top; text-align: left; padding: 16px 18px 4px; font-weight: 600; font-size: 1.05rem; }
.table th, .table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.table thead th { background: var(--surface-2); font-size: .85rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--text-muted); }
.table tbody tr:last-child td, .table tbody tr:last-child th { border-bottom: 0; }
.table tbody th { font-weight: 600; color: var(--text); }
.table td p + p { margin-top: 8px; }
.table--plain thead th { text-transform: none; font-size: .95rem; letter-spacing: 0; color: var(--text); }
.table-note { margin-top: 14px; font-size: .875rem; color: var(--text-muted); }
.mark { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; vertical-align: middle; }
.mark .icon { width: 14px; height: 14px; stroke-width: 2.4; }
.mark--yes { background: var(--success-tint); color: var(--success); }
.mark--no { background: var(--danger-tint); color: var(--danger); }

.exchange-row { display: grid; grid-template-columns: repeat(2, minmax(0, 164px)); justify-content: center; gap: 16px; }
@media (min-width: 1180px) { .exchange-row { grid-template-columns: repeat(4, 164px); } }
@media (max-width: 559px) { .exchange-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.exchange-chip { display: flex; align-items: center; justify-content: center; height: 64px; border-radius: 14px; border: 1px solid var(--border); background: #ffffff; box-shadow: var(--shadow-sm); }
.exchange-chip--dark { background: #0f172a; border-color: #0f172a; }
.exchange-chip img { display: block; height: 28px; width: auto; max-width: calc(100% - 28px); }
@media (max-width: 559px) { .exchange-chip img { height: 24px; } }

.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq__item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.faq__heading { margin: 0; font-family: var(--font-sans); font-size: 1.05rem; font-weight: 600; line-height: 1.4; }
.faq__trigger { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border: 0; background: none; color: var(--text); text-align: left; cursor: pointer; border-radius: var(--r-md); }
.faq__trigger:hover { color: var(--accent); }
.faq__trigger .icon { width: 20px; height: 20px; color: var(--accent); transition: transform .2s var(--ease); }
.faq__trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }
.faq__panel { padding: 0 20px 20px; color: var(--text-muted); }
.faq__panel p + p { margin-top: 10px; }
.js .faq__item:not(.is-open) .faq__panel { display: none; }

.bento { display: grid; gap: 24px; align-items: start; }
@media (min-width: 900px) { .bento { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.bento__list { display: grid; gap: 12px; }
.bento__row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); transition: transform .18s var(--ease), box-shadow .18s var(--ease); }
.bento__row:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.bento__row h3 { font-size: 1rem; margin-bottom: 4px; }
.bento__row p { font-size: .925rem; color: var(--text-muted); }

.ledger { border-top: 1px solid var(--border); }
.ledger__row { display: grid; gap: 6px 28px; padding: 22px 0; border-bottom: 1px solid var(--border); }
@media (min-width: 800px) { .ledger__row { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: start; } }
.ledger__title { display: flex; align-items: center; gap: 12px; font-size: 1.1rem; font-weight: 600; line-height: 1.3; }
.ledger__title .icon-badge { width: 40px; height: 40px; border-radius: 11px; }
.ledger__text { color: var(--text-muted); }
.ledger__text p + p { margin-top: 8px; }

.facts { display: grid; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.facts > div { display: grid; grid-template-columns: minmax(150px, 230px) minmax(0, 1fr); gap: 8px 20px; padding: 16px 22px; border-bottom: 1px solid var(--border); }
.facts > div:last-child { border-bottom: 0; }
.facts > div:nth-child(even) { background: var(--surface-2); }
.facts dt { font-weight: 600; font-size: .9rem; color: var(--text-muted); }
.facts dd { margin: 0; }
@media (max-width: 520px) { .facts > div { grid-template-columns: minmax(0, 1fr); } }

.prose { max-width: 760px; }
.prose > * + * { margin-top: 16px; }
.prose h2 { margin-top: 40px; }
.prose h3 { margin-top: 28px; }
.prose--wide { max-width: 980px; }
.check-list { display: grid; gap: 10px; }
.check-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; }
.check-list .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--success); }
.dot-list { display: grid; gap: 8px; }
.dot-list li { position: relative; padding-left: 20px; }
.dot-list li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--copper); }
.note { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 18px 20px; border-radius: var(--r-md); background: var(--accent-tint); border-left: 3px solid var(--accent); }
.note > .icon { width: 22px; height: 22px; margin-top: 2px; color: var(--accent); }
.note__title { font-weight: 600; margin-bottom: 4px; }
.note p { color: var(--text-muted); }
.note--risk { background: var(--copper-tint); border-left-color: var(--copper); }
.note--risk > .icon { color: var(--copper-ink); }
.toc { padding: 20px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.toc__title { font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.toc__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); column-gap: 24px; row-gap: 4px; }
.toc a { display: inline-block; padding: 4px 0; color: var(--text); text-decoration: none; font-weight: 500; font-size: .95rem; }
.toc a:hover { color: var(--accent); text-decoration: underline; }

.figure { margin: 0; }
.figure img { display: block; width: 100%; height: auto; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }
.figure figcaption { margin-top: 10px; font-size: .85rem; color: var(--text-muted); }
.banner { position: relative; padding: clamp(28px, 4vw, 48px); background: linear-gradient(135deg, var(--accent-tint), var(--surface)); border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--shadow-md); }
.banner--split { display: grid; gap: 24px; align-items: center; }
@media (min-width: 820px) { .banner--split { grid-template-columns: minmax(0, 7fr) auto; } }
.banner h2, .banner p { color: var(--text); }
.banner p { margin-top: 8px; color: var(--text-muted); }

.map-embed { max-width: 960px; margin-inline: auto; aspect-ratio: 16 / 9; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-md); overflow: hidden; background: var(--surface-2); }
.map-embed iframe { display: block; width: 100%; height: 100%; border: 0; }

.article { display: grid; gap: 20px; padding: clamp(22px, 3vw, 36px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: .85rem; color: var(--text-muted); }
.article__meta .icon-badge { width: 40px; height: 40px; border-radius: 11px; }
.article h2 { font-size: clamp(1.45rem, 1.25rem + .7vw, 1.85rem); }
.article .prose { max-width: none; }

.error-page { padding-block: clamp(56px, 9vw, 120px); text-align: center; }
.error-page h1 { font-size: clamp(3rem, 2rem + 5vw, 6rem); line-height: 1; color: var(--accent); }
.error-page p { max-width: 560px; margin: 16px auto 28px; color: var(--text-muted); }

/* small layout variants used by single blocks */
.exchange { display: grid; gap: 24px 40px; align-items: center; }
@media (min-width: 900px) {
  .exchange { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .exchange .exchange-row { justify-content: end; }
}
.grid--stagger > li { min-width: 0; }
@media (min-width: 960px) { .grid--stagger > :nth-child(3n+2) { margin-top: 24px; } }
.facts--plain { background: none; border: 0; border-radius: 0; box-shadow: none; border-top: 1px solid var(--border); }
.facts--plain > div { padding-inline: 4px; }
.facts--plain > div:nth-child(even) { background: none; }
.facts--plain > div:last-child { border-bottom: 1px solid var(--border); }
.table--compare { min-width: 520px; }
.table--plans { min-width: 760px; }
.table--plans th:first-child { width: 34%; }
.table--compare th:first-child { width: 56%; }
.table--compare td { width: 22%; text-align: center; vertical-align: middle; }
.form-card--narrow { margin-inline: auto; }

/* 9. Footer */
.site-footer { background: var(--surface-2); border-top: 1px solid var(--border); padding: clamp(40px, 6vw, 72px) 0 28px; font-size: .95rem; }
.site-footer__grid { display: grid; gap: 32px 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
@media (min-width: 1000px) { .site-footer__grid { grid-template-columns: minmax(0, 3fr) repeat(4, minmax(0, 2fr)); } }
.site-footer__about { margin-top: 14px; color: var(--text-muted); max-width: 42ch; }
.site-footer__mail { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-weight: 600; flex-wrap: wrap; }
.site-footer__mail .icon { width: 18px; height: 18px; color: var(--copper-ink); }
.site-footer__title { font-family: var(--font-sans); font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--text); margin-bottom: 12px; }
.site-footer__list { display: grid; gap: 2px; }
.site-footer__list a { display: inline-block; padding: 6px 0; color: var(--text-muted); text-decoration: none; }
.site-footer__list a:hover { color: var(--accent); text-decoration: underline; }
.site-footer__disclaimer { margin-top: clamp(32px, 5vw, 56px); padding-top: 24px; border-top: 1px solid var(--border-strong); color: var(--text-muted); font-size: .875rem; }
.site-footer__disclaimer p { max-width: 100ch; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border-strong); font-size: .85rem; color: var(--text-muted); }

/* 10. Calculator shell: the widget itself is themed from module/calculator/config.php */
.calc-shell { max-width: 960px; margin-inline: auto; padding: clamp(16px, 2.6vw, 40px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.calc-shell .calc-widget__title { font-family: var(--font-serif); font-weight: 400; letter-spacing: -.015em; font-size: clamp(1.6rem, 1.28rem + 1vw, 2.3rem); line-height: 1.16; margin-bottom: 12px; }
.calc-shell .calc-widget__subtitle { font-size: clamp(.975rem, .95rem + .2vw, 1.1rem); line-height: 1.55; margin-bottom: 32px; }
.calc-shell .calc-widget__cta { min-height: 48px; padding: 0 28px; font-weight: 600; font-size: 1rem; }
.calc-shell .calc-widget__range:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; border-radius: 6px; }
.calc-shell__note { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--border); font-size: .875rem; line-height: 1.5; color: var(--text-muted); text-align: center; }
.calc-modal__legal a { color: var(--accent-tint-2); }
.calc-modal__legal a:hover { color: #fff; }
.calc-modal__content :focus-visible { outline-color: #fff; }
.calc-modal__content form { display: grid; gap: 12px; text-align: left; }
.calc-modal__content form > div { display: grid; gap: 6px; }
.calc-modal__content label { display: block; color: var(--surface); font-size: .9rem; font-weight: 600; line-height: 1.35; }
.calc-modal__content label:has(> input[type="checkbox"]) { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; color: var(--accent-tint-2); cursor: pointer; }
.calc-modal__content input:not([type="checkbox"]):not([type="hidden"]) { width: 100%; height: 46px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .24); border-radius: var(--r-sm); background: rgba(255, 255, 255, .08); color: #fff; font-size: 1rem; }
.calc-modal__content input:focus-visible { outline: none; border-color: var(--accent-tint-2); box-shadow: 0 0 0 3px rgba(211, 222, 234, .35); }
.calc-modal__content input[aria-invalid="true"] { border-color: #F3B9AE; box-shadow: 0 0 0 3px rgba(243, 185, 174, .25); }
.calc-modal__content input[type="checkbox"] { width: 24px; height: 24px; margin: 0; flex: none; accent-color: var(--accent); }
.calc-modal__content [class*="error"], .calc-modal__content [id$="-error"] { margin: 0; font-size: .85rem; line-height: 1.4; font-weight: 500; color: #F8D3CB; }
.calc-modal__content button[type="submit"] { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 50px; padding: 0 24px; border: 0; border-radius: var(--r-pill); background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: 1rem; line-height: 1; cursor: pointer; }
.calc-modal__content button[type="submit"]:hover { background: var(--accent-hover); }

/* 11. Special-offer exit-intent modal */
.so-modal { position: fixed; inset: 0; z-index: 400; display: none; align-items: center; justify-content: center; padding: 16px; }
.so-modal.is-open { display: flex; }
.so-modal__overlay { position: absolute; inset: 0; background: rgba(27, 46, 71, .55); }
.so-modal__dialog { position: relative; z-index: 1; width: 100%; max-width: 440px; padding: 28px 24px 24px; background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); text-align: center; animation: so-in .22s var(--ease); }
.so-modal__close { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--surface-2); color: var(--text); cursor: pointer; transition: background-color .15s var(--ease), color .15s var(--ease); }
.so-modal__close:hover { background: var(--accent-tint); color: var(--accent); }
.so-modal__art { display: block; width: 160px; height: auto; margin: 0 auto 14px; }
.so-modal__title { font-size: 1.55rem; margin-bottom: 10px; }
.so-modal__text { color: var(--text-muted); margin-bottom: 20px; }
body.overlay-open { overflow: hidden; }
@keyframes so-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }

/* 12. Motion and accessibility */
.js .reveal { opacity: 0; transform: translateY(10px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.js .reveal.is-inview { opacity: 1; transform: none; }
@media (max-width: 767px) { .hero__band { height: 340px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero__band { transform: none !important; }
}
@media print { .site-header, .nav-toggle, .breadcrumbs, .so-modal, .hero__band { display: none !important; } }

/* documentation cards: each numbered point of a policy page is its own heading */
.card--doc h2 { font-family: var(--font-sans); font-size: 1.3rem; font-weight: 600; line-height: 1.3; letter-spacing: -.005em; }
.card--doc h3 { margin-top: 6px; font-size: 1.05rem; }
.card--doc p { max-width: 78ch; }
.card--doc .table-wrap { margin-top: 8px; max-width: 100%; }
.card--doc .steps { margin-top: 8px; }
.card--span { grid-column: 1 / -1; }
.card__tip { padding-top: 12px; border-top: 1px solid var(--border); }
.table--methods { min-width: 920px; }
.table--methods th:first-child { width: 13%; white-space: nowrap; }
.table--methods td:nth-child(2) { width: 13%; }
.table--methods td:nth-child(3) { width: 7%; }
.table--methods td:nth-child(4) { width: 13%; }
.table--methods td:nth-child(5) { width: 44%; }
.table--privacy { min-width: 860px; }
.product-hero .form-card { width: 100%; }

/* five cards in three columns without an empty cell: the first card leads across two columns */
@media (min-width: 900px) { .grid--lead > :first-child { grid-column: span 2; } }
.table--plain caption { color: var(--text); }
@media (max-width: 899px) and (min-width: 620px) { .grid--lead > :last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* abstract coin disc with a ticker (never the brand mark of a real asset) */
.coin-badge { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--accent-deep); color: var(--surface); font-weight: 700; font-size: .85rem; letter-spacing: .02em; box-shadow: 0 0 0 3px var(--accent-tint); }

/* error page */
.error-code { font-family: var(--font-serif); font-size: clamp(4.5rem, 3rem + 8vw, 8rem); line-height: .9; color: var(--accent-tint-2); margin-bottom: 8px; }
.error-page h1 { font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.9rem); color: var(--text); }
.error-page .btn-row { justify-content: center; }

/* map frame on phones: a fixed height instead of the ratio (a min-height beside aspect-ratio forces a width) */
@media (max-width: 599px) { .map-embed { aspect-ratio: auto; min-height: 320px; } }

/* keep wide tables and long words inside their wrappers on narrow screens */
.table-wrap { min-width: 0; max-width: 100%; }
.card, .grid > li { min-width: 0; }
.faq { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 899px) { .stack, .split, .bento, .steps, .exchange, .site-footer__grid { grid-template-columns: minmax(0, 1fr); } }

/* calculator: a 24px hit area for the two range inputs while the painted track stays 6px (module files untouched) */
.calc-widget__range { height: 24px !important; background-size: 100% 6px !important; background-position: 0 50% !important; background-repeat: no-repeat !important; }

/* documentation grids: two columns on desktop, so paragraph-heavy cards keep a readable measure */
.grid--docs { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
@media (min-width: 900px) { .grid--docs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* a numbered list inside a narrow card: one column, no connector line */
.steps--list { grid-template-columns: minmax(0, 1fr); gap: 18px; }
.steps--list::before { display: none; }
.steps--list .step__num { margin-bottom: 10px; }

/* hero: the headline keeps clear space above the form card, whatever serif the system supplies
   (the padding gives deep descenders room inside the headline's own box) */
.hero__title { padding-bottom: .14em; margin-bottom: clamp(18px, 2.4vw, 30px); }

/* hero on phones: checklist order is headline, then the form, then everything else, so the three
   advantages follow the card; the market band becomes a strip above the headline and fades out
   before the headline begins, so no line runs through the text */
@media (max-width: 767px) {
  .hero { padding-top: 146px; }
  .hero > .container { display: flex; flex-direction: column; }
  .hero__title { order: 1; }
  .hero > .container > .form-card { order: 2; }
  .hero__points { order: 3; margin: 22px 0 0; }
  .hero__band { height: 138px; }
  .hero__band::after { background: linear-gradient(to bottom, rgba(243, 245, 247, 0) 0%, rgba(243, 245, 247, .35) 55%, var(--bg) 97%); }
}

.tv-ticker-wrapper {
    padding-top: 0px !important;
    height: 58px !important;
}

/* Homepage background artwork */
.hero-art {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
}
.hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-art::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgb(243 245 247 / 86%), rgb(243 245 247 / 60%) 42%, rgb(243 245 247 / 14%) 83%),
    radial-gradient(ellipse at 48% 32%, rgb(243 245 247 / 70%), transparent 74%);
}
.hero__band { opacity: .32; }
@media (max-width: 767px) {
  .hero-art { inset: auto 0 0; height: clamp(180px, 56.25vw, 432px); }
  .hero-art::after {
    background: linear-gradient(180deg, var(--bg), rgb(243 245 247 / 38%) 18%, transparent 46%);
  }
  .hero { padding-bottom: clamp(156px, 50vw, 390px); }
}

/* Account button in the site header and its mobile menu. */
.site-header .header-signup {
    min-height: 44px; gap: 8px; padding: 5px 7px 5px 15px;
    font-size: .875rem; font-weight: 700; line-height: 1.15;
    white-space: nowrap; text-align: center; text-decoration: none;
    transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
    color: #fafdff; background: linear-gradient(110deg, #36597f, #274664);
    border: 1px solid #24415e; border-radius: 999px;
    box-shadow: 0 4px 12px rgb(35 66 99 / 24%), inset 0 0 0 2px rgb(209 230 249 / 14%);
}
.site-header .header-signup__icon {
    display: grid; place-items: center; flex: none;
    width: 28px; height: 28px; border-radius: 50%;
    color: #294b6c; background: #e0ecf7;
}
.site-header .header-signup__icon svg { display: block; width: 16px; height: 16px; transition: transform .18s ease; }
.site-header .header-signup:focus-visible { outline: 2px solid #36597f; outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .site-header .header-signup:hover {
    color: #fafdff; background: #294e72; box-shadow: 0 6px 15px rgb(35 66 99 / 33%);
  }
  .site-header .header-signup:hover svg { transform: translateX(2px); }
}
@media (prefers-reduced-motion: reduce) {
    .site-header .header-signup, .site-header .header-signup:hover, .site-header .header-signup .header-signup__icon svg { transition: none; transform: none; }
}

#registration-form input[type="submit"] {
    background-color: #3d608a!important;
    font-weight: bold!important;
    color: #fff!important;
}
