/* ===== Design tokens ===== */
:root {
  --navy: #0a3d62;
  --navy-deep: #062a45;
  --blue: #1b86c4;
  --cyan: #379dc3;
  --ink: #1f2a33;
  --muted: #5b6b78;
  --line: #e3e9ee;
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --radius: 14px;
  --shadow: 0 14px 40px rgba(10, 61, 98, .10);
  --maxw: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; margin: 0 0 .4em; }
p { margin: 0 0 1em; }
a { color: var(--blue); text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 20px rgba(27, 134, 196, .35);
}
.btn-primary:hover { background: var(--cyan); transform: translateY(-2px); }
.btn-ghost {
  border: 2px solid rgba(255, 255, 255, .6);
  color: #fff;
}
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .12); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.logo img { height: 38px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
  position: relative;
}
.main-nav a:not(.nav-cta):not(.nav-outline)::after {
  content: "";
  position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--cyan);
  transition: width .2s ease;
}
.main-nav a:not(.nav-cta):not(.nav-outline):hover::after { width: 100%; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--navy);
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--blue); }
.nav-outline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1.5px solid var(--navy);
  color: var(--navy) !important;
  padding: 7px 16px;
  border-radius: 999px;
  font-weight: 600;
  transition: background .2s ease, color .2s ease;
}
.nav-outline:hover { background: var(--navy); color: #fff !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 6px;
}
.nav-toggle span {
  width: 26px; height: 3px; background: var(--navy); border-radius: 2px;
  transition: .25s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 60%, #04243b 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(55, 157, 195, .35), transparent 55%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 40px;
  padding: 120px 24px 130px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 18px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 700;
  margin-bottom: 22px;
}
.hero h1 span { color: var(--cyan); }
.lead {
  font-size: 1.15rem;
  color: #d4e2ec;
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-art { display: flex; justify-content: center; }
.blade-icon {
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .15);
  display: flex; align-items: center; justify-content: center;
  animation: float 6s ease-in-out infinite;
}
.blade-icon svg { animation: spin 14s linear infinite; transform-origin: 60px 60px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-12px); } }
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 80% 20%, rgba(55, 157, 195, .28), transparent 55%),
    linear-gradient(135deg, rgba(10, 61, 98, .55) 0%, rgba(7, 42, 71, .48) 60%, rgba(4, 36, 59, .55) 100%);
}

/* ===== Feature sections ===== */
.feature { padding: 90px 0; }
.feature.alt { background: var(--bg-soft); }
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.feature-grid.reverse .feature-media { order: -1; }
.feature-media img {
  margin: 0 auto;
  filter: drop-shadow(0 18px 40px rgba(10, 61, 98, .15));
}
.step-num {
  display: inline-block;
  font-size: 3rem;
  font-weight: 800;
  color: var(--line);
  line-height: 1;
  margin-bottom: 6px;
}
.step-num.light { color: rgba(255, 255, 255, .25); }
.feature-content h2 { font-size: 2.1rem; margin-bottom: 18px; }
.muted { color: var(--muted); }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list > li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
  color: #36464f;
}
.check-list > li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: inset 0 0 0 4px #fff, 0 0 0 1px var(--cyan);
}
.check-list ul { list-style: none; padding: 12px 0 0; margin: 0; }
.check-list ul li {
  position: relative; padding-left: 18px; margin-bottom: 6px;
  color: var(--muted); font-size: .96em;
}
.check-list ul li::before {
  content: "–"; position: absolute; left: 0; color: var(--cyan); font-weight: 700;
}
.check-list.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 30px;
}

/* ===== System ===== */
.system {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  padding: 90px 0;
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-head h2 { color: inherit; font-size: 2.3rem; }
.system .section-head h2 { color: #fff; }
.system .section-head p { color: #cfe0eb; }
.system-banner {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 50px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: transform .2s ease, background .2s ease;
}
.card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .1); }
.card h3 { color: var(--cyan); font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: #d4e2ec; margin: 0; font-size: .95rem; }

/* ===== Advantages ===== */
.advantages { padding: 90px 0; }
.advantages .section-head h2 { font-size: 2.3rem; }
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.adv {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--cyan);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 6px 18px rgba(10, 61, 98, .05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.adv:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.adv h4 { font-size: 1.1rem; margin-bottom: 8px; }
.adv p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ===== CTA ===== */
.cta {
  background: var(--bg-soft);
  padding: 80px 0;
  text-align: center;
}
.cta-inner h2 { font-size: 2.2rem; }
.cta-inner p { color: var(--muted); max-width: 540px; margin: 0 auto 28px; }

/* ===== Contact form ===== */
.contact-form {
  max-width: 620px;
  margin: 12px auto 0;
  text-align: left;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { margin-bottom: 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.contact-form label {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
}
.contact-form label .optional { color: var(--muted); font-weight: 500; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(55, 157, 195, .18);
}
.contact-form input[aria-invalid="true"],
.contact-form textarea[aria-invalid="true"] {
  border-color: #d11f4d;
  box-shadow: 0 0 0 3px rgba(209, 31, 77, .12);
}
.contact-form .field-err {
  color: #c01338;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.35;
  max-width: none;
  margin: 9px 0 0;
  min-height: 1em;
}
.contact-form .field-err:not(:empty) {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.contact-form .field-err:not(:empty)::before {
  content: "!";
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  border-radius: 50%;
  background: #c01338;
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
}
.frc-captcha { margin: 4px 0 6px; }
.frc-captcha:empty { margin: 0; }
.contact-form .btn-primary { border: 0; cursor: pointer; margin-top: 4px; }
.contact-form .btn-primary:disabled { opacity: .65; cursor: default; }
.contact-form .form-note { color: var(--muted); font-size: .85rem; max-width: none; margin: 20px 0 0; }
.form-ok {
  margin: 16px 0 0; padding: 12px 16px; border-radius: 10px;
  background: #e7f6ec; color: #1c7a3e; border: 1px solid #b9e3c6; font-size: .95rem;
}
.form-err {
  margin: 16px 0 0; padding: 12px 16px; border-radius: 10px;
  background: #fdecef; color: #a4143a; border: 1px solid #f3c2cd; font-size: .95rem;
}
.form-err a { color: inherit; text-decoration: underline; }

/* ===== Legal pages (Legal Notice / Privacy) ===== */
.legal {
  padding: 70px 0 90px;
  background: #fff;
}
.legal-inner { max-width: 820px; }
.legal h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--navy);
  margin-bottom: 8px;
}
.legal .updated { color: var(--muted); font-size: .9rem; margin-bottom: 40px; }
.legal h2 {
  font-size: 1.3rem;
  color: var(--navy);
  margin: 38px 0 12px;
}
.legal p, .legal li { color: #3f4d59; line-height: 1.7; }
.legal p { margin-bottom: 14px; }
.legal ul { padding-left: 22px; margin-bottom: 14px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--cyan); }
.legal .todo {
  background: #fff8e1;
  border-left: 4px solid #f0b400;
  padding: 2px 8px;
  border-radius: 4px;
  font-style: italic;
  color: #7a5b00;
}

/* ===== Classic Footer ===== */
.site-footer {
  background: var(--navy-deep);
  color: #c4d4e0;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 48px;
  padding: 64px 24px 48px;
}
.footer-logo {
  height: 64px; width: auto; margin-bottom: 18px;
  background: #fff; padding: 12px 16px; border-radius: 8px;
}
.footer-brand p { color: #9fb4c4; max-width: 320px; }
.footer-funding {
  display: inline-flex;
  background: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.footer-funding:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.footer-funding-logo { height: 46px; width: auto; display: block; }
.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; color: #9fb4c4; font-size: .95rem; }
.footer-col a { color: #9fb4c4; }
.footer-col a:hover { color: var(--cyan); }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 22px 24px;
  font-size: .88rem;
  color: #7e93a4;
}
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a { color: #9fb4c4; }
.footer-legal a:hover { color: var(--cyan); }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 74px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .main-nav.open { max-height: 440px; }
  .main-nav a { width: 100%; padding: 16px 24px; border-bottom: 1px solid var(--line); }
  .nav-cta { border-radius: 0; }
  .nav-outline {
    border: 0;
    border-radius: 0;
    justify-content: flex-start;
    color: var(--navy) !important;
  }
  .nav-outline:hover { background: transparent; color: var(--blue) !important; }

  .hero-inner { grid-template-columns: 1fr; padding: 64px 24px 70px; }
  .hero-art { display: none; }
  .feature-grid { grid-template-columns: 1fr; gap: 36px; }
  .feature-grid.reverse .feature-media { order: 0; }
  .check-list.two-col { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .cards, .footer-grid { grid-template-columns: 1fr; }
  .feature { padding: 60px 0; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
}
