/* BizyGrow landing page. Tokens follow bizygrow-brand-assets/BizyGrow_Brand_Color_Palette_Guide.md */
:root {
  --navy: #0F2338;
  --navy-deep: #091827;
  --navy-soft: #16314D;
  --green: #089E5A;
  --green-deep: #047857;
  --green-glow: #34D399;
  --mint: #D1FAE5;
  --mint-soft: #ECFDF5;
  --canvas: #F8FAFC;
  --white: #ffffff;
  --ink: #0F2338;
  --ink-2: #475569;
  --ink-3: #64748B;
  --line: #E2E8F0;
  --line-dark: rgba(255, 255, 255, .12);
  --radius: 14px;
  --shadow-lg: 0 30px 60px -20px rgba(9, 24, 39, .35), 0 12px 24px -12px rgba(9, 24, 39, .2);
  --shadow-md: 0 14px 30px -14px rgba(15, 35, 56, .25);
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--canvas); color: var(--ink);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--green-glow); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; line-height: 1.2; transition: background .15s, transform .15s, border-color .15s;
}
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 10px 24px -10px rgba(8, 158, 90, .7); }
.btn-primary:hover { background: var(--green-deep); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost-dark { color: #fff; border-color: var(--line-dark); background: rgba(255, 255, 255, .04); }
.btn-ghost-dark:hover { background: rgba(255, 255, 255, .1); }
.btn-ghost { color: var(--ink); border-color: #CBD5E1; background: #fff; }
.btn-ghost:hover { background: var(--canvas); }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 10px; }

/* ---------- Header (over dark hero) ---------- */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(9, 24, 39, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-dark); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-logo { display: inline-flex; align-items: center; }
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: none; align-items: center; gap: 26px; font-size: 14px; color: #CBD5E1; }
.nav-links a:hover { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-login { display: none; font-size: 14px; color: #CBD5E1; padding: 8px 6px; }
.nav-login:hover { color: #fff; }
.nav-toggle { background: none; border: 1px solid var(--line-dark); color: #fff; width: 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; }
.nav-menu { display: none; border-top: 1px solid var(--line-dark); background: var(--navy-deep); }
.nav-menu.is-open { display: block; }
.nav-menu a { display: block; padding: 14px 20px; color: #E2E8F0; border-bottom: 1px solid var(--line-dark); }
@media (min-width: 900px) {
  .nav-links, .nav-login { display: flex; }
  .nav-toggle, .nav-menu { display: none !important; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1100px 520px at 78% -10%, rgba(8, 158, 90, .38), transparent 60%), radial-gradient(800px 480px at -10% 110%, rgba(52, 211, 153, .12), transparent 60%), var(--navy-deep); }
.hero::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%); pointer-events: none; }
.hero-in { position: relative; z-index: 1; display: grid; gap: 48px; padding-block: 56px 72px; align-items: center; }
@media (min-width: 980px) { .hero-in { grid-template-columns: 1.02fr 1fr; gap: 40px; padding-block: 84px 104px; } }
.hero h1 { font-size: clamp(34px, 5.4vw, 58px); line-height: 1.04; font-weight: 800; letter-spacing: -.035em; }
.nb { white-space: nowrap; }
.hero h1 em { font-style: normal; color: var(--green-glow); }
.hero-sub { margin-top: 22px; font-size: 18px; color: #B6C4D4; max-width: 540px; line-height: 1.65; }
.hero-form { margin-top: 30px; display: grid; gap: 10px; max-width: 520px; }
@media (min-width: 560px) { .hero-form { grid-template-columns: 1fr 1.25fr auto; } }
.field { width: 100%; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .18); color: #fff; padding: 13px 14px; border-radius: 12px; font: inherit; font-size: 15px; }
.field::placeholder { color: #8DA2B8; }
.field:focus { outline: none; border-color: var(--green-glow); box-shadow: 0 0 0 3px rgba(52, 211, 153, .25); }
.hero-note { margin-top: 14px; font-size: 13.5px; color: #8DA2B8; }
.hero-note a { color: #CBD5E1; text-decoration: underline; text-underline-offset: 3px; }
.form-msg { margin-top: 10px; font-size: 14px; min-height: 20px; }
.form-msg.is-err { color: #FCA5A5; }
.form-msg.is-ok { color: var(--green-glow); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Product stage */
.stage { position: relative; min-height: 500px; }
@media (min-width: 980px) and (max-width: 1179px) { .window { width: 300px; } .phone { width: 204px; } }
.window { position: absolute; right: 0; top: 0; width: 336px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.12); }
.win-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #F1F5F9; border-bottom: 1px solid var(--line); }
.win-bar i { width: 9px; height: 9px; border-radius: 50%; background: #CBD5E1; }
.win-bar span { margin-left: 10px; font-size: 12px; color: var(--ink-3); }
.win-body { display: grid; grid-template-columns: 54px 1fr; }
.win-side { background: var(--navy); padding: 14px 0; display: grid; gap: 12px; justify-items: center; align-content: start; }
.win-side b { width: 28px; height: 28px; border-radius: 8px; background: rgba(255,255,255,.1); }
.win-side b:first-child { background: var(--green); }
.win-main { padding: 14px; display: grid; gap: 10px; min-height: 380px; align-content: start; }
.win-title { font-weight: 800; font-size: 15px; display: flex; justify-content: space-between; align-items: center; }
.win-title small { font-weight: 600; color: var(--ink-3); font-size: 12px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; }
.row strong { font-weight: 700; }
.tag { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--mint); color: var(--green-deep); white-space: nowrap; }
.tag.warn { background: #FEF3C7; color: #92400E; }
.tag.navy { background: #E2E8F0; color: var(--navy); }
.bill { border: 1px solid var(--mint); background: var(--mint-soft); border-radius: 12px; padding: 12px; font-size: 13px; }
.bill-h { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 8px; }
.bill dl { display: grid; gap: 4px; }
.bill dl div { display: flex; justify-content: space-between; color: var(--ink-2); }
.bill dl div.total { border-top: 1px dashed #A7F3D0; margin-top: 4px; padding-top: 6px; color: var(--ink); font-weight: 800; }
.bill-actions { margin-top: 10px; display: flex; gap: 8px; }
.pill-btn { flex: 1; text-align: center; font-size: 12.5px; font-weight: 700; padding: 8px; border-radius: 8px; background: var(--green); color: #fff; }
.pill-btn.alt { flex: 0 0 auto; background: #fff; color: var(--ink); border: 1px solid #CBD5E1; }
.toast { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--green-deep); background: var(--mint-soft); border: 1px solid var(--mint); padding: 8px 10px; border-radius: 10px; }
.toast svg { flex: none; }

.phone { position: absolute; left: 0; bottom: 0; width: 226px; border-radius: 28px; background: #0B141A; padding: 8px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.14); z-index: 2; }
.phone-in { border-radius: 21px; overflow: hidden; background: #0B141A; }
.ph-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #1F2C34; color: #E9EDEF; }
.ph-head i { width: 30px; height: 30px; border-radius: 50%; background: var(--navy-soft); display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-weight: 700; font-size: 13px; }
.ph-head div { line-height: 1.2; font-size: 13px; font-weight: 600; }
.ph-head small { display: block; font-weight: 400; color: #8696A0; font-size: 11px; }
.ph-chat { padding: 12px 10px; min-height: 300px; display: grid; gap: 8px; align-content: start; background: #0B141A; background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px); background-size: 14px 14px; }
.bub { max-width: 88%; font-size: 12.5px; line-height: 1.4; padding: 7px 10px; border-radius: 10px; color: #E9EDEF; }
.bub.in { background: #202C33; border-top-left-radius: 3px; }
.bub.out { background: #005C4B; border-top-right-radius: 3px; margin-left: auto; }
.bub time { display: block; text-align: right; font-size: 10px; color: #8696A0; margin-top: 2px; }
.bub .inv { display: grid; gap: 2px; border-left: 3px solid var(--green-glow); padding-left: 8px; margin-bottom: 4px; }
.bub .inv b { font-size: 13px; }

/* hero loop: items appear progressively when .is-on is set by JS */
.js .step { opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease; }
.js .step.is-on { opacity: 1; transform: none; }
.js .row.step.is-hot { border-color: var(--green); background: var(--mint-soft); }
.btn-state { transition: background .3s; }
.sent .pill-btn { background: var(--ink-3); }
@media (max-width: 979px) {
  .stage { min-height: 0; display: grid; gap: 16px; justify-items: center; }
  .window, .phone { position: relative; inset: auto; }
  .window { width: 100%; max-width: 470px; }
  .phone { width: 260px; }
}
@media (prefers-reduced-motion: reduce) { .js .step { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Integrations strip (scrolling) ---------- */
.strip { background: var(--navy); border-top: 1px solid var(--line-dark); color: #9FB2C6; overflow: hidden; }
.marq { display: flex; width: max-content; animation: marq 36s linear infinite; }
.strip:hover .marq { animation-play-state: paused; }
.marq-t { display: flex; align-items: center; gap: 44px; padding: 20px 22px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.marq-t span:not(.lab)::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green-glow); margin-right: 14px; vertical-align: middle; opacity: .8; }
.marq-t .lab { color: #6F869D; font-weight: 500; }
@keyframes marq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marq { animation: none; width: auto; flex-wrap: wrap; justify-content: center; } .marq-t[aria-hidden] { display: none; } }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
@media (min-width: 768px) { .section { padding: 112px 0; } }
.section-white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.h2 { font-size: clamp(28px, 4.2vw, 44px); line-height: 1.1; font-weight: 800; letter-spacing: -.03em; max-width: 720px; }
.lede { margin-top: 16px; font-size: 18px; color: var(--ink-2); max-width: 640px; }
.head-center { text-align: center; }
.head-center .h2, .head-center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Interactive demo ---------- */
.demo { margin-top: 48px; display: grid; gap: 28px; }
@media (min-width: 900px) { .demo { grid-template-columns: 340px 1fr; gap: 56px; align-items: stretch; } }
.tabs { display: grid; gap: 8px; align-content: start; }
.tab { text-align: left; background: transparent; border: 1px solid transparent; border-radius: 14px; padding: 16px 18px; color: var(--ink-2); transition: background .15s, border-color .15s; position: relative; overflow: hidden; }
.tab strong { display: block; font-size: 17px; color: var(--ink); font-weight: 700; }
.tab span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.5; }
.tab:hover { background: #fff; }
.tab[aria-selected="true"] { background: #fff; border-color: var(--line); box-shadow: var(--shadow-md); }
.tab .bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--green); }
.tab[aria-selected="true"].auto .bar { animation: fill 6s linear forwards; }
@keyframes fill { to { width: 100%; } }
.panel-wrap { position: relative; background: linear-gradient(160deg, var(--mint-soft), #fff 60%); border: 1px solid var(--line); border-radius: 22px; padding: 22px; min-height: 420px; display: flex; align-items: center; justify-content: center; }
.panel { display: none; width: 100%; max-width: 520px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-md); padding: 18px; font-size: 14px; }
.panel.is-on { display: block; animation: pin .35s ease; }
@keyframes pin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .panel.is-on, .tab[aria-selected="true"].auto .bar { animation: none; } .tab[aria-selected="true"].auto .bar { width: 100%; } }
.panel h3 { font-size: 16px; font-weight: 800; display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.panel .eg { position: absolute; right: 18px; bottom: 10px; font-size: 12px; color: var(--ink-3); }
.list { display: grid; gap: 8px; }
.meter { height: 6px; border-radius: 999px; background: #E2E8F0; overflow: hidden; width: 90px; }
.meter i { display: block; height: 100%; background: var(--green); border-radius: 999px; }
.meter.low i { background: #F59E0B; }
.stars { color: #F59E0B; letter-spacing: 2px; font-size: 15px; }
.draft { margin-top: 12px; border: 1px dashed #A7F3D0; background: var(--mint-soft); border-radius: 12px; padding: 12px; font-size: 13.5px; color: var(--ink-2); }
.draft b { display: block; color: var(--green-deep); font-size: 12px; margin-bottom: 4px; }

/* ---------- Facts (answer block) ---------- */
.facts { display: grid; gap: 36px; }
@media (min-width: 900px) { .facts { grid-template-columns: 2fr 3fr; gap: 64px; } }
.facts dl { border-top: 1px solid var(--line); }
.facts dl div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .facts dl div { grid-template-columns: 150px 1fr; gap: 24px; } }
.facts dt { font-weight: 700; }
.facts dd { color: var(--ink-2); }

/* ---------- Bento ---------- */
.bento { margin-top: 48px; display: grid; gap: 16px; }
@media (min-width: 900px) { .bento { grid-template-columns: repeat(6, 1fr); } .c-inbox { grid-column: span 4; } .c-catalog { grid-column: span 2; } .c-books, .c-studio, .c-auto { grid-column: span 2; } }
.cell { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 26px; overflow: hidden; position: relative; display: flex; flex-direction: column; gap: 20px; }
.cell h3 { font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.cell .sub { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); }
.cell.dark { background: var(--navy-deep); border-color: var(--navy-soft); color: #fff; background-image: radial-gradient(520px 260px at 100% 0%, rgba(8,158,90,.28), transparent 70%); }
.cell.dark .sub { color: #B6C4D4; }
.cell.green { background: linear-gradient(155deg, var(--green) 0%, var(--green-deep) 100%); border-color: var(--green-deep); color: #fff; }
.cell.green .sub { color: rgba(255,255,255,.85); }
.ticks { margin-top: 16px; display: grid; gap: 8px; font-size: 14px; color: #D5DEE8; }
.ticks li { display: flex; gap: 10px; align-items: center; }
.ticks li::before { content: ''; width: 16px; height: 16px; flex: none; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 11px no-repeat; }
@media (min-width: 900px) { .c-inbox { flex-direction: row; gap: 32px; align-items: center; } .c-inbox .cell-copy { flex: 0 0 38%; } .c-inbox .inbox { flex: 1; } }

/* shared avatar */
.av { width: 34px; height: 34px; border-radius: 50%; background: var(--mint); color: var(--green-deep); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; flex: none; }

/* inbox */
.inbox { display: grid; gap: 8px; }
.ib-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 9px 11px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); font-size: 13px; }
.ib-row.hot { border-color: rgba(52, 211, 153, .5); background: rgba(52, 211, 153, .08); }
.ib-t small { display: block; color: #8DA2B8; font-size: 12px; }
.ib-row .av { background: rgba(255,255,255,.12); color: #fff; }
.ib-ai { margin-top: 4px; border-radius: 14px; background: #fff; color: var(--ink); padding: 12px 14px; }
.ib-ai-h { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--green-deep); }
.ib-typing { display: none; gap: 4px; padding: 8px 0 4px; }
.ib-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: dot 1s infinite ease-in-out; }
.ib-typing i:nth-child(2) { animation-delay: .15s; } .ib-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 80%, 100% { opacity: .25; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }
.ib-draft { margin-top: 6px; font-size: 13.5px; color: var(--ink-2); }
.ib-act { margin-top: 10px; display: flex; gap: 8px; }
.pill-btn.dk { color: var(--ink); }
.js .c-inbox .ib-draft, .js .c-inbox .ib-act { opacity: 0; transform: translateY(4px); }
.js .c-inbox.is-live .ib-typing { display: flex; animation: hide .01s 1.5s forwards; }
.js .c-inbox.is-live .ib-draft { animation: rise .5s 1.5s forwards; }
.js .c-inbox.is-live .ib-act { animation: rise .5s 1.9s forwards; }
@keyframes hide { to { display: none; opacity: 0; height: 0; padding: 0; } }
@keyframes rise { to { opacity: 1; transform: none; } }

/* catalog */
.shot { position: relative; border-radius: 16px; overflow: hidden; flex: 1; min-height: 220px; }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.chip { position: absolute; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; background: rgba(255,255,255,.96); border-radius: 12px; padding: 8px 11px; font-size: 12.5px; box-shadow: 0 10px 24px -10px rgba(15,35,56,.5); }
.chip b { font-weight: 700; }
.chip em { font-style: normal; font-weight: 700; font-size: 11px; color: var(--green-deep); background: var(--mint); padding: 2px 8px; border-radius: 999px; }
.chip.low em { color: #92400E; background: #FEF3C7; }
.chip.c1 { left: 12px; top: 14px; } .chip.c2 { right: 12px; bottom: 14px; }

/* accounting */
.books { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; margin-top: auto; }
.kpi { background: rgba(255,255,255,.14); border-radius: 14px; padding: 12px 14px; display: grid; gap: 2px; }
.kpi span { font-size: 12px; color: rgba(255,255,255,.8); }
.kpi b { font-size: 24px; letter-spacing: -.02em; line-height: 1.1; }
.spark { grid-column: 1 / -1; width: 100%; height: 84px; overflow: visible; }
.spark-area { fill: rgba(255,255,255,.14); }
.spark-line { fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 420; stroke-dashoffset: 0; }
.js .c-books .spark-line { stroke-dashoffset: 420; }
.js .c-books.is-live .spark-line { animation: draw 1.6s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.18); }

/* ledger rows inside the accounting cell */
.ledger { grid-column: 1 / -1; display: grid; gap: 8px; }
.ledger div { display: flex; justify-content: space-between; gap: 12px; align-items: center; font-size: 13px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); }
.ledger b { font-weight: 700; }

/* studio */
.poster { aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden; position: relative; color: #fff; margin-top: auto; }
.poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.poster div { position: absolute; left: 0; right: 0; top: 0; padding: 22px 18px; text-align: center; background: linear-gradient(180deg, rgba(9,24,39,.6), transparent); }
.poster b { display: block; font-size: 26px; line-height: 1.1; letter-spacing: -.02em; color: #FDE68A; }
.poster small { display: block; margin-top: 6px; font-size: 12px; color: #E2E8F0; }

/* automation */
.steps { margin-top: auto; display: grid; gap: 0; position: relative; }
.steps li { position: relative; display: grid; gap: 2px; padding: 12px 14px 12px 44px; border: 1px solid var(--line); border-radius: 14px; background: var(--canvas); }
.steps li + li { margin-top: 18px; }
.steps li::before { content: ''; position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: #fff; border: 2px solid var(--green); }
.steps li + li::after { content: ''; position: absolute; left: 21px; top: -19px; width: 2px; height: 18px; background: repeating-linear-gradient(#A7F3D0 0 4px, transparent 4px 7px); }
.steps li.g { background: var(--mint-soft); border-color: #A7F3D0; }
.steps li.g::before { background: var(--green); }
.st-k { font-size: 12px; font-weight: 700; color: var(--green-deep); }
.st-v { font-size: 14px; font-weight: 600; }

/* tiles for the rest of the modules */
.more-h { margin-top: 56px; font-size: 18px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.tiles { margin-top: 16px; display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 6px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.tile:hover { border-color: #A7F3D0; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.tile .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--mint); color: var(--green-deep); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.tile h4 { font-size: 16px; font-weight: 800; }
.tile p { font-size: 14px; color: var(--ink-2); }
.tile.cta { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; justify-content: space-between; background-image: radial-gradient(300px 160px at 100% 0%, rgba(8,158,90,.4), transparent 70%); }
.tile.cta p { color: #B6C4D4; }
.tile.cta .btn { margin-top: 12px; align-self: flex-start; background: var(--green); color: #fff; }
.tile.cta .btn:hover { background: var(--green-deep); }
.tile.cta:hover { transform: none; box-shadow: none; border-color: var(--navy-deep); }
@media (prefers-reduced-motion: reduce) {
  .js .c-inbox .ib-draft, .js .c-inbox .ib-act { opacity: 1; transform: none; animation: none !important; }
  .js .c-inbox.is-live .ib-typing { display: none; animation: none; }
  .js .c-books .spark-line { stroke-dashoffset: 0; animation: none !important; }
  .tile { transition: none; }
}

/* ---------- A day (story) ---------- */
.day { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .day { grid-template-columns: 1fr 1fr; gap: 72px; } }
.day-img { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; position: relative; box-shadow: var(--shadow-lg); }
.day-img img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.timeline { margin-top: 28px; display: grid; gap: 0; border-left: 2px solid var(--line); margin-left: 6px; }
.tl { position: relative; padding: 0 0 26px 26px; }
.tl::before { content: ''; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--mint); }
.tl time { font-size: 13px; font-weight: 700; color: var(--green-deep); }
.tl h3 { font-size: 17px; font-weight: 700; margin-top: 2px; }
.tl p { color: var(--ink-2); font-size: 15px; margin-top: 2px; }

/* ---------- Savings calculator ---------- */
.calc2 { margin-top: 48px; display: grid; gap: 20px; }
@media (min-width: 960px) { .calc2 { grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: stretch; } }
.calc-box { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px; }
.calc-top { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.calc-top h3 { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.calc-btns { display: flex; gap: 6px; }
.btn-text { background: transparent; color: var(--ink-3); border-color: transparent; }
.btn-text:hover { color: var(--ink); background: var(--canvas); }
.calc-hint { margin-top: 6px; font-size: 14px; color: var(--ink-3); }
.tools { margin-top: 18px; display: grid; gap: 6px; }
.tool { display: grid; grid-template-columns: 40px 1fr 74px; gap: 14px; align-items: center; padding: 12px 10px; border-radius: 16px; transition: background .15s; }
.tool:hover, .tool:focus-within { background: var(--canvas); }
.tool .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--canvas); color: var(--ink-3); display: inline-flex; align-items: center; justify-content: center; transition: background .2s, color .2s; }
.tool.on .ic { background: var(--mint); color: var(--green-deep); }
.tool-m label { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 8px; }
.amt { text-align: right; font-size: 17px; font-weight: 800; letter-spacing: -.01em; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.tool.on .amt { color: var(--ink); }

.slider { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px; outline-offset: 6px; cursor: pointer; --p: 0%; background: linear-gradient(90deg, var(--green) var(--p), #E2E8F0 var(--p)); }
.slider::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--green); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(15,35,56,.35); transition: transform .12s; }
.slider::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--green); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(15,35,56,.35); }
.slider:active::-webkit-slider-thumb { transform: scale(1.15); }
.slider::-moz-range-track { height: 8px; border-radius: 999px; background: transparent; }

.result2 { background: var(--navy-deep); color: #fff; border-radius: 24px; padding: 30px; display: flex; flex-direction: column; gap: 14px; background-image: radial-gradient(420px 240px at 100% 0%, rgba(8,158,90,.4), transparent 70%); }
.r-k { font-size: 14px; color: #9FB2C6; }
.r-big { display: flex; align-items: baseline; gap: 10px; }
.r-big span { font-size: clamp(40px, 5vw, 56px); font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.r-big small { color: #9FB2C6; font-size: 15px; }
.cmp { display: grid; gap: 10px; margin: 6px 0; }
.cmp-row { display: grid; grid-template-columns: 112px 1fr; gap: 12px; align-items: center; font-size: 13px; color: #B6C4D4; }
.cmp-bar { height: 12px; border-radius: 999px; background: rgba(255,255,255,.1); overflow: hidden; }
.cmp-bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: #94A3B8; transition: width .5s cubic-bezier(.2, .8, .2, 1); }
.cmp-bar i.g { background: var(--green-glow); width: 0; }
.r-save { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; letter-spacing: -.02em; color: var(--green-glow); line-height: 1.2; }
.r-sub { font-size: 14.5px; color: #B6C4D4; }
.result2 .btn { align-self: flex-start; margin-top: 4px; }
.r-fine { margin-top: auto; font-size: 12px; color: #7C91A8; }
@media (max-width: 520px) { .tool { grid-template-columns: 36px 1fr 64px; gap: 10px; padding: 12px 4px; } .cmp-row { grid-template-columns: 96px 1fr; } .calc-box, .result2 { padding: 22px; } }
@media (prefers-reduced-motion: reduce) { .cmp-bar i, .tool .ic { transition: none; } }

/* ---------- Pricing (light, green price panel) ---------- */
.pricing { background: linear-gradient(180deg, var(--mint-soft) 0%, #fff 70%); border-top: 1px solid var(--line); }
.p-card { margin-top: 48px; display: grid; border-radius: 28px; overflow: hidden; border: 1px solid #BFEBD6; background: #fff; box-shadow: var(--shadow-lg); }
@media (min-width: 900px) { .p-card { grid-template-columns: 5fr 7fr; } }
.p-price { padding: 36px; color: #fff; background: radial-gradient(420px 260px at 0% 0%, rgba(255,255,255,.18), transparent 60%), linear-gradient(160deg, var(--green) 0%, var(--green-deep) 100%); display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.p-name { font-weight: 700; color: rgba(255,255,255,.9); }
.p-amt { font-size: clamp(60px, 8vw, 84px); font-weight: 800; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; margin-top: 6px; }
.p-amt small { font-size: 17px; font-weight: 500; letter-spacing: 0; color: rgba(255,255,255,.8); }
.p-tax { font-size: 13px; color: rgba(255,255,255,.75); }
.btn-white { background: #fff; color: var(--green-deep); margin-top: 22px; align-self: flex-start; }
.btn-white:hover { background: var(--mint); }
.p-batch { margin-top: 12px; font-size: 13px; color: rgba(255,255,255,.8); }
.p-incl { padding: 36px; }
.p-incl h3 { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.p-list { margin-top: 20px; display: grid; gap: 12px 24px; font-size: 15px; }
@media (min-width: 560px) { .p-list { grid-template-columns: 1fr 1fr; } }
.p-list li { display: flex; gap: 10px; align-items: flex-start; }
.p-list svg { flex: none; color: var(--green); margin-top: 3px; }
.p-notes { margin-top: 28px; display: grid; gap: 22px; }
@media (min-width: 800px) { .p-notes { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.p-notes li { padding-top: 18px; border-top: 2px solid var(--green); }
.p-notes h3 { font-size: 16px; font-weight: 800; }
.p-notes p { margin-top: 4px; font-size: 14.5px; color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 44px auto 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 17px; font-weight: 700; }
.faq summary svg { flex: none; color: var(--green-deep); transition: transform .15s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 680px; }

/* ---------- Final CTA ---------- */
.final { background: radial-gradient(700px 300px at 50% 0%, rgba(8,158,90,.35), transparent 70%), var(--navy-deep); color: #fff; text-align: center; padding: 88px 0; }
.final h2 { font-size: clamp(30px, 4.6vw, 48px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; max-width: 720px; margin: 0 auto; }
.final p.lede { color: #B6C4D4; margin-left: auto; margin-right: auto; }
.final .hero-form { margin: 30px auto 0; text-align: left; }

/* ---------- Footer ---------- */
.foot { background: #fff; border-top: 1px solid var(--line); padding: 56px 0 28px; font-size: 14px; color: var(--ink-2); }
.foot-grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1.3fr 1fr; } }
.foot-grid > div:first-child { grid-column: 1 / -1; }
@media (min-width: 800px) { .foot-grid > div:first-child { grid-column: auto; } }
.foot h2 { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.foot li + li { margin-top: 8px; }
.foot a:hover { color: var(--green-deep); }
.foot address { font-style: normal; display: grid; gap: 8px; }
.foot-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-3); }

/* ---------- Sticky CTA + modal ---------- */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: rgba(9, 24, 39, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line-dark); transform: translateY(110%); transition: transform .3s ease; }
.sticky.is-on { transform: none; }
.sticky-in { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; color: #fff; font-size: 14px; }
.sticky-in p { font-weight: 600; font-size: 13.5px; line-height: 1.3; }
.sticky-in .btn { white-space: nowrap; flex: none; }
.sticky-in p span { color: #9FB2C6; font-weight: 500; display: none; }
@media (min-width: 640px) { .sticky-in p span { display: inline; } }
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.is-open { display: flex; }
.modal-bg { position: absolute; inset: 0; background: rgba(9, 24, 39, .66); backdrop-filter: blur(4px); }
.modal-card { position: relative; background: #fff; border-radius: 22px; width: 100%; max-width: 440px; padding: 28px; box-shadow: var(--shadow-lg); }
.modal-card h3 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.modal-card > p { color: var(--ink-2); margin-top: 6px; font-size: 14.5px; }
.modal-close { position: absolute; right: 14px; top: 14px; background: none; border: 0; width: 36px; height: 36px; border-radius: 10px; color: var(--ink-3); font-size: 22px; line-height: 1; }
.modal-close:hover { background: var(--canvas); }
.mform { margin-top: 18px; display: grid; gap: 10px; }
.mform .field { background: #fff; color: var(--ink); border-color: #CBD5E1; }
.mform .field::placeholder { color: #94A3B8; }
.mform .btn { width: 100%; }
.mform .form-msg.is-ok { color: var(--green-deep); }
.mform .form-msg.is-err { color: #B91C1C; }

/* ---------- Alive layer: motion that answers scroll and load ---------- */
.progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 400; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--green), var(--green-glow)); pointer-events: none; }
.btn-primary { transition: background .15s, transform .15s, box-shadow .15s; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -10px rgba(8, 158, 90, .75); }

@media (prefers-reduced-motion: no-preference) {
  /* hero entrance, once */
  .js .hero h1, .js .hero-sub, .js .hero-form, .js .hero-note { animation: lift .8s cubic-bezier(.2, .7, .2, 1) both; }
  .js .hero-sub { animation-delay: .12s; } .js .hero-form { animation-delay: .24s; } .js .hero-note { animation-delay: .34s; }
  .js .stage { animation: lift 1s .2s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes lift { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
  /* gentle float of the product stage */
  .window { animation: float-a 8s ease-in-out infinite; }
  .phone { animation: float-b 7s ease-in-out infinite; }
  @keyframes float-a { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
  @keyframes float-b { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(9px); } }
  /* slow drifting glow behind the hero */
  .hero::before { content: ''; position: absolute; width: 720px; height: 720px; right: -120px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(52, 211, 153, .22), transparent 65%); animation: drift 14s ease-in-out infinite alternate; pointer-events: none; }
  @keyframes drift { to { transform: translate(-140px, 90px) scale(1.15); } }
  /* a soft ring on the main CTA */
  .hero-form .btn-primary { animation: ring 3.2s 1.6s infinite; }
  @keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); } 70%, 100% { box-shadow: 0 0 0 16px rgba(52, 211, 153, 0); } }
  /* scroll reveal, staggered by JS */
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); will-change: opacity, transform; }
  .reveal.is-in { opacity: 1; transform: none; will-change: auto; }
  .reveal.pop { transform: translateY(24px) scale(.97); }
  .reveal.pop.is-in { transform: none; }
}
/* timeline fills with scroll */
.timeline { position: relative; border-left-color: var(--line); }
.timeline::after { content: ''; position: absolute; left: -2px; top: 0; width: 2px; height: calc(var(--prog, 0) * 100%); background: linear-gradient(var(--green), var(--green-glow)); }
.day-img { overflow: hidden; }
.day-img img { height: 112%; transform: translateY(var(--py, 0px)); will-change: transform; }
@media (prefers-reduced-motion: reduce) { .day-img img { height: 100%; transform: none; } .timeline::after { height: 100%; } .hero::before { display: none; } }

/* consent line under sign-up forms */
.consent { grid-column: 1 / -1; margin-top: 2px; font-size: 12.5px; color: #8DA2B8; }
.consent a { text-decoration: underline; text-underline-offset: 2px; }
.mform .consent { color: var(--ink-3); }
.final .consent { text-align: left; }
