@font-face{font-family:'Libre Franklin';font-style:normal;font-weight:600 800;font-display:swap;src:url('../fonts/LibreFranklin.woff2') format('woff2');}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:400 600;font-display:swap;src:url('../fonts/IBMPlexSans.woff2') format('woff2');}

:root {
  --bg: #fdfcfa;
  --bg-alt: #f3f6fa;
  --surface: #ffffff;
  --ink: #122b4a;
  --ink-soft: #3d4c5e;
  --ink-faint: #6b7a8c;
  --rule: #d7e0ea;
  --accent: #d9731e;
  --accent-ink: #a85814;
  --link: #1559a8;
  --navy: #122b4a;
  --navy-2: #1b3a63;
  --on-navy: #e6eef7;
  --on-navy-soft: #a9bdd3;
  --ok: #2f7d4f;
  --shadow: 0 1px 2px rgba(18,43,74,.06), 0 12px 32px -12px rgba(18,43,74,.22);
  --radius: 12px;
  --head: "Libre Franklin", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink-soft);
  font-family: var(--body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: #fff; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 48px); margin-inline: auto; }
.eyebrow { font-family: var(--head); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: .9rem; display: block; }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 60ch; }
.muted { color: var(--ink-faint); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(253,252,250,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--rule); }
.nav { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--head); font-weight: 800; font-size: 1.2rem; color: var(--ink); letter-spacing: -.02em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.menu > li { position: relative; }
.menu a.top, .menu button.top { font: 500 .95rem var(--body); color: var(--ink); background: none; border: 0; padding: 10px 14px; border-radius: 8px; text-decoration: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.menu a.top:hover, .menu button.top:hover, .menu a.top[aria-current="page"] { background: var(--bg-alt); }
.menu button.top::after { content: ""; width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.drop { position: absolute; top: 100%; left: 0; min-width: 260px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; list-style: none; margin: 6px 0 0; display: none; }
.menu li:hover > .drop, .menu li.open > .drop, .menu li:focus-within > .drop { display: block; }
.drop a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); font-size: .95rem; }
.drop a:hover { background: var(--bg-alt); }
.drop .soon { font-size: .72rem; color: var(--ink-faint); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; align-self: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 .98rem var(--head); text-decoration: none; padding: 12px 22px; border-radius: 10px; border: 1.5px solid transparent; cursor: pointer; transition: transform .12s ease, background .12s ease, box-shadow .12s ease; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px -8px rgba(217,115,30,.8); }
.btn-primary:hover { background: #c4650f; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost.on-dark:hover { border-color: #fff; }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.nav .btn { margin-left: 8px; }
.burger { display: none; margin-left: auto; background: none; border: 1.5px solid var(--rule); border-radius: 8px; padding: 8px 10px; cursor: pointer; color: var(--ink); }
.burger svg { display: block; }

/* ---------- hero ---------- */
.hero { background: var(--navy); color: var(--on-navy); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 420px at 85% -10%, rgba(217,115,30,.22), transparent 60%), radial-gradient(700px 400px at 0% 110%, rgba(66,120,190,.28), transparent 60%); pointer-events: none; }
.hero .wrap { position: relative; padding-block: clamp(56px, 8vw, 104px) 0; }
.hero h1 { color: #fff; max-width: 17ch; }
.hero h1 em { font-style: normal; color: #f3ac72; }
.hero .lede { color: var(--on-navy-soft); margin-bottom: 1.6rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.hero-note { font-size: .9rem; color: var(--on-navy-soft); margin-bottom: 0; }
.hero-shot { margin-top: clamp(40px, 6vw, 72px); }
.frame { background: #fff; border-radius: 14px 14px 0 0; box-shadow: 0 30px 80px -20px rgba(0,0,0,.55); overflow: hidden; border: 1px solid rgba(255,255,255,.12); }
.frame.floating { border-radius: 14px; box-shadow: var(--shadow); border-color: var(--rule); }
.frame-bar { background: #e9eef4; height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid #d5dde7; }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #c2ccd8; display: block; }
.frame-bar span { margin-left: 10px; font: 500 .72rem var(--body); color: #6b7a8c; background: #fff; border-radius: 6px; padding: 3px 12px; }

/* ---------- sections ---------- */
section.block { padding-block: clamp(56px, 8vw, 104px); }
section.alt { background: var(--bg-alt); }
section.dark { background: var(--navy); color: var(--on-navy); }
section.dark h2, section.dark h3 { color: #fff; }
section.dark p { color: var(--on-navy-soft); }
.section-head { max-width: 62ch; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.grid { display: grid; gap: 24px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 28px; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.icon { width: 44px; height: 44px; border-radius: 11px; background: var(--navy); display: grid; place-items: center; margin-bottom: 18px; }
.icon svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon.accent { background: var(--accent); }
.steps { counter-reset: s; }
.step { position: relative; padding-top: 8px; }
.step .n { font-family: var(--head); font-weight: 800; font-size: .8rem; color: var(--accent-ink); letter-spacing: .1em; }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.flip { grid-template-columns: 1.1fr 1fr; }
.split.flip > :first-child { order: 2; }
.checks { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.checks li { position: relative; padding-left: 30px; margin-bottom: .7rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .42em; width: 16px; height: 9px; border-left: 2.2px solid var(--ok); border-bottom: 2.2px solid var(--ok); transform: rotate(-45deg) scale(.9); }
section.dark .checks li::before { border-color: #7fd0a0; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat b { display: block; font-family: var(--head); font-weight: 800; font-size: 2rem; color: #fff; letter-spacing: -.02em; }
.stat span { font-size: .92rem; color: var(--on-navy-soft); }
.pill { display: inline-block; font: 600 .72rem var(--head); letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: #fdeede; color: var(--accent-ink); }
.pill.grey { background: var(--bg-alt); color: var(--ink-faint); }
.pill.green { background: #e3f3ea; color: var(--ok); }
.callout { border: 1px solid var(--rule); border-left: 3px solid var(--accent); background: var(--surface); border-radius: 8px; padding: 16px 20px; }
.callout p { margin: 0; }
.cta-band { background: var(--navy); border-radius: 20px; padding: clamp(32px, 6vw, 64px); color: var(--on-navy); display: grid; grid-template-columns: 1.4fr auto; gap: 28px; align-items: center; }
.cta-band h2 { color: #fff; margin: 0 0 .3em; }
.cta-band p { color: var(--on-navy-soft); margin: 0; }

/* ---------- product mock components (drawn in HTML/CSS, no personal data) ---------- */
.mock { background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; box-shadow: var(--shadow); padding: 20px; font-size: .9rem; }
.mock .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--rule); }
.mock .row:last-child { border-bottom: 0; }
.mock .tag { font: 700 .72rem var(--head); padding: 3px 9px; border-radius: 6px; color: #fff; }
.tag.p1 { background: #b3261e; } .tag.p2 { background: #d9731e; } .tag.p3 { background: #e0a526; } .tag.p4 { background: #5f9a3c; }
.mock .bar { height: 8px; border-radius: 4px; background: var(--bg-alt); overflow: hidden; width: 120px; }
.mock .bar i { display: block; height: 100%; background: var(--navy-2); }
.bubble { border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; max-width: 92%; font-size: .92rem; line-height: 1.5; }
.bubble.me { background: var(--navy); color: #fff; margin-left: auto; }
.bubble.ai { background: var(--bg-alt); color: var(--ink-soft); }
.mock-title { font: 700 .8rem var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 8px; display: flex; justify-content: space-between; }

/* ---------- pricing ---------- */
.plan { display: flex; flex-direction: column; }
.plan .price { font: 800 2.4rem var(--head); color: var(--ink); letter-spacing: -.03em; margin: .3rem 0 1rem; }
.plan .price small { font: 500 .95rem var(--body); color: var(--ink-faint); letter-spacing: 0; }
.plan.featured { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.plan .btn { margin-top: auto; }

/* ---------- text pages ---------- */
.page-hero { background: var(--bg-alt); border-bottom: 1px solid var(--rule); padding-block: clamp(40px, 6vw, 80px); }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: .3em; }
.prose { padding-block: clamp(40px, 6vw, 72px); }
.prose h2 { font-size: 1.5rem; margin-top: 2.2em; padding-bottom: .4em; border-bottom: 1px solid var(--rule); }
.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 1.3rem; }
.prose li { margin-bottom: .5rem; }
.prose li::marker { color: var(--accent-ink); }
.toc { background: var(--bg-alt); border: 1px solid var(--rule); border-radius: var(--radius); padding: 18px 24px; margin-bottom: 2rem; }
.toc ol { margin: 0; padding-left: 1.2rem; columns: 2; column-gap: 24px; }
.toc a { color: var(--ink); text-decoration: none; font-weight: 500; }
.toc a:hover { text-decoration: underline; }
.faq details { border-bottom: 1px solid var(--rule); padding: 16px 0; }
.faq summary { cursor: pointer; font: 700 1.05rem var(--head); color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.4rem; line-height: 1; color: var(--accent-ink); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .8em 0 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: var(--on-navy-soft); padding-block: 64px 32px; font-size: .95rem; }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.foot-grid h4 { font: 700 .78rem var(--head); letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: .55rem; }
.foot-brand .brand { color: #fff; margin-bottom: 14px; }
.foot-brand p { max-width: 34ch; font-size: .92rem; }
.legal { border-top: 1px solid rgba(255,255,255,.14); margin-top: 44px; padding-top: 24px; font-size: .84rem; line-height: 1.6; }
.legal p { margin-bottom: .6em; max-width: 110ch; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .g3, .g4, .stat-row { grid-template-columns: repeat(2, 1fr); }
  .split, .split.flip { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band { grid-template-columns: 1fr; }
  .burger { display: block; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--bg); border-bottom: 1px solid var(--rule); padding: 12px 24px 20px; margin: 0; flex-direction: column; align-items: stretch; gap: 2px; max-height: calc(100vh - 68px); overflow: auto; }
  .site-header.menu-open .menu { display: flex; }
  .menu li:hover > .drop { display: none; }
  .menu li.open > .drop { display: block; }
  .drop { position: static; box-shadow: none; border: 0; margin: 0 0 6px 10px; }
  .menu a.top, .menu button.top { width: 100%; justify-content: space-between; }
  .nav .btn { margin: 8px 0 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .g2, .g3, .g4, .stat-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
  .hero-cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
