:root {
  --navy: #0b2239;
  --navy-soft: #12324f;
  --brand: #f27434;
  --brand-dark: #d85f22;
  --slate: #354458;
  --muted: #667085;
  --surface: #ffffff;
  --background: #f5f7fb;
  --line: #e3e7ef;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  --radius-lg: 20px;
  --radius-xl: 28px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Roboto", "Segoe UI", sans-serif;
  color: var(--slate);
  background: radial-gradient(circle at 10% 0, rgba(18, 50, 79, 0.12), transparent 45%),
    radial-gradient(circle at 85% 5%, rgba(242, 116, 52, 0.18), transparent 48%),
    linear-gradient(180deg, #f8f9fc 0%, #ffffff 45%, #f4f6fb 100%);
  min-height: 100vh;
}

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

a:hover {
  color: var(--brand);
}

html {
  scroll-behavior: smooth;
}

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

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.top-bar {
  padding: 18px 0;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  color: var(--navy);
}

.brand-logo {
  height: 42px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-title {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}

.brand-subtitle {
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.site-nav a {
  color: var(--navy);
}

.site-nav .nav-cta {
  color: #ffffff;
}

.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--navy);
  color: #ffffff;
  box-shadow: 0 10px 18px rgba(11, 34, 57, 0.18);
}

.nav-cta:hover {
  color: #ffffff;
  background: var(--brand);
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(11, 34, 57, 0.18);
  background: #ffffff;
  color: var(--navy);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
}

.hero {
  position: relative;
  padding: 90px 0 110px;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
}

.hero::before {
  background-image: radial-gradient(circle at 20% 20%, rgba(18, 50, 79, 0.25), transparent 45%),
    radial-gradient(circle at 80% 10%, rgba(242, 116, 52, 0.2), transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(15, 23, 42, 0.18), transparent 50%);
  mix-blend-mode: multiply;
  animation: driftGlow 18s ease-in-out infinite;
}

.hero::after {
  background-image: linear-gradient(rgba(11, 34, 57, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 34, 57, 0.08) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(circle at 30% 20%, #000 0%, transparent 60%);
  animation: gridFloat 22s ease-in-out infinite;
}

.hero-shape {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.6;
  z-index: 0;
}

.hero-shape-one {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(18, 50, 79, 0.3), transparent 70%);
  top: -120px;
  right: -100px;
}

.hero-shape-two {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(242, 116, 52, 0.35), transparent 70%);
  bottom: -120px;
  left: -80px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2rem, 3vw + 1rem, 3.4rem);
  line-height: 1.1;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--brand-dark);
  margin: 0 0 12px;
  font-weight: 600;
}

.lead {
  font-size: 1.15rem;
  color: var(--navy-soft);
  margin: 0 0 18px;
}

.hero-copy,
.section-copy {
  color: var(--muted);
  margin: 0 0 22px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(17, 41, 63, 0.16);
}

.btn-primary {
  background: linear-gradient(120deg, var(--brand), #ff9959);
  color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus {
  color: #0b2239;
}

.btn-ghost {
  background: #ffffff;
  border-color: rgba(11, 34, 57, 0.2);
  color: var(--navy);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badges span {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(242, 116, 52, 0.35);
  color: var(--brand-dark);
  font-size: 0.9rem;
  font-weight: 600;
  background: rgba(242, 116, 52, 0.08);
}

.hero-panel {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 28px 30px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(11, 34, 57, 0.08);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.panel-card .panel-header h3 {
  margin: 0;
  font-size: 1.1rem;
}

.panel-card .panel-list {
  margin: 0;
}

.panel-label {
  margin: 0;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
}

.panel-line {
  flex: 1;
  height: 1px;
  background: rgba(11, 34, 57, 0.15);
}

.panel-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 16px;
  color: var(--slate);
}

.panel-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
}

.panel-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(242, 116, 52, 0.14);
  color: var(--brand-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.panel-footer {
  padding: 16px;
  border-radius: 16px;
  background: rgba(18, 50, 79, 0.06);
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  padding: 90px 0;
}

section[id] {
  scroll-margin-top: 110px;
}

.section-muted {
  background: #f8fafc;
}

.section-contrast {
  background: linear-gradient(120deg, rgba(18, 50, 79, 0.06), rgba(242, 116, 52, 0.06));
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--slate);
  margin: 0;
  line-height: 1.6;
}

.insight-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(11, 34, 57, 0.08);
}

.insight-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.insight-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(18, 50, 79, 0.08);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.insight-card ul,
.card ul,
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.risk-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
}

.risk-icon {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: rgba(242, 116, 52, 0.12);
  color: var(--brand-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.cards-grid.two-columns {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 26px;
  border: 1px solid rgba(11, 34, 57, 0.08);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.card.soft {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(11, 34, 57, 0.12);
}

.card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(242, 116, 52, 0.16);
  color: var(--brand-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.card h3 {
  margin: 0;
  color: var(--navy);
}

.card p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.6;
}

.icon-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
}

.icon-list .panel-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(18, 50, 79, 0.08);
  color: var(--navy);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.contact-info div {
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(18, 50, 79, 0.08);
  color: var(--navy);
}

.contact-info span {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}

.contact-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(11, 34, 57, 0.1);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 600;
  color: var(--navy);
}

.contact-form input,
.contact-form textarea {
  border-radius: 12px;
  border: 1px solid rgba(11, 34, 57, 0.2);
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(242, 116, 52, 0.15);
}

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

.turnstile-wrapper {
  padding-top: 4px;
}

.alert {
  padding: 12px 16px;
  border-radius: 14px;
  margin-bottom: 18px;
  font-weight: 600;
}

.alert-success {
  background: rgba(14, 159, 110, 0.12);
  color: #0f5132;
  border: 1px solid rgba(14, 159, 110, 0.3);
}

.alert-danger {
  background: rgba(220, 38, 38, 0.12);
  color: #7f1d1d;
  border: 1px solid rgba(220, 38, 38, 0.3);
}

.site-footer {
  background: var(--navy);
  color: #d9e2f1;
  padding: 70px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.site-footer h3,
.site-footer h4 {
  color: #ffffff;
}

.site-footer p {
  margin: 0;
  color: rgba(217, 226, 241, 0.9);
  line-height: 1.6;
}

.site-footer ul {
  gap: 10px;
  color: rgba(217, 226, 241, 0.85);
}

.site-footer a {
  color: inherit;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-note {
  margin-top: 40px;
  text-align: center;
  color: rgba(217, 226, 241, 0.7);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .site-nav {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    background: #ffffff;
    border: 1px solid rgba(11, 34, 57, 0.12);
    border-radius: 16px;
    padding: 18px;
    box-shadow: var(--shadow);
    display: none;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 720px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

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

@media (prefers-reduced-motion: no-preference) {
  .hero-content,
  .hero-panel,
  .insight-card,
  .card,
  .contact-card {
    animation: fadeUp 0.8s ease both;
  }

  .hero-panel {
    animation-delay: 0.1s;
  }

  .card:nth-child(2) {
    animation-delay: 0.15s;
  }

  .card:nth-child(3) {
    animation-delay: 0.25s;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes driftGlow {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.45;
  }
  50% {
    transform: translate3d(-20px, 10px, 0) scale(1.04);
    opacity: 0.65;
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.45;
  }
}

@keyframes gridFloat {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 0.35;
  }
  50% {
    transform: translate3d(10px, -8px, 0);
    opacity: 0.5;
  }
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 0.35;
  }
}
