:root {
  --ink: #0b1f3a;
  --ink-2: #1a2c4a;
  --muted: #5a6b85;
  --line: #e3e8f1;
  --bg: #ffffff;
  --bg-alt: #f6f8fc;
  --accent: #2a6df4;
  --accent-2: #00b48a;
  --gold: #c9a24a;
  --danger: #d94c4c;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 58, 0.06), 0 2px 6px rgba(11, 31, 58, 0.04);
  --shadow-md: 0 6px 24px rgba(11, 31, 58, 0.08), 0 2px 8px rgba(11, 31, 58, 0.04);
  --shadow-lg: 0 20px 60px rgba(11, 31, 58, 0.12), 0 6px 16px rgba(11, 31, 58, 0.06);
  --max: 1140px;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
em { font-style: normal; color: var(--ink); font-weight: 600; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.015em;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-mark { width: 42px; height: 42px; border-radius: 9px; display: block; }
.footer .brand-mark { width: 36px; height: 36px; }
.nav-links {
  display: flex;
  gap: 22px;
  margin-left: 24px;
}
.nav-links a {
  color: var(--ink-2);
  font-weight: 500;
  font-size: 14.5px;
}
.nav-links a:hover { color: var(--accent); text-decoration: none; }
.nav-cta {
  margin-left: auto;
  display: flex;
  gap: 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .08s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 16px rgba(42,109,244,0.25);
}
.btn-primary:hover { background: #1f5be0; }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--bg-alt); }
.btn-lg { padding: 14px 22px; font-size: 16px; }
.btn-sm { padding: 6px 12px; font-size: 13px; }

/* Hero */
.hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(42,109,244,0.10), transparent 60%),
    radial-gradient(900px 400px at -10% 10%, rgba(0,180,138,0.08), transparent 60%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(42,109,244,0.08);
  border: 1px solid rgba(42,109,244,0.18);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 22px;
  font-weight: 600;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 5.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  color: var(--ink);
}
.hero h1 .accent {
  color: var(--accent);
  font-style: italic;
  font-weight: 500;
}
.lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 0 28px;
}
.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.trust-row {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13.5px;
  color: var(--muted);
}
.trust-row strong { color: var(--ink); font-weight: 700; margin-right: 4px; }

/* Hero card */
.hero-card { display: flex; justify-content: center; }
.card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(-1deg);
}
.card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #ccc; display: inline-block; }
.dot-green { background: var(--accent-2); box-shadow: 0 0 0 4px rgba(0,180,138,0.15); }
.card-title { font-weight: 600; font-size: 14px; color: var(--ink); }
.card-meta { margin-left: auto; font-size: 12px; color: var(--muted); }
.card-body { padding: 22px; }
.release-line { margin: 0 0 10px; font-size: 14.5px; color: var(--muted); }
.release-line span { display: inline-block; width: 60px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.release-line em { margin-left: 6px; }
.sig-block {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.sig-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.sig { width: 220px; height: 64px; color: var(--ink); margin-top: 2px; }
.sig-meta { font-size: 12.5px; color: var(--muted); }
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
}
.badge {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
}
.badge-ok {
  background: rgba(0,180,138,0.12);
  color: #0a7a5d;
  border: 1px solid rgba(0,180,138,0.25);
}

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  text-align: center;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 48px;
  font-size: 17px;
}

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.steps li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 14px;
}
.steps h3 { margin: 0 0 8px; font-size: 19px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.feature:hover {
  transform: translateY(-2px);
  border-color: rgba(42,109,244,0.35);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(42,109,244,0.08);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 { margin: 0 0 6px; font-size: 17px; }
.feature p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* Problem / take-control section */
.problem-section {
  background:
    radial-gradient(900px 400px at 20% 0%, rgba(217,76,76,0.07), transparent 60%),
    radial-gradient(700px 350px at 90% 100%, rgba(42,109,244,0.06), transparent 60%),
    var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.problem-accent { color: var(--danger); font-style: italic; font-weight: 500; }
.problem-cta {
  margin-top: 40px;
  background: linear-gradient(135deg, #0b1f3a 0%, #15315e 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-md);
}
.problem-cta p { margin: 0; font-size: 16px; color: #d6e0f0; max-width: 640px; }
.problem-cta strong { color: #fff; }
@media (max-width: 720px) {
  .problem-cta { flex-direction: column; align-items: stretch; text-align: center; padding: 24px; }
  .problem-cta .btn { width: 100%; }
}

/* Cases */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.case {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.case h3 { margin: 0; font-size: 18px; }
.case p { margin: 0; color: var(--muted); font-size: 14.5px; flex: 1; }
.case-tag {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(42,109,244,0.08);
  padding: 4px 10px;
  border-radius: 999px;
  align-self: flex-start;
  font-weight: 600;
}

/* FAQ */
.faq-wrap { max-width: 760px; margin: 0 auto; }
.faq { display: flex; flex-direction: column; gap: 10px; margin-top: 32px; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  transition: box-shadow .15s ease, border-color .15s ease;
}
.faq details[open] {
  box-shadow: var(--shadow-sm);
  border-color: rgba(42,109,244,0.35);
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq summary::after {
  content: "+";
  color: var(--accent);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin: 10px 0 0; color: var(--muted); font-size: 15px; }

/* CTA */
.cta { padding: 80px 0; background: linear-gradient(135deg, #0b1f3a 0%, #15315e 100%); color: #fff; }
.cta-box { text-align: center; max-width: 640px; margin: 0 auto; }
.cta h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 4vw, 44px);
  margin: 0 0 10px;
  letter-spacing: -0.015em;
}
.cta p { margin: 0 0 28px; color: #c8d3e6; font-size: 17px; }
.cta-form {
  display: flex;
  gap: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 8px;
  border-radius: 999px;
  max-width: 480px;
  margin: 0 auto;
}
.cta-form input {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 10px 16px;
  color: #fff;
  font-size: 15px;
  outline: none;
}
.cta-form input::placeholder { color: #8ea3c5; }
.cta-msg { margin-top: 16px; color: var(--accent-2); font-weight: 600; }

/* Footer */
.footer { background: #0a1a31; color: #c8d3e6; padding: 56px 0 28px; }
.footer .brand { color: #fff; }
.footer-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p { margin: 12px 0 0; color: #8ea3c5; font-size: 14px; max-width: 280px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-links h4 {
  margin: 0 0 12px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  font-weight: 600;
}
.footer-links a {
  display: block;
  color: #c8d3e6;
  font-size: 14px;
  padding: 4px 0;
}
.footer-links a:hover { color: #fff; text-decoration: none; }
.footer-base { padding-top: 20px; }
.footer-base small { color: #8ea3c5; font-size: 12.5px; }

/* Responsive */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero { padding: 56px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .card { transform: none; }
  .section { padding: 64px 0; }
  .steps, .feature-grid, .case-grid { grid-template-columns: 1fr; }
  .footer-row { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px) {
  .nav-cta .btn-ghost { display: none; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .cta-form { flex-direction: column; border-radius: 18px; }
  .cta-form .btn { width: 100%; }
}
