@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&family=Roboto+Serif:opsz,wght@8..144,400;8..144,500;8..144,600&display=swap');

:root {
  --navy: #03182f;
  --navy-2: #0b2a4a;
  --blue: #2f6fed;
  --blue-soft: #e8f0ff;
  --muted: #4d5d70;
  --line: #e4ebf2;
  --bg: #ffffff;
  --wash: #f6f8fb;
  --header: 72px;
  --max: 1180px;
  --gutter: 28px;
  --serif: "Roboto Serif", Georgia, Cambria, serif;
  --sans: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 8px;
  --shadow: 0 18px 50px rgba(3, 24, 47, 0.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--navy);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
ul { list-style: none; }

.skip {
  position: absolute; left: -999px; top: 0; z-index: 4000;
  background: var(--navy); color: #fff; padding: 8px 14px;
}
.skip:focus { left: 12px; top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-wide { max-width: 1280px; }

/* Header — Mirakl-like */
.mk-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  height: var(--header);
  display: flex; align-items: center;
  padding: 0 32px;
  background: transparent;
  transition: background 0.2s, box-shadow 0.2s;
}
.mk-header.is-scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.mk-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.15rem; letter-spacing: -0.03em;
  color: var(--navy); flex-shrink: 0;
}
.mk-logo img { width: 28px; height: 28px; }

.mk-nav {
  display: flex; align-items: center; gap: 2px;
  margin-left: auto; margin-right: 16px;
}
.mk-nav-item { position: relative; }
.mk-nav-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 12px;
  background: none; border: none; cursor: pointer;
  color: var(--navy); font-size: 14px; font-weight: 400;
  white-space: nowrap;
}
.mk-nav-btn:hover, .mk-nav-item:hover .mk-nav-btn { color: var(--blue); }
.caret {
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  opacity: 0.55;
}
.mega {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-30%) translateY(8px);
  min-width: 520px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 18px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px;
  opacity: 0; visibility: hidden; transition: 0.16s ease;
  z-index: 40;
}
.mk-nav-item:hover .mega { opacity: 1; visibility: visible; transform: translateX(-30%) translateY(0); }
.mega a {
  display: block; padding: 10px 8px; border-radius: 8px;
  font-size: 14px; color: var(--navy);
}
.mega a strong { display: block; font-weight: 600; margin-bottom: 2px; }
.mega a span { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.mega a:hover { background: var(--wash); }
.mega.narrow { min-width: 260px; grid-template-columns: 1fr; left: 0; transform: translateY(8px); }
.mk-nav-item:hover .mega.narrow { transform: translateY(0); }

.mk-cta {
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 16px;
  background: var(--navy); color: #fff;
  border: none; border-radius: var(--radius);
  font-size: 14px; font-weight: 400; cursor: pointer;
  white-space: nowrap;
}
.mk-cta:hover { background: var(--navy-2); }
.mk-cta-ghost {
  background: transparent; color: var(--navy);
  border: 1px solid var(--navy);
}
.mk-cta-ghost:hover { background: var(--navy); color: #fff; }
.mk-cta-lg { height: 48px; padding: 0 22px; font-size: 15px; }
.mk-menu {
  display: none; width: 40px; height: 40px;
  background: none; border: 1px solid var(--line); border-radius: 8px;
  font-size: 20px; cursor: pointer; color: var(--navy); margin-left: 8px;
}

.mk-drawer {
  display: none; position: fixed; inset: 0; z-index: 400;
  background: rgba(3,24,47,0.4);
}
.mk-drawer.open { display: block; }
.mk-drawer-panel {
  position: absolute; top: 0; right: 0; width: min(380px, 92vw); height: 100%;
  background: #fff; padding: 80px 8px 32px; overflow: auto;
}
.mk-drawer-panel a {
  display: block; padding: 13px 20px; border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.mk-drawer-panel a.sub { padding-left: 32px; color: var(--muted); font-size: 14px; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: calc(var(--header) + 48px) 24px 96px;
  overflow: hidden;
}
.hero-grad {
  position: absolute; inset: -20% -10% 0;
  background:
    radial-gradient(50% 55% at 18% 18%, rgba(196, 176, 255, 0.55) 0%, transparent 58%),
    radial-gradient(45% 50% at 82% 12%, rgba(255, 186, 214, 0.42) 0%, transparent 55%),
    radial-gradient(60% 50% at 50% 80%, rgba(168, 214, 255, 0.45) 0%, transparent 60%),
    linear-gradient(180deg, #f7f4ff 0%, #ffffff 72%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 14px 8px 16px;
  font-size: 13.5px; color: var(--navy);
  box-shadow: 0 6px 20px rgba(3,24,47,0.05);
  margin-bottom: 28px;
}
.pill a, .pill span { color: var(--blue); font-weight: 600; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.hero p.lede {
  font-size: 17px; color: var(--muted); max-width: 640px;
  margin: 0 auto 28px; line-height: 1.7;
}

.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
}
h2, .h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  line-height: 1.22; letter-spacing: -0.02em;
}
h3 { font-family: var(--serif); font-weight: 500; font-size: 1.45rem; line-height: 1.3; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lede, .center p.intro { margin-left: auto; margin-right: auto; }
.intro { max-width: 720px; color: var(--muted); font-size: 17px; }

.section { padding: 88px 0; }
.section-wash { background: var(--wash); }
.section-tight { padding: 56px 0; }

/* Logo / proof strip */
.proof { text-align: center; padding: 28px 0 8px; }
.proof h3 {
  font-family: var(--serif); font-weight: 400; font-size: 1.35rem; margin-bottom: 22px;
}
.chip-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
}
.chip {
  border: 1px solid var(--line); background: #fff;
  border-radius: 999px; padding: 8px 14px;
  font-size: 13px; color: var(--muted); font-weight: 600;
  letter-spacing: 0.02em;
}

/* Product cards */
.prod-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.prod-head p { color: var(--muted); margin-top: 14px; }
.prod-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
}
.prod-card {
  background: var(--wash);
  border-radius: 16px;
  padding: 36px 36px 32px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 20px;
  align-items: center; min-height: 280px;
}
.prod-card.full { grid-column: 1 / -1; grid-template-columns: 1.2fr 0.8fr; }
.prod-card h3 { margin: 8px 0 10px; font-size: 1.7rem; }
.prod-card p { color: var(--muted); margin-bottom: 18px; }
.prod-links { display: flex; flex-wrap: wrap; gap: 10px; }
.link-blue { color: var(--blue); font-weight: 600; font-size: 14px; }
.link-blue:hover { text-decoration: underline; }
.illo {
  position: relative;
  width: 100%; max-width: 340px; margin-left: auto;
  aspect-ratio: 4 / 3; border-radius: 16px;
  overflow: hidden; background: var(--wash);
}
.illo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.card-illo {
  height: 180px; overflow: hidden; background: var(--wash);
}
.card-illo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.media {
  margin: 0 0 32px; border-radius: 16px; overflow: hidden;
}
.media img { width: 100%; height: 380px; object-fit: cover; display: block; }
.split-photo {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.two img {
  width: 100%; height: 320px; object-fit: cover; border-radius: 16px; display: block;
}

/* Tabs */
.tabs {
  display: flex; justify-content: center; gap: 8px; flex-wrap: wrap;
  margin: 36px 0 28px;
}
.tabs button {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; cursor: pointer; font-size: 14px; color: var(--navy);
}
.tabs button.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }
.tab-stage {
  background: var(--wash); border-radius: 16px; padding: 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center;
}
.stat-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 28px;
}
.stat strong {
  display: block; font-family: var(--serif); font-size: 2rem; font-weight: 500;
}
.stat span { color: var(--muted); font-size: 14px; }

/* Feature rows */
.feat-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  padding: 56px 0;
}
.feat-row + .feat-row { border-top: 1px solid var(--line); }
.feat-copy h3 { margin: 8px 0 12px; font-size: 1.8rem; }
.feat-copy p { color: var(--muted); }
.feat-list { margin-top: 18px; }
.feat-list li {
  padding: 10px 0 10px 18px; position: relative; color: var(--navy);
  list-style: none;
}
.feat-list li::before {
  content: ""; position: absolute; left: 0; top: 18px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--blue);
}

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow 0.15s, transform 0.15s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card img, .card .card-illo { height: 170px; object-fit: cover; width: 100%; }
.card-illo {
  background: linear-gradient(145deg, #efe8ff, #d9ecff 50%, #ffe6f2);
}
.card-body { padding: 20px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 1.15rem; margin: 6px 0 8px; }
.card-body p { color: var(--muted); font-size: 14.5px; flex: 1; }
.meta { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); font-weight: 600; }

/* Page hero */
.page-hero {
  position: relative; padding: calc(var(--header) + 56px) 0 64px; overflow: hidden; text-align: center;
}
.page-hero .hero-grad { inset: -40% -20% 20%; }
.page-hero h1 {
  position: relative;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.4vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 16ch;
  margin: 0 auto 16px;
}
.page-hero p { position: relative; color: var(--muted); max-width: 62ch; margin: 0 auto 24px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.crumbs a:hover { color: var(--blue); }

/* Article */
.article { max-width: 740px; margin: 0 auto; }
.article h2 { font-size: 1.6rem; margin: 32px 0 10px; }
.article h3 { font-size: 1.2rem; margin: 24px 0 8px; }
.article p { margin-top: 1em; color: var(--navy); }
.article ul, .article ol { margin: 12px 0 12px 22px; }
.article li { margin: 6px 0; list-style: disc; color: var(--muted); }
.article ol li { list-style: decimal; }
.article blockquote {
  margin: 28px 0; padding-left: 20px; border-left: 3px solid var(--blue);
  font-family: var(--serif); font-size: 1.35rem; color: var(--navy);
}
.note { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); margin-top: 36px; padding-top: 14px; }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--line); padding: 18px 0;
}
.faq summary { cursor: pointer; font-weight: 600; font-size: 16px; }
.faq details p { color: var(--muted); margin-top: 10px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; }
.mk-form {
  background: var(--wash); border-radius: 16px; padding: 28px;
}
.mk-form label { display: block; font-size: 13px; font-weight: 600; margin: 12px 0 6px; }
.mk-form input, .mk-form select, .mk-form textarea {
  width: 100%; border: 1px solid var(--line); background: #fff;
  border-radius: 8px; padding: 11px 12px; font-size: 15px; color: var(--navy);
}
.mk-form textarea { min-height: 130px; resize: vertical; }
.form-ok { display: none; margin-top: 12px; color: var(--blue); font-weight: 600; }
.form-ok.show { display: block; }

/* CTA band */
.cta-band {
  background: var(--navy); color: #fff; text-align: center; padding: 72px 24px;
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.72); max-width: 560px; margin: 0 auto 24px; }
.cta-band .mk-cta { background: #fff; color: var(--navy); }
.cta-band .mk-cta:hover { background: var(--blue-soft); }

/* Footer */
.mk-footer {
  background: #fff; border-top: 1px solid var(--line);
  padding: 56px 0 24px; color: var(--navy);
}
.foot-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 28px;
  padding-bottom: 40px;
}
.mk-footer h4 { font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.mk-footer a { display: block; padding: 4px 0; font-size: 13.5px; color: var(--muted); }
.mk-footer a:hover { color: var(--navy); }
.foot-brand { font-weight: 700; font-size: 1.1rem; margin-bottom: 10px; display: flex; gap: 8px; align-items: center; }
.legal {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  border-top: 1px solid var(--line); padding-top: 18px;
  font-size: 12.5px; color: var(--muted);
}
.legal a { display: inline; padding-right: 12px; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.three { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 22px; }

@media (max-width: 1080px) {
  .mk-nav { display: none; }
  .mk-menu { display: grid; place-items: center; }
  .prod-grid, .prod-card, .prod-card.full, .feat-row, .tab-stage,
  .card-grid, .contact-grid, .foot-grid, .two, .three, .stat-row, .split-photo {
    grid-template-columns: 1fr;
  }
  .hero { min-height: auto; padding-top: 48px; }
}
