:root {
  --bg: #fbfcfe;
  --bg-alt: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.94);
  --text: #1d1d1f;
  --muted: #5f6773;
  --heading: #0e2a47;
  --primary: #1f334b;
  --accent: #7f95af;
  --line: #dde3ea;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-soft: 0 18px 46px rgba(14, 42, 71, 0.1);
  --shadow-card: 0 10px 26px rgba(14, 42, 71, 0.07);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.62;
  color: var(--text);
  background:
    radial-gradient(920px 440px at 15% -20%, #eef4fb 0%, transparent 62%),
    radial-gradient(820px 400px at 98% -14%, #edf3f9 0%, transparent 62%),
    var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: #2f4969;
}

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

main,
.section,
.section-alt,
.site-footer,
.legal-main {
  overflow-x: clip;
}

@supports not (overflow: clip) {
  main,
  .section,
  .section-alt,
  .site-footer,
  .legal-main {
    overflow-x: hidden;
  }
}

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

.section {
  padding: 6.6rem 0;
}

section[id] {
  scroll-margin-top: 8rem;
}

.section-alt {
  background: linear-gradient(180deg, #fbfcfe 0%, var(--bg-alt) 100%);
  border-top: 1px solid rgba(14, 42, 71, 0.05);
  border-bottom: 1px solid rgba(14, 42, 71, 0.05);
}

.kicker {
  margin: 0 0 0.9rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  color: var(--heading);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  max-width: 15ch;
}

h2 {
  font-size: clamp(1.52rem, 3.2vw, 2.45rem);
}

h3 {
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: saturate(160%) blur(16px);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.site-header.scrolled {
  border-color: rgba(14, 42, 71, 0.09);
  box-shadow: 0 12px 28px rgba(14, 42, 71, 0.08);
  background: rgba(255, 255, 255, 0.94);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: var(--text);
}

.brand-logo {
  width: 5.2rem;
  height: auto;
  flex: 0 0 auto;
  filter: drop-shadow(0 6px 16px rgba(14, 42, 71, 0.12));
}

.brand-text {
  display: inline-flex;
  flex-direction: column;
  gap: 0.12rem;
  line-height: 1.05;
}

.brand-title {
  font-size: 1.2rem;
  font-weight: 740;
  color: var(--heading);
  letter-spacing: -0.02em;
}

.brand-subtitle {
  font-size: 0.79rem;
  font-weight: 540;
  letter-spacing: 0.03em;
  color: #5f6f83;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  color: #243444;
  font-size: 0.95rem;
  font-weight: 540;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #0e2a47;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.95);
  cursor: pointer;
}

.nav-toggle span {
  width: 1.16rem;
  height: 2px;
  border-radius: 2px;
  background: #2e3a4a;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 640;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(145deg, #1d3b61 0%, #1a3554 100%);
  box-shadow: 0 12px 28px rgba(14, 42, 71, 0.22);
}

.btn-primary:hover {
  color: #fff;
  box-shadow: 0 14px 30px rgba(14, 42, 71, 0.26);
}

.btn-secondary {
  color: #1f334b;
  background: #fff;
  border-color: rgba(31, 51, 75, 0.2);
}

.btn-secondary:hover {
  border-color: rgba(31, 51, 75, 0.32);
}

.btn-nav {
  background: #f2f5f8;
  border-color: #dfe5ec;
  padding-inline: 1.04rem;
}

/* Hero */
.hero {
  position: relative;
  padding-top: 5.3rem;
  overflow-x: clip;
}

@supports not (overflow: clip) {
  .hero {
    overflow-x: hidden;
  }
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero::before {
  width: min(45vw, 540px);
  height: min(45vw, 540px);
  top: -260px;
  right: -140px;
  background: radial-gradient(circle, rgba(157, 176, 201, 0.24) 0%, rgba(157, 176, 201, 0) 72%);
}

.hero::after {
  width: min(32vw, 420px);
  height: min(32vw, 420px);
  left: -120px;
  top: 140px;
  background: radial-gradient(circle, rgba(177, 195, 214, 0.2) 0%, rgba(177, 195, 214, 0) 72%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.95fr;
  gap: 2.2rem;
  align-items: start;
}

.hero-content {
  padding-right: 0.35rem;
  animation: fade-slide-up 0.66s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.lead {
  max-width: 60ch;
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  color: #546273;
}

.hero-actions {
  margin: 2rem 0 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.56rem;
}

.hero-points li {
  position: relative;
  padding-left: 1.45rem;
  color: #3a4350;
  font-weight: 530;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #8ea4bc;
  box-shadow: 0 0 0 4px rgba(142, 164, 188, 0.15);
}

.hero-panel {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(14, 42, 71, 0.11);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 251, 254, 0.92) 100%);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  position: relative;
  overflow: hidden;
  animation: fade-slide-up 0.74s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: 0.06s;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0.26) 45%, rgba(255, 255, 255, 0) 68%);
  pointer-events: none;
}

.hero-panel h2 {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  margin-bottom: 0.72rem;
}

.hero-panel p {
  color: #516070;
}

.hero-facts {
  margin-top: 1.3rem;
  display: grid;
  gap: 0.72rem;
}

.hero-facts article {
  border: 1px solid rgba(14, 42, 71, 0.1);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 12px;
  padding: 0.86rem 0.9rem;
}

.fact-label {
  display: block;
  margin-bottom: 0.24rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #778294;
}

/* Reveal animations */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.62s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.62s cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

/* Trust strip */
.trust-strip {
  padding-top: 1.1rem;
  padding-bottom: 3.2rem;
}

.trust-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(14, 42, 71, 0.11);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  box-shadow: var(--shadow-card);
  padding: 1rem 1.15rem;
}

.trust-grid > p {
  margin: 0;
  color: #243140;
  font-weight: 660;
}

.trust-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.58rem;
}

.trust-grid li {
  padding: 0.35rem 0.74rem;
  border-radius: 999px;
  border: 1px solid rgba(14, 42, 71, 0.12);
  background: #fff;
  color: #445264;
  font-size: 0.84rem;
  font-weight: 580;
}

/* Shared headings */
.section-head {
  max-width: 800px;
  margin-bottom: 2.4rem;
}

.section-head p {
  margin-bottom: 0;
}

/* Cards and grids */
.card-grid,
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.info-card,
.benefit-grid article,
.steps li,
.about-panel,
.contact-card,
.legal-card {
  border: 1px solid rgba(14, 42, 71, 0.11);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-card);
}

.info-card,
.benefit-grid article {
  min-height: 206px;
  padding: 1.34rem;
  position: relative;
  overflow: hidden;
}

.info-card::before,
.benefit-grid article::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(14, 42, 71, 0.2), rgba(127, 149, 175, 0.42), rgba(14, 42, 71, 0.2));
}

.info-card::after,
.benefit-grid article::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.34) 50%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.info-card h3,
.benefit-grid h3,
.contact-card h3 {
  color: #0e2a47;
}

.info-card p,
.benefit-grid p,
.steps p,
.contact-card p {
  margin-bottom: 0;
}

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

.steps li {
  padding: 1.2rem;
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  margin-bottom: 0.72rem;
  border-radius: 50%;
  background: #e9eff5;
  color: #38506b;
  font-size: 0.79rem;
  font-weight: 800;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 1.2rem;
  align-items: start;
}

.about-panel {
  padding: 1.3rem;
}

.about-panel ul {
  margin: 0;
  padding-left: 1.05rem;
}

.about-panel li {
  margin-bottom: 0.56rem;
  color: #596574;
}

/* Contact */
.contact-wrap {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(14, 42, 71, 0.11);
  background: linear-gradient(160deg, #ffffff 0%, #fafcfe 100%);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.7rem, 3vw, 2.5rem);
  position: relative;
  overflow: hidden;
}

.contact-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 200px at 95% -10%, rgba(154, 176, 201, 0.22) 0%, rgba(154, 176, 201, 0) 70%);
  pointer-events: none;
}

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

.contact-card {
  padding: 1.05rem;
}

.contact-cta {
  margin-top: 1.35rem;
}

/* Footer */
.site-footer {
  padding: 1.45rem 0;
  border-top: 1px solid rgba(14, 42, 71, 0.09);
  background: #f6f8fb;
}

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

.footer-inner p,
.footer-inner a {
  margin: 0;
  color: #667487;
}

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

.footer-inner a:hover,
.footer-inner a:focus-visible {
  color: #0e2a47;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1300;
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid rgba(14, 42, 71, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 18px 38px rgba(14, 42, 71, 0.16);
  backdrop-filter: blur(10px);
  padding: 1rem 1.1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.cookie-banner.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cookie-banner h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  color: #0e2a47;
}

.cookie-banner p {
  margin: 0 0 0.68rem;
  font-size: 0.93rem;
}

.cookie-banner ul {
  margin: 0 0 0.8rem;
  padding-left: 1.1rem;
  color: #556172;
  font-size: 0.9rem;
}

.cookie-banner li {
  margin-bottom: 0.3rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.cookie-actions a {
  font-size: 0.9rem;
  color: #465a73;
  text-decoration: underline;
}

.cookie-actions a:hover,
.cookie-actions a:focus-visible {
  color: #0e2a47;
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  border: 1px solid rgba(14, 42, 71, 0.14);
  background: rgba(255, 255, 255, 0.92);
  color: #2d4159;
  font-size: 1.1rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 24px rgba(14, 42, 71, 0.14);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Legal pages */
.legal-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legal-main {
  flex: 1;
  padding: 3.1rem 0 5rem;
}

.legal-card {
  padding: clamp(1.2rem, 2.7vw, 2rem);
}

.legal-card h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
}

.legal-card h2 {
  font-size: clamp(1.18rem, 2.2vw, 1.48rem);
}

.legal-card section + section {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(14, 42, 71, 0.1);
}

.legal-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.legal-note {
  border-left: 4px solid rgba(127, 149, 175, 0.62);
  border-radius: 0.65rem;
  background: #f4f7fb;
  padding: 0.85rem 1rem;
}

.legal-card code {
  background: #f3f5f8;
  border: 1px solid #e0e7ef;
  border-radius: 6px;
  padding: 0.12rem 0.4rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.86em;
}

/* Accessibility */
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(127, 149, 175, 0.45);
  outline-offset: 2px;
}

/* Lightweight effects */
@keyframes fade-slide-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (hover: hover) and (pointer: fine) {
  .info-card,
  .benefit-grid article,
  .steps li,
  .about-panel,
  .contact-card {
    transition: transform 0.22s ease, box-shadow 0.22s ease;
  }

  .info-card:hover,
  .benefit-grid article:hover,
  .steps li:hover,
  .about-panel:hover,
  .contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(14, 42, 71, 0.13);
  }

  .info-card:hover::after,
  .benefit-grid article:hover::after {
    left: 125%;
    transition: left 0.65s ease;
  }
}

@media (min-width: 761px) {
  .card-grid .reveal:nth-child(2),
  .card-grid .reveal:nth-child(5),
  .card-grid .reveal:nth-child(8),
  .benefit-grid .reveal:nth-child(2),
  .benefit-grid .reveal:nth-child(5),
  .steps .reveal:nth-child(2),
  .steps .reveal:nth-child(4),
  .contact-grid .reveal:nth-child(2) {
    transition-delay: 0.08s;
  }

  .card-grid .reveal:nth-child(3),
  .card-grid .reveal:nth-child(6),
  .card-grid .reveal:nth-child(9),
  .benefit-grid .reveal:nth-child(3),
  .benefit-grid .reveal:nth-child(6),
  .steps .reveal:nth-child(3),
  .contact-grid .reveal:nth-child(3) {
    transition-delay: 0.14s;
  }
}

/* Responsive */
@media (max-width: 1260px) {
  .header-inner {
    min-height: 102px;
  }

  .brand-logo {
    width: 4.8rem;
  }

  .brand-title {
    font-size: 1.12rem;
  }
}

@media (max-width: 1120px) {
  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-right: 0;
  }

  .card-grid,
  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 1.45rem;
    right: 1.45rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-radius: 1rem;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
  }

  .site-nav li + li {
    border-top: 1px solid rgba(14, 42, 71, 0.08);
  }

  .site-nav a {
    display: block;
    padding: 0.92rem 1rem;
  }

  .site-nav .btn-nav {
    border: 0;
    border-radius: 0;
    background: #f2f5f8;
  }

  .trust-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-inner {
    min-height: 92px;
  }

  .brand-logo {
    width: 4.2rem;
  }

  .brand-title {
    font-size: 1.04rem;
  }

  .brand-subtitle {
    font-size: 0.73rem;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(var(--container), calc(100% - 1.5rem));
  }

  .section {
    padding: 4.9rem 0;
  }

  .hero {
    padding-top: 3.9rem;
  }

  h1 {
    max-width: 100%;
  }

  .card-grid,
  .benefit-grid,
  .contact-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .contact-wrap,
  .legal-card {
    padding: 1.2rem;
  }

  .cookie-banner {
    left: 0.6rem;
    right: 0.6rem;
    bottom: 0.6rem;
    padding: 0.84rem;
  }

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

  .back-to-top {
    right: 0.82rem;
    bottom: 0.82rem;
  }
}

@media (max-width: 560px) {
  .brand {
    gap: 0.75rem;
  }

  .brand-logo {
    width: 3.6rem;
  }

  .brand-subtitle {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
