:root {
  --navy: #071b35;
  --navy-2: #102a4d;
  --red: #b7132e;
  --red-dark: #850d22;
  --gold: #c8a24a;
  --gold-soft: #f6edda;
  --ink: #172033;
  --muted: #647084;
  --line: #e7ebf0;
  --bg: #ffffff;
  --soft: #fbfcfd;
  --shadow: 0 28px 80px rgba(7, 27, 53, 0.09);
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

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

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

button {
  cursor: pointer;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(183, 19, 46, 0.15);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px max(22px, calc((100vw - 1200px) / 2));
  border-bottom: 1px solid rgba(231, 235, 240, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.nav a,
.platform-toggle,
.header-cta,
.menu-button,
.hero-actions,
.panel-top,
.confidential,
.feature-list li,
.check-item,
.contact-line,
.form button,
.footer nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  min-width: max-content;
}

.mark {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), #123966);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 16px 34px rgba(7, 27, 53, 0.2);
}

.mark span {
  position: relative;
  width: 23px;
  height: 23px;
}

.mark span::before,
.mark span::after {
  content: "";
  position: absolute;
  border-radius: 2px;
  background: #fff;
}

.mark span::before {
  inset: 9px 0;
}

.mark span::after {
  inset: 0 9px;
}

.brand strong {
  display: block;
  color: var(--navy);
  font-size: 18px;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.nav {
  gap: 22px;
  margin-left: auto;
  color: #465266;
  font-size: 13px;
  font-weight: 850;
}

.nav a,
.platform-toggle {
  min-height: 38px;
  border: 0;
  color: inherit;
  background: transparent;
}

.nav a:hover,
.platform-toggle:hover,
.footer a:hover {
  color: var(--red);
}

.dropdown {
  position: relative;
}

.platform-toggle {
  gap: 5px;
  padding: 0;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 240px;
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(7, 27, 53, 0.13);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.dropdown:hover .dropdown-panel,
.dropdown:focus-within .dropdown-panel,
.dropdown.open .dropdown-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-panel a {
  min-height: 42px;
  padding: 0 12px;
  border-radius: 6px;
}

.dropdown-panel a:hover {
  background: #f8fafc;
}

.header-cta,
.button,
.card-link,
.form button {
  min-height: 44px;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
  white-space: nowrap;
}

.header-cta,
.button.primary,
.form button {
  color: #fff;
  background: var(--red);
  box-shadow: 0 16px 36px rgba(183, 19, 46, 0.2);
}

.header-cta {
  padding: 0 18px;
  font-size: 13px;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--navy);
  background: #fff;
}

.mobile-menu {
  position: sticky;
  top: 82px;
  z-index: 25;
  display: none;
  padding: 10px 22px 18px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.mobile-menu a {
  display: block;
  padding: 15px 0;
  border-bottom: 1px solid #eef1f5;
  color: var(--navy);
  font-weight: 850;
}

.wrap,
.hero,
.section,
.vision,
.contact,
.footer {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(390px, 0.82fr);
  gap: 58px;
  align-items: center;
  padding: 76px 0 54px;
}

.eyebrow,
.section-label {
  margin: 0;
  color: var(--red);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1 {
  margin-top: 18px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(56px, 8vw, 106px);
  line-height: 0.9;
}

.hero h2,
.page-hero h1 {
  max-width: 860px;
  margin-top: 22px;
  color: var(--navy-2);
  font-size: clamp(30px, 4.2vw, 58px);
  line-height: 1.04;
}

.hero-copy > p:not(.eyebrow),
.lead,
.section-head p:not(.section-label),
.vision p,
.contact-copy > p,
.platform-card p,
.policy p,
.policy li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 20px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  padding: 0 24px;
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--navy);
  background: #fff;
}

.hero-panel,
.platform-card,
.policy-card,
.form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 28px;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--navy));
}

.panel-top {
  justify-content: space-between;
  color: var(--navy);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.ecosystem {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.ecosystem div {
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 14px;
  padding: 18px;
  border: 1px solid #eef1f5;
  border-radius: 8px;
  background: var(--soft);
}

.ecosystem .icon {
  grid-row: span 2;
  color: var(--gold);
}

.ecosystem strong {
  color: var(--navy);
  font-size: 19px;
}

.ecosystem span {
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.45;
}

.confidential {
  gap: 10px;
  margin-top: 18px;
  padding: 16px;
  border-radius: 8px;
  color: #674f13;
  background: var(--gold-soft);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.section {
  padding: 96px 0 0;
}

.section-head {
  max-width: 840px;
  margin-bottom: 34px;
}

.section h2,
.vision h2,
.contact h2,
.page-hero h1 {
  margin-top: 12px;
  color: var(--navy);
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 54px;
  align-items: start;
}

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

.platform-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 26px;
}

.card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--red);
  background: #fff5f6;
}

.platform-card h3 {
  margin-top: 24px;
  color: var(--navy);
  font-size: 30px;
  line-height: 1;
}

.platform-card h4 {
  margin-top: 9px;
  color: var(--red);
  font-size: 15px;
  line-height: 1.35;
}

.platform-card p {
  margin-top: 18px;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  gap: 9px;
  color: #324056;
  font-size: 14px;
  font-weight: 760;
  line-height: 1.35;
}

.tick {
  color: var(--gold);
  font-weight: 950;
}

.notice {
  margin-top: 20px;
  padding: 14px;
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  color: #54400f;
  background: var(--gold-soft);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
}

.card-link {
  display: inline-flex;
  margin-top: auto;
  padding: 0 18px;
  align-self: flex-start;
  color: var(--red);
  background: #fff5f6;
}

.feature-list + .card-link,
.notice + .card-link {
  margin-top: 24px;
}

.checks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.check-item {
  min-height: 104px;
  gap: 13px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--navy);
  font-weight: 880;
  line-height: 1.35;
}

.vision {
  margin-top: 96px;
  padding: 56px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), #102f57 58%, var(--red-dark));
}

.vision .section-label,
.vision h2,
.vision p {
  color: #fff;
}

.vision p {
  max-width: 850px;
  margin-top: 18px;
  opacity: 0.88;
}

.page-hero {
  width: min(1000px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0 20px;
}

.page-hero .lead {
  max-width: 840px;
  margin-top: 20px;
}

.policy {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 0 86px;
}

.policy-card {
  padding: 30px;
}

.policy h2,
.policy h3 {
  margin-top: 30px;
  color: var(--navy);
}

.policy h2:first-child,
.policy h3:first-child {
  margin-top: 0;
}

.policy p,
.policy ul {
  margin-top: 14px;
}

.policy ul {
  display: grid;
  gap: 10px;
  padding-left: 20px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(440px, 1fr);
  gap: 48px;
  align-items: start;
  padding: 106px 0 86px;
}

.contact-copy > p {
  margin-top: 18px;
}

.contact-lines {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.contact-line {
  gap: 10px;
  color: var(--navy);
  font-weight: 840;
}

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

.form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--soft);
}

.form textarea {
  min-height: 136px;
  padding-block: 12px;
  resize: vertical;
}

.full,
.form button,
.form-note {
  grid-column: 1 / -1;
}

.form button {
  gap: 9px;
  border: 0;
}

.form-note {
  color: var(--red);
  font-size: 14px;
  font-weight: 850;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 34px;
  padding: 32px 0 42px;
  border-top: 1px solid var(--line);
}

.footer strong {
  color: var(--navy);
  font-size: 20px;
}

.footer p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.footer nav {
  max-width: 620px;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
  color: #465266;
  font-size: 13px;
  font-weight: 820;
}

.fade {
  opacity: 0;
  transform: translateY(18px);
  animation: fade-up 700ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.delay-1 {
  animation-delay: 100ms;
}

.delay-2 {
  animation-delay: 180ms;
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1040px) {
  .nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: flex;
  }

  .mobile-menu.open {
    display: block;
  }

  .hero,
  .about-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 34px;
    padding-top: 56px;
  }

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

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

@media (max-width: 700px) {
  .site-header {
    min-height: 72px;
    padding-inline: 18px;
  }

  .mobile-menu {
    top: 72px;
  }

  .brand small {
    display: none;
  }

  .brand strong {
    font-size: 16px;
  }

  .hero,
  .section,
  .vision,
  .contact,
  .footer,
  .page-hero,
  .policy {
    width: min(100% - 28px, 1200px);
  }

  .hero {
    padding: 42px 0 34px;
  }

  h1 {
    font-size: clamp(48px, 16vw, 72px);
  }

  .hero h2,
  .page-hero h1,
  .section h2,
  .vision h2,
  .contact h2 {
    font-size: 34px;
  }

  .button {
    width: 100%;
  }

  .hero-panel,
  .platform-card,
  .form,
  .policy-card {
    padding: 20px;
  }

  .section {
    padding-top: 70px;
  }

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

  .vision {
    margin-top: 70px;
    padding: 30px 22px;
  }

  .contact {
    padding: 76px 0 58px;
  }

  .footer {
    display: grid;
  }

  .footer nav {
    justify-content: flex-start;
  }
}
