:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --line: #e5e7eb;
  --navy: #0b1f3a;
  --navy-2: #12365f;
  --shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  --radius: 16px;
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.hidden {
  display: none;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.brand__logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  background: #fff;
}
.brand__meta strong {
  display: block;
  font-size: 14px;
}
.brand__meta small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav a {
  font-size: 14px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}
.nav a:hover {
  color: var(--text);
}
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
  cursor: pointer;
}
.btn:active {
  transform: translateY(1px);
}
.btn--small {
  padding: 10px 14px;
}
.btn--full {
  width: 100%;
}
.btn--primary {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff !important;
  box-shadow: 0 10px 20px rgba(11, 31, 58, 0.18);
}
.btn--primary:hover {
  box-shadow: 0 14px 28px rgba(11, 31, 58, 0.25);
}
.btn--ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
}

/* Hero */
.hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
  padding: 36px 0 26px;
}
.hero__copy h1 {
  font-size: 44px;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 14px;
}
.hero__copy p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 16px;
  max-width: 56ch;
}
.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero__media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 320px;
  box-shadow: var(--shadow);
  background: #dbe7f6;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(255, 255, 255, 0.85) 22%,
    rgba(255, 255, 255, 0.55) 40%,
    rgba(255, 255, 255, 0.15) 60%,
    rgba(255, 255, 255, 0) 75%
  );
  pointer-events: none;
}

/* Sections */
.section {
  padding: 56px 0;
}
.section--soft {
  background: linear-gradient(
    180deg,
    rgba(246, 247, 251, 1) 0%,
    rgba(246, 247, 251, 0.75) 100%
  );
}
.section__head {
  padding: 0 20px 18px;
}
.section__head h2 {
  margin: 0 0 8px;
  font-size: 26px;
}
.section__head p {
  margin: 0;
  color: var(--muted);
}
.grid {
  display: grid;
  gap: 22px;
}
.grid--2 {
  grid-template-columns: 1.1fr 0.9fr;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
}

/* Steps */
.step {
  display: flex;
  gap: 14px;
  padding: 16px;
}
.step__num {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(18, 54, 95, 0.08);
  color: var(--navy);
  font-weight: 800;
}
.step__body h3 {
  margin: 0 0 6px;
  font-size: 16px;
}
.step__body p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* FAQ */
.faq {
  padding: 18px;
}
.faq h3 {
  margin: 0 0 10px;
  font-size: 16px;
}
.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 10px;
  border: none;
  background: transparent;
  border-top: 1px solid var(--line);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.faq__q:first-of-type {
  border-top: none;
}
.faq__icon {
  font-size: 22px;
  color: var(--muted);
  transition: transform 0.15s ease;
}
.faq__q[aria-expanded="true"] .faq__icon {
  transform: rotate(90deg);
}
.faq__a {
  padding: 0 10px 12px;
  color: var(--muted);
  font-size: 14px;
}

/* Lists + note */
.mt {
  margin-top: 18px;
}
.list {
  margin: 10px 0 0;
  padding-left: 18px;
}
.list li {
  margin: 8px 0;
}
.list--muted {
  color: var(--muted);
}
.note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}

/* Form */
.form {
  padding: 20px;
}
.muted {
  color: var(--muted);
}
.fineprint {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.fineprint a {
  color: var(--navy-2);
}
.field {
  display: block;
  margin: 12px 0;
}
.field span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font: inherit;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(18, 54, 95, 0.35);
  box-shadow: 0 0 0 4px rgba(18, 54, 95, 0.1);
}
.form__row {
  margin-top: 6px;
}

/* Footer */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.footer__inner {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer__links {
  display: flex;
  gap: 14px;
}
.footer__links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
}
.footer__links a:hover {
  color: var(--text);
}

/* Prose */
.prose {
  max-width: 820px;
}
.prose h1 {
  font-size: 30px;
  margin: 0 0 6px;
}
.prose h2 {
  margin: 18px 0 8px;
}
.prose p,
.prose li {
  color: var(--muted);
}

/* Responsive */
@media (max-width: 920px) {
  .hero__grid {
    grid-template-columns: 1fr;
    padding-top: 26px;
  }
  .hero__copy h1 {
    font-size: 36px;
  }
  .grid--2 {
    grid-template-columns: 1fr;
  }
  .nav-toggle {
    display: inline-block;
  }
  .nav {
    display: none;
    position: absolute;
    top: 64px;
    right: 20px;
    left: 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }
  .nav a {
    padding: 10px;
  }
  .nav.open {
    display: flex;
  }
}
