:root {
  --brand-navy: #0a2540;
  --brand-blue: #1155cc;
  --brand-teal: #00a7b7;
  --brand-green: #22b573;
  --brand-lime: #8cc63f;
  --surface-0: #f7fafc;
  --surface-1: #ffffff;
  --surface-2: #eef3f8;
  --text-strong: #0f2947;
  --text-default: #1d3a5b;
  --text-muted: #496786;
  --stroke-soft: rgba(17, 85, 204, 0.14);
  --shadow-soft: 0 12px 40px rgba(16, 57, 98, 0.11);
  --radius-card: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-default);
  font-family: "Poppins", "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at 15% 12%, rgba(0, 167, 183, 0.16), transparent 28%),
    radial-gradient(circle at 84% 16%, rgba(140, 198, 63, 0.14), transparent 30%),
    linear-gradient(160deg, #f9fcff 0%, #f1f7fb 56%, #edf4f9 100%);
  min-height: 100vh;
}

.bg-orb {
  position: fixed;
  z-index: -1;
  filter: blur(6px);
  pointer-events: none;
  opacity: 0.72;
}

.orb-a {
  width: 26rem;
  height: 26rem;
  border-radius: 50%;
  right: -6rem;
  top: 22rem;
  background: radial-gradient(circle, rgba(17, 85, 204, 0.2) 0%, rgba(17, 85, 204, 0) 66%);
}

.orb-b {
  width: 19rem;
  height: 19rem;
  border-radius: 50%;
  left: -5rem;
  top: 36rem;
  background: radial-gradient(circle, rgba(34, 181, 115, 0.24) 0%, rgba(34, 181, 115, 0) 68%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 8;
  max-width: 72rem;
  margin: 1rem auto 0;
  padding: 0.8rem 1.1rem;
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}

.brand-logo {
  display: block;
  width: auto;
  height: clamp(1.45rem, 2vw, 2.1rem);
  max-width: 12rem;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-left: auto;
}

.site-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  transition: background-color 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--brand-blue);
  background-color: rgba(17, 85, 204, 0.1);
  outline: none;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--brand-navy);
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background-color: rgba(17, 85, 204, 0.1);
  border-color: var(--stroke-soft);
  outline: none;
}

.nav-toggle-lines {
  width: 1.1rem;
  height: 0.8rem;
  display: inline-block;
  background:
    linear-gradient(currentColor 0 0) 0 0 / 100% 2px no-repeat,
    linear-gradient(currentColor 0 0) 0 50% / 100% 2px no-repeat,
    linear-gradient(currentColor 0 0) 0 100% / 100% 2px no-repeat;
}

main {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2rem 1rem 5rem;
}

.section {
  margin-top: 3rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
  align-items: stretch;
}

.hero-copy,
.hero-panel {
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}

.hero-copy {
  padding: 2rem;
}

.eyebrow {
  margin: 0;
  color: var(--brand-blue);
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.77rem;
  font-weight: 600;
}

h1,
h2,
h3 {
  color: var(--text-strong);
  margin-top: 0;
}

h1 {
  margin-top: 0.7rem;
  margin-bottom: 0.95rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.lede {
  margin-top: 0;
  font-size: 1.04rem;
  color: var(--text-default);
}

.hero-tags {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-tags span {
  border: 1px solid var(--stroke-soft);
  background: linear-gradient(180deg, #f6faff 0%, #edf5ff 100%);
  color: var(--brand-navy);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-weight: 500;
  font-size: 0.88rem;
}

.hero-panel {
  padding: 1.6rem 1.55rem;
  background:
    linear-gradient(165deg, rgba(241, 248, 255, 0.96), rgba(236, 251, 246, 0.96)),
    #fff;
}

.hero-panel h2 {
  margin-bottom: 0.7rem;
  font-size: 1.3rem;
}

.hero-panel ul {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.6rem;
}

.hero-panel li::marker {
  color: var(--brand-teal);
}

.section-heading h2 {
  margin: 0.6rem 0 0;
  font-size: clamp(1.6rem, 2.8vw, 2.35rem);
  line-height: 1.2;
}

.feature-grid {
  margin-top: 1.15rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.feature-card,
.trust-card,
.workflow-step {
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-radius: var(--radius-card);
  background: var(--surface-1);
  box-shadow: 0 6px 24px rgba(12, 47, 81, 0.08);
}

.feature-card {
  padding: 1.15rem;
}

.feature-card h3 {
  margin-bottom: 0.45rem;
  font-size: 1.07rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
}

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

.workflow-step {
  position: relative;
  overflow: hidden;
  padding: 1.2rem 1.1rem;
}

.workflow-step::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 0.3rem;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-teal), var(--brand-green));
}

.step-index {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.8rem;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(145deg, var(--brand-blue), var(--brand-teal));
  margin-bottom: 0.9rem;
}

.workflow-step h3 {
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
}

.workflow-step p {
  margin: 0;
  color: var(--text-muted);
}

.trust-grid {
  margin-top: 1.15rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.trust-card {
  padding: 1.15rem;
  background: linear-gradient(180deg, #ffffff 0%, var(--surface-2) 100%);
}

.trust-card h3 {
  margin-bottom: 0.45rem;
  font-size: 1.04rem;
}

.trust-card p {
  margin: 0;
  color: var(--text-muted);
}

.faq-list {
  margin-top: 1.15rem;
  display: grid;
  gap: 0.7rem;
}

.faq-list details {
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-radius: var(--radius-card);
  background: var(--surface-1);
  box-shadow: 0 6px 24px rgba(12, 47, 81, 0.08);
  padding: 0.85rem 1.15rem;
}

.faq-list summary {
  color: var(--text-strong);
  cursor: pointer;
  font-weight: 600;
}

.faq-list p {
  margin: 0.65rem 0 0;
  color: var(--text-muted);
}

.site-footer {
  max-width: 72rem;
  margin: 3.2rem auto 2rem;
  padding: 1.25rem 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  border-top: 1px solid rgba(10, 37, 64, 0.1);
}

.site-footer p {
  margin: 0.25rem 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--brand-blue);
  font-weight: 500;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.legal {
  color: #64819f;
}

.policy {
  max-width: 54rem;
}

.policy h1 {
  font-size: clamp(1.95rem, 3vw, 2.8rem);
}

.policy-card {
  margin-top: 1.2rem;
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.1rem, 2vw, 1.8rem);
}

.policy-card h2 {
  margin-top: 1.35rem;
  margin-bottom: 0.45rem;
  font-size: 1.14rem;
}

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

.policy-card p {
  margin: 0;
  color: var(--text-muted);
}

.policy-card p + p,
.policy-card p + h2,
.policy-card h2 + p {
  margin-top: 0.65rem;
}

.inline-button {
  border: 1px solid rgba(17, 85, 204, 0.34);
  background: #fff;
  color: var(--brand-blue);
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.inline-button:hover,
.inline-button:focus-visible {
  background: rgba(17, 85, 204, 0.07);
  outline: none;
}

.policy-updated {
  color: #64819f;
  font-size: 0.92rem;
}

.cookie-dialog {
  width: min(31rem, calc(100% - 1.2rem));
  border: 1px solid rgba(10, 37, 64, 0.15);
  border-radius: 1rem;
  padding: 1.05rem 1rem 0.95rem;
  box-shadow: 0 20px 48px rgba(10, 37, 64, 0.24);
}

.cookie-dialog::backdrop {
  background: rgba(8, 26, 42, 0.45);
}

.cookie-dialog h2 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.cookie-dialog p {
  margin: 0;
  color: var(--text-muted);
}

.cookie-dialog p + p,
.cookie-dialog p + .cookie-actions {
  margin-top: 0.68rem;
}

.cookie-status {
  font-size: 0.92rem;
  color: var(--text-default);
}

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

.cookie-actions button {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.cookie-actions [data-cookie-accept] {
  color: #fff;
  background: linear-gradient(145deg, var(--brand-blue), var(--brand-teal));
}

.cookie-actions .ghost {
  color: var(--brand-blue);
  background: #fff;
  border-color: rgba(17, 85, 204, 0.28);
}

.cookie-actions button:hover,
.cookie-actions button:focus-visible {
  filter: brightness(0.98);
  outline: none;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 580ms ease,
    transform 580ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

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

@media (max-width: 64rem) {
  .feature-grid,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 60rem) {
  .site-header {
    margin-top: 0.4rem;
    border-radius: 1rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: start;
  }

  .brand {
    justify-self: center;
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    margin-top: 0.6rem;
    margin-left: 0;
  }

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

  .site-nav a {
    padding: 0.4rem 0.65rem;
    font-size: 0.93rem;
  }

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

  .hero-copy,
  .hero-panel {
    padding: 1.25rem;
  }

  .feature-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}