:root {
  --ink: #0a1a3a;
  --ink-soft: #122a55;
  --blue: #1b6fe5;
  --blue-deep: #0d4db8;
  --teal: #12c4b0;
  --teal-deep: #0a9a8c;
  --teal-soft: #e5faf7;
  --blue-soft: #e8f2fd;
  --gold: #12c4b0;
  --paper: #f3f7fb;
  --card: #ffffff;
  --line: #d4e0f0;
  --muted: #5a6b82;
  --danger: #b42318;
  --ok: #067647;
  --warn: #b54708;
  --shadow: 0 18px 50px rgba(10, 26, 58, 0.09);
  --radius: 18px;
  --grad: linear-gradient(135deg, #12c4b0 0%, #1b6fe5 100%);
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --ui: "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--ui);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.45;
}
body.app-body, body.paper-body { background: var(--paper); color: var(--ink); }

a { color: var(--blue-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

.pub {
  min-height: 100vh;
  background:
    radial-gradient(900px 520px at 8% -8%, rgba(27, 111, 229, 0.38), transparent 55%),
    radial-gradient(720px 420px at 92% 4%, rgba(18, 196, 176, 0.22), transparent 52%),
    linear-gradient(180deg, #06122c 0%, #0a1a3a 52%, #071428 100%);
  color: #f4f8fc;
}

.pub-nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1120px; margin: 0 auto; padding: 1.1rem 1.4rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; color: inherit; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-logo {
  display: block;
  height: 52px;
  width: auto;
  max-width: 72px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  padding: 3px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.brand-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.brand-tag em { font-style: normal; color: var(--blue); }

.pub .brand-name,
.side .brand-name { color: #fff; }
.pub .brand-tag,
.side .brand-tag { color: #9bb4d0; }
.pub .brand-tag em,
.side .brand-tag em { color: var(--teal); }

.auth-card .brand { margin-bottom: 0.35rem; }
.auth-card .brand-logo { height: 58px; max-width: 78px; padding: 2px; }
.receipt-logo {
  display: block;
  width: 72px;
  height: auto;
  margin: 0 auto 0.45rem;
}
.nav-actions { display: flex; gap: 0.6rem; align-items: center; }

.btn, .btn-ghost, .btn-gold {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  border: 0; border-radius: 999px; padding: 0.7rem 1.15rem;
  font-weight: 650; font-size: 0.95rem; cursor: pointer;
  font-family: var(--ui); text-decoration: none !important;
}
.btn {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 22px rgba(27, 111, 229, 0.28);
}
.btn:hover { filter: brightness(1.06); }
.btn-ghost { background: transparent; color: inherit; border: 1px solid rgba(255,255,255,0.22); }
.paper-body .btn-ghost,
.auth-card .btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-gold {
  background: var(--teal);
  color: #04221e;
  box-shadow: 0 8px 18px rgba(18, 196, 176, 0.28);
}
.btn-wide { width: 100%; }
.btn-google {
  display: flex; align-items: center; justify-content: center; width: 100%;
  border: 1px solid var(--line); border-radius: 999px; padding: 0.7rem 1.15rem;
  background: #fff; color: var(--ink); font-weight: 650; font-family: var(--ui);
  cursor: pointer; text-decoration: none !important;
}
.btn-google:hover { background: var(--blue-soft); }
.or-line {
  text-align: center; color: var(--muted); font-size: 0.82rem; margin: 1rem 0 0.8rem;
}
.btn-sm { padding: 0.45rem 0.8rem; font-size: 0.85rem; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

.hero { max-width: 1120px; margin: 0 auto; padding: 3.2rem 1.4rem 4rem; }
.hero h1 {
  font-family: var(--font); font-size: clamp(2.3rem, 5vw, 4.1rem);
  line-height: 1.05; letter-spacing: -0.035em; max-width: 14ch; margin: 0 0 1rem;
}
.lede { font-size: 1.15rem; color: #c5d2e4; max-width: 38rem; }
.price-pill {
  display: inline-flex; align-items: baseline; gap: 0.4rem;
  margin: 1.2rem 0 1.6rem; padding: 0.4rem 0.85rem;
  border: 1px solid rgba(18, 196, 176, 0.28); border-radius: 999px;
  background: rgba(18, 196, 176, 0.1);
}
.price-pill b { font-size: 1.35rem; color: #fff; }
.hero-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3rem; }
.feature {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius); padding: 1.2rem 1.15rem;
}
.feature h3 { margin: 0 0 0.4rem; font-family: var(--font); font-size: 1.25rem; }
.feature p { margin: 0; color: #b7c4d6; font-size: 0.95rem; }

.pub-foot { max-width: 1120px; margin: 0 auto; padding: 0 1.4rem 2rem; color: #8ea0b8; font-size: 0.85rem; }

.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 2rem 1rem; }
.auth-card {
  width: min(460px, 100%); background: var(--card); color: var(--ink);
  border-radius: 24px; padding: 2rem 1.6rem; box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.auth-card h1 { font-family: var(--font); margin: 0.4rem 0 0.3rem; }
.auth-card p.hint { color: var(--muted); margin: 0 0 1.2rem; }

.field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0.9rem; }
.field label { font-size: 0.82rem; font-weight: 650; color: var(--muted); }
.field input, .field select, .field textarea {
  border: 1px solid var(--line); border-radius: 12px; padding: 0.7rem 0.8rem;
  font: inherit; background: #fff; color: var(--ink); width: 100%;
}

.alert { border-radius: 12px; padding: 0.75rem 0.9rem; margin-bottom: 1rem; font-size: 0.92rem; }
.alert-err { background: #fee4e2; color: var(--danger); }
.alert-ok { background: #e7f6ee; color: var(--ok); }
.alert-warn { background: #fef4e6; color: var(--warn); }

.app {
  min-height: 100vh; display: grid; grid-template-columns: 268px 1fr;
}
.side {
  background: linear-gradient(180deg, #0a1a3a 0%, #0c2348 100%);
  color: #e8eef6; padding: 1.2rem 0.9rem;
  display: flex; flex-direction: column; gap: 0.35rem;
}
.side .brand { padding: 0.15rem 0.2rem 1rem; }
.side .brand-logo { height: 48px; max-width: 64px; }
.nav-link {
  display: flex; align-items: center; gap: 0.55rem;
  padding: 0.65rem 0.75rem; border-radius: 12px; color: #c5d2e4;
  text-decoration: none; font-weight: 600; font-size: 0.94rem;
}
.nav-link:hover { background: rgba(255,255,255,0.06); text-decoration: none; color: #fff; }
.nav-link.active {
  background: linear-gradient(135deg, rgba(18, 196, 176, 0.22), rgba(27, 111, 229, 0.28));
  color: #fff;
}
.side-foot { margin-top: auto; padding: 0.8rem 0.5rem 0.2rem; font-size: 0.8rem; color: #9bb4d0; }
.side-foot a { color: var(--teal); }

.main { padding: 1.4rem 1.6rem 2.4rem; }
.topbar { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.3rem; }
.page-title { font-family: var(--font); font-size: 2rem; margin: 0; letter-spacing: -0.03em; }
.page-sub { color: var(--muted); margin: 0.25rem 0 0; }

.badge {
  display: inline-flex; align-items: center; border-radius: 999px;
  padding: 0.2rem 0.6rem; font-size: 0.75rem; font-weight: 700;
}
.badge-ok { background: #e7f6ee; color: var(--ok); }
.badge-warn { background: #fef4e6; color: var(--warn); }
.badge-err { background: #fee4e2; color: var(--danger); }
.badge-info { background: var(--teal-soft); color: var(--teal-deep); }
.badge-muted { background: var(--blue-soft); color: var(--muted); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; margin-bottom: 1.2rem; }
.stat {
  background: var(--card); border-radius: var(--radius); padding: 1rem 1.05rem;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.stat b { display: block; font-size: 1.7rem; letter-spacing: -0.03em; }
.stat span { color: var(--muted); font-size: 0.82rem; }

.actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; margin-bottom: 1.4rem; }
.action {
  display: block; background: var(--card); border-radius: 20px; padding: 1.25rem 1.2rem;
  box-shadow: var(--shadow); color: inherit; text-decoration: none !important;
  border: 1px solid var(--line);
}
.action:hover { border-color: var(--teal); transform: translateY(-2px); }
.action h3 { margin: 0 0 0.3rem; font-family: var(--font); font-size: 1.35rem; }
.action p { margin: 0; color: var(--muted); }

.card {
  background: var(--card); border-radius: var(--radius); padding: 1.2rem 1.25rem;
  box-shadow: var(--shadow); margin-bottom: 1rem; border: 1px solid var(--line);
}
.card h2 { font-family: var(--font); margin: 0 0 0.8rem; font-size: 1.35rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.9rem; }

table.data { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
table.data th { text-align: left; color: var(--muted); font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.55rem 0.4rem; border-bottom: 1px solid var(--line); }
table.data td { padding: 0.7rem 0.4rem; border-bottom: 1px solid var(--line); vertical-align: top; }

.line-table input { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 0.45rem 0.5rem; font: inherit; }
.totals { display: flex; justify-content: flex-end; gap: 1.5rem; margin-top: 0.8rem; font-weight: 700; }

.mode-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.mode {
  border: 1px solid var(--line); border-radius: 16px; padding: 1rem; cursor: pointer; background: #fff;
}
.mode.active { border-color: var(--teal); background: var(--teal-soft); box-shadow: inset 0 0 0 1px var(--teal); }
.mode strong { display: block; margin-bottom: 0.25rem; }

.receipt {
  max-width: 420px; margin: 0 auto; background: #fff; padding: 1.2rem;
  font-family: ui-monospace, Consolas, monospace; font-size: 12px;
}
.receipt .fbr { text-align: center; margin-top: 0.8rem; border-top: 1px dashed #bbb; padding-top: 0.8rem; }
.receipt img { width: 140px; height: 140px; }
.receipt .receipt-logo { width: 72px; height: auto; }

@media (max-width: 960px) {
  .app { grid-template-columns: 1fr; }
  .side { flex-direction: row; flex-wrap: wrap; }
  .side-foot { display: none; }
  .stats, .actions, .features, .grid-2, .grid-3, .mode-pick { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
}

/* =========================================================
   ZimFBR public landing page
   ========================================================= */
html:has(.landing-shell) { scroll-behavior: smooth; }

.landing-shell {
  min-height: 100vh;
  background: #f3f6fb;
  color: #0a1a3a;
}

.landing-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: .35rem 1rem;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: .85rem max(1.15rem, calc((100% - 1160px) / 2));
  background: #07101f;
  border-bottom: 0;
  color: #fff;
}
.landing-nav.is-stuck {
  background: rgba(7, 16, 31, .94);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
  backdrop-filter: blur(16px);
}
.landing-nav .brand { justify-self: start; }
.landing-nav .nav-actions { justify-self: end; }
.landing-nav .brand-logo {
  height: 42px;
  max-width: 42px;
  padding: 0;
  background: transparent;
  border-radius: 10px;
  box-shadow: none;
}
.landing-nav-links { display: flex; align-items: center; gap: 1.5rem; }
.landing-nav-links a {
  position: relative;
  color: #c5d3e4;
  font-size: .92rem;
  font-weight: 650;
}
.landing-nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.35rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.landing-nav-links a:hover { color: #fff; text-decoration: none; }
.landing-nav-links a:hover::after { transform: scaleX(1); }

.landing-top {
  position: relative;
  color: #fff;
  background:
    radial-gradient(820px 460px at 12% -10%, rgba(27, 111, 229, .34), transparent 62%),
    radial-gradient(640px 380px at 92% 8%, rgba(18, 196, 176, .18), transparent 58%),
    linear-gradient(180deg, #07101f 0%, #0b1c36 100%);
  overflow: hidden;
}
.landing-top::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse at 50% 35%, #000 15%, transparent 72%);
  pointer-events: none;
}
.landing-hero {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: 3.2rem 1.4rem 3.4rem;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 3rem;
}
.hero-copy { animation: rise .7s ease both; }
.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .85rem;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow { color: #9fc9ff; }
.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(18, 196, 176, .16);
  animation: pulse 2.4s ease-in-out infinite;
}
.landing-hero h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2.8rem, 4.6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.05em;
  font-weight: 800;
  color: #fff;
}
.landing-lede {
  max-width: 38rem;
  margin: 1.15rem 0 0;
  color: #b7c6d8;
  font-size: 1.05rem;
  line-height: 1.7;
}
.landing-hero .hero-cta { margin-top: 1.6rem; }
.btn-lg { padding: .9rem 1.3rem; font-size: .98rem; transition: transform .2s ease, filter .2s ease; }
.btn-lg:hover { transform: translateY(-2px); }
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem .95rem;
  margin-top: 1.45rem;
  color: #93a6be;
  font-size: .8rem;
  font-weight: 650;
}
.hero-proof span { display: inline-flex; align-items: center; gap: .35rem; }
.hero-proof b { color: var(--teal); }

.hero-product {
  position: relative;
  z-index: 2;
  min-width: 0;
  animation: rise .9s .08s ease both;
}
.product-window {
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, .06);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .32);
  animation: floaty 7s ease-in-out infinite;
}
.window-top {
  height: 46px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 1rem;
  background: rgba(3, 10, 22, .9);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: #7d90a8;
  font-size: .68rem;
}
.window-dots { display: flex; gap: .34rem; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #3a4b61; }
.window-dots i:first-child { background: #e96f63; }
.window-dots i:nth-child(2) { background: #d6a645; }
.window-dots i:nth-child(3) { background: #37b17a; }
.secure-chip { justify-self: end; padding: .22rem .55rem; border-radius: 999px; background: rgba(18, 196, 176, .12); color: #7de1d5; }
.window-body { display: grid; grid-template-columns: 62px 1fr; min-height: 360px; background: #f4f7fb; }
.preview-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .85rem;
  padding: 1rem .55rem;
  background: #0a1933;
}
.preview-brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: #fff;
  font-size: .72rem;
  font-weight: 900;
  margin-bottom: .35rem;
}
.preview-nav { display: block; width: 30px; height: 28px; border-radius: 9px; background: rgba(255, 255, 255, .06); position: relative; }
.preview-nav::after { content: ""; position: absolute; width: 11px; height: 2px; border-radius: 4px; background: #6f86a7; left: 9px; top: 13px; }
.preview-nav.active { background: rgba(18, 196, 176, .18); }
.preview-nav.active::after { background: #6ee0d2; }
.preview-main { padding: 1.1rem; min-width: 0; color: #0c1b35; }
.preview-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.preview-head div { display: flex; flex-direction: column; }
.preview-head small { color: #7a899b; font-size: .55rem; letter-spacing: .12em; font-weight: 800; }
.preview-head strong { font-size: 1rem; margin-top: .15rem; }
.live-pill { padding: .32rem .55rem; background: #e8f8f4; color: #137866; border-radius: 999px; font-size: .58rem; font-weight: 800; display: flex; align-items: center; gap: .35rem; }
.live-pill i { width: 6px; height: 6px; border-radius: 50%; background: #17a276; box-shadow: 0 0 0 3px rgba(23, 162, 118, .12); }
.preview-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; margin-top: .9rem; }
.preview-stats article { border: 1px solid #e0e7ef; background: #fff; border-radius: 12px; padding: .7rem; }
.preview-stats span { display: block; color: #718198; font-size: .55rem; }
.preview-stats b { display: block; font-size: 1.2rem; letter-spacing: -.04em; margin: .12rem 0 .04rem; }
.preview-stats em { color: #159173; font-style: normal; font-size: .48rem; }
.preview-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: .55rem; margin-top: .55rem; }
.preview-card { border: 1px solid #e0e7ef; background: #fff; border-radius: 13px; padding: .75rem; }
.preview-card-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: .55rem; }
.preview-card-title span { font-size: .66rem; font-weight: 800; }
.preview-card-title small { color: #7b8ca4; font-size: .48rem; }
.invoice-row { display: grid; grid-template-columns: 1fr auto; gap: .12rem .5rem; align-items: center; padding: .42rem 0; border-top: 1px solid #edf1f6; font-size: .54rem; }
.invoice-row b { font-size: .58rem; }
.invoice-row span { color: #6e7e92; }
.invoice-row i { grid-column: 1 / -1; justify-self: start; font-style: normal; color: #168568; background: #edf9f5; border-radius: 999px; padding: .12rem .32rem; font-size: .44rem; }
.flow-step { display: flex; gap: .45rem; align-items: flex-start; padding: .34rem 0; }
.flow-step > b { display: grid; place-items: center; width: 20px; height: 20px; flex: 0 0 auto; border-radius: 50%; background: #eef2f7; color: #8a99aa; font-size: .5rem; }
.flow-step.done > b { background: #ddf8f2; color: #0f8a70; }
.flow-step span { display: flex; flex-direction: column; }
.flow-step strong { font-size: .54rem; }
.flow-step small { color: #7f8da0; font-size: .46rem; margin-top: .04rem; }
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .65rem .75rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  background: rgba(8, 22, 42, .94);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .28);
  color: #fff;
}
.floating-card-one { right: -8px; top: 72px; animation: floaty 5.5s ease-in-out infinite; }
.floating-card-two { left: -12px; bottom: 28px; animation: floaty 6.2s .4s ease-in-out infinite; }
.floating-card b { display: block; font-size: .7rem; }
.floating-card small { display: block; color: #91a6bf; margin-top: .06rem; font-size: .54rem; }
.float-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: rgba(18, 196, 176, .16); color: #68e0d1; font-weight: 900; }
.qr-mini { background: rgba(27, 111, 229, .18); color: #87baff; }

.trust-wrap {
  position: relative;
  z-index: 3;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.4rem 0.4rem;
}
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .7rem 1.15rem;
  margin: 0;
  padding: .95rem 1.4rem;
  overflow: visible;
  border: 1px solid #e4ebf3;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(11, 31, 60, .07);
  color: #4e6278;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.trust-strip i { width: 5px; height: 5px; border-radius: 50%; background: #12c4b0; flex: 0 0 auto; }

.landing-section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 4.5rem 1.4rem 1rem;
  color: #0a1a3a;
  scroll-margin-top: 5rem;
}
.landing-section#workflow { padding-top: 2.6rem; }
.section-heading { max-width: 740px; margin-bottom: 1.8rem; }
.section-kicker { color: #167bba; }
.section-heading h2,
.landing-cta h2 {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -.04em;
  color: #09182f;
}
.section-heading p { margin: .85rem 0 0; max-width: 640px; color: #5d6e86; font-size: 1rem; line-height: 1.7; }
.workflow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: stretch; }
.workflow-card {
  position: relative;
  min-height: 280px;
  padding: 1.45rem;
  border-radius: 22px;
  border: 1px solid #e1e8f0;
  background: #fff;
  box-shadow: 0 10px 28px rgba(12, 35, 66, .05);
  transition: transform .25s ease, box-shadow .25s ease;
}
.workflow-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(12, 35, 66, .1); }
.workflow-card.featured {
  background: linear-gradient(165deg, #0a1d3c, #12315c);
  color: #fff;
  border-color: #19385f;
}
.step-no { position: absolute; right: 1.25rem; top: 1.15rem; color: #a6b3c2; font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.featured .step-no { color: #8aa4c0; }
.step-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #e8f3ff; color: #186dc7; font-size: 1.2rem; font-weight: 800; }
.featured .step-icon { background: rgba(18, 196, 176, .14); color: #71e0d3; }
.workflow-card h3 { margin: 2.4rem 0 .65rem; font-size: 1.22rem; letter-spacing: -.02em; }
.workflow-card p { margin: 0; color: #627487; line-height: 1.65; font-size: .94rem; }
.featured p { color: #c5d3e2; }

.feature-section { padding-top: 4.5rem; }
.split-heading { max-width: none; display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem; align-items: end; }
.split-heading p { margin-bottom: .15rem; }
.feature-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.bento-card {
  border: 1px solid #e1e8f0;
  border-radius: 22px;
  background: #fff;
  padding: 1.4rem;
  box-shadow: 0 10px 28px rgba(15, 38, 68, .04);
  transition: transform .25s ease, box-shadow .25s ease;
}
.bento-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(15, 38, 68, .09); }
.bento-wide { grid-column: span 2; background: linear-gradient(145deg, #eef6ff, #f7fbff); }
.bento-dark { background: #0b1d38; color: #fff; border-color: #183653; }
.bento-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: #e8f3ff; color: #166bbb; font-weight: 900; font-size: 1.1rem; }
.bento-dark .bento-icon { background: rgba(18, 196, 176, .14); color: #70dfd1; }
.bento-card h3 { margin: 1.15rem 0 .45rem; font-size: 1.15rem; letter-spacing: -.02em; }
.bento-card p { margin: 0; color: #627487; line-height: 1.65; font-size: .92rem; }
.bento-dark p { color: #b7c6d8; }
.source-pills { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.1rem; }
.source-pills span { padding: .28rem .55rem; border: 1px solid #d5e4f3; border-radius: 999px; background: rgba(255, 255, 255, .85); color: #4d6a88; font-size: .68rem; font-weight: 800; }

.pricing-section { padding-top: 4.5rem; padding-bottom: .5rem; }
.pricing-heading { text-align: center; margin-left: auto; margin-right: auto; }
.pricing-heading p { margin-left: auto; margin-right: auto; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: stretch; max-width: 1020px; margin: 0 auto; }
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid #e1e8f0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 35, 65, .05);
  transition: transform .25s ease, box-shadow .25s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15, 35, 65, .1); }
.price-card.recommended {
  border-color: #8fd9d0;
  box-shadow: 0 18px 44px rgba(18, 196, 176, .16);
  background: linear-gradient(180deg, #f4fffd 0%, #fff 42%);
}
.popular-badge { position: absolute; top: -12px; right: 1.2rem; background: #0b8f7f; color: #fff; padding: .32rem .62rem; border-radius: 999px; font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.plan-name { color: #66778c; font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.plan-price { display: flex; align-items: flex-start; gap: .35rem; margin: .7rem 0 .4rem; }
.plan-price small { color: #75869b; font-size: .8rem; font-weight: 800; margin-top: .4rem; }
.plan-price b { font-size: 2.35rem; line-height: 1; letter-spacing: -.05em; }
.price-card > p { min-height: 44px; color: #627487; margin: .2rem 0 .9rem; font-size: .88rem; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 1.3rem; display: grid; gap: .55rem; flex: 1; }
.price-card li { position: relative; padding-left: 1.25rem; color: #3e5368; font-size: .86rem; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: #0c9b83; font-weight: 900; }
.price-ghost { color: #152a45; border-color: #d0dbe6; background: #fff; }

.landing-cta {
  max-width: 1160px;
  margin: 3.2rem auto 0;
  padding: 2.6rem 2.4rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  border-radius: 28px;
  background:
    radial-gradient(420px 180px at 92% 0%, rgba(18, 196, 176, .2), transparent 60%),
    linear-gradient(135deg, #08182f, #12315c);
  box-shadow: 0 24px 50px rgba(8, 26, 51, .16);
  color: #fff;
}
.landing-cta .section-kicker { color: #6bddcf; }
.landing-cta h2 { color: #fff; max-width: 16ch; }
.landing-cta p { color: #b7c6d8; max-width: 36rem; margin: .7rem 0 0; line-height: 1.65; }
.cta-actions { display: flex; flex-direction: column; align-items: stretch; gap: .6rem; min-width: 240px; }
.cta-actions > span { color: #8aa0b8; font-size: .72rem; text-align: center; }

.site-footer {
  margin-top: 3.5rem;
  padding: 3rem max(1.4rem, calc((100% - 1160px) / 2)) 1.2rem;
  background: #07111f;
  color: #9aafc4;
}
.site-footer-inner { display: grid; grid-template-columns: 1.45fr .7fr .75fr .9fr; gap: 2rem; }
.site-footer h4 { margin: 0 0 .85rem; color: #fff; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }
.site-footer a { display: block; color: #c5d3e4; margin: .4rem 0; font-size: .92rem; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-brand p { max-width: 28rem; margin: .85rem 0 0; line-height: 1.6; font-size: .9rem; color: #8ea3ba; }
.site-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .8rem;
}
.site-footer-bottom p { margin: 0; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.in { opacity: 1; transform: none; }
.workflow-grid .reveal:nth-child(2),
.feature-bento .reveal:nth-child(2),
.pricing-grid .reveal:nth-child(2) { transition-delay: .08s; }
.workflow-grid .reveal:nth-child(3),
.feature-bento .reveal:nth-child(3),
.pricing-grid .reveal:nth-child(3) { transition-delay: .16s; }
.feature-bento .reveal:nth-child(4) { transition-delay: .22s; }
.feature-bento .reveal:nth-child(5) { transition-delay: .28s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 5px rgba(18, 196, 176, .16); }
  50% { box-shadow: 0 0 0 8px rgba(18, 196, 176, .05); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Billing plan selector */
.plan-selector { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin: 1rem 0 1.25rem; }
.plan-option { position: relative; display: block; }
.plan-option input { position: absolute; opacity: 0; pointer-events: none; }
.plan-option-inner { display: block; min-height: 134px; border: 1px solid var(--line); border-radius: 16px; padding: 1rem; background: #fff; cursor: pointer; transition: .18s ease; }
.plan-option-inner strong { display: block; font-size: 1rem; }
.plan-option-inner .plan-cost { display: block; margin: .5rem 0 .25rem; font-size: 1.45rem; font-weight: 850; letter-spacing: -.03em; }
.plan-option-inner small { display: block; color: var(--muted); line-height: 1.45; }
.plan-option input:checked + .plan-option-inner { border-color: var(--teal); background: var(--teal-soft); box-shadow: inset 0 0 0 1px var(--teal), 0 8px 22px rgba(18,196,176,.09); }
.plan-option input:focus-visible + .plan-option-inner { outline: 3px solid rgba(27,111,229,.2); outline-offset: 2px; }
.billing-summary { display: flex; flex-wrap: wrap; gap: .5rem .75rem; align-items: center; margin-top: .6rem; color: var(--muted); font-size: .86rem; }
.billing-summary strong { color: var(--ink); }
.plan-chip { display: inline-flex; padding: .24rem .55rem; border-radius: 999px; background: var(--blue-soft); color: var(--blue-deep); font-size: .72rem; font-weight: 800; }

/* Google button */
.google-mark { width: 18px; height: 18px; flex: 0 0 auto; }

@media (max-width: 980px) {
  .landing-nav { grid-template-columns: 1fr auto; }
  .landing-nav-links {
    grid-column: 1 / -1;
    justify-content: flex-start;
    gap: 1.1rem;
    padding: .15rem 0 .2rem;
  }
  .landing-hero { grid-template-columns: 1fr; padding-top: 2.6rem; padding-bottom: 4.6rem; }
  .landing-hero h1 { max-width: 14ch; }
  .hero-product { max-width: 680px; }
  .floating-card-one { right: 8px; }
  .floating-card-two { left: 8px; }
  .workflow-grid, .pricing-grid, .split-heading, .site-footer-inner { grid-template-columns: 1fr; }
  .feature-bento { grid-template-columns: 1fr 1fr; }
  .bento-wide { grid-column: span 2; }
  .landing-cta { grid-template-columns: 1fr; margin-left: 1.4rem; margin-right: 1.4rem; }
  .cta-actions { min-width: 0; align-items: flex-start; }
  .price-card.recommended { transform: none; }
  .plan-selector { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .landing-nav { padding: .75rem 1rem; }
  .landing-nav .brand-tag { display: none; }
  .landing-nav .btn-ghost { display: none; }
  .landing-hero { padding: 2.2rem 1rem 4rem; }
  .landing-hero h1 { font-size: clamp(2.35rem, 11vw, 3.2rem); }
  .landing-hero .hero-cta { display: grid; }
  .landing-hero .hero-cta .btn, .landing-hero .hero-cta .btn-ghost { width: 100%; }
  .window-body { grid-template-columns: 46px 1fr; min-height: 300px; }
  .preview-grid { grid-template-columns: 1fr; }
  .status-card, .floating-card, .preview-stats em { display: none; }
  .window-top { grid-template-columns: 1fr auto; }
  .window-top > span:not(.secure-chip) { display: none; }
  .trust-wrap { padding: 0 1rem; }
  .landing-section { padding-left: 1rem; padding-right: 1rem; }
  .feature-bento { grid-template-columns: 1fr; }
  .bento-wide { grid-column: span 1; }
  .landing-cta { margin-left: 1rem; margin-right: 1rem; padding: 1.6rem 1.2rem; }
  .site-footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html:has(.landing-shell) { scroll-behavior: auto; }
  .hero-copy, .hero-product, .product-window, .floating-card, .eyebrow span, .marquee-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .workflow-card:hover, .bento-card:hover, .price-card:hover, .btn-lg:hover { transform: none; }
}
