
:root {
  --ink: #161826;
  --ink-deep: #101120;
  --ink-soft: #232532;
  --paper: #EAE8F4;
  --paper-line: #D6D2E8;
  --accent: #9184D9;
  --accent-light: #D2CEFD;
  --signal: #9184D9;
  --signal-text: #4A3F8F;
  --warn: #F0B429;
  --text-light: #E9E9ED;
  --text-muted: #9397AB;
  --text-dark: #20222C;
  --text-dark-muted: #595D6C;
  --line: rgba(233, 233, 237, 0.12);
  --line-strong: #3F424D;

  --font-display: "Inter", -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  --max-width: 1160px;
  --radius: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

html, body {
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.section-heading {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  margin-bottom: 12px;
}

.section-intro {
  max-width: 46ch;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 56px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(5, 12, 20, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.wordmark__dot { color: var(--accent); }

.wordmark--small { font-size: 1.1rem; }

.wordmark--small .brandmark { width: 20px; height: 20px; }

.brandmark {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 24px;
  flex: none;
}

.brandmark::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 4px solid var(--accent);
  border-right-color: transparent;
  transform: rotate(-45deg);
}

.brandmark::after {
  content: "";
  position: absolute;
  right: 1px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 3.5px;
  border-radius: 1px;
  background: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.95rem;
}

.nav a:not(.nav__cta) {
  color: var(--text-muted);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav a:not(.nav__cta):hover { color: var(--text-light); }
.nav a.is-active { color: var(--text-light); border-color: var(--accent); }

.nav__cta {
  background: var(--accent);
  color: var(--ink-deep);
  padding: 9px 18px;
  border-radius: var(--radius);
  font-weight: 500;
  transition: background 0.15s ease;
}

.nav__cta:hover { background: var(--accent-light); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--text-light);
  border-radius: 2px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 112px;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 60% 30%, black 30%, transparent 75%);
  opacity: 0.5;
}

.hero__inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero__headline {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  line-height: 1.06;
  color: var(--text-light);
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.05s forwards;
}

.hero__sub {
  margin-top: 24px;
  max-width: 42ch;
  font-size: 1.1rem;
  color: var(--text-muted);
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s forwards;
}

.hero__actions {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.34s forwards;
}

.hero__figure {
  opacity: 0;
  animation: fade-in 0.9s ease 0.4s forwards;
}

.blueprint-svg {
  width: 100%;
  height: auto;
  color: var(--accent);
}

.bp-line, .bp-line-soft, .bp-dim {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: draw 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.bp-line { color: var(--text-light); opacity: 0.85; }
.bp-line-soft { color: var(--text-light); opacity: 0.35; }
.bp-dim { color: var(--text-light); opacity: 0.45; }
.bp-dot { fill: var(--text-light); opacity: 0.6; }

.bp-seal {
  color: var(--signal);
  opacity: 0;
  transform-origin: 322px 208px;
  animation: stamp 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 1.35s forwards;
}

.bp-label {
  font-family: var(--font-mono);
  font-size: 11px;
  fill: var(--text-muted);
}

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  to { opacity: 1; }
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

@keyframes stamp {
  0% { opacity: 0; transform: scale(1.6) rotate(-8deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__headline, .hero__sub, .hero__actions, .hero__figure {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .bp-line, .bp-line-soft, .bp-dim {
    stroke-dashoffset: 0;
    animation: none;
  }
  .bp-seal {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-size: 0.98rem;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--accent);
  color: var(--ink-deep);
}

.btn--primary:hover { background: var(--accent-light); }

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--text-light);
}

.btn--ghost:hover { border-color: var(--accent); color: var(--accent-light); }

.services { padding: 112px 0; }

.service-list {
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 28px;
  padding: 32px 4px;
  margin: 0 -4px;
  border-bottom: 1px solid var(--line);
  border-radius: var(--radius);
  transition: background 0.2s ease, transform 0.2s ease;
}

.service-row:hover {
  background: rgba(241, 239, 230, 0.03);
  transform: translateX(4px);
}

.service-row:hover .service-row__icon {
  border-color: var(--accent);
  color: var(--accent-light);
}

.service-row__icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.service-row__icon svg { width: 22px; height: 22px; }

.service-row__head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.service-row__head h3 {
  font-size: 1.3rem;
}

.service-row__tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--signal);
  border: 1px solid rgba(145, 132, 217, 0.4);
  border-radius: var(--radius);
  padding: 2px 8px;
}

.service-row__body p {
  color: var(--text-muted);
  max-width: 60ch;
}

.process {
  padding: 112px 0;
  background: var(--ink-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--line-strong);
}

.timeline__item {
  position: relative;
  padding: 0 0 44px 32px;
}

.timeline__item:last-child { padding-bottom: 0; }

.timeline__item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.timeline__rev {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 6px;
}

.timeline__item h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.timeline__item p {
  color: var(--text-muted);
  max-width: 50ch;
}

.security { padding: 112px 0; }

.checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.checklist__item {
  background: var(--ink);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  font-size: 0.98rem;
}

.checklist__item svg {
  width: 20px;
  height: 20px;
  color: var(--signal);
  flex-shrink: 0;
}

.security__note {
  margin-top: 28px;
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 60ch;
}

.faq { padding: 24px 0 112px; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item {
  background: var(--ink);
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  flex: none;
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  margin: 0;
  padding: 0 24px 22px;
  max-width: 68ch;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.faq-item p a { color: var(--accent-light); }

.contact {
  padding: 112px 0 128px;
  background: var(--paper);
  color: var(--text-dark);
}

.contact .section-intro { color: var(--text-dark-muted); }

.contact__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
}

.contact__email {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--text-dark);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}

.contact__form {
  display: grid;
  gap: 18px;
}

.contact__notice {
  margin-bottom: 18px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.95rem;
}

.contact__notice--success {
  background: rgba(145, 132, 217, 0.16);
  color: var(--signal-text);
  border: 1px solid rgba(145, 132, 217, 0.4);
}

.contact__notice--error {
  background: rgba(217, 84, 84, 0.12);
  color: #9c2f2f;
  border: 1px solid rgba(217, 84, 84, 0.35);
}

.field {
  display: grid;
  gap: 6px;
}

.field--honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.field label {
  font-size: 0.85rem;
  color: var(--text-dark-muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text-dark);
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

.contact__form .btn--primary {
  justify-self: start;
}

.site-footer {
  background: var(--ink-deep);
  border-top: 1px solid var(--line);
}

.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 32px 40px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px 32px;
}

.site-footer__brand .wordmark { margin-bottom: 14px; }

.site-footer__claim {
  margin: 0 0 18px;
  max-width: 300px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.site-footer__mail {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-light);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}

.site-footer__mail:hover { color: var(--accent-light); }

.site-footer__social {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: fit-content;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  white-space: nowrap;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.site-footer__social svg { display: block; width: 16px; height: 16px; flex: none; }

.site-footer__social:hover {
  color: var(--accent-light);
  border-color: var(--accent);
  background: var(--ink-soft);
}

.site-footer__title {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.footer-nav a {
  display: inline-block;
  padding: 2px 0;
  transition: color 0.15s ease;
}

.footer-nav a:hover { color: var(--text-light); }

.site-footer__bottom {
  border-top: 1px solid var(--line);
}

.site-footer__bottom-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.site-footer__copy { margin: 0; }

.site-footer__top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  color: var(--text-muted);
}

.site-footer__top:hover { color: var(--text-light); }

.site-footer__top svg { width: 12px; height: 12px; flex: none; }

@media (max-width: 880px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
    padding: 44px 32px 32px;
  }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    padding: 40px 20px 28px;
    gap: 32px;
  }
  .site-footer__bottom-inner {
    padding: 18px 20px;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__figure { order: -1; max-width: 360px; margin: 0 auto 8px; }
  .contact__inner { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ink);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 32px 20px;
    gap: 2px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav-toggle { display: flex; }
  .nav a:not(.nav__cta) {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav__cta {
    align-self: stretch;
    text-align: center;
    margin-top: 12px;
  }
  .service-row { grid-template-columns: 44px 1fr; gap: 18px; }
}

@media (max-width: 760px) {
  .hero__figure { order: 2; max-width: 280px; margin: 40px auto 0; }
  .hero__actions { flex-direction: column; gap: 12px; }
  .hero__actions .btn { width: 100%; min-height: 48px; }
  .nav a:not(.nav__cta) { padding: 14px 0; }
  .nav__cta { min-height: 48px; }
  .footer-nav a { padding: 11px 0; display: inline-block; }
  .btn { min-height: 46px; }
  .btn--small { min-height: 42px; }
  .contact__form label { padding: 4px 0; }
  .consent-media__always { padding: 6px 0; }
  body.nav-open { overflow: hidden; }
  .nav.is-open { box-shadow: 0 24px 40px rgba(0, 0, 0, 0.45); z-index: 40; }
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(8, 9, 16, 0.55);
    z-index: 30;
  }
}

@media (max-width: 520px) {
  .section-inner { padding: 0 20px; }
  .hero__inner { padding: 0 20px; }
  .site-header__inner { padding: 12px 20px; }
  .hero { padding: 56px 0 72px; }
  .hero__headline { font-size: clamp(2.2rem, 11vw, 2.8rem); }
  .hero__sub { font-size: 1.02rem; }
  .services, .process, .security, .contact { padding: 64px 0; }
  .section-heading { font-size: clamp(1.7rem, 8vw, 2.2rem); }
  .testimonial { padding: 24px 20px 22px; }
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.pricing-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 56px;
}

.pricing-hero .section-inner { position: relative; }

.pricing-hero__headline {
  font-size: clamp(2.3rem, 4.8vw, 3.8rem);
  line-height: 1.08;
  max-width: 18ch;
}

.pricing-hero__sub {
  margin-top: 22px;
  max-width: 58ch;
  font-size: 1.08rem;
  color: var(--text-muted);
}

.pricing { padding: 24px 0 96px; }

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.term-switch {
  display: inline-flex;
  gap: 4px;
  margin: 0 0 28px;
  padding: 4px;
  background: var(--ink-deep);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}

.term-switch__btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 10px 18px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text-light);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.term-switch__btn:hover { background: var(--ink-soft); }

.term-switch__btn.is-active {
  background: var(--accent);
  color: var(--ink-deep);
}

.term-switch__note {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
}

.term-switch__btn.is-active .term-switch__note { color: var(--ink-soft); }

@media (max-width: 560px) {
  .term-switch { display: flex; }
  .term-switch__btn { flex: 1; }
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 32px 28px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--ink-deep);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.plan:hover { border-color: var(--accent); transform: translateY(-3px); }

.plan--featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 24px 48px -24px rgba(145, 132, 217, 0.45);
}

.plan__badge {
  position: absolute;
  top: -12px;
  left: 28px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  background: var(--accent);
  color: var(--ink-deep);
  padding: 3px 10px;
  border-radius: var(--radius);
}

.plan__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.plan__tagline {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.plan__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.plan__price[hidden] { display: none; }

.plan__amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.4rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.plan__period {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  white-space: nowrap;
  color: var(--text-muted);
}

.plan__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  flex: 1;
  font-size: 0.96rem;
}

.plan__features li {
  position: relative;
  padding-left: 26px;
  color: var(--text-light);
}

.plan__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--signal);
  border-bottom: 2px solid var(--signal);
  transform: rotate(-45deg);
}

.plan .btn--block { width: 100%; }

.pricing__note {
  margin-top: 28px;
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 70ch;
}

.pricing-steps {
  padding: 96px 0;
  background: var(--ink-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

@media (max-width: 960px) {
  .plan-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .plan--featured { order: -1; }
}

@media (max-width: 520px) {
  .pricing-hero { padding: 56px 0 40px; }
  .pricing { padding: 16px 0 72px; }
  .pricing-steps { padding: 72px 0; }
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms);
}

.js [data-reveal="left"] { transform: translateX(-24px); }
.js [data-reveal="scale"] { transform: scale(0.96); }

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 60;
  pointer-events: none;
}

.site-header {
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header__inner {
  transition: padding 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(16, 17, 32, 0.92);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.8), 0 1px 0 var(--line);
}

.site-header.is-scrolled .site-header__inner {
  padding-top: 11px;
  padding-bottom: 11px;
}

.hero__grid,
.hero__figure {
  will-change: transform;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.btn {
  position: relative;
  overflow: hidden;
}

.btn--primary {
  box-shadow: 0 0 0 0 rgba(145, 132, 217, 0);
  transition:
    background 0.2s ease, box-shadow 0.3s ease, color 0.15s ease,
    transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.btn--primary:hover {
  box-shadow: 0 0 0 4px rgba(145, 132, 217, 0.18), 0 14px 32px -14px rgba(145, 132, 217, 0.7);
}

.btn--primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -70%;
  width: 45%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-18deg);
  opacity: 0;
}

.btn--primary:hover::after {
  animation: shine 0.75s ease forwards;
}

@keyframes shine {
  0% { left: -70%; opacity: 0; }
  20% { opacity: 1; }
  100% { left: 130%; opacity: 0; }
}

.btn.is-magnetic { transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), background 0.2s ease, box-shadow 0.3s ease; }

.btn--ghost {
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.3s ease, transform 0.25s ease;
}

.btn--ghost:hover {
  box-shadow: 0 0 0 4px rgba(145, 132, 217, 0.12);
}

.nav__cta {
  transition: background 0.2s ease, box-shadow 0.3s ease, transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.nav__cta:hover {
  box-shadow: 0 0 0 4px rgba(145, 132, 217, 0.16);
}

.service-row {
  transition: background 0.25s ease, transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s ease;
}

.service-row:hover {
  box-shadow: inset 3px 0 0 var(--accent);
}

.service-row__icon svg {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-row:hover .service-row__icon svg {
  transform: scale(1.12) rotate(-4deg);
}

.plan {
  transition: border-color 0.25s ease, transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease;
}

.plan:hover {
  box-shadow: 0 0 0 1px var(--accent), 0 28px 56px -28px rgba(145, 132, 217, 0.6);
}

.checklist__item {
  transition: background 0.2s ease, color 0.2s ease;
}

.checklist__item:hover {
  background: var(--ink-soft);
}

.checklist__item svg {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.checklist__item:hover svg {
  transform: scale(1.25);
}

.timeline__item::before {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline__item:hover::before {
  transform: scale(1.4);
  box-shadow: 0 0 0 5px rgba(145, 132, 217, 0.2);
}

.clients {
  padding: 112px 0;
  background: var(--ink-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.logo-marquee {
  position: relative;
  margin-bottom: 72px;
  padding: 8px 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.logo-marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.logo-marquee:hover .logo-marquee__track {
  animation-play-state: paused;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.client-logo {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  margin-right: 64px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.client-logo:hover { color: var(--text-light); border-color: var(--accent); }

.client-logo img {
  height: 28px;
  width: auto;
  opacity: 0.7;
  filter: grayscale(1) brightness(1.4);
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.client-logo:hover img { opacity: 1; filter: none; }

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial {
  position: relative;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 32px 28px 28px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--ink);
  transition: border-color 0.25s ease, transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease;
}

.testimonial:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 28px 56px -30px rgba(145, 132, 217, 0.5);
}

.testimonial__mark {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 0.6;
  color: var(--accent);
  opacity: 0.8;
}

.testimonial__quote {
  flex: 1;
  margin: 0;
  font-size: 1.02rem;
  color: var(--text-light);
}

.testimonial__meta {
  display: grid;
  gap: 2px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.testimonial__name {
  font-weight: 600;
  font-size: 0.95rem;
}

.testimonial__role {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.placeholder-note {
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--warn);
}

@media (max-width: 960px) {
  .testimonials { grid-template-columns: 1fr; max-width: 520px; }
}

@media (max-width: 520px) {
  .clients { padding: 72px 0; }
  .logo-marquee { margin-bottom: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .logo-marquee { mask-image: none; -webkit-mask-image: none; }
  .logo-marquee__track { animation: none; flex-wrap: wrap; width: auto; gap: 16px; justify-content: center; }
  .client-logo { margin-right: 0; }
  .btn--primary::after { display: none; }
  .hero__grid, .hero__figure { transition: none; }
}

  .legal { padding: 96px 0 120px; }
  .legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 32px; }
  .legal h2 { font-size: 1.2rem; margin: 32px 0 10px; }
  .legal p, .legal li { color: var(--text-muted); max-width: 62ch; }
  .legal ul { padding-left: 20px; }
  .legal h3 { font-size: 1rem; margin: 20px 0 6px; color: var(--text-light); }
  .legal code { font-family: var(--font-mono); font-size: 0.85em; color: var(--accent-light); }
  .legal a { color: var(--accent-light); text-decoration: underline; }
  .legal__updated { margin-top: 40px; font-size: 0.85rem; }
  .legal .placeholder { color: var(--warn); }

.blueprint-svg [data-delay=".5"] { animation-delay: .5s; }
.blueprint-svg [data-delay=".6"] { animation-delay: .6s; }
.blueprint-svg [data-delay=".75"] { animation-delay: .75s; }
.blueprint-svg [data-delay=".8"] { animation-delay: .8s; }
.blueprint-svg [data-delay=".85"] { animation-delay: .85s; }
.blueprint-svg [data-delay=".9"] { animation-delay: .9s; }
.blueprint-svg [data-delay=".95"] { animation-delay: .95s; }
.blueprint-svg [data-delay="1.05"] { animation-delay: 1.05s; }

.consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: var(--ink-deep);
  border-top: 1px solid var(--line-strong);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.35);
  padding: 20px 24px;
  padding-bottom: max(20px, env(safe-area-inset-bottom));
}

.consent-banner__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.consent-banner__text {
  flex: 1 1 420px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.consent-banner__text p { margin: 0; }

.consent-banner__title {
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 4px !important;
}

.consent-banner__text a,
.consent-modal a,
.consent-media a { color: var(--accent-light); text-decoration: underline; }

.consent-banner__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.consent-banner__actions .btn { padding: 10px 18px; font-size: 0.92rem; }

.has-consent-banner { padding-bottom: 180px; }

.consent-modal {
  position: fixed;
  inset: 0;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.consent-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 9, 16, 0.7);
}

.consent-modal__dialog {
  position: relative;
  width: min(640px, 100%);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 32px 28px 24px;
  color: var(--text-light);
}

.consent-modal__title { font-size: 1.35rem; margin-bottom: 8px; }

.consent-modal__intro {
  margin: 0 0 20px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.consent-cat {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}

.consent-cat__head {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-weight: 600;
}

.consent-cat__head input {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
  flex: none;
}

.consent-cat__label small { font-weight: 400; color: var(--text-muted); }

.consent-cat__desc {
  margin: 8px 0 6px 32px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.consent-cat__services {
  margin: 0 0 0 32px;
  padding-left: 18px;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.consent-cat__services li { margin-bottom: 2px; }

.consent-modal__actions {
  position: sticky;
  bottom: -24px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  border-top: 1px solid var(--line);
  padding: 20px 0 16px;
  margin-top: 4px;
  background: var(--ink);
}

.consent-modal__actions .btn { padding: 10px 18px; font-size: 0.92rem; }

.consent-modal__meta {
  margin: 16px 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.consent-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  border-radius: var(--radius);
}

.consent-modal__close:hover { color: var(--text-light); background: var(--ink-soft); }

.has-consent-modal { overflow: hidden; }

.consent-media {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 100%;
  background: var(--ink-soft);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.consent-media.is-loaded { border: 0; background: #000; }

.consent-media iframe,
[data-consent-media] iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.consent-media__box {
  padding: 24px;
  text-align: center;
  max-width: 460px;
}

.consent-media__title { font-weight: 600; margin: 0 0 6px; }

.consent-media__note {
  margin: 0 0 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.consent-media__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.consent-media__always {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.consent-media__always input { accent-color: var(--accent); }

@media (max-width: 640px) {
  .consent-banner { padding: 16px; }
  .consent-banner__actions { width: 100%; }
  .consent-banner__actions .btn { flex: 1 1 auto; }
  .consent-modal__dialog { padding: 28px 18px 18px; }
  .consent-modal__actions .btn { flex: 1 1 auto; }
  .has-consent-banner { padding-bottom: 260px; }
}
