:root {
  --bg: #0b1220;
  --card: #121a2b;
  --card-2: #17233b;
  --text: #eaf0ff;
  --muted: #a8b4d1;
  --accent: #5cc0ff;
  --accent-2: #84ffce;
  --border: rgba(255,255,255,.10);
  --shadow: 0 20px 50px rgba(0,0,0,.28);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(92,192,255,.14), transparent 34%),
    radial-gradient(circle at bottom left, rgba(132,255,206,.09), transparent 25%),
    linear-gradient(180deg, #0a1120 0%, #0d1524 55%, #0b1322 100%);
  line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.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: -9999px;
  top: auto;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: #fff;
  color: #000;
  padding: .8rem 1rem;
  z-index: 999;
  border-radius: .5rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(246, 249, 255, .94);
  border-bottom: 1px solid rgba(22, 43, 82, .12);
  box-shadow: 0 8px 28px rgba(0,0,0,.12);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 108px;
  gap: 1.25rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  color: #16325e;
  flex: 0 0 auto;
}
.logo img {
  width: clamp(250px, 28vw, 420px);
  height: auto;
  display: block;
  border-radius: 16px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 12px 28px rgba(28, 52, 92, .16);
}
.logo-wordmark {
  white-space: nowrap;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: flex-end;
}
.nav-links a {
  color: #18345f;
  opacity: .96;
  font-weight: 600;
}
.nav-links .button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .85rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #7da9ff);
  color: #07131d;
  font-weight: 700;
  border: 0;
  box-shadow: 0 12px 24px rgba(92,192,255,.24);
}
.button.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: none;
}
.button:hover, .nav-links .button:hover { text-decoration: none; filter: brightness(1.05); }

.hero {
  padding: 4.5rem 0 3.5rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 2rem;
  align-items: center;
}
.badge {
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  padding: .45rem .8rem;
  border: 1px solid rgba(132,255,206,.25);
  border-radius: 999px;
  color: #d4ffee;
  background: rgba(132,255,206,.07);
  font-size: .95rem;
}
.hero h1 {
  font-size: clamp(2.3rem, 4.3vw, 4.25rem);
  line-height: 1.06;
  margin: 1rem 0 .9rem;
  letter-spacing: -.03em;
}
.hero p {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 62ch;
}
.hero-actions {
  display: flex;
  gap: .9rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}
.hero-panel,
.card,
.legal-card,
.contact-box {
  background: linear-gradient(180deg, rgba(23,35,59,.95), rgba(18,26,43,.95));
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.hero-panel { padding: 1.25rem; }
.hero-brand-panel {
  padding: 1.25rem;
}
.logo-showcase {
  padding: 1rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.97), rgba(241,246,255,.98));
  box-shadow: inset 0 0 0 1px rgba(23, 52, 97, .08), 0 18px 40px rgba(0,0,0,.18);
}
.logo-showcase img {
  width: 100%;
  height: auto;
  border-radius: 18px;
}
.hero-brand-copy {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
  padding: .85rem 1rem;
  border-radius: 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
}
.hero-brand-copy strong {
  font-size: 1.02rem;
  letter-spacing: .01em;
}
.hero-brand-copy span {
  color: var(--muted);
  text-align: right;
  font-size: .98rem;
}

.section { padding: 1.2rem 0 3.4rem; }
.section h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.5rem);
  margin-bottom: .5rem;
}
.section-lead { color: var(--muted); max-width: 70ch; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.3rem;
}
.card { padding: 1.25rem; }
.card h3 { margin-top: .3rem; margin-bottom: .4rem; }
.card p { color: var(--muted); }
.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(92,192,255,.12);
  border: 1px solid rgba(92,192,255,.18);
  font-size: 1.5rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.4rem;
}
.figure-card {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
}
.figure-card figcaption {
  padding: .95rem 1rem 1.1rem;
  color: var(--muted);
  font-size: .98rem;
}

.notice {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--accent-2);
  background: rgba(132,255,206,.06);
  border-radius: 14px;
  color: #dce9ff;
}


.newsletter-shell {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 1rem;
  margin-top: 1.4rem;
  align-items: start;
}
.newsletter-copy {
  padding: 1.25rem;
}
.newsletter-copy h3,
.newsletter-form h3 {
  margin-top: .35rem;
  margin-bottom: .35rem;
}
.newsletter-list {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}
.newsletter-form {
  background: linear-gradient(180deg, rgba(23,35,59,.95), rgba(18,26,43,.95));
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 1.25rem;
}
.form-intro,
.form-note {
  color: var(--muted);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .9rem;
  margin: 1rem 0;
}
.newsletter-form label span {
  display: block;
  margin-bottom: .35rem;
  font-weight: 600;
}
.newsletter-form input,
.newsletter-form select {
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: var(--text);
  padding: .8rem .95rem;
  font: inherit;
}
.newsletter-form option {
  color: #0a1120;
}
.newsletter-form input::placeholder {
  color: #9ea9c4;
}
.newsletter-form input:focus,
.newsletter-form select:focus {
  outline: 2px solid rgba(92,192,255,.32);
  outline-offset: 0;
  border-color: rgba(92,192,255,.35);
}
.checkbox-row {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: .8rem;
  align-items: start;
  margin: .5rem 0 1rem;
}
.checkbox-row input {
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin-top: .1rem;
}
.checkbox-row span {
  margin-bottom: 0 !important;
  font-weight: 400 !important;
  color: #d8e0f2;
}
.hp-field {
  position: absolute;
  left: -9999px;
}
.legal-shell-single {
  grid-template-columns: 1fr;
  max-width: 820px;
}
.success-panel h1 {
  margin-top: .4rem;
  margin-bottom: .6rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.contact-box {
  padding: 1.2rem;
  margin-top: 1.2rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .9rem;
}
.contact-item {
  padding: .95rem 1rem;
  border-radius: 18px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
}
.contact-item strong { display: block; margin-bottom: .25rem; }

.site-footer {
  padding: 1.6rem 0 2rem;
  border-top: 1px solid var(--border);
  background: rgba(4,10,18,.45);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
}
.footer-brand img {
  width: clamp(220px, 20vw, 320px);
  height: auto;
  padding: .4rem;
  border-radius: 14px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}
.footer-links a { color: var(--muted); }
.small { font-size: .95rem; color: var(--muted); }

.legal-main {
  padding: 3rem 0 4rem;
}
.legal-shell {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 1.2rem;
  align-items: start;
}
.legal-card {
  padding: 1.2rem 1.25rem;
  position: sticky;
  top: 124px;
}
.legal-brand {
  margin-top: .8rem;
  margin-bottom: .9rem;
  padding: .7rem;
  border-radius: 18px;
  background: rgba(255,255,255,.96);
}
.legal-brand img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.legal-card h1 {
  margin-top: .2rem;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.1;
}
.legal-card p { color: var(--muted); }
.legal-meta {
  margin-top: 1rem;
  padding-top: .8rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: .96rem;
}

.legal-content {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.4rem 1.6rem;
}
.legal-content h2 {
  margin-top: 1.8rem;
  margin-bottom: .55rem;
  font-size: 1.35rem;
}
.legal-content h3 {
  margin-top: 1.2rem;
  margin-bottom: .35rem;
  font-size: 1.06rem;
}
.legal-content p,
.legal-content li,
.legal-content address { color: #d8e0f2; }
.legal-content ul { padding-left: 1.2rem; }
.legal-content code {
  background: rgba(255,255,255,.08);
  padding: .1rem .35rem;
  border-radius: .3rem;
}
.legal-content .highlight {
  padding: .95rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(92,192,255,.25);
  background: rgba(92,192,255,.06);
}

@media (max-width: 1100px) {
  .nav {
    min-height: auto;
    padding: .95rem 0;
    align-items: center;
  }
  .logo img { width: clamp(220px, 38vw, 340px); }
}

@media (max-width: 980px) {
  .hero-grid,
  .legal-shell,
  .contact-grid,
  .grid-3,
  .gallery,
  .newsletter-shell,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .hero-brand-copy {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-brand-copy span { text-align: left; }
  .legal-card { position: static; }
}

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }
  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .nav { padding: .85rem 0; }
  .logo img { width: min(100%, 300px); }
  .nav-links { gap: .75rem; }
  .hero { padding-top: 3.25rem; }
  .hero h1 { font-size: clamp(2rem, 9vw, 3rem); }
  .legal-content { padding: 1.15rem; }
  .footer-brand img { width: min(100%, 280px); }
}
