:root {
  color-scheme: light dark;
  --navy-950: #07172c;
  --navy-900: #0b1f3a;
  --navy-800: #12345a;
  --turquoise-500: #20c7c9;
  --turquoise-300: #76e3df;
  --paper: #f5fbfc;
  --surface: #ffffff;
  --surface-soft: #eaf7f7;
  --ink: #102236;
  --muted: #52677a;
  --line: #c9dde1;
  --success: #08735f;
  --danger: #b42318;
  --shadow: 0 18px 50px rgba(7, 23, 44, 0.1);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 100% 0, rgba(32, 199, 201, 0.16), transparent 30rem),
    var(--paper);
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: #087f83;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.08em;
}

a:hover {
  color: #055f64;
}

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

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

:focus-visible {
  outline: 3px solid #f5b700;
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--navy-950);
  background: #ffffff;
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(118, 227, 223, 0.22);
  color: #ffffff;
  background: rgba(11, 31, 58, 0.97);
  backdrop-filter: blur(18px);
}

.header-inner,
.content-shell,
.footer-inner {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  gap: 0.7rem;
  color: #ffffff;
  font-size: 1.06rem;
  font-weight: 780;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
}

.site-nav {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  padding: 0.6rem 0.72rem;
  border-radius: 9px;
  color: #d9eff0;
  font-size: 0.91rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #ffffff;
  background: rgba(32, 199, 201, 0.16);
}

.language-switcher {
  display: inline-flex;
  padding: 0.2rem;
  border: 1px solid rgba(118, 227, 223, 0.35);
  border-radius: 999px;
  background: rgba(7, 23, 44, 0.7);
}

.language-switcher button {
  min-width: 42px;
  min-height: 34px;
  padding: 0.3rem 0.55rem;
  border: 0;
  border-radius: 999px;
  color: #cde7e9;
  background: transparent;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 760;
}

.language-switcher button.is-active {
  color: var(--navy-950);
  background: var(--turquoise-300);
}

.hero {
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(3rem, 7vw, 5.5rem);
  color: #ffffff;
  background:
    linear-gradient(120deg, rgba(32, 199, 201, 0.15), transparent 38%),
    var(--navy-900);
}

.hero-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.62fr);
  gap: clamp(2rem, 6vw, 5rem);
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--turquoise-300);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 18ch;
  margin-bottom: 1rem;
  font-size: clamp(2.3rem, 7vw, 4.8rem);
}

h2 {
  margin-bottom: 1rem;
  color: var(--navy-900);
  font-size: clamp(1.45rem, 3vw, 2rem);
}

h3 {
  margin-bottom: 0.55rem;
  color: var(--navy-800);
  font-size: 1.08rem;
}

.hero-copy {
  max-width: 62ch;
  color: #d9ecf1;
  font-size: clamp(1rem, 2.2vw, 1.18rem);
}

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

.wave-orb {
  display: flex;
  width: clamp(190px, 28vw, 300px);
  aspect-ratio: 1;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(118, 227, 223, 0.5);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32, 199, 201, 0.24), rgba(7, 23, 44, 0.2) 65%);
  box-shadow: 0 0 80px rgba(32, 199, 201, 0.2);
}

.wave-orb span {
  width: 5px;
  border-radius: 99px;
  background: var(--turquoise-300);
}

.wave-orb span:nth-child(1),
.wave-orb span:nth-child(7) { height: 20%; }
.wave-orb span:nth-child(2),
.wave-orb span:nth-child(6) { height: 40%; }
.wave-orb span:nth-child(3),
.wave-orb span:nth-child(5) { height: 62%; }
.wave-orb span:nth-child(4) { height: 78%; }

.content-shell {
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 2.5rem;
  align-items: start;
}

.policy-content,
.form-card,
.content-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.policy-content {
  padding: clamp(1.25rem, 4vw, 3rem);
}

.policy-content section + section {
  margin-top: 2.25rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--line);
}

.policy-content p,
.policy-content li,
.content-card p {
  color: var(--muted);
}

.policy-content strong,
.content-card strong {
  color: var(--ink);
}

.policy-content ul,
.policy-content ol {
  padding-left: 1.25rem;
}

.policy-content li + li {
  margin-top: 0.45rem;
}

.side-nav {
  position: sticky;
  top: 96px;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.86);
}

.side-nav strong {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--navy-900);
}

.side-nav a {
  display: block;
  padding: 0.36rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.notice {
  margin: 1.2rem 0;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--turquoise-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--navy-800);
  background: var(--surface-soft);
}

.notice--warning {
  border-left-color: #e79d11;
  background: #fff7df;
}

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

.content-card {
  padding: 1.35rem;
}

.content-card .card-icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 13px;
  color: var(--navy-900);
  background: var(--surface-soft);
  font-weight: 850;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0.68rem 1.05rem;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--navy-950);
  background: var(--turquoise-500);
  cursor: pointer;
  font-weight: 760;
  text-decoration: none;
}

.button:hover {
  color: var(--navy-950);
  background: var(--turquoise-300);
}

.button--secondary {
  border-color: var(--line);
  color: var(--navy-800);
  background: var(--surface);
}

.form-card {
  max-width: 760px;
  margin-top: 2rem;
  padding: clamp(1.2rem, 4vw, 2.25rem);
}

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

.form-field {
  display: grid;
  gap: 0.4rem;
}

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

.form-field label,
.field-label {
  color: var(--navy-800);
  font-size: 0.92rem;
  font-weight: 720;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.7rem 0.8rem;
  border: 1px solid #9fb8bf;
  border-radius: 10px;
  color: var(--ink);
  background: #ffffff;
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-field small {
  color: var(--muted);
}

.checkbox-field {
  display: flex;
  grid-column: 1 / -1;
  align-items: flex-start;
  gap: 0.65rem;
}

.checkbox-field input {
  width: 19px;
  height: 19px;
  margin-top: 0.25rem;
  flex: 0 0 auto;
}

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

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 650;
}

.form-status--success {
  color: #075947;
  background: #dff8ef;
}

.form-status--error {
  color: #7a201a;
  background: #fee9e7;
}

.step-list {
  display: grid;
  margin: 1.5rem 0;
  padding: 0;
  gap: 1rem;
  list-style: none;
  counter-reset: steps;
}

.step-list li {
  position: relative;
  min-height: 48px;
  padding-left: 64px;
  counter-increment: steps;
}

.step-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: var(--navy-950);
  background: var(--turquoise-300);
  content: counter(steps);
  font-weight: 850;
}

.site-footer {
  margin-top: 3rem;
  padding: 2.25rem 0;
  color: #cde0e5;
  background: var(--navy-950);
}

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

.site-footer p {
  margin: 0;
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--turquoise-300);
}

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

@media (max-width: 880px) {
  .header-inner {
    flex-wrap: wrap;
    padding-block: 0.7rem;
  }

  .site-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    overflow-x: auto;
  }

  .language-switcher {
    margin-left: auto;
  }

  .hero-grid,
  .page-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

  .side-nav {
    position: static;
    order: -1;
  }

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

@media (max-width: 580px) {
  body {
    font-size: 15px;
  }

  .header-inner,
  .content-shell,
  .footer-inner {
    width: min(100% - 1.25rem, 1120px);
  }

  .site-nav a {
    padding-inline: 0.55rem;
    white-space: nowrap;
  }

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

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #071425;
    --surface: #0d223a;
    --surface-soft: #123a48;
    --ink: #eef8fa;
    --muted: #bad0d6;
    --line: #29485b;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  }

  body {
    background:
      radial-gradient(circle at 100% 0, rgba(32, 199, 201, 0.12), transparent 30rem),
      var(--paper);
  }

  h2,
  h3,
  .form-field label,
  .field-label,
  .side-nav strong {
    color: #e7f7f8;
  }

  a {
    color: var(--turquoise-300);
  }

  .side-nav {
    background: rgba(13, 34, 58, 0.9);
  }

  .form-field input,
  .form-field select,
  .form-field textarea {
    border-color: #4d6b78;
    color: var(--ink);
    background: #071a2d;
  }

  .notice--warning {
    color: #ffe7a8;
    background: #443515;
  }

  .button--secondary {
    color: #e7f7f8;
  }
}
