:root {
  --brand: #003153;
  --aqua: #2f9bd6;
  --ink: #16222e;
  --muted: #5e6e7d;
  --paper: #fbfaf7;
  --mist: #eef8fd;
  --line: rgba(0,49,83,.1);
  --display: "Clash Display", -apple-system, BlinkMacSystemFont, sans-serif;
  --text: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.22,1,.36,1);
}
* { box-sizing: border-box; margin: 0; }
body { font-family: var(--text); color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; line-height: 1.6; }
a { color: inherit; }
img { max-width: 100%; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(0,49,83,.06); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: 1200px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 1.3rem; width: auto; }
.brand span { font-family: var(--display); font-weight: 600; font-size: 1.3rem; color: var(--brand); }
.nav-cta { background: var(--brand); color: #fff; text-decoration: none; padding: 10px 18px; border-radius: 999px;
  font-weight: 600; font-size: .88rem; transition: transform .2s var(--ease); }
.nav-cta:hover { transform: translateY(-2px); }

/* Hero */
.hero { background: linear-gradient(180deg, #cfe9fa 0%, #eef8fd 60%, var(--paper) 100%); padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.kicker { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--aqua); margin-bottom: 14px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.012em; color: var(--brand); }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); line-height: 1.05; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.12; }
h3 { font-size: 1.12rem; line-height: 1.25; color: var(--ink); }
.lede { color: var(--muted); font-size: 1.12rem; margin-top: 18px; max-width: 52ch; }
.hero-shot { justify-self: center; width: min(300px, 100%); height: auto; border-radius: 36px;
  box-shadow: 0 30px 70px rgba(0,49,83,.22); }
.cta { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; background: var(--brand); color: #fff;
  text-decoration: none; padding: 12px 24px; border-radius: 999px; font-weight: 600; font-size: 1.05rem;
  box-shadow: 0 16px 36px rgba(0,49,83,.26); transition: transform .25s var(--ease); }
.cta:hover { transform: translateY(-3px); }
.cta img { width: 26px; height: 26px; border-radius: 22%; }
.fine { color: var(--muted); font-size: .86rem; margin-top: 12px; }

/* Centered hero variant (no side image — e.g. pricing) */
.hero-centered { text-align: center; }
.hero-centered .kicker { display: block; }
.hero-centered .lede { margin: 18px auto 0; }
.hero-centered .cta { margin-left: auto; margin-right: auto; }
.hero-centered .fine { text-align: center; }

/* Pricing cards */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; max-width: 820px; margin: 0 auto; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 34px; position: relative; }
.plan.featured { border-color: var(--aqua); box-shadow: 0 20px 44px rgba(47,155,214,.16); }
.plan .tag { position: absolute; top: -13px; left: 34px; background: var(--aqua); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px; }
.plan h3 { font-family: var(--display); font-weight: 600; font-size: 1.3rem; color: var(--brand); }
.plan .price { margin-top: 14px; font-family: var(--display); font-size: 2.4rem; color: var(--ink); font-weight: 600; }
.plan .price small { font-family: var(--text); font-size: .95rem; font-weight: 500; color: var(--muted); }
.plan .trial { margin-top: 6px; font-size: .86rem; color: var(--muted); }
.plan ul { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.plan li { display: flex; align-items: flex-start; gap: 10px; font-size: .93rem; color: var(--ink); }
.plan li svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--aqua); }

/* Sections */
section.block { padding: 64px 0; }
section.block.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 60ch; margin-bottom: 32px; }
.section-head p { color: var(--muted); margin-top: 10px; font-size: 1.04rem; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: 0 14px 30px rgba(0,49,83,.05); }
.alt .card { background: var(--paper); box-shadow: none; }
.card p { color: var(--muted); font-size: .94rem; margin-top: 6px; }
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; display: flex; gap: 16px; align-items: flex-start; }
.steps li::before { content: counter(step); flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: rgba(47,155,214,.14); color: var(--aqua); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.steps li p { color: var(--muted); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--aqua); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin-top: 10px; }

/* Related guides */
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.related a { display: block; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 18px; font-weight: 600; color: var(--brand); transition: transform .2s var(--ease); }
.related a:hover { transform: translateY(-2px); }
.related a span { display: block; font-weight: 400; color: var(--muted); font-size: .88rem; margin-top: 4px; }

/* Article */
.article { padding: 56px 0 24px; }
.article h1 { margin-bottom: 14px; }
.article .meta { color: var(--muted); font-size: .9rem; }
.article h2 { margin: 44px 0 12px; }
.article h3 { margin: 28px 0 8px; font-size: 1.25rem; }
.article p, .article li { font-size: 1.06rem; color: #2b3a48; }
.article p + p { margin-top: 14px; }
.article ul { margin: 12px 0 0 20px; display: grid; gap: 6px; }
.article .facts { font-size: .92rem; color: var(--muted); margin-top: 8px; }
.article .facts b { color: var(--ink); }
.toc { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; margin-top: 28px; }
.toc ol { margin: 8px 0 0 20px; display: grid; gap: 4px; }
.toc a { color: var(--brand); }
.table-scroll { overflow-x: auto; margin-top: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .92rem; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 700; color: var(--brand); background: var(--mist); }
tr:last-child td { border-bottom: 0; }
.callout { background: var(--mist); border-radius: 16px; padding: 20px 22px; margin-top: 20px; }
.callout p { margin: 0; }

/* Footer */
.site-footer { background: var(--brand); color: #fff; margin-top: 64px; }
.footer-cta { padding: 60px 24px 40px; max-width: 1040px; margin: 0 auto; }
.footer-cta h2 { color: #fff; }
.footer-cta p { color: rgba(255,255,255,.72); margin-top: 10px; }
.footer-cta .cta { background: rgba(255,255,255,.14); box-shadow: none; }
.footer-links { max-width: 1040px; margin: 0 auto; padding: 22px 24px 36px; border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .88rem; }
.footer-links a { color: #fff; opacity: .75; text-decoration: none; }
.footer-links a:hover { opacity: 1; }
.footer-links .legal { color: rgba(255,255,255,.55); }

@media (max-width: 860px) {
  .hero { padding: 48px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-shot { width: min(240px, 80%); }
  .grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  section.block { padding: 48px 0; }
  .topbar-inner { padding: 14px 16px; }
  .wrap, .narrow { padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
