/* ==========================================================================
   Freelancer Expert
   1. Tokens   2. Base   3. Layout & type   4. Buttons & small parts
   5. Header   6. Hero   7. Sections   8. Forms   9. Footer
   10. Inner pages   11. Overlays   12. Motion   13. Print
   ========================================================================== */

/* 1. Tokens --------------------------------------------------------------- */

@font-face {
  font-family: "Google Sans Flex";
  src: url("../fonts/google-sans-flex-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Google Sans Code";
  src: url("../fonts/google-sans-code-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --white: #fff;
  --surface: #f8fafd;
  --surface-2: #f0f4f9;
  --line: #e1e5ea;
  --line-strong: #c7ccd1;

  --ink: #1f1f1f;
  --ink-2: #444746;
  --ink-3: #5f6368;

  --blue: #0b57d0;
  --blue-hover: #0842a0;
  --blue-vivid: #4285f4;
  --blue-tint: #e8f0fe;
  --blue-tint-2: #d3e3fd;
  --red: #ea4335;
  --yellow: #fbbc04;
  --green: #34a853;
  --danger: #b3261e;

  --sans: "Google Sans Flex", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Google Sans Code", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

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

  --shadow-1: 0 1px 2px rgba(31, 31, 31, 0.06), 0 2px 6px rgba(31, 31, 31, 0.04);
  --shadow-2: 0 1px 2px rgba(31, 31, 31, 0.06), 0 12px 32px rgba(31, 31, 31, 0.08);
  --shadow-3: 0 2px 4px rgba(31, 31, 31, 0.05), 0 24px 60px rgba(31, 31, 31, 0.12);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 9.5vw, 136px);
  --header-h: 76px;

  /* default accent */
  --a: #1a73e8;
  --a-strong: #0b57d0;
  --a-tint: #e8f0fe;
  --a-tint-2: #d3e3fd;
  --a-ink: #041e49;
}

[data-accent="blue"] { --a: #1a73e8; --a-strong: #0b57d0; --a-tint: #e8f0fe; --a-tint-2: #d3e3fd; --a-ink: #041e49; }
[data-accent="red"] { --a: #ea4335; --a-strong: #b3261e; --a-tint: #fce8e6; --a-tint-2: #f9d5d1; --a-ink: #410e0b; }
[data-accent="yellow"] { --a: #fbbc04; --a-strong: #8a5200; --a-tint: #fef7e0; --a-tint-2: #fde9a6; --a-ink: #3b2500; }
[data-accent="green"] { --a: #34a853; --a-strong: #146c2e; --a-tint: #e6f4ea; --a-tint-2: #c4eed0; --a-ink: #072711; }

/* 2. Base ----------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--white);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
strong, b { font-weight: 600; }
[hidden] { display: none !important; }

::selection { background: var(--blue-tint-2); color: var(--ink); }

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

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

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

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

/* 3. Layout & type -------------------------------------------------------- */

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.section--flush-top { padding-top: 0; }

.display {
  color: var(--ink);
  font-size: clamp(2.6rem, 1.4rem + 4.6vw, 4.875rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.038em;
  text-wrap: balance;
}

.h2 {
  color: var(--ink);
  font-size: clamp(2rem, 1.3rem + 2.9vw, 3.5rem);
  font-weight: 500;
  line-height: 1.07;
  letter-spacing: -0.032em;
  text-wrap: balance;
}

.h3 {
  color: var(--ink);
  font-size: 1.3125rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.012em;
}

.lead {
  max-width: 35em;
  color: var(--ink-2);
  font-size: clamp(1.0625rem, 1rem + 0.42vw, 1.3125rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 0.78125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--a);
}
.eyebrow--plain::before { display: none; }

.dots { display: inline-flex; gap: 4px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-vivid); }
.dots i:nth-child(2) { background: var(--red); }
.dots i:nth-child(3) { background: var(--yellow); }
.dots i:nth-child(4) { background: var(--green); }

.head { display: grid; gap: 20px; max-width: 46rem; margin-bottom: clamp(40px, 5vw, 72px); }
.head--center { margin-inline: auto; text-align: center; justify-items: center; }
.head--split {
  max-width: none;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: end;
  column-gap: clamp(32px, 6vw, 96px);
}
.head--split > .eyebrow { grid-column: 1 / -1; }
@media (max-width: 899px) {
  .head--split { grid-template-columns: minmax(0, 1fr); }
}

.text-link {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s;
}
.text-link:hover { text-decoration-color: currentColor; }
.text-link .i { display: inline-block; margin-left: 4px; vertical-align: -0.24em; transition: transform 0.25s var(--ease); }
.text-link:hover .i { transform: translateX(3px); }

/* 4. Buttons & small parts ------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.005em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.25s;
}
.btn .i { transition: transform 0.25s var(--ease); }
.btn:hover .i--arrow { transform: translateX(3px); }

.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-hover); box-shadow: 0 1px 2px rgba(11, 87, 208, 0.3), 0 6px 18px rgba(11, 87, 208, 0.28); }
.btn--ghost { border-color: var(--line-strong); background: var(--white); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: var(--surface); }
.btn--tonal { background: var(--blue-tint-2); color: #041e49; }
.btn--tonal:hover { background: #c2d7fb; }
.btn--white { background: var(--white); color: var(--blue); }
.btn--white:hover { background: var(--blue-tint); }
.btn--outline-white { border-color: rgba(255, 255, 255, 0.5); color: var(--white); }
.btn--outline-white:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.1); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 0.9375rem; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }

.btn .spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn[aria-busy="true"] .spinner { display: block; }
.btn[aria-busy="true"] .i { display: none; }

.ticks { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.ticks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
  font-size: 0.9375rem;
  font-weight: 500;
}
.ticks .i { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: #e6f4ea; color: #146c2e; stroke-width: 3; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--ink-2);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
}
.chip--more { border-style: dashed; color: var(--ink-3); }

/* 5. Header --------------------------------------------------------------- */

.progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: 3px;
  pointer-events: none;
}
.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue-vivid) 0 25%, var(--red) 25% 50%, var(--yellow) 50% 75%, var(--green) 75% 100%);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 12px var(--gutter) 0;
  pointer-events: none;
}
.header__bar {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: calc(var(--container) + 40px);
  min-height: 60px;
  margin-inline: auto;
  padding: 8px 8px 8px 20px;
  border-radius: var(--r-pill);
  pointer-events: auto;
  transition: background-color 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.header.is-stuck .header__bar,
.header.is-open .header__bar {
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: 0 0 0 1px var(--line), 0 10px 32px rgba(31, 31, 31, 0.08);
}

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.logo__mark { width: 30px; height: 30px; flex: none; }
.logo__text { font-size: 1.1875rem; font-weight: 500; letter-spacing: -0.025em; line-height: 1; }
.logo__text b { font-weight: 750; }

.nav { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  color: var(--ink-2);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.nav__link:hover, .nav__link[aria-expanded="true"] { background: var(--surface-2); color: var(--ink); }
.nav__link[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav__link .i { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.nav__link[aria-expanded="true"] .i { transform: rotate(180deg); }

.mega {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  width: 600px;
  padding: 10px;
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-3);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.2s, transform 0.3s var(--ease), visibility 0.2s;
}
.mega::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.mega.is-open { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) and (pointer: fine) {
  .nav__item:hover .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
}

.mega__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: var(--r-md);
  transition: background-color 0.2s;
}
.mega__link:hover { background: var(--surface); }
.mega__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 14px;
  background: var(--a-tint);
  color: var(--a-strong);
}
.mega__link strong { display: block; color: var(--ink); font-size: 0.9375rem; line-height: 1.3; }
.mega__link small { display: block; color: var(--ink-3); font-size: 0.8125rem; line-height: 1.35; }

.header__actions { display: flex; align-items: center; gap: 6px; }
.header__phone {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.2s;
}
.header__phone:hover { background: var(--surface-2); }
.header__phone .i { width: 16px; height: 16px; color: var(--blue); }

.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: background-color 0.2s;
}
.burger:hover { background: var(--surface-2); }
.burger span {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mmenu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: calc(var(--header-h) + 28px) var(--gutter) 28px;
  background: var(--white);
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.mmenu.is-open { opacity: 1; visibility: visible; }
.mmenu__label { margin-bottom: 8px; }
.mmenu__services { display: grid; gap: 2px; }
.mmenu__services a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 6px 0;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.mmenu__services .mega__icon { width: 40px; height: 40px; border-radius: 12px; }
.mmenu__links { display: flex; flex-wrap: wrap; gap: 8px; }
.mmenu__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--ink);
  font-weight: 500;
}
.mmenu__foot { display: grid; gap: 10px; margin-top: auto; }

@media (min-width: 1240px) {
  .header__phone { display: inline-flex; }
}

@media (max-width: 1023px) {
  .nav { display: none; }
  .header__bar { padding-left: 16px; }
  .header__actions { margin-left: auto; }
  .burger { display: block; }
}

@media (max-width: 479px) {
  .header__actions .btn { display: none; }
  .logo__text { font-size: 1.125rem; }
}

/* 6. Hero ----------------------------------------------------------------- */

.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(32px, 4.6vw, 68px));
  padding-bottom: clamp(56px, 7vw, 104px);
  overflow: clip;
}

.gridbg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(circle at 1px 1px, #c4cad2 1.2px, transparent 0);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(90% 90% at 78% 28%, #000 0%, transparent 72%);
  mask-image: radial-gradient(90% 90% at 78% 28%, #000 0%, transparent 72%);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.hero__copy { display: grid; justify-items: start; gap: 24px; }
.hero__copy .display { margin-top: -4px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }

.hl { position: relative; display: inline-block; white-space: nowrap; }
.hl::after {
  content: "";
  position: absolute;
  inset: auto 0 -0.04em;
  height: 0.085em;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--blue-vivid) 0 25%, var(--red) 25% 50%, var(--yellow) 50% 75%, var(--green) 75% 100%);
  transform-origin: left;
}

/* Product canvas: every size below is in em, where 1em = 1% of canvas width */
.canvas { container-type: inline-size; width: 100%; max-width: 620px; margin-inline: auto; }
.stage { position: relative; height: 97em; font-size: 1cqw; line-height: 1.3; color: var(--ink); }
.layer {
  position: absolute;
  transform: translate3d(calc(var(--px, 0) * var(--depth, 0) * 1px), calc(var(--py, 0) * var(--depth, 0) * 1px), 0);
  transition: transform 0.6s var(--ease);
  will-change: transform;
}
.layer > * { animation: float 8s ease-in-out infinite; animation-delay: var(--fd, 0s); }

.shape { position: absolute; }
.shape--ring { top: 3em; left: -5em; width: 30em; height: 30em; border: 2.2em solid var(--blue-tint-2); border-radius: 50%; }
.shape--quarter { right: -3em; bottom: -1em; width: 24em; height: 24em; border-radius: 100% 0 0 0; background: var(--yellow); opacity: 0.9; }
.shape--pill { top: 30em; right: -2.5em; width: 14em; height: 5em; border-radius: 5em; background: var(--red); rotate: -32deg; }
.shape--dot { left: 44em; bottom: 3em; width: 5em; height: 5em; border-radius: 50%; background: var(--green); }

.l-browser { top: 15em; left: 0; width: 80em; }
.l-pay { top: 2em; right: 0; width: 49em; }
.l-deploy { top: 5.5em; left: 5em; }
.l-chat { left: 3em; bottom: 1em; width: 47em; }
.l-phone { right: 4em; bottom: 0; width: 27em; }

.win {
  overflow: hidden;
  border-radius: 3.2em;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-3);
}
.win__bar { display: flex; align-items: center; gap: 1.1em; height: 7em; padding: 0 2.6em; border-bottom: 1px solid var(--line); background: var(--surface); }
.win__bar i { width: 1.7em; height: 1.7em; border-radius: 50%; background: var(--red); }
.win__bar i:nth-child(2) { background: var(--yellow); }
.win__bar i:nth-child(3) { background: var(--green); }
.win__url { flex: 1; max-width: 34em; height: 3.6em; margin-left: 2em; border-radius: 2em; background: var(--white); box-shadow: 0 0 0 1px var(--line); display: flex; align-items: center; padding: 0 1.6em; }
.win__url span { font-family: var(--mono); font-size: 1.75em; color: var(--ink-3); }
.win__body { display: grid; grid-template-columns: 15em 1fr; height: 50em; }
.win__side { display: grid; align-content: start; gap: 2em; padding: 3.4em 2.6em; border-right: 1px solid var(--line); }
.win__side b, .win__side span { display: block; height: 1.5em; border-radius: 1em; background: var(--surface-2); }
.win__side b { width: 60%; height: 2.2em; margin-bottom: 1.4em; background: var(--blue-tint-2); }
.win__side span:nth-child(2) { background: var(--blue-vivid); opacity: 0.85; }
.win__side span:nth-child(3) { width: 80%; }
.win__side span:nth-child(4) { width: 65%; }
.win__side span:nth-child(5) { width: 88%; }
.win__main { display: grid; grid-template-rows: auto auto 1fr; gap: 2.6em; padding: 3.2em 3.4em 0; min-width: 0; }
.win__head { display: flex; align-items: center; justify-content: space-between; }
.win__head strong { font-size: 2.9em; font-weight: 600; letter-spacing: -0.02em; }
.win__head span { padding: 0.35em 1em; border-radius: 2em; background: var(--surface-2); color: var(--ink-3); font-size: 1.7em; font-weight: 500; }
.win__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8em; }
.win__stats div { display: grid; gap: 0.5em; padding: 1.8em 2em; border-radius: 2em; box-shadow: 0 0 0 1px var(--line); }
.win__stats small { color: var(--ink-3); font-size: 1.7em; }
.win__stats b { font-size: 3em; font-weight: 600; letter-spacing: -0.02em; }
.win__stats em { justify-self: start; padding: 0.1em 0.7em; border-radius: 2em; background: #e6f4ea; color: #146c2e; font-size: 1.55em; font-style: normal; font-weight: 600; }
.win__chart { width: 100%; height: 100%; min-height: 0; overflow: visible; }
.win__chart .line { fill: none; stroke: var(--blue-vivid); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.win__chart .area { fill: url(#chartfill); }

.toast {
  display: flex;
  align-items: center;
  gap: 1.8em;
  padding: 2em 2.4em;
  border-radius: 3em;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-3);
}
.toast__ic { display: grid; place-items: center; width: 6.4em; height: 6.4em; flex: none; border-radius: 50%; background: var(--green); color: var(--white); }
.toast__ic svg { width: 3.4em; height: 3.4em; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.toast strong { display: block; font-size: 2.45em; font-weight: 600; letter-spacing: -0.01em; }
.toast small { display: block; margin-top: 0.15em; color: var(--ink-3); font-family: var(--mono); font-size: 1.65em; }

.live {
  display: inline-flex;
  align-items: center;
  gap: 1.3em;
  padding: 1.3em 2.2em 1.3em 1.8em;
  border-radius: 4em;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-2);
}
.live i { width: 1.5em; height: 1.5em; border-radius: 50%; background: #5bd47a; box-shadow: 0 0 0 0 rgba(91, 212, 122, 0.6); animation: pulse 2.2s infinite; }
.live span { font-family: var(--mono); font-size: 1.75em; font-weight: 500; }

.chat {
  display: grid;
  gap: 1.6em;
  padding: 2.4em;
  border-radius: 3.2em;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-3);
}
.chat__head { display: flex; align-items: center; gap: 1.4em; }
.chat__av { display: grid; place-items: center; width: 5em; height: 5em; border-radius: 50%; background: #fce8e6; color: var(--red); }
.chat__av svg { width: 2.8em; height: 2.8em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chat__head strong { font-size: 2.2em; font-weight: 600; }
.chat p { width: fit-content; max-width: 88%; padding: 0.75em 1.1em; font-size: 2.1em; line-height: 1.35; }
.chat__q { justify-self: end; border-radius: 1.3em 1.3em 0.3em 1.3em; background: var(--blue); color: var(--white); }
.chat__a { display: grid; border-radius: 1.3em 1.3em 1.3em 0.3em; background: var(--surface-2); }
.chat__a > * { grid-area: 1 / 1; }
.typing { display: inline-flex; align-items: center; gap: 0.3em; opacity: 0; }
.typing i { width: 0.42em; height: 0.42em; border-radius: 50%; background: var(--ink-3); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }

.phone { padding: 1.3em; border-radius: 5.4em; background: var(--ink); box-shadow: var(--shadow-3); }
.phone__screen { display: grid; align-content: start; gap: 1.5em; height: 49em; padding: 2em 1.8em; border-radius: 4.2em; background: var(--white); overflow: hidden; }
.phone__notch { justify-self: center; width: 7em; height: 1.5em; border-radius: 1em; background: var(--ink); }
.phone__hero { height: 12.5em; border-radius: 2.4em; background: #fef7e0; display: grid; place-items: center; }
.phone__hero i { width: 5.5em; height: 5.5em; border-radius: 1.8em; background: var(--yellow); rotate: 12deg; }
.phone__row { display: grid; grid-template-columns: 4em 1fr; align-items: center; gap: 1.2em; }
.phone__row i { width: 4em; height: 4em; border-radius: 1.3em; background: var(--surface-2); }
.phone__row span { display: grid; gap: 0.8em; }
.phone__row span::before, .phone__row span::after { content: ""; height: 1.1em; border-radius: 1em; background: var(--surface-2); }
.phone__row span::before { width: 85%; background: #dfe3e8; }
.phone__row span::after { width: 55%; }
.phone__btn { display: grid; place-items: center; height: 5.4em; margin-top: 0.4em; border-radius: 3em; background: var(--blue); color: var(--white); }
.phone__btn span { font-size: 1.9em; font-weight: 600; }

@media (max-width: 899px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { margin-top: 12px; padding-inline: 8px; }
  .canvas { max-width: 520px; }
}

/* 7. Sections ------------------------------------------------------------- */

/* Tech marquee */
.stack { padding-block: 28px; border-block: 1px solid var(--line); }
.stack__inner { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 32px; }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 40px; padding-right: 40px; }
.marquee__group li {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.marquee__group li::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); }
.marquee__group li:nth-child(4n + 1)::after { background: var(--blue-vivid); }
.marquee__group li:nth-child(4n + 2)::after { background: var(--red); }
.marquee__group li:nth-child(4n + 3)::after { background: var(--yellow); }
.marquee__group li:nth-child(4n + 4)::after { background: var(--green); }

@media (max-width: 699px) {
  .stack__inner { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}

/* Service bento */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }

.tile {
  position: relative;
  display: grid;
  grid-column: span 5;
  grid-template-rows: minmax(220px, 1fr) auto;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
  isolation: isolate;
  transition: box-shadow 0.3s, background-color 0.3s;
}
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 0%), var(--a-tint), transparent 62%);
  opacity: 0;
  transition: opacity 0.4s;
}
.tile:hover { background: var(--white); box-shadow: inset 0 0 0 1px var(--a), var(--shadow-2); }
.tile:hover::before { opacity: 1; }
.tile--wide { grid-column: span 7; }

.tile__art {
  position: relative;
  margin: 10px 10px 0;
  border-radius: 20px;
  background: var(--a-tint);
  overflow: hidden;
}
.tile__art svg { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); }

.tile__body { display: grid; align-content: start; gap: 14px; padding: clamp(22px, 2.6vw, 32px); }
.tile__num { color: var(--a-strong); font-family: var(--mono); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.06em; }
.tile__title { color: var(--ink); font-size: clamp(1.5rem, 1.25rem + 0.9vw, 1.875rem); font-weight: 550; line-height: 1.12; letter-spacing: -0.025em; }
.tile__text { color: var(--ink-2); font-size: 1rem; line-height: 1.55; }
.tile .chips { margin-top: 4px; }
.tile__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
}
.tile__more .i {
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 0.25s, color 0.25s, box-shadow 0.25s, transform 0.3s var(--ease);
}
.tile:hover .tile__more .i { background: var(--a-strong); color: var(--white); box-shadow: none; transform: rotate(-45deg); }

.after-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  margin-top: 36px;
  color: var(--ink-2);
  text-align: center;
}

/* illustration paint: every tile draws in its own accent */
.fw { fill: var(--white); }
.fa { fill: var(--a); }
.fs { fill: var(--a-strong); }
.ft { fill: var(--a-tint-2); }
.sa { stroke: var(--a); }
.ss { stroke: var(--a-strong); }

/* art animation hooks */
.art-dash { stroke-dasharray: 5 7; animation: dash 1.6s linear infinite; animation-play-state: paused; }
.tile:hover .art-dash { animation-play-state: running; }
.art-pop { transform-box: fill-box; transform-origin: center; transition: transform 0.5s var(--ease); }
.tile:hover .art-pop { transform: translateY(-6px); }
.tile:hover .art-pop--2 { transform: translateY(6px); }
.art-bars rect { transform-box: fill-box; transform-origin: bottom; transition: transform 0.5s var(--ease); transition-delay: calc(var(--n, 0) * 18ms); }
.tile:hover .art-bars rect { transform: scaleY(1.12); }

@media (min-width: 1024px) {
  .tile--wide .tile__body {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    grid-template-areas: "num chips" "title chips" "text chips" "more chips";
    column-gap: 32px;
  }
  .tile--wide .tile__num { grid-area: num; }
  .tile--wide .tile__title { grid-area: title; }
  .tile--wide .tile__text { grid-area: text; }
  .tile--wide .tile__more { grid-area: more; }
  .tile--wide .chips { grid-area: chips; align-content: start; margin-top: 30px; }
}
@media (max-width: 1023px) {
  .tile, .tile--wide { grid-column: span 6; }
}
@media (max-width: 699px) {
  .bento { gap: 16px; }
  .tile, .tile--wide { grid-column: 1 / -1; }
}

/* Payments spotlight */
.spot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
}
.spot__copy { display: grid; gap: 24px; justify-items: start; }
.checks { display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; color: var(--ink); }
.checks .i { width: 24px; height: 24px; margin-top: 2px; padding: 5px; border-radius: 50%; background: var(--a-tint); color: var(--a-strong); stroke-width: 3; }
.spot__note { color: var(--ink-3); font-size: 0.9375rem; }
.spot__note b { color: var(--ink); }

.flow {
  position: relative;
  padding: clamp(20px, 2.6vw, 32px);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.flow__card { border-radius: var(--r-lg); background: var(--white); box-shadow: 0 0 0 1px var(--line), var(--shadow-2); overflow: hidden; }
.flow__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 0.78125rem;
}
.flow__status { display: inline-flex; align-items: center; gap: 8px; color: #146c2e; font-weight: 500; }
.flow__status i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 2.2s infinite; }

.flow__steps { --pad: 12px; position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 32px var(--pad) 24px; }
.flow__rail { position: absolute; top: 57px; left: calc(var(--pad) + (100% - var(--pad) * 2) * 0.1); right: calc(var(--pad) + (100% - var(--pad) * 2) * 0.1); height: 2px; background: var(--line); }
.flow__rail i {
  position: absolute;
  top: -4px;
  left: 0;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(11, 87, 208, 0.16);
  animation: travel 8s linear infinite;
}
.flow__rail::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue);
  transform-origin: left;
  animation: railfill 8s linear infinite;
}
.flow__step { position: relative; display: grid; justify-items: center; gap: 10px; text-align: center; }
.flow__node {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: inset 0 0 0 2px var(--line);
  color: var(--ink-3);
  animation: 8s linear infinite both;
}
.flow__node .i { width: 22px; height: 22px; }
.flow__step span { color: var(--ink); font-size: 0.8125rem; font-weight: 600; line-height: 1.25; }

.flow__log { display: grid; gap: 2px; padding: 16px 20px 20px; border-top: 1px solid var(--line); background: var(--surface); font-family: var(--mono); font-size: 0.8125rem; }
.flow__log li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  padding: 6px 0;
  color: var(--ink);
  animation: 8s linear infinite both;
}
.flow__log time { color: var(--ink-3); }
.flow__log b { color: #146c2e; font-weight: 500; }

@media (max-width: 899px) {
  .spot { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 479px) {
  .flow__node { width: 42px; height: 42px; }
  .flow__node .i { width: 18px; height: 18px; }
  .flow__rail { top: 52px; }
  .flow__step span { font-size: 0.6875rem; }
  .flow__steps { --pad: 4px; }
  .flow__log { font-size: 0.75rem; }
  .flow__log li { gap: 10px; }
}

/* Process */
.process { background: var(--surface); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.steps__rail { position: absolute; inset: 22px 0 auto; height: 2px; background: var(--line); }
.steps__rail i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue-vivid) 0 25%, var(--red) 25% 50%, var(--yellow) 50% 75%, var(--green) 75% 100%);
  transform: scaleX(var(--fill, 0));
  transform-origin: left;
  transition: transform 0.2s linear;
}
.step { position: relative; display: grid; align-content: start; gap: 12px; padding-top: 72px; }
.step__num {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: inset 0 0 0 2px var(--a);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.875rem;
  font-weight: 600;
}
.step__text { color: var(--ink-2); font-size: 1rem; }
.step__get {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  margin-top: 6px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--a-tint);
  color: var(--a-ink);
  font-size: 0.8125rem;
  font-weight: 600;
}

@media (max-width: 899px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .steps__rail { inset: 0 auto 0 22px; width: 2px; height: auto; }
  .steps__rail i { width: 100%; background: linear-gradient(180deg, var(--blue-vivid) 0 25%, var(--red) 25% 50%, var(--yellow) 50% 75%, var(--green) 75% 100%); transform: scaleY(var(--fill, 0)); transform-origin: top; }
  .step { padding-top: 0; padding-left: 72px; }
}

/* Statement */
.statement {
  max-width: 21em;
  color: var(--ink);
  font-size: clamp(1.75rem, 1rem + 3.4vw, 3.75rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.032em;
  text-wrap: balance;
}
.statement .sw { color: #8d949b; transition: color 0.35s; }
.statement .sw.is-lit { color: var(--ink); }

/* Commitments */
.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(40px, 5vw, 72px); }
.promise {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: clamp(22px, 2.4vw, 30px);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 0.3s;
}
.promise:hover { box-shadow: inset 0 0 0 1px var(--a), var(--shadow-1); }
.promise__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
  border-radius: 16px;
  background: var(--a-tint);
  color: var(--a-strong);
}
.promise__icon .i { width: 22px; height: 22px; }
.promise p { color: var(--ink-2); font-size: 1rem; }

@media (max-width: 899px) { .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .promises { grid-template-columns: minmax(0, 1fr); gap: 14px; } }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__side { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 20px; justify-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  color: var(--ink);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  font-weight: 550;
  letter-spacing: -0.012em;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--blue); }
.qa__icon {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-2);
  transition: background-color 0.25s, transform 0.4s var(--ease);
}
.qa__icon::before, .qa__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.4s var(--ease), background-color 0.25s;
}
.qa__icon::after { transform: rotate(90deg); }
.qa[open] .qa__icon { background: var(--blue); transform: rotate(180deg); }
.qa[open] .qa__icon::before, .qa[open] .qa__icon::after { background: var(--white); }
.qa[open] .qa__icon::after { transform: rotate(0deg); }
.qa__body { padding: 0 56px 24px 0; color: var(--ink-2); max-width: 44em; }
.qa__body p + p { margin-top: 12px; }
.qa__body a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

@supports (interpolate-size: allow-keywords) {
  .qa { interpolate-size: allow-keywords; }
  .qa::details-content { height: 0; overflow: clip; transition: height 0.4s var(--ease), content-visibility 0.4s allow-discrete; }
  .qa[open]::details-content { height: auto; }
}

@media (max-width: 899px) {
  .faq { grid-template-columns: minmax(0, 1fr); }
  .faq__side { position: static; }
  .qa__body { padding-right: 0; }
}

/* 8. Forms ---------------------------------------------------------------- */

.quote {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  grid-template-rows: auto 1fr;
  grid-template-areas: "intro form" "aside form";
  gap: 32px clamp(32px, 5vw, 72px);
  align-items: start;
  padding: clamp(24px, 5vw, 72px);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.quote__intro { grid-area: intro; display: grid; gap: 24px; justify-items: start; }
.quote__form { grid-area: form; }
.quote__aside { grid-area: aside; display: grid; gap: 28px; }
.next { display: grid; gap: 18px; counter-reset: next; }
.next li { display: grid; grid-template-columns: 32px 1fr; gap: 14px; align-items: start; color: var(--ink); }
.next li::before {
  counter-increment: next;
  content: counter(next);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 600;
}
.next small { display: block; color: var(--ink-3); font-size: 0.9375rem; }

.direct { display: grid; gap: 6px; padding-top: 24px; border-top: 1px solid var(--line); }
.direct a, .direct span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  color: var(--ink);
  font-weight: 500;
}
.direct a:hover { color: var(--blue); }
.direct .i { width: 18px; height: 18px; color: var(--blue); }

.form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3vw, 36px);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-2);
}
.form__title { color: var(--ink); font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: grid; gap: 7px; }
.field label, .field legend { padding: 0; color: var(--ink); font-size: 0.875rem; font-weight: 600; }
.field label span, .field legend span { color: var(--ink-3); font-weight: 400; }
fieldset.field { min-width: 0; margin: 0; padding: 0; border: 0; }
fieldset.field legend { margin-bottom: 8px; }

.input {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
textarea.input { min-height: 112px; resize: vertical; }
.input::placeholder { color: #6f757b; }
.input:hover { border-color: var(--ink-3); }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11, 87, 208, 0.16); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.input[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(179, 38, 30, 0.14); }
.field__error { color: var(--danger); font-size: 0.8125rem; font-weight: 500; }

.picks { display: flex; flex-wrap: wrap; gap: 8px; }
.pick { position: relative; }
.pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.pick span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  color: var(--ink-2);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.pick:hover span { border-color: var(--ink-3); }
.pick input:checked + span { border-color: var(--blue); background: var(--blue-tint); color: #041e49; }
.pick input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { color: var(--ink-3); font-size: 0.8125rem; line-height: 1.5; }
.form__note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.form__status { padding: 12px 16px; border-radius: 14px; background: #fce8e6; color: #8c1d18; font-size: 0.9375rem; font-weight: 500; }
.form__status a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

.captcha label b { padding: 0.1em 0.45em; border-radius: 8px; background: var(--blue-tint); color: #041e49; font-family: var(--mono); font-weight: 600; white-space: nowrap; }
.captcha__row { display: flex; flex-wrap: wrap; gap: 10px; }
.captcha__input { flex: 0 1 9rem; }
.captcha__new {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  color: var(--ink-2);
  font-size: 0.875rem;
  font-weight: 500;
  transition: border-color 0.2s, color 0.2s;
}
.captcha__new:hover { border-color: var(--ink-3); color: var(--ink); }
.captcha__new:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.captcha__new[aria-busy="true"] { opacity: 0.6; pointer-events: none; }
address { font-style: normal; }

@media (max-width: 899px) { .quote { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "intro" "form" "aside"; } }
@media (max-width: 479px) {
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .quote { margin-inline: calc(var(--gutter) * -0.5); border-radius: var(--r-lg); padding: 24px 16px 16px; }
}

/* 9. Footer --------------------------------------------------------------- */

.footer { padding-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.footer__brand { display: grid; gap: 18px; justify-items: start; align-content: start; max-width: 22rem; }
.footer__brand p { color: var(--ink-2); font-size: 1rem; }
.footer h2 { margin-bottom: 14px; color: var(--ink-3); font-family: var(--mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.footer__list { display: grid; gap: 2px; }
.footer__list a, .footer__list span { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; color: var(--ink); font-size: 0.9375rem; font-weight: 500; }
.footer__list a { transition: color 0.2s; }
.footer__list a:hover { color: var(--blue); }
.footer__list .i { width: 15px; height: 15px; color: var(--ink-3); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 24px;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 0.875rem;
}
.footer__bottom a:hover { color: var(--ink); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 0 24px; }
.footer__legal a { display: inline-flex; align-items: center; min-height: 44px; }
.footer > .container { container-type: inline-size; }
.footer__word {
  margin: clamp(24px, 4vw, 48px) 0 -0.19em;
  color: var(--surface-2);
  font-size: 12.9cqw;
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.055em;
  text-align: center;
  white-space: nowrap;
  user-select: none;
}
.footer__word::before { content: attr(data-word); }

@media (max-width: 899px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 479px) {
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
}

/* 10. Inner pages --------------------------------------------------------- */

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--ink-3); font-size: 0.875rem; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; color: var(--line-strong); }

.shero { position: relative; padding-top: calc(var(--header-h) + clamp(28px, 4vw, 56px)); padding-bottom: clamp(56px, 7vw, 104px); overflow: clip; }
.shero__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.shero__copy { display: grid; gap: 26px; justify-items: start; padding-top: clamp(8px, 2vw, 28px); }
.shero__title { color: var(--ink); font-size: clamp(2.35rem, 1.5rem + 3.6vw, 4.25rem); font-weight: 500; line-height: 1.04; letter-spacing: -0.036em; text-wrap: balance; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 0 14px 0 6px;
  border-radius: var(--r-pill);
  background: var(--a-tint);
  color: var(--a-ink);
  font-size: 0.875rem;
  font-weight: 600;
}
.badge i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--white); color: var(--a-strong); }
.badge .i { width: 14px; height: 14px; }
.shero__form { position: relative; padding: clamp(12px, 1.6vw, 20px); border-radius: var(--r-xl); background: var(--a-tint); }
.shero__form .form { box-shadow: var(--shadow-2); }
.shero .checks { margin-top: 4px; }
.shero__cta { display: none; }

@media (max-width: 899px) {
  .shero__inner { grid-template-columns: minmax(0, 1fr); }
  .shero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
}

.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.offer {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: clamp(22px, 2.4vw, 30px);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  isolation: isolate;
  overflow: hidden;
  transition: background-color 0.3s, box-shadow 0.3s;
}
.offer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), var(--a-tint), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s;
}
.offer:hover { background: var(--white); box-shadow: inset 0 0 0 1px var(--a), var(--shadow-1); }
.offer:hover::before { opacity: 1; }
.offer__num { color: var(--a-strong); font-family: var(--mono); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.06em; }
.offer p { color: var(--ink-2); font-size: 1rem; }
.offer--lead { grid-column: span 2; background: var(--a-tint); box-shadow: none; }
.offer--lead .h3 { font-size: clamp(1.5rem, 1.25rem + 0.9vw, 1.875rem); font-weight: 550; letter-spacing: -0.025em; }
.offer--lead p { color: var(--a-ink); font-size: 1.0625rem; max-width: 34em; }
.offer--lead:hover { background: var(--a-tint); box-shadow: inset 0 0 0 1px var(--a); }
.offer--lead::before { display: none; }
.offer--ask { justify-items: start; background: var(--white); box-shadow: inset 0 0 0 1px var(--line-strong); }
.offer--ask .text-link { margin-top: 6px; }
.offer--span { grid-column: span 2; }

@media (max-width: 899px) { .offers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) {
  .offers { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .offer--lead, .offer--span { grid-column: auto; }
}

.tools { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 72px); align-items: center; padding: clamp(28px, 4vw, 56px); border-radius: var(--r-xl); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.tools__copy { display: grid; gap: 14px; }
.tools .chip { min-height: 40px; padding: 0 16px; font-size: 0.9375rem; color: var(--ink); }
@media (max-width: 899px) { .tools { grid-template-columns: minmax(0, 1fr); } }

.related { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.related a {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 20px;
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.25;
  transition: box-shadow 0.25s, background-color 0.25s;
}
.related a:hover { background: var(--a-tint); box-shadow: inset 0 0 0 1px var(--a); }
@media (max-width: 1023px) { .related { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 599px) { .related { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.band {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 24px;
  padding: clamp(40px, 7vw, 96px) clamp(24px, 5vw, 72px);
  border-radius: var(--r-xl);
  background: var(--blue);
  color: var(--white);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.band .h2 { color: var(--white); max-width: 16em; }
.band p { max-width: 34em; color: rgba(255, 255, 255, 0.86); font-size: 1.125rem; }
.band__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.band__shape { position: absolute; z-index: -1; }
.band__shape--a { top: -70px; left: -70px; width: 240px; height: 240px; border: 36px solid rgba(255, 255, 255, 0.1); border-radius: 50%; }
.band__shape--b { right: -40px; bottom: -40px; width: 200px; height: 200px; border-radius: 100% 0 0 0; background: var(--yellow); }
.band__shape--c { right: 150px; bottom: 34px; width: 34px; height: 34px; border-radius: 50%; background: var(--green); }
.band__shape--d { top: 44px; right: 9%; width: 84px; height: 30px; border-radius: 30px; background: var(--red); rotate: -28deg; }
@media (max-width: 699px) {
  .band__shape--b { width: 110px; height: 110px; }
  .band__shape--c, .band__shape--d { display: none; }
}

/* Simple page hero (contact, legal, thank-you, 404) */
.phero { padding-top: calc(var(--header-h) + clamp(40px, 6vw, 88px)); padding-bottom: clamp(32px, 4vw, 56px); }
.phero__inner { display: grid; gap: 22px; justify-items: start; max-width: 50rem; }

.prose { max-width: 46rem; color: var(--ink-2); }
.prose h2 { margin: 2.2em 0 0.6em; color: var(--ink); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.prose h2:first-child { margin-top: 0; }
.prose p + p { margin-top: 1em; }
.prose ul { display: grid; gap: 8px; margin: 1em 0; padding-left: 1.2em; list-style: disc; }
.prose a { color: var(--blue); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.prose .meta { color: var(--ink-3); font-size: 0.9375rem; }

.center-page { min-height: 72vh; display: grid; align-items: center; }
.center-page .phero__inner { margin-inline: auto; justify-items: center; text-align: center; }
.bigmark { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.bigmark i { width: 22px; height: 22px; border-radius: 50%; background: var(--blue-vivid); animation: bob 1.8s var(--ease) infinite; }
.bigmark i:nth-child(2) { background: var(--red); animation-delay: 0.12s; }
.bigmark i:nth-child(3) { background: var(--yellow); animation-delay: 0.24s; }
.bigmark i:nth-child(4) { background: var(--green); animation-delay: 0.36s; }

/* 11. Overlays ------------------------------------------------------------ */

.dock {
  position: fixed;
  inset: auto 12px calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: none;
  gap: 8px;
  padding: 8px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-3);
  transform: translateY(160%);
  transition: transform 0.45s var(--ease);
}
.dock.is-on { transform: none; }
.dock .btn--primary { flex: 1; }
.dock__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--ink);
}
.dock__icon .i { width: 20px; height: 20px; }
@media (max-width: 767px) {
  .dock { display: flex; }
  body.has-dock { padding-bottom: 84px; }
}

.consent {
  position: fixed;
  inset: auto 16px 16px auto;
  z-index: 70;
  display: grid;
  gap: 14px;
  width: min(420px, calc(100vw - 32px));
  padding: 20px;
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-3);
  font-size: 0.9375rem;
}
.consent p { color: var(--ink-2); }
.consent a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.consent__actions { display: flex; gap: 8px; }
.consent__actions .btn { flex: 1; }

/* 12. Motion -------------------------------------------------------------- */

@view-transition { navigation: auto; }

.js [data-reveal] { opacity: 0; transform: translateY(26px); }
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--d, 0) * 80ms);
}

.js [data-split]:not(.split):not(.split-off) { visibility: hidden; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.06em 0.16em 0; margin: 0 -0.06em -0.16em 0; }
.split .w > span { display: inline-block; transform: translateY(112%); animation: rise 0.95s var(--ease) forwards; animation-delay: calc(var(--i) * 60ms + 60ms); }
.split .hl::after { transform: scaleX(0); animation: grow 0.9s var(--ease) 0.85s forwards; }

.js .hero .layer { opacity: 0; translate: 0 4em; scale: 0.96; animation: pop 1s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 130ms + 250ms); }
.js .hero .shape { opacity: 0; scale: 0.6; animation: pop 1.1s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 110ms + 150ms); }
.js .hero .shape--quarter { animation-name: pop90; }
.js .win__chart .line { stroke-dashoffset: 1; animation: drawline 1.8s var(--ease) 1s forwards; }
.js .win__chart .area { opacity: 0; animation: fadein 1s ease 1.9s forwards; }
.js .chat__q { opacity: 0; animation: fadein 0.5s ease 1.3s forwards; }
.js .chat__a { opacity: 0; animation: fadein 0.4s ease 1.9s forwards; }
.js .typing { animation: typingshow 1.5s ease 1.9s both; }
.js .chat__text { opacity: 0; animation: fadein 0.4s ease 3.4s forwards; }

@keyframes rise { to { transform: none; } }
@keyframes grow { to { transform: scaleX(1); } }
@keyframes pop { to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes pop90 { to { opacity: 0.9; translate: 0 0; scale: 1; } }
@keyframes fadein { to { opacity: 1; } }
@keyframes drawline { to { stroke-dashoffset: 0; } }
@keyframes typingshow { 0%, 90% { opacity: 1; } 100% { opacity: 0; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.4em); } }
@keyframes blink { 0%, 60%, 100% { opacity: 0.25; } 30% { opacity: 1; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52, 168, 83, 0.55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(52, 168, 83, 0); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes dash { to { stroke-dashoffset: -24; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-12px); } }
@keyframes travel { 0% { left: 0; opacity: 0; } 4% { opacity: 1; } 80% { left: 100%; opacity: 1; } 84%, 100% { left: 100%; opacity: 0; } }
@keyframes railfill { 0% { transform: scaleX(0); opacity: 1; } 80% { transform: scaleX(1); opacity: 1; } 96% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
/* The payment flow replays as one 8s story: the dot reaches each node in turn
   (every 20%), the node and its log line switch on, then all reset together. */
@keyframes node0 { 0%, 1% { background: var(--white); color: var(--ink-3); box-shadow: inset 0 0 0 2px var(--line); } 3%, 96% { background: var(--blue); color: var(--white); box-shadow: inset 0 0 0 2px var(--blue); } 100% { background: var(--white); color: var(--ink-3); box-shadow: inset 0 0 0 2px var(--line); } }
@keyframes node1 { 0%, 19% { background: var(--white); color: var(--ink-3); box-shadow: inset 0 0 0 2px var(--line); } 21%, 96% { background: var(--blue); color: var(--white); box-shadow: inset 0 0 0 2px var(--blue); } 100% { background: var(--white); color: var(--ink-3); box-shadow: inset 0 0 0 2px var(--line); } }
@keyframes node2 { 0%, 39% { background: var(--white); color: var(--ink-3); box-shadow: inset 0 0 0 2px var(--line); } 41%, 96% { background: var(--blue); color: var(--white); box-shadow: inset 0 0 0 2px var(--blue); } 100% { background: var(--white); color: var(--ink-3); box-shadow: inset 0 0 0 2px var(--line); } }
@keyframes node3 { 0%, 59% { background: var(--white); color: var(--ink-3); box-shadow: inset 0 0 0 2px var(--line); } 61%, 96% { background: var(--blue); color: var(--white); box-shadow: inset 0 0 0 2px var(--blue); } 100% { background: var(--white); color: var(--ink-3); box-shadow: inset 0 0 0 2px var(--line); } }
@keyframes node4 { 0%, 79% { background: var(--white); color: var(--ink-3); box-shadow: inset 0 0 0 2px var(--line); } 81%, 96% { background: var(--green); color: var(--white); box-shadow: inset 0 0 0 2px var(--green); } 100% { background: var(--white); color: var(--ink-3); box-shadow: inset 0 0 0 2px var(--line); } }
@keyframes node1log { 0%, 19% { opacity: 0.22; } 21%, 96% { opacity: 1; } 100% { opacity: 0.22; } }
@keyframes node2log { 0%, 39% { opacity: 0.22; } 41%, 96% { opacity: 1; } 100% { opacity: 0.22; } }
@keyframes node3log { 0%, 59% { opacity: 0.22; } 61%, 96% { opacity: 1; } 100% { opacity: 0.22; } }
@keyframes node4log { 0%, 79% { opacity: 0.22; } 81%, 96% { opacity: 1; } 100% { opacity: 0.22; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee__group { flex-wrap: wrap; row-gap: 12px; }
  .marquee__group[aria-hidden="true"] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .flow__rail i { display: none; }
  .statement .sw { color: var(--ink); }
  .layer { transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* 13. Print --------------------------------------------------------------- */

@media print {
  .header, .progress, .dock, .consent, .mmenu, .hero__visual, .footer__word { display: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  body { font-size: 11pt; }
}

/* ==========================================================================
   14. Inner pages and shared components (services, payments, process,
       about, FAQ, guides)
   ========================================================================== */

/* Navigation additions */
.nav__link.is-current { color: var(--ink); font-weight: 600; }
.mega__all {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: background-color 0.2s, color 0.2s;
}
.mega__all:hover { background: var(--blue-tint); color: var(--blue); }
.mega__all .i { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.mega__all:hover .i { transform: translateX(3px); }

/* Generic tick list */
.ticklist { display: grid; gap: 10px; }
.ticklist li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; color: var(--ink); font-size: 0.9375rem; line-height: 1.45; }
.ticklist .i { width: 20px; height: 20px; margin-top: 1px; padding: 4px; border-radius: 50%; background: var(--a-tint); color: var(--a-strong); stroke-width: 3; }

.after-grid .btn { margin-inline: auto; }

/* Page hero with shape cluster ------------------------------------------- */

.phero--split { position: relative; padding-bottom: clamp(48px, 6vw, 96px); overflow: clip; }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); align-items: center; gap: clamp(24px, 5vw, 72px); }
.phero--split .phero__inner { max-width: none; }
.phero--split .display { font-size: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.phero__art { justify-self: end; width: 100%; max-width: 380px; }

/* 1em = 1% of the cluster's width */
.cluster { container-type: inline-size; width: 100%; --tile: var(--blue); --tile-ink: #fff; }
[data-accent="red"] .cluster { --tile: var(--red); }
[data-accent="yellow"] .cluster { --tile: var(--yellow); --tile-ink: var(--ink); }
[data-accent="green"] .cluster { --tile: var(--green); }
.cluster__stage { position: relative; height: 92em; font-size: 1cqw; }
.cl { position: absolute; }
.cl-ring { top: 0; left: 10em; width: 60em; height: 60em; border: 9em solid var(--blue-tint-2); border-radius: 50%; }
.cl-quarter { right: 0; bottom: 0; width: 44em; height: 44em; border-radius: 100% 0 0 0; background: var(--yellow); }
.cl-pill { top: 31em; left: 46em; width: 42em; height: 15em; border-radius: 15em; background: var(--red); rotate: -32deg; }
.cl-dot { left: 18em; bottom: 4em; width: 16em; height: 16em; border-radius: 50%; background: var(--green); }
.cl-tile { top: 25em; left: 15em; display: grid; place-items: center; width: 35em; height: 35em; border-radius: 9.5em; background: var(--tile); color: var(--tile-ink); box-shadow: 0 2.4em 6em rgba(31, 31, 31, 0.16); }
.cl-tile svg { width: 17em; height: 17em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
[data-accent="red"] .cl-pill { background: var(--blue-vivid); }
[data-accent="yellow"] .cl-quarter { background: var(--blue-vivid); }
[data-accent="green"] .cl-dot { background: var(--blue-vivid); }
.cluster--b .cluster__stage { transform: scaleX(-1); }
.cluster--b .cl-tile svg { transform: scaleX(-1); }
.cluster--mini { width: min(58%, 250px); }
.cluster--mini .cl-ring { border-color: var(--white); }
.cluster--mini .cl-tile { box-shadow: 0 1.6em 4em rgba(31, 31, 31, 0.12); }

.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.jump a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px 0 6px;
  border-radius: var(--r-pill);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: box-shadow 0.2s, background-color 0.2s;
}
.jump a:hover { background: var(--a-tint); box-shadow: inset 0 0 0 1px var(--a); }
.jump .mega__icon { width: 36px; height: 36px; border-radius: 50%; }

@media (max-width: 899px) {
  .phero__grid { grid-template-columns: minmax(0, 1fr); }
  .phero__art { display: none; }
}

/* Home: jobs list --------------------------------------------------------- */

.jobs { border-top: 1px solid var(--line); }
.jobs > li { border-bottom: 1px solid var(--line); }
.job {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1.15fr) minmax(0, 1fr) 52px;
  align-items: center;
  gap: 24px;
  margin-inline: -20px;
  padding: 26px 20px;
  isolation: isolate;
}
.job::before {
  content: "";
  position: absolute;
  inset: 5px 0;
  z-index: -1;
  border-radius: var(--r-md);
  background: var(--a-tint);
  opacity: 0;
  transform: scaleY(0.7);
  transition: opacity 0.3s, transform 0.45s var(--ease);
}
.job:hover::before, .job:focus-visible::before { opacity: 1; transform: none; }
.job__num { color: var(--ink-3); font-family: var(--mono); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.06em; }
.job__title { color: var(--ink); font-size: clamp(1.3rem, 1rem + 1.5vw, 2rem); font-weight: 500; line-height: 1.12; letter-spacing: -0.028em; transition: transform 0.45s var(--ease); }
.job:hover .job__title { transform: translateX(8px); }
.job__text { color: var(--ink-2); font-size: 1rem; line-height: 1.5; }
.job__go {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  color: var(--ink);
  transition: background-color 0.25s, color 0.25s, box-shadow 0.25s, transform 0.4s var(--ease);
}
.job__go .i { width: 18px; height: 18px; }
.job:hover .job__go { background: var(--a-strong); color: var(--white); box-shadow: none; transform: rotate(-45deg); }

@media (max-width: 899px) {
  .job { grid-template-columns: 32px minmax(0, 1fr) 44px; gap: 6px 12px; margin-inline: -12px; padding: 20px 12px; }
  .job__num { align-self: start; padding-top: 0.45em; }
  .job__text { grid-column: 2; font-size: 0.9375rem; }
  .job__go { grid-column: 3; grid-row: 1 / span 2; width: 44px; height: 44px; }
}

/* Guide cards ------------------------------------------------------------- */

.gcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.gcard {
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
  transition: background-color 0.3s, box-shadow 0.3s;
}
.gcard:hover { background: var(--white); box-shadow: inset 0 0 0 1px var(--a), var(--shadow-2); }
.gcard__cover { display: grid; place-items: center; margin: 10px 10px 0; aspect-ratio: 16 / 9; border-radius: 20px; background: var(--a-tint); overflow: hidden; }
.gcard__cover .cluster { transition: transform 0.6s var(--ease); }
.gcard:hover .gcard__cover .cluster { transform: scale(1.06) rotate(-2deg); }
.gcard__body { display: grid; align-content: start; gap: 10px; padding: 24px 26px 26px; }
.gcard__tag { color: var(--a-strong); font-family: var(--mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.gcard__title { color: var(--ink); font-size: 1.375rem; font-weight: 550; line-height: 1.2; letter-spacing: -0.02em; text-wrap: balance; }
.gcard__dek { color: var(--ink-2); font-size: 1rem; line-height: 1.5; }
.gcard__meta { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--ink); font-size: 0.875rem; font-weight: 600; }
.gcard__meta .i { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.gcard:hover .gcard__meta .i { transform: translateX(4px); }

.gcard--feature { grid-column: 1 / -1; grid-template-rows: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.gcard--feature .gcard__cover { margin: 10px 0 10px 10px; min-height: 300px; aspect-ratio: auto; }
.gcard--feature .gcard__body { align-content: center; padding: clamp(24px, 4vw, 56px); }
.gcard--feature .gcard__title { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.5rem); font-weight: 500; line-height: 1.1; letter-spacing: -0.03em; }
.gcard--feature .gcard__dek { font-size: 1.125rem; }

@media (max-width: 1023px) { .gcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .gcard--feature { grid-template-columns: none; grid-template-rows: auto 1fr; }
  .gcard--feature .gcard__cover { margin: 10px 10px 0; min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 599px) { .gcards { grid-template-columns: minmax(0, 1fr); gap: 16px; } }

/* Service pages: richer cards, fit, handover, example scopes -------------- */

.offer { scroll-margin-top: calc(var(--header-h) + 24px); }
.offer:target { background: var(--white); box-shadow: inset 0 0 0 2px var(--a), var(--shadow-1); }
.offer__list { display: grid; gap: 7px; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.offer__list li { display: grid; grid-template-columns: 18px 1fr; align-items: start; gap: 10px; color: var(--ink); font-size: 0.9375rem; line-height: 1.4; }
.offer__list .i { width: 18px; height: 18px; margin-top: 2px; padding: 3.5px; border-radius: 50%; background: var(--a-tint); color: var(--a-strong); stroke-width: 3.5; }
.offer--lead .offer__list { display: flex; flex-wrap: wrap; gap: 8px 24px; border-top-color: rgba(31, 31, 31, 0.1); }
.offer--lead .offer__list li { display: inline-grid; color: var(--a-ink); font-weight: 500; }
.offer--lead .offer__list .i { background: var(--white); }
.offer--lead .text-link { margin-top: 6px; justify-self: start; }

.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 96px); }
.duo__copy { display: grid; gap: 24px; justify-items: start; }
.fit { display: grid; width: 100%; counter-reset: fit; border-top: 1px solid var(--line); }
.fit li { counter-increment: fit; display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 1.0625rem; line-height: 1.45; }
.fit li::before { content: counter(fit, decimal-leading-zero); padding-top: 0.28em; color: var(--a-strong); font-family: var(--mono); font-size: 0.8125rem; font-weight: 500; }
.duo__art { padding: clamp(14px, 2.4vw, 32px); border-radius: var(--r-xl); background: var(--a-tint); }

.sheet { border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-2); overflow: hidden; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.sheet__head h3 { color: var(--ink); font-size: 1.1875rem; font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; }
.sheet__head span, .sheet__foot { color: var(--ink-3); font-family: var(--mono); font-size: 0.75rem; white-space: nowrap; }
.sheet__list { display: grid; padding: 6px 24px; }
.sheet__list li { display: grid; grid-template-columns: 24px 1fr; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px dashed var(--line); color: var(--ink); font-size: 1rem; line-height: 1.4; }
.sheet__list li:last-child { border-bottom: 0; }
.sheet__list .i { width: 24px; height: 24px; padding: 5.5px; border-radius: 50%; background: var(--green); color: var(--white); stroke-width: 3.5; }
.sheet__foot { display: flex; justify-content: space-between; gap: 12px; padding: 14px 24px; border-top: 1px solid var(--line); background: var(--surface); }
.sheet__foot b { color: #146c2e; font-weight: 500; }

.scopes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.scope { display: grid; align-content: start; gap: 16px; padding: clamp(22px, 2.4vw, 30px); border-radius: var(--r-lg); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.3s; }
.scope:hover { box-shadow: inset 0 0 0 1px var(--a), var(--shadow-1); }
.scope__tag { justify-self: start; padding: 5px 11px; border-radius: var(--r-pill); background: var(--a-tint); color: var(--a-ink); font-family: var(--mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }

@media (max-width: 899px) {
  .duo { grid-template-columns: minmax(0, 1fr); }
  .scopes { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}

/* Services overview ------------------------------------------------------- */

.section.svc { padding-block: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line); scroll-margin-top: var(--header-h); }
.svc__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; gap: clamp(32px, 6vw, 96px); }
.svc__side { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 20px; justify-items: start; }
.svc__num { color: var(--a-strong); font-family: var(--mono); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.06em; }
.svc__side .lead { font-size: 1.0625rem; }
.svc__list { border-top: 1px solid var(--line); }
.svc__list li { border-bottom: 1px solid var(--line); }
.svc__row { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr) 36px; align-items: center; gap: 20px; margin-inline: -14px; padding: 20px 14px; border-radius: 16px; transition: background-color 0.25s; }
.svc__row:hover { background: var(--a-tint); }
.svc__name { color: var(--ink); font-size: 1.0625rem; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
.svc__text { color: var(--ink-2); font-size: 0.9375rem; line-height: 1.5; }
.svc__go { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--ink-3); transition: background-color 0.25s, color 0.25s, transform 0.3s var(--ease); }
.svc__go .i { width: 16px; height: 16px; }
.svc__row:hover .svc__go { background: var(--a-strong); color: var(--white); transform: translateX(2px); }

.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.way { display: grid; align-content: start; gap: 14px; padding: clamp(24px, 2.6vw, 34px); border-radius: var(--r-lg); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.way > p { font-size: 1rem; }
.way .text-link { margin-top: 6px; }

@media (max-width: 899px) {
  .svc__grid { grid-template-columns: minmax(0, 1fr); }
  .svc__side { position: static; }
  .svc__row { grid-template-columns: minmax(0, 1fr) 36px; gap: 4px 14px; }
  .svc__text { grid-column: 1; }
  .svc__go { grid-column: 2; grid-row: 1 / span 2; }
  .ways { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}

/* Process page ------------------------------------------------------------ */

.phases { display: grid; gap: clamp(56px, 8vw, 120px); }
.phase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 96px); }
.phase:nth-child(even) .phase__art { order: -1; }
.phase__copy { display: grid; gap: 18px; justify-items: start; }
.phase__num { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--a-tint); color: var(--a-ink); font-family: var(--mono); font-size: 0.9375rem; font-weight: 600; }
.phase__facts { display: grid; width: 100%; margin-top: 8px; border-top: 1px solid var(--line); }
.phase__facts > div { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.phase__facts dt { padding-top: 0.15em; color: var(--ink); font-size: 0.875rem; font-weight: 600; }
.phase__facts dd { color: var(--ink-2); font-size: 1rem; line-height: 1.55; }
.phase__art { display: grid; place-items: center; min-height: 400px; padding: clamp(24px, 4vw, 56px); border-radius: var(--r-xl); background: var(--a-tint); }

.mock {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 380px;
  padding: 18px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-3);
  color: var(--ink);
  font-size: 0.875rem;
  line-height: 1.4;
  transition: transform 0.7s var(--ease);
}
.phase:hover .mock { transform: translateY(-6px) rotate(-0.8deg); }
.phase:nth-child(even):hover .mock { transform: translateY(-6px) rotate(0.8deg); }
.mock__bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.mock__bar b { font-size: 0.9375rem; font-weight: 600; }
.mock__bar span { color: var(--ink-3); font-family: var(--mono); font-size: 0.6875rem; }
.mock__bar .mock__pill { padding: 4px 10px; border-radius: var(--r-pill); background: var(--a-tint); color: var(--a-ink); font-weight: 500; }
.mock__bar .mock__pill--ok { background: #e6f4ea; color: #146c2e; }
.bub { width: fit-content; max-width: 88%; padding: 9px 13px; }
.bub--in { border-radius: 14px 14px 14px 4px; background: var(--surface-2); }
.bub--out { justify-self: end; border-radius: 14px 14px 4px 14px; background: var(--blue); color: var(--white); }
.mock__q { display: grid; gap: 6px; justify-self: end; width: 88%; }
.mock__q li { padding: 8px 12px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); }
.mock__meta { display: flex; align-items: center; gap: 8px; color: #146c2e; font-family: var(--mono); font-size: 0.6875rem; }
.mock__meta i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.mock__rows { display: grid; }
.mock__rows li { display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.mock__rows li:last-child { border-bottom: 0; }
.mock__rows .i { width: 20px; height: 20px; padding: 4.5px; border-radius: 50%; background: var(--green); color: var(--white); stroke-width: 3.5; }
.mock__rows em { color: var(--ink-3); font-family: var(--mono); font-size: 0.6875rem; font-style: normal; }
.mock__sum { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: 12px; background: var(--surface); font-weight: 600; }
.mock__sum i { width: 84px; height: 12px; border-radius: 6px; background: var(--ink); }
.mock__btns { display: flex; gap: 8px; }
.mbtn { flex: 1; display: grid; place-items: center; min-height: 38px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 0.8125rem; font-weight: 600; }
.mbtn--on { background: var(--blue); box-shadow: none; color: var(--white); }
.mock__prog { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; }
.mock__prog i { height: 6px; border-radius: 3px; background: var(--surface-2); }
.mock__prog i.on { background: var(--a); }
.mock__screen { display: grid; gap: 8px; padding: 14px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.mock__screen span { width: 60%; height: 8px; border-radius: 4px; background: #dfe3e8; }
.mock__screen span:nth-child(2) { width: 40%; background: var(--surface-2); }
.mock__screen div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 4px; }
.mock__screen div i { height: 44px; border-radius: 10px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.mock__screen div i:nth-child(2) { background: var(--a-tint-2); box-shadow: none; }
.mock__bars { display: flex; align-items: flex-end; gap: 5px; height: 64px; padding: 0 2px; }
.mock__bars i { flex: 1; border-radius: 3px; background: var(--green); }
.mock__bars i.warn { background: var(--yellow); }

.rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; counter-reset: rule; }
.rules li { counter-increment: rule; display: grid; align-content: start; gap: 8px; padding: 24px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.rules li::before { content: counter(rule, decimal-leading-zero); color: var(--blue); font-family: var(--mono); font-size: 0.8125rem; font-weight: 500; }
.rules p { font-size: 1rem; }

@media (max-width: 899px) {
  .phase { grid-template-columns: minmax(0, 1fr); }
  .phase:nth-child(even) .phase__art { order: 0; }
  .phase__art { min-height: 0; }
}
@media (max-width: 599px) {
  .phase__facts > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .rules { grid-template-columns: minmax(0, 1fr); }
}

/* Payments page ----------------------------------------------------------- */

.fails { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fail {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(22px, 2.4vw, 30px);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 0.3s, box-shadow 0.3s;
}
.fail:hover { background: var(--white); box-shadow: inset 0 0 0 1px var(--green), var(--shadow-1); }
.fail__tag { align-self: flex-start; padding: 4px 10px; border-radius: var(--r-pill); background: #fce8e6; color: #b3261e; font-family: var(--mono); font-size: 0.75rem; font-weight: 500; }
.fail__why { font-size: 1rem; }
.fail__fix { display: grid; grid-template-columns: 22px 1fr; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink); font-size: 0.9375rem; font-weight: 500; line-height: 1.45; }
.fail__fix .i { width: 22px; height: 22px; padding: 5px; border-radius: 50%; background: #e6f4ea; color: #146c2e; stroke-width: 3.5; }

.anatomy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: clamp(32px, 6vw, 88px); }
.anatomy .head { margin-bottom: 32px; }
.anatomy__art { position: sticky; top: calc(var(--header-h) + 28px); display: grid; gap: 20px; }
.anatomy .flow { background: var(--white); }
.layers { display: grid; }
.layers li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.layers__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 2px var(--blue-vivid); color: var(--ink); font-family: var(--mono); font-size: 0.875rem; font-weight: 600; }
.layers p { margin-top: 6px; font-size: 1rem; }

.recon { border-radius: var(--r-lg); background: var(--white); box-shadow: 0 0 0 1px var(--line), var(--shadow-2); color: var(--ink); font-family: var(--mono); font-size: 0.78125rem; overflow: hidden; }
.recon__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--line); color: var(--ink-3); }
.recon__head b { color: var(--ink); font-family: var(--sans); font-size: 0.9375rem; font-weight: 600; }
.recon__row { display: grid; grid-template-columns: 0.7fr 1fr 1fr 84px; align-items: center; gap: 10px; padding: 11px 20px; border-bottom: 1px solid var(--line); }
.recon__row--h { background: var(--surface); color: var(--ink-3); font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; }
.recon__row > i { justify-self: end; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #e6f4ea; color: #146c2e; }
.recon__row > i .i { width: 11px; height: 11px; stroke-width: 3.5; }
.recon__row--fix { background: #fef7e0; }
.recon__row--fix s { color: var(--ink-3); }
.recon__row em { justify-self: end; padding: 3px 9px; border-radius: var(--r-pill); background: var(--yellow); color: #3b2500; font-size: 0.6875rem; font-style: normal; font-weight: 600; }
.recon__foot { padding: 12px 20px; background: var(--surface); color: #146c2e; }

.minis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mini { display: grid; align-content: start; gap: 8px; padding: 22px 24px; border-radius: var(--r-md); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.mini__n { color: var(--a-strong); font-family: var(--mono); font-size: 0.75rem; font-weight: 500; }
.mini p { font-size: 0.9375rem; }

@media (max-width: 1023px) { .fails { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 899px) {
  .anatomy { grid-template-columns: minmax(0, 1fr); }
  .anatomy__art { position: static; }
  .minis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .fails, .minis { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .recon__row { grid-template-columns: 0.6fr 1fr 1fr 70px; gap: 6px; padding-inline: 14px; }
  .recon__head, .recon__foot { padding-inline: 14px; }
}

/* About page -------------------------------------------------------------- */

.story { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: start; gap: clamp(32px, 6vw, 96px); }
.story .statement { font-size: clamp(1.75rem, 1rem + 2.6vw, 3rem); }
.story__text { display: grid; gap: 18px; padding-top: 8px; color: var(--ink-2); font-size: 1.125rem; line-height: 1.6; }
.story__text p:last-child { color: var(--ink); font-weight: 500; }

.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.principle {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: clamp(24px, 2.6vw, 34px);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 0.3s;
}
.principle:hover { box-shadow: inset 0 0 0 1px var(--a), var(--shadow-1); }
.principle__n { margin-bottom: 6px; color: var(--a); font-size: 2.75rem; font-weight: 500; line-height: 1; letter-spacing: -0.04em; }
.principle p { font-size: 1rem; }

.strengths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.strength { display: grid; grid-template-rows: 230px auto; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: background-color 0.3s, box-shadow 0.3s; }
.strength:hover { background: var(--white); box-shadow: inset 0 0 0 1px var(--a), var(--shadow-2); }
.strength__body { display: grid; align-content: start; gap: 12px; padding: clamp(22px, 2.6vw, 32px); }
.strength__body p { font-size: 1rem; }
.strength:hover .art-pop { transform: translateY(-6px); }
.strength:hover .art-pop--2 { transform: translateY(6px); }
.strength:hover .art-dash { animation-play-state: running; }
.strength:hover .art-bars rect { transform: scaleY(1.12); }

.donts { display: grid; border-top: 1px solid var(--line); }
.donts li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.donts .i { width: 40px; height: 40px; padding: 11px; border-radius: 50%; background: #fce8e6; color: #b3261e; stroke-width: 2.5; }
.donts p { margin-top: 6px; font-size: 1rem; }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: var(--r-xl); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.facts > div { display: grid; align-content: start; gap: 8px; padding: clamp(22px, 3vw, 36px); border-left: 1px solid var(--line); }
.facts > div:first-child { border-left: 0; }
.facts dt { color: var(--ink-3); font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.facts dd { color: var(--ink); font-size: 1.125rem; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.facts a:hover { color: var(--blue); }

.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.member { display: grid; gap: 10px; }
.member img { width: 100%; height: auto; aspect-ratio: 1; border-radius: var(--r-lg); object-fit: cover; }
.member p { font-size: 0.9375rem; }

@media (max-width: 899px) {
  .story { grid-template-columns: minmax(0, 1fr); }
  .principles, .strengths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts > div:nth-child(odd) { border-left: 0; }
  .facts > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .principles, .strengths { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts > div { border-left: 0; }
  .facts > div + div { border-top: 1px solid var(--line); }
}

/* FAQ page ---------------------------------------------------------------- */

.faqpage { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); align-items: start; gap: clamp(32px, 6vw, 96px); }
.faqnav { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 16px; justify-items: start; }
.faqnav ul { display: grid; gap: 2px; width: 100%; }
.faqnav li a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; margin-inline: -14px; padding: 0 14px; border-radius: 12px; color: var(--ink); font-weight: 500; transition: background-color 0.2s; }
.faqnav li a:hover { background: var(--a-tint); }
.faqnav li a span { color: var(--ink-3); font-family: var(--mono); font-size: 0.75rem; }
.faqgroups { display: grid; gap: clamp(40px, 5vw, 64px); }
.faqgroup { scroll-margin-top: calc(var(--header-h) + 24px); }
.faqgroup > h2 { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; color: var(--ink); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; }
.faqgroup > h2::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--a); }

@media (max-width: 899px) {
  .faqpage { grid-template-columns: minmax(0, 1fr); }
  .faqnav { position: static; }
  .faqnav ul { display: flex; flex-wrap: wrap; gap: 8px; }
  .faqnav li a { margin: 0; box-shadow: inset 0 0 0 1px var(--line); border-radius: var(--r-pill); }
}

/* Guides: article --------------------------------------------------------- */

.article__head { position: relative; padding-top: calc(var(--header-h) + clamp(28px, 4vw, 56px)); padding-bottom: clamp(28px, 4vw, 48px); overflow: clip; }
.article__col { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; justify-items: start; max-width: calc(780px + var(--gutter) * 2); }
.article__col > * { min-width: 0; }
.article > .article__col { gap: clamp(28px, 4vw, 44px); justify-items: stretch; }
.article__meta { color: var(--ink-3); font-family: var(--mono); font-size: 0.78125rem; }

.keypoints { padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); background: var(--a-tint); color: var(--a-ink); }
.keypoints h2 { margin-bottom: 14px; font-family: var(--mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.keypoints ul { display: grid; gap: 12px; }
.keypoints li { position: relative; padding-left: 26px; font-size: 1.0625rem; font-weight: 500; line-height: 1.5; }
.keypoints li::before { content: ""; position: absolute; top: 0.5em; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--a-strong); }

.prose--article { max-width: none; font-size: 1.125rem; line-height: 1.7; }
.prose--article h2 { margin: 2em 0 0.6em; font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem); font-weight: 550; line-height: 1.15; letter-spacing: -0.025em; }
.prose--article p + p { margin-top: 1.1em; }
.prose--article ul, .prose--article ol { gap: 12px; margin: 1.2em 0; padding-left: 1.3em; }
.prose ol { display: grid; gap: 8px; margin: 1em 0; padding-left: 1.3em; list-style: decimal; }
.prose--article li::marker { color: var(--a-strong); font-weight: 600; }
.prose strong { color: var(--ink); }
.note { margin: 1.6em 0; padding: 20px 24px; border-radius: var(--r-md); background: var(--surface); box-shadow: inset 4px 0 0 var(--a); color: var(--ink); font-size: 1.0625rem; line-height: 1.6; }
.prose blockquote { margin: 1.4em 0; padding: 24px 28px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font-size: 1.0625rem; line-height: 1.65; }
.table-wrap { margin: 1.4em 0; border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--line); overflow-x: auto; }
.prose table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.4; }
.prose th, .prose td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose thead th { background: var(--surface); color: var(--ink); font-size: 0.8125rem; font-weight: 600; }
.prose tbody th { color: var(--ink); font-weight: 600; }
.prose tbody th small { display: block; color: var(--ink-3); font-weight: 400; }
.prose tbody tr:last-child > * { border-bottom: 0; }

.nextcard { position: relative; display: grid; gap: 6px; padding: clamp(24px, 3vw, 36px); padding-right: 96px; border-radius: var(--r-lg); background: var(--blue); color: var(--white); transition: background-color 0.25s; }
.nextcard:hover { background: var(--blue-hover); }
.nextcard__label { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; }
.nextcard__title { font-size: 1.625rem; font-weight: 550; line-height: 1.15; letter-spacing: -0.02em; }
.nextcard__text { font-size: 1rem; opacity: 0.92; }
.nextcard__go { position: absolute; top: 50%; right: 28px; display: grid; place-items: center; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; background: var(--white); color: var(--blue); transition: transform 0.3s var(--ease); }
.nextcard:hover .nextcard__go { transform: translateX(4px); }

/* Entrance for the page-hero cluster */
.js .phero .cl { opacity: 0; scale: 0.6; animation: pop 1s var(--ease) forwards; }
.js .phero .cl-ring { animation-delay: 0.15s; }
.js .phero .cl-quarter { animation-delay: 0.25s; }
.js .phero .cl-pill { animation-delay: 0.35s; }
.js .phero .cl-dot { animation-delay: 0.45s; }
.js .phero .cl-tile { animation-delay: 0.55s; }

/* Long button labels wrap on small phones instead of pushing the page wider */
@media (max-width: 479px) {
  .btn { white-space: normal; padding-block: 10px; line-height: 1.25; text-align: center; }
  .header .btn, .dock .btn { white-space: nowrap; }
}
