:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --text: #121826;
  --muted: #4b5565;
  --border: #d8dee7;
  --accent: #2f6df6;
  --accent-strong: #1f4fc9;
  --accent-hover: #183f9f;
  --header-height: 72px;
  --max-width: 1120px;
  --radius: 14px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 10;
  transform: translateY(-150%);
  background: var(--text);
  color: #fff;
  padding: 0.65rem 0.85rem;
  border-radius: 999px;
}

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

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--bg) 92%, white 8%);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-height);
}

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

.brand img {
  width: 34px;
  height: auto;
}

.site-header nav a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  margin-right: 0.9rem;
}

.menu-toggle {
  display: none;
  min-height: 40px;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 600;
}

.header-cta,
.hero-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent-strong);
  color: #fff;
  box-shadow: 0 14px 28px color-mix(in srgb, var(--accent) 18%, transparent);
}

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

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: color-mix(in srgb, var(--text) 28%, var(--border));
  background: color-mix(in srgb, var(--surface) 70%, transparent);
}

.section {
  padding: 5rem 0;
}

.section + .section {
  border-top: 1px solid color-mix(in srgb, var(--border) 72%, transparent);
}

.section-muted {
  background: color-mix(in srgb, var(--surface) 62%, transparent);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 2rem;
}

.section-heading h2,
.prose h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.section-heading p:not(.eyebrow),
.prose p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
}

.prose {
  max-width: 760px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  counter-increment: steps;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.steps li::before {
  content: "0" counter(steps);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  margin-bottom: 1.25rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 12%, white 88%);
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
}

.steps h3,
.card h3,
.principle-list h3 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.steps p,
.card p,
.principle-list p {
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.card {
  min-height: 190px;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 18px 40px color-mix(in srgb, var(--text) 5%, transparent);
}

.credibility-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: start;
}

.principle-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.principle-list li {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.vision-strip {
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: calc(var(--radius) * 1.35);
  background: var(--text);
  color: #fff;
}

.vision-strip p {
  max-width: 920px;
  margin: 0;
  font-size: clamp(1.55rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.form-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: start;
}

.site-form {
  display: grid;
  gap: 0.65rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.site-form label {
  font-size: 0.9rem;
  font-weight: 600;
}

input,
textarea,
button {
  font: inherit;
}

input,
textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
}

textarea {
  resize: vertical;
}

.site-form-inline {
  max-width: 620px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0.15rem 0 0.35rem;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.45;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.status-line {
  min-height: 1.5rem;
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.footer-row p {
  margin: 0;
  color: var(--muted);
}

.footer-links {
  display: inline-flex;
  gap: 1rem;
}

.footer-links a {
  font-weight: 600;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: auto;
  display: grid;
  align-items: start;
  padding-top: clamp(0.5rem, 1.2vw, 1rem);
  padding-bottom: 1.25rem;
  background: transparent;
}

.hero::before {
  content: none;
}

.hero .container {
  position: relative;
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.hero-shell {
  position: relative;
  overflow: hidden;
  border-top: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  padding: clamp(1.2rem, 3vw, 1.8rem) 0 0;
  background: linear-gradient(120deg, #f6f5ff 0%, #f0efff 38%, #e9e6ff 100%);
  box-shadow: none;
}

.hero-shell::after {
  content: "";
  position: absolute;
  inset: auto -10% -38% auto;
  width: min(620px, 52vw);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 20%, #dcd6ff), transparent 64%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(1rem, 2vw, 2.2rem);
  align-items: center;
  padding-bottom: clamp(1.1rem, 2vw, 1.5rem);
  width: 100%;
  padding-left: clamp(1rem, 2.6vw, 2.4rem);
  padding-right: 0;
}

.hero-copy {
  max-width: 560px;
  padding-left: clamp(0rem, 1vw, 0.4rem);
}

.hero-media {
  margin: 0;
  position: relative;
  align-self: end;
  justify-self: end;
}

.hero-media::before {
  content: none;
}

.hero-media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: none;
  margin-left: 0;
  height: auto;
  border-radius: 0;
  border: 0;
  box-shadow: none;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 640px;
  margin: 0;
  font-size: clamp(2.25rem, 4.3vw, 3.75rem);
  line-height: 0.99;
  letter-spacing: -0.05em;
}

.lead {
  max-width: 560px;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.3vw, 1.07rem);
}

.hero-cta {
  margin-top: 1.65rem;
}

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 -4px 16px color-mix(in srgb, var(--text) 8%, transparent);
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-consent.hidden {
  display: none;
}

.cookie-consent-text {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
}

.cookie-consent-text a {
  color: var(--text);
  text-decoration: underline;
}

.cookie-consent-buttons {
  display: flex;
  gap: 0.65rem;
  flex-shrink: 0;
}

.cookie-consent-btn {
  min-height: 40px;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.cookie-consent-btn:hover {
  border-color: color-mix(in srgb, var(--text) 28%, var(--border));
}

.cookie-consent-btn-primary {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: #fff;
}

.cookie-consent-btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.legal-page {
  padding: 3rem 0 4rem;
}

.legal-page h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.6rem);
  letter-spacing: -0.04em;
}

.legal-updated {
  margin: 0.5rem 0 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-page h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.15rem;
}

.legal-page ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal-page li {
  margin-bottom: 0.5rem;
  color: var(--muted);
}

@media (max-width: 760px) {
  .steps,
  .credibility-layout,
  .form-wrap {
    grid-template-columns: 1fr;
  }

  .header-row {
    min-height: 64px;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.7rem 0;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .header-cta {
    display: none;
  }

  #primary-nav {
    width: 100%;
  }

  #primary-nav[hidden] {
    display: none;
  }

  #primary-nav a {
    display: inline-flex;
    padding: 0.25rem 0;
  }

  .hero-cta {
    display: grid;
    gap: 0.7rem;
  }

  .hero .container {
    margin-inline: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-bottom: 1.1rem;
  }

  .hero-media {
    max-width: 100%;
    margin-top: 0.5rem;
  }

  .hero-media::before {
    display: none;
  }

  .hero-media img {
    width: 100%;
    margin-left: 0;
  }

  .cookie-consent {
    align-items: stretch;
  }

  .cookie-consent-buttons {
    width: 100%;
    flex-direction: column;
  }
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 45%, white 55%);
  outline-offset: 3px;
}

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