/* Bizestra marketing site. No inline styles or scripts (strict CSP). */

@font-face { font-family: "Bricolage"; src: url("fonts/bricolage.woff") format("woff"); font-weight: 300 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/geist.woff") format("woff"); font-weight: 100 900; font-display: swap; }

:root {
  --night: #0B0D24;      /* page */
  --deep: #12153A;       /* raised surfaces */
  --line: #262A5C;       /* hairlines on night */
  --iris: #8B7BFF;       /* brand */
  --lagoon: #39D5C3;     /* live, healthy */
  --ember: #FFB067;      /* money */
  --rose: #FF7A9A;       /* trouble, the old way */
  --mist: #ECEEFF;       /* text on night */
  --muted: #A6ABD8;      /* secondary text on night */
  --porcelain: #F3F2FB;  /* the one light band */
  --ink: #171A3F;        /* text on porcelain */
  --ink-muted: #545887;
  --display: "Bricolage", "Avenir Next", "Segoe UI", sans-serif;
  --body: "Geist", "Inter", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --r-lg: 28px; --r-md: 18px; --r-sm: 10px;
  --gutter: clamp(16px, 4vw, 48px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--night); color: var(--mist);
  font: 400 17px/1.6 var(--body); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; letter-spacing: -.025em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--lagoon); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--mist); color: var(--night); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

/* Buttons */
.btn {
  --mx: 0px; --my: 0px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .9em 1.45em; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 16px/1 var(--body); text-decoration: none; color: #0B0D24;
  background: linear-gradient(120deg, #B7ACFF, var(--iris) 45%, #6FE3D3);
  background-size: 200% 100%; background-position: 0% 0;
  box-shadow: 0 10px 30px -10px rgba(139, 123, 255, .7), inset 0 1px 0 rgba(255,255,255,.5);
  transform: translate(var(--mx), var(--my));
  transition: background-position .6s var(--ease), box-shadow .3s, transform .35s var(--ease);
}
.btn:hover { background-position: 100% 0; box-shadow: 0 16px 40px -12px rgba(57, 213, 195, .7), inset 0 1px 0 rgba(255,255,255,.6); }
.btn-ghost { color: var(--mist); background: rgba(236, 238, 255, .06); box-shadow: inset 0 0 0 1px rgba(236, 238, 255, .22); }
.btn-ghost:hover { background: rgba(236, 238, 255, .12); box-shadow: inset 0 0 0 1px rgba(236, 238, 255, .4); }
.btn-sm { padding: .7em 1.1em; font-size: 14px; }
.btn-xl { padding: 1.1em 2em; font-size: 18px; }
.link-quiet { text-decoration: none; color: var(--muted); font-size: 15px; }
.link-quiet:hover { color: var(--mist); }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: transform .45s var(--ease), background .3s, box-shadow .3s; }
.nav.is-solid { background: rgba(11, 13, 36, .72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 rgba(236,238,255,.08); }
.nav.is-hidden { transform: translateY(-100%); }
.nav-in { max-width: 1200px; margin: 0 auto; padding: 14px var(--gutter); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 21px/1 var(--display); letter-spacing: -.03em; }
.brand-mark { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 26px; margin-left: 12px; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--mist); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 18px; }

/* Hero */
.hero { position: relative; height: 270vh; }
.hero-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.staff { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-stage::after { /* soft vignette so copy stays readable over the lines */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 70% at 20% 50%, rgba(11,13,36,.75), transparent 70%), linear-gradient(transparent 70%, var(--night));
}
.hero-copy { position: absolute; z-index: 2; left: max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter))); top: 50%; transform: translateY(-46%); width: min(520px, 39vw); }
.hero-title { font-size: clamp(44px, 5.6vw, 84px); line-height: .98; font-weight: 750; letter-spacing: -.035em; }
.ht-line { display: block; }
.ht-b { min-height: 2em; font-stretch: 80%; background: linear-gradient(100deg, var(--mist) 10%, #C6BEFF 45%, var(--lagoon) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ht-b { letter-spacing: -.02em; }
.ht-b .wd { display: inline-block; white-space: nowrap; }
.ht-b .ch { display: inline-block; white-space: pre; transition: font-stretch .5s var(--ease); }
.ht-b .ch.is-noise { color: var(--rose); -webkit-text-fill-color: var(--rose); opacity: .85; }
.hero-sub { margin-top: 26px; font-size: clamp(17px, 1.35vw, 20px); color: var(--muted); max-width: 46ch; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-fine { margin-top: 16px; font-size: 14px; color: var(--muted); }
.hero-hint { position: absolute; z-index: 2; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); opacity: calc(1 - var(--p, 0) * 6); }
.hero-hint span { width: 18px; height: 28px; border-radius: 10px; box-shadow: inset 0 0 0 1.5px var(--muted); position: relative; }
.hero-hint span::after { content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 6px; margin-left: -1.5px; border-radius: 2px; background: var(--mist); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(9px); opacity: 0; } 100% { opacity: 0; } }

/* Load-in: one orchestrated moment */
[data-rise] { animation: rise 1.1s var(--ease) both; }
.hero-sub[data-rise] { animation-delay: .35s; }
.hero-actions[data-rise] { animation-delay: .5s; }
.hero-fine[data-rise] { animation-delay: .65s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }

/* The board: where the six windows land */
.board { position: absolute; z-index: 1; right: max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter))); top: 50%; width: min(46vw, 620px); height: min(72vh, 540px); transform: translateY(-50%); }
.board-frame {
  position: absolute; inset: 0; border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(38, 42, 92, .75), rgba(18, 21, 58, .9));
  box-shadow: 0 0 0 1px rgba(236,238,255,.1), 0 60px 120px -40px rgba(0,0,0,.8), 0 0 120px -20px rgba(139,123,255,.45);
  opacity: var(--q, 0); transform: scale(calc(.94 + var(--q, 0) * .06));
}
.board-bar { height: 40px; display: flex; align-items: center; gap: 14px; padding: 0 16px; border-bottom: 1px solid rgba(236,238,255,.08); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(236,238,255,.18); }
.board-url { font-size: 12px; color: var(--muted); padding: 4px 12px; border-radius: 999px; background: rgba(11,13,36,.6); }
.board-grid {
  position: absolute; inset: 52px 12px 12px; display: grid; gap: 10px;
  grid-template-columns: 1.25fr 1fr .9fr; grid-template-rows: 1.1fr 1fr 1fr;
  grid-template-areas: "sales sales clock" "chat pay meet" "chat pay mon";
}
.w-sales { grid-area: sales; } .w-clock { grid-area: clock; } .w-chat { grid-area: chat; }
.w-pay { grid-area: pay; } .w-meet { grid-area: meet; } .w-mon { grid-area: mon; }

.win {
  position: relative; min-width: 0; min-height: 0; overflow: hidden; border-radius: var(--r-md);
  background: linear-gradient(170deg, rgba(30, 34, 80, .96), rgba(19, 22, 60, .98));
  box-shadow: 0 0 0 1px rgba(236,238,255,.09), 0 24px 50px -20px rgba(0,0,0,.75);
  font-size: 12px; will-change: transform;
  transform-origin: 50% 50%;
}
.win-h { position: relative; height: 30px; display: flex; align-items: center; padding: 0 12px; font-weight: 600; font-size: 12px; }
.win-h span { position: absolute; left: 12px; right: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: none; }
.h-old { opacity: calc(1 - var(--q, 0) * 1.6); color: #FFD3DD; }
.h-new { opacity: calc(var(--q, 0) * 1.6 - .6); color: var(--mist); }
.win::before { /* the old tool's clashing title-bar colour, fading into one system */
  content: ""; position: absolute; inset: 0 0 auto; height: 30px; opacity: calc(1 - var(--q, 0)); background: var(--old, #5b2a3a);
}
.w-sales { --old: #1f5e3a; } .w-clock { --old: #6a4a12; } .w-chat { --old: #3a2a6e; }
.w-meet { --old: #12506b; } .w-pay { --old: #2f6b2a; } .w-mon { --old: #6b1f35; }
.win-b { position: relative; padding: 4px 12px 12px; color: var(--muted); }
.row { display: grid; grid-template-columns: 1.6fr 1fr auto; gap: 8px; align-items: center; padding: 5px 0; border-top: 1px solid rgba(236,238,255,.06); }
.r-head { border-top: 0; font-size: 10.5px; opacity: .8; }
.row span:first-child { color: var(--mist); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip { font-size: 10.5px; padding: 2px 8px; border-radius: 999px; }
.c-ok { background: rgba(57,213,195,.15); color: var(--lagoon); }
.c-wait { background: rgba(255,176,103,.15); color: var(--ember); }
.c-new { background: rgba(139,123,255,.18); color: #C6BEFF; }
.clock { display: flex; align-items: center; gap: 12px; height: calc(100% - 30px); }
.ring { width: 58px; height: 58px; flex: none; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: rgba(236,238,255,.1); stroke-width: 7; }
.ring-fg { fill: none; stroke: var(--lagoon); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 201; stroke-dashoffset: 30; }
.clock b { display: block; color: var(--mist); font-size: 15px; }
.clock span { display: block; }
.clock .late { color: var(--ember); font-size: 11px; margin-top: 2px; }
.chat .msg { padding: 6px 9px; margin-top: 6px; border-radius: 10px 10px 10px 3px; background: rgba(236,238,255,.06); color: var(--mist); line-height: 1.35; }
.chat .msg b { display: block; font-size: 10.5px; color: #C6BEFF; }
.chat .me { margin-left: 18%; border-radius: 10px 10px 3px 10px; background: rgba(139,123,255,.22); }
.meet { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; height: calc(100% - 30px); }
.meet i { border-radius: 8px; background: radial-gradient(circle at 50% 38%, rgba(236,238,255,.55) 0 13%, transparent 14%), radial-gradient(ellipse at 50% 92%, rgba(236,238,255,.4) 0 30%, transparent 31%), linear-gradient(160deg, #2c3c74, #1a2150); }
.meet .t2 { background-color: #3b2d6b; } .meet .t3 { filter: hue-rotate(40deg); } .meet .t4 { filter: hue-rotate(-30deg); }
.rec { position: absolute; right: 16px; bottom: 16px; font-size: 10px; color: #fff; background: rgba(255,122,154,.85); padding: 2px 7px; border-radius: 999px; }
.pay .row { grid-template-columns: 1fr auto; }
.pay .row span:last-child { color: var(--mist); font-variant-numeric: tabular-nums; }
.pay .total span { color: var(--ember) !important; font-weight: 700; font-size: 14px; }
.mon { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.mon i { aspect-ratio: 16/10; border-radius: 5px; background: linear-gradient(180deg, rgba(139,123,255,.35) 0 18%, rgba(236,238,255,.08) 18%); }
.mon-l { grid-column: 1 / -1; margin-top: 4px; color: var(--lagoon); }

/* Cost band */
.cost { position: relative; padding: clamp(80px, 12vw, 160px) 0; }
.cost-in { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.cost-h { font-size: clamp(26px, 3vw, 40px); line-height: 1.15; font-weight: 500; letter-spacing: -.02em; color: var(--mist); }
.cost-figs { margin: 0; display: grid; gap: 4px; }
.cost-figs div { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.cost-figs dt { color: var(--muted); font-size: 15px; }
.cost-figs dd { margin: 0; font: 700 clamp(44px, 5vw, 68px)/1 var(--display); font-variant-numeric: tabular-nums; color: var(--mist); }
.cost-figs div:last-child dd { color: var(--lagoon); }

/* Section heads */
.sec-h { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.02; max-width: 18ch; }
.sec-sub { margin-top: 18px; max-width: 58ch; color: var(--muted); font-size: clamp(17px, 1.3vw, 19px); }

/* Bento */
.modules { padding: clamp(40px, 8vw, 100px) 0 clamp(80px, 12vw, 160px); }
.bento { margin-top: 56px; display: grid; gap: 14px; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(180px, auto); }
.tile {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; padding: 26px; border-radius: var(--r-lg);
  background: var(--deep); box-shadow: inset 0 0 0 1px rgba(236,238,255,.07);
  display: flex; flex-direction: column; gap: 10px;
  transition: box-shadow .4s;
}
.tile::before { /* light that follows the pointer */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(139,123,255,.22), transparent 60%);
}
.tile:hover::before { opacity: 1; }
.tile:hover { box-shadow: inset 0 0 0 1px rgba(139,123,255,.35); }
.tile h3 { font-size: 23px; letter-spacing: -.02em; position: relative; }
.tile p { color: var(--muted); font-size: 15.5px; max-width: 46ch; position: relative; }
.t-sales { grid-column: span 4; grid-row: span 2; }
.t-charge { grid-column: span 2; grid-row: span 2; }
.t-att, .t-chat, .t-mon { grid-column: span 2; }
.t-pay { grid-column: span 3; grid-row: span 2; background: linear-gradient(150deg, #2a1f3f, var(--deep) 60%); }
.t-appr, .t-rep { grid-column: span 3; }
.tile-art { margin-top: auto; position: relative; }
.sales-art { display: grid; gap: 8px; padding-top: 18px; -webkit-mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent); mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent); }
.tick { display: flex; justify-content: space-between; padding: 14px 18px; border-radius: 14px; background: rgba(236,238,255,.05); box-shadow: inset 0 0 0 1px rgba(236,238,255,.06); font-size: 15px; }
.tick b { color: var(--lagoon); font-variant-numeric: tabular-nums; }
.is-live .sales-art .tick { animation: tick 9s var(--ease) infinite; }
.is-live .sales-art .tick:nth-child(2) { animation-delay: -2.25s; } .is-live .sales-art .tick:nth-child(3) { animation-delay: -4.5s; } .is-live .sales-art .tick:nth-child(4) { animation-delay: -6.75s; }
@keyframes tick { 0%, 20% { transform: translateY(0); } 25%, 45% { transform: translateY(-100%); } 50%, 70% { transform: translateY(-200%); } 75%, 95% { transform: translateY(-300%); } 100% { transform: translateY(0); } }
.card-art { padding-top: 24px; perspective: 800px; }
.cc {
  aspect-ratio: 1.586; border-radius: 16px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between;
  background: radial-gradient(120% 140% at 0% 0%, #9d8fff, #4b3db3 45%, #1c1850 100%);
  box-shadow: 0 30px 50px -24px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.35);
  transform: rotateX(18deg) rotateY(-16deg) rotateZ(4deg); transition: transform .8s var(--ease);
  position: relative; overflow: hidden;
}
.cc::after { content: ""; position: absolute; inset: -40%; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.28) 50%, transparent 60%); transform: translateX(-60%); transition: transform 1.2s var(--ease); }
.t-charge:hover .cc { transform: rotateX(0) rotateY(0) rotateZ(0); }
.t-charge:hover .cc::after { transform: translateX(60%); }
.cc-n { font: 500 15px/1 var(--body); letter-spacing: .02em; color: #fff; }
.cc-n b { font-weight: 700; }
.cc-s { order: -1; align-self: flex-end; font-size: 12px; color: #fff; padding: 3px 10px; border-radius: 999px; background: rgba(11,13,36,.35); }
.slip-art { padding-top: 22px; }
.slip { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 18px; padding: 22px; border-radius: 18px; background: rgba(255,176,103,.08); box-shadow: inset 0 0 0 1px rgba(255,176,103,.25); }
.slip span { color: var(--muted); font-size: 14px; }
.slip b { grid-row: 2; font: 700 clamp(40px, 4.5vw, 60px)/1 var(--display); color: var(--ember); font-variant-numeric: tabular-nums; }
.slip em { grid-row: 2; font-style: normal; font-size: 13px; color: var(--lagoon); padding: 4px 10px; border-radius: 999px; background: rgba(57,213,195,.12); }

/* Story */
.story { padding: clamp(60px, 10vw, 140px) 0; position: relative; }
.story-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); margin-top: 48px; }
.story-visual { position: sticky; top: 12vh; height: 76vh; border-radius: var(--r-lg); overflow: hidden; background: radial-gradient(90% 70% at 30% 20%, rgba(139,123,255,.2), transparent 60%), var(--deep); box-shadow: inset 0 0 0 1px rgba(236,238,255,.07); }
.story-path { position: absolute; inset: 6% 6%; width: 88%; height: 88%; overflow: visible; }
.sp-bg { fill: none; stroke: rgba(236,238,255,.08); stroke-width: 2; vector-effect: non-scaling-stroke; }
.sp-fg { fill: none; stroke: var(--iris); stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linecap: round; filter: drop-shadow(0 0 8px rgba(139,123,255,.8)); }
.sp-dot { fill: var(--mist); filter: drop-shadow(0 0 10px rgba(57,213,195,1)); }
.sv-card {
  position: absolute; left: 50%; top: 50%; width: min(78%, 360px); padding: 22px 24px; border-radius: 20px;
  background: rgba(18,21,58,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 0 0 1px rgba(236,238,255,.12), 0 40px 80px -30px rgba(0,0,0,.9);
  display: grid; gap: 6px; opacity: 0; transform: translate(-50%, -40%) scale(.96); filter: blur(6px);
  transition: opacity .6s var(--ease), transform .8s var(--ease), filter .6s var(--ease);
}
.sv-card b { font: 700 26px/1.1 var(--display); letter-spacing: -.02em; color: var(--mist); }
.sv-card span { color: var(--muted); font-size: 15px; }
.sv-card .sv-k { justify-self: start; font-size: 12.5px; font-weight: 600; color: var(--night); background: var(--lagoon); padding: 3px 10px; border-radius: 999px; }
.sv-card em { font-style: normal; font-size: 13px; color: #C6BEFF; }
.sv-3 .sv-k, .sv-4 .sv-k { background: var(--ember); }
.sv-4 b { color: var(--ember); }
[data-step="0"] .sv-0, [data-step="1"] .sv-1, [data-step="2"] .sv-2, [data-step="3"] .sv-3, [data-step="4"] .sv-4 { opacity: 1; transform: translate(-50%, -50%) scale(1); filter: none; }
.chapters { list-style: none; margin: 0; padding: 0; counter-reset: ch; }
.chapter { min-height: 76vh; display: flex; flex-direction: column; justify-content: center; padding: 20px 0; opacity: .32; transition: opacity .5s var(--ease); counter-increment: ch; }
.chapter.is-on { opacity: 1; }
.chapter h3 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.08; display: flex; gap: 16px; align-items: baseline; }
.chapter h3::before { content: counter(ch); flex: none; font: 600 15px/1 var(--body); width: 30px; height: 30px; display: inline-grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--iris); color: #C6BEFF; transform: translateY(-4px); }
.chapter p { margin-top: 14px; color: var(--muted); max-width: 44ch; padding-left: 46px; }

/* Trust */
.trust { overflow-x: clip; padding: clamp(80px, 12vw, 160px) 0; }
.trust-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.trust-list { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 22px; }
.trust-list li { color: var(--muted); padding-left: 22px; position: relative; max-width: 52ch; }
.trust-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--lagoon); box-shadow: 0 0 12px var(--lagoon); }
.trust-list b { color: var(--mist); font-weight: 600; }
.chain { display: grid; gap: 22px; position: relative; padding-left: 28px; }
.chain::before { content: ""; position: absolute; left: 9px; top: 20px; bottom: 60px; width: 2px; background: linear-gradient(var(--iris), var(--lagoon)); transform-origin: top; transform: scaleY(var(--c, 0)); }
.blk { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px 20px; border-radius: 16px; background: var(--deep); box-shadow: inset 0 0 0 1px rgba(236,238,255,.08); opacity: .15; transform: translateX(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); position: relative; }
.blk::before { content: ""; position: absolute; left: -25px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--night); box-shadow: inset 0 0 0 2px var(--iris); }
.blk.is-on { opacity: 1; transform: none; }
.blk.is-on::before { background: var(--iris); box-shadow: 0 0 14px var(--iris); }
.blk span { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.blk b { font-weight: 600; }
.blk code { font: 500 13px/1 ui-monospace, "SF Mono", Menlo, monospace; color: #C6BEFF; }
.chain-ok { justify-self: start; margin-top: 6px; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--night); background: var(--lagoon); opacity: 0; transform: scale(.8); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.chain.is-done .chain-ok { opacity: 1; transform: none; }

/* Pricing: the one light band */
.pricing { background: var(--porcelain); color: var(--ink); padding: clamp(80px, 12vw, 150px) 0; border-radius: 48px 48px 0 0; position: relative; z-index: 1; }
.pricing .sec-sub { color: var(--ink-muted); }
.cycle { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; margin-top: 36px; padding: 5px; border-radius: 999px; background: #E3E1F4; }
.cycle button { position: relative; z-index: 1; border: 0; background: none; padding: 10px 22px; border-radius: 999px; font: 600 15px/1 var(--body); color: var(--ink-muted); cursor: pointer; transition: color .3s; }
.cycle button[aria-checked="true"] { color: var(--ink); }
.cycle-pill { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: #fff; box-shadow: 0 4px 14px -6px rgba(23,26,63,.35); transition: transform .5s var(--ease); }
.cycle.is-year .cycle-pill { transform: translateX(100%); }
.plans { margin-top: 40px; display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 16px; align-items: stretch; }
.plan { padding: 30px; border-radius: var(--r-lg); background: #fff; box-shadow: 0 1px 0 rgba(23,26,63,.06), 0 30px 60px -40px rgba(23,26,63,.35); display: flex; flex-direction: column; gap: 14px; }
.plan h3 { font-size: 26px; }
.plan-tag { color: var(--ink-muted); font-size: 15.5px; min-height: 3em; }
.price { display: flex; align-items: baseline; gap: 10px; margin: 8px 0 4px; }
.price b { font: 750 60px/1 var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; display: inline-block; }
.price b.is-swap { animation: swap .5s var(--ease); }
@keyframes swap { 0% { transform: translateY(0); opacity: 1; } 45% { transform: translateY(-14px); opacity: 0; } 55% { transform: translateY(14px); opacity: 0; } 100% { transform: none; opacity: 1; } }
.price span { color: var(--ink-muted); font-size: 14px; }
.plan-min { font-size: 14px; color: var(--ink-muted); margin-top: -8px; }
.plan-feats { list-style: none; margin: 6px 0 10px; padding: 14px 0 0; border-top: 1px solid #E3E1F4; display: grid; gap: 9px; font-size: 15px; }
.plan-feats li { position: relative; padding-left: 26px; color: var(--ink); line-height: 1.4; }
.plan-feats li::before { content: ""; position: absolute; left: 0; top: .2em; width: 16px; height: 16px; border-radius: 50%; background: var(--lagoon); }
.plan-feats li::after { content: ""; position: absolute; left: 4px; top: calc(.2em + 4px); width: 7px; height: 4px; border-left: 2px solid var(--night); border-bottom: 2px solid var(--night); transform: rotate(-45deg); }
.plan-hi .plan-feats { border-top-color: rgba(236,238,255,.15); }
.plan-hi .plan-feats li { color: var(--mist); }
.plan-limits { list-style: none; margin: 0 0 14px; padding: 12px 0 0; border-top: 1px dashed #E3E1F4; display: grid; gap: 6px; font-size: 13.5px; color: var(--ink-muted); }
.plan-limits li { padding-left: 26px; position: relative; }
.plan-limits li::before { content: ""; position: absolute; left: 5px; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: #B9B4D9; }
.plan-hi .plan-limits { border-top-color: rgba(236,238,255,.15); color: var(--muted); }
.plan .btn { margin-top: auto; }
.plan .btn-ghost { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1.5px rgba(23,26,63,.2); }
.plan .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.plan-hi { background: var(--ink); color: var(--mist); box-shadow: 0 40px 80px -30px rgba(76, 60, 200, .55); transform: translateY(-10px); }
.plan-hi .plan-tag, .plan-hi .price span { color: var(--muted); }

/* FAQ */
.faq { background: var(--porcelain); color: var(--ink); padding: 0 0 clamp(80px, 12vw, 150px); }
.faq-in { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 96px); }
.faq-list details { border-top: 1px solid #D9D7EC; }
.faq-list details:last-child { border-bottom: 1px solid #D9D7EC; }
.faq-list summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font: 600 19px/1.3 var(--display); letter-spacing: -.01em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(var(--ink), var(--ink)) center/14px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center/2px 14px no-repeat; transition: transform .4s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(135deg); }
.faq-list details p { color: var(--ink-muted); padding: 0 40px 24px 0; max-width: 60ch; }
.faq-list details[open] p { animation: open .45s var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Finale */
.finale { position: relative; overflow: hidden; padding: clamp(120px, 18vw, 240px) 0; text-align: center; background: var(--night); }
.finale::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 60% at 50% 50%, rgba(11,13,36,.7), transparent 75%); }
.finale-in { position: relative; z-index: 1; display: grid; justify-items: center; gap: 22px; }
.finale-h { font-size: clamp(40px, 6vw, 88px); line-height: 1; max-width: 16ch; letter-spacing: -.035em; }
.finale p { color: var(--muted); font-size: 19px; }
.finale .btn { margin-top: 12px; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 48px 0 40px; color: var(--muted); font-size: 14px; }
.foot-in { display: grid; grid-template-columns: 1.4fr 2fr auto; gap: 32px; align-items: start; }
.foot-brand p { margin-top: 14px; max-width: 40ch; }
.foot-links { display: flex; flex-wrap: wrap; gap: 14px 26px; padding-top: 6px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--mist); }
.foot-c { padding-top: 6px; }

/* Responsive */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .t-sales, .t-charge, .t-att, .t-chat, .t-mon, .t-pay, .t-appr, .t-rep { grid-column: span 1; grid-row: auto; }
  .t-sales, .t-pay { grid-column: span 2; }
}
@media (max-width: 900px) {
  .hero { height: 230vh; }
  .hero-copy { left: var(--gutter); right: var(--gutter); top: 88px; width: auto; transform: none; }
  .hero-title { font-size: clamp(38px, 10.5vw, 64px); }
  .hero-sub { font-size: 16px; margin-top: 16px; }
  .hero-actions { margin-top: 22px; }
  .hero-fine, .hero-hint { display: none; }
  .board { left: var(--gutter); right: var(--gutter); width: auto; top: auto; bottom: 64px; height: min(38svh, 360px); transform: none; }
  .board-grid { inset: 44px 8px 8px; gap: 6px; }
  .board-bar { height: 34px; }
  .win { font-size: 10px; border-radius: 12px; }
  .win-h { height: 24px; font-size: 10.5px; } .win::before { height: 24px; }
  .chat .msg:nth-child(3), .row:nth-child(5) { display: none; }
  .ring { width: 40px; height: 40px; }
  .cost-in, .trust-in, .faq-in { grid-template-columns: 1fr; }
  .story-in { grid-template-columns: 1fr; }
  .story-visual { top: 72px; height: 42svh; z-index: 2; }
  .chapter { min-height: 62svh; justify-content: flex-start; padding-top: 24px; }
  .plans { grid-template-columns: 1fr; }
  .plan-hi { transform: none; }
  .foot-in { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .nav-cta .link-quiet { display: none; }
  .hero-actions .btn-ghost { display: none; }
  .hero-sub { display: none; }
  .board { height: 46svh; }
  .board-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr 1fr; grid-template-areas: "sales sales" "clock chat" "pay mon"; }
  .w-meet { display: none; }
  .bento { grid-template-columns: 1fr; }
  .t-sales, .t-pay { grid-column: span 1; }
  .chapter p { padding-left: 0; }
  .sv-card b { font-size: 21px; }
}

.rm .hero { height: auto; }
.rm .hero-stage { position: relative; min-height: 100vh; }
.rm .hero-hint { display: none; }

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