/* Fiscal Edge Advisors */

:root {
  --ink: #0a0f1c;
  --ink-2: #0f172a;
  --ink-3: #182238;
  --blue: #1e40af;
  --blue-2: #2b57d9;
  --blue-bright: #4d7cff;
  --blue-tint: #e9efff;
  --paper: #ffffff;
  --stone: #f4f6f9;
  --stone-2: #e8ecf2;
  --text: #0f172a;
  --muted: #5b6779;
  --faint: #8a95a8;
  --line: #e2e7ef;
  --line-dark: rgba(255, 255, 255, 0.12);
  --green: #12b76a;
  --green-tint: #e6f7ee;
  --amber: #d97706;
  --amber-tint: #fdf3e2;
  --wa: #25d366;

  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --r: 8px;
  --r-lg: 16px;
  --shadow: 0 8px 30px -12px rgba(10, 15, 28, 0.25), 0 2px 8px -2px rgba(10, 15, 28, 0.08);
  --shadow-lg: 0 30px 60px -24px rgba(10, 15, 28, 0.45), 0 10px 24px -12px rgba(10, 15, 28, 0.2);

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(80px, 9vw, 140px);
  --nav-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; font-weight: 600; }

h1 { font-size: clamp(2.75rem, 6.4vw, 5.75rem); line-height: 0.98; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 3.8vw, 3.25rem); line-height: 1.04; letter-spacing: -0.03em; }
h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.15; letter-spacing: -0.02em; }
h4 { font-size: 1.0625rem; line-height: 1.35; letter-spacing: -0.01em; }

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

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

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--stone { background: var(--stone); }
.section--dark { background: var(--ink); color: #d5dbe7; }
.section--dark h2, .section--dark h3 { color: #fff; }

.label {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--blue);
  margin-bottom: 18px;
}
.section--dark .label, .label--light { color: var(--blue-bright); }

.section-head { max-width: 760px; margin-bottom: clamp(44px, 5vw, 72px); }
.section-head p:not(.label) { margin-top: 20px; font-size: 1.15rem; color: var(--muted); max-width: 58ch; line-height: 1.6; }
.section--dark .section-head p:not(.label) { color: #a7b1c4; }
.section-head--split { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; max-width: none; }
.section-head--split > p { max-width: 42ch; margin: 0; }

.mono { font-family: var(--mono); }
.flag { width: 24px; height: 18px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(10, 15, 28, 0.1); }

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn .icon { width: 18px; height: 18px; transition: transform 200ms var(--ease-out); }
.btn--accent { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn--ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--white { background: #fff; color: var(--ink); border-color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost-light { background: rgba(255, 255, 255, 0.06); color: #fff; border-color: rgba(255, 255, 255, 0.22); backdrop-filter: blur(6px); }
.btn--sm { padding: 12px 18px; font-size: 0.875rem; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover .icon { transform: translateX(3px); }
  .btn--accent:hover { background: var(--blue-2); border-color: var(--blue-2); box-shadow: 0 10px 24px -12px rgba(30, 64, 175, 0.6); }
  .btn--ink:hover { background: var(--ink-3); border-color: var(--ink-3); }
  .btn--white:hover { background: var(--stone-2); border-color: var(--stone-2); }
  .btn--ghost:hover { border-color: var(--ink); }
  .btn--ghost-light:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.4); }
}

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue); font-size: 0.95rem; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover .icon { transform: translateX(4px); } }

/* Nav */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  color: #fff;
  transition: transform 300ms var(--ease-out), background-color 250ms ease, color 250ms ease, box-shadow 250ms ease;
}
.nav::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(255, 255, 255, 0.1); transition: background-color 250ms ease; }
.nav--solid { background: rgba(255, 255, 255, 0.86); color: var(--text); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 8px 30px -20px rgba(10, 15, 28, 0.35); }
.nav--solid::after { background: var(--line); }
.nav--hidden { transform: translateY(-100%); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 36px; height: 36px; }
.brand__name { font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; line-height: 1; }
.brand__name small { display: block; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.65; margin-top: 5px; }
.nav__links { display: flex; gap: 4px; }
.nav__links a { position: relative; padding: 10px 14px; font-size: 0.9375rem; font-weight: 500; opacity: 0.85; transition: opacity 200ms ease; border-radius: 999px; }
.nav__links a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 250ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .nav__links a:hover { opacity: 1; }
  .nav__links a:hover::after { transform: scaleX(1); }
}
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__phone { font-weight: 600; font-size: 0.9375rem; display: inline-flex; align-items: center; gap: 8px; opacity: 0.9; }
.nav__phone .icon { width: 16px; height: 16px; }
.nav .btn--nav { background: #fff; color: var(--ink); border-color: #fff; }
.nav--solid .btn--nav { background: var(--ink); color: #fff; border-color: var(--ink); }
.nav__toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; }
.nav__toggle .icon { width: 24px; height: 24px; }

.drawer {
  position: fixed; inset: 0; z-index: 60;
  background: var(--ink); color: #fff;
  padding: 20px var(--gutter) 28px;
  display: flex; flex-direction: column;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out), visibility 0s linear 220ms;
}
.drawer.is-open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; height: 40px; }
.drawer__close { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; }
.drawer__close .icon { width: 24px; height: 24px; }
.drawer__links { margin-top: 40px; display: flex; flex-direction: column; }
.drawer__links a { padding: 18px 0; font-size: 2rem; font-weight: 600; letter-spacing: -0.03em; border-bottom: 1px solid var(--line-dark); opacity: 0; transform: translateY(10px); transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out); }
.drawer.is-open .drawer__links a { opacity: 1; transform: none; }
.drawer.is-open .drawer__links a:nth-child(1) { transition-delay: 60ms; }
.drawer.is-open .drawer__links a:nth-child(2) { transition-delay: 100ms; }
.drawer.is-open .drawer__links a:nth-child(3) { transition-delay: 140ms; }
.drawer.is-open .drawer__links a:nth-child(4) { transition-delay: 180ms; }
.drawer.is-open .drawer__links a:nth-child(5) { transition-delay: 220ms; }
.drawer.is-open .drawer__links a:nth-child(6) { transition-delay: 260ms; }
.drawer__foot { margin-top: auto; display: grid; gap: 12px; }
.drawer__foot .btn { width: 100%; }

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%;
  filter: saturate(0.88) contrast(1.05);
  transform: scale(1.08);
  transition: transform 1600ms var(--ease-out);
}
.is-loaded .hero__media img { transform: scale(1); }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 15, 28, 0.94) 0%, rgba(10, 15, 28, 0.84) 36%, rgba(10, 15, 28, 0.3) 66%, rgba(10, 15, 28, 0.12) 100%),
    linear-gradient(180deg, rgba(10, 15, 28, 0.55) 0%, rgba(10, 15, 28, 0) 30%, rgba(10, 15, 28, 0.2) 70%, rgba(10, 15, 28, 0.9) 100%);
}
.hero__in { position: relative; padding-top: calc(var(--nav-h) + clamp(56px, 9vh, 120px)); padding-bottom: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 40px; align-items: end; }
.hero__kicker { display: block; font-size: 0.95rem; font-weight: 500; color: #b7c3dc; margin-bottom: 26px; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero h1 em { font-style: normal; color: #9db4ff; }
.line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.line > span { display: block; transform: translateY(112%); transition: transform 900ms var(--ease-out); }
.is-loaded .line > span { transform: translateY(0); }
.line:nth-child(2) > span { transition-delay: 90ms; }
.line:nth-child(3) > span { transition-delay: 180ms; }
.hero__lead { margin-top: 30px; font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.55; color: #c4cddf; max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__fade { opacity: 0; transform: translateY(14px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.is-loaded .hero__fade { opacity: 1; transform: none; }
.is-loaded .hero__kicker.hero__fade { transition-delay: 0ms; }
.is-loaded .hero__lead.hero__fade { transition-delay: 320ms; }
.is-loaded .hero__actions.hero__fade { transition-delay: 420ms; }
.is-loaded .slip.hero__fade { transition-delay: 560ms; }
.is-loaded .flagpill.hero__fade { transition-delay: 200ms; }
.hero__side { align-self: stretch; display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 40px; }
.flagpill { display: inline-flex; align-items: center; gap: 12px; padding: 7px 16px 7px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: 0.875rem; font-weight: 500; color: #e4eaf5; }
.flagpill__flags { display: flex; }
.flagpill__flags .flag { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; border: 2px solid #121a2c; box-shadow: none; margin-left: -9px; }
.flagpill__flags .flag:first-child { margin-left: 0; }

.slip {
  justify-self: end;
  width: min(360px, 100%);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-radius: var(--r-lg);
  padding: 18px 20px 12px;
  box-shadow: var(--shadow-lg);
}
.slip__head { display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; font-weight: 500; color: #aeb9cf; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.slip__head b { color: #fff; }
.slip__row { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.slip__row:last-child { border-bottom: 0; }
.slip__row .flag { width: 28px; height: 21px; box-shadow: none; }
.slip__row strong { display: block; font-weight: 600; font-size: 0.925rem; color: #fff; line-height: 1.2; }
.slip__meta { display: block; font-size: 0.78rem; color: #aeb9cf; margin-top: 3px; }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: 0.82rem; font-weight: 500; white-space: nowrap; }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.status--ok { color: #7fe2b3; }
.status--due { color: #ffcf7a; }
.status--rev { color: #b3c6ff; }

.hero__stats { position: relative; border-top: 1px solid rgba(255, 255, 255, 0.12); background: rgba(10, 15, 28, 0.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 28px 26px 0; display: flex; flex-direction: column; gap: 6px; }
.stat + .stat { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, 0.12); }
.stat__num { font-size: clamp(1.9rem, 2.8vw, 2.6rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.stat__num sup { font-size: 0.5em; color: var(--blue-bright); vertical-align: top; position: relative; top: 0.3em; margin-left: 2px; }
.stat__label { font-size: 0.85rem; color: #aeb9cf; }

/* Ticker */
.ticker { background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; position: relative; padding: 0; }
.ticker::before, .ticker::after { content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0)); }
.ticker::after { right: 0; background: linear-gradient(270deg, #fff, rgba(255, 255, 255, 0)); }
.ticker__track { display: flex; width: max-content; animation: slide-left 60s linear infinite; }
.ticker__group { display: flex; }
.ticker__item { display: inline-flex; align-items: center; gap: 12px; padding: 20px 30px; border-right: 1px solid var(--line); white-space: nowrap; font-size: 0.9rem; }
.ticker__item .flag { width: 26px; height: 19.5px; }
.ticker__item b { font-weight: 600; }
.ticker__item span { color: var(--muted); font-size: 0.85rem; }
@media (hover: hover) { .ticker:hover .ticker__track { animation-play-state: paused; } }
@keyframes slide-left { to { transform: translateX(-50%); } }
@keyframes slide-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* Intro statement */
.intro__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.statement { font-size: clamp(1.5rem, 2.6vw, 2.3rem); font-weight: 500; line-height: 1.28; letter-spacing: -0.025em; color: var(--text); max-width: 26ch; text-wrap: pretty; }
.statement .w { display: inline-block; opacity: 0.18; transition: opacity 500ms ease; }
.statement.in .w { opacity: 1; }
.statement mark { background: none; color: var(--blue); }
.intro__meta { display: grid; gap: 12px; margin-top: 36px; }
.intro__meta li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; color: var(--muted); }
.intro__meta .icon { width: 18px; height: 18px; color: var(--green); margin-top: 3px; }
.intro__media { margin: 0; position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 4.6; box-shadow: var(--shadow-lg); background: var(--stone-2); }
.intro__media img { width: 100%; height: 100%; object-fit: cover; }
.intro__media figcaption { position: absolute; left: 20px; right: 20px; bottom: 20px; padding: 14px 16px; border-radius: 12px; background: rgba(10, 15, 28, 0.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #e4eaf5; font-size: 0.9rem; line-height: 1.45; border: 1px solid rgba(255, 255, 255, 0.1); }

/* Services showcase */
.showcase { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.showcase__sticky { position: sticky; top: calc(var(--nav-h) + 24px); }
.showcase__media { position: relative; aspect-ratio: 4 / 4.4; border-radius: var(--r-lg); overflow: hidden; background: var(--stone-2); box-shadow: var(--shadow-lg); }
.showcase__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 600ms var(--ease-out), transform 900ms var(--ease-out); }
.showcase__media img.is-active { opacity: 1; transform: scale(1); }
.showcase__media::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10, 15, 28, 0) 55%, rgba(10, 15, 28, 0.7) 100%); pointer-events: none; }
.showcase__overlay { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 22px; color: #fff; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.showcase__num { font-size: clamp(2.6rem, 4vw, 3.6rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.showcase__num span { font-size: 0.4em; color: #b7c3dc; margin-left: 4px; letter-spacing: 0; }
.showcase__caption { font-size: 0.9rem; font-weight: 500; color: #dfe6f3; text-align: right; max-width: 18ch; }
.showcase__dots { display: flex; gap: 6px; margin-top: 16px; }
.showcase__dots span { height: 3px; flex: 1; background: var(--stone-2); border-radius: 2px; overflow: hidden; position: relative; }
.showcase__dots span::after { content: ''; position: absolute; inset: 0; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 500ms var(--ease-out); }
.showcase__dots span.is-active::after { transform: scaleX(1); }

.practice { padding: clamp(28px, 3vw, 44px) 0; border-top: 1px solid var(--line); }
.practice:first-child { border-top: 0; padding-top: 0; }
.practice__head { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; margin-bottom: 28px; }
.practice__idx { font-size: 0.8rem; font-weight: 600; color: var(--faint); letter-spacing: 0.08em; padding-top: 8px; font-variant-numeric: tabular-nums; }
.practice__head p { margin-top: 12px; color: var(--muted); max-width: 50ch; }
.practice__items { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.item {
  display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start;
  padding: 16px 16px 16px 12px; border-radius: 12px;
  transition: background-color 200ms ease, transform 200ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .item:hover { background: var(--stone); } .item:hover .item__icon { background: var(--blue); color: #fff; } }
.item__icon { width: 40px; height: 40px; border-radius: 10px; background: var(--blue-tint); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; transition: background-color 200ms ease, color 200ms ease; }
.item__icon .icon { width: 20px; height: 20px; }
.item h4 { margin-bottom: 4px; }
.item p { font-size: 0.9rem; color: var(--muted); line-height: 1.5; }
.codes { display: block; margin-top: 8px; font-size: 0.78rem; color: var(--faint); }
.practice .link-arrow { margin-top: 22px; margin-left: 72px; }

/* Filings rails */
.filings { background: var(--ink); color: #d5dbe7; padding-block: var(--section); overflow: hidden; }
.filings__head { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; margin-bottom: clamp(36px, 4vw, 56px); }
.filings__head p:not(.label) { color: #a7b1c4; max-width: 44ch; margin: 0; }
.rail { position: relative; overflow: hidden; padding: 8px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.rail__track { display: flex; gap: 12px; width: max-content; padding-right: 12px; animation: slide-left 70s linear infinite; }
.rail--reverse .rail__track { animation-name: slide-right; animation-duration: 84s; }
.rail__group { display: flex; gap: 12px; }
@media (hover: hover) { .rail:hover .rail__track { animation-play-state: paused; } }
.chip {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
  transition: background-color 200ms ease, border-color 200ms ease, transform 200ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .chip:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.24); transform: translateY(-2px); } }
.chip__doc { width: 36px; height: 44px; border-radius: 6px; background: #fff; color: var(--ink); display: grid; place-items: center; position: relative; flex: none; }
.chip__doc::before { content: ''; position: absolute; top: 0; right: 0; width: 10px; height: 10px; background: linear-gradient(225deg, var(--ink) 50%, #cfd6e2 50%); border-radius: 0 6px 0 0; }
.chip__doc .flag { width: 20px; height: 15px; box-shadow: none; }
.chip b { display: block; font-family: var(--mono); font-size: 0.9rem; font-weight: 500; color: #fff; letter-spacing: 0.01em; }
.chip span { display: block; font-size: 0.78rem; color: #a7b1c4; margin-top: 2px; }

/* Global reach */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter {
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 0.9rem; font-weight: 500; color: var(--muted);
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out);
}
.filter:active { transform: scale(0.97); }
.filter[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .filter:not([aria-pressed="true"]):hover { border-color: var(--ink); color: var(--text); } }
.countries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.country {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start;
  padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), border-color 220ms ease, opacity 220ms var(--ease-out);
}
.country.is-hidden { display: none; }
.country.is-leaving { opacity: 0; transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .country:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; } }
.country .flag { width: 44px; height: 33px; border-radius: 6px; }
.country h3 { font-size: 1.1rem; letter-spacing: -0.01em; }
.country__auth { font-size: 0.9rem; color: var(--muted); margin-top: 4px; }
.country__auth small { display: block; font-size: 0.78rem; color: var(--faint); margin-top: 2px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag { font-size: 0.75rem; font-weight: 500; padding: 5px 9px; border-radius: 999px; background: var(--stone); color: var(--muted); }
.note { margin-top: 28px; font-size: 0.9rem; color: var(--faint); display: flex; gap: 10px; align-items: flex-start; max-width: 80ch; }
.note .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--blue); }

/* Why */
.why__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.why__media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 4.6; box-shadow: var(--shadow-lg); }
.why__media img { width: 120%; height: 120%; object-fit: cover; object-position: 50% 62%; margin: -10% 0 0 -10%; will-change: transform; }
.why__badge { position: absolute; left: 22px; bottom: 22px; background: rgba(10, 15, 28, 0.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; border-radius: 12px; padding: 16px 20px; border: 1px solid rgba(255, 255, 255, 0.12); }
.why__badge .num { font-size: 2.4rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.why__badge small { display: block; font-size: 0.75rem; color: #aeb9cf; margin-top: 6px; }
.why p.lead { margin-top: 20px; color: var(--muted); font-size: 1.1rem; max-width: 50ch; }
.points { display: grid; gap: 8px; margin-top: 36px; }
.point { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 16px; border-radius: 12px; transition: background-color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .point:hover { background: #fff; } }
.point__icon { width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--blue); display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); }
.point__icon .icon { width: 20px; height: 20px; }
.point h4 { margin-bottom: 4px; }
.point p { color: var(--muted); font-size: 0.95rem; }

/* Process timeline */
.timeline { position: relative; }
.timeline__bar { position: absolute; top: 22px; left: 0; right: 0; height: 2px; background: rgba(255, 255, 255, 0.12); }
.timeline__fill { height: 100%; width: 100%; background: var(--blue-bright); transform: scaleX(0); transform-origin: left; transition: transform 400ms var(--ease-out); }
.timeline__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.step { position: relative; padding-top: 60px; }
.step__dot { position: absolute; top: 12px; left: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); border: 2px solid rgba(255, 255, 255, 0.25); display: grid; place-items: center; transition: border-color 250ms ease, background-color 250ms ease; }
.step__dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-bright); transform: scale(0.6); opacity: 0; transition: transform 250ms var(--ease-out), opacity 250ms ease; }
.step.is-done .step__dot { border-color: var(--blue-bright); }
.step.is-done .step__dot::after { transform: scale(1); opacity: 1; }
.step__k { font-size: 0.875rem; font-weight: 500; color: #8ea3d6; margin-bottom: 10px; }
.step h4 { color: #fff; font-size: 1.2rem; margin-bottom: 10px; }
.step p { color: #a7b1c4; font-size: 0.95rem; }
.step .codes { margin-top: 14px; color: #7f8ba3; }

/* Reviews carousel */
.carousel__nav { display: flex; gap: 8px; }
.carousel__btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--text); transition: background-color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out); }
.carousel__btn:active { transform: scale(0.95); }
.carousel__btn .icon { width: 20px; height: 20px; }
@media (hover: hover) and (pointer: fine) { .carousel__btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); } }
.carousel { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), (100% - var(--container)) / 2); scrollbar-width: none; cursor: grab; -webkit-overflow-scrolling: touch; }
.carousel::-webkit-scrollbar { display: none; }
.carousel.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.carousel__track { display: flex; gap: 20px; padding-inline: max(var(--gutter), (100% - var(--container)) / 2); }
.carousel__track::after { content: ''; flex: 0 0 1px; }
.quote {
  flex: 0 0 min(560px, 82vw); scroll-snap-align: start;
  background: var(--stone); border-radius: var(--r-lg); padding: clamp(28px, 3vw, 40px);
  display: flex; flex-direction: column; gap: 28px; user-select: none;
}
.quote__stars { display: flex; gap: 3px; color: var(--amber); }
.quote__stars .icon { width: 16px; height: 16px; }
.quote p { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.5; letter-spacing: -0.01em; color: var(--text); font-weight: 500; }
.quote footer { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; }
.quote__who b { display: block; font-weight: 600; font-size: 0.95rem; }
.quote__who span { display: block; font-size: 0.85rem; color: var(--muted); }
.quote footer .flag { margin-left: auto; }
.carousel__dots { display: flex; gap: 6px; margin-top: 28px; }
.carousel__dots button { width: 28px; height: 4px; border-radius: 2px; background: var(--stone-2); transition: background-color 200ms ease, width 200ms var(--ease-out); }
.carousel__dots button[aria-current="true"] { background: var(--ink); width: 44px; }
.rating-line { display: flex; align-items: center; gap: 14px; margin-top: 28px; color: var(--muted); font-size: 0.925rem; }
.rating-line b { font-size: 1.6rem; font-weight: 600; letter-spacing: -0.03em; color: var(--text); }
.rating-line .quote__stars .icon { width: 15px; height: 15px; }

/* FAQ */
.faq__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__aside { position: sticky; top: calc(var(--nav-h) + 24px); }
.faq__aside p { margin-top: 20px; color: var(--muted); max-width: 40ch; }
.faq__aside .btn { margin-top: 28px; }
.acc { border-top: 1px solid var(--line); }
.acc:last-child { border-bottom: 1px solid var(--line); }
.acc__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; text-align: left; font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; }
.acc__btn .icon { width: 22px; height: 22px; color: var(--blue); transition: transform 250ms var(--ease-out); }
.acc__btn[aria-expanded="true"] .icon { transform: rotate(45deg); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 260ms var(--ease-out); }
.acc__panel > div { overflow: hidden; }
.acc__panel p { padding: 0 48px 26px 0; color: var(--muted); opacity: 0; transform: translateY(-4px); transition: opacity 200ms ease, transform 260ms var(--ease-out); }
.acc__btn[aria-expanded="true"] + .acc__panel { grid-template-rows: 1fr; }
.acc__btn[aria-expanded="true"] + .acc__panel p { opacity: 1; transform: none; }

/* Contact */
.contact { background: var(--ink); color: #d5dbe7; position: relative; overflow: hidden; }
.contact::before { content: ''; position: absolute; inset: auto -10% -40% 30%; height: 70%; background: radial-gradient(closest-side, rgba(77, 124, 255, 0.22), transparent); pointer-events: none; }
.contact .container { position: relative; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact h2 { color: #fff; }
.contact p.lead { margin-top: 20px; color: #a7b1c4; font-size: 1.1rem; max-width: 46ch; }
.contact__list { margin-top: 40px; display: grid; gap: 8px; }
.contact__row { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 14px; border-radius: 12px; align-items: start; transition: background-color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .contact__row:hover { background: rgba(255, 255, 255, 0.04); } }
.contact__row .icon { width: 20px; height: 20px; color: var(--blue-bright); margin-top: 3px; }
.contact__row b { display: block; font-size: 0.85rem; font-weight: 500; color: #8ea3d6; margin-bottom: 4px; }
.contact__row a { color: #fff; font-weight: 500; }
.contact__row p { color: #dfe6f3; }
.contact__row small { display: block; color: #8a95a8; font-size: 0.85rem; }

.form { background: #fff; color: var(--text); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow-lg); }
.form h3 { margin-bottom: 6px; }
.form > .form__body > p { color: var(--muted); font-size: 0.925rem; margin-bottom: 24px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.8125rem; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 0.95rem; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--text); width: 100%;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.12); }
.field textarea { min-height: 110px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235b6779' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.8125rem; color: var(--muted); grid-column: 1 / -1; }
.consent input { margin-top: 4px; accent-color: var(--blue); }
.form .btn { width: 100%; }
.form__note { grid-column: 1 / -1; font-size: 0.8rem; color: var(--faint); display: flex; gap: 8px; align-items: center; }
.form__note .icon { width: 14px; height: 14px; color: var(--green); }
.form__success { display: none; text-align: center; padding: 40px 12px; }
.form__success .icon { width: 48px; height: 48px; color: var(--green); margin: 0 auto 16px; }
.form__success p { color: var(--muted); margin-top: 8px; }
.form.is-sent .form__body { display: none; }
.form.is-sent .form__success { display: block; }

/* Footer */
.footer { background: #070b14; color: #a7b1c4; font-size: 0.925rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding: clamp(56px, 6vw, 80px) 0 44px; border-bottom: 1px solid var(--line-dark); }
.footer .brand { color: #fff; }
.footer__blurb { margin: 22px 0 18px; max-width: 40ch; line-height: 1.6; }
.footer__reg { font-size: 0.8rem; color: #6f7b94; line-height: 1.7; }
.footer h4 { color: #fff; font-size: 0.9rem; font-weight: 600; margin-bottom: 16px; }
.footer__col a { display: block; padding: 6px 0; transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .footer__col a:hover { color: #fff; } }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 24px 0; font-size: 0.8125rem; color: #6f7b94; }
.footer__legal { display: flex; gap: 18px; }
.footer__social { display: flex; gap: 8px; }
.footer__social a { width: 38px; height: 38px; border: 1px solid var(--line-dark); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #c9d2e5; transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out); }
.footer__social a:active { transform: scale(0.95); }
@media (hover: hover) and (pointer: fine) { .footer__social a:hover { background: #fff; color: var(--ink); } }
.footer__social .icon { width: 16px; height: 16px; }
.footer__disclaimer { padding: 0 0 32px; font-size: 0.78rem; color: #5f6b85; line-height: 1.6; max-width: 92ch; }

/* WhatsApp */
.wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa); color: #fff; display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -12px rgba(37, 211, 102, 0.7);
  transition: transform 160ms var(--ease-out), box-shadow 200ms ease;
}
.wa:active { transform: scale(0.95); }
.wa .icon { width: 26px; height: 26px; }
.wa__tip { position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%) translateX(6px); background: var(--ink); color: #fff; font-size: 0.8rem; font-weight: 500; padding: 8px 12px; border-radius: 8px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 160ms ease, transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .wa:hover { transform: translateY(-2px); }
  .wa:hover .wa__tip { opacity: 1; transform: translateY(-50%) translateX(0); }
}

/* Reveal system */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-group > * { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.js .reveal-group.in > * { opacity: 1; transform: none; }
.js .reveal-group.in > *:nth-child(2) { transition-delay: 60ms; }
.js .reveal-group.in > *:nth-child(3) { transition-delay: 120ms; }
.js .reveal-group.in > *:nth-child(4) { transition-delay: 180ms; }
.js .reveal-group.in > *:nth-child(5) { transition-delay: 240ms; }
.js .reveal-group.in > *:nth-child(6) { transition-delay: 300ms; }
.js .reveal-group.in > *:nth-child(n+7) { transition-delay: 360ms; }
.js .reveal-media .showcase__media, .js .reveal-media .why__media, .js .reveal-media .intro__media { clip-path: inset(0 0 100% 0); transition: clip-path 900ms var(--ease-in-out); }
.js .reveal-media.in .showcase__media, .js .reveal-media.in .why__media, .js .reveal-media.in .intro__media { clip-path: inset(0 0 0 0); }

/* Responsive */
@media (max-width: 1100px) {
  .nav__links, .nav__phone { display: none; }
  .nav__toggle { display: inline-flex; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .countries { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero__in { grid-template-columns: 1fr; padding-top: calc(var(--nav-h) + 64px); }
  .slip { justify-self: start; }
  .hero__side { align-items: flex-start; gap: 18px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px 16px 20px 0; }
  .stat + .stat { padding-left: 16px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .intro__grid { grid-template-columns: 1fr; gap: 36px; }
  .intro__media { aspect-ratio: 4 / 3.2; }
  .showcase { grid-template-columns: 1fr; }
  .showcase__sticky { position: static; }
  .showcase__media { aspect-ratio: 16 / 10; }
  .showcase__dots { display: none; }
  .filings__head { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .why__media { aspect-ratio: 4 / 3; }
  .timeline__bar { display: none; }
  .timeline__steps { grid-template-columns: 1fr 1fr; }
  .step { padding-top: 48px; }
  .faq__grid { grid-template-columns: 1fr; }
  .faq__aside { position: static; }
  .contact__grid { grid-template-columns: 1fr; }
  .section-head--split { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 640px) {
  .brand__name small { display: none; }
  .nav .btn--nav { display: none; }
  .practice__items { grid-template-columns: 1fr; }
  .practice__head { grid-template-columns: 1fr; gap: 8px; }
  .practice .link-arrow { margin-left: 0; }
  .countries { grid-template-columns: 1fr; }
  .timeline__steps { grid-template-columns: 1fr; gap: 24px; }
  .form__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .quote { flex-basis: 86vw; }
  .statement { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__media img, .line > span, .hero__fade { transition: none; transform: none; opacity: 1; }
  .js .reveal, .js .reveal-group > *, .js .reveal-media .showcase__media, .js .reveal-media .why__media, .js .reveal-media .intro__media { opacity: 1; transform: none; clip-path: none; transition: none; }
  .ticker__track, .rail__track { animation: none; flex-wrap: wrap; width: auto; }
  .ticker__group:last-child, .rail__group:last-child { display: none; }
  .statement .w { opacity: 1; }
  .showcase__media img { transition: opacity 200ms ease; transform: none; }
  .why__media img { transform: none !important; }
  .timeline__fill { transform: scaleX(1) !important; }
}
