:root {
  --accent: #2f6bff;
  --accent-2: #5b8bff;
  --ink: #0b1220;
  --muted: #5b6678;
  --bg: #f6f8fd;
  --card: #ffffff;
  --border: #e6eaf2;
  --radius: 18px;
  --shadow: 0 20px 60px -20px rgba(20, 40, 90, .25);
  --shadow-sm: 0 6px 24px -10px rgba(20, 40, 90, .18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ambient gradient blobs */
body::before, body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  z-index: -1;
  opacity: .5;
}
body::before {
  width: 520px; height: 520px;
  background: radial-gradient(circle, #9bb8ff, transparent 70%);
  top: -160px; right: -120px;
}
body::after {
  width: 480px; height: 480px;
  background: radial-gradient(circle, #c9d8ff, transparent 70%);
  bottom: -160px; left: -140px;
}

a { color: inherit; text-decoration: none; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* NAV */
nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(20px);
  background: rgba(246, 248, 253, .72);
  border-bottom: 1px solid var(--border);
}
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -.02em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; box-shadow: var(--shadow-sm); }
.nav-links { display: flex; gap: 26px; font-size: 14.5px; color: var(--muted); font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--accent); color: #fff; padding: 8px 16px; border-radius: 10px;
  font-size: 14px; font-weight: 600; box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -8px rgba(47,107,255,.6); }
@media (max-width: 720px) { .nav-links { display: none; } }

/* HERO */
.hero { padding: 86px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #eaf0ff; color: var(--accent); font-weight: 600; font-size: 13px;
  padding: 6px 12px; border-radius: 999px; margin-bottom: 22px;
  border: 1px solid #d8e2ff;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
h1 {
  font-size: clamp(38px, 5.4vw, 60px); line-height: 1.04; letter-spacing: -.035em;
  font-weight: 800; margin-bottom: 20px;
}
h1 .grad {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 18.5px; color: var(--muted); max-width: 520px; margin-bottom: 30px; }
.cta-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #fff; font-weight: 650; font-size: 15.5px;
  padding: 14px 24px; border-radius: 14px; box-shadow: 0 14px 34px -12px rgba(47,107,255,.7);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -12px rgba(47,107,255,.85); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink); font-weight: 600; font-size: 15px; padding: 14px 18px;
  border-radius: 14px; border: 1px solid var(--border); background: var(--card);
  transition: border-color .15s ease;
}
.btn-ghost:hover { border-color: #c7d2e8; }
.meta-line { margin-top: 18px; font-size: 13.5px; color: var(--muted); display: flex; gap: 16px; flex-wrap: wrap; }
.meta-line span { display: inline-flex; align-items: center; gap: 6px; }

/* hero visual */
.shot-stage {
  position: relative; display: flex; justify-content: center;
  padding: 30px;
  border-radius: 26px;
  background:
    radial-gradient(120% 120% at 30% 0%, #dbe6ff 0%, #eef3ff 45%, #f6f8fd 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.shot-stage img.shot {
  width: 88%; max-width: 360px; border-radius: 14px;
  box-shadow: 0 30px 70px -24px rgba(20,40,90,.5);
}

@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 36px; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero .col-text { text-align: center; }
  .cta-row { justify-content: center; }
  .meta-line { justify-content: center; }
}

/* SECTION */
section { padding: 64px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.03em; font-weight: 800; margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 17px; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }

/* FEATURE GRID */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 880px) { .grid { grid-template-columns: 1fr; } }
.feature {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ficon {
  width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(135deg, #eaf0ff, #dbe6ff); color: var(--accent); margin-bottom: 18px;
}
.ficon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 18px; letter-spacing: -.01em; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }

/* HOW / steps */
.how { background: linear-gradient(180deg, #fff, #f1f5ff); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }
.step { text-align: center; }
.step .num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff;
  display: grid; place-items: center; font-weight: 700; margin: 0 auto 16px; box-shadow: var(--shadow-sm);
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
details {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  padding: 4px 22px; box-shadow: var(--shadow-sm);
}
details summary {
  cursor: pointer; list-style: none; padding: 16px 0; font-weight: 650; font-size: 16.5px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--accent); font-size: 22px; font-weight: 400; transition: transform .2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); padding: 0 0 18px; font-size: 15.5px; }

/* DOWNLOAD CTA */
.download {
  text-align: center;
  background: linear-gradient(135deg, var(--accent), #1f4fd6);
  color: #fff; border-radius: 28px; padding: 64px 32px; margin: 24px 0 0;
  box-shadow: 0 30px 70px -24px rgba(47,107,255,.6);
}
.download h2 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -.03em; margin-bottom: 14px; font-weight: 800; }
.download p { opacity: .9; font-size: 17px; max-width: 520px; margin: 0 auto 30px; }
.download .btn-primary { background: #fff; color: var(--accent); box-shadow: 0 14px 34px -12px rgba(0,0,0,.4); }
.download .btn-primary:hover { box-shadow: 0 20px 44px -12px rgba(0,0,0,.5); }
.download .sub { margin-top: 16px; font-size: 13.5px; opacity: .8; }

/* USE-CASE CARDS */
.uc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 880px) { .uc-grid { grid-template-columns: 1fr; } }
.uc-card {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.uc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c7d2e8; }
.uc-card .who { color: var(--accent); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.uc-card h3 { font-size: 18px; letter-spacing: -.01em; }
.uc-card p { color: var(--muted); font-size: 15px; flex: 1; }
.uc-card .more { color: var(--accent); font-weight: 600; font-size: 14.5px; }
.center-link { text-align: center; margin-top: 28px; }
.center-link a { color: var(--accent); font-weight: 600; }

/* MENU ITEM CHIP */
.mi {
  display: inline-block; white-space: nowrap;
  font-size: .92em; font-weight: 600; color: var(--ink);
  background: #eef2fb; border: 1px solid var(--border); border-radius: 7px;
  padding: 1px 8px;
}
kbd {
  font-family: inherit; font-size: .88em; font-weight: 600;
  background: var(--card); border: 1px solid #d3dbea; border-bottom-width: 2px;
  border-radius: 6px; padding: 1px 6px; white-space: nowrap;
}
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .9em; background: #eef2fb; padding: 1px 6px; border-radius: 6px; }

/* TABLES */
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--border); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: #f8faff; }
td.yes { color: #138a4a; font-weight: 600; }
td.no { color: var(--muted); }
td small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }

/* PRIVACY */
.privacy { background: linear-gradient(180deg, #fff, #f1f5ff); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 880px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }
.fact { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.fact strong { display: block; font-size: 26px; letter-spacing: -.03em; color: var(--accent); margin-bottom: 4px; }
.fact span { color: var(--muted); font-size: 14.5px; }
.note { max-width: 760px; margin: 32px auto 0; color: var(--muted); font-size: 15.5px; text-align: center; }
.note a { color: var(--accent); font-weight: 600; }

/* ARTICLE (use-case pages) */
.crumbs { font-size: 13.5px; color: var(--muted); padding-top: 28px; }
.crumbs a:hover { color: var(--ink); }
.crumbs span { margin: 0 6px; opacity: .6; }
.article-hero { padding: 28px 0 8px; }
.article-hero h1 { font-size: clamp(32px, 4.6vw, 50px); max-width: 820px; }
.article-hero .lead { max-width: 700px; }
.article { padding: 24px 0 40px; }
.prose { max-width: 720px; }
.prose h2 { font-size: 26px; letter-spacing: -.02em; margin: 44px 0 14px; }
.prose h3 { font-size: 18px; margin: 26px 0 8px; }
.prose p, .prose li { font-size: 17px; color: #29334a; }
.prose p { margin-bottom: 14px; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 16px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent); font-weight: 600; }
.prose .table-wrap { margin: 18px 0 8px; }
.callout {
  background: #eaf0ff; border: 1px solid #d8e2ff; border-radius: 14px;
  padding: 18px 20px; margin: 22px 0; font-size: 16px; color: #1d2b4f;
}
.article .faq-list { margin: 0; max-width: 720px; }
.related { margin-top: 12px; }
.related h2 { font-size: 22px; letter-spacing: -.02em; margin-bottom: 18px; }

/* FOOTER */
footer { padding: 56px 0 48px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--border); margin-top: 48px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 880px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
footer .brand { margin-bottom: 10px; color: var(--ink); }
footer .brand img { width: 26px; height: 26px; border-radius: 7px; }
footer h4 { color: var(--ink); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
footer ul a:hover { color: var(--ink); }
.foot-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-bottom a { color: var(--accent); font-weight: 600; }
@media (max-width: 520px) { th, td { padding: 10px 12px; font-size: 14px; } }
