:root {
  --ink: #0f0b1a;
  --deep-violet: #2a195b;
  --aubergine: #5e3a8c;
  --lavender: #eae6ff;
  --warm-sand: #e8d8c3;
  --soft-off-white: #faf8f5;
  --white: #ffffff;
  --muted: #5a5066;
  --line: #ddd5eb;
  --line-strong: #c9b9e4;
  --shadow: 0 18px 50px rgba(15, 11, 26, 0.08);
  --container: 1160px;
  --radius: 8px;
  --header-height: 84px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--soft-off-white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--warm-sand);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--white);
  color: var(--ink);
  padding: 10px 14px;
  border: 1px solid var(--deep-violet);
  border-radius: var(--radius);
}

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

.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;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.narrow-page {
  max-width: 820px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 245, 0.92);
  border-bottom: 1px solid rgba(221, 213, 235, 0.86);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-link img {
  width: 202px;
  min-width: 202px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a {
  text-decoration: none;
}

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

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle-line {
  width: 21px;
  height: 2px;
  background: currentColor;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.1;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.button-primary {
  background: var(--deep-violet);
  color: var(--white);
}

.button-secondary {
  background: var(--warm-sand);
  color: var(--ink);
}

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

.button-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(234, 230, 255, 0.72);
}

.nav-cta {
  min-height: 42px;
  padding-inline: 18px;
  color: var(--white) !important;
}

.section {
  padding: 96px 0;
}

.band {
  background: #f4f0ea;
}

.section-dark {
  background: var(--ink);
  color: var(--white);
}

.hero {
  min-height: calc(100vh - var(--header-height) - 140px);
  display: flex;
  align-items: center;
  padding: clamp(42px, 6vh, 60px) 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.68fr);
  gap: clamp(36px, 5vw, 62px);
  align-items: center;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--aubergine);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-dark .eyebrow {
  color: var(--warm-sand);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3rem, 5vw, 4.85rem);
  max-width: 820px;
}

h2 {
  font-size: clamp(2.05rem, 4vw, 4.25rem);
}

h3 {
  font-size: 1.18rem;
}

p {
  margin: 0;
}

p + p {
  margin-top: 18px;
}

.hero-subtitle {
  max-width: 780px;
  margin-top: 22px;
  color: rgba(234, 230, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.support-line {
  margin-top: 18px;
  color: var(--warm-sand);
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 380px;
  display: grid;
  place-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(42, 25, 91, 0.55), rgba(94, 58, 140, 0.18)),
    linear-gradient(180deg, rgba(234, 230, 255, 0.06), rgba(15, 11, 26, 0));
  border: 1px solid rgba(234, 230, 255, 0.12);
  border-radius: var(--radius);
}

.hero-visual img {
  position: relative;
  width: min(76%, 320px);
  filter: drop-shadow(0 24px 42px rgba(0, 0, 0, 0.32));
}

.hero-visual-note {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.hero-visual-note span {
  border: 1px solid rgba(234, 230, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(234, 230, 255, 0.72);
  padding: 10px;
  border-radius: var(--radius);
  text-align: center;
  font-size: 0.76rem;
}

.section-grid,
.contact-grid,
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
  gap: 64px;
  align-items: start;
}

.section-grid.reverse {
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 0.95fr);
}

.section-grid.reverse .section-copy {
  order: 2;
}

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

.section-heading p:not(.eyebrow),
.section-copy p,
.legal-content p {
  color: var(--muted);
  font-size: 1.04rem;
}

.section-heading > p:last-child {
  margin-top: 18px;
}

.section-heading.narrow {
  max-width: 690px;
}

.large-subhead {
  color: var(--lavender) !important;
  font-size: 1.35rem !important;
  font-weight: 800;
}

.card-stack {
  display: grid;
  gap: 14px;
}

.mini-card,
.service-card,
.info-card,
.process-card,
.belief-panel,
.contact-form,
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.mini-card {
  padding: 24px;
}

.mini-card h3 {
  margin-bottom: 10px;
}

.mini-card p,
.service-card p,
.info-card p,
.process-card p,
.belief-panel p,
.faq-item p {
  color: var(--muted);
}

.mini-card-marker {
  display: block;
  width: 42px;
  height: 4px;
  margin-bottom: 16px;
  background: var(--aubergine);
  border-radius: 999px;
}

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

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

.service-card,
.info-card {
  padding: 26px;
}

.card-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
}

.card-subtitle {
  margin-top: 10px;
  color: var(--deep-violet) !important;
  font-weight: 800;
}

.check-list {
  display: grid;
  gap: 8px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.95rem;
}

.check-list li {
  position: relative;
  padding-left: 22px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  background: var(--aubergine);
  border-radius: 50%;
}

.text-link {
  color: var(--deep-violet);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.section-closing {
  max-width: 780px;
  margin-top: 34px;
  color: var(--deep-violet);
  font-weight: 800;
}

.process-section {
  overflow: hidden;
}

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

.process-card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(234, 230, 255, 0.16);
  box-shadow: none;
}

.process-card span {
  display: inline-flex;
  margin-bottom: 56px;
  color: var(--warm-sand);
  font-weight: 900;
}

.process-card p {
  color: rgba(234, 230, 255, 0.78);
}

.center-action {
  margin-top: 32px;
  text-align: center;
}

.system-map {
  display: grid;
  grid-template-columns: repeat(7, minmax(130px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: thin;
}

.system-map li {
  min-height: 138px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.system-number {
  color: var(--aubergine);
  font-weight: 900;
}

.about-layout {
  align-items: center;
}

.belief-panel {
  padding: 36px;
  background: var(--ink);
  color: var(--white);
}

.belief-panel img {
  width: 116px;
  margin-bottom: 40px;
}

.belief-panel p {
  color: var(--lavender);
  font-size: 1.7rem;
  line-height: 1.2;
  font-weight: 800;
}

.contact-section {
  background: var(--white);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.form-field {
  display: grid;
  gap: 7px;
}

label {
  color: var(--ink);
  font-weight: 800;
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft-off-white);
  color: var(--ink);
  padding: 12px 13px;
}

textarea {
  resize: vertical;
}

.turnstile-field {
  min-height: 65px;
}

.form-note {
  color: var(--muted);
  font-size: 0.88rem;
}

.form-note.is-success {
  color: #20745f;
  font-weight: 700;
}

.form-note.is-error {
  color: #9f2f3d;
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 22px 24px;
  font-weight: 900;
}

.faq-item p {
  padding: 0 24px 24px;
}

.legal-hero {
  padding: 90px 0 50px;
  background: var(--white);
}

.legal-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
}

.legal-hero p {
  margin-top: 22px;
  color: var(--muted);
}

.legal-content {
  color: var(--muted);
}

.legal-content h2 {
  margin-top: 34px;
  margin-bottom: 10px;
  font-size: 1.4rem;
  color: var(--ink);
}

.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.8fr;
  gap: 36px;
  align-items: start;
}

.footer-brand img {
  width: 210px;
}

.footer-brand p,
.footer-bottom,
.footer-links,
.footer-contact {
  color: rgba(234, 230, 255, 0.72);
}

.footer-brand p {
  margin-top: 18px;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 10px;
}

.footer-links a,
.footer-contact a,
.footer-bottom a {
  text-decoration: none;
}

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

.footer-email {
  font-weight: 800;
  color: var(--lavender);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(234, 230, 255, 0.12);
  font-size: 0.9rem;
}

@media (max-width: 1080px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid,
  .section-grid,
  .section-grid.reverse,
  .contact-grid,
  .about-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-grid.reverse .section-copy {
    order: 0;
  }

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

@media (max-width: 820px) {
  :root {
    --header-height: 74px;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .brand-link img {
    width: 170px;
    min-width: 170px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 13px;
    border-radius: var(--radius);
  }

  .nav-cta {
    margin-top: 8px;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding: 34px 0 38px;
  }

  h1 {
    font-size: clamp(2.45rem, 10.8vw, 3.35rem);
  }

  .hero-subtitle {
    margin-top: 18px;
  }

  .button-row {
    margin-top: 22px;
  }

  .support-line {
    margin-top: 16px;
  }

  .hero-visual {
    display: none;
  }

  .section {
    padding: 72px 0;
  }

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

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

@media (max-width: 560px) {
  .brand-link img {
    width: 154px;
    min-width: 154px;
  }

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

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

  .button-row,
  .button {
    width: 100%;
  }

  .button {
    min-height: 48px;
  }

  .card-icon {
    width: 48px;
    height: 48px;
  }
}

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

@media print {
  .site-header,
  .site-footer,
  .button,
  .menu-toggle {
    display: none !important;
  }

  body {
    background: var(--white);
    color: var(--ink);
  }
}
