/* tamuko. marketing site — tokens follow Design System v1.0 (Warm / Midnight) */
:root, [data-theme="warm"] {
  color-scheme: light;
  --bg: #EADFC7; --surface: #F7F0E3; --raised: #FFF8EE; --inset: #DED2BC;
  --text: #30474F; --muted: #68716D; --border: #CFC3AD; --border-strong: #3F5A62;
  --peach: #FF8254; --peach-hover: #F06F40; --steel: #3F5A62; --blue: #526889;
  --ink: #202326; --focus: #30474F;
  --ok: #236B52; --warn: #915B13; --err: #A63838; --info: #2C668F; --pend: #705EA5;
  --glass: rgba(255, 248, 238, .72); --shadow: 0 1px 2px rgba(48,71,79,.06), 0 12px 32px -12px rgba(48,71,79,.22);
  --dark-bg: #1F1F21; --dark-surface: #29292C; --dark-text: #F0EFE9; --dark-muted: #B8B8B0; --dark-border: #3A3A40;
}
[data-theme="midnight"] {
  color-scheme: dark;
  --bg: #1F1F21; --surface: #29292C; --raised: #323238; --inset: #171719;
  --text: #F0EFE9; --muted: #B8B8B0; --border: #3A3A40; --border-strong: #7C91AD;
  --steel: #7C91AD; --focus: #FFC09C;
  --ok: #73D4A2; --warn: #F0C36C; --err: #FF8D87; --info: #86B9E3; --pend: #BAA7EE;
  --glass: rgba(41, 41, 44, .72); --shadow: 0 1px 2px rgba(0,0,0,.3), 0 16px 40px -16px rgba(0,0,0,.6);
  --dark-bg: #171719; --dark-surface: #232327;
}

:root {
  --f-head: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
  --f-brand: "Fredoka", "Manrope", sans-serif;
  --r: 18px; --r-lg: 24px; --r-sm: 12px;
  --wrap: 1180px;
}

/* script-aware font stacks (Latin brand font first only where it has the glyphs) */
:lang(ar) { --f-head: "Noto Sans Arabic", sans-serif; --f-body: "Noto Sans Arabic", sans-serif; }
:lang(fa) { --f-head: "Vazirmatn", "Noto Sans Arabic", sans-serif; --f-body: "Vazirmatn", "Noto Sans Arabic", sans-serif; }
:lang(ur) { --f-head: "Noto Nastaliq Urdu", "Noto Sans Arabic", sans-serif; --f-body: "Noto Nastaliq Urdu", "Noto Sans Arabic", sans-serif; }
:lang(he) { --f-head: "Noto Sans Hebrew", sans-serif; --f-body: "Noto Sans Hebrew", sans-serif; }
:lang(hi), :lang(ne), :lang(mr) { --f-head: "Bricolage Grotesque", "Noto Sans Devanagari", sans-serif; --f-body: "Inter", "Noto Sans Devanagari", sans-serif; }
:lang(bn) { --f-head: "Bricolage Grotesque", "Noto Sans Bengali", sans-serif; --f-body: "Inter", "Noto Sans Bengali", sans-serif; }
:lang(ml) { --f-head: "Bricolage Grotesque", "Noto Sans Malayalam", sans-serif; --f-body: "Inter", "Noto Sans Malayalam", sans-serif; }
:lang(ta) { --f-head: "Bricolage Grotesque", "Noto Sans Tamil", sans-serif; --f-body: "Inter", "Noto Sans Tamil", sans-serif; }
:lang(si) { --f-head: "Bricolage Grotesque", "Noto Sans Sinhala", sans-serif; --f-body: "Inter", "Noto Sans Sinhala", sans-serif; }
:lang(th) { --f-head: "Bricolage Grotesque", "Noto Sans Thai", sans-serif; --f-body: "Inter", "Noto Sans Thai", sans-serif; }
:lang(zh) { --f-head: "Bricolage Grotesque", "Noto Sans SC", sans-serif; --f-body: "Inter", "Noto Sans SC", sans-serif; }
:lang(ja) { --f-head: "Bricolage Grotesque", "Noto Sans JP", sans-serif; --f-body: "Inter", "Noto Sans JP", sans-serif; }
:lang(ko) { --f-head: "Bricolage Grotesque", "Noto Sans KR", sans-serif; --f-body: "Inter", "Noto Sans KR", sans-serif; }
/* complex scripts: no tracking, roomier lines */
html:not(:lang(en)) h1, html:not(:lang(en)) h2, html:not(:lang(en)) .kicker { letter-spacing: 0 !important; }
:lang(ur) body { line-height: 2; } :lang(ur) h1, :lang(ur) h2 { line-height: 1.7 !important; }
:lang(ar) h1, :lang(fa) h1, :lang(th) h1, :lang(ml) h1, :lang(ta) h1, :lang(si) h1, :lang(hi) h1, :lang(ne) h1, :lang(bn) h1 { line-height: 1.3; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 var(--f-body); -webkit-font-smoothing: antialiased;
  transition: background .3s, color .3s; overflow-x: hidden; overflow-x: clip; max-width: 100vw;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-head); line-height: 1.12; margin: 0; }
p { margin: 0; }
.mono, .amount { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
bdi, .mono { unicode-bidi: isolate; }
.muted { color: var(--muted); } .small { font-size: .9rem; } .center { text-align: center; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 820px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--peach); color: var(--ink); padding: 10px 16px; border-radius: 10px; z-index: 100; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 600 1rem/1 var(--f-body); padding: 15px 24px; border-radius: 999px;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s, background .2s, box-shadow .2s, border-color .2s;
  min-height: 48px; white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-peach { background: var(--peach); color: var(--ink); box-shadow: 0 6px 20px -8px rgba(255,130,84,.8); }
.btn-peach:hover { background: var(--peach-hover); box-shadow: 0 10px 26px -8px rgba(255,130,84,.9); }
.btn-ghost { border-color: var(--border-strong); color: var(--text); background: transparent; }
.btn-ghost:hover { background: var(--surface); }
.btn-ghost-dark { border-color: var(--dark-border); color: var(--dark-text); background: transparent; }
.btn-ghost-dark:hover { background: var(--dark-surface); }
.btn-sm { padding: 10px 18px; min-height: 42px; font-size: .92rem; }
.btn-block { width: 100%; }
.arrow { transition: transform .2s; display: inline-block; }
.btn:hover .arrow { transform: translateX(3px); }
[dir="rtl"] .arrow { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(3px); }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 42px; height: 42px; padding: 0 10px; border-radius: 999px;
  border: 1.5px solid var(--border); background: var(--surface); color: var(--text);
  cursor: pointer; font: 600 .85rem var(--f-body); transition: border-color .2s, background .2s;
}
.icon-btn:hover { border-color: var(--border-strong); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
[data-theme="warm"] .i-moon, [data-theme="midnight"] .i-sun { display: none; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand img { border-radius: 10px; }
.wordmark { font: 700 1.65rem/1 var(--f-brand); letter-spacing: -.01em; color: var(--text); position: relative; direction: ltr; unicode-bidi: isolate; }
.wm-o { position: relative; display: inline-block; }
.wm-o::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: -3px; height: 4px; border-radius: 4px; background: var(--peach); }
.wm-dot { color: var(--peach); }
.nav-links { display: flex; gap: 4px; margin-inline-start: auto; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: .95rem; padding: 8px 12px; border-radius: 999px; color: var(--text); opacity: .85; transition: background .2s, opacity .2s; }
.nav-links a:hover { background: var(--surface); opacity: 1; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; }

/* language menu */
.lang { position: relative; }
.lang-menu {
  position: absolute; top: calc(100% + 10px); inset-inline-end: 0; z-index: 60;
  width: min(92vw, 520px); max-height: min(70vh, 560px); overflow: auto;
  padding: 14px; border-radius: var(--r); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.lang-group + .lang-group { margin-top: 12px; }
.lang-group > span { display: block; font: 700 .72rem/1 var(--f-body); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 4px 6px 8px; }
.lang-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 4px; }
.lang-opt { text-align: start; background: none; border: 0; border-radius: 10px; padding: 8px 10px; cursor: pointer; color: var(--text); display: flex; flex-direction: column; gap: 1px; }
.lang-opt:hover, .lang-opt:focus-visible { background: var(--surface); }
.lang-opt[aria-selected="true"] { background: color-mix(in srgb, var(--peach) 20%, transparent); }
.lang-opt b { font-weight: 600; font-size: 1rem; font-family: var(--f-body); }
.lang-opt small { color: var(--muted); font-size: .76rem; }
.glass { background: var(--glass); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 56px 0 0; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 720px; height: 720px; inset-inline-end: -180px; top: -260px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--peach) 28%, transparent), transparent 65%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .88rem; font-weight: 500; padding: 7px 14px 7px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 var(--ok); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); font-weight: 800; letter-spacing: -.035em; margin: 22px 0 18px; }
.hl { color: var(--peach); position: relative; }
[data-theme="warm"] .hl { color: #E0602F; }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.25rem); max-width: 34em; color: var(--muted); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }
.hero-badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .93rem; font-weight: 500; }
.hero-badges li { display: flex; align-items: center; gap: 7px; }
.hero-badges svg { width: 18px; height: 18px; fill: none; stroke: var(--ok); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.hero-visual { position: relative; height: 560px; display: grid; place-items: center; }
.phone { width: 282px; height: 560px; border-radius: 46px; background: #121214; padding: 12px; box-shadow: 0 40px 80px -30px rgba(31,31,33,.55), inset 0 0 0 2px #2a2a2e; position: relative; transform: rotate(-3deg); animation: floaty 7s ease-in-out infinite; }
[dir="rtl"] .phone { transform: rotate(3deg); }
@keyframes floaty { 50% { translate: 0 -10px; } }
.phone-notch { position: absolute; top: 20px; left: 50%; translate: -50% 0; width: 92px; height: 26px; background: #121214; border-radius: 20px; z-index: 2; }
.screen { height: 100%; border-radius: 36px; background: #F7F0E3; color: #30474F; padding: 54px 16px 16px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; font-size: 13px; }
.scr-head { display: flex; justify-content: space-between; align-items: center; }
.scr-title { font: 800 1.35rem var(--f-head); }
.scr-chip { font-size: .72rem; background: #EADFC7; padding: 4px 8px; border-radius: 8px; }
.scr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.item { background: #FFF8EE; border: 1px solid #E3D7C0; border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 2px; position: relative; min-height: 86px; }
.item b { font-size: .8rem; line-height: 1.25; font-weight: 600; }
.item .mono { font-size: .75rem; color: #68716D; margin-top: auto; }
.item em { position: absolute; top: 8px; inset-inline-end: 8px; font-style: normal; font: 700 .7rem var(--f-mono); background: #FF8254; color: #202326; border-radius: 999px; padding: 2px 7px; }
.item-emoji { font-size: 1.3rem; }
.scr-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px dashed #CFC3AD; padding-top: 10px; font-weight: 600; margin-top: auto; }
.scr-total .amount { font-size: 1.35rem; font-weight: 700; }
.scr-pay { display: flex; gap: 6px; }
.pay-opt { flex: 1; text-align: center; font-size: .72rem; font-weight: 600; padding: 7px 4px; border-radius: 10px; border: 1px solid #CFC3AD; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pay-opt.active { border-color: #3F5A62; background: #3F5A62; color: #fff; }
.scr-btn { background: #FF8254; color: #202326; font-weight: 700; text-align: center; border-radius: 16px; padding: 14px; font-size: .95rem; }

.float { position: absolute; border-radius: 18px; padding: 12px 16px; border: 1px solid var(--border); box-shadow: var(--shadow); display: flex; gap: 10px; align-items: center; animation: floaty 6s ease-in-out infinite; }
.float small { display: block; color: var(--muted); font-size: .76rem; }
.float b { font-size: 1rem; }
.f1 { top: 70px; inset-inline-start: -10px; animation-delay: -1s; }
.f2 { bottom: 120px; inset-inline-end: -20px; flex-direction: column; align-items: flex-start; gap: 2px; animation-delay: -3s; }
.f3 { bottom: 34px; inset-inline-start: 0; flex-direction: column; align-items: flex-start; gap: 6px; animation-delay: -2s; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.ok { background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 25%, transparent); }
.spark { width: 120px; height: 28px; }
.spark path { fill: none; stroke: var(--ok); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.stamps { display: flex; gap: 4px; }
.stamps i { width: 14px; height: 14px; border-radius: 50%; background: var(--peach); display: grid; place-items: center; font-style: normal; font-size: 9px; color: var(--ink); }
.stamps i.gift { background: transparent; border: 1.5px dashed var(--peach); color: var(--peach); }
.stamps.lg i { width: 26px; height: 26px; font-size: 13px; }
.stamps.lg i.empty { background: transparent; border: 1.5px solid var(--border); }

/* signature rail */
.rail-band { position: relative; height: 150px; margin-top: 30px; direction: ltr; }
.rail-bar { position: absolute; top: 26px; left: 0; right: 0; height: 12px; background: linear-gradient(180deg, #d9dbdc, #9fa5a8 55%, #7f868a); box-shadow: 0 3px 6px rgba(0,0,0,.18); }
[data-theme="midnight"] .rail-bar { background: linear-gradient(180deg, #8c9296, #5a6064 55%, #43484b); }
.rail-track { position: absolute; top: 30px; left: 0; display: flex; gap: 22px; width: max-content; animation: slide 60s linear infinite; }
.rail-band:hover .rail-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.ticket { position: relative; width: 170px; padding: 16px 14px 18px; margin-top: 8px; background: #FFF8EE; color: #202326; border-radius: 4px 4px 0 0; box-shadow: 0 8px 18px -8px rgba(0,0,0,.35); font: 500 .74rem/1.45 var(--f-mono); transform-origin: top center; animation: sway 4s ease-in-out infinite; }
.ticket::before { content: ""; position: absolute; top: -10px; left: 50%; width: 18px; height: 14px; translate: -50% 0; background: #7f868a; border-radius: 3px 3px 6px 6px; }
.ticket::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 8px; background: linear-gradient(-45deg, transparent 6px, #FFF8EE 0) 0 0/12px 8px, linear-gradient(45deg, transparent 6px, #FFF8EE 0) 0 0/12px 8px; }
.ticket b { display: flex; justify-content: space-between; font-size: .95rem; margin-bottom: 6px; }
.ticket .st { display: inline-block; margin-top: 6px; padding: 2px 8px; border-radius: 999px; font-size: .66rem; font-weight: 700; }
.st.s0 { background: #DCE7F0; color: #2C668F; } .st.s1 { background: #F6E5C8; color: #915B13; } .st.s2 { background: #D3EBDF; color: #236B52; }
.ticket:nth-child(3n) { animation-delay: -1.3s; } .ticket:nth-child(3n+1) { animation-delay: -2.6s; }
@keyframes sway { 50% { transform: rotate(1.2deg); } }

/* ---------- strip ---------- */
.strip { padding: 22px 0 10px; }
.strip-label { text-align: center; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.strip-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.strip-list li { padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-weight: 500; font-size: .93rem; }

/* ---------- sections ---------- */
.section { padding: 110px 0; position: relative; }
.section-alt { background: var(--surface); }
.section-dark { background: var(--dark-bg); color: var(--dark-text); --muted: var(--dark-muted); --border: var(--dark-border); }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.kicker { font: 700 .8rem/1 var(--f-body); text-transform: uppercase; letter-spacing: .12em; color: var(--peach); margin-bottom: 14px; }
[data-theme="warm"] .section:not(.section-dark) .kicker { color: #C2532A; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; letter-spacing: -.028em; }
.sec-sub { color: var(--muted); font-size: 1.12rem; margin-top: 16px; }
.card { background: var(--raised); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.section-alt .card { background: var(--bg); }

/* products */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prod { padding: 28px; transition: transform .25s, box-shadow .25s; }
.prod:hover { transform: translateY(-4px); }
.prod-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 16%, transparent); color: var(--c); margin-bottom: 18px; }
[data-theme="midnight"] .prod-ico { background: color-mix(in srgb, var(--c) 30%, transparent); color: color-mix(in srgb, var(--c) 50%, white); }
.prod-ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.prod h3 { font-size: 1.4rem; font-weight: 800; direction: ltr; unicode-bidi: isolate; display: inline-block; }
.pfx { font-family: var(--f-brand); font-weight: 600; color: var(--muted); }
.prod-tag { font-weight: 600; color: var(--steel); margin: 4px 0 12px; font-size: .95rem; }
.prod p:last-child { color: var(--muted); }

/* flow */
.flow-ctrl { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; }
.seg { display: inline-flex; background: var(--dark-surface); border: 1px solid var(--dark-border); border-radius: 999px; padding: 4px; }
.seg-btn { border: 0; background: none; color: var(--dark-muted); font: 600 .92rem var(--f-body); padding: 9px 18px; border-radius: 999px; cursor: pointer; }
.seg-btn.active { background: var(--blue); color: #fff; }
.flow-btns { display: flex; gap: 8px; }
.flow-board { display: grid; grid-template-columns: 1fr 260px; gap: 18px; }
.flow-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.col { background: var(--dark-surface); border: 1px solid var(--dark-border); border-radius: var(--r); padding: 14px 12px; min-height: 420px; position: relative; }
.col-head { display: flex; align-items: center; gap: 8px; font-weight: 700; padding: 0 4px 10px; }
.col-count { margin-inline-start: auto; background: #323238; padding: 2px 9px; border-radius: 999px; font-size: .8rem; }
.col-dot { width: 9px; height: 9px; border-radius: 50%; }
.col-dot.s0 { background: #86B9E3; } .col-dot.s1 { background: #F0C36C; } .col-dot.s2 { background: #73D4A2; }
.col-rail { height: 8px; border-radius: 4px; background: linear-gradient(180deg, #8c9296, #5a6064); margin: 0 -2px 16px; }
.col-body { display: flex; flex-direction: column; gap: 12px; }
.fticket { background: #FFF8EE; color: #202326; border-radius: 6px; padding: 12px 12px 14px; font: 500 .8rem/1.45 var(--f-mono); cursor: pointer; border: 0; text-align: start; width: 100%; position: relative; box-shadow: 0 6px 14px -8px rgba(0,0,0,.6); transition: transform .25s cubic-bezier(.2,.8,.2,1), opacity .25s; animation: drop .35s cubic-bezier(.2,.8,.2,1); }
.fticket:hover { transform: translateY(-2px) rotate(-.5deg); }
.fticket b { display: flex; justify-content: space-between; font-size: 1rem; margin-bottom: 4px; }
.fticket .t-time { font-weight: 500; font-size: .74rem; color: #68716D; }
.fticket .t-time.late { color: #A63838; font-weight: 700; }
.fticket ul { margin: 0; padding: 0; list-style: none; font-family: var(--f-body); }
.fticket .t-tag { display: inline-block; margin-top: 6px; font: 600 .66rem var(--f-body); background: #EADFC7; padding: 2px 7px; border-radius: 6px; }
.fticket .t-hint { position: absolute; bottom: 8px; inset-inline-end: 10px; font: 600 .68rem var(--f-body); color: #C2532A; opacity: 0; transition: opacity .2s; }
.fticket:hover .t-hint, .fticket:focus-visible .t-hint { opacity: 1; }
.fticket.leaving { opacity: 0; transform: translateX(30px) scale(.96); }
[dir="rtl"] .fticket.leaving { transform: translateX(-30px) scale(.96); }
@keyframes drop { from { opacity: 0; transform: translateY(-14px) rotate(-2deg); } }
.pickup { background: #111113; border: 1px solid var(--dark-border); border-radius: var(--r); padding: 18px; display: flex; flex-direction: column; gap: 16px; }
.pickup-title { font: 800 1.1rem var(--f-head); }
.pickup-lbl { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--dark-muted); }
.tokens { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; min-height: 40px; }
.tok { font: 700 1.05rem var(--f-mono); padding: 6px 10px; border-radius: 10px; background: #29292C; animation: drop .3s; }
.ready .tok { background: #1d3b2f; color: #73D4A2; box-shadow: inset 0 0 0 1px #2c5a46; }
.pickup-note { font-size: .82rem; color: var(--dark-muted); margin-top: auto; }

/* templates */
.tpl { display: grid; grid-template-columns: 260px 1fr; gap: 20px; }
.tpl-tabs { display: flex; flex-direction: column; gap: 6px; }
.tpl-tab { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; border: 1px solid transparent; background: none; color: var(--text); font: 600 1rem var(--f-body); cursor: pointer; text-align: start; transition: background .2s, border-color .2s; }
.tpl-tab span { font-size: 1.3rem; }
.tpl-tab:hover { background: var(--surface); }
.tpl-tab[aria-selected="true"] { background: var(--raised); border-color: var(--border); box-shadow: var(--shadow); }
.tpl-panel { padding: 36px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: start; min-height: 320px; }
.tpl-panel h3 { font-size: 1.8rem; font-weight: 800; margin-bottom: 12px; }
.tpl-panel p { color: var(--muted); font-size: 1.05rem; }
.chips-lbl { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--muted); margin: 0 0 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip { padding: 7px 13px; border-radius: 999px; font-size: .88rem; font-weight: 500; display: inline-flex; gap: 6px; align-items: center; }
.chip.on { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.chip.off { background: var(--inset); color: var(--muted); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--muted) 60%, transparent); }
.tpl-anim { animation: fadeUp .35s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }

/* pay */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .sec-sub { margin-bottom: 28px; }
.trust { display: flex; gap: 16px; padding: 22px; }
.trust-ico { flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.trust-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.trust p { color: var(--muted); font-size: .95rem; margin-top: 4px; }
.rails { display: flex; flex-direction: column; gap: 10px; }
.rail-row { display: grid; grid-template-columns: 34px 150px 1fr auto; align-items: center; gap: 12px; padding: 16px 18px; background: var(--bg); border: 1px solid var(--border); border-radius: 16px; transition: transform .2s; }
.rail-row:hover { transform: translateX(4px); }
[dir="rtl"] .rail-row:hover { transform: translateX(-4px); }
.flag { font-size: 1.4rem; }
.rail-name { color: var(--muted); font-size: .9rem; direction: ltr; unicode-bidi: isolate; text-align: start; }
.tag { font: 700 .72rem var(--f-body); padding: 4px 10px; border-radius: 999px; background: var(--inset); color: var(--muted); white-space: nowrap; }
.tag-live { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }

/* duo */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.big { padding: 36px; display: flex; flex-direction: column; gap: 20px; }
.h3big { font-size: 1.8rem; font-weight: 800; letter-spacing: -.02em; }
.big .kicker { margin: 0; }
.rule { background: var(--inset); padding: 16px; border-radius: 14px; font-size: .85rem; line-height: 2.1; }
.pill { background: var(--peach); color: var(--ink); padding: 3px 9px; border-radius: 8px; font-weight: 700; white-space: nowrap; }
.pass { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px; border-radius: 18px; background: linear-gradient(135deg, #3F5A62, #526889); color: #fff; }
.pass small { opacity: .75; font-size: .76rem; display: block; }
.pass b { font: 800 1.2rem var(--f-head); display: block; margin-bottom: 12px; }
.pass .stamps.lg i.empty { border-color: rgba(255,255,255,.35); }
.qr { width: 84px; height: 84px; flex-shrink: 0; border-radius: 10px; background: #fff; padding: 8px; display: grid; grid-template-columns: repeat(9, 1fr); gap: 1px; }
.qr i { background: #202326; border-radius: 1px; } .qr i.w { background: transparent; }
.close { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.close-row { display: flex; justify-content: space-between; padding: 11px 16px; border-top: 1px solid var(--border); font-size: .95rem; }
.close-row:first-child { border-top: 0; }
.close-row.head { background: var(--inset); font-weight: 700; }
.close-row.total { font-weight: 800; font-size: 1.05rem; background: color-mix(in srgb, var(--ok) 8%, transparent); }
.neg { color: var(--muted); } .pos { color: var(--ok); }
.margins { display: flex; flex-direction: column; gap: 10px; }
.m { display: grid; grid-template-columns: 130px 1fr 44px; gap: 12px; align-items: center; font-size: .9rem; }
.bar { height: 10px; background: var(--inset); border-radius: 6px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--ok); border-radius: 6px; transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.in .bar i { width: var(--w); }
.m.warn .bar i { background: var(--warn); } .m.warn .mono { color: var(--warn); font-weight: 700; }

/* scripts */
.scripts { list-style: none; padding: 0; margin: 0 0 26px; display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 12px; }
.scripts li { background: var(--dark-surface); border: 1px solid var(--dark-border); border-radius: 16px; padding: 18px 16px; display: flex; flex-direction: column; gap: 6px; min-height: 108px; transition: border-color .2s, transform .2s; }
.scripts li:hover { border-color: var(--peach); transform: translateY(-3px); }
.scripts .w { font-size: 1.32rem; font-weight: 500; line-height: 1.5; }
.scripts .n { font-size: .8rem; color: var(--dark-muted); margin-top: auto; display: flex; justify-content: space-between; gap: 6px; }
.scripts .n em { font-style: normal; font-family: var(--f-mono); font-size: .7rem; opacity: .8; }
.region-h { grid-column: 1 / -1; background: none !important; border: 0 !important; min-height: 0 !important; padding: 18px 2px 0 !important; font: 700 .78rem var(--f-body); text-transform: uppercase; letter-spacing: .12em; color: var(--peach); }
.region-h:hover { transform: none !important; }
:lang(ur) .w, .scripts [lang="ur"] { font-family: "Noto Nastaliq Urdu", serif; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 30px; }
.stat { padding: 28px 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.stat b { font-size: 2.8rem; font-weight: 700; letter-spacing: -.03em; }
.stat > span { font: 700 1rem var(--f-mono); color: var(--peach); margin-inline-start: 6px; }
.stat p { color: var(--muted); margin-top: 8px; }
.hw { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }
.hw-item { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 16px; border: 1px dashed var(--border); font-size: .93rem; }
.hw-item span { font-size: 1.5rem; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px 24px; position: relative; }
.plan.featured { border: 2px solid var(--peach); box-shadow: 0 20px 40px -20px rgba(255,130,84,.6); }
.ribbon { position: absolute; top: -13px; inset-inline-start: 24px; background: var(--peach); color: var(--ink); font: 700 .74rem var(--f-body); padding: 5px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.3rem; font-weight: 800; }
.price { font: 800 1.75rem var(--f-head); margin: 10px 0 2px; letter-spacing: -.02em; }
.plan-for { color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.plan ul { list-style: none; padding: 18px 0 0; margin: 0; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; font-size: .93rem; }
.plan li { padding-inline-start: 24px; position: relative; }
.plan li::before { content: ""; position: absolute; inset-inline-start: 0; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }

/* pilot */
.pilot { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 48px; background: linear-gradient(140deg, var(--raised), var(--surface)); overflow: hidden; position: relative; }
.pilot::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; inset-inline-start: -140px; bottom: -200px; background: radial-gradient(circle, color-mix(in srgb, var(--peach) 22%, transparent), transparent 70%); pointer-events: none; }
.pilot-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 16px; }
.pilot-copy > p { color: var(--muted); font-size: 1.05rem; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 12px; font-weight: 500; }
.ticks li { padding-inline-start: 30px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; inset-inline-start: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--peach); color: var(--ink); font-size: .7rem; font-weight: 800; display: grid; place-items: center; top: .15em; }
.form { display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 1; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field input, .field select { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--border); background: var(--inset); color: var(--text); font: 400 1rem var(--f-body); transition: border-color .2s, background .2s; }
.field input:focus, .field select:focus { outline: none; border-color: var(--border-strong); background: var(--raised); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--err); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-msg { min-height: 1.4em; font-weight: 600; font-size: .95rem; }
.form-msg.ok { color: var(--ok); } .form-msg.err { color: var(--err); }
.fine { font-size: .8rem; color: var(--muted); }

/* faq */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--bg); border: 1px solid var(--border); border-radius: 18px; padding: 0 22px; transition: background .2s; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font: 700 1.08rem var(--f-head); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.6rem/1 var(--f-body); color: var(--peach); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--muted); }

/* footer */
.foot { padding: 64px 0 30px; border-top: 1px solid var(--border); }
.foot-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.foot-grid .brand { margin-bottom: 12px; }
.foot-cols { display: flex; gap: 64px; }
.foot-cols div { display: flex; flex-direction: column; gap: 9px; }
.foot-cols b { margin-bottom: 4px; }
.foot-cols a { text-decoration: none; color: var(--muted); font-size: .93rem; }
.foot-cols a:hover { color: var(--text); }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: .85rem; padding-top: 22px; border-top: 1px solid var(--border); }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; padding: 12px 20px 20px; background: var(--bg); border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; }
  .menu-btn { display: inline-flex; }
  .nav-actions { margin-inline-start: auto; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .flow-board { grid-template-columns: 1fr; }
  .pickup { flex-direction: row; flex-wrap: wrap; } .pickup-sec { flex: 1; min-width: 200px; } .pickup-note { flex-basis: 100%; }
}
@media (max-width: 900px) {
  .hero-grid, .split, .duo, .pilot, .tpl, .tpl-panel { grid-template-columns: 1fr; }
  .hero-visual { height: 520px; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .stats, .hw { grid-template-columns: repeat(2, 1fr); }
  .tpl-tabs { flex-direction: row; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .tpl-tab { flex-shrink: 0; }
  .pilot { padding: 32px 24px; }
  .section { padding: 84px 0; }
}
@media (max-width: 640px) {
  .nav-actions .btn-sm { display: none; }
  .products, .plans { grid-template-columns: 1fr; }
  .flow-cols { grid-template-columns: 1fr; } .col { min-height: 0; }
  .rail-row { grid-template-columns: 30px 1fr auto; } .rail-name { grid-column: 2 / 4; grid-row: 2; }
  .row2 { grid-template-columns: 1fr; }
  .f2 { inset-inline-end: 0; } .f1 { inset-inline-start: 0; }
  .phone { transform: rotate(0) scale(.92); } [dir="rtl"] .phone { transform: rotate(0) scale(.92); }
  .m { grid-template-columns: 110px 1fr 40px; }
  .stat b { font-size: 2.2rem; }
  .foot-cols { gap: 40px; }
  .tpl-panel, .big { padding: 26px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .rail-track { flex-wrap: nowrap; }
}

/* ---------- device-adaptive layer ---------- */
/* fluid root size: scales smoothly from small phones to 4K */
html { font-size: clamp(15px, 0.55vw + 12.6px, 17px); }
@media (min-width: 1600px) { html { font-size: clamp(17px, 0.45vw + 10px, 21px); } :root { --wrap: 1360px; } .hero-visual { height: 620px; } }
@media (min-width: 2400px) { :root { --wrap: 1680px; } html { font-size: 22px; } .phone { scale: 1.2; } }
/* notched / rounded phones */
.nav { padding-top: env(safe-area-inset-top); }
.wrap { padding-inline: env(safe-area-inset-left) env(safe-area-inset-right); }
.foot { padding-bottom: calc(30px + env(safe-area-inset-bottom)); }
/* touch screens: bigger targets, no hover-only affordances */
@media (hover: none) and (pointer: coarse) {
  .nav-links a, .lang-opt, .tpl-tab, .seg-btn { min-height: 48px; }
  .icon-btn { min-width: 46px; height: 46px; }
  .fticket .t-hint { opacity: .8; }
  .prod:hover, .scripts li:hover, .rail-row:hover { transform: none; }
  .rail-band:hover .rail-track { animation-play-state: running; }
}
/* very small phones */
@media (max-width: 380px) {
  .wrap { width: calc(100% - 28px); }
  .hero-visual { height: 470px; } .phone { transform: scale(.82) !important; }
  .float { padding: 9px 12px; } .f2 { display: none; }
  .btn { padding: 14px 18px; } .hero-ctas .btn { width: 100%; }
  .wordmark { font-size: 1.4rem; }
}
/* phones held sideways */
@media (max-height: 500px) and (orientation: landscape) {
  .nav-inner { height: 58px; } .nav-links { top: 58px; }
  .hero { padding-top: 24px; } .hero-grid { grid-template-columns: 1.2fr .8fr; }
  .hero-visual { height: 380px; } .phone { transform: scale(.66) !important; } .float { display: none; }
  .section { padding: 56px 0; }
  .lang-menu { max-height: 80vh; }
}
/* tablets in portrait: keep two-column where it reads well */
@media (min-width: 700px) and (max-width: 900px) {
  .hero-grid { text-align: center; } .hero-ctas, .hero-badges { justify-content: center; } .lede { margin-inline: auto; }
}
/* print */
@media print { .nav, .rail-band, .hero-visual, #pilot, .flow-ctrl { display: none; } body { background: #fff; color: #000; } .section-dark { background: #fff; color: #000; } }
/* keep grid children from forcing overflow on narrow screens */
.duo > *, .split > *, .hero-grid > *, .pilot > *, .tpl > *, .flow-board > *, .flow-cols > * { min-width: 0; }
.stamps.lg { flex-wrap: wrap; }
.pass-l { min-width: 0; }
@media (max-width: 480px) { .stamps.lg i { width: 22px; height: 22px; font-size: 11px; } .qr { width: 70px; height: 70px; padding: 6px; } }

/* ================= v2: typography, business ladder, country journey, regions ================= */
h1, h2, .h3big, .tpl-panel h3, .biz-main h3, .price, .pickup-title { font-variation-settings: "opsz" 96; }
h1 { font-weight: 800; letter-spacing: -.045em; }
h2 { letter-spacing: -.035em; }
/* serif italic accent for highlight words (Latin only; other scripts keep their own face) */
html:lang(en) .hl, html:lang(fr) .hl, html:lang(sw) .hl, html:lang(id) .hl, html:lang(ms) .hl, html:lang(fil) .hl, html:lang(vi) .hl, html:lang(tr) .hl {
  font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; font-size: 1.08em;
}
.kicker { font-family: var(--f-mono); font-weight: 700; letter-spacing: .14em; font-size: .74rem; }
.sec-sub, .lede { text-wrap: pretty; }
h1, h2 { text-wrap: balance; }

/* nav: country button + language toggle */
.lang-btn { gap: 6px; padding: 0 12px; }
.lang-btn .cflag { font-size: 1.05rem; line-height: 1; }
.lang-btn .cc-code:empty + .sep { display: none; }
.lang-btn .sep { opacity: .4; }
.lang-btn .chev { width: 14px; height: 14px; opacity: .6; }
.lang-toggle { display: inline-flex; border: 1.5px solid var(--border); border-radius: 999px; padding: 3px; background: var(--surface); }
.lang-toggle[hidden] { display: none; }
.lang-toggle button { border: 0; background: none; color: var(--muted); font: 700 .8rem var(--f-body); padding: 7px 11px; border-radius: 999px; cursor: pointer; min-height: 32px; }
.lang-toggle button[aria-pressed="true"] { background: var(--steel); color: #fff; }
[data-theme="midnight"] .lang-toggle button[aria-pressed="true"] { background: var(--blue); }
.menu-tabs { display: flex; gap: 6px; padding: 2px 2px 12px; border-bottom: 1px solid var(--border); margin-bottom: 10px; position: sticky; top: -14px; background: inherit; z-index: 1; }
.menu-tabs button { flex: 1; border: 1.5px solid var(--border); background: none; color: var(--text); border-radius: 12px; padding: 10px; font: 600 .9rem var(--f-body); cursor: pointer; }
.menu-tabs button[aria-selected="true"] { background: var(--peach); color: var(--ink); border-color: var(--peach); }
.lang-reg { display: block; font: 700 .72rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--peach); margin: 8px 6px 8px; }
[data-theme="warm"] .lang-reg { color: #C2532A; }
.lang-sub > span, .lang-flat > span:not(.lang-reg) { display: block; font: 600 .74rem var(--f-body); color: var(--muted); margin: 10px 6px 6px; padding-inline-start: 10px; border-inline-start: 2px solid var(--border); }
.cc-opt b { display: flex; align-items: center; gap: 8px; font-size: .95rem; }
.cflag { font-size: 1.15rem; }

/* ladder strip under hero */
.ladder { list-style: none; padding: 0; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; counter-reset: step; max-width: 1080px; }
.ladder li { counter-increment: step; display: flex; align-items: center; }
.ladder li:not(:last-child)::after { content: "→"; margin-inline: 4px 0; color: var(--muted); opacity: .6; }
[dir="rtl"] .ladder li:not(:last-child)::after { content: "←"; }
.ladder a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); text-decoration: none; font-weight: 500; font-size: .9rem; transition: border-color .2s, transform .2s; }
.ladder a:hover { border-color: var(--peach); transform: translateY(-2px); }

/* business ladder section */
.biz-rail-wrap { position: relative; margin-bottom: 22px; }
.biz-track { position: absolute; inset-inline: 40px; top: 30px; height: 8px; border-radius: 4px; background: linear-gradient(180deg, #d9dbdc, #9fa5a8 55%, #7f868a); }
[data-theme="midnight"] .biz-track { background: linear-gradient(180deg, #8c9296, #5a6064); }
.biz-track i { position: absolute; inset-block: 0; inset-inline-start: 0; width: calc(var(--p, 0) * 100%); background: var(--peach); border-radius: 4px; transition: width .5s cubic-bezier(.2,.8,.2,1); }
.biz-rail { position: relative; display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.biz-step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; background: none; border: 0; cursor: pointer; color: var(--text); padding: 0 2px 6px; font: inherit; }
.biz-ico { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font-size: 1.7rem; background: var(--raised); border: 2px solid var(--border); box-shadow: var(--shadow); transition: transform .25s, border-color .25s, background .25s; }
.biz-step.done .biz-ico { border-color: color-mix(in srgb, var(--peach) 60%, var(--border)); }
.biz-step[aria-selected="true"] .biz-ico { border-color: var(--peach); background: color-mix(in srgb, var(--peach) 18%, var(--raised)); transform: translateY(-4px) scale(1.06); }
.biz-name { font: 700 .86rem/1.25 var(--f-head); }
.biz-scale { font-size: .74rem; color: var(--muted); line-height: 1.3; }
.biz-panel { padding: 38px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; }
.biz-num { font-size: .78rem; color: var(--muted); margin-bottom: 8px; }
.biz-main h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.03em; }
.biz-scale-pill { display: inline-block; margin: 12px 0 14px; padding: 5px 12px; border-radius: 999px; background: var(--inset); font: 600 .82rem var(--f-mono); }
.biz-story { color: var(--muted); font-size: 1.1rem; margin-bottom: 22px; max-width: 34em; }
.biz-feats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.biz-feats li { padding: 14px 14px 14px 42px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); position: relative; font-weight: 500; }
[dir="rtl"] .biz-feats li { padding: 14px 42px 14px 14px; }
.biz-feats li::before { content: "✓"; position: absolute; inset-inline-start: 14px; top: 14px; width: 20px; height: 20px; border-radius: 50%; background: var(--peach); color: var(--ink); font: 800 .7rem/20px var(--f-body); text-align: center; }
.biz-side { display: flex; flex-direction: column; gap: 20px; padding: 24px; border-radius: 18px; background: var(--inset); align-self: stretch; }
.biz-setup { font-weight: 600; font-size: 1.05rem; }
.biz-plan { font: 800 1.6rem var(--f-head); letter-spacing: -.02em; }
.biz-meter { display: flex; gap: 4px; margin-top: auto; }
.biz-meter i { flex: 1; height: 6px; border-radius: 3px; background: var(--border); }
.biz-meter i.on { background: var(--peach); }
.biz-side .btn { align-self: flex-start; }

/* payments: regional groups + your-country */
.rail-grp { font: 700 .72rem var(--f-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 10px 4px 0; }
.rail-grp:first-of-type { margin-top: 0; }
.rail-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.rchip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 14px; background: var(--bg); border: 1px solid var(--border); font-size: .9rem; position: relative; }
.rchip em { font-style: normal; color: var(--muted); font-size: .8rem; }
.rchip .flag { font-size: 1.1rem; }
.rail-ask { text-decoration: none; color: inherit; }
.tag-next { background: color-mix(in srgb, var(--info) 16%, transparent); color: var(--info); }
.mine { border-color: var(--peach) !important; box-shadow: 0 0 0 3px color-mix(in srgb, var(--peach) 25%, transparent); }
.you { font: 700 .66rem var(--f-body); background: var(--peach); color: var(--ink); padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.rail-row .you { grid-column: 1 / -1; justify-self: start; margin-top: -4px; }
.pay-local { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 18px; background: color-mix(in srgb, var(--peach) 14%, var(--bg)); border: 1.5px solid var(--peach); margin-bottom: 8px; }
.pay-local[hidden] { display: none; }
.pay-local .flag { font-size: 2rem; }
.pay-local div { flex: 1; } .pay-local p { color: var(--muted); font-size: .92rem; }
.cur-note { font-style: italic; }
.region-h { display: flex !important; flex-direction: row !important; justify-content: space-between; align-items: baseline; }
.region-h em { font: 600 .72rem var(--f-mono); color: var(--dark-muted); }
.region-h.sub { color: var(--dark-text) !important; font-size: .74rem !important; padding-top: 10px !important; }

@media (max-width: 1080px) {
  .biz-rail { grid-template-columns: repeat(8, minmax(96px, 1fr)); overflow-x: auto; padding: 4px 4px 10px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
  .biz-step { scroll-snap-align: center; }
  .biz-track { display: none; }
}
@media (max-width: 900px) {
  .biz-panel { grid-template-columns: 1fr; padding: 28px 22px; }
}
@media (max-width: 640px) {
  .biz-feats { grid-template-columns: 1fr; }
  .ladder li:not(:last-child)::after { display: none; }
  .lang-btn .cc-code, .lang-btn .sep { display: none; }
  .lang-toggle button { padding: 6px 9px; }
  .nav-inner { gap: 10px; }
  .nav-actions { gap: 6px; }
  .wordmark { font-size: 1.45rem; }
}
@media (max-width: 380px) { .brand .wordmark { display: none; } }
@media (max-width: 480px) {
  .brand .wordmark { display: none; }
  .icon-btn { min-width: 40px; height: 40px; padding: 0 8px; }
  .lang-toggle { padding: 2px; } .lang-toggle button { padding: 5px 8px; font-size: .76rem; }
}
.theme-alt { display: none; }
.lang-menu { background: var(--raised); }
@media (max-width: 1080px) {
  .theme-alt { display: block; text-align: start; background: none; border: 0; color: var(--text); font: 500 .95rem var(--f-body); padding: 12px; cursor: pointer; border-radius: 999px; opacity: .85; }
}
@media (max-width: 640px) {
  .lang { position: static; }
  .lang-menu { position: fixed; top: calc(64px + env(safe-area-inset-top)); left: 10px; right: 10px; width: auto; max-height: calc(100dvh - 84px); }
  .lang-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  #themeBtn { display: none; }
  .nav-inner { height: 64px; } .nav-links { top: 64px; }
}

/* ================= v3: life — texture, hand notes, live phone, sticker, torn edges ================= */
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .5; mix-blend-mode: multiply;
  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='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .3 0 0 0 0 .25 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
[data-theme="midnight"] body::before { mix-blend-mode: screen; opacity: .35; }
:root { --f-hand: "Caveat", "Segoe Print", cursive; }
.note { font: 700 1.45rem/1 var(--f-hand); color: #C2532A; position: absolute; pointer-events: none; transform: rotate(-6deg); white-space: nowrap; z-index: 3; }
[data-theme="midnight"] .note { color: #FFB08F; }
.note svg { position: absolute; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.note-tap { top: 8px; inset-inline-start: -46px; }
.note-tap svg { width: 120px; height: 60px; top: 18px; inset-inline-start: 70px; }
[dir="rtl"] .note-tap svg { transform: scaleX(-1); }
.note-here { position: absolute; top: -34px; inset-inline-start: calc(var(--hx, 0) * 1px); transition: inset-inline-start .45s cubic-bezier(.2,.8,.2,1); transform: rotate(-4deg); }
.note-here svg { width: 60px; height: 40px; top: 10px; inset-inline-start: -46px; transform: scaleX(-1) rotate(20deg); }
.biz-rail-wrap { padding-top: 34px; }
.note-start { position: absolute; top: -40px; inset-inline-end: -6px; transform: rotate(4deg); font-size: 1.3rem; }
html:not(:lang(en)):not(:lang(fr)):not(:lang(sw)):not(:lang(id)):not(:lang(ms)):not(:lang(fil)):not(:lang(vi)):not(:lang(tr)) .note { font-family: var(--f-body); font-weight: 700; font-size: 1rem; }
/* live phone */
.scr-shop { display: flex; align-items: center; gap: 8px; margin-top: -6px; }
.shop-av { width: 28px; height: 28px; border-radius: 9px; background: #3F5A62; color: #fff; display: grid; place-items: center; font: 800 .8rem var(--f-head); flex-shrink: 0; }
.scr-shop b { font: 700 .82rem/1.2 var(--f-head); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 190px; }
.scr-shop small { font-size: .66rem; color: #68716D; display: block; }
.screen { gap: 10px; padding-top: 50px; }
.item { cursor: default; transition: transform .2s; }
.item.tapped { animation: tap .5s ease; }
@keyframes tap { 30% { transform: scale(.93); background: #FFE3D6; } 100% { transform: none; } }
.item .it-name { font-size: .78rem; line-height: 1.2; }
.scr-btn { transition: transform .15s, background .2s; position: relative; }
.scr-btn.pressed { transform: scale(.96); background: #F06F40; }
.paid-stamp { position: absolute; z-index: 4; left: 50%; top: 58%; translate: -50% -50%; rotate: -14deg; font: 800 2.6rem/1 var(--f-mono); letter-spacing: .12em; color: #236B52; border: 5px solid currentColor; border-radius: 10px; padding: 6px 16px; opacity: 0; scale: 1.8; transition: opacity .2s, scale .25s cubic-bezier(.3,1.6,.5,1); mix-blend-mode: multiply; background: rgba(255,255,255,.25); }
.paid-stamp.show { opacity: .88; scale: 1; }
.ticket { transform: rotate(var(--r, 0deg)); }
.tk-paid { position: absolute; right: 8px; bottom: 10px; font: 800 .7rem var(--f-mono); color: #A63838; border: 2px solid currentColor; padding: 1px 5px; border-radius: 4px; rotate: -12deg; font-style: normal; opacity: .8; }
/* sticker */
.sticker { position: absolute; width: 118px; height: 118px; top: 0; inset-inline-end: 0; rotate: 12deg; z-index: 2; animation: spin 40s linear infinite; }
.sticker svg { width: 100%; height: 100%; }
.sticker circle { fill: #FF8254; }
.sticker text { font: 700 9.5px var(--f-mono); fill: #202326; }

@keyframes spin { to { rotate: 372deg; } }
/* mad-lib sentence */
.madlib { font: 600 1.15rem/2.1 var(--f-head); margin: -6px 0 22px; color: var(--text); }
.madlib > span { margin-inline-end: 6px; }
.ml-sel { position: relative; display: inline-block; margin-inline-end: 6px; }
.ml-sel select { appearance: none; -webkit-appearance: none; font: inherit; color: var(--text); background: transparent; border: 0; border-bottom: 2.5px dashed var(--peach); padding: 0 22px 2px 2px; cursor: pointer; max-width: 82vw; text-overflow: ellipsis; }
[dir="rtl"] .ml-sel select { padding: 0 2px 2px 22px; }
.ml-sel::after { content: "▾"; position: absolute; inset-inline-end: 4px; top: 50%; translate: 0 -50%; color: var(--peach); pointer-events: none; font-size: .9rem; }
.ml-sel select:focus-visible { outline: 3px solid var(--focus); border-radius: 6px; }
.ml-sel select option { color: #202326; }
/* torn ticket edges on dark bands */
.section-dark { position: relative; }
.section-dark::before, .section-dark::after { content: ""; position: absolute; left: 0; right: 0; height: 14px; background: var(--dark-bg);
  -webkit-mask: linear-gradient(-45deg, transparent 7px, #000 0) 0 0/14px 14px repeat-x, linear-gradient(45deg, transparent 7px, #000 0) 0 0/14px 14px repeat-x;
          mask: linear-gradient(-45deg, transparent 7px, #000 0) 0 0/14px 14px repeat-x, linear-gradient(45deg, transparent 7px, #000 0) 0 0/14px 14px repeat-x; }
.section-dark::before { top: -13px; transform: scaleY(-1); }
.section-dark::after { bottom: -13px; }
/* slight hand-placed feel */
.prod:nth-child(odd) { rotate: -.4deg; } .prod:nth-child(even) { rotate: .35deg; }
.prod:hover { rotate: 0deg; }
.plan { position: relative; }
@media (max-width: 900px) { .note-tap { display: none; } .sticker { width: 92px; height: 92px; } }
@media (max-width: 640px) { .note-start, .note-here { display: none; } .biz-rail-wrap { padding-top: 0; } .madlib { font-size: 1.02rem; } }
@media (prefers-reduced-motion: reduce) { .sticker { animation: none; } }

/* ================= v4: categories → types → scale, plan finder ================= */
.ind-tabs { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 30px; }
.cat-tabs { display: inline-flex; padding: 5px; gap: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.cat-tab { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; color: var(--text); font: 700 1rem var(--f-head); padding: 11px 20px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.cat-tab small { font: 700 .7rem var(--f-mono); background: var(--inset); color: var(--muted); border-radius: 999px; padding: 2px 7px; }
.cat-tab[aria-selected="true"] { background: var(--steel); color: #fff; }
[data-theme="midnight"] .cat-tab[aria-selected="true"] { background: var(--blue); }
.cat-tab[aria-selected="true"] small { background: rgba(255,255,255,.2); color: #fff; }
.type-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ind-tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 14px; border: 1.5px solid var(--border); background: var(--raised); color: var(--text); font: 600 .95rem var(--f-body); cursor: pointer; transition: border-color .2s, transform .2s, background .2s; }
.ind-tab:hover { transform: translateY(-2px); border-color: var(--peach); }
.ind-tab[aria-pressed="true"] { border-color: var(--peach); background: color-mix(in srgb, var(--peach) 16%, var(--raised)); box-shadow: 0 6px 16px -10px rgba(255,130,84,.9); }
.scale-lbl { text-align: center; margin: 0 0 4px; }
.scale-lbl span { font: 700 .74rem var(--f-mono); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.biz-rail { grid-template-columns: repeat(5, 1fr); }
.biz-track { inset-inline: 10%; }
.biz-feats.ind li::before { background: var(--steel); color: #fff; }
[data-theme="midnight"] .biz-feats.ind li::before { background: var(--blue); }
#flowSeg { flex-wrap: wrap; border-radius: 18px; }
#flowSeg .seg-btn { display: inline-flex; gap: 6px; align-items: center; }
/* plan finder */
.finder { display: grid; grid-template-columns: 1.5fr 1fr; gap: 0; margin-bottom: 40px; overflow: hidden; }
.section-alt .finder { background: var(--bg); }
.pf-qs { padding: 34px; display: flex; flex-direction: column; gap: 18px; }
.pf-qs .kicker { margin: 0; }
.pf-qs fieldset { border: 0; padding: 0; margin: 0; }
.pf-qs legend { font: 700 1.02rem var(--f-head); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.pf-n { width: 26px; height: 26px; border-radius: 50%; background: var(--peach); color: var(--ink); display: grid; place-items: center; font: 800 .8rem var(--f-mono); }
.pf-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-opt { border: 1.5px solid var(--border); background: var(--raised); color: var(--text); padding: 9px 14px; border-radius: 999px; font: 600 .9rem var(--f-body); cursor: pointer; transition: all .15s; min-height: 42px; }
.pf-opt:hover { border-color: var(--border-strong); }
.pf-opt[aria-pressed="true"] { background: var(--steel); border-color: var(--steel); color: #fff; }
[data-theme="midnight"] .pf-opt[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); }
.pf-result { padding: 34px; background: linear-gradient(160deg, #3F5A62, #526889); color: #fff; display: flex; flex-direction: column; gap: 12px; position: relative; }
.pf-result::before { content: ""; position: absolute; top: 0; bottom: 0; inset-inline-start: -7px; width: 14px; background: radial-gradient(circle at 50% 7px, var(--bg) 6px, transparent 6.5px) 0 0/14px 18px repeat-y; }
.pf-result .chips-lbl { color: rgba(255,255,255,.7); margin: 0; }
.pf-plan { font: 800 3rem/1 var(--f-head); letter-spacing: -.03em; font-variation-settings: "opsz" 96; }
.pf-result ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: .95rem; opacity: .95; }
.pf-result li { padding-inline-start: 22px; position: relative; }
.pf-result li::before { content: "→"; position: absolute; inset-inline-start: 0; color: #FFB08F; }
[dir="rtl"] .pf-result li::before { content: "←"; }
.pf-result .btn { margin-top: auto; align-self: flex-start; }
.plan.rec { border: 2px solid var(--peach); transform: translateY(-6px); box-shadow: 0 24px 40px -22px rgba(255,130,84,.7); }
.plan.featured:not(.rec) { border: 1px solid var(--border); box-shadow: none; }
.plan.featured:not(.rec) .ribbon { display: none; }
.rec-badge { position: absolute; top: -13px; inset-inline-end: 20px; background: var(--steel); color: #fff; font: 700 .72rem var(--f-body); padding: 5px 12px; border-radius: 999px; }
@media (max-width: 900px) {
  .finder { grid-template-columns: 1fr; }
  .pf-result::before { display: none; }
  .biz-rail { grid-template-columns: repeat(5, minmax(96px, 1fr)); }
}
@media (max-width: 640px) {
  .cat-tabs { width: 100%; } .cat-tab { flex: 1; justify-content: center; padding: 10px 8px; font-size: .88rem; } .cat-tab small { display: none; }
  .type-tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 6px; scrollbar-width: none; }
  .ind-tab { flex-shrink: 0; }
  .pf-qs, .pf-result { padding: 24px 20px; }
  .pf-plan { font-size: 2.4rem; }
}
.f1 { top: 40px; inset-inline-start: -64px; }
.f3 { bottom: 20px; inset-inline-start: -40px; max-width: 220px; }
.f3 small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 190px; }
.plans { margin-top: 56px; }
.note-start { top: -34px; }
@media (max-width: 900px) { .f1 { inset-inline-start: 0; top: 30px; } .f3 { inset-inline-start: 0; } }
.biz-feats + .chips-lbl { margin-top: 20px; }

/* ================= v5: declutter ================= */
.prod:nth-child(odd), .prod:nth-child(even) { rotate: 0deg; }
.section { padding: 96px 0; }
.sec-head { margin-bottom: 44px; }
.hero-ctas { margin-bottom: 18px; }
.madlib { margin: 0; }
.hero-visual { height: 540px; }
.f1 { top: 60px; }
/* quiet script line */
.scripts { display: flex; flex-direction: column; gap: 18px; max-width: 980px; margin: 0 auto 28px; }
.scripts .sc-group { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; background: none; border: 0; padding: 0; min-height: 0; }
.scripts .sc-group:hover { transform: none; }
.sc-reg { font: 700 .7rem var(--f-mono); text-transform: uppercase; letter-spacing: .14em; color: var(--peach); min-width: 100%; margin-bottom: 2px; }
.scripts .w { font-size: 1.25rem; line-height: 1.6; color: var(--dark-text); opacity: .9; transition: color .2s, opacity .2s; cursor: default; }
.scripts .w:hover { color: var(--peach); opacity: 1; }
.scripts i { color: var(--dark-muted); opacity: .5; font-style: normal; }
/* calmer cards */
.big { gap: 16px; }
.stats { margin-bottom: 0; }
@media (max-width: 640px) { .section { padding: 72px 0; } .scripts .w { font-size: 1.1rem; } }
/* local favourites, permit note, flow label */
.local-favs { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; max-width: 900px; }
.lf-l { font: 700 .72rem var(--f-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-inline-end: 4px; width: 100%; text-align: center; }
.lf { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; border: 1.5px dashed var(--peach); background: transparent; color: var(--text); font: 600 .88rem var(--f-body); cursor: pointer; }
.lf:hover, .lf[aria-pressed="true"] { background: color-mix(in srgb, var(--peach) 18%, transparent); border-style: solid; }
.type-tabs { max-width: 1000px; }
.ind-tab { padding: 8px 14px; font-size: .9rem; }
.permit { font-size: .82rem; color: var(--muted); line-height: 1.45; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--warn) 10%, transparent); }
#flowSeg { background: none; border: 0; padding: 0; display: inline-flex; align-items: center; gap: 8px; color: var(--dark-muted); font-weight: 600; }
.flow-type { color: var(--dark-text); text-decoration: none; padding: 8px 14px; border-radius: 999px; background: var(--dark-surface); border: 1px solid var(--dark-border); }
.flow-type:hover { border-color: var(--peach); }
@media (max-width: 640px) { .local-favs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 6px; } .lf-l { width: auto; flex-shrink: 0; } .lf { flex-shrink: 0; } }
.scripts .sc-group { flex-direction: row !important; }
.duo { align-items: start; }

/* ================= v6: consistency pass ================= */
/* one kicker style everywhere */
.pilot-copy > .kicker { font: 700 .74rem/1 var(--f-mono); letter-spacing: .14em; color: var(--peach); margin-bottom: 14px; }
[data-theme="warm"] .pilot-copy > .kicker { color: #C2532A; }
/* one small-label style for group headings */
.rail-grp, .scale-lbl span, .lf-l, .chips-lbl, .pickup-lbl { font: 700 .7rem/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
/* payments: heading stays beside the list; compact, consistent rows */
#pay .split { align-items: start; }
#pay .split > div:first-child { position: sticky; top: 100px; }
.rail-row { grid-template-columns: 30px minmax(120px, 170px) 1fr auto; padding: 12px 16px; border-radius: 14px; }
.rail-row b { font-size: .95rem; }
.rails { gap: 8px; }
.rail-grp { margin: 14px 4px 2px; }
/* pricing: same rhythm in every card */
.plans { align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.price { font-size: 1.6rem; white-space: nowrap; }
.plan-for { min-height: 2.6em; }
/* cards: one radius family */
.card, .plan, .stat, .finder, .biz-panel, .pilot { border-radius: var(--r-lg); }
.rail-row, .faq details, .biz-feats li, .field input, .field select { border-radius: 14px; }
/* buttons: same height family */
.btn-sm { min-height: 42px; }
.flow-btns .btn, .biz-side .btn, .pf-result .btn { min-height: 44px; }
/* hero: madlib reads as one sentence */
.madlib { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; }
@media (max-width: 900px) { #pay .split > div:first-child { position: static; } }
@media (max-width: 640px) { .rail-row { grid-template-columns: 28px 1fr; } .rail-name { grid-column: 2; } }
@media (max-width: 640px) { .f1 { display: none; } }
/* rail adapts to how many sizes a business type has */
.biz-rail { grid-template-columns: repeat(var(--n, 5), 1fr); }
.biz-track { inset-inline: calc(50% / var(--n, 5)); }
@media (max-width: 1080px) { .biz-rail { grid-template-columns: repeat(var(--n, 5), minmax(110px, 1fr)); } }

/* ================= v7: three typefaces only ================= */
/* Bricolage Grotesque = headlines · Inter = everything else · JetBrains Mono = tickets & tokens only.
   Fredoka lives only inside the logo wordmark. */
:root { --f-serif: var(--f-head); --f-hand: var(--f-body); }
/* highlight words: same headline face, colour does the work */
html .hl, html:lang(en) .hl, html:lang(fr) .hl, html:lang(sw) .hl, html:lang(id) .hl, html:lang(ms) .hl, html:lang(fil) .hl, html:lang(vi) .hl, html:lang(tr) .hl {
  font-family: var(--f-head); font-style: normal; font-weight: 800; font-size: 1em; letter-spacing: -.045em;
}
/* labels, kickers, chips, numbers: Inter */
.mono, .amount, .kicker, .rail-grp, .scale-lbl span, .lf-l, .chips-lbl, .pickup-lbl, .sc-reg, .lang-reg, .biz-num,
.biz-scale-pill, .pf-n, .cat-tab small, .region-h em, .stat > span, .scr-chip, .pilot-copy > .kicker, .col-count, .t-time,
.ticket .st, .fticket .t-tag, .pay-opt, .rchip em, .tag, .rec-badge, .ribbon {
  font-family: var(--f-body) !important; font-variant-numeric: tabular-nums;
}
.kicker, .pilot-copy > .kicker { font-weight: 700; letter-spacing: .12em; font-size: .74rem; }
.rail-grp, .scale-lbl span, .lf-l, .chips-lbl, .pickup-lbl, .sc-reg, .lang-reg { font-weight: 700; letter-spacing: .1em; }
.stat b { font-family: var(--f-head); font-weight: 800; }
.scr-total .amount, .pf-plan, .price, .biz-plan { font-family: var(--f-head) !important; }
/* receipts keep the printed feel */
.ticket, .ticket b, .fticket b, .tok, .tk-paid, .paid-stamp, .close-row .mono { font-family: var(--f-mono) !important; }
.fticket ul { font-family: var(--f-body); }
/* product names: "tamuko" prefix in the headline face, not the logo face */
.pfx { font-family: var(--f-head); font-weight: 600; }
/* notes: no handwriting font */
.note { font: italic 600 .95rem/1.2 var(--f-body) !important; letter-spacing: 0; }
.sticker text { font-family: var(--f-body); font-weight: 800; }

/* ================= bookings ================= */
.bk { display: grid; grid-template-columns: 1.6fr 1fr; gap: 0; overflow: hidden; }
.bk-cal { display: grid; grid-template-columns: 72px repeat(var(--cols, 2), 1fr); gap: 6px; padding: 24px; align-content: start; }
.bk-h { font: 700 .74rem var(--f-body); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding: 0 4px 6px; }
.bk-t { font: 600 .8rem var(--f-body); color: var(--muted); padding-top: 10px; font-variant-numeric: tabular-nums; }
.bk-slot { min-height: 46px; border-radius: 12px; padding: 7px 10px; display: flex; flex-direction: column; justify-content: center; text-align: start; font: 500 .82rem/1.25 var(--f-body); border: 1.5px solid transparent; }
.bk-slot b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-slot small { color: var(--muted); font-size: .72rem; }
.bk-slot.busy { background: color-mix(in srgb, var(--steel) 14%, transparent); border-color: color-mix(in srgb, var(--steel) 25%, transparent); }
[data-theme="midnight"] .bk-slot.busy { background: color-mix(in srgb, var(--blue) 30%, transparent); }
.bk-slot.free { background: transparent; border: 1.5px dashed var(--border); color: var(--muted); cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.bk-slot.free:hover, .bk-slot.free:focus-visible { border-color: var(--peach); color: var(--text); background: color-mix(in srgb, var(--peach) 10%, transparent); }
.bk-slot.mine { background: var(--peach); color: var(--ink); animation: drop .3s; }
.bk-slot.mine small { color: var(--ink); opacity: .7; }
.bk-side { background: var(--inset); padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.bk-empty { color: var(--muted); font-size: .92rem; padding: 14px; border: 1.5px dashed var(--border); border-radius: 14px; }
.bk-sent { font-weight: 700; color: var(--ok); font-size: .9rem; margin-bottom: 8px; }
.bubble { background: #DCF8C6; color: #1d2a1f; border-radius: 14px 14px 14px 4px; padding: 12px 14px 8px; font-size: .9rem; line-height: 1.45; box-shadow: 0 6px 16px -10px rgba(0,0,0,.4); }
[dir="rtl"] .bubble { border-radius: 14px 14px 4px 14px; }
.bubble small { display: block; text-align: end; font-size: .68rem; color: #5b7a62; margin-top: 4px; }
.bk-feats { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; font-size: .92rem; margin-top: auto; }
.bk-feats li { padding-inline-start: 26px; position: relative; }
.bk-feats li::before { content: "✓"; position: absolute; inset-inline-start: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--peach); color: var(--ink); font: 800 .62rem/18px var(--f-body); text-align: center; top: .15em; }
.bk-note { margin-top: 14px; }
@media (max-width: 900px) { .bk { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .bk-cal { grid-template-columns: 54px repeat(var(--cols, 2), minmax(0, 1fr)); padding: 16px 12px; gap: 5px; } .bk-slot { padding: 6px 7px; font-size: .74rem; } .bk-side { padding: 20px; } }
