/* Svaia Labs theme derived from svaia-logo.png */

:root {
  --bg: #fdfefc;
  --ink: #0f0a14;
  --line: rgba(15, 10, 20, 0.14);

  --brand: #602f74;
  --brand-2: #b896ff;
  --mint: #d6ffed;

  --shadow-soft: 0 10px 30px rgba(15, 10, 20, 0.08);
  --shadow: 0 18px 44px rgba(15, 10, 20, 0.12);

  --radius-lg: 30px;
  --radius-md: 24px;
  --radius-sm: 18px;

  --max: 1120px;
  --gutter: 22px;

  --font-sans: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-display: "Space Grotesk", var(--font-sans);
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  line-height: 1.55;
  background:
    radial-gradient(1100px 820px at 12% -5%, rgba(184, 150, 255, 0.30), transparent 62%),
    radial-gradient(980px 740px at 92% 10%, rgba(214, 255, 237, 0.38), transparent 56%),
    radial-gradient(820px 700px at 70% 120%, rgba(96, 47, 116, 0.18), transparent 52%),
    var(--bg);
}

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

svg {
  display: block;
}

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

button {
  font: inherit;
}

:where(h1, h2, h3) {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

p {
  margin: 0;
}

[hidden] {
  display: none !important;
}

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

@media (max-width: 560px) {
  .container {
    padding: 0 16px;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.skip-link:focus {
  left: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 254, 252, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-lockup {
  width: auto;
  height: auto;
  max-height: 42px;
  max-width: min(360px, 60vw);
}

.brand-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.80);
  border: 1px solid rgba(15, 10, 20, 0.12);
  box-shadow: var(--shadow-soft);
  display: grid;
  place-items: center;
  padding: 7px;
  flex: none;
}

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

.brand-wordmark {
  height: 22px;
  width: auto;
  max-width: 190px;
  display: block;
}

@media (max-width: 560px) {
  .brand-lockup {
    max-height: 36px;
  }
}

/* (Previously: text-based wordmark) */

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

.nav-toggle {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(15, 10, 20, 0.14);
  background: rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow-soft);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 150ms ease, background-color 150ms ease;
}

.js .nav-toggle {
  display: inline-flex;
}

.nav-toggle:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.85);
}

.nav-toggle-icon {
  width: 20px;
  height: 20px;
}

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(15, 10, 20, 0.36);
  backdrop-filter: blur(4px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.js .nav-links {
  display: none;
  position: fixed;
  top: 78px;
  left: 16px;
  right: 16px;
  z-index: 60;
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  flex-direction: column;
  gap: 10px;
}

.js body.nav-open .nav-links {
  display: flex;
}

.js body.nav-open {
  overflow: hidden;
}

.nav-link {
  padding: 10px 12px;
  border-radius: 14px;
  font-weight: 700;
  color: rgba(15, 10, 20, 0.76);
}

.nav-link:hover {
  background: rgba(96, 47, 116, 0.08);
  color: rgba(15, 10, 20, 0.90);
}

.contact-links {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.70);
  box-shadow: var(--shadow-soft);
  transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.contact-link:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(15, 10, 20, 0.18);
}

.contact-link-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(96, 47, 116, 0.08);
  color: var(--brand);
  flex: none;
}

.contact-link-icon svg {
  width: 24px;
  height: 24px;
}

.contact-link-icon-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

.contact-link-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.contact-link-title {
  font-weight: 800;
  letter-spacing: -0.01em;
}

.contact-link-value {
  color: rgba(15, 10, 20, 0.72);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-link[aria-current="page"] {
  background: rgba(96, 47, 116, 0.10);
  color: rgba(15, 10, 20, 0.92);
}

@media (min-width: 920px) {
  .js .nav-toggle {
    display: none;
  }

  .nav-scrim {
    display: none !important;
  }

  .js body.nav-open {
    overflow: auto;
  }

  .js .nav-links {
    display: flex !important;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 18px;
    flex-wrap: nowrap;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .nav-links {
    display: flex !important;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 18px;
    flex-wrap: nowrap;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .nav-link {
    padding: 8px 10px;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.btn:focus-visible,
.nav-toggle:focus-visible,
.icon-btn:focus-visible,
.dot:focus-visible {
  outline: 3px solid rgba(184, 150, 255, 0.55);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 14px 24px rgba(96, 47, 116, 0.22);
}

.btn-primary:hover {
  background: #532a65;
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.55);
  color: rgba(15, 10, 20, 0.92);
  border-color: rgba(15, 10, 20, 0.14);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(-1px);
}

.btn-small {
  padding: 10px 14px;
  font-size: 0.92rem;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(15, 10, 20, 0.14);
  background: rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 150ms ease, background-color 150ms ease;
}

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

.icon-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.90);
}

.section {
  padding: clamp(52px, 6vw, 84px) 0;
}

.section-head {
  max-width: 74ch;
}

.section-head > * + * {
  margin-top: 10px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.section-lede {
  font-size: 1.1rem;
  color: rgba(15, 10, 20, 0.72);
  line-height: 1.6;
}

.hero {
  position: relative;
  overflow: clip;
  padding: clamp(66px, 7vw, 92px) 0 38px;
}

.hero--home {
  --max: 1240px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% -25%;
  background:
    radial-gradient(780px 680px at 12% 12%, rgba(184, 150, 255, 0.44), transparent 62%),
    radial-gradient(980px 720px at 88% 18%, rgba(214, 255, 237, 0.55), transparent 56%),
    radial-gradient(700px 560px at 65% 96%, rgba(96, 47, 116, 0.18), transparent 56%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(15, 10, 20, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 10, 20, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.16;
  pointer-events: none;
  mask-image: radial-gradient(closest-side at 38% 22%, black 0%, transparent 60%);
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 32px;
  align-items: start;
}

@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(28px, 3vw, 42px);
    align-items: start;
  }
}

@media (min-width: 980px) {
  .hero--home .hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1120px) {
  .hero--home .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }
}

.hero-copy,
.hero-right {
  min-width: 0;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(96, 47, 116, 0.92);
}

.kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(96, 47, 116, 0.90);
  box-shadow: 0 0 0 6px rgba(184, 150, 255, 0.22);
}

.hero-title {
  margin-top: 16px;
  font-size: clamp(2rem, 4.3vw, 2.9rem);
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.hero-title-accent {
  display: inline-block;
  white-space: normal;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: 0.9em;
  padding-bottom: 0.8vh;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-2) 45%, #25a178 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (min-width: 680px) {
  .hero-title-accent {
    white-space: nowrap;
  }
}

@media (min-width: 980px) {
  .hero-title {
    white-space: nowrap;
  }
}

.hero-lede {
  margin-top: 14px;
  font-size: 1.1rem;
  color: rgba(15, 10, 20, 0.74);
  max-width: 58ch;
  line-height: 1.65;
}

.cta-row {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-copy .cta-row {
  margin-top: 10px;
}

.hero-points {
  margin-top: 26px;
  display: grid;
  gap: 12px;
}

@media (min-width: 680px) {
  .hero-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1120px) {
  .hero--home .hero-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.point {
  padding: 14px 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow-soft);
}

.point-title {
  font-size: 1.02rem;
}

.point-body {
  margin-top: 8px;
  color: rgba(15, 10, 20, 0.70);
  font-size: 0.95rem;
  line-height: 1.55;
}

.carousel {
  position: relative;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 10, 20, 0.14);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.carousel::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, rgba(184, 150, 255, 0.55), rgba(214, 255, 237, 0.45));
  opacity: 0.18;
  pointer-events: none;
}

.carousel > * {
  position: relative;
}

.carousel-head {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 14px;
}

.carousel-head > :first-child {
  flex: 1 1 16rem;
  min-width: 0;
}

.carousel-kicker {
  font-size: 0.70rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(15, 10, 20, 0.58);
}

.carousel-title {
  margin-top: 6px;
  font-size: 1.35rem;
  white-space: nowrap;
  line-height: 1.15;
}

.carousel-controls {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
}

.carousel-body {
  margin-top: 16px;
}

@media (max-width: 420px) {
  .carousel-head {
    gap: 12px;
  }

  .carousel-controls {
    width: 100%;
    margin-left: 0;
  }
}

.slide {
  display: none;
}

.slide.is-active {
  display: block;
  animation: fadeUp 420ms ease-out both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(96, 47, 116, 0.08);
  border: 1px solid rgba(96, 47, 116, 0.12);
  color: rgba(96, 47, 116, 0.92);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.slide-title {
  margin-top: 12px;
  font-size: 1.2rem;
}

.slide-body {
  margin-top: 10px;
  color: rgba(15, 10, 20, 0.74);
  line-height: 1.6;
}

.mini-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: rgba(15, 10, 20, 0.74);
}

.mini-list li {
  padding-left: 18px;
  position: relative;
}

.mini-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  position: absolute;
  left: 0;
  top: 0.55em;
  background: rgba(37, 161, 120, 0.55);
  box-shadow: 0 0 0 5px rgba(214, 255, 237, 0.65);
}

.carousel-dots {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.dot {
  height: 10px;
  width: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(15, 10, 20, 0.22);
  cursor: pointer;
  transition: width 220ms ease, background-color 220ms ease;
}

.dot.is-active {
  width: 34px;
  background: var(--brand);
}

.trust-bar {
  margin-top: 14px;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow-soft);
}

.trust-label {
  font-size: 0.70rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(15, 10, 20, 0.58);
}

.trust-chips {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(214, 255, 237, 0.70);
  border: 1px solid rgba(37, 161, 120, 0.18);
  color: rgba(15, 10, 20, 0.74);
  font-weight: 700;
  font-size: 0.86rem;
}

.stats {
  padding: 44px 0;
}

.stats-grid {
  display: grid;
  gap: 14px;
}

@media (min-width: 880px) {
  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}

.stat {
  position: relative;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.stat::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(460px 240px at 20% 0%, rgba(184, 150, 255, 0.22), transparent 55%),
    radial-gradient(420px 260px at 90% 30%, rgba(214, 255, 237, 0.22), transparent 60%);
  pointer-events: none;
}

.stat > * {
  position: relative;
}

.stat-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.65rem;
}

.stat-label {
  margin-top: 4px;
  font-weight: 800;
  color: rgba(15, 10, 20, 0.72);
  text-transform: lowercase;
}

.stat-note {
  margin-top: 10px;
  color: rgba(15, 10, 20, 0.62);
  font-size: 0.96rem;
  line-height: 1.55;
}

.split {
  display: grid;
  gap: 28px;
  align-items: center;
}

@media (min-width: 980px) {
  .split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 42px;
  }
}

.checklist {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.checklist li {
  padding-left: 34px;
  position: relative;
  color: rgba(15, 10, 20, 0.76);
  line-height: 1.55;
}

.checklist li::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 6px;
  position: absolute;
  left: 0;
  top: 0.34em;
  background: rgba(214, 255, 237, 0.80);
  border: 1px solid rgba(37, 161, 120, 0.22);
  box-shadow: 0 10px 18px rgba(37, 161, 120, 0.12);
}

.checklist li::after {
  content: "";
  position: absolute;
  left: calc((18px - 7px) / 2);
  top: calc(0.34em + (18px - 4px) / 2);
  width: 7px;
  height: 4px;
  border-left: 2px solid rgba(15, 10, 20, 0.55);
  border-bottom: 2px solid rgba(15, 10, 20, 0.55);
  transform: rotate(-45deg);
}

.diagram-card {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.60);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 18px;
}

.diagram-caption {
  margin-top: 12px;
  color: rgba(15, 10, 20, 0.62);
  font-size: 0.96rem;
  line-height: 1.55;
}

.bento {
  margin-top: 24px;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

@media (min-width: 780px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .bento-item--wide {
    grid-column: 1 / -1;
  }
}

.bento-item,
.card,
.step {
  position: relative;
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.bento-item::before,
.card::before,
.step::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(420px 260px at 20% 0%, rgba(184, 150, 255, 0.18), transparent 60%);
  pointer-events: none;
  opacity: 0.9;
}

.bento-item > *,
.card > *,
.step > * {
  position: relative;
}

.bento-item:hover,
.card:hover,
.step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.72);
}

.card-title {
  margin-top: 6px;
  font-size: 1.2rem;
}

.card-title:first-child {
  margin-top: 0;
}

.card-body {
  margin-top: 10px;
  color: rgba(15, 10, 20, 0.74);
  line-height: 1.6;
}

.card-meta {
  margin-top: 0;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(15, 10, 20, 0.52);
}

.card-meta:not(:first-child) {
  margin-top: 14px;
}

.card-grid {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}

@media (min-width: 720px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 920px) {
  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (min-width: 1120px) {
  .card-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.card-link {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: rgba(96, 47, 116, 0.95);
}

.card-link::after {
  content: "->";
  font-weight: 900;
}

.card-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.steps {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

@media (min-width: 920px) {
  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
}

.step-num {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(96, 47, 116, 0.92);
}

.step-title {
  margin-top: 12px;
  font-size: 1.14rem;
}

.step-body {
  margin-top: 10px;
  color: rgba(15, 10, 20, 0.74);
  line-height: 1.6;
}

.faq-grid {
  margin-top: 24px;
  display: grid;
  gap: 14px;
  align-items: start;
}

@media (min-width: 920px) {
  .faq-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}

.faq-item {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.72);
}

.faq-item summary {
  padding: 18px 18px;
  cursor: pointer;
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  float: right;
  color: rgba(15, 10, 20, 0.55);
  font-family: var(--font-display);
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-answer {
  padding: 0 18px 18px;
  color: rgba(15, 10, 20, 0.74);
  line-height: 1.6;
}

.form-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 10, 20, 0.14);
  box-shadow: var(--shadow);
}

.form-kicker {
  font-size: 0.70rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(15, 10, 20, 0.58);
}

.form-title {
  margin-top: 10px;
  font-size: 1.55rem;
}

.form-lede {
  margin-top: 10px;
  color: rgba(15, 10, 20, 0.70);
  line-height: 1.6;
}

.contact-form {
  margin-top: 18px;
}

.form-status {
  margin: 10px 0 0;
  color: rgba(15, 10, 20, 0.66);
  font-size: 0.92rem;
  min-height: 1.2em;
}

.form-status[data-state="success"] {
  color: rgb(10, 110, 78);
  background: rgba(214, 255, 237, 0.85);
  border: 1px solid rgba(37, 161, 120, 0.22);
  border-radius: 14px;
  padding: 10px 12px;
}

.form-status[data-state="error"] {
  color: rgba(135, 25, 25, 0.92);
  background: rgba(255, 232, 232, 0.85);
  border: 1px solid rgba(200, 60, 60, 0.22);
  border-radius: 14px;
  padding: 10px 12px;
}

.form-status[data-state="pending"] {
  color: rgba(15, 10, 20, 0.66);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 10, 20, 0.14);
  border-radius: 14px;
  padding: 10px 12px;
}

.form-grid {
  display: grid;
  gap: 12px;
}

@media (min-width: 760px) {
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.field label {
  font-weight: 800;
  color: rgba(15, 10, 20, 0.78);
  font-size: 0.92rem;
}

.field--full {
  grid-column: 1 / -1;
}

.input,
.textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(15, 10, 20, 0.16);
  background: rgba(255, 255, 255, 0.78);
  color: rgba(15, 10, 20, 0.92);
  box-shadow: 0 10px 22px rgba(15, 10, 20, 0.08);
}

.textarea {
  resize: vertical;
  min-height: 120px;
}

.input:focus,
.textarea:focus {
  outline: 3px solid rgba(184, 150, 255, 0.55);
  outline-offset: 2px;
}

.form-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.form-note {
  margin: 0;
  color: rgba(15, 10, 20, 0.66);
  font-weight: 700;
}

.form-note a {
  color: rgba(96, 47, 116, 0.95);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.form-note a:hover {
  color: rgba(15, 10, 20, 0.90);
}

.contact-card {
  border-radius: var(--radius-lg);
  padding: 26px;
  color: rgba(255, 255, 255, 0.92);
  background:
    radial-gradient(720px 520px at 18% 18%, rgba(184, 150, 255, 0.55), transparent 58%),
    radial-gradient(760px 520px at 90% 0%, rgba(214, 255, 237, 0.30), transparent 58%),
    linear-gradient(135deg, #2d1638 0%, #602f74 44%, #1d0f25 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 22px 60px rgba(15, 10, 20, 0.22);
  display: grid;
  gap: 18px;
}

@media (min-width: 920px) {
  .contact-card {
    grid-template-columns: 1.35fr 0.9fr;
    align-items: center;
    padding: 34px;
  }
}

.contact-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.contact-lede {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.80);
  line-height: 1.6;
}

.contact-meta {
  margin-top: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
}

.contact-aside {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-aside-title {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.contact-card .mini-list {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.82);
}

.contact-card .mini-list li::before {
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.10);
}

.contact-card .btn-primary {
  background: rgba(255, 255, 255, 0.92);
  color: rgba(29, 15, 37, 0.96);
  box-shadow: none;
}

.contact-card .btn-primary:hover {
  background: #ffffff;
}

.contact-card .btn-ghost {
  background: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.26);
}

.contact-card .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}

.site-footer {
  padding: 56px 0 22px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
}

.footer-grid {
  display: grid;
  gap: 22px;
  align-items: start;
}

@media (min-width: 920px) {
  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 32px;
  }
}

.footer-logo {
  width: auto;
  height: 36px;
  max-width: min(340px, 70vw);
  filter: drop-shadow(0 10px 18px rgba(15, 10, 20, 0.12));
}

.footer-tagline {
  margin-top: 10px;
  color: rgba(15, 10, 20, 0.70);
  max-width: 52ch;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-weight: 800;
}

.footer-nav a {
  color: rgba(15, 10, 20, 0.72);
}

.footer-nav a:hover {
  color: rgba(96, 47, 116, 0.95);
}

.footer-note {
  color: rgba(15, 10, 20, 0.62);
  line-height: 1.6;
}

.social {
  margin-top: 12px;
  display: flex;
  gap: 10px;
}

.footer-legal {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(15, 10, 20, 0.10);
  color: rgba(15, 10, 20, 0.62);
  font-size: 0.92rem;
}

/* Progressive enhancement: only hide reveals when JS is available. */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 1, 0.2, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .btn,
  .icon-btn,
  .nav-toggle,
  .bento-item,
  .card,
  .step,
  .faq-item,
  .dot {
    transition: none !important;
  }

  .slide.is-active {
    animation: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
