@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/Poppins-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/Poppins-Medium.ttf") format("truetype");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/Poppins-SemiBold.ttf") format("truetype");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/Poppins-Bold.ttf") format("truetype");
}

:root {
  --ink: #211a35;
  --ink-soft: #493f61;
  --muted: #71677f;
  --blue: #0672c9;
  --blue-dark: #005da8;
  --blue-pale: #edf7ff;
  --purple: #9360c7;
  --purple-pale: #f7f1fc;
  --line: #e7e2ec;
  --surface: #f8f7fb;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(33, 26, 53, 0.05), 0 8px 24px rgba(33, 26, 53, 0.05);
  --shadow-lg: 0 24px 70px rgba(33, 26, 53, 0.13);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --content: 1160px;
  --narrow: 760px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::selection {
  color: var(--ink);
  background: #d9c5ee;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(6, 114, 201, 0.42);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 15px;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
  font-weight: 600;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 48px), var(--content));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(231, 226, 236, 0.88);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  width: 31px;
  height: 31px;
}

.brand-mark rect:nth-child(1) {
  fill: var(--blue);
}

.brand-mark rect:nth-child(2) {
  fill: var(--purple);
}

.brand-mark rect:nth-child(3) {
  fill: var(--ink);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 36px);
}

.site-nav a {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 180ms ease;
}

.site-nav a:hover {
  color: var(--blue);
}

.site-nav .button-primary,
.site-nav .button-primary:hover {
  color: var(--white);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 10px 28px rgba(6, 114, 201, 0.23);
}

.button-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 14px 32px rgba(6, 114, 201, 0.28);
}

.button-secondary {
  border-color: #c8dff2;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.72);
}

.button-secondary:hover {
  border-color: #a8cae6;
  background: var(--white);
}

.button-light {
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(13, 9, 26, 0.24);
}

.button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(96px, 12vw, 156px) 0 clamp(88px, 10vw, 126px);
  background:
    radial-gradient(circle at 8% 20%, rgba(147, 96, 199, 0.12), transparent 30%),
    radial-gradient(circle at 90% 24%, rgba(6, 114, 201, 0.12), transparent 28%),
    linear-gradient(180deg, #fcfbfe 0%, #f8fbfe 65%, #ffffff 100%);
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(147, 96, 199, 0.13);
  border-radius: 50%;
  content: "";
}

.hero::before {
  top: -320px;
  left: -180px;
}

.hero::after {
  right: -250px;
  bottom: -330px;
  border-color: rgba(6, 114, 201, 0.13);
}

.hero-inner {
  max-width: 930px;
  margin-inline: auto;
  text-align: center;
}

.hero h1 {
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(3rem, 7vw, 5.25rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.hero h1 span {
  color: var(--blue);
}

.hero-copy {
  max-width: 690px;
  margin: 27px auto 0;
  color: var(--ink-soft);
  font-size: clamp(1.04rem, 2vw, 1.22rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.hero-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.proof-rail {
  border-block: 1px solid var(--line);
  background: var(--white);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-item {
  display: flex;
  min-height: 104px;
  align-items: center;
  gap: 12px;
  padding: 24px 23px;
  border-right: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.4;
}

.proof-item:first-child {
  padding-left: 0;
}

.proof-item:last-child {
  padding-right: 0;
  border-right: 0;
}

.proof-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  color: var(--blue);
  background: var(--blue-pale);
}

.proof-icon svg {
  width: 18px;
  height: 18px;
}

.section {
  padding: clamp(88px, 10vw, 132px) 0;
}

.section-muted {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(280px, 0.54fr);
  align-items: end;
  gap: 60px;
  margin-bottom: 58px;
}

.section-label {
  margin: 0 0 13px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.section-intro {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.75;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.focus-card {
  position: relative;
  min-height: 340px;
  padding: clamp(30px, 4vw, 48px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  transition: background 220ms ease;
}

.focus-card:hover {
  background: #fbfaff;
}

.focus-card:nth-child(2),
.focus-card:nth-child(3) {
  background: var(--surface);
}

.focus-card:nth-child(2):hover,
.focus-card:nth-child(3):hover {
  background: #f4f2f8;
}

.focus-number {
  position: absolute;
  top: 38px;
  right: 42px;
  color: #d7d0df;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.icon-tile {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 34px;
  place-items: center;
  border-radius: 15px;
  color: var(--blue);
  background: var(--blue-pale);
}

.focus-card:nth-child(even) .icon-tile {
  color: var(--purple);
  background: var(--purple-pale);
}

.icon-tile svg {
  width: 25px;
  height: 25px;
}

.focus-card h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2.1vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.focus-card p {
  max-width: 460px;
  margin: 15px 0 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  align-items: start;
  gap: clamp(60px, 9vw, 120px);
}

.why-copy {
  position: sticky;
  top: 125px;
}

.why-copy .section-title {
  margin-bottom: 24px;
}

.why-copy > p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.why-list {
  display: grid;
}

.why-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 22px;
  padding: 31px 0;
  border-bottom: 1px solid var(--line);
}

.why-item:first-child {
  padding-top: 4px;
}

.why-item:last-child {
  padding-bottom: 4px;
  border-bottom: 0;
}

.why-item-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid #d9d2e2;
  border-radius: 50%;
  color: var(--purple);
  background: var(--white);
}

.why-item-icon svg {
  width: 22px;
  height: 22px;
}

.why-item h3 {
  margin: 0 0 6px;
  font-size: 1.03rem;
  font-weight: 600;
}

.why-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.91rem;
}

.process-header {
  max-width: 720px;
  margin-bottom: 58px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--line);
  box-shadow: var(--shadow-sm);
}

.process-step {
  min-height: 288px;
  padding: 38px 34px;
  background: var(--white);
}

.step-number {
  display: inline-block;
  margin-bottom: 58px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.process-step:nth-child(2) .step-number {
  color: var(--purple);
}

.process-step h3 {
  margin: 0 0 10px;
  font-size: 1.28rem;
  font-weight: 600;
}

.process-step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.contact-section {
  padding: 0 0 clamp(88px, 10vw, 132px);
}

.contact-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(52px, 8vw, 84px);
  border-radius: var(--radius-lg);
  color: var(--white);
  background: var(--ink);
  box-shadow: var(--shadow-lg);
}

.contact-panel::after {
  position: absolute;
  z-index: -1;
  top: -160px;
  right: -110px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(147, 96, 199, 0.08), 0 0 0 140px rgba(6, 114, 201, 0.05);
  content: "";
}

.contact-panel-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 48px;
}

.contact-panel h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 3.8rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.contact-panel p {
  max-width: 620px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.site-footer {
  padding: 64px 0 32px;
  color: rgba(255, 255, 255, 0.68);
  background: #191426;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 1fr);
  gap: 54px;
}

.footer-brand .brand {
  color: var(--white);
}

.footer-brand .brand-mark rect:nth-child(3) {
  fill: var(--white);
  opacity: 0.82;
}

.footer-brand p {
  max-width: 320px;
  margin: 18px 0 0;
  font-size: 0.86rem;
}

.footer-title {
  margin: 2px 0 17px;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-legal a {
  text-decoration: none;
}

/* Legal and error pages */
.subpage-header {
  position: relative;
}

.subpage-main {
  min-height: 70vh;
  padding: clamp(70px, 9vw, 112px) 0 clamp(90px, 11vw, 140px);
  background:
    radial-gradient(circle at 85% 5%, rgba(6, 114, 201, 0.08), transparent 24%),
    linear-gradient(180deg, #fcfbfe 0, #fff 340px);
}

.legal-wrap {
  width: min(calc(100% - 48px), var(--narrow));
  margin-inline: auto;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 35px;
  color: var(--blue-dark);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.back-link svg {
  width: 17px;
  height: 17px;
}

.legal-wrap h1 {
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 4.35rem);
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.legal-lead {
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.legal-content {
  margin-top: 58px;
}

.legal-section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.legal-section:first-child {
  border-top-color: #cfc7d8;
}

.legal-section h2 {
  margin: 0 0 13px;
  font-size: clamp(1.24rem, 3vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.legal-section h3 {
  margin: 25px 0 8px;
  font-size: 1rem;
  font-weight: 600;
}

.legal-section p,
.legal-section ul {
  margin: 0 0 12px;
  color: var(--ink-soft);
}

.legal-section p:last-child,
.legal-section ul:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  padding-left: 22px;
}

.legal-section li + li {
  margin-top: 6px;
}

.legal-section address {
  color: var(--ink-soft);
  font-style: normal;
}

.legal-section a {
  color: var(--blue-dark);
}

.legal-note {
  padding: 18px 20px;
  border: 1px solid #dce7f0;
  border-radius: var(--radius-sm);
  background: var(--blue-pale);
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.error-main {
  display: grid;
  min-height: calc(100vh - 76px);
  place-items: center;
  padding: 72px 24px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(147, 96, 199, 0.12), transparent 36%),
    var(--surface);
}

.error-code {
  display: block;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.error-content h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.error-content p {
  max-width: 520px;
  margin: 22px auto 31px;
  color: var(--ink-soft);
}

@media (max-width: 920px) {
  .site-nav {
    gap: 18px;
  }

  .site-nav a:not(.button) {
    display: none;
  }

  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-item:nth-child(2) {
    border-right: 0;
  }

  .proof-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .proof-item:first-child,
  .proof-item:nth-child(3) {
    padding-left: 0;
  }

  .section-heading,
  .why-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .why-copy {
    position: static;
    max-width: 700px;
  }

  .contact-panel-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .contact-panel-inner .button {
    justify-self: start;
  }

  .footer-grid {
    grid-template-columns: 1.5fr repeat(2, 1fr);
  }

  .footer-grid > div:last-child {
    grid-column: 2;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 72px;
  }

  .container,
  .legal-wrap {
    width: min(calc(100% - 32px), var(--content));
  }

  .header-inner {
    min-height: 68px;
  }

  .site-nav .button {
    min-height: 42px;
    padding: 10px 13px;
    font-size: 0.79rem;
  }

  .hero {
    padding-top: 84px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 13vw, 4.1rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .hero-note {
    line-height: 1.55;
  }

  .proof-grid,
  .focus-grid,
  .process-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .proof-item,
  .proof-item:first-child,
  .proof-item:nth-child(3),
  .proof-item:last-child {
    min-height: 76px;
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .focus-card {
    min-height: 0;
    padding: 32px 28px 36px;
  }

  .focus-card:nth-child(2),
  .focus-card:nth-child(3) {
    background: var(--white);
  }

  .focus-number {
    top: 31px;
    right: 28px;
  }

  .icon-tile {
    margin-bottom: 28px;
  }

  .why-grid {
    gap: 46px;
  }

  .why-item {
    grid-template-columns: 44px 1fr;
    gap: 16px;
  }

  .why-item-icon {
    width: 42px;
    height: 42px;
  }

  .process-grid {
    gap: 1px;
  }

  .process-step {
    min-height: 0;
    padding: 30px 27px 34px;
  }

  .step-number {
    margin-bottom: 36px;
  }

  .contact-panel {
    padding: 46px 28px;
    border-radius: 20px;
  }

  .contact-panel-inner .button {
    width: 100%;
  }

  .footer-grid {
    gap: 34px;
  }

  .footer-grid > div:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .subpage-main {
    padding-top: 58px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .back-link,
  .skip-link {
    display: none !important;
  }

  body,
  .subpage-main {
    color: #000;
    background: #fff;
  }

  .subpage-main {
    padding: 0;
  }

  .legal-wrap {
    width: 100%;
  }

  .legal-section p,
  .legal-section ul,
  .legal-section address {
    color: #111;
  }
}
