:root {
  --ink: #20142f;
  --muted: #6f647c;
  --purple: #6d36d9;
  --purple-dark: #4b1ca4;
  --purple-soft: #eee7ff;
  --pink: #ee6ab1;
  --mint: #53c8ad;
  --paper: #fffdfd;
  --surface: #ffffff;
  --line: #e8e0ef;
  --shadow: 0 24px 70px rgba(57, 30, 83, 0.12);
  --radius: 26px;
  --max: 1180px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -1;
  top: -180px;
  right: -180px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(126, 68, 218, 0.08);
  content: "";
  filter: blur(4px);
}

a {
  color: inherit;
}

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

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--ink);
  color: white;
  transform: translateY(-180%);
}

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

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(232, 224, 239, 0.86);
  background: rgba(255, 253, 253, 0.9);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  width: min(calc(100% - 36px), var(--max));
  min-height: 78px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--purple), #9e63ed 58%, var(--pink));
  box-shadow: 0 10px 25px rgba(109, 54, 217, 0.24);
  color: white;
  place-items: center;
}

.brand-mark svg {
  width: 23px;
  height: 23px;
}

.brand-copy {
  display: grid;
  line-height: 1.08;
}

.brand-copy strong {
  font-size: 16px;
  letter-spacing: -0.02em;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav > a:not(.button) {
  color: #54475e;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.site-nav > a:not(.button):hover,
.site-nav > a:not(.button):focus-visible {
  color: var(--purple);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 15px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--purple), #8d4ee4);
  box-shadow: 0 13px 28px rgba(109, 54, 217, 0.24);
  color: white;
}

.button-secondary {
  border-color: var(--line);
  background: white;
  color: var(--ink);
}

.button-light {
  background: white;
  color: var(--purple-dark);
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 86px;
}

.hero::after {
  position: absolute;
  z-index: -1;
  right: 7%;
  bottom: 2%;
  width: 170px;
  height: 170px;
  border: 28px solid rgba(83, 200, 173, 0.13);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: clamp(42px, 7vw, 90px);
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, 0.98fr);
}

.eyebrow {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid #ddcff9;
  border-radius: 999px;
  background: var(--purple-soft);
  color: var(--purple-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 72px);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(31px, 4vw, 48px);
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  letter-spacing: -0.025em;
}

.hero h1 {
  margin-top: 22px;
}

.hero-lead,
.section-lead {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
}

.hero-lead {
  max-width: 660px;
  margin: 0 0 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-row {
  display: flex;
  margin-top: 30px;
  flex-wrap: wrap;
  gap: 18px;
  color: #62566d;
  font-size: 13px;
  font-weight: 750;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-row span::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 5px rgba(83, 200, 173, 0.13);
  content: "";
}

.hero-visual {
  position: relative;
  min-height: 570px;
}

.photo-main {
  position: absolute;
  inset: 0 50px 52px 0;
  overflow: hidden;
  border: 10px solid white;
  border-radius: 38px;
  background: #ede9ee;
  box-shadow: var(--shadow);
}

.photo-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}

.floating-card {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(320px, 76%);
  padding: 20px;
  border: 1px solid rgba(232, 224, 239, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 50px rgba(48, 27, 68, 0.16);
}

.floating-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}

.floating-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 88px 0;
}

.section-soft {
  background: #f8f5fb;
}

.section-dark {
  overflow: hidden;
  background: #271436;
  color: white;
}

.section-dark h2,
.section-dark h3 {
  color: white;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading p {
  margin-bottom: 0;
}

.kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--purple);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-dark .kicker {
  color: #d4baff;
}

.card-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.process-card,
.policy-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 15px 42px rgba(50, 30, 68, 0.06);
}

.feature-card {
  min-height: 245px;
  padding: 28px;
}

.icon-box {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 22px;
  border-radius: 16px;
  background: var(--purple-soft);
  color: var(--purple);
  place-items: center;
}

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

.feature-card:nth-child(2n) .icon-box {
  background: #e6f7f2;
  color: #178c73;
}

.feature-card:nth-child(3n) .icon-box {
  background: #fff0f7;
  color: #bc3f83;
}

.feature-card p,
.process-card p,
.policy-card p {
  margin: 0;
  color: var(--muted);
}

.audience-grid,
.integration-grid {
  display: grid;
  align-items: center;
  gap: clamp(36px, 7vw, 84px);
  grid-template-columns: 0.92fr 1.08fr;
}

.gallery {
  display: grid;
  min-height: 520px;
  gap: 14px;
  grid-template-columns: 1.05fr 0.95fr;
  grid-template-rows: 1fr 1fr;
}

.gallery figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 26px;
  background: #ece8ed;
}

.gallery figure:first-child {
  grid-row: 1 / 3;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}

.check-list,
.plain-list {
  display: grid;
  margin: 26px 0 0;
  padding: 0;
  gap: 15px;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 27px 1fr;
  gap: 11px;
}

.check-list li::before {
  display: grid;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #def6ef;
  color: #147e68;
  content: "✓";
  font-size: 13px;
  font-weight: 950;
  place-items: center;
}

.process-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-card {
  padding: 26px;
}

.process-number {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 13px;
  background: var(--ink);
  color: white;
  font-size: 14px;
  font-weight: 900;
  place-items: center;
}

.integration-copy p {
  color: #d2c7da;
}

.integration-card {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
}

.integration-card .badge {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #e9ddf4;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scope-list {
  display: grid;
  margin: 0;
  gap: 12px;
}

.scope-list div {
  display: grid;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  grid-template-columns: minmax(120px, 0.7fr) 1.3fr;
  gap: 16px;
}

.scope-list dt {
  color: #fff;
  font-size: 13px;
  font-weight: 850;
}

.scope-list dd {
  margin: 0;
  color: #d6cbdc;
  font-size: 13px;
}

.privacy-strip {
  display: grid;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: white;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
}

.privacy-strip .icon-box {
  margin: 0;
}

.privacy-strip p,
.privacy-strip h3 {
  margin: 0;
}

.privacy-strip p {
  color: var(--muted);
  font-size: 14px;
}

.cta {
  padding: 82px 0;
}

.cta-box {
  display: grid;
  overflow: hidden;
  padding: clamp(34px, 6vw, 68px);
  border-radius: 34px;
  background: linear-gradient(135deg, #5b25bd, #8f4cdc 58%, #b956ac);
  box-shadow: 0 28px 70px rgba(87, 40, 157, 0.24);
  color: white;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
}

.cta-box h2 {
  margin-bottom: 12px;
  color: white;
}

.cta-box p {
  max-width: 720px;
  margin: 0;
  color: #f1e8fa;
}

.site-footer {
  padding: 54px 0 28px;
  border-top: 1px solid var(--line);
  background: #faf8fb;
}

.footer-grid {
  display: grid;
  margin-bottom: 36px;
  gap: 34px;
  grid-template-columns: 1.25fr repeat(3, 0.75fr);
}

.footer-intro {
  max-width: 370px;
  color: var(--muted);
  font-size: 14px;
}

.footer-col strong {
  display: block;
  margin-bottom: 13px;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  width: fit-content;
  margin: 8px 0;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--purple);
}

.footer-bottom {
  display: flex;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  justify-content: space-between;
  gap: 20px;
  color: #84798c;
  font-size: 12px;
}

/* Internal public pages */
.document-hero {
  padding: 68px 0 52px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #f7f1ff 0%, #fffdfd 100%);
}

.document-hero h1 {
  max-width: 880px;
  margin: 18px 0;
  font-size: clamp(38px, 6vw, 62px);
}

.document-hero p {
  max-width: 800px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.document-meta {
  display: flex;
  margin-top: 24px;
  flex-wrap: wrap;
  gap: 10px;
}

.document-meta span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: #665a70;
  font-size: 12px;
  font-weight: 750;
}

.document-layout {
  display: grid;
  padding: 60px 0 90px;
  align-items: start;
  gap: 48px;
  grid-template-columns: 240px minmax(0, 760px);
  justify-content: center;
}

.document-nav {
  position: sticky;
  top: 108px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
}

.document-nav strong {
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.document-nav a {
  display: block;
  padding: 7px 0;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.document-nav a:hover {
  color: var(--purple);
}

.document-content section {
  margin-bottom: 44px;
}

.document-content h2 {
  margin-bottom: 15px;
  font-size: 29px;
}

.document-content h3 {
  margin-top: 26px;
  font-size: 19px;
}

.document-content p,
.document-content li {
  color: #544a5d;
}

.document-content a {
  color: var(--purple);
  font-weight: 700;
}

.document-content ul,
.document-content ol {
  padding-left: 22px;
}

.document-content li + li {
  margin-top: 9px;
}

.callout {
  padding: 22px 24px;
  border: 1px solid #d9caf3;
  border-left: 5px solid var(--purple);
  border-radius: 18px;
  background: #f6f1ff;
}

.top-gap {
  margin-top: 30px;
}

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

.reviewer-note {
  padding: 24px;
  border: 1px solid #cbe9e2;
  border-radius: 20px;
  background: #effaf7;
}

.reviewer-note strong {
  display: block;
  margin-bottom: 7px;
  color: #146f5e;
}

.reviewer-note p {
  margin: 0;
  color: #35685d;
}

.data-table {
  width: 100%;
  margin: 20px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-collapse: separate;
  border-radius: 16px;
  border-spacing: 0;
  font-size: 14px;
}

.data-table th,
.data-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: #f7f4f9;
  color: var(--ink);
}

.data-table td {
  color: #5c5164;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.contact-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.policy-card {
  padding: 26px;
}

.policy-card .icon-box {
  margin-bottom: 18px;
}

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

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    width: min(100%, 620px);
    min-height: 620px;
    margin-inline: auto;
  }

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

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

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

  .footer-col:last-child {
    grid-column: 2 / 4;
  }
}

@media (max-width: 760px) {
  .nav-wrap {
    min-height: 70px;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    padding: 18px;
    border-bottom: 1px solid var(--line);
    background: white;
    box-shadow: 0 20px 35px rgba(50, 29, 66, 0.1);
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .site-nav > a:not(.button) {
    padding: 11px 8px;
  }

  .hero {
    padding: 54px 0 66px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 58px);
  }

  .hero-visual {
    min-height: 520px;
  }

  .photo-main {
    inset: 0 26px 48px 0;
  }

  .section {
    padding: 66px 0;
  }

  .card-grid,
  .process-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    min-height: 460px;
  }

  .scope-list div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .privacy-strip,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .privacy-strip .button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > :first-child {
    grid-column: 1 / 3;
  }

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

  .document-layout {
    padding-top: 40px;
    grid-template-columns: 1fr;
  }

  .document-nav {
    position: static;
  }

  .data-table {
    display: block;
    overflow-x: auto;
  }
}

@media (max-width: 520px) {
  .brand-copy small {
    display: none;
  }

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

  .hero-visual {
    min-height: 430px;
  }

  .photo-main {
    border-width: 6px;
    border-radius: 26px;
  }

  .floating-card {
    padding: 16px;
  }

  .gallery {
    min-height: 640px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1.35fr 0.65fr;
  }

  .gallery figure:first-child {
    grid-column: 1 / 3;
    grid-row: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid > :first-child,
  .footer-col:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
