/* ==========================================================================
   Just FAR — Marketing site design system
   Brand: #1F4E79 (deep blue) / #2E75B6 (accent) / #2C3E50 (neutral)
   ========================================================================== */

:root {
  /* Brand */
  --primary: #1F4E79;
  --primary-dark: #16395B;
  --primary-light: #2E75B6;
  --accent: #2E75B6;
  --accent-2: #7BD9AE;   /* soft green from the logo dot */
  --accent-3: #F4B860;   /* warm gold for callouts */
  --ink: #1F2933;
  --ink-soft: #5A6B7B;
  --ink-mute: #8A99A8;
  --bg: #F7F9FC;
  --bg-2: #EEF3F8;
  --surface: #FFFFFF;
  --line: #E4EAF1;
  --line-strong: #D4DDE6;

  /* Accounting semantics (echo the app) */
  --green: #27AE60;
  --red: #C0392B;
  --green-soft: #E8F5E9;
  --red-soft: #FDEBEC;
  --header-gray: #ECF0F1;

  /* Shadow & radius */
  --shadow-sm: 0 1px 2px rgba(23, 43, 66, .06), 0 1px 3px rgba(23, 43, 66, .08);
  --shadow: 0 8px 24px rgba(23, 43, 66, .10);
  --shadow-lg: 0 22px 60px rgba(23, 43, 66, .16);
  --radius: 14px;
  --radius-sm: 9px;

  /* Type */
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Code', monospace;

  --container: 1180px;
  --header-h: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--accent); }
code, kbd { font-family: var(--mono); font-size: .86em; background: var(--bg-2); padding: .12em .4em; border-radius: 5px; color: var(--primary-dark); border: 1px solid var(--line); }
kbd { box-shadow: 0 1px 0 var(--line-strong); }
::selection { background: var(--accent); color: #fff; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-weight: 600; font-size: 15px; line-height: 1;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
  text-align: center; whitespace: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(31, 78, 121, .28); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(31, 78, 121, .36); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(46, 117, 182, .30); }
.btn-accent:hover { background: var(--primary-light); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--primary); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--primary); background: var(--bg-2); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { color: var(--accent); transform: translateY(-2px); }
.btn-lg { padding: 18px 34px; font-size: 16.5px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark svg { border-radius: 7px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 800; font-size: 20px; letter-spacing: -.02em; color: var(--primary); }
.brand-sub { font-size: 11px; color: var(--ink-mute); letter-spacing: .06em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 8px; }
.nav-list { display: flex; list-style: none; align-items: center; gap: 2px; }
.nav-link {
  position: relative; padding: 10px 13px; font-weight: 600; font-size: 15px; color: var(--ink-soft);
  border-radius: 8px; transition: color .2s, background .2s;
}
.nav-link::after {
  content: ''; position: absolute; left: 13px; right: 13px; bottom: 5px; height: 2.5px;
  background: var(--accent); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav-link:hover { color: var(--primary); background: var(--bg-2); }
.nav-link.is-active { color: var(--primary); }
.nav-link.is-active::after { transform: scaleX(1); }
.nav-cta { margin-left: 12px; padding: 11px 20px; font-size: 14px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--primary); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Page hero ---------- */
.page-hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(46, 117, 182, .20), transparent 60%),
    radial-gradient(900px 420px at 8% 0%, rgba(123, 217, 174, .18), transparent 55%),
    linear-gradient(180deg, #EAF1F8, #F7F9FC);
  padding: 72px 0 58px;
  position: relative; overflow: hidden;
}
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13.5px; color: var(--ink-mute); margin-bottom: 18px; }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep, .breadcrumb .current { color: var(--ink-mute); }
.breadcrumb .current { font-weight: 600; color: var(--primary); }
.hero-title { font-size: clamp(30px, 4.4vw, 50px); font-weight: 800; letter-spacing: -.025em; line-height: 1.08; color: var(--primary-dark); max-width: 18ch; }
.hero-sub { margin-top: 16px; font-size: 18px; color: var(--ink-soft); max-width: 60ch; }
.hero-sub strong { color: var(--primary); }

/* ---------- Section shells ---------- */
.section { padding: 92px 0; }
.section.tight { padding: 64px 0; }
.section.alt { background: var(--bg-2); }
.section.tint { background: linear-gradient(180deg, #EAF1F8, #F7F9FC); }
.section.dark { background: linear-gradient(180deg, #122A43, #1F4E79); color: #EAF2FB; }
.section-head { max-width: 720px; margin-bottom: 46px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 26px; height: 2.5px; background: var(--accent); border-radius: 2px; }
.center .eyebrow::after { content: ''; width: 26px; height: 2.5px; background: var(--accent); border-radius: 2px; }
.section-title { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.02em; line-height: 1.14; color: var(--primary-dark); }
.section-title .hl { color: var(--accent); }
.section-lead { margin-top: 16px; font-size: 17.5px; color: var(--ink-soft); }
.section.dark .section-title { color: #fff; }
.section.dark .section-lead { color: #C9DDF0; }

/* ---------- Splash / hero block (home) ---------- */
.splash {
  position: relative; overflow: hidden;
  background: radial-gradient(1500px 700px at 70% -20%, rgba(46, 117, 182, .45), transparent 60%),
              radial-gradient(1200px 600px at 10% 10%, rgba(123, 217, 174, .30), transparent 55%),
              linear-gradient(160deg, #10263C 0%, #16395B 55%, #1F4E79 100%);
  color: #fff; padding: 100px 0 130px;
}
.splash::before, .splash::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(10px); opacity: .5; z-index: 0;
}
.splash::before { width: 420px; height: 420px; background: radial-gradient(circle, rgba(46,117,182,.6), transparent 70%); top: -120px; right: -80px; animation: float 11s ease-in-out infinite; }
.splash::after { width: 330px; height: 330px; background: radial-gradient(circle, rgba(123,217,174,.45), transparent 70%); bottom: -90px; left: -60px; animation: float 13s ease-in-out infinite reverse; }
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-24px) } }
.splash .container { position: relative; z-index: 2; }
.splash-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.splash-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); display: inline-flex; align-items: center; gap: 8px; }
.splash-eyebrow::before { content: ''; width: 24px; height: 2.5px; background: var(--accent-2); }
.splash h1 { margin: 20px 0 0; font-size: clamp(36px, 5vw, 60px); font-weight: 800; letter-spacing: -.03em; line-height: 1.04; }
.splash h1 span { color: var(--accent-2); }
.splash-lead { margin-top: 22px; font-size: 19px; color: #C9DDF0; max-width: 50ch; }
.splash-stats { display: flex; gap: 40px; margin-top: 40px; flex-wrap: wrap; }
.splash-stat { display: flex; flex-direction: column; }
.splash-stat .num { font-size: 30px; font-weight: 800; color: #fff; }
.splash-stat .lbl { font-size: 13px; color: #A9C7E3; }
.splash-cta { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; align-items: center; }

/* App window (the screenshot chrome) */
.app-window {
  background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.4); position: relative; transform: rotate(.3deg);
}
.app-window .titlebar { display: flex; align-items: center; gap: 8px; padding: 11px 14px; background: #F1F5F9; border-bottom: 1px solid var(--line); }
.titlebar .dots { display: flex; gap: 7px; }
.titlebar .dot { width: 12px; height: 12px; border-radius: 50%; }
.titlebar .dot.r { background: #FF5F57; } .titlebar .dot.y { background: #FEBC2E; } .titlebar .dot.g { background: #28C840; }
.titlebar .ttl { margin-left: 10px; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); flex: 1; text-align: center; }
.titlebar .tbrand { font-size: 11px; color: var(--ink-mute); font-weight: 600; }
.app-window.floaty { animation: floatApp 6s ease-in-out infinite; }
@keyframes floatApp { 0%,100% { transform: translateY(0) rotate(.3deg) } 50% { transform: translateY(-14px) rotate(.3deg) } }

/* ---------- Feature grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card .icon {
  width: 54px; height: 54px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(135deg, #EAF2FB, #DCE9F6); color: var(--primary);
  margin-bottom: 18px; transition: transform .3s var(--ease), background .3s;
}
.card:hover .icon { transform: scale(1.08) rotate(-3deg); background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; }
.card .icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 9px; color: var(--primary-dark); }
.card p { color: var(--ink-soft); font-size: 15px; }
.card .foot { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 13.5px; font-weight: 600; color: var(--accent); }
.card.feature-lg { padding: 36px 34px; }
.card.feature-lg h3 { font-size: 22px; }
.card-link { display: block; color: inherit; }
.card-link:hover { color: inherit; }
.card-link .icon { font-size: 20px; font-weight: 800; }
.card-link .icon svg { display: none; }

/* ---------- Stat / metric cards ---------- */
.stat-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px; text-align: center; transition: transform .3s var(--ease), box-shadow .3s; }
.stat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.stat-card .num { font-size: 40px; font-weight: 800; line-height: 1; color: var(--primary); letter-spacing: -.03em; }
.stat-card .num[data-count] { font-variant-numeric: tabular-nums; }
.stat-card .lbl { margin-top: 10px; font-size: 14px; color: var(--ink-soft); }

/* ---------- Steps / timeline ---------- */
.steps { display: grid; gap: 22px; counter-reset: step; }
.step { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start; padding: 4px 0; }
.step .badge {
  width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; font-weight: 800; font-size: 20px;
  box-shadow: 0 10px 20px rgba(31,78,121,.24); margin-top: 2px;
}
.step .body h3 { font-size: 19px; font-weight: 700; color: var(--primary-dark); margin-bottom: 7px; }
.step .body p { color: var(--ink-soft); font-size: 15.5px; }
.step::after { content: ''; position: absolute; left: 28px; top: 66px; bottom: -3px; width: 2px; background: linear-gradient(var(--accent), transparent); }
.step:last-child::after { display: none; }
.step .body code { white-space: nowrap; }

/* ---------- Comparison ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
table.compare { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
table.compare th, table.compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.compare thead th { background: var(--primary); color: #fff; font-weight: 600; position: sticky; top: 0; }
table.compare th:first-child, table.compare td:first-child { font-weight: 600; color: var(--primary-dark); width: 26%; }
table.compare tbody tr:nth-child(even) { background: var(--bg); }
table.compare tbody tr:hover { background: var(--bg-2); }
table.compare td .tick { color: var(--green); font-weight: 700; }
table.compare td .dash { color: var(--red); font-weight: 700; }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 28px; }
.tab-btn {
  padding: 11px 20px; border-radius: 999px; border: 1.5px solid var(--line-strong);
  background: #fff; font-weight: 600; font-size: 14.5px; color: var(--ink-soft); cursor: pointer;
  transition: all .2s var(--ease);
}
.tab-btn:hover { border-color: var(--accent); color: var(--primary); }
.tab-btn.is-active { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: 0 6px 16px rgba(31,78,121,.25); }
.tab-pane { display: none; animation: fadeIn .35s var(--ease); }
.tab-pane.is-active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px) } to { opacity: 1; transform: none } }

/* ---------- Accordion (FAQ) ---------- */
.acc { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item:last-child { border-bottom: 0; }
.acc-head { width: 100%; text-align: left; background: none; border: 0; padding: 22px 26px; font-size: 17px; font-weight: 600; color: var(--primary-dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: background .2s; }
.acc-head:hover { background: var(--bg); }
.acc-head .chev { width: 22px; height: 22px; flex-shrink: 0; transition: transform .3s var(--ease); }
.acc-item.open .acc-head .chev { transform: rotate(180deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.acc-body-inner { padding: 0 26px 24px; color: var(--ink-soft); font-size: 15.5px; }
.acc-body ul { margin: 10px 0 10px 20px; }
.acc-body li { margin-bottom: 7px; }

/* ---------- Screenshots gallery ---------- */
.shot-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.shot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.shot {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; cursor: pointer;
}
.shot:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.shot .shot-body svg { width: 100%; height: auto; display: block; }
.shot .shot-cap { padding: 18px 20px; border-top: 1px solid var(--line); }
.shot .shot-cap h3 { font-size: 17px; font-weight: 700; color: var(--primary-dark); }
.shot .shot-cap p { font-size: 14px; color: var(--ink-soft); margin-top: 5px; }

/* ---------- Pricing ---------- */
.price-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; align-items: stretch; }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 36px 34px;
  display: flex; flex-direction: column; position: relative; transition: transform .3s var(--ease), box-shadow .3s;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card.featured { border: 2px solid var(--primary); box-shadow: var(--shadow-lg); }
.price-card.featured::before { content: 'Most common'; position: absolute; top: -14px; left: 32px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 999px; letter-spacing: .04em; }
.price-card .edition { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.price-card .amount { margin: 14px 0 6px; font-size: 46px; font-weight: 800; color: var(--primary-dark); letter-spacing: -.03em; }
.price-card .amount small { font-size: 16px; font-weight: 600; color: var(--ink-mute); }
.price-card .one-time { font-size: 14px; color: var(--ink-soft); }
.price-card ul { margin: 24px 0 28px; list-style: none; display: grid; gap: 12px; flex: 1; }
.price-card li { display: flex; gap: 11px; font-size: 15px; color: var(--ink-soft); align-items: flex-start; }
.price-card li svg { width: 19px; height: 19px; flex-shrink: 0; margin-top: 3px; color: var(--green); }
.price-card .price-note { margin-top: 18px; font-size: 13px; color: var(--ink-mute); border-top: 1px dashed var(--line); padding-top: 16px; }

/* ---------- Callout / highlight ---------- */
.callout {
  display: flex; gap: 18px; padding: 26px 28px; border-radius: var(--radius);
  background: linear-gradient(135deg, #EAF2FB, #F3F9FF); border: 1px solid #C9DFF3; align-items: flex-start;
}
.callout .co-ic { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; background: var(--primary); color: #fff; display: grid; place-items: center; }
.callout .co-ic svg { width: 22px; height: 22px; }
.callout h3 { font-size: 18px; font-weight: 700; color: var(--primary-dark); margin-bottom: 6px; }
.callout p { color: var(--ink-soft); font-size: 15.5px; }
.callout.warn { background: linear-gradient(135deg, #FFF7EC, #FFFBF3); border-color: #F4DCA8; }
.callout.warn .co-ic { background: var(--accent-3); }

/* ---------- Live demo ---------- */
.demo {
  background: linear-gradient(180deg, #122A43, #1F4E79); color: #EAF2FB;
  border-radius: 24px; padding: 46px 42px; position: relative; overflow: hidden;
}
.demo::before { content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(123,217,174,.28), transparent 70%); top: -120px; right: -80px; }
.demo::after { content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(46,117,182,.4), transparent 70%); bottom: -120px; left: -60px; }
.demo-inner { position: relative; z-index: 2; }
.demo h2 { font-size: clamp(25px, 3vw, 34px); font-weight: 800; color: #fff; }
.demo-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; align-items: start; margin-top: 26px; }
.demo form { display: grid; gap: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: #A9C7E3; margin-bottom: 6px; }
.field input[type=number], .field select {
  width: 100%; padding: 13px 15px; border-radius: 10px; border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08); color: #fff; font-size: 16px; font-family: var(--font);
}
.field input:focus, .field select:focus { outline: 2px solid var(--accent-2); outline-offset: 1px; border-color: transparent; }
.demo-output {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 26px;
}
.demo-output .out-row { display: flex; justify-content: space-between; align-items: baseline; padding: 9px 0; border-bottom: 1px dashed rgba(255,255,255,.14); }
.demo-output .out-row:last-child { border-bottom: 0; }
.demo-output .out-row .k { font-size: 14px; color: #B4CFE9; }
.demo-output .out-row .v { font-size: 21px; font-weight: 800; color: #fff; }
.demo-output .out-row .v.neg { color: #FFB3A6; }
.demo-bars { margin-top: 20px; display: grid; gap: 8px; }
.demo-bar { display: grid; grid-template-columns: 76px 1fr 70px; align-items: center; gap: 12px; font-size: 12.5px; color: #B4CFE9; }
.demo-bar .track { height: 12px; background: rgba(255,255,255,.12); border-radius: 6px; overflow: hidden; }
.demo-bar .fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--accent-2), var(--accent)); border-radius: 6px; transition: width .6s var(--ease); }
.demo-bar .val { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- Animated chart (SVG line) ---------- */
.chart-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.chart-box svg { width: 100%; height: auto; }

/* ---------- Marquee band ---------- */
.band { background: var(--primary-dark); color: #fff; padding: 34px 0; overflow: hidden; }
.band .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.band h3 { font-size: 24px; font-weight: 800; }
.band p { color: #B8D2EB; margin-top: 4px; }

/* ---------- Testimonials ---------- */
.testi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; position: relative; }
.testi-card .quote { font-size: 19px; color: var(--accent); line-height: 1; }
.testi-card p { margin: 12px 0 20px; color: var(--ink-soft); font-size: 15.5px; }
.testi-card .who { display: flex; align-items: center; gap: 12px; }
.testi-card .avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 17px; }
.testi-card .who .name { font-weight: 700; color: var(--primary-dark); font-size: 15px; }
.testi-card .who .role { font-size: 13px; color: var(--ink-mute); }

/* ---------- CTA section ---------- */
.cta { text-align: center; padding: 96px 0; background: radial-gradient(1000px 400px at 50% -20%, rgba(46,117,182,.18), transparent 60%), linear-gradient(180deg, #EAF1F8, #F7F9FC); }
.cta h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; color: var(--primary-dark); letter-spacing: -.02em; }
.cta p { font-size: 18px; color: var(--ink-soft); margin: 18px auto 34px; max-width: 46ch; }
.cta .cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Prose / wiki ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 28px; font-weight: 800; color: var(--primary-dark); margin: 0 0 16px; padding-top: 8px; }
.prose h3 { font-size: 20px; font-weight: 700; color: var(--primary-dark); margin: 30px 0 10px; }
.prose h4 { font-size: 16.5px; font-weight: 700; color: var(--primary); margin: 22px 0 8px; }
.prose p { margin-bottom: 16px; color: var(--ink-soft); font-size: 16.2px; }
.prose strong, .prose b { color: var(--ink); }
.prose ul, .prose ol { margin: 0 0 18px 22px; color: var(--ink-soft); }
.prose li { margin-bottom: 8px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 30px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 8px 0 22px; font-size: 14.5px; }
.prose table th, .prose table td { border: 1px solid var(--line); padding: 11px 13px; text-align: left; vertical-align: top; }
.prose table th { background: var(--bg-2); color: var(--primary-dark); font-weight: 600; }
.prose .note { padding: 18px 22px; border-left: 4px solid var(--accent); background: var(--bg-2); border-radius: 0 10px 10px 0; margin: 20px 0; color: var(--ink-soft); font-size: 15px; }
.prose .note strong { color: var(--primary-dark); }
.prose .badge-inline { display: inline-block; background: var(--green-soft); color: var(--green); font-weight: 700; font-size: 12px; padding: 3px 10px; border-radius: 999px; }
.toc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; position: sticky; top: calc(var(--header-h) + 20px); margin-bottom: 40px; }
.toc h4 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 12px; }
.toc ul { list-style: none; display: grid; gap: 7px; }
.toc a { color: var(--ink-soft); font-size: 15px; display: flex; align-items: center; gap: 8px; }
.toc a:hover { color: var(--primary); }
.toc a::before { content: ''; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); opacity: .4; }
.wiki-layout { display: grid; grid-template-columns: 260px 1fr; gap: 46px; align-items: start; }
.wiki-nav { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 8px; }
.wiki-nav a { padding: 12px 16px; border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--ink-soft); border: 1px solid transparent; }
.wiki-nav a:hover { background: var(--bg-2); color: var(--primary); }
.wiki-nav a.on { background: #fff; border-color: var(--line); color: var(--primary); box-shadow: var(--shadow-sm); }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 18px; }
.form-field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 14px 15px; border-radius: 11px; border: 1.5px solid var(--line-strong); background: #fff; font-family: var(--font); font-size: 16px; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(46,117,182,.12); outline: none; }
.form-field.inline { display: flex; gap: 16px; flex-wrap: wrap; }
.form-field.inline > div { flex: 1; min-width: 200px; }

/* ---------- Footer ---------- */
.site-footer { background: #10202F; color: #C9DDF0; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding: 64px 0 40px; }
.footer-about p { color: #8FB0D2; font-size: 14.5px; margin-top: 14px; max-width: 34ch; }
.footer-note code { background: rgba(255,255,255,.08); color: #B8D2EB; border-color: rgba(255,255,255,.12); }
.footer-col h4 { color: #fff; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 18px; }
.footer-links { list-style: none; display: grid; gap: 11px; }
.footer-links a { color: #8FB0D2; font-size: 14.5px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: #6E8CA6; }

/* ---------- Back to top ---------- */
.back-top {
  position: fixed; right: 24px; bottom: 26px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary); color: #fff; border: 0; font-size: 20px; cursor: pointer; z-index: 900;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(12px); transition: all .3s var(--ease);
}
.back-top.show { opacity: 1; pointer-events: auto; transform: none; }
.back-top:hover { background: var(--accent); }

/* ---------- Reveal (scroll animation) ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal[class*="delay-1"] { transition-delay: .1s; } .reveal[class*="delay-2"] { transition-delay: .2s; }
.reveal[class*="delay-3"] { transition-delay: .3s; } .reveal[class*="delay-4"] { transition-delay: .4s; }

/* ---------- Misc ---------- */
.code-box {
  font-family: var(--mono); font-size: 13.5px; color: #DCE9F6; background: #122A43;
  padding: 18px 22px; border-radius: 12px; overflow-x: auto; border: 1px solid #1F3B57;
  white-space: pre; margin: 14px 0 8px;
}
.muted { color: var(--ink-mute); }
.small { font-size: 13.5px; }
.center { text-align: center; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; }
.mb-24 { margin-bottom: 24px; }
.divider { height: 1px; background: var(--line); margin: 40px 0; }
.lm { display: flex; align-items: center; gap: 10px; }
.lm svg { width: 22px; height: 22px; color: var(--green); }

/* Paged nav pills for wiki */
.wiki-pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; flex-wrap: wrap; }
.wiki-pager a { display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; border: 1.5px solid var(--line-strong); border-radius: 999px; font-weight: 600; color: var(--primary); background: #fff; transition: all .2s var(--ease); }
.wiki-pager a:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .splash-grid, .demo-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .testi { grid-template-columns: repeat(2, 1fr); }
  .wiki-layout { grid-template-columns: 1fr; }
  .wiki-nav { position: static; grid-template-columns: repeat(2, 1fr); margin-bottom: 30px; }
  .toc { position: static; }
  .price-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .grid-3, .grid-4, .testi, .shot-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .splash-stats { gap: 24px; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; padding: 18px; box-shadow: var(--shadow-lg); transform: translateY(-140%); transition: transform .35s var(--ease); border-bottom: 1px solid var(--line);
  }
  .main-nav.is-open { transform: none; }
  .nav-list { flex-direction: column; }
  .nav-cta { margin: 12px 0 0; }
  .nav-toggle { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
