/* Bizznify landing (redesign 2026-10-30). Plan: docs/plans/2026-10-30-landing-redesign.md
   Theme: light page, orange = accent. Hero = warm light with a quiet orange net at the edges (canvas); the flow is the only animation.
   Dark hero REJECTED twice (user 2026-10-30: "takes all the attention, can't focus on product"). */

:root {
  /* brand */
  --orange: #ff9900;
  --orange-deep: #e8740c;     /* buttons: white text passes contrast */
  --orange-side: #c95f08;     /* the "side" face of 3D orange tiles */
  --rose: #f0506e;
  --teal: #2bb39a;
  --teal-deep: #178a75;

  /* light page */
  --paper: #faf8f5;
  --card: #ffffff;
  --text: #16130f;
  --text-2: #5b5650;
  --text-3: #8a847c;
  --line: #ebe6df;

  /* status pills in the product preview */
  --ok: #15803d;   --ok-bg: #e8f6ec;
  --warn: #b45309; --warn-bg: #fff4e0;
  --info: #1d4ed8; --info-bg: #e8efff;

  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 22px;
  --shadow-soft: 0 1px 2px rgba(16, 12, 8, .06), 0 8px 24px rgba(16, 12, 8, .06);
  --shadow-float: 0 2px 6px rgba(60, 35, 10, .08), 0 30px 80px rgba(60, 35, 10, .16);
  --max: 1200px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Inter Tight', 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6;
  color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--orange-deep); outline-offset: 3px; border-radius: 6px; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px;
  background: var(--orange); color: #000; font-weight: 700; border-radius: var(--r-sm);
}
.skip-link:focus { top: 12px; }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 16px;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn-sm { height: 42px; padding: 0 20px; font-size: 15px; }
.btn-primary {
  background: linear-gradient(180deg, #f58a1f, var(--orange-deep)); color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 8px 24px rgba(232, 116, 12, .35);
}
.btn-primary { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-20deg); animation: sweep 4.5s ease-in-out infinite;
}
@keyframes sweep { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 12px 32px rgba(232, 116, 12, .5); }
.btn-ghost { color: var(--text); border-color: rgba(22,19,15,.12); background: rgba(255,255,255,.7); box-shadow: var(--shadow-soft); }
.btn-ghost:hover { background: #fff; transform: translateY(-1px); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ── Nav ─────────────────────────────────────────────── */
.nav { position: fixed; inset: 14px 0 auto 0; z-index: 50; color: var(--text); padding: 0 16px; }
.nav-inner {
  display: flex; align-items: center; gap: 32px; height: 60px; max-width: 1120px; padding: 0 10px 0 24px;
  border-radius: 999px; background: rgba(250, 248, 245, .94); border: 1px solid rgba(232, 116, 12, .12);   /* = page paper colour, like the bottom of the page (user 2026-10-30); was see-through white that turned orange over the halo */
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px rgba(0, 0, 0, .04);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  transition: background .25s ease, box-shadow .25s ease;
}
.nav.scrolled .nav-inner { background: rgba(250, 248, 245, .97); box-shadow: 0 1px 2px rgba(60, 35, 10, .06), 0 14px 40px rgba(60, 35, 10, .12); }
.logo { display: inline-flex; flex-direction: column; font-weight: 800; font-size: 22px; letter-spacing: -.02em; line-height: 1; }
.logo .fy { color: var(--orange); }
.logo-bar { width: 40px; height: 3px; margin-top: 4px; border-radius: 99px; background: var(--orange); }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: 15px; font-weight: 500; }
.nav-links a { opacity: .75; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 18px; font-size: 15px; font-weight: 500; }
.nav-signin { opacity: .8; }
.nav-signin:hover { opacity: 1; }
.hamburger {
  display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 10px;
  background: rgba(255,255,255,.6); border: 1px solid rgba(22,19,15,.15); color: inherit; cursor: pointer;
}
.hamburger span { display: block; width: 18px; height: 2px; margin: 4px auto; background: currentColor; border-radius: 2px; }
.mobile-menu {
  display: none; flex-direction: column; gap: 4px; max-width: 1120px; margin: 8px auto 0; padding: 8px 20px 20px;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-float);
}
.mobile-menu a { padding: 12px 0; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 12px; border: 0; }
.nav.open .mobile-menu { display: flex; }

/* ── Hero: warm off-white, one brand halo, quiet edge net ── */
.hero {
  position: relative; overflow: hidden; isolation: isolate; padding: 168px 0 72px;
  /* best page: bright cream behind the text, edges one step warmer (sand/apricot, never dark: dark REJECTED) */
  background:
    var(--paper);   /* top = same cream as the bottom of the page (user 2026-10-30); was apricot #f8e7d2 -> #faecdc */
}
/* one controlled brand halo at the top, no rainbow (multi-colour glow REJECTED: "looks like a paint business", user 2026-10-30) */
.aurora {
  position: absolute; z-index: -2; left: 50%; top: -420px; width: min(1300px, 150vw); height: 860px;
  border-radius: 50%; pointer-events: none; transform: translateX(-50%);
  background: none;   /* top halo off: hero = one flat cream like the page bottom (user 2026-10-30) */
  animation: halo 9s ease-in-out infinite alternate;
}
@keyframes halo { to { opacity: .7; transform: translateX(-50%) scale(1.05); } }
/* quiet edge net (canvas, drawn by initDots in landing.js) */
.hero-dots { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
/* fine paper grain over the hero (tactile, premium) */
.grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; mix-blend-mode: multiply;   /* grain off: it darkened the hero vs the page */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45  0 0 0 0 .35  0 0 0 0 .25  0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* soft lighter "stage" behind the headline (like the panel in the Scaler ad, but subtle) */
.hero::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 90px; width: min(900px, 92vw); height: 420px;
  transform: translateX(-50%); border-radius: 40px;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0));
}
/* fade into the page body */
.hero::after {
  content: ""; position: absolute; z-index: -1; inset: auto 0 0 0; height: 120px;
  background: linear-gradient(180deg, transparent, var(--paper));
}
.hero-copy { position: relative; text-align: center; max-width: 1040px; margin: 0 auto; }
/* eyebrow: editorial small caps between two fading hairlines (pill REJECTED as cheap, user 2026-10-30) */
.eyebrow {
  display: inline-flex; align-items: center; gap: 16px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #a8500a;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 56px; height: 1px; background: linear-gradient(90deg, transparent, var(--orange-deep)); }
.eyebrow::after { background: linear-gradient(270deg, transparent, var(--orange-deep)); }
.hero h1 { margin: 20px 0 0; font-family: var(--font-head); font-size: clamp(42px, 6.6vw, 82px); line-height: 1; letter-spacing: -.038em; font-weight: 700; }
.grad {
  background: linear-gradient(92deg, var(--orange-deep) 0%, var(--orange) 25%, var(--rose) 50%, var(--orange) 75%, var(--orange-deep) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 8s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }
.hero h1 .grad { display: block; }   /* "Finally connected." always on its own line */
.hero-sub { margin: 24px auto 0; max-width: 680px; font-size: clamp(17px, 1.6vw, 19.5px); color: var(--text-2); }
.hero-ctas { margin-top: 34px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--text-2); }
.hero-note b { color: var(--text); font-weight: 600; }


/* ── Hero flow: small round module icons scattered around the headline; a signal travels between them
      through the neuron net (canvas). Big 3D tiles, wavy path and straight row REJECTED (user 2026-10-30). ── */
.flow { max-width: 1140px; margin: 40px auto 0; }
.flow-top { display: flex; justify-content: center; }
.flow-toggle {
  display: inline-flex; padding: 4px; border-radius: 99px;
  background: rgba(255,255,255,.55); border: 1px solid rgba(22,19,15,.08);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.flow-toggle button {
  font: inherit; font-size: 14px; font-weight: 600; color: var(--text-2); background: none; border: 0;
  padding: 7px 18px; border-radius: 99px; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s;
}
.flow-toggle button[aria-selected="true"] { background: #fff; color: var(--text); box-shadow: var(--shadow-soft); }

/* desktop: the module layer covers the whole hero (positions are % of the hero, set in landing.js) */
.scene { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.flow-steps { list-style: none; margin: 0; padding: 0; }
.flow-steps[hidden] { display: none; }
.flow-steps li { position: absolute; transform: translate(-50%, -22px); pointer-events: auto; }
.node {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0; width: 116px;
  font: inherit; font-size: 13px; font-weight: 600; color: var(--text-2); text-align: center;
  background: none; border: 0; cursor: pointer; transition: color .5s ease;
}
/* module = small white disc with an orange ring */
.node .ic {
  position: relative; isolation: isolate; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  color: var(--orange-deep); background: #fff; border: 1.5px solid rgba(232, 116, 12, .45);
  box-shadow: 0 0 0 6px rgba(255, 153, 0, .08), 0 6px 18px rgba(232, 116, 12, .16);
  transition: transform 1.2s cubic-bezier(.22,.61,.36,1), color .9s ease, background 1s ease, border-color 1s ease, box-shadow 1.2s ease;
}
.node .ic svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.node:hover .ic { transform: scale(1.06); }
/* best page (user 2026-10-30 picked B): the module is a neuron cell body drawn on the canvas under the icon,
   so the white disc, thin ring, shadow, fill and wave ring are switched off here (round border REJECTED) */
.node .ic, li.active .node .ic, li.done .node .ic { background: none; border-color: transparent; box-shadow: none; }
.node .ic::before, .node .ic::after { display: none; }
li.active .node .ic { transform: scale(1.06); }
.node { gap: 12px; }   /* label clear of the cell body's outer membrane */
/* soft arrival (user 2026-10-30: the hard pop + repeating ping REJECTED): the orange fill grows from the
   centre and fades in, the disc grows a little with no bounce, one wave spreads out, then a calm slow glow */
.node .ic::before {
  content: ""; position: absolute; inset: -1.5px; z-index: -1; border-radius: 50%;
  background: linear-gradient(160deg, #ffb347 0%, var(--orange) 45%, var(--orange-deep) 100%);
  opacity: 0; transform: scale(.35); transition: opacity 1.1s ease, transform 1.3s cubic-bezier(.22,.61,.36,1);
}
.node .ic::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1.5px solid rgba(255, 153, 0, .5); opacity: 0; pointer-events: none; }
li.active .node { color: var(--text); }
li.active .node .ic {
  color: #fff; border-color: transparent; transform: scale(1.1);
  box-shadow: 0 0 0 8px rgba(255, 153, 0, .14), 0 10px 26px rgba(232, 116, 12, .38);
}
li.active .node .ic::before { opacity: 1; transform: scale(1); }
li.active .node .ic::after { animation: wave 2.8s cubic-bezier(.25,.1,.25,1) .2s 1 both, breathe 4.8s ease-in-out 3s infinite; }
@keyframes wave { from { opacity: .55; transform: scale(.95); } to { opacity: 0; transform: scale(1.55); } }
@keyframes breathe { 0%, 100% { opacity: 0; transform: scale(1); } 50% { opacity: .4; transform: scale(1.12); } }

/* "done" = pale peach disc + solid orange ring: progress stays in the orange family
   (user 2026-10-30 picked A; teal, plain white (B) and corner tick (C) REJECTED) */
li.done .node .ic { background: #ffe3c4; border-color: var(--orange); color: var(--orange-deep); box-shadow: 0 0 0 6px rgba(255, 153, 0, .1), 0 6px 18px rgba(232, 116, 12, .16); }
/* best page: the cell body on the canvas replaces the disc, so the active/done disc, ring shadow and orange fill
   above stay off (they come later in the file, so they must be switched off again here; round ring REJECTED) */
.node .ic, li.active .node .ic, li.done .node .ic { background: none; border-color: transparent; box-shadow: none; }
li.active .node .ic { transform: scale(1.06); }

/* what the step solves: plain text under the scene, no box. Height is fixed by landing.js (tallest text) */
.flow-say { position: relative; max-width: 760px; margin: 22px auto 0; text-align: center; }
.say-without { margin: 0; font-size: 15.5px; color: var(--text-3); }
.say-without s { text-decoration-color: rgba(240, 80, 110, .7); text-decoration-thickness: 2px; }
.say-with { margin: 6px 0 0; font-size: clamp(19px, 2.2vw, 24px); line-height: 1.35; font-weight: 700; letter-spacing: -.015em; color: var(--text); }
/* "With Bizznify:" label in orange pairs with the grey "Today:" (teal tick disc REJECTED: "looks odd", user 2026-10-30) */
.say-tag { color: var(--orange-deep); }
/* soft text change = crossfade (user 2026-10-30: blank gap felt sudden): a copy of the old text fades out on
   top while the new text fades in under it; "Today" first, the "With Bizznify" line a moment later */
.flow-say p { transition: opacity .8s ease, transform .8s cubic-bezier(.22,.61,.36,1); }
.flow-say .say-with { transition-delay: .14s; }
.flow-say.enter > p { opacity: 0; transform: translateY(6px); transition: none; }
.say-old { position: absolute; inset: 0; pointer-events: none; }
.flow-say .say-old p { transition: opacity .55s ease, transform .55s ease; transition-delay: 0s; }
.flow-say .say-old.go p { opacity: 0; transform: translateY(-5px); }

/* ── Product preview frame (for the "Explore the product" section, next step) ── */
.app {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  background: var(--card); color: var(--text); box-shadow: var(--shadow-float); border: 1px solid var(--line);
}
.pill { display: inline-block; padding: 2px 9px; border-radius: 99px; font-size: 12px; font-weight: 600; }
.pill.ok { color: var(--ok); background: var(--ok-bg); }
.pill.warn { color: var(--warn); background: var(--warn-bg); }
.pill.info { color: var(--info); background: var(--info-bg); }

/* ── Responsive ──────────────────────────────────────── */
/* desktop: headline + all modules + step text fit in the first screen, no scrolling (user 2026-10-30) */
@media (min-width: 901px) {
  .hero { padding: clamp(104px, 15vh, 168px) 0 clamp(24px, 5vh, 72px); }
  .hero h1 { font-size: min(clamp(42px, 6.6vw, 82px), 9.2vh); }
}
@media (min-width: 901px) and (max-height: 860px) {
  .hero h1 { margin-top: 14px; }
  .hero-sub { margin-top: 16px; }
  .hero-ctas { margin-top: 24px; }
  .hero-note { margin-top: 10px; }
  .flow { margin-top: 20px; }
  .flow-say { margin-top: 12px; }
}
@media (max-width: 900px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: block; }
  /* narrow: no room around the headline -> modules zig-zag in a box under the buttons */
  .flow { display: flex; flex-direction: column; }
  .flow-say { order: 1; margin-top: 18px; }
  .scene { position: relative; inset: auto; order: 2; width: 100%; max-width: 360px; aspect-ratio: 300 / 560; margin: 10px auto 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .hero { padding-top: 116px; }
  .hero-ctas .btn { width: 100%; }
  .eyebrow { font-size: 11px; letter-spacing: .12em; gap: 10px; }
  .eyebrow::before, .eyebrow::after { width: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* access-control band right under the hero (user 2026-10-30: "access control is the best thing") */
/* no white strip or borders (user 2026-10-30: it cut the hero from the body); a quiet line on the same cream */
.trust-band { position: relative; z-index: 1; background: var(--paper); }
.trust-band .container { display: flex; align-items: center; justify-content: center; gap: 14px 40px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.trust-band h2 { margin: 0; font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.hero-trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 32px; font-size: 15px; font-weight: 600; color: var(--text); }
.hero-trust li { display: inline-flex; align-items: center; gap: 10px; }
.hero-trust svg { width: 20px; height: 20px; flex: none; stroke: var(--orange-deep); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 600px) { .hero-trust { flex-direction: column; align-items: flex-start; gap: 10px; } }



/* ════ Page body = the journey of one order (user 2026-10-30). Cards, tabs and boxed sections REJECTED ("too many
   cards and containers"); the hero's warm cream, glow and neuron line carry on all the way down. ════ */
.section { position: relative; overflow: hidden; overflow: clip; padding: 112px 0; }   /* heading glow never widens the page */
.sec-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section h2, .journey h2, .final-cta h2 {
  margin: 16px 0 0; font-family: var(--font-head); font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.05; letter-spacing: -.032em; font-weight: 700; text-wrap: balance;
}
.lead { margin: 18px auto 0; max-width: 600px; font-size: clamp(17px, 1.5vw, 19px); color: var(--text-2); text-wrap: balance; }
h3 { font-family: var(--font-head); letter-spacing: -.015em; }
/* soft orange light behind every big heading, like the hero halo */
.sec-head, .final-cta .container { position: relative; isolation: isolate; }
.sec-head::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 640px; max-width: 120%; height: 260px;
  transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(255, 153, 0, .13), transparent);
}

/* soft fade-up on scroll (only when JS runs; reduced motion = shown at once) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.22,.61,.36,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ── Journey ── */
.journey {
  position: relative; isolation: isolate; overflow: hidden; overflow: clip; padding: 72px 0 24px;
  /* warm glow pools that swap sides down the page (same family as the hero edges) */
  background:
    radial-gradient(ellipse 45% 22% at 0% 22%, rgba(255, 170, 90, .16), transparent 70%),
    radial-gradient(ellipse 45% 22% at 100% 48%, rgba(255, 170, 90, .16), transparent 70%),
    radial-gradient(ellipse 45% 22% at 0% 76%, rgba(255, 170, 90, .14), transparent 70%),
    var(--paper);
}
.spine { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
/* svg parts of the journey (drawn by initJourney) */
.j-line { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.j-base .halo { stroke: rgba(255, 140, 20, .07); stroke-width: 14; }
.j-base .glow { stroke: rgba(255, 140, 20, .16); stroke-width: 5; }
.j-base .core { stroke: rgba(232, 116, 12, .5); stroke-width: 1.5; }
.j-lit .halo { stroke: rgba(255, 153, 0, .2); stroke-width: 18; }
.j-lit .glow { stroke: rgba(255, 140, 20, .42); stroke-width: 6; }
.j-lit .core { stroke: #ffc77a; stroke-width: 2; }
/* lit copy of the line, uncovered from the top by this clip box (its height follows the scroll; no repaint) */
.spine-lit { position: absolute; z-index: -1; left: 0; top: 0; width: 100%; height: 0; overflow: hidden; pointer-events: none; }
.spine-lit svg { display: block; width: 100%; overflow: visible; will-change: transform; }
.spine-cells { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
/* fireball: its own small layer, moved with transform; white-hot core, orange glow, short flame tail behind it */
.j-ball { position: absolute; z-index: -1; left: 0; top: 0; width: 0; height: 0; opacity: 0; pointer-events: none; will-change: transform; transition: opacity .4s ease; }
.j-ball.show { opacity: 1; }
.j-ball::before {
  content: ""; position: absolute; left: -28px; top: -28px; width: 56px; height: 56px; border-radius: 50%;
  background: radial-gradient(circle, #fffaf0 0 9%, rgba(255, 220, 160, .95) 17%, rgba(255, 153, 0, .42) 42%, rgba(255, 140, 20, 0) 70%);
  animation: flick 1.2s ease-in-out infinite alternate;
}
.j-ball::after {
  content: ""; position: absolute; left: -3px; top: -86px; width: 6px; height: 84px; border-radius: 6px;
  background: linear-gradient(180deg, rgba(255, 170, 60, 0), rgba(255, 205, 130, .95));
}
@keyframes flick { to { transform: scale(1.12); } }
.j-twig { fill: none; stroke: rgba(232, 116, 12, .3); stroke-width: 1.3; stroke-linecap: round; transition: stroke .9s ease; }
.j-den.on .j-twig { stroke: rgba(255, 130, 10, .8); }
.j-branch { fill: none; stroke-linecap: round; transition: stroke .9s ease; }
.j-branch.halo { stroke: rgba(255, 140, 20, .07); stroke-width: 14; }
.j-branch.glow { stroke: rgba(255, 140, 20, .16); stroke-width: 5; }
.j-branch.core { stroke: rgba(232, 116, 12, .5); stroke-width: 1.5; }
.j-den.on .j-branch.glow { stroke: rgba(255, 140, 20, .42); }
.j-den.on .j-branch.core { stroke: #ffb347; }
.j-shadow { fill: rgba(170, 80, 10, .14); }
.j-cglow { opacity: .25; transition: opacity 1s ease; }
.j-on { opacity: 0; transition: opacity 1s ease; }
.j-edge { fill: none; stroke: rgba(232, 116, 12, .85); stroke-width: 1.6; stroke-linejoin: miter; }
.j-cell.on .j-cglow { opacity: 1; }
.j-cell.on .j-on { opacity: 1; }
.stops { list-style: none; margin: 0; padding: 0; }
.stop {
  display: grid; grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr); grid-template-areas: "text cell shot";
  align-items: center; min-height: 360px; padding: 30px 0;
}
.stop:nth-child(even) { grid-template-areas: "shot cell text"; }
.stop-text { grid-area: text; max-width: 440px; }
.stop:nth-child(odd) .stop-text { justify-self: end; }
.shot { grid-area: shot; }
.stop:nth-child(even) .shot { justify-self: end; }

/* the cell itself is drawn on the svg; this is the icon on top of it (its centre = the line's waypoint) */
.cell {
  grid-area: cell; justify-self: center; position: relative; display: grid; place-items: center; width: 44px; height: 44px;
  color: var(--orange-deep); transition: color .9s ease;
}
.cell svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.stop.on .cell { color: #fff; }
.stop.branch .cell { transform: translateX(46px); }   /* production = a side branch off the main line */

.stop-n { margin: 0; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); transition: color .9s ease; }
.stop.on .stop-n { color: #a8500a; }
.stop h3 { margin: 10px 0 14px; font-size: clamp(26px, 2.8vw, 34px); line-height: 1.12; letter-spacing: -.025em; }
.stop ul { list-style: none; margin: 0; padding: 0; }
.stop li { position: relative; padding: 5px 0 5px 22px; color: var(--text-2); font-size: 16px; line-height: 1.5; }
.stop li::before {   /* small spark instead of a bullet */
  content: ""; position: absolute; left: 3px; top: 13px; width: 7px; height: 7px; border-radius: 50%;
  background: radial-gradient(circle, #ffd28a 0 30%, var(--orange) 60%, rgba(255, 153, 0, 0) 100%);
}

/* a small piece of the real screen, no box: rows on hairlines with a soft light behind */
.shot { position: relative; width: 100%; max-width: 400px; font-size: 14.5px; }
.js .shot { opacity: .55; transform: translateY(8px); transition: opacity 1s ease, transform 1s cubic-bezier(.22,.61,.36,1); }
.js .stop.on .shot { opacity: 1; transform: none; }
.shot::before {
  content: ""; position: absolute; z-index: -1; inset: -40px -50px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0));
}
.shot-t { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.shot-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 0;
  border-bottom: 1px solid rgba(232, 116, 12, .16);
}
.shot-row > span:first-child { color: var(--text); }
.shot-row small { display: block; font-size: 12.5px; color: var(--text-3); }
.shot-row b { font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.shot-chain { margin: 14px 0 0; font-size: 13px; color: var(--text-3); }
.shot-chain i { font-style: normal; color: var(--orange-deep); margin: 0 4px; }
.shot-chain em { font-style: normal; font-weight: 700; color: #a8500a; }

/* ── Pricing: two plans on lines, no boxes ── */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); max-width: 900px; margin: 0 auto; }
.plan { position: relative; isolation: isolate; display: flex; flex-direction: column; padding: 8px 44px 0; }
.plan + .plan { border-left: 1px solid rgba(232, 116, 12, .25); }
.plan-top::before {   /* soft glow behind the bigger plan */
  content: ""; position: absolute; z-index: -1; inset: -40px -20px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 153, 0, .14), transparent);
}
.plan-tag { align-self: flex-start; margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #a8500a; }
.plan h3 { margin: 0; font-size: 30px; }
.plan-top h3 { margin-top: 0; }
.plan:not(.plan-top) h3 { margin-top: 28px; }
.plan-for { margin: 4px 0 0; color: var(--text-2); font-size: 15.5px; }
.plan-price { margin: 18px 0 18px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-weight: 600; color: #a8500a; }
.plan ul { flex: 1; list-style: none; margin: 0 0 28px; padding: 0; }
.plan li { position: relative; padding: 5px 0 5px 22px; font-size: 15.5px; color: var(--text-2); line-height: 1.45; }
.plan li::before {
  content: ""; position: absolute; left: 3px; top: 12px; width: 7px; height: 7px; border-radius: 50%;
  background: radial-gradient(circle, #ffd28a 0 30%, var(--orange) 60%, rgba(255, 153, 0, 0) 100%);
}

/* ── FAQ ── */
.faq-in { max-width: 820px; }
.faq details { border-bottom: 1px solid rgba(232, 116, 12, .18); }
.faq summary {
  position: relative; list-style: none; cursor: pointer; padding: 22px 44px 22px 0;
  font-family: var(--font-head); font-size: 19px; font-weight: 600; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--orange-deep); border-bottom: 2px solid var(--orange-deep); transform: rotate(45deg); transition: transform .3s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { margin: -6px 0 22px; color: var(--text-2); max-width: 680px; }

/* ── Final CTA: light, warm halo (dark bands REJECTED) ── */
.final-cta { position: relative; overflow: hidden; isolation: isolate; padding: 120px 0 140px; text-align: center; }
.final-cta::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: min(1100px, 140vw); height: 560px;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 153, 0, .26), rgba(255, 153, 0, .07) 60%, transparent);
}
.final-cta h2 { margin: 0 auto; max-width: 860px; }
.final-cta h2 .grad { display: block; }
.final-cta p { margin: 18px 0 0; color: var(--text-2); font-size: 18px; }

/* ── Footer ── */
.footer { border-top: 1px solid rgba(232, 116, 12, .18); padding: 44px 0 28px; }
.footer-in { display: flex; justify-content: space-between; align-items: flex-start; gap: 28px; flex-wrap: wrap; }
.footer-in p { margin: 12px 0 0; color: var(--text-3); font-size: 14.5px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 15px; font-weight: 500; color: var(--text-2); }
.footer nav a:hover { color: var(--text); }
.footer nav[aria-label="Solutions"], .footer nav[aria-label="Free tools"] { flex-direction: column; gap: 8px; }   /* SEO page lists (2026-10-30) */
.footer-bottom { margin-top: 32px; font-size: 13.5px; color: var(--text-3); }

/* ── BizzCat: floating help cat (bottom right) + panel ── */
@keyframes float { 50% { transform: translateY(-5px); } }
.cat { position: fixed; right: 22px; bottom: 22px; z-index: 60; }
body.menu-open .cat { display: none; }
.cat-btn {
  display: grid; place-items: center; width: 64px; height: 64px; padding: 6px; border-radius: 50%; cursor: pointer;
  background: #fff; border: 1px solid #f0dcc3; box-shadow: 0 0 0 5px rgba(255, 153, 0, .1), 0 12px 30px rgba(60, 35, 10, .22);
  transition: transform .25s ease, box-shadow .25s ease;
}
.cat-btn:hover { transform: translateY(-2px) rotate(-4deg); }
.cat-btn .cat-svg { width: 100%; height: 100%; animation: float 4s ease-in-out infinite; }
.cat-eyes { transform-origin: 32px 31px; animation: blink 5s infinite; }
@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.1); } }
.cat-panel {
  position: absolute; right: 0; bottom: 78px; width: min(350px, calc(100vw - 32px)); max-height: min(520px, calc(100vh - 120px));
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-float);
  transform-origin: bottom right; animation: catIn .3s cubic-bezier(.22,.61,.36,1);
}
.cat-panel[hidden] { display: none; }
@keyframes catIn { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.cat-head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 14px 16px; border-bottom: 1px solid var(--line); background: linear-gradient(110deg, #fff4e6, #fff); }
.cat-head .cat-svg { width: 38px; height: 38px; }
.cat-head p { flex: 1; margin: 0; line-height: 1.25; }
.cat-head p span { display: block; font-size: 12.5px; color: var(--text-3); }
.cat-x { width: 34px; height: 34px; border-radius: 50%; border: 0; background: transparent; font-size: 22px; line-height: 1; color: var(--text-2); cursor: pointer; }
.cat-x:hover { background: #f4efe8; }
.cat-body { padding: 16px; overflow-y: auto; }
.cat-say { margin: 0 0 14px; padding: 12px 14px; border-radius: 4px 16px 16px 16px; background: #faf6f0; font-size: 15px; line-height: 1.5; }
.cat-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-opts button {
  font: inherit; font-size: 14px; font-weight: 600; padding: 8px 13px; border-radius: 99px; cursor: pointer;
  color: #a8500a; background: #fff; border: 1px solid rgba(232, 116, 12, .35); transition: background .2s, border-color .2s;
}
.cat-opts button:hover { background: #fff4e6; border-color: var(--orange-deep); }
.cat-opts button.back { color: var(--text-2); border-color: var(--line); }

/* in-page jumps land below the floating nav */
section[id], .stop { scroll-margin-top: 90px; }

/* ── Body responsive: the line runs down the left, text and screen piece stack to its right ── */
@media (max-width: 860px) {
  .stop, .stop:nth-child(even) {
    grid-template-columns: 52px minmax(0, 1fr); grid-template-areas: "cell text" ". shot";
    align-items: start; min-height: 0; padding: 34px 0;
  }
  .cell { justify-self: center; }
  .stop.branch .cell { transform: none; }   /* phone: no room for a side branch, production sits on the line */
  .stop:nth-child(odd) .stop-text, .stop:nth-child(even) .shot { justify-self: start; }
  .shot { margin-top: 18px; }
}
@media (max-width: 760px) {
  .section { padding: 80px 0; }
  .journey { padding: 56px 0 16px; }
  .plans { grid-template-columns: 1fr; gap: 44px; }
  .plan { padding: 0; }
  .plan + .plan { border-left: 0; border-top: 1px solid rgba(232, 116, 12, .25); padding-top: 36px; }
  .plan:not(.plan-top) h3 { margin-top: 0; }
  .final-cta { padding: 88px 0 100px; }
  .cat { right: 14px; bottom: 14px; }
  .cat-btn { width: 56px; height: 56px; }
  .cat-panel { bottom: 68px; }
}
