/* =========================================================
   SetCode Consultancy — revamp (light)
   Palette: warm paper, ink, SetCode amber (#F8B516)
   One brand yellow (logo #F8B516). Small accents use ink text on a yellow highlight for legibility.
   ========================================================= */
:root {
  --bg: #f6f3ec;
  --bg-2: #efeae0;
  --surface: #ffffff;
  --ink: #141414;
  --ink-2: #2a2a2a;
  --muted: #6b675f;
  --line: rgba(20, 20, 20, 0.1);
  --line-2: rgba(20, 20, 20, 0.18);
  --amber: #f8b516;
  --amber-soft: #fde7b0;
  --amber-ink: #f8b516; /* logo yellow — same as --amber */
  --good: #1f8a4c;

  --f-display: "Syne", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --wrap: min(1280px, 100% - clamp(32px, 6vw, 96px));
  --ease: cubic-bezier(.2, .7, .1, 1);
  --sec: clamp(3.5rem, 7vw, 5.5rem);
  --shadow: 0 1px 2px rgba(20,20,20,.04), 0 8px 24px -14px rgba(20,20,20,.16);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: var(--amber); color: var(--ink); }

.wrap { width: var(--wrap); margin-inline: auto; }
.mono { font-family: var(--f-mono); font-size: .82em; letter-spacing: 0; }
.hl { color: var(--amber-ink); }

.grain {
  position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .045;
  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%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0) } 20% { transform: translate(-3%,2%) }
  40% { transform: translate(2%,-3%) } 60% { transform: translate(-2%,-1%) } 80% { transform: translate(3%,3%) }
}

/* scroll progress */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; }
.progress span { display: block; height: 100%; background: var(--amber); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* shared tooltip */
.tip {
  position: fixed; z-index: 90; pointer-events: none; opacity: 0; transform: translate(-50%, calc(-100% - 12px));
  background: var(--ink); color: #fff; padding: .45rem .7rem; border-radius: 8px;
  font: 500 .78rem/1.3 var(--f-body); white-space: nowrap; transition: opacity .15s;
}
.tip b { font-weight: 700; }
.tip.on { opacity: 1; }

.eyebrow {
  display: inline-flex; gap: .6em; align-items: center;
  margin: 0 0 1.4rem; font-size: .8rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.eyebrow .mono { color: var(--ink); background: var(--amber); padding: .15em .45em; border-radius: 5px; letter-spacing: 0; text-transform: none; font-size: .95em; }

.h2 { font: 700 clamp(2.2rem, 5.2vw, 4.6rem)/1.02 var(--f-display); letter-spacing: -.03em; margin: 0; }
.h2--xl { font-size: clamp(2.6rem, 6.6vw, 6.2rem); }

.wordmark { font: 800 1.35rem/1 var(--f-display); letter-spacing: -.02em; }
.wordmark b { color: var(--amber-ink); font-family: var(--f-mono); font-weight: 500; font-size: .8em; margin: 0 .08em; }

/* ---------- buttons ---------- */
.btn {
  --pad: .95rem 1.5rem;
  display: inline-flex; align-items: center; gap: .6rem; padding: var(--pad); border-radius: 999px;
  font: 600 .95rem/1 var(--f-body); letter-spacing: .01em; white-space: nowrap; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s, transform .3s var(--ease);
  will-change: transform;
}
.btn .arrow { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--amber { background: var(--amber); color: var(--ink); }
.btn--amber:hover { background: var(--ink); color: #fff; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--amber); color: var(--ink); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); background: var(--surface); }
.btn--pill { background: var(--surface); border: 1px solid var(--line); --pad: .7rem 1.1rem; font-size: .88rem; box-shadow: var(--shadow); }
.btn--pill:hover { background: var(--amber); border-color: var(--amber); }
.btn--xl { --pad: 1.4rem 2.2rem; font-size: 1.1rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #23b26a; animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(35,178,106,.5) } 70%,100% { box-shadow: 0 0 0 10px rgba(35,178,106,0) } }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 2rem;
  padding: 1.1rem clamp(16px, 3vw, 48px); transition: background .4s, padding .4s, box-shadow .4s;
}
.nav.is-scrolled { background: rgba(246,243,236,.82); backdrop-filter: blur(14px); padding-block: .75rem; box-shadow: 0 1px 0 var(--line); }
.nav__logo { display: inline-flex; align-items: center; padding: .55rem 1rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.nav__logo:hover { transform: scale(1.03); }
.nav__logo img { height: 30px; width: auto; }
.nav__links { display: flex; gap: 2rem; margin-left: auto; font-size: .92rem; font-weight: 500; }
.nav__links a { position: relative; color: var(--ink-2); }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: var(--amber); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav__links a:hover::after, .nav__links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav__burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; position: relative; z-index: 2; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.nav__burger span:first-child { top: 18px; } .nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 40; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; gap: .5rem; padding: 0 8vw;
  clip-path: circle(0% at calc(100% - 40px) 40px); transition: clip-path .7s var(--ease);
}
.menu.is-open { clip-path: circle(150% at calc(100% - 40px) 40px); }
.menu a { font: 700 clamp(2.4rem, 11vw, 4rem)/1.1 var(--f-display); letter-spacing: -.03em; }
.menu a:hover { color: var(--amber-ink); }
.menu a.menu__cta { align-self: flex-start; margin-top: 2rem; font: 600 1rem/1 var(--f-body); letter-spacing: 0; }
.menu a.menu__cta:hover { color: #fff; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(100svh, 960px); display: flex; align-items: center; padding: 8rem 0 8rem; overflow: hidden; isolation: isolate; }
/* soft fade at the bottom so the glow and grid melt into the page instead of ending in a hard line */
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 260px; z-index: -1; pointer-events: none; background: linear-gradient(to bottom, rgba(246,243,236,0), var(--bg) 85%); }
.hero__grid {
  position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%); opacity: .7;
}
.hero__glow {
  position: absolute; z-index: -1; width: 60vmax; height: 60vmax; border-radius: 50%;
  left: var(--mx, 72%); top: var(--my, 35%); transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(248,181,22,.45) 0%, rgba(248,181,22,.16) 35%, transparent 65%);
  filter: blur(30px); transition: left 1.2s var(--ease), top 1.2s var(--ease);
}
.hero__inner { position: relative; }
.hero__title { margin: 0; font: 800 clamp(2.4rem, 5.3vw, 5.6rem)/.96 var(--f-display); letter-spacing: -.045em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.rotator { color: var(--amber-ink); display: inline-block; }
.rotator.is-out { animation: rotOut .35s var(--ease) forwards; }
.rotator.is-in { animation: rotIn .5s var(--ease) forwards; }
@keyframes rotOut { to { transform: translateY(-60%); opacity: 0; filter: blur(6px); } }
@keyframes rotIn { from { transform: translateY(60%); opacity: 0; filter: blur(6px); } to { transform: none; opacity: 1; filter: none; } }
.caret { color: var(--amber); animation: blink 1s steps(1) infinite; }
.caret--sm { font-size: .9em; }
.caret--bar { display: inline-block; width: .08em; height: .72em; margin-left: .08em; background: var(--amber); vertical-align: -.02em; }
@keyframes blink { 50% { opacity: 0; } }

.hero__foot { display: grid; grid-template-columns: 1fr 330px; align-items: end; gap: 3rem; margin-top: 3rem; }
.hero__copy { display: flex; flex-direction: column; gap: 2rem; }
.hero__lede { max-width: 30rem; margin: 0; font-size: 1.12rem; color: var(--ink-2); }
.hero__lede em { font-style: normal; font-weight: 600; border-bottom: 2px solid var(--amber); }
.hero__lede strong, .why-card p strong, .why-card--since p strong { color: var(--ink); background: linear-gradient(transparent 58%, var(--amber) 58%); padding: 0 .1em; }
.why-card--ink p strong { color: var(--amber); background: none; padding: 0; }
.hero__actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* floating shapes */
.shapes { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.shape { position: absolute; display: block; transform: translate(var(--px, 0), var(--py, 0)); transition: transform .9s var(--ease); }
.shape--sun { width: 120px; height: 120px; right: 8%; top: 16%; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffd76e, var(--amber) 60%, #e79a00); box-shadow: 0 20px 60px -10px rgba(248,181,22,.6); }
.shape--sun::after { content: ""; position: absolute; inset: 0; border-radius: 50%; animation: bob 6s ease-in-out infinite; }
.shape--ring { width: 220px; height: 220px; right: 2%; top: 8%; border: 1.5px dashed var(--line-2); border-radius: 50%; animation: spin 40s linear infinite; }
.shape--dots { width: 140px; height: 90px; left: 46%; top: 12%; background-image: radial-gradient(var(--ink) 1.4px, transparent 1.6px); background-size: 14px 14px; opacity: .18; }
.shape--plus { right: 30%; top: 22%; font: 300 3rem/1 var(--f-display); color: var(--amber-ink); animation: spin 14s linear infinite; }
.shape--bracket { left: 38%; bottom: 9%; font: 500 2.2rem/1 var(--f-mono); color: var(--ink); opacity: .14; animation: bob 7s ease-in-out infinite; }
.shape--pill { width: 90px; height: 34px; right: 17%; top: 47%; border-radius: 999px; background: var(--ink); animation: bob 5s ease-in-out infinite reverse; }
@keyframes spin { to { rotate: 360deg; } }
@keyframes bob { 50% { translate: 0 -14px; } }

/* rotating badge */
.badge { position: absolute; right: 380px; bottom: .5rem; width: 116px; height: 116px; display: grid; place-items: center; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow); transition: transform .4s var(--ease); }
.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.badge text { font: 600 9.5px var(--f-mono); fill: var(--ink); }
.badge__arrow { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--amber); font-size: 1.2rem; transition: transform .4s var(--ease); }
.badge:hover { transform: scale(1.06); }
.badge:hover .badge__arrow { transform: rotate(45deg); }

.code-card {
  position: relative; margin: 0; width: 330px; background: #151515; color: #c9c6bd;
  border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(20,20,20,.45);
  transform: rotate(3deg); animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { transform: rotate(1.5deg) translateY(-12px); } }
.code-card__bar { display: flex; gap: 6px; align-items: center; padding: .7rem .9rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.code-card__bar i { width: 10px; height: 10px; border-radius: 50%; }
.code-card__bar i:first-child { background: #ff5f57; } .code-card__bar i:nth-child(2) { background: #febc2e; } .code-card__bar i:nth-child(3) { background: #28c840; }
.code-card__bar span { margin-left: auto; font: 500 .72rem var(--f-mono); color: #8b8a86; }
.code-card pre { margin: 0; padding: 1rem 1.1rem 1.2rem; min-height: 188px; font: 400 .8rem/1.7 var(--f-mono); white-space: pre-wrap; }
.tk-k { color: #c792ea; } .tk-s { color: #ffd36b; } .tk-c { color: #6b6a66; } .tk-f { color: #82aaff; } .tk-b { color: #f78c6c; }

.scroll-cue { position: absolute; left: 50%; bottom: 6.5rem; z-index: 1; width: 26px; height: 42px; border: 1.5px solid var(--line-2); border-radius: 20px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; border-radius: 3px; background: var(--amber-ink); transform: translateX(-50%); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translate(-50%, 0) } 30% { opacity: 1 } 100% { opacity: 0; transform: translate(-50%, 14px) } }

/* ---------- crossing tapes ---------- */
.tapes { position: relative; z-index: 2; height: 230px; margin-top: -80px; overflow: hidden; display: grid; place-items: center; }
.tape { position: absolute; left: -5%; right: -5%; padding: 1.1rem 0; overflow: hidden; box-shadow: var(--shadow); }
.tape--amber { background: var(--amber); color: var(--ink); transform: rotate(-3deg); z-index: 2; }
.tape--ink { background: var(--ink); color: var(--bg); transform: rotate(2.5deg); }
.tape__row { display: flex; width: max-content; gap: 2rem; font: 700 clamp(1.3rem, 2.6vw, 2.1rem)/1 var(--f-display); letter-spacing: -.01em; white-space: nowrap; animation: mq 45s linear infinite; }
.tape__row[data-dir="right"] { animation-direction: reverse; animation-duration: 55s; }
.tape__row .star { font-size: .7em; align-self: center; }
.tape--ink .star { color: var(--amber); }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); padding: calc(var(--sec) * .7) 0 calc(var(--sec) * .6); }
.stat { padding: 0 2rem; border-left: 1px solid var(--line-2); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num { font: 700 clamp(2.4rem, 5vw, 4.4rem)/1 var(--f-display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stat__plus { font: 700 clamp(1.6rem, 3vw, 2.6rem)/1 var(--f-display); color: var(--amber-ink); }
.stat p { margin: .7rem 0 0; color: var(--muted); font-size: .95rem; }

/* ---------- manifesto ---------- */
.manifesto { padding: calc(var(--sec) * .5) 0 var(--sec); }
.manifesto__text { margin: 0; max-width: 1100px; font: 600 clamp(2rem, 4.6vw, 4.1rem)/1.12 var(--f-display); letter-spacing: -.03em; }
.manifesto__text .w { color: rgba(20,20,20,.14); transition: color .4s; }
.manifesto__text .w.on { color: var(--ink); }

/* ---------- section heads ---------- */
.section-head { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.section-head__sub { max-width: 32rem; margin: 1.6rem 0 0; color: var(--muted); font-size: 1.08rem; }
.note { display: block; margin-top: .6rem; font: 500 .78rem/1.5 var(--f-mono); color: var(--muted); }

/* ---------- services ---------- */
.services { background: var(--surface); padding: var(--sec) 0; border-radius: 40px; margin-inline: clamp(8px, 1.4vw, 20px); box-shadow: var(--shadow); }
.svc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.svc__item {
  position: relative; display: grid; grid-template-columns: 56px 64px 1.1fr 1fr; gap: 0 1.6rem; align-items: start;
  padding: 2.2rem 0; border-bottom: 1px solid var(--line-2); isolation: isolate;
}
.svc__item::before {
  content: ""; position: absolute; inset: 0 -2rem; z-index: -1; border-radius: 18px; background: var(--ink);
  transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease);
}
.svc__item:hover::before { transform: scaleY(1); }
.svc__item:hover { color: #fff; }
.svc__no { font: 500 .9rem var(--f-mono); color: var(--muted); padding-top: .9rem; transition: color .3s; }
.svc__item:hover .svc__no { color: var(--amber); }
.svc__icon { width: 52px; height: 52px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.svc__icon * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease) .2s; }
.svc__item.in .svc__icon * { stroke-dashoffset: 0; }
.svc__item:hover .svc__icon { stroke: var(--amber); }
.svc__title { margin: 0; font: 700 clamp(1.5rem, 2.8vw, 2.4rem)/1.1 var(--f-display); letter-spacing: -.025em; padding-top: .4rem; transition: transform .5s var(--ease); }
.svc__item:hover .svc__title { transform: translateX(10px); }
.svc__desc { margin: .5rem 0 0; color: var(--muted); transition: color .3s; grid-column: 4; grid-row: 1; }
.svc__item:hover .svc__desc { color: rgba(255,255,255,.72); }
.svc__tags { grid-column: 4; list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0 0; padding: 0; }
.svc__tags li { font: 500 .74rem var(--f-mono); padding: .35rem .7rem; border: 1px solid var(--line-2); border-radius: 999px; transition: border-color .3s, color .3s; }
.svc__item:hover .svc__tags li { border-color: rgba(248,181,22,.5); color: var(--amber); }
.svc__item.reveal { transform: none; } /* keep row in place; icons animate instead */

/* ---------- results / dashboard ---------- */
.results { padding: calc(var(--sec) * .5) 0; }
.dash { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.2rem; }
.card { grid-column: span 4; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 1.5rem 1.5rem 1.4rem; box-shadow: var(--shadow); display: flex; flex-direction: column; min-width: 0; }
.card--wide { grid-column: span 8; }
.card__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: .6rem 1rem; margin-bottom: 1rem; }
.card__head > div:first-child { flex: 1 1 200px; }
.card__title { margin: 0; font: 700 1.1rem/1.25 var(--f-display); letter-spacing: -.01em; }
.card__sub { margin: .2rem 0 0; font-size: .84rem; color: var(--muted); }
.card__tools { display: flex; gap: .5rem; align-items: center; }
.tag { font: 500 .68rem var(--f-mono); color: var(--muted); padding: .25rem .55rem; border: 1px dashed var(--line-2); border-radius: 999px; white-space: nowrap; }
.tbl-toggle { font: 600 .74rem var(--f-body); padding: .3rem .7rem; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; }
.tbl-toggle[aria-expanded="true"] { background: var(--ink); color: #fff; }
.card__foot { margin: auto 0 0; font-size: .84rem; color: var(--muted); }
.good { color: var(--good); font-weight: 600; margin-right: .4rem; }

.chart { position: relative; width: 100%; }
.chart--line { height: 300px; }
.chart svg { display: block; overflow: visible; }
.ax { font: 500 11px var(--f-body); fill: var(--muted); font-variant-numeric: tabular-nums; }
.grid-l { stroke: var(--line); stroke-width: 1; }
.base-l { stroke: var(--line-2); stroke-width: 1; }
.lc-line { fill: none; stroke: var(--amber-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--ease); }
.lc-area { opacity: 0; transition: opacity 1.2s ease 1s; }
.card.in .lc-line { stroke-dashoffset: 0; }
.card.in .lc-area { opacity: 1; }
.lc-end { opacity: 0; transition: opacity .5s 2s; }
.card.in .lc-end { opacity: 1; }
.lc-end-label { font: 700 13px var(--f-display); fill: var(--ink); }
.xh { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 3; opacity: 0; }
.xh-dot { fill: var(--amber-ink); stroke: #fff; stroke-width: 2; opacity: 0; }
.chart.hovering .xh, .chart.hovering .xh-dot { opacity: 1; }

.data-table { width: 100%; margin-top: 1rem; border-collapse: collapse; font-size: .85rem; font-variant-numeric: tabular-nums; }
.data-table th, .data-table td { text-align: left; padding: .4rem .2rem; border-bottom: 1px solid var(--line); }
.data-table th { color: var(--muted); font-weight: 600; }

.gauge { position: relative; width: 190px; height: 190px; margin: .5rem auto 1.2rem; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 12; stroke-linecap: round; }
.gauge__track { stroke: var(--bg-2); }
.gauge__fill { stroke: var(--amber-ink); stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 2s var(--ease) .2s; }
.gauge__label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.gauge__num { font: 800 2.8rem/1 var(--f-body); letter-spacing: -.04em; }
.gauge__of { font: 500 .8rem var(--f-mono); color: var(--muted); }

.hbars { display: grid; gap: .9rem; margin-top: .4rem; }
.hb { display: grid; grid-template-columns: 78px 1fr 40px; align-items: center; gap: .7rem; font-size: .86rem; padding: .15rem 0; cursor: default; }
.hb__label { color: var(--ink-2); }
.hb__track { display: block; height: 12px; background: var(--bg); border-radius: 0 4px 4px 0; position: relative; }
.hb__bar { display: block; height: 100%; width: 0; background: var(--amber-ink); border-radius: 0 4px 4px 0; transition: width 1.4s var(--ease), background .2s; }
.hb__val { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.hb:hover .hb__bar { background: var(--ink); }
.hbars:hover .hb:not(:hover) { opacity: .55; }

.kpi { display: flex; align-items: baseline; gap: .2rem; margin-top: .2rem; }
.kpi__num { font: 800 clamp(3.4rem, 5vw, 4.6rem)/1 var(--f-body); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.kpi__unit { font: 700 2rem/1 var(--f-display); color: var(--amber-ink); }
.kpi__delta { margin: .6rem 0 1rem; font-size: .86rem; font-weight: 600; color: var(--good); }
.chart--spark { height: 70px; margin-top: auto; }
.sp-line { fill: none; stroke: var(--amber-ink); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease) .4s; }
.card.in .sp-line { stroke-dashoffset: 0; }

.cols { display: flex; align-items: flex-end; justify-content: center; gap: 2.4rem; height: 210px; margin-top: auto; padding-top: 1rem; border-bottom: 1px solid var(--line-2); }
.col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: .5rem; height: 100%; width: 70px; cursor: default; }
.col__val { font: 800 1.5rem/1 var(--f-body); letter-spacing: -.03em; }
.col__bar { width: 100%; height: 0; border-radius: 4px 4px 0 0; transition: height 1.4s var(--ease); }
.col--before .col__bar { background: #b9b4a9; }
.col--after .col__bar { background: var(--amber-ink); transition-delay: .25s; }
.cols-labels { display: flex; justify-content: center; gap: 2.4rem; margin-top: .5rem; font-size: .84rem; color: var(--muted); }
.cols-labels span { width: 70px; text-align: center; }

/* ---------- process ---------- */
.process { padding: calc(var(--sec) * .5) 0; }
.track { position: relative; height: 2px; background: var(--line-2); margin: 0 0 2.2rem; display: grid; grid-template-columns: repeat(4, 1fr); }
.track__fill { position: absolute; inset: 0; background: var(--amber); transform-origin: left; transform: scaleX(var(--t, 0)); }
.track i { position: relative; width: 14px; height: 14px; margin-top: -6px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); transition: background .3s, border-color .3s, transform .3s; }
.track i.on { background: var(--amber); border-color: var(--amber); transform: scale(1.2); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: st; }
.step {
  position: relative; padding: 2rem 1.6rem 2.2rem; min-height: 320px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 24px; display: flex; flex-direction: column; overflow: hidden; box-shadow: var(--shadow);
  transition: transform .5s var(--ease), border-color .4s;
}
.step::after {
  counter-increment: st; content: "0" counter(st); position: absolute; right: -.4rem; bottom: -2.4rem;
  font: 800 9rem/1 var(--f-display); color: transparent; -webkit-text-stroke: 1px rgba(20,20,20,.1); transition: -webkit-text-stroke-color .4s;
}
.step:hover { transform: translateY(-8px); border-color: var(--amber); }
.step:hover::after { -webkit-text-stroke-color: var(--amber); }
.step__k { align-self: flex-start; color: var(--ink); background: var(--amber); padding: .2em .55em; border-radius: 6px; }
.step h3 { margin: auto 0 .6rem; font: 700 2rem/1 var(--f-display); letter-spacing: -.03em; }
.step p { margin: 0; color: var(--muted); font-size: .97rem; max-width: 26ch; position: relative; z-index: 1; }

/* ---------- ecommerce ---------- */
.ecom { padding: calc(var(--sec) * .5) 0 var(--sec); display: grid; gap: clamp(1.8rem, 3vw, 3rem); }
.ecom__chips { display: flex; flex-wrap: wrap; gap: .7rem; }
.chip {
  padding: .9rem 1.3rem; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface);
  font-weight: 500; transition: background .3s, color .3s, transform .4s var(--ease);
  animation: drift 6s ease-in-out infinite; animation-delay: calc(var(--i) * -.8s);
}
@keyframes drift { 50% { translate: 0 -6px; } }
.chip:hover { background: var(--ink); color: #fff; transform: rotate(-1.5deg); }
.chip--amber { background: var(--amber); border-color: var(--amber); }

/* ---------- team ---------- */
.team { padding: var(--sec) 0; background: var(--bg-2); }
.team__nav { display: flex; gap: .6rem; }
.round { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font-size: 1.1rem; cursor: pointer; transition: background .3s; }
.round:hover { background: var(--amber); border-color: var(--amber); }
.quotes { display: flex; gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2rem calc((100% - var(--wrap)) / 2) 3rem; margin: -2rem 0 -3rem; scroll-padding-inline: calc((100% - var(--wrap)) / 2); }
.quotes::-webkit-scrollbar { display: none; }
.quote {
  flex: 0 0 min(460px, 82vw); scroll-snap-align: start; margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem;
  padding: 2.2rem; min-height: 330px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: border-color .4s;
}
.quote:hover { border-color: var(--amber); }
.quote blockquote { margin: 0; font: 600 1.45rem/1.3 var(--f-display); letter-spacing: -.015em; }
.quote blockquote::before { content: "“"; display: block; font-size: 3.5rem; line-height: .6; color: var(--amber); margin-bottom: .6rem; }
.quote figcaption { display: flex; align-items: center; gap: .9rem; font-size: .9rem; color: var(--muted); }
.quote figcaption b { display: block; color: var(--ink); font-weight: 600; }
.av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--amber); color: var(--ink); font: 700 .9rem var(--f-display); }

/* ---------- CTA ---------- */
.cta { position: relative; padding: var(--sec) 0 calc(var(--sec) * .8); overflow: hidden; isolation: isolate; }
.cta__glow { position: absolute; z-index: -1; right: -20vw; bottom: -30vw; width: 80vw; height: 80vw; border-radius: 50%; background: radial-gradient(circle, rgba(248,181,22,.45), transparent 60%); filter: blur(40px); }
.cta__title { margin: 0 0 3rem; font: 800 clamp(2.8rem, 7.6vw, 8.4rem)/.92 var(--f-display); letter-spacing: -.05em; }
.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: clamp(3rem, 6vw, 5rem); padding-top: 2.5rem; border-top: 1px solid var(--line-2); }
.contact .mono { display: block; color: var(--muted); margin-bottom: .6rem; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; }
.contact a { font: 600 1.4rem var(--f-display); letter-spacing: -.01em; }
.contact a:hover { color: var(--amber-ink); }
.contact p { margin: 0; color: var(--ink-2); max-width: 30ch; }

/* ---------- footer (dark band so the white logo shows as-is) ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.62); font-size: .88rem; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: 2.6rem 0 3rem; }
.footer__logo img { height: 44px; width: auto; }
.footer p { margin: 0; }
.footer nav { display: flex; gap: 1.5rem; }
.footer nav a:hover { color: var(--amber); }

/* ---------- reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.reveal-up { display: inline-block; transform: translateY(105%); animation: up 1.1s var(--ease) calc(.15s + var(--d, 0s)) forwards; }
@keyframes up { to { transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .badge, .scroll-cue { display: none; }
  .hero__foot { grid-template-columns: 1fr; }
  .code-card { justify-self: end; width: min(330px, 100%); }
  .card, .card--wide { grid-column: span 6; }
  .card--wide { grid-column: span 12; }
}
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 3rem; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .svc__item { grid-template-columns: 40px 1fr; gap: .4rem 1rem; }
  .svc__icon { grid-column: 2; width: 42px; height: 42px; }
  .svc__title, .svc__desc, .svc__tags { grid-column: 2; grid-row: auto; }
  .svc__item::before { inset: 0 -1rem; }
  .services { border-radius: 28px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .track { display: none; }
  .contact { grid-template-columns: 1fr; }
  .shape--dots, .shape--bracket, .shape--plus { display: none; }
  .shape--sun { width: 80px; height: 80px; right: 6%; top: 12%; }
  .shape--ring { width: 150px; height: 150px; }
  .shape--pill { right: 8%; bottom: 30%; }
}
@media (max-width: 640px) {
  .code-card, .scroll-cue, .shape--pill { display: none; }
  .hero { padding-bottom: 6rem; }
  .card, .card--wide { grid-column: span 12; }
  .chart--line { height: 240px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .step h3 { margin-top: 2rem; }
  .stat { padding: 0 1rem; }
  .hero__actions .btn { flex: 1; justify-content: center; }
  .tapes { height: 170px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .reveal-up { transform: none; }
  .tape__row { animation: none; }
}

/* =========================================================
   WHY CHOOSE US
   ========================================================= */
.why { padding: var(--sec) 0 calc(var(--sec) * .5); }
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.why-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; gap: .7rem; min-height: 380px;
  padding: 1.8rem; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .5s var(--ease), border-color .4s;
}
.why-card::before {
  content: ""; position: absolute; z-index: -1; width: 160%; aspect-ratio: 1; left: -30%; top: 100%;
  border-radius: 50%; background: var(--amber-soft); transition: top .7s var(--ease);
}
.why-card:hover { transform: translateY(-6px); border-color: var(--amber); }
.why-card:hover::before { top: 35%; }
.why-card__no { color: var(--muted); }
.why-card h3 { margin: auto 0 0; font: 700 1.6rem/1.1 var(--f-display); letter-spacing: -.02em; }
.why-card p { margin: 0; color: var(--ink-2); font-size: .96rem; }
.why-card--ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.why-card--ink p { color: rgba(255,255,255,.72); }
.why-card--ink .why-card__no { color: var(--amber); }
.why-card--ink::before { background: #262626; }
.why-card--amber { background: var(--amber); border-color: var(--amber); }
.why-card--amber .why-card__no { color: var(--ink); }
.why-card--amber::before { background: #ffd05a; }

/* mini motion graphics */
.mini { position: relative; height: 120px; margin: .4rem 0 .6rem; }

/* 01: cursor clicks Buy now */
.mini-shop { position: absolute; inset: 0 30% 0 0; border-radius: 12px; background: #1f1f1f; padding: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-content: start; }
.mini-shop i { height: 46px; border-radius: 6px; background: #2c2c2c; }
.mini-shop i:nth-child(2) { background: #3a3220; }
.mini-buy { grid-column: 1 / -1; justify-self: start; padding: .4rem .8rem; border-radius: 999px; background: var(--amber); color: var(--ink); font: 700 .72rem var(--f-body); animation: press 4s var(--ease) infinite; }
.mini-cursor { position: absolute; width: 18px; height: 18px; left: 75%; top: 20%;
  background: #fff; clip-path: polygon(0 0, 100% 60%, 55% 62%, 75% 100%, 60% 100%, 42% 66%, 0 90%);
  animation: cursor 4s var(--ease) infinite; filter: drop-shadow(0 2px 2px rgba(0,0,0,.4)); }
@keyframes cursor { 0%, 10% { left: 75%; top: 15%; } 45%, 60% { left: 18%; top: 82%; } 100% { left: 75%; top: 15%; } }
@keyframes press { 0%, 48% { transform: scale(1); box-shadow: 0 0 0 0 rgba(248,181,22,.7); } 52% { transform: scale(.92); } 60% { transform: scale(1); box-shadow: 0 0 0 12px rgba(248,181,22,0); } 100% { box-shadow: 0 0 0 0 rgba(248,181,22,0); } }

/* 02: stacking pills */
.mini--stack { display: flex; flex-wrap: wrap; align-content: center; gap: .4rem; }
.mini--stack span { padding: .45rem .8rem; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font: 500 .76rem var(--f-mono); animation: pop 5s var(--ease) infinite; animation-delay: calc(var(--n, 0) * .25s); }
.mini--stack span:nth-child(1) { --n: 0; } .mini--stack span:nth-child(2) { --n: 1; background: var(--amber); border-color: var(--amber); }
.mini--stack span:nth-child(3) { --n: 2; } .mini--stack span:nth-child(4) { --n: 3; } .mini--stack span:nth-child(5) { --n: 4; }
@keyframes pop { 0%, 100% { transform: translateY(0); } 10% { transform: translateY(-8px); } 20% { transform: translateY(0); } }

/* 03: counter */
.mini--count { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem; }
.mini--count span { font: 800 clamp(2.8rem, 12vw, 4rem)/1 var(--f-display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.mini--count small { font: 600 .95rem var(--f-body); color: var(--ink); }

/* 04: heartbeat */
.mini--pulse svg { width: 100%; height: 70px; margin-top: 20px; }
.mini--pulse path.base { fill: none; stroke: var(--line-2); stroke-width: 2; }
.mini--pulse path.run { fill: none; stroke: var(--amber-ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: .35 .65; animation: beat 2.4s linear infinite; }
@keyframes beat { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.mini-live { position: absolute; top: 0; left: 0; display: inline-flex; gap: .4rem; align-items: center; font: 600 .78rem var(--f-mono); padding: .3rem .6rem; border-radius: 999px; background: var(--bg); }
.mini-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--good); animation: ping 2s infinite; }

/* 05: chat — customer asks, we type, we reply (6s loop) */
.mini--chat { display: grid; align-content: center; gap: .5rem; }
.bubble { max-width: 88%; padding: .55rem .8rem; border-radius: 14px; font-size: .82rem; line-height: 1.35; }
.bubble--in { justify-self: start; background: var(--bg); border-bottom-left-radius: 4px; animation: chatIn 7s var(--ease) infinite; }
.bubble--out { grid-area: 2 / 1; justify-self: end; background: #dcf8c6; border-bottom-right-radius: 4px; }
.bubble--typing { display: inline-flex; gap: 4px; padding: .7rem .9rem; animation: chatTyping 7s var(--ease) infinite; }
.bubble--typing i { width: 6px; height: 6px; border-radius: 50%; background: #4a7a3a; animation: typing 1.2s infinite; }
.bubble--typing i:nth-child(2) { animation-delay: .15s; } .bubble--typing i:nth-child(3) { animation-delay: .3s; }
.bubble--reply { font-weight: 600; color: #1d3b13; animation: chatReply 7s var(--ease) infinite; }
@keyframes chatIn { 0% { opacity: 0; transform: translateY(10px); } 6%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes chatTyping { 0%, 14% { opacity: 0; transform: translateY(8px); } 18%, 40% { opacity: 1; transform: none; } 44%, 100% { opacity: 0; transform: none; } }
@keyframes chatReply { 0%, 44% { opacity: 0; transform: translateY(8px) scale(.96); } 50%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

/* 06: phone */
.mini--phone { display: grid; place-items: center start; }
.ph { width: 62px; height: 112px; border-radius: 14px; border: 3px solid var(--ink); background: var(--surface); padding: 12px 7px; display: grid; gap: 6px; align-content: start; animation: tilt 5s ease-in-out infinite; }
.ph i { height: 14px; border-radius: 4px; background: var(--bg-2); }
.ph i:first-child { height: 30px; background: var(--ink); }
@keyframes tilt { 50% { transform: rotate(-8deg) translateY(-6px); } }

/* =========================================================
   COMPARISON
   ========================================================= */
.vs { padding: calc(var(--sec) * .5) 0; }
.vs__table { border-radius: 26px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.vs__row { display: grid; grid-template-columns: 1fr 1.4fr 1.6fr; align-items: center; border-top: 1px solid var(--line); }
.vs__row > span { padding: 1.15rem 1.5rem; }
.vs__row--head { border-top: 0; font: 700 1rem var(--f-display); }
.vs__row--head > span { padding-block: 1.4rem; }
.vs__row [role="rowheader"] { font-weight: 600; }
.vs__us { background: var(--amber); }
.vs__row .yes { background: #fff8e4; font-weight: 600; height: 100%; display: flex; align-items: center; gap: .7rem; }
.vs__row .no { color: var(--muted); display: flex; align-items: center; gap: .7rem; }
.vs__row .no::before, .vs__row .yes::before { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; }
.vs__row .no::before { content: "✕"; background: var(--bg-2); color: var(--muted); }
.vs__row .yes::before { content: "✓"; background: var(--amber); color: var(--ink); transform: scale(0); transition: transform .5s cubic-bezier(.3,1.6,.5,1) .3s; }
.vs__row.in .yes::before { transform: scale(1); }
.vs__row.reveal { transform: translateX(-20px); }
.vs__row.reveal.in { transform: none; }
.vs__row:not(.vs__row--head):hover .yes { background: var(--amber-soft); }

/* =========================================================
   FAQ
   ========================================================= */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 5vw, 4rem); padding: var(--sec) 0 calc(var(--sec) * .5); align-items: start; }
.faq__head { position: sticky; top: 7rem; display: flex; flex-direction: column; align-items: flex-start; gap: 1.4rem; }
.faq__head .section-head__sub { margin: 0; }
.faq__list { display: grid; gap: .8rem; }
.qa { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); transition: border-color .3s; }
.qa[open] { border-color: var(--amber); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.3rem 1.5rem; font: 600 1.1rem/1.3 var(--f-display); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); font: 400 1.3rem/1 var(--f-body); transition: transform .4s var(--ease), background .3s; }
.qa[open] summary::after { transform: rotate(45deg); background: var(--amber); }
.qa__a { padding: 0 1.5rem 1.4rem; color: var(--ink-2); }
.qa__a p { margin: 0; }
.qa[open] .qa__a { animation: qaIn .45s var(--ease); }
@keyframes qaIn { from { opacity: 0; transform: translateY(-6px); } }

/* =========================================================
   FLOATING WHATSAPP
   ========================================================= */
.wa-float {
  position: fixed; right: clamp(14px, 2.4vw, 28px); bottom: clamp(14px, 2.4vw, 28px); z-index: 45;
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; box-shadow: 0 6px 18px -6px rgba(20,20,20,.35);
  opacity: 0; transform: translateY(16px) scale(.85); pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease), background .2s;
}
.wa-float.show { opacity: 1; transform: none; pointer-events: auto; }
.wa-float::before { /* soft pulse ring */
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366;
  animation: waPulse 2.8s var(--ease) infinite; pointer-events: none;
}
@keyframes waPulse { 0% { transform: scale(1); opacity: .6; } 70%, 100% { transform: scale(1.55); opacity: 0; } }
.wa-float svg { width: 26px; height: 26px; fill: #fff; }
.wa-float:hover { background: #1ebe5b; }
.wa-float__tip {
  position: absolute; right: calc(100% + 10px); top: 50%; translate: 0 -50%;
  padding: .45rem .75rem; border-radius: 8px; background: var(--ink); color: #fff;
  font: 600 .8rem/1 var(--f-body); white-space: nowrap;
  opacity: 0; transform: translateX(6px); transition: opacity .25s, transform .25s var(--ease); pointer-events: none;
}
.wa-float:hover .wa-float__tip, .wa-float:focus-visible .wa-float__tip { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .faq { grid-template-columns: 1fr; gap: 2.5rem; }
  .faq__head { position: static; }
}
@media (max-width: 640px) {
  .why__grid { grid-template-columns: 1fr; }
  .why-card { min-height: 0; }
  .quote { min-height: 0; gap: 1.6rem; padding: 1.6rem; }
  .quote blockquote { font-size: 1.25rem; }
  .vs__row { grid-template-columns: 1fr 1fr; }
  .vs__row [role="rowheader"] { grid-column: 1 / -1; padding-bottom: 0; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
  .vs__row--head [role="columnheader"]:first-child { display: none; }
  .vs__row > span { padding: .8rem 1rem; font-size: .88rem; }
}

/* =========================================================
   FOOTER BUTTON-LINK + COOKIE SETTINGS DIALOG
   ========================================================= */
.footer__link { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.footer__link:hover { color: var(--amber); }

.cookies { border: 0; padding: 0; background: transparent; max-width: min(560px, calc(100vw - 32px)); width: 100%; color: var(--ink); }
.cookies::backdrop { background: rgba(20,20,20,.45); backdrop-filter: blur(4px); }
.cookies[open] { animation: ckIn .35s var(--ease); }
@keyframes ckIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.cookies__card { background: var(--surface); border-radius: 24px; padding: 1.8rem; box-shadow: 0 30px 80px -20px rgba(20,20,20,.4); }
.cookies__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.cookies__head h2 { margin: 0; font: 700 1.5rem/1.1 var(--f-display); letter-spacing: -.02em; }
.cookies__x { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.cookies__x:hover { background: var(--bg); }
.cookies__intro { margin: .8rem 0 1.2rem; color: var(--ink-2); font-size: .92rem; }
.cookies__intro a { color: var(--ink); font-weight: 600; text-decoration: underline 2px var(--amber); text-underline-offset: 3px; }
.cookies__opt { display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; padding: 1rem 0; border-top: 1px solid var(--line); cursor: pointer; }
.cookies__opt:first-of-type { cursor: default; }
.cookies__opt h3 { margin: 0 0 .2rem; font: 600 1rem var(--f-body); }
.cookies__opt p { margin: 0; color: var(--muted); font-size: .85rem; }
.switch { position: relative; flex: none; width: 46px; height: 26px; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.switch i { position: absolute; inset: 0; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line-2); transition: background .25s; pointer-events: none; }
.switch i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(20,20,20,.25); transition: transform .25s var(--ease); }
.switch input:checked + i { background: var(--ink); border-color: var(--ink); }
.switch input:checked + i::after { transform: translateX(20px); background: var(--amber); }
.switch input:focus-visible + i { outline: 2px solid var(--ink); outline-offset: 2px; }
.switch--locked { opacity: .55; }
.switch--locked input { cursor: not-allowed; }
.cookies__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .6rem; margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.cookies__actions .btn { --pad: .8rem 1.2rem; font-size: .88rem; }
@media (max-width: 480px) {
  .cookies__card { padding: 1.4rem; }
  .cookies__actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* ---------- first-visit cookie banner ---------- */
.ck-banner {
  position: fixed; left: clamp(12px, 2.4vw, 28px); bottom: clamp(12px, 2.4vw, 28px); z-index: 70;
  width: min(440px, calc(100vw - 24px)); padding: 1.2rem 1.3rem; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: 0 20px 50px -18px rgba(20,20,20,.35);
  animation: ckUp .5s var(--ease) .8s both;
}
.ck-banner[hidden] { display: none; }
.ck-banner.is-leaving { animation: ckDown .35s var(--ease) forwards; }
@keyframes ckUp { from { opacity: 0; transform: translateY(24px); } }
@keyframes ckDown { to { opacity: 0; transform: translateY(24px); } }
.ck-banner__text { margin: 0 0 1rem; font-size: .9rem; line-height: 1.5; color: var(--ink-2); }
.ck-banner__icon { margin-right: .2rem; }
.ck-banner__text a { color: var(--ink); font-weight: 600; text-decoration: underline 2px var(--amber); text-underline-offset: 3px; white-space: nowrap; }
.ck-banner__actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.ck-banner__actions .btn { --pad: .7rem 1rem; font-size: .84rem; flex: 1 1 auto; justify-content: center; }
/* on small screens the banner spans the bottom; keep WhatsApp out of its way until a choice is made */
@media (max-width: 640px) {
  .ck-banner { left: 12px; right: 12px; width: auto; }
  body.ck-open .wa-float { opacity: 0; pointer-events: none; }
}


/* ---------- accessibility helper ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- "Jom!" sticker on the closing CTA ---------- */
.cta__title { position: relative; }
.jom {
  display: inline-block; margin-left: .4em; vertical-align: .95em; padding: .3em .55em .34em; border-radius: .45em;
  background: var(--amber); color: var(--ink); font: 800 .26em/1 var(--f-display); letter-spacing: -.01em;
  transform: rotate(-8deg); box-shadow: 0 10px 24px -10px rgba(248,181,22,.8);
  animation: jom 3.2s ease-in-out infinite;
}
@keyframes jom { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(4deg) translateY(-4px) scale(1.05); } }

/* ---------- KL skyline line-art ---------- */
.skyline { margin-top: clamp(2.5rem, 6vw, 4.5rem); margin-bottom: calc(var(--sec) * -.8); width: 100%; }
/* drawing is 1200×240 (road = bottom 28 units); extend the road edge-to-edge underneath it */
.skyline svg { display: block; width: 100%; height: min(20vw, 300px); }
.skyline { background: linear-gradient(to top, #1d1d1d min(2.333vw, 35px), transparent 0); overflow: hidden; }
/* phones: show the city centre at 2× instead of a tiny full-width strip */
@media (max-width: 640px) {
  .skyline svg { width: 200%; height: 40vw; margin-left: -50%; }
  .skyline { background: linear-gradient(to top, #1d1d1d 4.667vw, transparent 0); }
}
.skyline.reveal { transform: none; }

/* 3D buildings: lit front, shaded side, pale top */
.skyline .front { fill: url(#skyFront); stroke: rgba(20,20,20,.14); stroke-width: .8; stroke-linejoin: round; }
.skyline .front.tower { fill: url(#skyTower); stroke: rgba(20,20,20,.12); }
.skyline .side { fill: url(#skySide); stroke: rgba(20,20,20,.12); stroke-width: .8; stroke-linejoin: round; }
.skyline .top { fill: #fbf8f2; stroke: rgba(20,20,20,.12); stroke-width: .8; stroke-linejoin: round; }
.skyline .rib { stroke: rgba(20,20,20,.11); stroke-width: .6; }
.skyline .mast { stroke: rgba(20,20,20,.5); stroke-width: .9; stroke-linecap: round; }
.skyline .leg { fill: none; stroke: #b3a993; stroke-width: 1.7; stroke-linecap: round; }
.skyline .ledge { stroke: rgba(20,20,20,.18); stroke-width: 1; }
.skyline .spire { fill: none; stroke: rgba(20,20,20,.45); stroke-width: 1.4; stroke-linecap: round; }
.skyline .win { fill: rgba(20,20,20,.07); }
.skyline .win.lit { fill: var(--amber); animation: twinkle 4s ease-in-out infinite; animation-delay: var(--w, 0s); }
@keyframes twinkle { 0%, 100% { opacity: 1; } 45% { opacity: .35; } 55% { opacity: 1; } }
.sky-base { stroke: rgba(20,20,20,.35); stroke-width: 1.2; }
.sky-sun { fill: var(--amber); opacity: 0; transform-box: fill-box; transform-origin: center; transform: translateY(40px) scale(.6); transition: opacity 1s ease 1.6s, transform 1.6s var(--ease) 1.6s; }
.skyline.in .sky-sun { opacity: .95; transform: none; }

/* buildings rise from the ground one after another */
.skyline .bld { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); transition: transform .9s cubic-bezier(.3,1.35,.5,1) calc(.1s + var(--i) * .07s); }
.skyline.in .bld { transform: scaleY(1); }

/* road + cars */
.skyline .road { fill: #1d1d1d; }
.skyline .road-edge { stroke: #3a3a3a; stroke-width: 1; }
.skyline .road-lane { stroke: var(--amber); stroke-width: 1.4; stroke-dasharray: 14 12; opacity: .8; animation: lane 1.2s linear infinite; }
@keyframes lane { to { stroke-dashoffset: -26; } }
.skyline .car { animation: driveR var(--dur) linear var(--delay) infinite; }
.skyline .car--l { animation-name: driveL; }
@keyframes driveR { from { transform: translateX(-60px); } to { transform: translateX(1260px); } }
@keyframes driveL { from { transform: translateX(1260px); } to { transform: translateX(-60px); } }
.skyline .car-bob { animation: carBob .5s ease-in-out infinite alternate; }
@keyframes carBob { to { transform: translateY(-.6px); } }
.skyline .car-body { stroke: rgba(20,20,20,.45); stroke-width: .8; }
.skyline .car-roofside { fill: rgba(20,20,20,.18); }
.skyline .car-glass { fill: #2b2b2b; }
.skyline .car-sign { fill: #141414; }
.skyline .car-head { fill: #fff3c4; }
.skyline .car-tail { fill: #ff5f57; }
.skyline .car-beam { fill: url(#carBeam); }
.skyline .car-head { filter: drop-shadow(0 0 1.5px rgba(255,231,160,.9)); }
.skyline .wheel circle { fill: #141414; stroke: #555; stroke-width: 1; }
.skyline .wheel path { stroke: #888; stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: spin .35s linear infinite; }
@media (prefers-reduced-motion: reduce) { .skyline .car { animation: none; transform: translateX(300px); } }

/* ---------- "Trusted since 2016" wide card ---------- */
.why-card--since { grid-column: 1 / -1; min-height: 0; display: grid; grid-template-columns: 1fr 1.3fr; gap: 2rem 3rem; align-items: center; }
.why-card--since h3 { margin: .7rem 0 .8rem; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.since__graphic { position: relative; padding-top: .5rem; }

/* 3D extruded "2016": a yellow face + stacked dark layers, tilted in perspective */
.since__big { display: block; margin: .4rem 0 clamp(2.8rem, 5vw, 4rem); perspective: 900px; text-align: center; }
.since__3d {
  position: relative; display: inline-block;
  font: 800 clamp(4.2rem, 10.5vw, 8.6rem)/.9 var(--f-display); letter-spacing: -.04em;
  transform: rotateX(var(--rx, 16deg)) rotateY(var(--ry, -20deg)) rotateZ(-2deg);
  transform-origin: 50% 60%; transition: transform .6s var(--ease); will-change: transform;
}
.since__layer, .since__face { display: block; white-space: nowrap; }
.since__layer {
  position: absolute; left: 0; top: 0; color: #232323;
  transform: translate(0, 0);
  transition: transform .9s var(--ease) calc(.25s + var(--i) * .035s);
}
/* nearer layers a little lighter so the extrusion catches light */
.since__layer:nth-last-child(-n+5) { color: #3a3a3a; }
.since__layer:nth-child(-n+4) { color: #141414; }
.why-card--since.in .since__layer { transform: translate(calc(var(--i) * .07em * .16), calc(var(--i) * .09em * .16)); }
.since__face {
  position: relative; color: transparent;
  background:
    linear-gradient(105deg, transparent 0 38%, rgba(255,255,255,.75) 46%, transparent 54% 100%) -150% 0 / 220% 100% no-repeat,
    linear-gradient(180deg, #ffe08c 0%, #f8b516 52%, #f2ab0a 100%);
  -webkit-background-clip: text; background-clip: text;
  animation: shine 4.5s ease-in-out 2.2s infinite;
}
@keyframes shine { 0%, 55% { background-position: -150% 0, 0 0; } 85%, 100% { background-position: 250% 0, 0 0; } }
/* soft floor shadow */
.since__3d::after {
  content: ""; position: absolute; left: 4%; right: -6%; bottom: -16%; height: 18%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(20,20,20,.28), transparent); filter: blur(6px);
  transform: translateZ(-40px); opacity: 0; transition: opacity .8s ease .6s;
}
.why-card--since.in .since__3d::after { opacity: 1; }

.since__line { position: relative; height: 4px; border-radius: 4px; background: var(--bg-2); }
.since__fill { position: absolute; inset: 0; border-radius: 4px; background: var(--amber); transform-origin: left; transform: scaleX(0); transition: transform 2.2s var(--ease) .3s; }
.since__fill::after { content: ""; position: absolute; right: -7px; top: -6px; width: 16px; height: 16px; border-radius: 50%; background: var(--amber); border: 3px solid var(--ink); }
.since__badge {
  position: absolute; right: 0; bottom: calc(100% + 16px); transform: translateX(40%) translateY(8px) scale(.8); opacity: 0;
  padding: .45rem .75rem; border-radius: 10px; background: var(--ink); color: var(--amber); font: 700 .85rem/1 var(--f-body); white-space: nowrap;
  transition: opacity .4s ease 2.4s, transform .5s cubic-bezier(.3,1.6,.5,1) 2.4s;
}
.since__badge::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -6px; border: 6px solid transparent; border-top-color: var(--ink); }
.why-card--since.in .since__badge { opacity: 1; transform: translateX(40%) translateY(0) scale(1); animation: bob 3s ease-in-out 3s infinite; }
.why-card--since.in .since__fill { transform: scaleX(1); }
.since__ticks { display: flex; justify-content: space-between; margin-top: .6rem; font: 500 .72rem var(--f-mono); color: var(--muted); }
.since__ticks span { display: flex; flex-direction: column; align-items: center; gap: .35rem; width: 0; white-space: nowrap; }
.since__ticks i { width: 9px; height: 9px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line-2); margin-top: -1.05rem; transition: background .3s, border-color .3s, transform .3s; transition-delay: calc(.3s + var(--i) * .2s); }
.why-card--since.in .since__ticks i { background: var(--amber); border-color: var(--amber); transform: scale(1.1); }
.since__ticks .edge { color: var(--ink); font-weight: 600; }
.why-card--since:hover::before { top: 20%; }
@media (max-width: 1000px) { .why-card--since { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .since__ticks span:not(.edge) { font-size: 0; } }

/* =========================================================
   CHINESE (zh) TYPOGRAPHY — Latin & digits keep Syne/Manrope,
   Chinese characters fall back to Noto Sans SC.
   ========================================================= */
html[lang^="zh"] {
  --f-display: "Syne", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --f-body: "Manrope", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}
html[lang^="zh"] body { line-height: 1.75; }
html[lang^="zh"] .hero__title { letter-spacing: 0; line-height: 1.1; font-weight: 900; }
html[lang^="zh"] .h2 { letter-spacing: 0; line-height: 1.2; font-weight: 900; }
html[lang^="zh"] .cta__title { letter-spacing: 0; line-height: 1.12; font-weight: 900; }
html[lang^="zh"] .manifesto__text { letter-spacing: .01em; line-height: 1.45; font-weight: 700; }
html[lang^="zh"] .svc__title, html[lang^="zh"] .why-card h3, html[lang^="zh"] .step h3,
html[lang^="zh"] .card__title, html[lang^="zh"] .quote blockquote, html[lang^="zh"] .qa summary { letter-spacing: 0; font-weight: 700; }
html[lang^="zh"] .quote blockquote { line-height: 1.55; }
html[lang^="zh"] .eyebrow { letter-spacing: .08em; }
html[lang^="zh"] .hb { grid-template-columns: 92px 1fr 40px; }

/* ---------- language switcher ---------- */
.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font: 600 .8rem/1 var(--f-body); }
.lang { flex: none; }
.nav__logo, .nav__burger { flex: none; }
@media (max-width: 420px) {
  .nav { gap: .8rem; }
  .nav__logo { padding: .5rem .8rem; }
  .nav__logo img { height: 26px; }
  .lang a { padding: .45rem .55rem; }
}
.lang a { white-space: nowrap; padding: .45rem .7rem; border-radius: 999px; color: var(--muted); transition: background .25s, color .25s; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current="page"] { background: var(--ink); color: #fff; }
@media (max-width: 900px) {
  .nav .lang { margin-left: auto; }
  .nav__burger { margin-left: .6rem; }
}

/* =========================================================
   COMPARISON — "flip the switch" tiles
   ========================================================= */
.vs .section-head { margin-bottom: 1.6rem; }
.vs__switch {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; margin-bottom: clamp(2rem, 4vw, 3rem);
  padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.vs__switch button {
  position: relative; z-index: 1; border: 0; background: none; cursor: pointer; padding: .85rem 1.4rem; border-radius: 999px;
  font: 600 .95rem/1 var(--f-body); color: var(--muted); white-space: nowrap; transition: color .35s;
}
.vs__switch button[aria-pressed="true"] { color: var(--ink); }
.vs__switch button[data-vs="ordinary"][aria-pressed="true"] { color: #fff; }
.vs__thumb {
  position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px;
  background: var(--amber); box-shadow: 0 8px 20px -8px rgba(248,181,22,.8);
  transform: translateX(100%); transition: transform .5s cubic-bezier(.5,1.6,.4,1), background .35s, box-shadow .35s;
}
.vs__switch[data-state="ordinary"] .vs__thumb { transform: none; background: #8b8a86; box-shadow: none; }

.vs__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; perspective: 1400px; }
.flip { height: clamp(190px, 17vw, 230px); }
.flip__inner {
  position: relative; height: 100%; transform-style: preserve-3d;
  transition: transform .9s cubic-bezier(.6,-.15,.25,1.25) calc(var(--i) * .09s);
}
.vs__grid[data-state="setcode"] .flip__inner { transform: rotateY(180deg); }
.flip__face {
  position: absolute; inset: 0; display: flex; flex-direction: column; gap: .7rem; padding: 1.4rem 1.4rem 1.3rem;
  border-radius: 22px; backface-visibility: hidden; overflow: hidden;
}
.flip__face p { margin: auto 0 0; font: 600 clamp(1.05rem, 1.5vw, 1.25rem)/1.3 var(--f-display); letter-spacing: -.01em; padding-right: 2.6rem; }
.flip__k { align-self: flex-start; font: 600 .72rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; padding: .35rem .6rem; border-radius: 6px; }
.flip__icon {
  position: absolute; right: 1.1rem; bottom: 1.1rem; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font: 700 1.05rem/1 var(--f-body); font-style: normal;
}

/* the dull "ordinary" side: grey, dashed, a little crooked */
.flip__face--no { background: #ebe7de; border: 1.5px dashed rgba(20,20,20,.18); color: #8b8a86; }
.flip__face--no p { font-family: var(--f-body); font-weight: 500; text-decoration: line-through rgba(20,20,20,.25) 1.5px; }
.flip__face--no .flip__k { background: rgba(20,20,20,.07); color: #8b8a86; }
.flip__face--no .flip__icon { background: rgba(20,20,20,.08); color: #8b8a86; }
.flip:nth-child(odd) .flip__face--no { transform: rotate(-1.2deg); }
.flip:nth-child(even) .flip__face--no { transform: rotate(1deg); }

/* the SetCode side: ink, yellow, glowing */
.flip__face--yes {
  transform: rotateY(180deg); background: var(--ink); color: #fff;
  box-shadow: 0 18px 40px -18px rgba(20,20,20,.55), inset 0 0 0 1px rgba(255,255,255,.06);
}
.flip__face--yes::before {
  content: ""; position: absolute; width: 180px; height: 180px; right: -60px; top: -70px; border-radius: 50%;
  background: radial-gradient(circle, rgba(248,181,22,.45), transparent 65%);
}
.flip__face--yes .flip__k { background: var(--amber); color: var(--ink); }
.flip__face--yes .flip__icon { background: var(--amber); color: var(--ink); box-shadow: 0 0 0 6px rgba(248,181,22,.18); }
.flip:last-child .flip__face--yes { background: var(--amber); color: var(--ink); }
.flip:last-child .flip__face--yes::before { background: radial-gradient(circle, rgba(255,255,255,.55), transparent 65%); }
.flip:last-child .flip__face--yes .flip__k, .flip:last-child .flip__face--yes .flip__icon { background: var(--ink); color: var(--amber); }
.flip:hover .flip__face--yes { box-shadow: 0 24px 50px -16px rgba(248,181,22,.5), inset 0 0 0 1px rgba(248,181,22,.4); }

@media (max-width: 1000px) { .vs__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .vs__grid { grid-template-columns: 1fr; gap: .8rem; }
  .flip { height: 140px; }
  .vs__switch { display: grid; width: 100%; }
  .vs__switch button { padding: .8rem .6rem; font-size: .88rem; }
}
@media (prefers-reduced-motion: reduce) { .flip__inner { transition: none; } }

/* ---------- tile illustrations ---------- */
/* compact icon badge in the top-right corner */
.flip__art {
  position: absolute; top: 1rem; right: 1rem; z-index: 1; box-sizing: border-box;
  width: 50px; height: 50px; padding: 8px; border-radius: 14px; overflow: hidden;
  fill: none; stroke: currentColor; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round;
}
.flip__face--yes .flip__art { background: rgba(248,181,22,.12); box-shadow: inset 0 0 0 1px rgba(248,181,22,.25); }
.flip:last-child .flip__face--yes .flip__art { background: rgba(20,20,20,.08); box-shadow: inset 0 0 0 1px rgba(20,20,20,.15); }
.flip__face--no .flip__art { background: rgba(20,20,20,.05); }
.flip { height: clamp(160px, 13.5vw, 190px); }
.flip__face--yes::before { width: 120px; height: 120px; right: -40px; top: -50px; }
@media (max-width: 560px) { .flip__art { width: 44px; height: 44px; padding: 7px; border-radius: 12px; } .flip { height: 140px; } }
.flip__art .thin { stroke-width: 2; }
.flip__art .fc { fill: currentColor; stroke: none; }
.flip__art .art-txt { fill: currentColor; stroke: none; font: 700 11px var(--f-mono); }
.flip__face--yes .flip__art { color: var(--amber); }
.flip:last-child .flip__face--yes .flip__art { color: var(--ink); filter: none; }
.flip__face--no .flip__art { color: #bdb8ad; }
.flip__face--no .flip__art * { animation: none !important; }

/* Design: curve draws itself */
.a-draw { stroke-dasharray: 1; animation: aDraw 3.2s ease-in-out infinite; }
@keyframes aDraw { 0% { stroke-dashoffset: 1; } 45%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1; } }
/* Goal: arrow flies into the bullseye */
.a-arrow { animation: aArrow 3s cubic-bezier(.2,.8,.2,1) infinite; }
@keyframes aArrow {
  0% { transform: translate(24px, -24px); opacity: 0; } 12% { opacity: 1; }
  32% { transform: translate(0, 0); } 37% { transform: translate(-2px, 2px); } 42%, 85% { transform: translate(0, 0); opacity: 1; }
  100% { transform: translate(0, 0); opacity: 0; }
}
/* Mobile: content loads in, then a tap */
.a-bar { transform-box: fill-box; transform-origin: left center; animation: aBar 3s ease-in-out infinite; }
.a-bar2 { animation-delay: .2s; } .a-bar3 { animation-delay: .4s; }
@keyframes aBar { 0% { transform: scaleX(0); opacity: 0; } 25%, 85% { transform: scaleX(1); opacity: 1; } 100% { opacity: 0; } }
.a-tap { transform-box: fill-box; transform-origin: center; animation: aTap 3s ease-out infinite 1.2s; }
@keyframes aTap { 0% { transform: scale(.4); opacity: 1; } 60%, 100% { transform: scale(2.2); opacity: 0; } }
/* Speed: needle swings to max */
.a-needle { transform-box: view-box; transform-origin: 40px 58px; animation: aNeedle 3s cubic-bezier(.3,1.5,.5,1) infinite; }
@keyframes aNeedle { 0%, 10% { transform: rotate(-80deg); } 45%, 82% { transform: rotate(64deg); } 100% { transform: rotate(-80deg); } }
.a-zip { stroke-dasharray: 6 8; animation: aZip .6s linear infinite; }
@keyframes aZip { to { stroke-dashoffset: -14; } }
/* Support: clock hands keep turning */
.a-spin { transform-box: view-box; transform-origin: 40px 38px; animation: spin 2.5s linear infinite; }
.a-spin-slow { transform-box: view-box; transform-origin: 40px 38px; animation: spin 30s linear infinite; }
/* Vendors: three dots merge into one team */
.a-m { animation: 3.2s cubic-bezier(.6,0,.3,1) infinite; }
.a-m1 { animation-name: aM1; } .a-m2 { animation-name: aM2; } .a-m3 { animation-name: aM3; }
@keyframes aM1 { 0%, 15% { transform: translate(0, 0); } 50%, 80% { transform: translate(26px, 20px); } 100% { transform: translate(0, 0); } }
@keyframes aM2 { 0%, 15% { transform: translate(0, 0); } 50%, 80% { transform: translate(-26px, 20px); } 100% { transform: translate(0, 0); } }
@keyframes aM3 { 0%, 15% { transform: translate(0, 0); } 50%, 80% { transform: translate(0, -30px); } 100% { transform: translate(0, 0); } }
.a-ring { transform-box: fill-box; transform-origin: center; animation: aRing 3.2s ease-in-out infinite; }
@keyframes aRing { 0%, 40% { transform: scale(.4); opacity: 0; } 55%, 80% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.2); opacity: 0; } }
/* After launch: rocket hovers, flame flickers, trail streams */
.a-bob { animation: aBob 2s ease-in-out infinite; }
@keyframes aBob { 50% { transform: translateY(-5px); } }
.a-flame { transform-box: fill-box; transform-origin: 50% 0; animation: aFlame .22s ease-in-out infinite alternate; }
@keyframes aFlame { from { transform: scaleY(.7); } to { transform: scaleY(1.25); } }
.a-trail { stroke-dasharray: 4 6; animation: aTrail .5s linear infinite; }
@keyframes aTrail { to { stroke-dashoffset: 10; } }
/* Result: bars grow */
.a-grow { transform-box: fill-box; transform-origin: bottom; animation: aGrow 3.2s cubic-bezier(.3,1.4,.5,1) infinite; }
.a-g2 { animation-delay: .15s; } .a-g3 { animation-delay: .3s; }
@keyframes aGrow { 0% { transform: scaleY(.1); } 35%, 85% { transform: scaleY(1); } 100% { transform: scaleY(.1); } }
.flip__face p { padding-right: 3rem; }

/* =========================================================
   3D CHARTS & NUMBERS
   ========================================================= */
.dash { perspective: 1600px; }
.dash .card.in {
  transform: perspective(1200px) rotateX(var(--crx, 0deg)) rotateY(var(--cry, 0deg));
  transition: transform .5s var(--ease), box-shadow .5s;
  box-shadow: 0 1px 2px rgba(20,20,20,.04), 0 22px 40px -22px rgba(20,20,20,.28), 0 2px 0 rgba(255,255,255,.9) inset;
}
.dash .card.in:hover { box-shadow: 0 1px 2px rgba(20,20,20,.04), 0 34px 60px -26px rgba(20,20,20,.35), 0 2px 0 rgba(255,255,255,.9) inset; }

/* big numbers: clean embossed depth (straight-down extrusion + soft shadow) */
.gauge__num, .kpi__num {
  text-shadow: 0 1px 0 #d8d2c5, 0 2px 0 #cdc6b7, 0 3px 0 #c2baa9, 0 4px 0 #b8af9d, 0 10px 14px rgba(20,20,20,.2);
}
.col__val { text-shadow: 0 1px 0 #d8d2c5, 0 2px 0 #c7bfae, 0 3px 0 #bbb3a1, 0 7px 10px rgba(20,20,20,.16); }
.kpi__unit { text-shadow: 0 1px 0 #e9a206, 0 2px 0 #df9a05, 0 5px 8px rgba(20,20,20,.15); }

/* gauge: raised dial + glowing ring */
.gauge svg { filter: drop-shadow(0 10px 14px rgba(248,181,22,.35)); }
.gauge__track { stroke: #ebe5d8; }
.gauge__fill { stroke: url(#gaugeGrad); }
.gauge__label {
  inset: 26px; border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #ffffff, #f3eee4 70%);
  box-shadow: 0 14px 24px -10px rgba(20,20,20,.28), inset 0 2px 0 #fff, inset 0 -4px 8px rgba(20,20,20,.06);
}

/* 3D blocks: exact faces cut with clip-path, depth --d up and to the right.
   front = the element; top face = ::before; side/end face = ::after.            */
.hb__track { height: 12px; background: #efeadf; border-radius: 2px; box-shadow: inset 0 1px 2px rgba(20,20,20,.08); overflow: visible; }
.hb__bar { --d: 6px; position: relative; border-radius: 0; background: #f8b516; }
.col__bar { --d: 12px; position: relative; border-radius: 0; overflow: visible; }
.hb__bar::before, .col__bar::before { /* top face: (d,0) (w+d,0) (w,d) (0,d) */
  content: ""; position: absolute; left: 0; top: calc(var(--d) * -1); width: calc(100% + var(--d)); height: var(--d);
  clip-path: polygon(var(--d) 0, 100% 0, calc(100% - var(--d)) 100%, 0 100%);
}
.hb__bar::after, .col__bar::after { /* side face: (0,d) (d,0) (d,h) (0,h+d) */
  content: ""; position: absolute; right: calc(var(--d) * -1); top: calc(var(--d) * -1); width: var(--d); height: calc(100% + var(--d));
  clip-path: polygon(0 var(--d), 100% 0, 100% calc(100% - var(--d)), 0 100%);
}
.hb__bar::before { background: #ffd970; } .hb__bar::after { background: #e9a206; }
.hbars { gap: 1.2rem; padding-top: .4rem; }
.hb:hover .hb__bar { background: #2a2a2a; }
.hb:hover .hb__bar::before { background: #4a4a4a; } .hb:hover .hb__bar::after { background: #141414; }
.hb__bar[style*="width: 0"]::before, .hb__bar[style*="width: 0"]::after { display: none; }

.col--before .col__bar { background: #c3beb3; }
.col--before .col__bar::before { background: #ddd8ce; } .col--before .col__bar::after { background: #a8a398; }
.col--after .col__bar { background: #f8b516; }
.col--after .col__bar::before { background: #ffd970; } .col--after .col__bar::after { background: #e9a206; }
.sp-face { opacity: 0; transition: opacity 1s ease 1.4s; }
.card.in .sp-face { opacity: 1; }
.cols { gap: 3.2rem; padding-right: 14px; }
.cols-labels { gap: 3.2rem; }
.col__val { margin-bottom: 14px; }

/* "Speaks your customers' language": greeting cycles EN -> BM -> 中文, chips light up in sync */
.mini--lang { display: flex; flex-direction: column; justify-content: center; gap: .9rem; }
.lang-word { position: relative; display: block; height: 2.6rem; overflow: hidden; }
.lang-word i {
  position: absolute; left: 0; top: 0; font: 800 clamp(1.25rem, 1.85vw, 1.7rem)/1.4 var(--f-display); font-style: normal; letter-spacing: -.02em;
  white-space: nowrap; opacity: 0; transform: translateY(100%); animation: langWord 7.5s var(--ease) infinite;
}
html[lang^="zh"] .lang-word i, .lang-word i:nth-child(3) { font-family: "Noto Sans SC", var(--f-display); font-weight: 900; }
.lang-word i:nth-child(2) { animation-delay: 2.5s; }
.lang-word i:nth-child(3) { animation-delay: 5s; }
@keyframes langWord {
  0% { opacity: 0; transform: translateY(100%); }
  6%, 30% { opacity: 1; transform: none; }
  36%, 100% { opacity: 0; transform: translateY(-100%); }
}
.lang-chips { display: flex; gap: .4rem; }
.lang-chips b {
  font: 600 .74rem/1 var(--f-mono); padding: .38rem .6rem; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted);
  animation: langChip 7.5s ease infinite;
}
.lang-chips b:nth-child(2) { animation-delay: 2.5s; }
.lang-chips b:nth-child(3) { animation-delay: 5s; }
@keyframes langChip {
  0%, 2% { background: transparent; color: var(--muted); border-color: var(--line-2); }
  6%, 30% { background: var(--amber); color: var(--ink); border-color: var(--amber); }
  36%, 100% { background: transparent; color: var(--muted); border-color: var(--line-2); }
}
@media (prefers-reduced-motion: reduce) { .lang-word i:first-child { opacity: 1; transform: none; } }

/* =========================================================
   LEGAL PAGE (Privacy, Payment & Refund Policy)
   ========================================================= */
.legal-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(8rem, 14vw, 11rem) 0 clamp(2.5rem, 5vw, 4rem); }
.legal-hero__glow {
  position: absolute; z-index: -1; width: 60vmax; height: 60vmax; right: -18vmax; top: -30vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(248,181,22,.4), rgba(248,181,22,.12) 40%, transparent 65%); filter: blur(30px);
}
.legal-hero__title { margin: 0; font: 800 clamp(2.6rem, 6.4vw, 6rem)/.98 var(--f-display); letter-spacing: -.04em; }
html[lang^="zh"] .legal-hero__title { letter-spacing: 0; line-height: 1.15; font-weight: 900; }
.legal-hero__lede { max-width: 38rem; margin: 1.6rem 0 0; font-size: 1.1rem; color: var(--ink-2); }
.legal-chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.8rem 0 0; padding: 0; }
.legal-chips li { font: 500 .78rem/1 var(--f-mono); padding: .55rem .8rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.legal-chips li:first-child { background: var(--amber); border-color: var(--amber); }
.legal-notice { margin: 1.2rem 0 0; font-size: .88rem; color: var(--muted); }

.legal { display: grid; grid-template-columns: 240px 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; padding-bottom: var(--sec); }
.toc { position: sticky; top: 6.5rem; }
.toc__label { margin: 0 0 .8rem; font: 600 .74rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.toc a { display: flex; gap: .7rem; align-items: center; padding: .7rem .9rem; border-radius: 12px; font-weight: 600; color: var(--ink-2); transition: background .25s, color .25s; }
.toc a .mono { color: var(--muted); }
.toc a:hover { background: var(--surface); }
.toc a.on { background: var(--ink); color: #fff; }
.toc a.on .mono { color: var(--amber); }

.legal__body { display: grid; gap: 1.2rem; min-width: 0; }
.legal-card {
  scroll-margin-top: 6.5rem; padding: clamp(1.6rem, 3.5vw, 2.8rem); border-radius: 26px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.legal-card__head { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.4rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.legal-card__no { font-size: .85rem; color: var(--ink); background: var(--amber); padding: .2rem .5rem; border-radius: 6px; }
.legal-card h2 { margin: 0; font: 700 clamp(1.6rem, 3vw, 2.3rem)/1.1 var(--f-display); letter-spacing: -.02em; }
.legal-card h3 { margin: 2rem 0 .6rem; font: 700 1.15rem/1.3 var(--f-display); letter-spacing: -.01em; }
.legal-card p { margin: 0 0 .9rem; color: var(--ink-2); max-width: 72ch; }
.legal-card ul { margin: .2rem 0 1rem; padding: 0; list-style: none; display: grid; gap: .55rem; max-width: 72ch; }
.legal-card li { position: relative; padding-left: 1.6rem; color: var(--ink-2); }
.legal-card li::before { content: ""; position: absolute; left: .2rem; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--amber); transform: rotate(45deg); }
html[lang^="zh"] .legal-card h2, html[lang^="zh"] .legal-card h3 { letter-spacing: 0; }
.inline-link { padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; text-decoration: underline 2px var(--amber); text-underline-offset: 3px; }

.legal-contact {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding: clamp(1.8rem, 4vw, 3rem); border-radius: 26px;
  background: var(--ink); color: #fff; position: relative; overflow: hidden;
}
.legal-contact::before { content: ""; position: absolute; width: 360px; height: 360px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(248,181,22,.4), transparent 65%); }
.legal-contact h2 { margin: 0 0 .5rem; font: 700 clamp(1.6rem, 3vw, 2.2rem)/1.1 var(--f-display); letter-spacing: -.02em; }
.legal-contact p { margin: 0 0 1.4rem; color: rgba(255,255,255,.7); }
.legal-contact .btn--ink { background: var(--amber); color: var(--ink); }
.legal-contact .btn--ink:hover { background: #fff; }
.legal-contact dl { margin: 0; display: grid; gap: 1.1rem; position: relative; }
.legal-contact dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.5); margin-bottom: .3rem; }
.legal-contact dd { margin: 0; color: rgba(255,255,255,.9); }
.legal-contact dd a { font: 600 1.2rem var(--f-display); color: #fff; }
.legal-contact dd a:hover { color: var(--amber); }
.page-legal .wa-float { transform: none; opacity: 1; pointer-events: auto; }

@media (max-width: 900px) {
  .legal { grid-template-columns: 1fr; }
  .toc { position: static; }
  .toc ol { grid-template-columns: repeat(3, 1fr); }
  .toc a { justify-content: center; padding: .65rem .5rem; font-size: .9rem; background: var(--surface); border: 1px solid var(--line); }
  .legal-contact { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .toc ol { grid-template-columns: 1fr; }
  .toc a { justify-content: flex-start; }
}

/* =========================================================
   3D HERO
   ========================================================= */
/* receding grid floor that slowly moves toward you */
.hero__grid {
  inset: auto -30% 0 -30%; height: 78%;
  background-size: 84px 84px;
  transform: perspective(520px) rotateX(58deg); transform-origin: 50% 100%;
  mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,.6) 45%, transparent 90%);
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,.6) 45%, transparent 90%);
  opacity: .75; animation: gridMove 5s linear infinite;
}
@keyframes gridMove { to { background-position: 0 84px, 84px 0; } }

/* headline: soft stepped extrusion + gentle tilt toward the pointer */
.hero__title {
  transform: perspective(1400px) rotateX(var(--hx, 0deg)) rotateY(var(--hy, 0deg));
  transform-origin: 30% 50%; transition: transform .6s var(--ease);
}
.hero__title .line { padding: 0 .12em .14em 0; }
.hero.is-ready .hero__title .line { overflow: visible; }
.hero__title .reveal-up {
  text-shadow: 1px 1px 0 #d9d2c4, 2px 2px 0 #d1c9ba, 3px 3px 0 #c9c1b1, 4px 4px 0 #c1b8a7, 5px 5px 0 #b9b09e, 6px 6px 0 #b1a795,
               10px 16px 22px rgba(20,20,20,.16);
}
.hero__title .rotator {
  text-shadow: 1px 1px 0 #f0aa08, 2px 2px 0 #eaa406, 3px 3px 0 #e49f05, 4px 4px 0 #de9a05, 5px 5px 0 #d89504, 6px 6px 0 #d29004,
               10px 16px 22px rgba(233,162,6,.3);
}
html[lang^="zh"] .hero__title .reveal-up { text-shadow: 1px 1px 0 #d9d2c4, 2px 2px 0 #cdc5b5, 3px 3px 0 #c1b8a7, 4px 4px 0 #b5ab99, 8px 12px 18px rgba(20,20,20,.15); }
html[lang^="zh"] .hero__title .rotator { text-shadow: 1px 1px 0 #ecA606, 2px 2px 0 #e49f05, 3px 3px 0 #dc9805, 4px 4px 0 #d49204, 8px 12px 18px rgba(233,162,6,.3); }
.hero__title .caret--bar { box-shadow: 3px 3px 0 #d89504; }

/* glossy 3D sun with a tilted orbit ring */
.shape--sun {
  background: radial-gradient(circle at 32% 28%, #fff4c9 0%, #ffd76e 18%, #f8b516 55%, #eaa406 100%);
  box-shadow: inset -12px -16px 26px rgba(214,140,0,.45), inset 8px 10px 18px rgba(255,255,255,.35), 0 30px 50px -18px rgba(248,181,22,.75);
}
.shape--sun::before { /* soft contact shadow below the floating ball */
  content: ""; position: absolute; left: 15%; right: 15%; bottom: -38px; height: 14px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(20,20,20,.18), transparent); filter: blur(3px);
}
.shape--sun { right: 3.5%; top: 10%; width: 110px; height: 110px; }
.shape--ring {
  width: 200px; height: 200px; right: calc(3.5% - 45px); top: calc(10% - 45px);
  border: 2px solid rgba(20,20,20,.16); border-top-color: rgba(248,181,22,.85); border-left-color: rgba(248,181,22,.5);
  animation: none; transform: translate(var(--px, 0), var(--py, 0)) rotateX(72deg) rotateZ(-22deg);
}

/* raised capsule */
.shape--pill {
  background: linear-gradient(180deg, #3a3a3a, #141414);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.18), 0 5px 0 #000, 0 16px 22px -8px rgba(20,20,20,.5);
}

/* code window in perspective, with a visible edge for thickness */
.code-card {
  transform: perspective(1000px) rotateY(var(--cy, -16deg)) rotateX(var(--cx, 7deg)) rotateZ(1.5deg);
  transition: transform .6s var(--ease);
  animation: float3d 7s ease-in-out infinite;
  box-shadow: 1px 1px 0 #2b2b2b, 2px 2px 0 #262626, 3px 3px 0 #222, 4px 4px 0 #1e1e1e, 5px 5px 0 #1a1a1a, 6px 6px 0 #161616,
              26px 40px 50px -20px rgba(20,20,20,.5);
}
@keyframes float3d { 50% { translate: 0 -12px; } }

/* badge as a 3D coin */
.badge { box-shadow: 0 5px 0 #e3ddd0, 0 6px 0 rgba(20,20,20,.12), 0 18px 30px -10px rgba(20,20,20,.35); }

/* main CTA: raised key with a solid edge */
.hero .btn--ink { box-shadow: 0 4px 0 #000, 0 12px 22px -10px rgba(20,20,20,.55); }
.hero .btn--ghost { background: var(--surface); box-shadow: 0 4px 0 #e3ddd0, 0 10px 18px -10px rgba(20,20,20,.25); }

@media (max-width: 640px) {
  .hero__grid { height: 60%; }
  .hero__title .reveal-up { text-shadow: 1px 1px 0 #d9d2c4, 2px 2px 0 #c9c1b1, 3px 3px 0 #b9b09e, 6px 10px 14px rgba(20,20,20,.14); }
  .hero__title .rotator { text-shadow: 1px 1px 0 #eaa406, 2px 2px 0 #de9a05, 3px 3px 0 #d29004, 6px 10px 14px rgba(233,162,6,.28); }
  .shape--sun { width: 74px; height: 74px; right: 6%; top: 11%; }
  .shape--ring { width: 140px; height: 140px; right: calc(6% - 33px); top: calc(11% - 33px); }
}
@media (prefers-reduced-motion: reduce) { .hero__grid { animation: none; } }

/* ---------- phones: the sun sits beside "We plan," instead of floating at the top ---------- */
.hero__title { position: relative; }
.title-sun { display: none; }
@media (max-width: 640px) {
  .shape--sun, .shape--ring { display: none; }
  .title-sun {
    display: block; position: absolute; z-index: 1; right: 0; top: .05em; width: 58px; height: 58px; border-radius: 50%;
    background: radial-gradient(circle at 32% 28%, #fff4c9 0%, #ffd76e 18%, #f8b516 55%, #eaa406 100%);
    box-shadow: inset -8px -10px 16px rgba(214,140,0,.45), inset 5px 6px 12px rgba(255,255,255,.35), 0 16px 26px -12px rgba(248,181,22,.8);
    animation: bob 5s ease-in-out infinite;
  }
  .title-sun::after { /* tilted orbit ring */
    content: ""; position: absolute; left: -26px; right: -26px; top: 50%; height: 104px; margin-top: -52px; border-radius: 50%;
    border: 1.5px solid rgba(20,20,20,.16); border-top-color: rgba(248,181,22,.85); border-left-color: rgba(248,181,22,.5);
    transform: rotateX(72deg) rotateZ(-20deg);
  }
  /* Chinese first line is full-width, so the sun sits beside the shorter second line */
  html[lang^="zh"] .title-sun { top: 1.8em; }
}
@media (max-width: 400px) {
  .title-sun { width: 48px; height: 48px; right: -2px; top: .12em; }
  .title-sun::after { left: -20px; right: -20px; height: 86px; margin-top: -43px; }
}

/* phones: <setcode> badge on its own line, tagline on one line below it */
@media (max-width: 640px) {
  .hero .eyebrow { flex-direction: column; align-items: flex-start; gap: .65rem; letter-spacing: .09em; font-size: .74rem; }
  /* smaller headline on phones */
  .hero__title { font-size: clamp(1.85rem, 8.8vw, 2.3rem); }
  html[lang^="zh"] .hero__title { font-size: clamp(1.8rem, 8.4vw, 2.2rem); }
  .title-sun { width: 46px; height: 46px; top: .2em; }
  .title-sun::after { left: -18px; right: -18px; height: 80px; margin-top: -40px; }
  html[lang^="zh"] .title-sun { top: .15em; }
}


/* desktop/tablet: keep the floating pill clear of the headline */
@media (max-width: 1280px) { .shape--pill { display: none; } }
.shape--pill { right: 9%; top: 58%; }
/* desktop: keep the "+" and dot grid off the headline */
.shape--dots { left: 47%; top: 70%; }
.shape--plus { right: 24%; top: 11%; }
@media (max-width: 1536px) { .shape--pill { display: none; } }
@media (min-width: 641px) { .shape--sun { top: max(10%, 100px); } }

/* ============ BAHASA MALAYSIA (ms) — longer words than EN ============ */
.nav__links a { white-space: nowrap; }
@media (max-width: 1200px) { html[lang^="ms"] .nav__links { gap: 1.25rem; font-size: .88rem; } }
html[lang^="ms"] .step h3 { font-size: clamp(1.6rem, 3.3vw, 2rem); }
@media (max-width: 640px) { html[lang^="ms"] .hero__title { font-size: clamp(1.3rem, 6.8vw, 1.9rem); } }
/* BM phones: line 1–2 are full-width, so the sun sits beside the yellow word and bobs downward (never into line 2) */
@keyframes bobDown { 50% { translate: 0 8px; } }
@media (max-width: 640px) {
  html[lang^="ms"] .title-sun { width: 40px; height: 40px; top: 2.45em; animation-name: bobDown; }
  html[lang^="ms"] .title-sun::after { left: -16px; right: -16px; height: 70px; margin-top: -35px; }
}
/* 3-language switcher (EN / BM / 中文): keep logo, switcher and menu button on one row on small phones */
@media (max-width: 400px) {
  .nav { gap: .45rem; }
  .lang a { padding: .45rem .5rem; }
  .nav__burger { margin-left: .3rem; }
}
@media (max-width: 350px) {
  .nav__logo img { height: 22px; }
  .lang a { padding: .4rem .4rem; }
}

/* ============ PROMISES (under the CTA button) ============ */
.promises { list-style: none; margin: clamp(2.2rem, 4vw, 3rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.promise { display: flex; gap: .9rem; align-items: flex-start; padding: 1.15rem 1.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.promise:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(20,20,20,.05), 0 16px 30px -16px rgba(20,20,20,.25); }
.promise__ic { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--ink);
  background: linear-gradient(145deg, #ffd05a, var(--amber)); box-shadow: 0 3px 0 #d89504, 0 8px 14px -6px rgba(233,162,6,.55); }
.promise__ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.promise b { display: block; margin: .1rem 0 .3rem; font: 700 1rem/1.25 var(--f-display); letter-spacing: -.01em; }
.promise span { display: block; font-size: .87rem; line-height: 1.45; color: var(--muted); }
html[lang^="zh"] .promise b { letter-spacing: 0; }
@media (max-width: 1100px) { .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .promises { grid-template-columns: 1fr; gap: .7rem; } .promise { padding: 1rem; } }

/* header logo: black logo straight on the page, no pill behind it */
.nav__logo { padding: 0; background: none; border: 0; box-shadow: none; border-radius: 0; }
.nav__logo img { height: 34px; }
@media (max-width: 420px) { .nav__logo { padding: 0; } .nav__logo img { height: 28px; } }
@media (max-width: 350px) { .nav__logo img { height: 24px; } }

/* WhatsApp button: smaller and further from the screen edge (incl. iPhone safe areas) */
.wa-float {
  width: 44px; height: 44px;
  right: calc(clamp(22px, 3vw, 32px) + env(safe-area-inset-right, 0px));
  bottom: calc(clamp(22px, 3vw, 32px) + env(safe-area-inset-bottom, 0px));
}
.wa-float svg { width: 22px; height: 22px; }

/* promise cards: the description style (.promise span) must not hit the icon box, or the icon loses its centring */
.promise .promise__ic { display: grid; place-items: center; font-size: 0; line-height: 0; color: var(--ink); }
.promise .promise__ic svg { display: block; }

/* ============ MOBILE TAB BAR (phones + tablets, where the top menu is behind the burger) ============ */
.tabbar { display: none; }
@media (max-width: 900px) {
  :root { --tabbar-h: 62px; --safe-b: env(safe-area-inset-bottom, 0px); }
  .tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 39; /* under the burger menu (40), WhatsApp (45), cookie banner (70) */
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
    height: calc(var(--tabbar-h) + var(--safe-b));
    padding: 0 max(6px, env(safe-area-inset-right, 0px)) var(--safe-b) max(6px, env(safe-area-inset-left, 0px));
    background: rgba(20,20,20,.95); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255,255,255,.08); box-shadow: 0 -12px 30px -14px rgba(20,20,20,.45);
  }
  .tabbar a {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-width: 0;
    color: rgba(255,255,255,.6); font: 600 .7rem/1.1 var(--f-body); text-align: center; -webkit-tap-highlight-color: transparent;
    transition: color .25s;
  }
  .tabbar a::before { /* active indicator line on top of the tab */
    content: ""; position: absolute; top: 0; left: 50%; width: 34px; height: 3px; border-radius: 0 0 3px 3px; background: var(--amber);
    transform: translateX(-50%) scaleX(0); transition: transform .3s var(--ease);
  }
  .tabbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
  .tabbar__t { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tabbar a:active svg { transform: scale(.9); }
  .tabbar a[aria-current="true"] { color: var(--amber); }
  .tabbar a[aria-current="true"]::before { transform: translateX(-50%) scaleX(1); }
  .tabbar a[aria-current="true"] svg { transform: translateY(-1px); }
  html[lang^="zh"] .tabbar a { font-size: .74rem; }

  /* keep everything else clear of the bar */
  .footer { padding-bottom: calc(var(--tabbar-h) + var(--safe-b)); }
  .wa-float, .page-legal .wa-float { display: none; } /* the Contact tab replaces the floating WhatsApp button */
  .ck-banner { bottom: calc(var(--tabbar-h) + var(--safe-b) + 12px); }
}
