@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
}

:root {
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-soft: #eef2f7;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --sapphire: #1e3a8a;
  --royal: #2563eb;
  --royal-dark: #1d4ed8;
  --peri: #a5b4fc;
  --peri-soft: #eef2ff;
  --night: #0b1026;
  --ok: #059669;
  --ok-soft: #ecfdf5;
  --brand-gradient: linear-gradient(135deg, #1e3a8a 0%, #2563eb 55%, #818cf8 100%);
  --radius: 20px;
  --shadow-sm: 0 1px 2px rgb(15 23 42 / 0.06), 0 1px 1px rgb(15 23 42 / 0.04);
  --shadow-md: 0 1px 2px rgb(15 23 42 / 0.05), 0 12px 32px -12px rgb(30 58 138 / 0.18);
  --shadow-lg: 0 2px 4px rgb(15 23 42 / 0.04), 0 30px 60px -20px rgb(30 58 138 / 0.35);
  --container: 1140px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.1;
  font-weight: 700;
  text-wrap: balance;
}

p {
  margin: 0;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 16px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgb(15 23 42 / 0.4);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: auto;
  height: 40px;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.02;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.brand-divider {
  width: 1px;
  height: 30px;
  background: var(--line);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-phone {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.header-phone:hover {
  color: var(--ink);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.btn-primary {
  color: #fff;
  background: var(--brand-gradient);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.25) inset, 0 10px 24px -10px rgb(37 99 235 / 0.7);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.25) inset, 0 16px 32px -12px rgb(37 99 235 / 0.8);
}

.btn-small {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 14px;
}

.btn-small svg {
  width: 17px;
  height: 17px;
}

.btn-light {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 10px 30px -12px rgb(0 0 0 / 0.5);
}

.btn-light:hover {
  transform: translateY(-1px);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 96px;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(600px 380px at 85% 10%, rgb(165 180 252 / 0.45), transparent 70%),
    radial-gradient(520px 360px at 8% 0%, rgb(37 99 235 / 0.12), transparent 70%),
    linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgb(30 58 138 / 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgb(30 58 138 / 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  align-items: center;
  gap: 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 7px 14px 7px 10px;
  border: 1px solid rgb(37 99 235 / 0.18);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.8);
  color: var(--sapphire);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  box-shadow: var(--shadow-sm);
}

.pulse {
  position: relative;
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--royal);
}

.pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--royal);
  opacity: 0;
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.6);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.hero h1 {
  margin-top: 24px;
  font-size: clamp(40px, 5.6vw, 64px);
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tight-dot {
  margin-left: -0.08em;
}

.hero-lead {
  max-width: 34em;
  margin-top: 22px;
  color: var(--ink-2);
  font-size: 19px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  margin-top: 34px;
}

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}

.hero-note svg {
  width: 18px;
  height: 18px;
  color: var(--ok);
}

/* Video card */

.video-card {
  position: relative;
  margin: 0;
  padding: 10px;
  border: 1px solid rgb(255 255 255 / 0.7);
  border-radius: 26px;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.85), rgb(238 242 255 / 0.7));
  box-shadow: var(--shadow-lg);
}

.video-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: 27px;
  background: linear-gradient(135deg, rgb(165 180 252 / 0.9), rgb(37 99 235 / 0.25) 50%, rgb(165 180 252 / 0.6));
}

.video-frame {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: var(--night);
  aspect-ratio: 832 / 464;
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button {
  position: absolute;
  inset: 0;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

/* Sits inside the D of the shield on the cover image */
.play-button span {
  position: absolute;
  left: 78.8%;
  top: 48.5%;
  display: grid;
  place-items: center;
  width: clamp(48px, 9vw, 68px);
  height: clamp(48px, 9vw, 68px);
  border-radius: 50%;
  background: rgb(255 255 255 / 0.95);
  color: var(--royal);
  box-shadow: 0 0 0 8px rgb(255 255 255 / 0.25), 0 18px 40px -10px rgb(0 0 0 / 0.6);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.play-button:hover span {
  transform: translate(-50%, -50%) scale(1.07);
}

.play-button svg {
  width: 28px;
  height: 28px;
  margin-left: 4px;
}

.video-card figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 10px 6px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
}

.duration {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--peri-soft);
  color: var(--sapphire);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* ---------- Clients ---------- */

.clients {
  padding: 8px 0 88px;
}

.section-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
}

.client-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.client-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.client-list a:hover {
  border-color: rgb(37 99 235 / 0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.client-logo {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: none;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: #fff;
}

.client-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.client-logo.is-wide {
  width: 96px;
}

.client-logo.is-wide img {
  padding: 8px;
}

.client-domain {
  min-width: 0;
  flex: 1;
  font-weight: 600;
  font-size: 15.5px;
  overflow-wrap: anywhere;
}

.badge-ok {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  padding: 4px 10px 4px 7px;
  border-radius: 999px;
  background: var(--ok-soft);
  color: var(--ok);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}

.badge-ok svg {
  width: 15px;
  height: 15px;
}

/* ---------- Sections ---------- */

.section {
  padding: 104px 0;
}

.section-soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--royal);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section h2 {
  font-size: clamp(32px, 4vw, 46px);
}

.law-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.law-intro {
  position: sticky;
  top: 112px;
}

.law-intro > p {
  margin-top: 20px;
  color: var(--ink-2);
  font-size: 18px;
}

.callout {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  padding: 20px 22px;
  border: 1px solid rgb(37 99 235 / 0.16);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, var(--peri-soft));
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.6;
}

.callout svg {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 2px;
  color: var(--royal);
}

.callout strong {
  color: var(--ink);
}

.change-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.change-card {
  padding: 26px 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.change-num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--brand-gradient);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 8px 18px -8px rgb(37 99 235 / 0.7);
}

.change-card h3 {
  margin-top: 20px;
  font-size: 19.5px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.change-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15.5px;
}

/* Steps */

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps::before {
  content: "";
  position: absolute;
  top: 31px;
  left: calc(16.66% + 20px);
  right: calc(16.66% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--peri), var(--royal), var(--peri));
  opacity: 0.6;
}

.step {
  position: relative;
  text-align: center;
  padding: 0 12px;
}

.step-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgb(37 99 235 / 0.2);
  color: var(--royal);
  box-shadow: var(--shadow-md);
}

.step-icon svg {
  width: 28px;
  height: 28px;
}

.step-label {
  display: block;
  margin-top: 22px;
  color: var(--royal);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.step h3 {
  margin-top: 8px;
  font-size: 22px;
}

.step p {
  margin-top: 8px;
  color: var(--muted);
}

/* CTA */

.cta {
  padding: 0 0 104px;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: 72px 56px;
  border-radius: 32px;
  background: var(--night);
  color: #fff;
  isolation: isolate;
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(520px 320px at 90% 0%, rgb(129 140 248 / 0.45), transparent 70%),
    radial-gradient(480px 300px at 0% 100%, rgb(37 99 235 / 0.4), transparent 70%);
}

.cta-panel::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -60px;
  z-index: -1;
  width: 340px;
  height: 400px;
  background: url("/brand/logo-symbol.png") center / contain no-repeat;
  opacity: 0.12;
  transform: rotate(-8deg);
}

.cta-panel h2 {
  max-width: 14em;
  color: #fff;
  font-size: clamp(32px, 4.4vw, 52px);
}

.cta-panel p {
  max-width: 34em;
  margin-top: 18px;
  color: rgb(226 232 240 / 0.85);
  font-size: 18.5px;
}

.cta-panel .btn {
  margin-top: 34px;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 44px;
  color: var(--muted);
  font-size: 14.5px;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
}

.site-footer .brand img {
  height: 32px;
}

.site-footer .brand-name {
  font-size: 14px;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}

.footer-meta a {
  color: var(--ink-2);
  font-weight: 600;
  text-decoration: none;
}

.footer-meta a:hover {
  color: var(--royal);
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero-grid,
  .law-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .law-intro {
    position: static;
  }

  .hero {
    padding-top: 48px;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .container {
    padding: 0 16px;
  }

  .header-phone,
  .brand-divider {
    display: none;
  }

  .brand img {
    height: 34px;
  }

  .brand-name {
    font-size: 14.5px;
  }

  .hero {
    padding: 36px 0 64px;
  }

  .hero-lead {
    font-size: 17.5px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .client-list,
  .change-list,
  .steps {
    grid-template-columns: 1fr;
  }

  .steps {
    gap: 40px;
  }

  .steps::before {
    display: none;
  }

  .section {
    padding: 72px 0;
  }

  .clients {
    padding-bottom: 64px;
  }

  .cta {
    padding-bottom: 72px;
  }

  .cta-panel {
    padding: 48px 24px;
    border-radius: 24px;
  }

  .cta-panel .btn {
    width: 100%;
  }

  .cta-panel::after {
    width: 220px;
    height: 260px;
  }
}

@media (max-width: 400px) {
  .header-actions .btn-label {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
