/* Marketing pages — v3, engineering grid */

/* ---------- rails: every band is a framed column with nodes at its corners ---------- */
.band { border-bottom: 1px solid var(--stroke); }
.rail { position: relative; max-width: var(--wrap); margin-inline: auto; border-inline: 1px solid var(--stroke); }
.rail::before, .rail::after { content: ""; position: absolute; bottom: -4px; width: 7px; height: 7px; background: var(--bg); border: 1px solid var(--stroke); z-index: 2; }
.rail::before { left: -4px; } .rail::after { right: -4px; }
.pad { padding: clamp(48px, 6vw, 88px) clamp(20px, 4.5vw, 64px); }
.pad-s { padding: clamp(28px, 3.4vw, 40px) clamp(20px, 4.5vw, 64px); }
.center { text-align: center; justify-items: center; }
.center .marker { justify-self: center; }
.sect-h { display: grid; gap: 18px; max-width: 760px; }
.sect-h p { color: #4A4A4A; font-size: 16px; line-height: 1.65; max-width: 58ch; }
.center.sect-h, .center .sect-h { margin-inline: auto; }

/* pixel noise strip between bands */
.pix { border-bottom: 1px solid var(--stroke); }
.pix .rail { height: 34px; overflow: hidden; }
.pix canvas { display: block; width: 100%; height: 100%; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(720px, calc(100vh - 64px)); }
.hero-l { display: grid; gap: 26px; align-content: center; padding: clamp(40px, 5vw, 72px) clamp(20px, 4.5vw, 56px); }
.hero-l h1 { max-width: 20ch; font-size: clamp(28px, 3.2vw, 46px); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-r { border-left: 1px solid var(--stroke); display: grid; align-content: center; padding: clamp(28px, 4vw, 56px) 0 clamp(28px, 4vw, 56px) clamp(20px, 3vw, 40px); overflow: hidden; }
.trust-line { display: flex; gap: 18px; flex-wrap: wrap; font: 400 12px/1.4 var(--f-mark); letter-spacing: .04em; text-transform: uppercase; color: var(--mute); }
.trust-line span { display: inline-flex; align-items: center; gap: 7px; }
.trust-line svg { color: var(--accent); }

/* app window with a terminal that turns into the live product */
.win { background: var(--surface); border: 1px solid var(--stroke); border-right: 0; box-shadow: var(--sh-2); }
.win-bar { display: flex; align-items: center; gap: 14px; height: 34px; padding: 0 14px; border-bottom: 1px solid var(--stroke); background: #FAFAFA; font: 400 11px/1 var(--f-mono); color: #9A9A9A; letter-spacing: .03em; }
.win-bar .dots { display: flex; gap: 5px; }
.win-bar .dots i { width: 7px; height: 7px; border-radius: 50%; background: #D4D4D4; }
.win-bar .t { flex: 1; text-align: center; }
.win-body { position: relative; height: 470px; overflow: hidden; background: linear-gradient(#F3F3F3 1px, transparent 1px) 0 0 / 100% 22px, #FCFCFC; }
.term { position: absolute; inset: 0; padding: 18px 20px; font: 400 12.5px/1.75 var(--f-mono); color: #3F3F3F; transition: opacity .6s var(--ease); white-space: pre-wrap; }
.term .p { color: var(--accent); }
.term .ok { color: var(--ok); }
.term .dim { color: #A3A3A3; }
.term .cur { display: inline-block; width: 7px; height: 14px; background: var(--fg); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
.stage { position: absolute; inset: 0; display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; padding: 0 22px; opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.stage.on { opacity: 1; transform: none; }
.term.off { opacity: 0; }
.stage .phone { width: 220px; border-radius: 34px; padding: 7px; }
.stage .phone .phone-scr { border-radius: 28px; }
.stage .phone::before { top: 14px; width: 64px; height: 18px; }
.side-cards { display: grid; gap: 12px; align-content: center; }
.mini { background: var(--surface); border: 1px solid var(--stroke); padding: 14px 16px; display: grid; gap: 6px; font-size: 13px; opacity: 0; transform: translateX(16px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.stage.on .mini { opacity: 1; transform: none; }
.stage.on .mini:nth-child(2) { transition-delay: .25s; } .stage.on .mini:nth-child(3) { transition-delay: .5s; }
.mini .h { display: flex; justify-content: space-between; align-items: center; font: 400 10.5px/1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--mute); }
.mini .h b { color: var(--accent); font-weight: 400; }
.mini .r { display: flex; justify-content: space-between; gap: 10px; }
.mini .big { font: 500 22px/1.1 var(--f-num); letter-spacing: -.02em; }
.mini .bar { height: 26px; display: flex; align-items: flex-end; gap: 3px; }
.mini .bar i { flex: 1; background: var(--accent-line); }
.mini .bar i:nth-child(3n) { background: var(--accent); }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-r { border-left: 0; border-top: 1px solid var(--stroke); padding: 28px 0 28px 20px; }
}
@media (max-width: 600px) {
  .win-body { height: 430px; }
  .stage { grid-template-columns: 1fr; justify-items: center; padding: 14px; }
  .side-cards { display: none; }
  .stage .phone { width: 200px; }
}

/* ---------- partners / marquee ---------- */
.partners-h { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.badge-brk { display: inline-flex; align-items: center; gap: 10px; padding: 7px 12px; background: var(--accent-soft); color: var(--accent); font: 400 12.5px/1 var(--f-mark); letter-spacing: .03em; text-transform: uppercase; }
.badge-brk b { color: var(--fg); font-weight: 600; font-family: var(--f-sans); text-transform: none; letter-spacing: 0; }
.marquee { overflow: hidden; border-top: 1px solid var(--stroke); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.mq-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .mq-track { animation-play-state: paused; }
.bchip { display: flex; align-items: center; justify-content: center; gap: 12px; min-width: 240px; height: 96px; padding: 0 28px; border-right: 1px solid var(--stroke); font: 400 15px/1 var(--f-serif); color: #8A8A8A; text-transform: uppercase; white-space: nowrap; text-decoration: none; filter: grayscale(1); transition: color .3s, filter .3s, background .3s; }
.bchip:hover { color: var(--fg); filter: none; background: var(--surface); }
.blogo { width: 34px; height: 34px; display: grid; place-items: center; overflow: hidden; background: var(--paper-2); font: 700 12px/1 var(--f-serif); color: var(--fg); flex: none; }
.blogo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- flow diagram: scan → menu → order → kitchen → stats ---------- */
.flow { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: clamp(36px, 5vw, 64px); border-top: 1px solid var(--stroke); }
.node { position: relative; padding: 26px 20px 30px; display: grid; gap: 12px; align-content: start; justify-items: start; text-align: left; }
.node + .node { border-left: 1px solid var(--stroke); }
.node .ic { width: 44px; height: 44px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--stroke); color: var(--accent); }
.node h3 { font-size: 15px; }
.node p { font-size: 13.5px; color: var(--mute); line-height: 1.5; }
.node .step { font: 400 11px/1 var(--f-mono); color: #A3A3A3; letter-spacing: .05em; }
/* travelling packet along the top edge */
.flow::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 12px); opacity: .5; }
.packet { position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); animation: travel 6s cubic-bezier(.65, 0, .35, 1) infinite; }
.packet.p2 { animation-delay: 3s; background: var(--fg); box-shadow: 0 0 0 4px #E7E7E7; }
@keyframes travel { 0% { left: 0; opacity: 0; } 6% { opacity: 1; } 94% { opacity: 1; } 100% { left: calc(100% - 7px); opacity: 0; } }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr 1fr; }
  .node:nth-child(odd of .node) { border-left: 0; }
  .node:nth-child(n+3 of .node) { border-top: 1px solid var(--stroke); }
}
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } .node + .node { border-left: 0; border-top: 1px solid var(--stroke); } }

/* ---------- protection strip ---------- */
.shield { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; }
.shield-items { display: flex; align-items: stretch; }
.shield-items > div { display: grid; justify-items: center; gap: 8px; padding: 6px 26px; text-align: center; max-width: 170px; }
.shield-items > div + div { border-left: 1px solid var(--stroke); }
.shield-items .ic { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--stroke); background: var(--surface); color: var(--accent); }
.shield-items span { font: 400 11.5px/1.35 var(--f-mark); letter-spacing: .03em; text-transform: uppercase; color: var(--mute); }
@media (max-width: 900px) { .shield { grid-template-columns: 1fr; } .shield-items { flex-wrap: wrap; } .shield-items > div { padding: 12px 16px; } }

/* ---------- features: cell grid ---------- */
.cells { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--stroke); }
.cell { padding: clamp(24px, 3vw, 36px); display: grid; gap: 14px; align-content: start; border-right: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke); transition: background .35s var(--ease); position: relative; }
.cell:nth-child(3n) { border-right: 0; }
.cell:nth-last-child(-n+3) { border-bottom: 0; }
.cell:hover { background: var(--surface); }
.cell .ic { width: 44px; height: 44px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.cell h3 { font-size: 16.5px; }
.cell p { color: var(--mute); font-size: 14.5px; }
.cell .pill { justify-self: start; }
.cell::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--accent); transition: width .5s var(--ease); }
.cell:hover::after { width: 100%; }
@media (max-width: 900px) { .cells { grid-template-columns: 1fr 1fr; } .cell:nth-child(3n) { border-right: 1px solid var(--stroke); } .cell:nth-child(2n) { border-right: 0; } .cell:nth-last-child(-n+3) { border-bottom: 1px solid var(--stroke); } .cell:nth-last-child(-n+2) { border-bottom: 0; } }
@media (max-width: 600px) { .cells { grid-template-columns: 1fr; } .cell { border-right: 0 !important; border-bottom: 1px solid var(--stroke) !important; } .cell:last-child { border-bottom: 0 !important; } }

/* ---------- template showcase (case-study style carousel) ---------- */
.show { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.show-l { position: relative; display: grid; place-items: center; padding: clamp(28px, 4vw, 56px); border-right: 1px solid var(--stroke); background: radial-gradient(60% 60% at 50% 50%, var(--accent-soft), transparent 70%); min-height: 640px; }
.show-l .frame-brk { position: absolute; inset: 24px; pointer-events: none; background:
  linear-gradient(var(--fg), var(--fg)) left top / 12px 1px no-repeat, linear-gradient(var(--fg), var(--fg)) left top / 1px 12px no-repeat,
  linear-gradient(var(--fg), var(--fg)) right top / 12px 1px no-repeat, linear-gradient(var(--fg), var(--fg)) right top / 1px 12px no-repeat,
  linear-gradient(var(--fg), var(--fg)) left bottom / 12px 1px no-repeat, linear-gradient(var(--fg), var(--fg)) left bottom / 1px 12px no-repeat,
  linear-gradient(var(--fg), var(--fg)) right bottom / 12px 1px no-repeat, linear-gradient(var(--fg), var(--fg)) right bottom / 1px 12px no-repeat; opacity: .5; }
.show-l .phone { width: 280px; transition: opacity .35s var(--ease), transform .45s var(--ease); }
.show-l .phone.swap { opacity: 0; transform: translateY(14px) scale(.98); }
.show-r { padding: clamp(28px, 4vw, 56px); display: grid; gap: 22px; align-content: center; }
.show-top { display: flex; justify-content: space-between; align-items: center; }
.arrows { display: flex; gap: 8px; }
.arrow { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--stroke); background: var(--surface); transition: border-color .2s, background .2s, color .2s; }
.arrow:hover { border-color: var(--fg); background: var(--fg); color: #fff; }
.show-r h3 { font-size: clamp(22px, 2.2vw, 30px); }
.show-r .sub { font: 400 13px/1.5 var(--f-mono); color: var(--mute); }
.show-r .desc { color: #4A4A4A; max-width: 48ch; }
.specs { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--stroke); }
.specs > div { padding: 14px 0; border-bottom: 1px solid var(--stroke); display: grid; gap: 4px; }
.specs > div:nth-child(odd) { padding-right: 16px; }
.specs > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--stroke); }
.specs small { font: 400 11px/1 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--mute); }
.specs b { font-weight: 500; }
.tchips { display: flex; flex-wrap: wrap; gap: 6px; }
.tchip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--stroke); background: var(--surface); padding: 7px 11px 7px 8px; font-size: 13px; transition: border-color .2s; }
.tchip i { width: 14px; height: 14px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.tchip:hover { border-color: var(--fg); }
.tchip[aria-pressed="true"] { border-color: var(--fg); background: var(--fg); color: #fff; }
.progress-line { height: 2px; background: var(--line); position: relative; overflow: hidden; }
.progress-line i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--accent); }
.progress-line i.run { animation: fillbar 6s linear forwards; }
@keyframes fillbar { to { width: 100%; } }
@media (max-width: 900px) { .show { grid-template-columns: 1fr; } .show-l { border-right: 0; border-bottom: 1px solid var(--stroke); min-height: 0; } }

/* ---------- results: counters + builder ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--stroke); margin-top: clamp(32px, 4vw, 52px); }
.stat { padding: 28px 24px; display: grid; gap: 8px; }
.stat + .stat { border-left: 1px solid var(--stroke); }
.stat b { font: 500 clamp(36px, 4vw, 54px)/1 var(--f-num); letter-spacing: -.04em; }
.stat b small { font-size: .5em; color: var(--mute); margin-left: 2px; letter-spacing: 0; }
.stat span { font: 400 12px/1.4 var(--f-mark); letter-spacing: .04em; text-transform: uppercase; color: var(--mute); }
@media (max-width: 800px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--stroke); } }

.builder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 18px; align-items: end; }
.builder-h { display: flex; align-items: center; gap: 10px; font: 400 12px/1 var(--f-mark); letter-spacing: .04em; text-transform: uppercase; color: var(--mute); grid-column: 1 / -1; }
.live { width: 8px; height: 8px; background: var(--ok); animation: blink 1.4s steps(1) infinite; }
.tpl-dots { display: flex; gap: 6px; flex-wrap: wrap; }
.tpl-dot { width: 30px; height: 30px; border: 1px solid var(--stroke); padding: 0; display: grid; place-items: center; transition: border-color .2s; }
.tpl-dot i { width: 12px; height: 12px; }
.tpl-dot[aria-pressed="true"] { border: 2px solid var(--fg); }
.b-url { font: 400 12.5px/1.4 var(--f-mono); color: var(--mute); word-break: break-all; grid-column: 1 / -1; }
.b-url b { color: var(--accent); font-weight: 400; }
@media (max-width: 860px) { .builder { grid-template-columns: 1fr; } }

/* ---------- calculator ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); border-top: 1px solid var(--stroke); }
.calc-in { padding: clamp(24px, 3vw, 40px); display: grid; gap: 16px; align-content: start; border-right: 1px solid var(--stroke); }
.calc-out { padding: clamp(24px, 3vw, 40px); display: grid; gap: 16px; align-content: start; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { border: 1px solid var(--stroke); background: var(--surface); padding: 8px 14px; font: 400 12.5px/1 var(--f-mark); letter-spacing: .04em; text-transform: uppercase; transition: all .2s; }
.chip:hover { border-color: var(--fg); }
.chip[aria-pressed="true"] { background: var(--fg); color: #fff; border-color: var(--fg); }
.step-in { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--stroke); background: var(--surface); }
.stepper button { width: 40px; height: 40px; border: 0; background: none; font-size: 17px; transition: background .2s; }
.stepper button:hover { background: var(--paper-2); }
.stepper b { min-width: 70px; text-align: center; font: 500 17px/1 var(--f-num); border-inline: 1px solid var(--stroke); line-height: 40px; }
.stepper small { font: 400 12px var(--f-sans); color: var(--mute); margin-left: 2px; }
.cmp { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--stroke); }
.cmp > div { padding: 18px; display: grid; gap: 4px; align-content: start; background: var(--surface); }
.cmp > div + div { border-left: 1px solid var(--stroke); background: var(--accent-soft); }
.cmp .big { font: 500 32px/1.1 var(--f-num); letter-spacing: -.03em; }
.cmp > div:first-child .big { color: var(--mute); text-decoration: line-through; text-decoration-thickness: 1px; }
.cmp ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 5px; font-size: 13px; color: var(--mute); }
.cmp li { display: flex; justify-content: space-between; gap: 8px; }
.saving { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px; background: var(--fg); color: #fff; }
.saving small { display: block; color: #A3A3A3; font: 400 11.5px/1.3 var(--f-mark); letter-spacing: .04em; text-transform: uppercase; }
.saving b { font: 500 40px/1.1 var(--f-num); color: #7EDCCF; letter-spacing: -.03em; }
.saving span { font-size: 13px; color: #BDBDBD; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } .calc-in { border-right: 0; border-bottom: 1px solid var(--stroke); } }
@media (max-width: 480px) { .cmp { grid-template-columns: 1fr; } .cmp > div + div { border-left: 0; border-top: 1px solid var(--stroke); } }

/* ---------- pricing ---------- */
.price-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--stroke); margin-top: clamp(32px, 4vw, 52px); }
.plan { padding: clamp(24px, 3vw, 36px); display: grid; grid-template-rows: auto auto auto 1fr; gap: 22px; align-content: start; position: relative; transition: background .3s; }
.plan + .plan { border-left: 1px solid var(--stroke); }
.plan:hover { background: var(--surface); }
.plan.pro { background: var(--surface); box-shadow: inset 0 3px 0 var(--accent); }
.plan h3 { font-size: 20px; }
.plan .tagl { color: var(--mute); font-size: 14px; }
.plan .badge { position: absolute; top: 22px; right: 22px; }
.plan .amount { font: 500 46px/1 var(--f-num); letter-spacing: -.04em; }
.plan .amount small { font: 400 14px var(--f-sans); color: var(--mute); margin-left: 4px; letter-spacing: 0; }
.plan .was { font: 400 16px var(--f-num); color: var(--mute); text-decoration: line-through; margin-left: 8px; letter-spacing: 0; }
.plan .pmeta { font-size: 13px; color: var(--mute); display: flex; gap: 12px; flex-wrap: wrap; min-height: 20px; margin-top: 10px; }
.plan .pmeta .save { color: var(--accent); font-weight: 600; }
.feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.feats li { display: flex; gap: 10px; align-items: flex-start; }
.feats svg { color: var(--accent); flex: none; margin-top: 4px; }
.feats-h { font: 400 11.5px/1.3 var(--f-mark); letter-spacing: .04em; text-transform: uppercase; color: var(--mute); }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } .plan + .plan { border-left: 0; border-top: 1px solid var(--stroke); } }
details.compare { border-top: 1px solid var(--stroke); }
details.compare summary { cursor: pointer; padding: 22px clamp(20px, 4.5vw, 64px); font: 400 13px/1 var(--f-mark); letter-spacing: .05em; text-transform: uppercase; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.compare summary::-webkit-details-marker { display: none; }
details.compare summary::after { content: "+"; width: 30px; height: 30px; border: 1px solid var(--stroke); display: grid; place-items: center; font: 400 18px var(--f-sans); transition: transform .3s var(--ease); }
details.compare[open] summary::after { transform: rotate(45deg); }
details.compare .tbl-wrap { padding: 0 clamp(20px, 4.5vw, 64px) 28px; }
.ctbl td:not(:first-child), .ctbl th:not(:first-child) { text-align: center; }
.ctbl .yes { color: var(--accent); display: inline-flex; }
.ctbl .no { color: var(--stroke); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--stroke); margin-top: clamp(32px, 4vw, 52px); }
.step { padding: clamp(24px, 3vw, 36px); display: grid; gap: 12px; align-content: start; }
.step + .step { border-left: 1px solid var(--stroke); }
.step .n { font: 400 12px/1 var(--f-mono); color: var(--accent); letter-spacing: .05em; }
.step p { color: var(--mute); }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } .step + .step { border-left: 0; border-top: 1px solid var(--stroke); } }

/* ---------- faq ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.faq-wrap > .sect-h { padding: clamp(28px, 4vw, 56px) clamp(20px, 4.5vw, 64px); border-right: 1px solid var(--stroke); align-content: start; }
.faqs { display: grid; }
.faq { border-bottom: 1px solid var(--stroke); }
.faq:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; list-style: none; padding: 24px clamp(20px, 3vw, 40px); display: grid; grid-template-columns: 1fr 30px; gap: 16px; align-items: center; font-size: 16px; font-weight: 500; transition: background .2s; }
.faq summary:hover { background: var(--surface); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; width: 30px; height: 30px; border: 1px solid var(--stroke); display: grid; place-items: center; font: 400 18px var(--f-sans); transition: transform .3s var(--ease), background .2s, color .2s; }
.faq[open] summary::after { transform: rotate(45deg); background: var(--fg); color: #fff; border-color: var(--fg); }
.faq p { padding: 0 clamp(20px, 3vw, 40px) 24px; color: var(--mute); max-width: 68ch; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } .faq-wrap > .sect-h { border-right: 0; border-bottom: 1px solid var(--stroke); } }

/* ---------- CTA ---------- */
.cta-in { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 32px; align-items: end; background: var(--fg); color: #BDBDBD; }
.cta-in h2 { color: #fff; }
.cta-in h2 .second { color: #7EDCCF; }
.cta-in .btn:not(.pri):not(.brass) { background: transparent; color: #fff; border-color: #444; }
.cta-in .btn:not(.pri):not(.brass):hover { border-color: #fff; }
.cta-in .btn.pri { background: #fff; color: var(--fg); }
.cta-in .btn.pri:hover { background: #7EDCCF; }
@media (max-width: 860px) { .cta-in { grid-template-columns: 1fr; } }

/* ---------- auth & legal ---------- */
.auth { min-height: calc(100vh - 65px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-width: var(--wrap); margin-inline: auto; border-inline: 1px solid var(--stroke); }
.auth-l { padding: clamp(28px, 5vw, 64px) clamp(20px, 4.5vw, 64px); display: grid; align-content: center; justify-items: center; }
.auth-form { width: min(460px, 100%); display: grid; gap: 16px; }
.auth-form h1 { font-size: clamp(26px, 2.8vw, 36px); }
.auth-r { border-left: 1px solid var(--stroke); padding: clamp(32px, 5vw, 64px); display: grid; align-content: center; gap: 24px; background: var(--fg); color: #BDBDBD; }
.auth-r h2 { color: #fff; font-size: clamp(22px, 2.4vw, 32px); }
.auth-r h2 .second { color: #7EDCCF; }
.auth-r ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.auth-r li { display: flex; gap: 12px; }
.auth-r li svg { color: #7EDCCF; margin-top: 5px; flex: none; }
.plan-pick { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--stroke); }
.plan-pick label { padding: 13px; display: grid; gap: 2px; cursor: pointer; position: relative; background: var(--surface); transition: background .2s; }
.plan-pick label + label { border-left: 1px solid var(--stroke); }
.plan-pick input { position: absolute; opacity: 0; }
.plan-pick b { font: 400 13px var(--f-serif); text-transform: uppercase; }
.plan-pick span { font-size: 13px; color: var(--mute); }
.plan-pick label:has(input:checked) { background: var(--fg); }
.plan-pick label:has(input:checked) b, .plan-pick label:has(input:checked) span { color: #fff; }
.plan-pick label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: -2px; }
.form-err { background: var(--wine-soft); color: var(--wine); padding: 12px 14px; font-size: 14px; border-left: 3px solid var(--wine); }
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; } .auth-r { border-left: 0; border-top: 1px solid var(--stroke); order: 2; } }

.legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); max-width: var(--wrap); margin-inline: auto; border-inline: 1px solid var(--stroke); min-height: 70vh; }
.legal-nav { display: grid; align-content: start; position: sticky; top: 65px; border-right: 1px solid var(--stroke); align-self: start; }
.legal-nav a { text-decoration: none; padding: 16px 22px; color: var(--mute); font-size: 14.5px; border-bottom: 1px solid var(--stroke); transition: background .2s, color .2s; }
.legal-nav a:hover { color: var(--fg); background: var(--surface); }
.legal-nav a[aria-current="page"] { color: var(--fg); background: var(--surface); box-shadow: inset 3px 0 0 var(--accent); }
.legal-doc { max-width: 760px; display: grid; gap: 18px; padding: clamp(28px, 4vw, 56px) clamp(20px, 4.5vw, 64px); }
.legal-doc h1 { font-size: clamp(24px, 2.8vw, 34px); }
.legal-doc h2 { font-size: 16px; margin-top: 10px; }
.legal-doc p { color: #4A4A4A; line-height: 1.8; }
@media (max-width: 800px) { .legal { grid-template-columns: 1fr; } .legal-nav { position: static; border-right: 0; } }

/* old classes still used elsewhere */
.tpl-modal { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
@media (max-width: 640px) { .tpl-modal { grid-template-columns: 1fr; justify-items: center; } }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); border-top: 1px solid var(--stroke); margin-top: clamp(28px, 3vw, 44px); }
.quote { margin: 0; padding: clamp(24px, 3vw, 36px); display: grid; gap: 18px; align-content: space-between; border-right: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke); }
.quote blockquote { margin: 0; font-size: 17px; line-height: 1.6; }
.quote figcaption { display: grid; gap: 2px; font-size: 14px; }
.quote figcaption span { font: 400 11.5px/1.3 var(--f-mark); letter-spacing: .04em; text-transform: uppercase; color: var(--mute); }

/* ---------- v3.1 refinements ---------- */
/* soft teal light behind the live product stage */
.hero-r { background: radial-gradient(55% 60% at 62% 50%, rgba(15, 118, 110, .09), transparent 72%); }
.hero-l h1 { letter-spacing: -.005em; }

/* ---------- hero v3.2: larger stage, calmer type, scan-to-try card ---------- */
.hero-l { gap: 28px; }
.hero-l h1 { font-size: clamp(30px, 3.6vw, 54px); line-height: 1.08; max-width: 14ch; }
.hero-l .lead { font-size: 17.5px; line-height: 1.7; color: #3F3F3F; max-width: 50ch; }
.trust-line { padding-top: 22px; border-top: 1px solid var(--stroke); max-width: 52ch; gap: 10px 22px; }
.hero-r { position: relative; padding-block: clamp(36px, 5vw, 72px); }
.hero-r .win { box-shadow: var(--sh-3); }
.win-bar .t::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--ok); vertical-align: 1px; box-shadow: 0 0 0 3px rgba(21, 128, 61, .14); }
.win-body { height: 540px; background:
  radial-gradient(48% 55% at 28% 55%, rgba(15, 118, 110, .10), transparent 70%),
  linear-gradient(#F1F1F1 1px, transparent 1px) 0 0 / 100% 24px, #FCFCFC; }
.stage { gap: 30px; padding: 0 28px 0 34px; }
.stage .phone { width: 246px; border-radius: 38px; padding: 8px; }
.stage .phone .phone-scr { border-radius: 31px; }
.stage .phone::before { top: 15px; width: 70px; height: 20px; }
.side-cards { gap: 14px; max-width: 300px; }
.mini { padding: 16px 18px; gap: 8px; box-shadow: var(--sh-2); position: relative; }
.mini::before { content: ""; position: absolute; left: -1px; top: -1px; width: 8px; height: 8px; border-left: 2px solid var(--accent); border-top: 2px solid var(--accent); }
.mini .big { font-size: 26px; }
.mini .bar { height: 30px; }

.scan-card { position: absolute; right: 20px; bottom: clamp(14px, 2vw, 28px); z-index: 2; display: flex; align-items: center; gap: 14px; padding: 10px 18px 10px 10px; background: var(--surface); border: 1px solid var(--stroke); box-shadow: var(--sh-3); text-decoration: none; color: var(--fg); transition: border-color .25s, transform .4s var(--ease); }
.scan-card:hover { border-color: var(--fg); transform: translateY(-3px); }
.scan-card img { width: 84px; height: 84px; display: block; background: #fff; border: 1px solid var(--line); padding: 4px; }
.scan-card span { display: grid; gap: 4px; max-width: 150px; }
.scan-card b { font-weight: 600; font-size: 14px; }
.scan-card small { font: 400 11px/1.4 var(--f-mark); letter-spacing: .04em; text-transform: uppercase; color: var(--mute); }

@media (max-width: 1000px) {
  .hero-l h1 { max-width: 18ch; }
  .scan-card { display: none; }
}
@media (max-width: 600px) {
  .win-body { height: 470px; }
  .stage { padding: 14px; }
  .stage .phone { width: 216px; }
}

/* ---------- scene: teal-toned photo band ---------- */
.scene { position: relative; min-height: clamp(380px, 42vw, 520px); display: grid; align-items: end; isolation: isolate; background: #0B2A27; }
.scene > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; z-index: -2; filter: grayscale(1) contrast(1.08) brightness(.95); }
/* duotone: teal multiplies into the greys, then a dark wash on the reading side */
.scene-tint { position: absolute; inset: 0; z-index: -1; pointer-events: none; mix-blend-mode: multiply; }
.scene-tint::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 30, 28, .92) 0%, rgba(8, 30, 28, .7) 38%, rgba(15, 118, 110, .25) 75%), rgba(15, 118, 110, .55); }
.scene-tint::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 30, 28, .55), transparent 55%); }
.scene-tx { display: grid; gap: 18px; padding: clamp(28px, 4.5vw, 64px); max-width: 640px; color: #CFE6E3; }
.scene-tx .marker { color: #7EDCCF; }
.scene-tx h2 { color: #fff; max-width: 18ch; }
.scene-facts { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; border: 1px solid rgba(255, 255, 255, .16); background: rgba(8, 30, 28, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.scene-facts li { display: grid; gap: 4px; padding: 14px 22px; }
.scene-facts li + li { border-left: 1px solid rgba(255, 255, 255, .16); }
.scene-facts b { font: 500 22px/1 var(--f-num); color: #fff; letter-spacing: -.02em; }
.scene-facts span { font: 400 11px/1.3 var(--f-mark); letter-spacing: .05em; text-transform: uppercase; color: #9CC9C3; }
@media (max-width: 600px) {
  .scene-facts li { padding: 12px 14px; }
  .scene-facts b { font-size: 18px; }
}

/* ---------- CTA over a dimmed restaurant photo ---------- */
.cta-in { isolation: isolate; }
.cta-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.cta-bg::before { content: ""; position: absolute; inset: -12px; background: url(/img/demo/scene-hall.webp) center 40% / cover; filter: blur(3px) saturate(.75); }
.cta-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 90% at 85% 100%, rgba(15, 118, 110, .35), transparent 70%), linear-gradient(90deg, rgba(17, 17, 17, .9) 20%, rgba(17, 17, 17, .66) 60%, rgba(17, 17, 17, .45)), linear-gradient(0deg, rgba(17, 17, 17, .4), transparent 60%); }

/* ---------- v3.3 readability on the landing page ---------- */
.win-bar { color: #666; }
.term .dim { color: #8A8A8A; }
.node .step { color: #6A6A6A; font-size: 11.5px; }
.saving small { color: #CFCFCF; }
.saving span { color: #DADADA; }
.cta-in { color: #D6D6D6; }
.mtabs button.mt[aria-selected="true"] .mute { color: #D0D0D0; }
.cell p, .step p, .plan p { color: #4A4A4A; }
.trust-line { color: #4A4A4A; }

/* ---------- v3.3 effects ---------- */
/* cards light up under the cursor (position set by motion.js) */
.cell, .plan, .step { position: relative; isolation: isolate; --mx: 50%; --my: 50%; }
.cell::before, .plan::before, .step::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .4s var(--ease);
  background: radial-gradient(380px circle at var(--mx) var(--my), rgba(15, 118, 110, .11), transparent 55%); }
.cell:hover::before, .plan:hover::before, .step:hover::before { opacity: 1; }
.cell .ic { transition: transform .45s var(--ease), background .3s, color .3s; }
.cell:hover .ic { transform: translateY(-3px) rotate(-4deg); background: var(--accent); color: #fff; }
.step .n { transition: color .3s; }
.step:hover .n { color: var(--accent); }
/* the recommended plan carries a slowly travelling light along its top edge */
.plan.pro { box-shadow: none; }
.plan.pro::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--accent), #7EDCCF, var(--accent), #0B5E58, var(--accent)); background-size: 300% 100%; animation: proline 6s linear infinite; }
@keyframes proline { to { background-position: -300% 0; } }
/* soft light drifting behind the live product in the hero */
.hero-r::before { content: ""; position: absolute; width: 420px; height: 420px; left: 18%; top: 22%; z-index: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(15, 118, 110, .16), transparent 65%); filter: blur(10px); animation: drift 14s ease-in-out infinite alternate; }
.hero-r > :not(.scan-card) { position: relative; z-index: 1; }
.hero-r > .scan-card { z-index: 2; }
@keyframes drift { 50% { transform: translate(60px, -40px) scale(1.12); } 100% { transform: translate(-30px, 30px) scale(.95); } }
@media (prefers-reduced-motion: reduce) { .plan.pro::after, .hero-r::before { animation: none; } }

/* ---------- v3.4 clients strip: real logos in colour, readable names ---------- */
.bchip { justify-content: flex-start; gap: 14px; min-width: 280px; height: 108px; padding: 0 30px; font: 600 16px/1.2 var(--f-sans); color: var(--fg); text-transform: none; filter: none; position: relative; }
.bchip::after { content: ""; position: absolute; left: 30px; right: 30px; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.bchip:hover { background: var(--surface); }
.bchip:hover::after { transform: scaleX(1); }
.blogo { width: 52px; height: 52px; border-radius: 14px; background: var(--accent); color: #fff; font: 700 16px/1 var(--f-sans); box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 10px 22px -12px rgba(10, 40, 37, .5); transition: transform .4s var(--ease); }
.bchip:hover .blogo { transform: translateY(-2px) scale(1.04); }
.btx { display: grid; gap: 4px; min-width: 0; }
.btx b { font-weight: 650; font-size: 16px; color: var(--fg); overflow: hidden; text-overflow: ellipsis; }
.btx small { font: 400 12.5px/1.3 var(--f-sans); color: #4A4A4A; max-width: 200px; overflow: hidden; text-overflow: ellipsis; }
/* a short list stands still, centred, without the edge fade */
.mq-track.still { animation: none; width: auto; justify-content: center; flex-wrap: wrap; }
.marquee:has(.still) { -webkit-mask-image: none; mask-image: none; }
.badge-brk { color: #0B5E58; }

/* ---------- v3.4 text: darker everywhere on the marketing pages ---------- */
.marker, .mark, .trust-line, .node .step, .win-bar, .saving small { color: #262626; }
.cell p, .step p, .plan p, .faq p, .lead { color: #333; }
.term .dim { color: #6A6A6A; }
.bchip.invite { border-left: 1px solid var(--stroke); }
.bchip.invite .blogo { background: var(--accent-soft); color: var(--accent); font-size: 26px; font-weight: 400; box-shadow: inset 0 0 0 1.5px var(--accent-line); }

/* ---------- v3.5 small labels on the landing page ---------- */
.badge-brk { font: 600 13px/1.2 var(--f-sans); letter-spacing: 0; text-transform: none; background: #D3EBE7; color: #08443F; border: 1px solid #A9D3CD; }
.chip { font: 600 13.5px/1 var(--f-sans); letter-spacing: 0; text-transform: none; color: #1F1F1F; }
.plan .pmeta .save { color: #08443F; }
.plan .tagl { color: #3A3A3A; }
.cell .ic { background: #D3EBE7; color: #08443F; }

/* ---------- v3.6 landing labels: same readable label style ---------- */
.trust-line, .mini .h, .shield-items span, .specs small, .stat span, .builder-h, .saving small,
.feats-h, details.compare summary, .quote figcaption span, .scan-card small, .scene-facts span, .show-r .sub {
  font-family: var(--f-sans); font-weight: 600; letter-spacing: .01em; text-transform: none;
}
.trust-line { font-size: 13.5px; color: #262626; }
.mini .h { font-size: 12px; color: #333; }
.shield-items span, .specs small, .stat span, .builder-h, .feats-h, .quote figcaption span { font-size: 13px; color: #2E2E2E; }
.scan-card small { font-size: 12.5px; color: #3A3A3A; }
.show-r .sub { font-size: 14px; color: #2E2E2E; }
details.compare summary { font-size: 14.5px; color: var(--fg); }
.saving small { font-size: 12.5px; color: #E2E2E2; }
.scene-facts span { font-size: 12.5px; color: #CFE8E4; }
.win-bar { color: #4A4A4A; }
.node .step { color: #4A4A4A; }
.term { color: #2A2A2A; }
