/* ==========================================================================
   Financial Future Forward — site stylesheet
   ========================================================================== */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0a0f2c;
  --ink-2: #151b45;
  --ink-3: #242b5e;
  --text: #3b4265;
  --muted: #666d8f;
  --line: #dfe4f1;
  --paper: #f1f4fb;
  --white: #ffffff;
  --blue: #2447f9;
  --blue-d: #1632c8;
  --blue-50: #e8edff;
  --blue-100: #cfd9ff;
  --blue-300: #8fa5ff;
  --coral: #ff5a36;
  --coral-d: #d93a16;
  --coral-50: #ffe9e3;

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --r-xl: 40px;

  --shadow-sm: 0 1px 2px rgba(10, 15, 44, 0.05), 0 6px 16px -8px rgba(10, 15, 44, 0.12);
  --shadow: 0 1px 2px rgba(10, 15, 44, 0.04), 0 18px 40px -18px rgba(10, 15, 44, 0.22);
  --shadow-lg: 0 30px 70px -30px rgba(10, 15, 44, 0.35);

  --font-d: "Bricolage Grotesque", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-b: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --header-h: 68px;
  --header-offset: 92px;
  --gutter: clamp(18px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
}

body {
  margin: 0;
  font-family: var(--font-b);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-d);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--blue); color: #fff; }

.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -80px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-b);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--coral);
}
.eyebrow--plain::before { display: none; }

.h-xl { font-size: clamp(2.6rem, 6.6vw, 5.5rem); line-height: 0.98; letter-spacing: -0.04em; }
.h-lg { font-size: clamp(2.1rem, 4.6vw, 3.6rem); letter-spacing: -0.035em; }
.h-md { font-size: clamp(1.7rem, 3.2vw, 2.5rem); letter-spacing: -0.03em; }

.hl { color: var(--blue); }
.hl--coral { color: var(--coral); }
.hl--mark {
  color: inherit;
  background: linear-gradient(transparent 60%, rgba(255, 90, 54, 0.36) 60%, rgba(255, 90, 54, 0.36) 88%, transparent 88%);
  padding-inline: 0.05em;
  margin-inline: -0.05em;
  border-radius: 0.08em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.lead { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--text); }
.prose > * + * { margin-top: 1.1em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn .icon { transition: transform 0.2s ease; }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--blue); }

.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-d); }

.btn--coral { background: var(--coral); color: var(--ink); }
.btn--coral:hover { background: #ff7455; }

.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--blue-50); }

.btn--outline-light { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 0.9375rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 2px;
  transition: color 0.2s ease, gap 0.2s ease;
}
.link-arrow:hover { color: var(--blue); gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 12px var(--gutter);
}
.site-header__bar {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 12px 10px 20px;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}
.site-header.is-stuck .site-header__bar,
.site-header.is-open .site-header__bar {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  white-space: nowrap;
}
.brand__mark { width: 38px; height: 38px; flex: none; }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.975rem;
  color: var(--text);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.site-nav a:hover { background: var(--paper); color: var(--ink); }
.site-nav a[aria-current="page"] { background: var(--ink); color: #fff; }

.site-header__actions { display: flex; align-items: center; gap: 8px; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  align-items: center;
  justify-content: center;
  flex: none;
}
.nav-toggle__bars { position: relative; width: 18px; height: 12px; }
.nav-toggle__bars span {
  position: absolute; left: 0;
  width: 100%; height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s ease, top 0.25s ease, opacity 0.2s ease;
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 10px; }
.site-header.is-open .nav-toggle__bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.site-header.is-open .nav-toggle__bars span:nth-child(2) { top: 5px; transform: rotate(-45deg); }

.mobile-nav {
  display: none;
  position: absolute;
  z-index: 2;
  left: var(--gutter);
  right: var(--gutter);
  top: calc(100% - 2px);
  max-height: calc(100vh - var(--header-h) - 40px);
  max-height: calc(100dvh - var(--header-h) - 40px);
  overflow-y: auto;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.mobile-nav a:not(.btn) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px;
  border-radius: 16px;
  font-family: var(--font-d);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.mobile-nav a:not(.btn) .icon { color: var(--muted); }
.mobile-nav a:not(.btn):hover,
.mobile-nav a:not(.btn)[aria-current="page"] { background: var(--paper); }
.mobile-nav a:not(.btn)[aria-current="page"] .icon { color: var(--coral); }
.mobile-nav .btn { margin-top: 10px; }

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: rgba(10, 15, 44, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

@media (max-width: 900px) {
  .site-nav, .site-header__cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header__bar { padding: 8px 8px 8px 16px; min-height: 62px; }
  .site-header.is-open .mobile-nav { display: block; animation: sheet-in 0.25s ease both; }
  .site-header.is-open .nav-backdrop { opacity: 1; visibility: visible; }
}
@keyframes sheet-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--paper { background: var(--paper); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--flush-top { padding-top: 0; }

.section-head { display: grid; gap: 18px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--split {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: end;
  gap: clamp(20px, 4vw, 64px);
}
.section-head--split > :first-child { display: grid; gap: 18px; }
.section-head--center { text-align: center; justify-items: center; max-width: 780px; margin-inline: auto; }
@media (max-width: 860px) {
  .section-head--split { grid-template-columns: 1fr; align-items: start; }
}

/* ---------- Home hero ---------- */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(48px, 7vw, 88px); position: relative; }
.hero::before {
  content: "";
  position: absolute;
  inset: -120px 0 auto 0;
  height: 620px;
  z-index: -1;
  background:
    radial-gradient(50% 60% at 88% 10%, rgba(36, 71, 249, 0.14), transparent 70%),
    radial-gradient(40% 50% at 6% 30%, rgba(255, 90, 54, 0.12), transparent 70%);
  pointer-events: none;
}
.hero__top {
  display: grid;
  grid-template-columns: minmax(0, 7.4fr) minmax(0, 4.6fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: end;
  margin-bottom: clamp(32px, 4.5vw, 56px);
}
.hero__title { margin-top: 22px; }
.hero__aside { display: grid; gap: 26px; padding-bottom: 8px; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.tag__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(255, 90, 54, 0.2);
}

.hero__media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--blue-50);
  aspect-ratio: 16 / 7.4;
  isolation: isolate;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10, 15, 44, 0.45));
  pointer-events: none;
}

.pillars {
  position: absolute;
  z-index: 2;
  left: 20px; right: 20px; bottom: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}
.pillar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  min-width: 0;
}
.pillar + .pillar { border-left: 1px solid var(--line); }
.pillar__icon {
  width: 46px; height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--blue-50);
  color: var(--blue);
}
.pillar:nth-child(even) .pillar__icon { background: var(--coral-50); color: var(--coral-d); }
.pillar__icon .icon { width: 22px; height: 22px; }
.pillar__title { font-family: var(--font-d); font-weight: 700; font-size: 1.125rem; color: var(--ink); letter-spacing: -0.02em; line-height: 1.2; }
.pillar__text { font-size: 0.875rem; color: var(--muted); line-height: 1.35; margin-top: 2px; }

@media (max-width: 1080px) {
  .hero__media { aspect-ratio: auto; overflow: visible; background: none; border-radius: 0; }
  .hero__media img { aspect-ratio: 16 / 9; height: auto; border-radius: var(--r-lg); }
  .hero__media::after { display: none; }
  .pillars {
    position: static;
    margin-top: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: none;
  }
  .pillar:nth-child(3) { border-left: 0; }
  .pillar:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .hero__top { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 560px) {
  .hero__media img { aspect-ratio: 4 / 3; }
  .pillars { grid-template-columns: 1fr; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid var(--line); }
  .btn-row--stack .btn { width: 100%; }
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding: 18px 0;
  -webkit-user-select: none;
  user-select: none;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__group span {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-family: var(--font-d);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.marquee__group span::after {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--coral);
}
.marquee__group span:nth-child(even)::after { background: var(--blue-300); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Split (about teaser) ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 6.5fr) minmax(0, 5.5fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.split--reverse { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.split__body { display: grid; gap: 22px; }
.split__body .btn-row { margin-top: 10px; }
.split--top { align-items: start; }

.photo-stack { position: relative; padding: 0 0 28px 28px; }
.photo-stack::before {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 62%; height: 58%;
  border-radius: var(--r-xl);
  background: var(--blue);
}
.photo-stack::after {
  content: "";
  position: absolute;
  right: -14px; top: -14px;
  width: 92px; height: 92px;
  border-radius: 50%;
  background: var(--coral);
  z-index: 0;
}
.photo-stack img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}
.photo-stack--left { padding: 0 28px 28px 0; }
.photo-stack--left::before { left: auto; right: 0; background: var(--ink); }
.photo-stack--left::after { right: auto; left: -14px; }

@media (max-width: 900px) {
  .split, .split--reverse { grid-template-columns: 1fr; }
  .photo-stack { max-width: 520px; }
  .photo-stack::after { right: -8px; top: -12px; width: 64px; height: 64px; }
  .photo-stack--left::after { left: -8px; right: auto; }
}

/* ---------- Dark block + service overview cards ---------- */
.block-dark {
  background: var(--ink);
  color: #c3c9e6;
  border-radius: var(--r-xl);
  margin-inline: clamp(8px, 1.6vw, 24px);
  padding-block: clamp(56px, 8vw, 104px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.block-dark::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 720px; height: 720px;
  right: -260px; top: -320px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(36, 71, 249, 0.55), transparent);
  pointer-events: none;
}
.block-dark h2, .block-dark h3 { color: #fff; }
.block-dark .eyebrow { color: var(--blue-300); }
.block-dark .lead { color: #c3c9e6; }
.block-dark .hl { color: var(--blue-300); }

.cat-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.cat-card {
  grid-column: span 2;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 300px;
  padding: 26px;
  border-radius: var(--r-lg);
  background: var(--ink-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #c3c9e6;
  transition: background-color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.cat-card--wide { grid-column: span 3; }
.cat-card:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-4px); color: #fff; }
.cat-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cat-card__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}
.cat-card__label .icon { width: 20px; height: 20px; color: var(--coral); transition: color 0.25s ease; }
.cat-card:hover .cat-card__label .icon { color: #fff; }
.cat-card__num { font-family: var(--font-d); font-size: 0.95rem; font-weight: 600; color: rgba(255, 255, 255, 0.45); }
.cat-card h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -0.025em; line-height: 1.12; }
.cat-card p { font-size: 0.975rem; line-height: 1.6; }
.cat-card__list { display: flex; flex-wrap: wrap; gap: 6px; }
.cat-card__list li {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.8125rem;
  line-height: 1.3;
  color: #dfe3f7;
  transition: border-color 0.25s ease;
}
.cat-card:hover .cat-card__list li { border-color: rgba(255, 255, 255, 0.45); }
.cat-card__go {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
}
.cat-card__go .icon {
  width: 34px; height: 34px;
  padding: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.cat-card:hover .cat-card__go .icon { background: #fff; color: var(--blue); transform: rotate(-45deg); }
.cat-card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-card, .cat-card--wide { grid-column: span 1; min-height: 0; }
}
@media (max-width: 640px) {
  .cat-grid { grid-template-columns: 1fr; }
  .block-dark { border-radius: var(--r-lg); }
}

/* ---------- Why list ---------- */
.why {
  display: grid;
  grid-template-columns: minmax(0, 4.6fr) minmax(0, 7.4fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.why__head { position: sticky; top: calc(var(--header-offset) + 16px); display: grid; gap: 20px; }
.why__list { border-top: 1.5px solid var(--ink); }
.why__item {
  display: grid;
  grid-template-columns: 40px 52px minmax(0, 1fr);
  gap: 8px 22px;
  align-items: start;
  padding: 30px 8px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.25s ease, padding 0.25s ease;
}
.why__item:hover { background: var(--paper); padding-inline: 20px; }
.section--paper .why__item:hover { background: #fff; }
.why__num {
  font-family: var(--font-d);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--coral-d);
  padding-top: 12px;
}
.why__icon {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--blue-50);
  color: var(--blue);
}
.why__icon .icon { width: 24px; height: 24px; }
.why__item h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); margin-bottom: 8px; padding-top: 4px; }
.why__item p { color: var(--text); }

@media (max-width: 960px) {
  .why { grid-template-columns: 1fr; }
  .why__head { position: static; }
}
@media (max-width: 560px) {
  .why__item { grid-template-columns: 52px minmax(0, 1fr); padding-inline: 0; }
  .why__item:hover { padding-inline: 0; background: transparent; }
  .why__num { grid-column: 1 / -1; padding-top: 0; }
}

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.quote {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
}
.quote:nth-child(1), .quote:nth-child(2) { grid-column: span 3; }
.quote:nth-child(1) { background: var(--blue); border-color: var(--blue); color: #fff; }
.quote:nth-child(4) { background: var(--ink); border-color: var(--ink); color: #dfe3f7; }
.quote__stars { display: flex; gap: 3px; color: var(--coral); }
.quote:nth-child(1) .quote__stars { color: #fff; }
.quote__stars svg { width: 18px; height: 18px; fill: currentColor; }
.quote blockquote { font-size: 1.0625rem; line-height: 1.6; color: var(--ink); }
.quote:nth-child(1) blockquote, .quote:nth-child(2) blockquote {
  font-family: var(--font-d);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.quote:nth-child(1) blockquote, .quote:nth-child(4) blockquote { color: #fff; }
.quote__who { margin-top: auto; display: flex; align-items: center; gap: 14px; }
.quote__avatar {
  width: 48px; height: 48px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue);
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0;
}
.quote:nth-child(1) .quote__avatar { background: #fff; color: var(--blue); }
.quote:nth-child(4) .quote__avatar { background: var(--coral); color: var(--ink); }
.quote:nth-child(odd):not(:nth-child(1)) .quote__avatar { background: var(--coral-50); color: var(--coral-d); }
.quote__name { font-weight: 700; color: var(--ink); line-height: 1.3; }
.quote__role { font-size: 0.9rem; color: var(--muted); line-height: 1.3; }
.quote:nth-child(1) .quote__name, .quote:nth-child(4) .quote__name { color: #fff; }
.quote:nth-child(1) .quote__role { color: rgba(255, 255, 255, 0.8); }
.quote:nth-child(4) .quote__role { color: #aeb5d6; }

@media (max-width: 1000px) {
  .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote, .quote:nth-child(1), .quote:nth-child(2) { grid-column: span 1; }
  .quote:nth-child(1) { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .quotes { grid-template-columns: 1fr; }
}

/* ---------- CTA band ---------- */
.band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 7fr) auto;
  gap: 32px;
  align-items: center;
  padding: clamp(32px, 6vw, 72px);
  border-radius: var(--r-xl);
  background: var(--coral);
  color: var(--ink);
}
.band::before, .band::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  border: 2px solid rgba(10, 15, 44, 0.16);
  pointer-events: none;
}
.band::before { width: 420px; height: 420px; right: -120px; top: -160px; }
.band::after { width: 260px; height: 260px; right: -40px; top: -80px; }
.band__body { display: grid; gap: 16px; max-width: 720px; }
.band .eyebrow { color: var(--ink); }
.band .eyebrow::before { background: var(--ink); }
.band p { color: #2a1a16; font-size: 1.125rem; }
.band--blue { background: var(--blue); color: #fff; }
.band--blue h2 { color: #fff; }
.band--blue p { color: #e2e8ff; }
.band--blue .eyebrow { color: #fff; }
.band--blue .eyebrow::before { background: var(--coral); }
.band--blue::before, .band--blue::after { border-color: rgba(255, 255, 255, 0.2); }
@media (max-width: 820px) {
  .band { grid-template-columns: 1fr; border-radius: var(--r-lg); }
}

/* ---------- Inner page head ---------- */
.page-head { padding: clamp(8px, 2vw, 20px) 0 0; }
.page-head__box {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin-inline: clamp(8px, 1.6vw, 24px);
  padding: clamp(40px, 6vw, 84px) 0 clamp(44px, 6vw, 88px);
  border-radius: var(--r-xl);
  background: var(--paper);
}
.page-head__box::before, .page-head__box::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}
.page-head__box::before {
  width: 520px; height: 520px;
  right: -170px; bottom: -300px;
  background: var(--blue);
}
.page-head__box::after {
  width: 150px; height: 150px;
  right: 250px; bottom: -70px;
  background: var(--coral);
}
.page-head__grid {
  display: grid;
  grid-template-columns: minmax(0, 7.5fr) minmax(0, 4.5fr);
  gap: clamp(20px, 4vw, 72px);
  align-items: end;
}
.page-head__main { display: grid; gap: 18px; justify-items: start; }
.page-head__lead {
  position: relative;
  padding: 26px 28px;
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow);
  font-size: 1.0625rem;
}
.page-head--solo .page-head__grid { grid-template-columns: minmax(0, 1fr); }
.page-head--solo .page-head__main { max-width: 860px; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--muted); margin-bottom: 6px; }
.crumbs a { font-weight: 600; color: var(--ink); }
.crumbs a:hover { color: var(--blue); }
.crumbs__sep { color: var(--blue-300); }

@media (max-width: 860px) {
  .page-head__grid { grid-template-columns: 1fr; align-items: start; }
  .page-head__box { border-radius: var(--r-lg); padding-bottom: 110px; }
  .page-head--solo .page-head__box { padding-bottom: 120px; }
  .page-head__box::before { width: 300px; height: 300px; right: -90px; bottom: -200px; }
  .page-head__box::after { width: 84px; height: 84px; right: 150px; bottom: -34px; }
}

/* ---------- Pillar cards (about) ---------- */
.pillar-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pillar-card {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 28px 26px 30px;
  border-radius: var(--r-lg);
  background: var(--paper);
  transition: transform 0.25s ease;
}
.pillar-card:hover { transform: translateY(-4px); }
.pillar-card:nth-child(1) { background: var(--blue); }
.pillar-card:nth-child(2) { background: var(--coral-50); }
.pillar-card:nth-child(3) { background: var(--ink); }
.pillar-card:nth-child(4) { background: var(--blue-50); }
.pillar-card__icon {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #fff;
  color: var(--blue);
  margin-bottom: 36px;
}
.pillar-card:nth-child(2) .pillar-card__icon { color: var(--coral-d); }
.pillar-card:nth-child(3) .pillar-card__icon { background: var(--coral); color: var(--ink); }
.pillar-card__icon .icon { width: 24px; height: 24px; }
.pillar-card h3 { font-size: 1.6rem; }
.pillar-card p { color: var(--text); font-size: 1rem; line-height: 1.45; }
.pillar-card:nth-child(1) h3, .pillar-card:nth-child(3) h3 { color: #fff; }
.pillar-card:nth-child(1) p { color: #e2e8ff; }
.pillar-card:nth-child(3) p { color: #c3c9e6; }
@media (max-width: 960px) { .pillar-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .pillar-cards { grid-template-columns: 1fr; } .pillar-card__icon { margin-bottom: 18px; } }

/* ---------- Services page ---------- */
.svc-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.svc-nav { position: sticky; top: calc(var(--header-offset) + 12px); }
.svc-nav__title { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; padding-left: 14px; }
.svc-nav__list { display: grid; gap: 4px; }
.svc-nav__list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.975rem;
  color: var(--text);
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.svc-nav__list a span { font-family: var(--font-d); font-size: 0.8rem; font-weight: 600; color: var(--muted); min-width: 20px; transition: color 0.2s ease; }
.svc-nav__list a:hover { background: var(--paper); color: var(--ink); }
.svc-nav__list a.is-active { background: var(--ink); color: #fff; }
.svc-nav__list a.is-active span { color: var(--coral); }

.svc { padding-block: clamp(44px, 6vw, 80px); border-top: 1px solid var(--line); }
.svc:first-child { padding-top: 0; border-top: 0; }
.svc:last-child { padding-bottom: 0; }

.svc__intro {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
  margin-bottom: 28px;
}
.svc__head { display: grid; gap: 16px; align-content: start; }
.svc__label { display: flex; align-items: center; gap: 14px; }
.svc__num {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  flex: none;
}
.svc__head p { color: var(--text); }

.svc-rows { border-top: 1.5px solid var(--ink); }
.svc-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 210px) minmax(0, 1fr);
  gap: 6px 22px;
  align-items: start;
  padding: 24px 12px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.2s ease;
}
.svc-row:last-child { border-bottom: 0; }
.svc-row:hover { background: var(--paper); }
.svc-row__icon {
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--blue-50);
  color: var(--blue);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.svc-row:nth-child(even) .svc-row__icon { background: var(--coral-50); color: var(--coral-d); }
.svc-row:hover .svc-row__icon { background: var(--blue); color: #fff; }
.svc-row__icon .icon { width: 22px; height: 22px; }
.svc-row h3 { font-size: 1.2rem; letter-spacing: -0.02em; line-height: 1.2; padding-top: 12px; }
.svc-row p { font-size: 0.98rem; line-height: 1.62; color: var(--text); padding-top: 9px; }
@media (max-width: 720px) {
  .svc-row { grid-template-columns: 48px minmax(0, 1fr); padding-inline: 0; }
  .svc-row:hover { background: transparent; }
  .svc-row p { grid-column: 1 / -1; padding-top: 4px; }
}

/* widgets */
.widget {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 26px;
  border-radius: var(--r-lg);
  background: var(--paper);
}
.widget--blue { background: var(--blue); color: #e2e8ff; }
.widget--ink { background: var(--ink); color: #c3c9e6; }
.widget--coral { background: var(--coral-50); }
.widget--blue h3, .widget--ink h3, .widget--blue .widget__big, .widget--ink .widget__big { color: #fff; }
.widget h3 { font-size: 1.3rem; }
.widget p { font-size: 0.96rem; line-height: 1.55; }
.widget__icon {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #fff;
  color: var(--blue);
}
.widget__icon .icon { width: 24px; height: 24px; }
.widget__kicker { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; color: var(--muted); }
.widget--blue .widget__kicker { color: #cfd9ff; }
.widget--ink .widget__kicker { color: var(--blue-300); }
.widget__big { font-family: var(--font-d); font-weight: 700; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; letter-spacing: -0.04em; color: var(--ink); }
.widget-stack { display: grid; gap: 14px; align-content: start; }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.stats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat { padding: 18px 16px; border-radius: var(--r); background: var(--paper); display: grid; gap: 4px; align-content: start; }
.stat:nth-child(1) { background: var(--ink); }
.stat:nth-child(2) { background: var(--blue-50); }
.stat:nth-child(3) { background: var(--coral-50); }
.stat__value { font-family: var(--font-d); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.stat__label { font-size: 0.85rem; line-height: 1.3; color: var(--text); font-weight: 500; }
.stat:nth-child(1) .stat__value { color: #fff; }
.stat:nth-child(1) .stat__label { color: #c3c9e6; }

.alloc__bar { display: flex; height: 16px; border-radius: 999px; overflow: hidden; gap: 3px; }
.alloc__bar span { display: block; height: 100%; border-radius: 999px; }
.alloc__rows { display: grid; gap: 10px; }
.alloc__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 600; color: #fff; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.alloc__row:last-child { border-bottom: 0; padding-bottom: 0; }
.alloc__row span:first-child { display: inline-flex; align-items: center; gap: 10px; }
.alloc__row i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.c-blue { background: var(--blue); }
.c-coral { background: var(--coral); }
.c-sky { background: var(--blue-100); }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; position: relative; counter-reset: none; }
.steps::before { content: ""; position: absolute; left: 12%; right: 12%; top: 20px; height: 2px; background: var(--blue-100); }
.step { position: relative; display: grid; gap: 8px; justify-items: center; text-align: center; font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.step__n {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-d);
  font-weight: 700;
  box-shadow: 0 0 0 5px var(--paper);
}
.step:nth-child(even) .step__n { background: var(--coral); color: var(--ink); }

.eco { display: grid; gap: 10px; }
.eco__row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.eco__icon { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--blue); color: #fff; }
.eco__row:nth-child(2) .eco__icon { background: var(--coral); color: var(--ink); }
.eco__row:nth-child(3) .eco__icon { background: #fff; color: var(--blue); }
.eco__icon .icon { width: 20px; height: 20px; }
.eco__name { font-weight: 700; color: #fff; line-height: 1.3; }
.eco__desc { font-size: 0.875rem; color: #aeb5d6; line-height: 1.3; }
.eco__arrow { margin-left: auto; color: var(--blue-300); }

.checks { display: grid; gap: 10px; }
.checks li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.96rem; line-height: 1.4; color: var(--ink); font-weight: 500; }
.checks li::before {
  content: "";
  width: 8px; height: 8px;
  margin-top: 0.42em;
  flex: none;
  border-radius: 50%;
  background: var(--coral);
}

.covers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cover { display: grid; gap: 10px; justify-items: center; text-align: center; padding: 18px 8px; border-radius: 16px; background: #fff; font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.cover .icon { width: 26px; height: 26px; color: var(--blue); }
.cover:nth-child(2) .icon { color: var(--coral-d); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); color: #fff; font-size: 0.875rem; font-weight: 600; }

@media (max-width: 1100px) {
  .svc-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .svc-nav {
    min-width: 0;
    top: 0;
    z-index: 20;
    margin-top: calc(var(--section) * -1);
    margin-inline: calc(var(--gutter) * -1);
    padding: calc(var(--header-offset) + 4px) var(--gutter) 10px;
    background: rgba(255, 255, 255, 0.94);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
  }
  .svc-nav__title { display: none; }
  .svc-nav__list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .svc-nav__list::-webkit-scrollbar { display: none; }
  .svc-nav__list a { padding: 9px 16px; border-radius: 999px; background: var(--paper); flex: none; }
  .svc { scroll-margin-top: 44px; }
}
@media (max-width: 820px) {
  .svc__intro { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; }
  .stats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { grid-template-columns: auto 1fr; align-items: center; gap: 14px; }
  .stats--2 .stat { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(16px, 2.4vw, 28px);
  align-items: stretch;
}
.card {
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--r-xl);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.card__head { display: grid; gap: 10px; margin-bottom: 28px; }
.card__head p { color: var(--muted); }

.info-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(24px, 3.4vw, 40px);
  border-radius: var(--r-xl);
  background: var(--blue);
  color: #fff;
}
.info-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 380px; height: 380px;
  right: -140px; bottom: -160px;
  border-radius: 50%;
  border: 56px solid rgba(255, 255, 255, 0.09);
}
.info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: background-color 0.2s ease;
}
a.info-item:hover { background: rgba(255, 255, 255, 0.2); }
.info-item__icon { width: 50px; height: 50px; flex: none; display: grid; place-items: center; border-radius: 15px; background: #fff; color: var(--blue); }
.info-item:nth-child(2) .info-item__icon { background: var(--coral); color: var(--ink); }
.info-item:nth-child(3) .info-item__icon { background: var(--ink); color: #fff; }
.info-item__icon .icon { width: 22px; height: 22px; }
.info-item__label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #cfd9ff; }
.info-item__value { font-family: var(--font-d); font-weight: 600; font-size: clamp(1.05rem, 1.6vw, 1.25rem); letter-spacing: -0.015em; line-height: 1.3; overflow-wrap: anywhere; }

@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; }
  .card, .info-panel { border-radius: var(--r-lg); }
}

/* ---------- Forms ---------- */
.form { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }

.field { display: grid; gap: 8px; align-content: start; min-width: 0; }
.field label { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.field__opt { font-weight: 400; color: var(--muted); }

.input {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}
.input::placeholder { color: #8a90ad; }
.input:hover { border-color: var(--blue-100); }
.input:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(36, 71, 249, 0.16); }
textarea.input { min-height: 150px; resize: vertical; }
select.input {
  padding-right: 46px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0f2c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
  cursor: pointer;
}
input[type="date"].input { min-width: 0; }

.field.is-invalid .input { border-color: var(--coral-d); background: #fff6f3; }
.field.is-invalid .input:focus { box-shadow: 0 0 0 4px rgba(217, 58, 22, 0.16); }
.field__error { display: none; font-size: 0.875rem; font-weight: 500; color: var(--coral-d); line-height: 1.35; }
.field.is-invalid .field__error { display: block; }

.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 4px 12px; align-items: start; }
.check input {
  -webkit-appearance: none;
  appearance: none;
  width: 22px; height: 22px;
  margin: 2px 0 0;
  border: 1.5px solid #a9b0cc;
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.check input::after {
  content: "";
  width: 11px; height: 6px;
  border-left: 2.4px solid #fff;
  border-bottom: 2.4px solid #fff;
  transform: rotate(-45deg) scale(0);
  margin-top: -2px;
  transition: transform 0.15s ease;
}
.check input:checked { background: var(--blue); border-color: var(--blue); }
.check input:checked::after { transform: rotate(-45deg) scale(1); }
.check input:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.check label { font-size: 0.95rem; line-height: 1.5; color: var(--text); cursor: pointer; }
.check label a { font-weight: 600; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.check .field__error { grid-column: 2; }
.check.is-invalid input { border-color: var(--coral-d); }

.form__note { font-size: 0.975rem; color: var(--text); }
.form__note a { font-weight: 700; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.form__note a:hover { color: var(--blue-d); }

/* ---------- FAQ ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 4.4fr) minmax(0, 7.6fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: start;
}
.faq-layout__head { position: sticky; top: calc(var(--header-offset) + 16px); display: grid; gap: 20px; }
.faq { display: grid; gap: 12px; }
.faq__item { border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.faq__item.is-open { border-color: var(--ink); box-shadow: var(--shadow-sm); }
.faq__q { margin: 0; font-size: inherit; letter-spacing: 0; }
.faq__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 22px 22px 26px;
  text-align: left;
  font-family: var(--font-d);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--ink);
  border-radius: var(--r);
}
.faq__sign {
  position: relative;
  width: 38px; height: 38px;
  flex: none;
  border-radius: 50%;
  background: var(--paper);
  transition: background-color 0.2s ease, transform 0.3s ease;
}
.faq__sign::before, .faq__sign::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 14px; height: 2px;
  margin: -1px 0 0 -7px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s ease, background-color 0.2s ease;
}
.faq__sign::after { transform: rotate(90deg); }
.faq__item.is-open .faq__sign { background: var(--coral); }
.faq__item.is-open .faq__sign::after { transform: rotate(0deg); }
.faq__panel { padding: 0 26px 24px; max-width: 70ch; }
.js .faq__panel { display: grid; grid-template-rows: 0fr; padding-bottom: 0; transition: grid-template-rows 0.3s ease, padding-bottom 0.3s ease; }
.js .faq__panel > div { overflow: hidden; min-height: 0; visibility: hidden; transition: visibility 0.3s; }
.js .faq__item.is-open .faq__panel { grid-template-rows: 1fr; padding-bottom: 24px; }
.js .faq__item.is-open .faq__panel > div { visibility: visible; }
@media (max-width: 960px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-layout__head { position: static; }
}

/* ---------- Newsletter / Unsubscribe ---------- */
.signup {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(16px, 2.4vw, 28px);
  align-items: stretch;
}
.signup__panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(28px, 4vw, 52px);
  border-radius: var(--r-xl);
  background: var(--ink);
  color: #c3c9e6;
  min-height: 420px;
}
.signup__panel h1 { color: #fff; }
.signup__panel .eyebrow { color: var(--blue-300); }
.signup__panel .lead { color: inherit; }
.signup__panel .crumbs { color: #aeb5d6; }
.signup__panel .crumbs a { color: #fff; }
.signup__panel::before, .signup__panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}
.signup__panel::before { width: 360px; height: 360px; right: -120px; bottom: -150px; background: var(--blue); }
.signup__panel::after { width: 110px; height: 110px; right: 150px; bottom: -30px; background: var(--coral); }
.signup__art { margin-top: auto; padding-top: 80px; }
.signup > .card { display: flex; flex-direction: column; justify-content: center; }
.signup__icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 20px; background: #fff; color: var(--blue); }
.signup__icon .icon { width: 28px; height: 28px; }
@media (max-width: 960px) {
  .signup { grid-template-columns: 1fr; }
  .signup__panel { min-height: 0; border-radius: var(--r-lg); padding-bottom: 120px; }
  .signup__art { display: none; }
}

.narrow { max-width: 620px; margin-inline: auto; }
.center-card { text-align: center; }
.center-card .card__head { justify-items: center; }
.center-card .form { text-align: left; }
.center-card .form__note { text-align: center; margin-top: 24px; }
.round-icon {
  width: 76px; height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--coral-50);
  color: var(--coral-d);
  margin-bottom: 8px;
}
.round-icon .icon { width: 32px; height: 32px; }
.page-bg {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-inline: clamp(8px, 1.6vw, 24px);
  margin-top: clamp(8px, 2vw, 20px);
  border-radius: var(--r-xl);
  background: var(--paper);
  padding-block: clamp(40px, 7vw, 96px);
  margin-bottom: clamp(48px, 6vw, 80px);
}
.page-bg::before, .page-bg::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.page-bg::before { width: 460px; height: 460px; left: -180px; top: -200px; background: var(--blue-100); }
.page-bg::after { width: 320px; height: 320px; right: -110px; bottom: -130px; background: var(--coral); opacity: 0.9; }
.page-bg .crumbs { justify-content: center; margin-bottom: 22px; }
@media (max-width: 640px) { .page-bg { border-radius: var(--r-lg); } }

/* ---------- Legal ---------- */
.legal {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
.toc { position: sticky; top: calc(var(--header-offset) + 12px); max-height: calc(100vh - var(--header-offset) - 36px); overflow-y: auto; padding: 22px; border-radius: var(--r-lg); background: var(--paper); }
.toc__title { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; padding-left: 12px; }
.toc__list { display: grid; gap: 2px; }
.toc__list a {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.92rem;
  line-height: 1.35;
  font-weight: 500;
  color: var(--text);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.toc__list a:hover { background: #fff; color: var(--ink); }
.toc__list a.is-active { background: var(--ink); color: #fff; }

.clause {
  padding-block: 36px;
  border-top: 1px solid var(--line);
}
.clause:first-child { border-top: 0; padding-top: 0; }
.clause:last-child { padding-bottom: 0; }
.clause h2 { font-size: clamp(1.35rem, 2.3vw, 1.75rem); margin-bottom: 14px; }
.clause h2::before {
  content: "";
  display: block;
  width: 34px; height: 4px;
  margin-bottom: 18px;
  border-radius: 4px;
  background: var(--blue);
}
.clause:nth-child(even) h2::before { background: var(--coral); }
.clause p { max-width: 74ch; }
.clause p + p { margin-top: 1em; }
.clause a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1000px) {
  .legal { grid-template-columns: 1fr; }
  .toc { position: static; max-height: none; }
  .toc__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .toc__list { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #aeb5d6;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  padding: clamp(48px, 7vw, 88px) 0 28px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.site-footer::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 640px; height: 640px;
  left: -260px; bottom: -420px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(36, 71, 249, 0.5), transparent);
  pointer-events: none;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
  padding-bottom: clamp(36px, 5vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.site-footer .brand { color: #fff; font-size: 1.4rem; }
.footer-tagline {
  margin-top: 22px;
  font-family: var(--font-d);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 640px;
  text-wrap: balance;
}
.footer-contact { display: grid; gap: 10px; }
.footer-contact a, .footer-contact div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 500;
  line-height: 1.35;
  overflow-wrap: anywhere;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.footer-contact a:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); }
.footer-contact .icon { color: var(--coral); width: 20px; height: 20px; }
.footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  padding-block: clamp(36px, 5vw, 56px);
}
.footer-col h2 {
  font-family: var(--font-b);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-300);
  margin-bottom: 18px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col--wide ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.footer-col a { color: #dfe3f7; transition: color 0.2s ease; display: inline-block; padding-block: 2px; }
.footer-col a:hover { color: var(--coral); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
}
.to-top {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.to-top:hover { background: var(--blue); transform: translateY(-3px); }
@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-col--wide { grid-column: 1 / -1; }
  .site-footer { border-radius: var(--r-lg) var(--r-lg) 0 0; }
}
@media (max-width: 420px) {
  .footer-cols { grid-template-columns: 1fr; }
}

/* ---------- Toasts ---------- */
.toasts {
  position: fixed;
  z-index: 300;
  top: calc(var(--header-h) + 32px);
  right: 20px;
  width: min(420px, calc(100vw - 24px));
  display: grid;
  gap: 12px;
  pointer-events: none;
}
.toast {
  grid-area: 1 / 1;
  align-self: start;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 32px;
  gap: 14px;
  align-items: start;
  padding: 18px 16px 20px 18px;
  border-radius: 20px;
  background: var(--ink);
  color: #c9cfea;
  box-shadow: var(--shadow-lg);
  pointer-events: auto;
  opacity: 0;
  transform: translateX(28px) scale(0.98);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.toast.is-in { opacity: 1; transform: none; }
.toast.is-out { opacity: 0; transform: translateX(28px) scale(0.98); }
.toast__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: var(--blue); color: #fff; }
.toast__icon .icon { width: 22px; height: 22px; stroke-width: 2.2; }
.toast--error .toast__icon { background: var(--coral); color: var(--ink); }
.toast__title { font-family: var(--font-d); font-weight: 700; font-size: 1.1rem; letter-spacing: -0.015em; line-height: 1.25; color: #fff; padding-top: 2px; }
.toast__text { font-size: 0.94rem; line-height: 1.5; margin-top: 4px; }
.toast__action {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.875rem;
  transition: background-color 0.2s ease;
}
.toast__action:hover { background: var(--blue-100); }
.toast__close {
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #c9cfea;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.toast__close:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.toast__close .icon { width: 16px; height: 16px; stroke-width: 2.4; }
.toast__bar {
  position: absolute;
  left: 0; bottom: 0;
  height: 4px; width: 100%;
  background: var(--blue-300);
  transform-origin: left center;
  animation: toast-bar linear forwards;
}
.toast--error .toast__bar { background: var(--coral); }
.toast.is-paused .toast__bar { animation-play-state: paused; }
@keyframes toast-bar { to { transform: scaleX(0); } }
@media (max-width: 640px) {
  .toasts { top: auto; bottom: 12px; right: 12px; left: 12px; width: auto; }
  .toast { align-self: end; transform: translateY(24px) scale(0.98); }
  .toast.is-out { transform: translateY(24px) scale(0.98); }
}

/* ---------- Reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .marquee__track { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .toast__bar { display: none; }
}

@media print {
  .site-header, .toasts, .marquee, .to-top { display: none !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}
