/* น้ำมันถูก — public intro page. Modelled on AAAi's intro page (white base, soft tinted gradients + dot grid, numbered feature sections, phone mockups, 3-step tabs, trust cards, FAQ, sticky mobile bar, rounded pill buttons).
   Only the main colour differs: this app's teal #0c635c. No external libraries/CDNs. Motion = transform/opacity only; prefers-reduced-motion switches everything off (last block). */
@font-face { font-family:'IBM Plex Sans'; font-display:swap; font-weight:400; src:url(fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2"); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2190-2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:'IBM Plex Sans'; font-display:swap; font-weight:500; src:url(fonts/ibm-plex-sans-latin-500-normal.woff2) format("woff2"); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2190-2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:'IBM Plex Sans'; font-display:swap; font-weight:600; src:url(fonts/ibm-plex-sans-latin-600-normal.woff2) format("woff2"); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2190-2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:'IBM Plex Sans'; font-display:swap; font-weight:700; src:url(fonts/ibm-plex-sans-latin-700-normal.woff2) format("woff2"); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2190-2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:'IBM Plex Sans Thai'; font-display:swap; font-weight:400; src:url(fonts/ibm-plex-sans-thai-thai-400-normal.woff2) format("woff2"); unicode-range:U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC; }
@font-face { font-family:'IBM Plex Sans Thai'; font-display:swap; font-weight:500; src:url(fonts/ibm-plex-sans-thai-thai-500-normal.woff2) format("woff2"); unicode-range:U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC; }
@font-face { font-family:'IBM Plex Sans Thai'; font-display:swap; font-weight:600; src:url(fonts/ibm-plex-sans-thai-thai-600-normal.woff2) format("woff2"); unicode-range:U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC; }
@font-face { font-family:'IBM Plex Sans Thai'; font-display:swap; font-weight:700; src:url(fonts/ibm-plex-sans-thai-thai-700-normal.woff2) format("woff2"); unicode-range:U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC; }
:root { --acc:#0c635c; --acc-d:#0a5651; --acc2:#14b8a6; --acc3:#f0705f; --amber:#e0a100; --ink:#111; --mut:#55555c; --line:#e3e3e8; --soft:#f4f4f6; --tint:#e6f4f2; --mint:#d3efea; --hd:60px;
  --sh:0 1px 2px rgba(17,17,17,.04), 0 8px 24px -12px rgba(17,17,17,.14); --sh-f:0 18px 40px -16px rgba(12,99,92,.4), 0 0 0 1px rgba(17,17,17,.05); --ease:cubic-bezier(.22,1,.36,1); --std:cubic-bezier(.4,0,.2,1); --spring:cubic-bezier(.22,1,.36,1); }
@supports (animation-timing-function:linear(0,1)) { :root { --spring:linear(0,.075,.228,.391,.537,.657,.751,.822,.874,.912,.939,.958,.971,.98,.987,.991,.994,.996,.997,.998,1); } }   /* shared motion standard: critically damped spring, no overshoot */
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:calc(var(--hd) + 12px); -webkit-text-size-adjust:100%; }
body { margin:0; background:#fff; color:var(--ink); font-family:"IBM Plex Sans","IBM Plex Sans Thai","Noto Sans KR","Noto Sans SC","Noto Sans Devanagari",system-ui,-apple-system,"Segoe UI",sans-serif; font-size:18px; line-height:1.7; overflow-x:hidden; -webkit-tap-highlight-color:transparent; }
html[lang=th] body { font-family:"IBM Plex Sans Thai","IBM Plex Sans",system-ui,sans-serif; line-height:1.75; }
html[lang=ko] body { font-family:"IBM Plex Sans","Noto Sans KR","Malgun Gothic","Apple SD Gothic Neo",system-ui,sans-serif; letter-spacing:-.01em; }
html[lang=ko] body { word-break:keep-all; overflow-wrap:break-word; }   /* Korean: wrap only at spaces, never inside a word */
html[lang=zh] body { font-family:"IBM Plex Sans","Noto Sans SC","PingFang SC","Microsoft YaHei",system-ui,sans-serif; }
html[lang=hi] body { font-family:"IBM Plex Sans","Noto Sans Devanagari","Nirmala UI",system-ui,sans-serif; line-height:1.8; }
img { max-width:100%; height:auto; display:block; }
a { color:var(--acc); }
button { font:inherit; }
.wrap { width:100%; max-width:1080px; margin:0 auto; padding:0 20px; } .wrap.narrow { max-width:760px; }
.sr { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); border:0; list-style:none; }
.skip { position:absolute; left:12px; top:-60px; z-index:100; background:var(--ink); color:#fff; padding:8px 14px; border-radius:12px; text-decoration:none; } .skip:focus { top:8px; }
:focus-visible { outline:3px solid var(--acc); outline-offset:2px; border-radius:8px; }

/* header + scroll progress */
.hd { position:sticky; top:0; z-index:50; background:rgba(255,255,255,.86); -webkit-backdrop-filter:saturate(1.6) blur(14px); backdrop-filter:saturate(1.6) blur(14px); border-bottom:1px solid transparent; transition:border-color .2s, box-shadow .2s; }
.hd.scrolled { border-bottom-color:var(--line); box-shadow:0 8px 24px -20px rgba(17,17,17,.5); }
.hd-in { height:var(--hd); max-width:1080px; margin:0 auto; padding:0 20px; display:flex; align-items:center; justify-content:space-between; gap:12px; }
.logo { display:flex; align-items:center; gap:8px; color:var(--ink); text-decoration:none; font-weight:700; font-size:21px; letter-spacing:-.01em; }
.logo-drop { width:30px; height:30px; flex:none; transition:transform .5s var(--spring); } .logo:hover .logo-drop { transform:rotate(-12deg) scale(1.12); }
.hd-r { display:flex; align-items:center; gap:10px; }
.lang { display:flex; align-items:center; gap:4px; height:44px; padding:0 8px 0 12px; border-radius:999px; background:var(--soft); color:var(--ink); transition:background-color .2s, transform .15s var(--ease); }
.lang:hover { background:var(--tint); } .lang:active { transform:scale(.97); }
.lang svg { width:20px; height:20px; flex:none; }
.lang select { appearance:none; -webkit-appearance:none; border:0; background:transparent; color:inherit; font:inherit; font-size:16px; font-weight:600; padding:8px 6px; max-width:120px; cursor:pointer; }
.progress { position:absolute; left:0; right:0; bottom:-1px; height:4px; transform-origin:0 50%; transform:scaleX(0); background:linear-gradient(90deg,var(--acc),var(--acc2) 70%,#5eead4); border-radius:0 4px 4px 0; will-change:transform; }

/* buttons (soft, pill, press + ripple) */
.btn { position:relative; overflow:hidden; display:inline-flex; align-items:center; justify-content:center; gap:8px; background:var(--acc); color:#fff; text-decoration:none; font-weight:700; border:0; border-radius:999px; padding:0 24px; height:56px; font-size:18px; cursor:pointer; box-shadow:0 10px 20px -12px rgba(12,99,92,.9); transition:transform .18s var(--ease), box-shadow .2s, background-color .2s; white-space:nowrap; }
.btn:hover { background:var(--acc-d); box-shadow:0 14px 26px -12px rgba(12,99,92,.9); transform:translateY(-2px); }
.btn:active { transform:scale(.97); box-shadow:0 4px 10px -8px rgba(12,99,92,.9); }
.btn.lg { height:60px; padding:0 30px; font-size:19px; }
.btn.ghost { background:#fff; color:var(--acc); box-shadow:0 0 0 1.5px color-mix(in srgb, var(--acc) 35%, var(--line)), var(--sh); }
.btn.ghost:hover { background:var(--tint); }
.rip { position:absolute; border-radius:50%; width:12px; height:12px; margin:-6px 0 0 -6px; background:currentColor; opacity:.18; pointer-events:none; transform:scale(0); animation:rip .8s var(--ease) forwards; }
@keyframes rip { 60% { opacity:.08; } to { transform:scale(26); opacity:0; } }
.gp { position:relative; display:inline-flex; align-items:center; gap:10px; height:58px; padding:0 22px 0 16px; border-radius:16px; background:#111; color:#fff; text-decoration:none; box-shadow:0 10px 22px -12px rgba(17,17,17,.7); cursor:default; }
.gp > svg { width:28px; height:28px; flex:none; } .gp > span { display:flex; flex-direction:column; line-height:1.15; text-align:left; }
.gp small { font-size:12px; opacity:.85; } .gp b { font-size:20px; font-weight:600; letter-spacing:-.01em; }
.gp em { position:absolute; top:-11px; right:-8px; font-style:normal; font-size:13px; font-weight:700; background:var(--acc3); color:#fff; border-radius:999px; padding:2px 12px; line-height:1.6; box-shadow:0 4px 10px -4px rgba(240,112,95,.8); animation:badge 2.8s var(--ease) infinite; }
@keyframes badge { 0%,70%,100% { transform:none; } 78% { transform:translateY(-3px) rotate(-4deg); } 88% { transform:translateY(0) rotate(3deg); } }
.gp.sm { height:44px; padding:0 14px 0 10px; gap:7px; border-radius:12px; } .gp.sm > svg { width:22px; height:22px; } .gp.sm small { font-size:10.5px; } .gp.sm b { font-size:15px; }
.dl { display:flex; justify-content:center; margin:0 0 22px; } .dl .gp { height:64px; padding:0 28px 0 22px; border-radius:18px; } .dl .gp b { font-size:22px; }
.dl .gp:hover, .hero .gp:hover { animation:wobble .6s var(--ease); }
@keyframes wobble { 30% { transform:rotate(-1.5deg) scale(1.02); } 60% { transform:rotate(1deg) scale(1.02); } }

@media (max-width:859px) { .gp.sm { display:none; } }

/* hero: mint gradient + dot grid + drifting blobs + rising droplets */
.hero { position:relative; overflow:hidden; padding:34px 0 52px; background:linear-gradient(180deg,#eef9f7 0%,#fff 100%); isolation:isolate; }
.hero::before { content:""; position:absolute; inset:0; z-index:-1; background-image:radial-gradient(rgba(12,99,92,.2) 1.2px, transparent 1.4px); background-size:22px 22px; -webkit-mask-image:linear-gradient(180deg,#000 0%,rgba(0,0,0,.5) 55%,transparent 100%); mask-image:linear-gradient(180deg,#000 0%,rgba(0,0,0,.5) 55%,transparent 100%); animation:grid 24s linear infinite; }
@keyframes grid { to { background-position:22px 22px; } }
.blob { position:absolute; z-index:-1; border-radius:50%; filter:blur(8px); pointer-events:none; will-change:transform; }
.blob.b1 { width:560px; height:560px; right:-160px; top:-200px; background:radial-gradient(circle at 40% 40%, #b8ebe3 0%, rgba(184,235,227,0) 68%); animation:drift1 16s ease-in-out infinite alternate; }
.blob.b2 { width:520px; height:520px; left:-200px; bottom:-120px; background:radial-gradient(circle at 50% 50%, #fde3df 0%, rgba(253,227,223,0) 66%); animation:drift2 19s ease-in-out infinite alternate; }
@keyframes drift1 { from { transform:translate(0,0) scale(1); } to { transform:translate(-70px,50px) scale(1.12); } }
@keyframes drift2 { from { transform:translate(0,0) scale(1); } to { transform:translate(80px,-40px) scale(1.1); } }
.drops { position:absolute; inset:0; z-index:-1; pointer-events:none; overflow:hidden; }
.drops i { position:absolute; left:var(--x); bottom:-40px; width:22px; height:22px; border-radius:50% 0 50% 50%; background:linear-gradient(135deg,rgba(20,184,166,.5),rgba(12,99,92,.28)); transform:rotate(-45deg) scale(var(--s)); opacity:0; animation:rise var(--t) linear var(--dl) infinite; }
@keyframes rise { 0% { opacity:0; transform:translateY(0) rotate(-45deg) scale(var(--s)); } 12% { opacity:.65; } 85% { opacity:.35; } 100% { opacity:0; transform:translateY(-760px) rotate(-45deg) scale(var(--s)); } }
.hero-in { position:relative; display:grid; gap:34px; }
@keyframes ping { 0% { box-shadow:0 0 0 0 rgba(20,184,166,.55); } 80%,100% { box-shadow:0 0 0 10px rgba(20,184,166,0); } }
h1 { margin:0; font-size:clamp(46px, 14vw, 84px); line-height:1.12; font-weight:700; letter-spacing:-.02em; display:flex; flex-direction:column; align-items:flex-start; }
html[lang=th] h1 { line-height:1.3; }
.grad { white-space:nowrap; background:linear-gradient(95deg,#0c635c 0%,#14b8a6 50%,#0c635c 100%) 0 0 / 220% 100%; -webkit-background-clip:text; background-clip:text; color:transparent; -webkit-text-fill-color:transparent; padding-bottom:.06em; animation:sheen 7s ease-in-out infinite alternate; }
@keyframes sheen { to { background-position:100% 0; } }
.sub { margin:18px 0 0; font-size:clamp(21px,5.4vw,26px); font-weight:600; line-height:1.7; }
.lead { margin:14px 0 0; color:var(--mut); font-size:clamp(18px,4.4vw,20px); max-width:600px; text-wrap:pretty; }
.cta { display:flex; flex-wrap:wrap; gap:18px 14px; margin-top:26px; align-items:center; }
.note { margin:16px 0 0; color:var(--mut); font-size:16px; }
/* staggered hero entrance (plays on load, no scroll needed) */
.js .in-h { opacity:0; transform:translateY(24px); }
.js.ready .in-h { animation:heroIn .8s var(--ease) both; animation-delay:calc(var(--h,0) * 60ms + 80ms); }
@keyframes heroIn { from { opacity:0; transform:translateY(24px) scale(.985); } to { opacity:1; transform:none; } }

/* phone mockup: CSS only, floats, tilts with the pointer; floating info cards */
.phone-wrap { position:relative; width:min(100%, 270px); margin:0 auto; }
.phone-wrap.sm { width:min(100%, 250px); }
.float-a { animation:bob 6s ease-in-out infinite; } .float-a.slow { animation-duration:8s; }
@keyframes bob { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-12px); } }
.tilt { transform:perspective(900px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)); transition:transform .45s var(--ease); will-change:transform; }
.phone { position:relative; border-radius:42px; padding:9px; background:linear-gradient(145deg,#2a2a31,#0d0d10); box-shadow:var(--sh-f), 0 40px 80px -30px rgba(12,99,92,.5); }
.phone::before { content:""; position:absolute; top:14px; left:50%; width:10px; height:10px; margin-left:-5px; background:#0d0d10; border-radius:50%; z-index:3; box-shadow:0 0 0 2px rgba(255,255,255,.85); }
.phone-screen { position:relative; overflow:hidden; border-radius:34px; background:#fff; aspect-ratio:9/16; }
.phone-screen > img { width:100%; height:100%; object-fit:cover; object-position:top; }
.phone-screen.stack > img { position:absolute; inset:0; opacity:0; transform:scale(1.04); transition:opacity .6s var(--std), transform .8s var(--ease); } .phone-screen.stack > img.on { opacity:1; transform:none; }
.phone-screen::after { content:""; position:absolute; inset:0; background:linear-gradient(115deg,rgba(255,255,255,0) 40%,rgba(255,255,255,.35) 50%,rgba(255,255,255,0) 60%); transform:translateX(-120%); animation:glint 7s ease-in-out 2s infinite; pointer-events:none; }
@keyframes glint { 0%,70% { transform:translateX(-120%); } 100% { transform:translateX(120%); } }
.fl { position:absolute; z-index:4; display:flex; align-items:center; gap:10px; padding:10px 16px 10px 10px; background:#fff; border-radius:18px; box-shadow:0 14px 30px -14px rgba(17,17,17,.4), 0 0 0 1px var(--line); line-height:1.3; }
.fl strong { display:block; font-size:15px; } .fl small { color:var(--mut); font-size:14px; } .fl .big { font-size:22px; font-weight:700; color:var(--acc); }
.fi { display:grid; place-items:center; width:42px; height:42px; border-radius:14px; background:var(--tint); color:var(--acc); flex:none; } .fi svg { width:24px; height:24px; }
.fi.ok { background:#e3f6ea; color:#0a5a2a; } .fi.pin { background:#fdeeec; color:#a8321f; }
.f1 { left:-34px; top:14%; animation:bob 5s ease-in-out .3s infinite; } .f2 { right:-30px; top:46%; animation:bob 5.6s ease-in-out 1s infinite; } .f3 { left:-26px; bottom:11%; animation:bob 6.2s ease-in-out .6s infinite; }
.f2 .fi.ok svg { animation:tick 3.2s var(--ease) infinite; stroke-dasharray:30; } @keyframes tick { 0% { stroke-dashoffset:30; } 25%,100% { stroke-dashoffset:0; } }
.hero-vis .dots { margin-top:22px; }
.dots { display:flex; justify-content:center; gap:12px; }
.dots button { width:14px; height:14px; border-radius:999px; background:#c9d9d6; border:0; padding:0; cursor:pointer; position:relative; transition:width .35s var(--spring), background-color .25s; }
.dots button::after { content:""; position:absolute; inset:-14px -6px; }
.dots button.on { width:34px; background:var(--acc); }

/* stats strip with counters */
.stats { padding:30px 0; background:#fff; }
.stats-in { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
.stat { text-align:center; background:linear-gradient(180deg,#f4fbf9,#fff); border:1px solid var(--line); border-radius:22px; padding:18px 10px; box-shadow:var(--sh); transition:transform .25s var(--ease), box-shadow .25s; }
.stat:hover { transform:translateY(-4px); box-shadow:0 18px 30px -18px rgba(12,99,92,.45); }
.stat b { display:block; font-size:clamp(34px,9vw,46px); line-height:1.2; color:var(--acc); font-variant-numeric:tabular-nums; }
.stat > span { color:var(--mut); font-size:16px; }

/* chip marquee */
.mq { padding:14px 0 42px; } .mq-h { text-align:center; margin:0 0 18px; padding:0 20px; color:var(--mut); font-size:17px; font-weight:600; }
.mq-row { overflow:hidden; margin:10px 0; -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); }
.mq-track { display:flex; gap:12px; width:max-content; animation:mq 46s linear infinite; } .mq-row.rev .mq-track { animation-direction:reverse; animation-duration:52s; }
.mq-row:hover .mq-track { animation-play-state:paused; }
.mq-chip { flex:none; background:#fff; border:1px solid var(--line); border-radius:999px; padding:10px 22px; font-size:17px; font-weight:500; box-shadow:var(--sh); }
@keyframes mq { from { transform:translateX(0); } to { transform:translateX(-50%); } }

/* numbered feature sections */
.feat { padding:68px 0 60px; } .feat.alt { background:linear-gradient(180deg,#f4fbf9,#fff); }
.feat-in { display:grid; gap:44px; align-items:center; }
.sec-l { display:flex; align-items:center; gap:12px; margin:0 0 14px; color:var(--acc); font-weight:700; font-size:17px; }
.sec-l .n { letter-spacing:.04em; } .sec-l i { width:48px; height:2px; background:color-mix(in srgb, var(--acc) 45%, transparent); transform-origin:0 50%; transition:transform .8s var(--ease) .3s; }
.js .sec-l:not(.in) i { transform:scaleX(0); }
h2 { margin:0; font-size:clamp(30px, 8vw, 44px); line-height:1.3; font-weight:700; letter-spacing:-.02em; }
html[lang=th] h2 { line-height:1.45; } html[lang=hi] h2 { line-height:1.5; } html[lang=ko] h2 { letter-spacing:-.035em; }
.center { text-align:center; }
.desc { margin:16px 0 0; color:var(--mut); font-size:clamp(18px,4.4vw,20px); }
.check { list-style:none; margin:24px 0 0; padding:0; display:grid; gap:14px; }
.check li { position:relative; padding-left:48px; font-size:clamp(18px,4.4vw,19px); font-weight:500; display:flex; align-items:center; min-height:36px; }
.check li::before { content:""; position:absolute; left:0; top:50%; width:36px; height:36px; margin-top:-18px; border-radius:50%; background:var(--tint); }
.check li::after { content:""; position:absolute; left:12px; top:50%; width:12px; height:7px; margin-top:-6px; border-left:3px solid var(--acc); border-bottom:3px solid var(--acc); transform:rotate(-45deg); }
.js .check li { opacity:0; transform:translateX(-14px); transition:opacity .5s ease, transform .6s var(--ease); transition-delay:calc(.2s + var(--i,0) * 45ms); }
.js .check li::before { transform:scale(0); transition:transform .5s var(--spring); transition-delay:calc(.25s + var(--i,0) * 45ms); }
.js .check.in li { opacity:1; transform:none; } .js .check.in li::before { transform:none; }
.check li:nth-child(1) { --i:0; } .check li:nth-child(2) { --i:1; } .check li:nth-child(3) { --i:2; } .check li:nth-child(4) { --i:3; }
.feat-vis { padding:24px 0; position:relative; }
.gauge-card { position:relative; z-index:2; width:min(100%, 330px); margin:0 auto 28px; background:#fff; border-radius:26px; padding:18px 18px 16px; box-shadow:var(--sh-f); text-align:center; }
.g-t { margin:0 0 4px; font-weight:600; color:var(--mut); font-size:16px; }
.gauge { width:100%; max-width:260px; height:auto; overflow:visible; }
.gauge .arc { fill:none; stroke-width:16; stroke-linecap:round; stroke-dasharray:1; } .gauge .a1 { stroke:#2fa86a; } .gauge .a2 { stroke:#e0a100; } .gauge .a3 { stroke:#d4483a; }
.js .gauge .arc { stroke-dasharray:140; stroke-dashoffset:140; transition:stroke-dashoffset 1s var(--ease); } .js .feat-vis.in .gauge .arc { stroke-dashoffset:0; } .js .feat-vis.in .a2 { transition-delay:.25s; } .js .feat-vis.in .a3 { transition-delay:.5s; }
.needle { transform-origin:110px 112px; transform:rotate(-62deg); transition:transform 1s var(--spring); } .needle line { stroke:var(--ink); stroke-width:5; stroke-linecap:round; } .needle circle { fill:var(--ink); }
.g-chips { display:flex; justify-content:center; gap:8px; margin-top:6px; flex-wrap:wrap; }
.gc { display:inline-flex; align-items:center; gap:8px; min-height:44px; padding:0 14px; border-radius:999px; border:1.5px solid var(--line); background:#fff; color:var(--ink); font-weight:600; font-size:16px; cursor:pointer; position:relative; overflow:hidden; transition:transform .2s var(--spring), background-color .25s, border-color .25s; }
.gc i { width:12px; height:12px; border-radius:50%; background:var(--c); } .gc.ok { --c:#2fa86a; } .gc.low { --c:#e0a100; } .gc.out { --c:#d4483a; }
.gc:active { transform:scale(.95); } .gc.on { transform:scale(1.06); border-color:var(--c); background:color-mix(in srgb, var(--c) 12%, #fff); }
.sm2 { margin-top:0; }

/* "everything in one app" cards */
.more { padding:72px 0; background:radial-gradient(800px 420px at 50% 0%, #e9f7f4 0%, rgba(233,247,244,0) 70%), #fff; }
.steps-h { text-align:center; margin-bottom:32px; } .steps-h p { margin:12px 0 0; color:var(--mut); font-size:clamp(18px,4.4vw,20px); }
.mgrid { display:grid; gap:14px; }
.mcard, .tcard { background:#fff; border-radius:22px; padding:22px; box-shadow:var(--sh), 0 0 0 1px var(--line); transition:transform .3s var(--ease), box-shadow .3s; }
.mcard:hover, .tcard:hover { transform:translateY(-5px); box-shadow:0 22px 36px -20px rgba(12,99,92,.45), 0 0 0 1px color-mix(in srgb, var(--acc) 25%, var(--line)); }
.mcard:active, .tcard:active { transform:scale(.985); }
.ti { display:grid; place-items:center; width:52px; height:52px; border-radius:16px; background:var(--tint); color:var(--acc); transition:transform .4s var(--spring), background-color .3s, color .3s; } .ti svg { width:28px; height:28px; overflow:visible; }
.mcard:hover .ti, .tcard:hover .ti { transform:rotate(-8deg) scale(1.1); background:var(--acc); color:#fff; }
.mcard h3, .tcard h3 { margin:14px 0 6px; font-size:21px; line-height:1.45; } .mcard p, .tcard p { margin:0; color:var(--mut); font-size:17px; }
.mcard .pop { transform-origin:50% 60%; } .mcard:hover .pop { animation:heart .6s var(--spring); } @keyframes heart { 0% { transform:scale(1); } 40% { transform:scale(1.2); } 100% { transform:scale(1); } }
.mcard:hover .ring { transform-origin:12px 5px; animation:ring .7s ease; } @keyframes ring { 20% { transform:rotate(14deg); } 40% { transform:rotate(-12deg); } 60% { transform:rotate(8deg); } 80% { transform:rotate(-4deg); } }
.mcard .wr { stroke-dasharray:30; } .mcard:hover .wr { animation:write .7s var(--ease); } @keyframes write { from { stroke-dashoffset:30; } to { stroke-dashoffset:0; } }

/* 3-step tabs + progress bars */
.steps { padding:72px 0; background:linear-gradient(180deg,#f4fbf9,#fff); }
.tabs { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; max-width:640px; margin:0 auto; }
.tab { display:flex; flex-direction:column; align-items:center; gap:10px; padding:0; border:0; background:none; cursor:pointer; color:var(--mut); font-weight:600; font-size:clamp(16px,4vw,18px); min-height:56px; }
.tab .tile { width:60px; height:60px; border-radius:20px; background:#fff; border:1px solid var(--line); display:grid; place-items:center; box-shadow:var(--sh); transition:background-color .25s, color .25s, transform .35s var(--spring), box-shadow .25s; } .tab .tile svg { width:28px; height:28px; }
.tab:active .tile { transform:scale(.92); }
.tab.on { color:var(--ink); } .tab.on .tile { background:var(--acc); color:#fff; border-color:var(--acc); transform:translateY(-4px) scale(1.04); box-shadow:0 14px 24px -12px rgba(12,99,92,.8); }
.tab .bar { display:block; width:100%; height:5px; border-radius:5px; background:var(--line); overflow:hidden; }
.tab .bar b { display:block; height:100%; width:100%; background:var(--acc); border-radius:5px; transform:scaleX(0); transform-origin:0 50%; }
.tab.done .bar b { transform:scaleX(1); } .tab.on .bar b { animation:fill var(--dur,5.5s) linear forwards; } .tabs.manual .tab.on .bar b { animation:none; transform:scaleX(1); }
@keyframes fill { from { transform:scaleX(0); } to { transform:scaleX(1); } }
.panel { display:grid; gap:28px; align-items:center; margin-top:38px; max-width:860px; margin-left:auto; margin-right:auto; }
.panel-text { text-align:center; } .stepno { display:inline-grid; place-items:center; width:40px; height:40px; border-radius:50%; background:var(--tint); color:var(--acc); font-weight:700; font-size:19px; }
.panel h3 { margin:14px 0 8px; font-size:clamp(24px,6vw,30px); line-height:1.45; } .panel p { margin:0; color:var(--mut); font-size:clamp(18px,4.4vw,20px); }
.panel-text.sw { animation:swap .4s var(--ease); } @keyframes swap { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:none; } }
.panel-vis .phone-wrap { width:min(100%, 240px); }

/* trust cards */
.trust { padding:72px 0; } .trust h2 { margin-bottom:30px; }
.cards { display:grid; gap:14px; }
.disc { text-align:center; color:var(--mut); font-size:16px; margin:26px 0 0; }

/* FAQ */
.faq { padding:72px 0; background:linear-gradient(180deg,#f4fbf9,#fff); } .faq h2 { text-align:center; margin-bottom:28px; }
.qa details { border-bottom:1px solid var(--line); }
.qa summary { list-style:none; cursor:pointer; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:22px 2px; min-height:60px; font-size:clamp(19px,4.8vw,21px); font-weight:600; line-height:1.5; transition:color .2s, padding-left .25s var(--ease); }
.qa summary:hover { color:var(--acc); padding-left:6px; }
.qa summary::-webkit-details-marker { display:none; }
.qa summary::after { content:""; flex:none; width:12px; height:12px; border-right:3px solid var(--mut); border-bottom:3px solid var(--mut); transform:rotate(45deg); transition:transform .35s var(--spring); margin-right:4px; }
.qa details[open] summary::after { transform:rotate(-135deg); } .qa details[open] summary { color:var(--acc); }
.qa details p { margin:0 0 22px; color:var(--mut); font-size:18px; animation:swap .4s var(--ease); }

/* final CTA + footer */
.final { position:relative; overflow:hidden; padding:72px 0; text-align:center; background:radial-gradient(700px 360px at 50% 100%, #cfeee9 0%, rgba(207,238,233,0) 70%), linear-gradient(180deg,#fff,#eef9f7); }
.final p { margin:14px 0 26px; color:var(--mut); font-size:clamp(18px,4.4vw,20px); }
.final-drop { display:inline-block; margin-bottom:6px; } .final-drop svg { width:72px; height:72px; animation:dropFill 3.4s var(--ease) infinite; } @keyframes dropFill { 0%,100% { transform:translateY(0) scale(1); } 45% { transform:translateY(-10px) scale(1.06,.96); } 60% { transform:translateY(0) scale(.96,1.05); } }

.totop { position:fixed; right:max(16px, env(safe-area-inset-right)); bottom:max(18px, env(safe-area-inset-bottom)); z-index:40; width:52px; height:52px; border-radius:50%; border:0; background:#fff; color:var(--ink); display:grid; place-items:center; box-shadow:0 10px 24px -8px rgba(17,17,17,.3), 0 0 0 1px var(--line); cursor:pointer; opacity:0; transform:translateY(12px) scale(.9); pointer-events:none; transition:opacity .25s, transform .3s var(--spring); }
.totop.show { opacity:1; transform:none; pointer-events:auto; } .totop svg { width:26px; height:26px; } .totop:active { transform:scale(.92); } .totop[hidden] { display:none; }

/* scroll reveal (only hidden when JS is on) + variants; language switch crossfade */
.js .rv { opacity:0; transform:translateY(28px); transition:opacity .6s var(--std), transform .8s var(--ease); transition-delay:var(--d,0s); will-change:opacity, transform; }
.js .rv.in { will-change:auto; }
.js .rv.z { transform:translateY(28px) scale(.94); }
.js .rv.in { opacity:1; transform:none; }
.js main, .js footer { transition:opacity .22s var(--std); } .js.lsw main, .js.lsw footer, .js.lsw #stick { opacity:0; }

@media (min-width:600px) { .stats-in { grid-template-columns:repeat(4,1fr); } .mgrid { grid-template-columns:repeat(2,1fr); } .cards { grid-template-columns:repeat(2,1fr); } }
@media (min-width:860px) {
  .hero { padding:64px 0 88px; } .hero-in { grid-template-columns:1.1fr .9fr; align-items:center; gap:56px; }
  .feat { padding:104px 0; } .feat-in { grid-template-columns:1fr 1fr; gap:80px; } .feat-in.rev .feat-vis { order:-1; }
  .mgrid { grid-template-columns:repeat(3,1fr); } .cards { grid-template-columns:repeat(4,1fr); }
  .panel { grid-template-columns:1fr 240px; gap:56px; } .panel-text { text-align:left; } .panel-vis { order:2; }
  .steps, .trust, .faq, .final, .more { padding:104px 0; }
  .hd-in { padding:0 28px; } .wrap { padding:0 28px; } .phone-wrap { width:min(100%, 280px); } .phone-wrap.sm { width:min(100%, 270px); }
}
@media (max-width:420px) { .f1 { left:-14px; } .f2 { right:-12px; } .f3 { left:-12px; } .fl { padding:8px 12px 8px 8px; } .fl strong { font-size:14px; } .fl .big { font-size:19px; } .hd-in { padding:0 14px; } .logo { font-size:19px; } }
@media (max-width:359px) { .btn.lg, .hero .gp { width:100%; justify-content:center; } }

/* reduced motion: nothing moves, nothing is hidden; the marquee can be swiped by hand; the screenshots/gauge stay on a fixed state */
/* v22: "100% free" strip + Android Auto section (same tokens as the rest; transform/opacity motion only) */
.free { padding:56px 0; background:linear-gradient(135deg,#0a5651 0%,#0c635c 45%,#13a394 100%); color:#fff; position:relative; overflow:hidden; }
.free::before { content:""; position:absolute; right:-120px; top:-140px; width:420px; height:420px; border-radius:50%; background:radial-gradient(circle at 35% 35%,rgba(255,255,255,.18),rgba(255,255,255,0) 70%); }
.free-in { position:relative; display:grid; gap:28px; }
.free-badge { display:inline-flex; align-items:center; gap:10px; margin:0 0 14px; padding:8px 20px; border-radius:999px; background:#ffe14d; color:#0b4f46; font-weight:700; font-size:clamp(22px,6vw,28px); line-height:1.4; box-shadow:0 14px 26px -14px rgba(0,40,35,.7); }
.fb-dot { width:12px; height:12px; border-radius:50%; background:#0c635c; flex:none; }
.free h2, .feat.auto h2 { text-wrap:balance; }
.free h2 { margin:0; font-size:clamp(28px,7.6vw,40px); line-height:1.3; letter-spacing:-.01em; color:#fff; }
.free-p { margin:12px 0 0; font-size:clamp(18px,4.6vw,21px); font-weight:500; color:rgba(255,255,255,.92); }
.free-tiles { display:grid; gap:12px; grid-template-columns:1fr; }
.ftile { display:flex; align-items:center; gap:16px; background:rgba(255,255,255,.13); border:1px solid rgba(255,255,255,.28); border-radius:22px; padding:14px 20px; -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); }
.ftile b { font-size:clamp(40px,11vw,52px); line-height:1.1; font-variant-numeric:tabular-nums; color:#ffe14d; min-width:2.2ch; }
.ftile > span { font-size:clamp(18px,4.6vw,20px); font-weight:600; line-height:1.4; }
.free-note { margin:0; font-size:16px; line-height:1.7; color:rgba(255,255,255,.88); }
.sec-l em.new { font-style:normal; background:var(--acc3); color:#fff; border-radius:999px; padding:0 12px; font-size:14px; line-height:1.7; animation:badge 2.8s var(--ease) infinite; }
.auto-free { display:flex; align-items:center; gap:14px; margin:26px 0 0; padding:12px 16px; border-radius:18px; background:var(--tint); border:1px solid color-mix(in srgb, var(--acc) 22%, var(--line)); font-weight:600; font-size:clamp(17px,4.4vw,18px); line-height:1.5; }
.auto-free b { flex:none; font-size:28px; color:var(--acc); line-height:1; }
.car { margin:0; width:100%; }
.car-frame { border-radius:26px; padding:10px; background:linear-gradient(145deg,#2a2a31,#0d0d10); box-shadow:var(--sh-f), 0 40px 80px -30px rgba(12,99,92,.5); }
.car-screen { position:relative; overflow:hidden; border-radius:18px; background:#1b2029; aspect-ratio:1024/550; }
.car-screen > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; transform:scale(1.03); transition:opacity .6s var(--std), transform .8s var(--ease); } .car-screen > img.on { opacity:1; transform:none; }
.car-chips { margin-top:18px; }
@media (max-width:599px) { .car-screen { aspect-ratio:5/4; } .car-screen > img { object-position:0 50%; } }   /* phones: show the station list larger (the map side is cropped) */
.car-chips .gc { --c:#2fa86a; min-width:44px; } .car-chips .gc:not(.on) i { background:#c9d9d6; }
.car-cap { margin:14px auto 0; max-width:520px; text-align:center; color:var(--mut); font-size:16px; line-height:1.65; }
.auto-note { margin-top:34px; margin-bottom:0; text-align:center; color:var(--mut); font-size:15px; line-height:1.7; max-width:760px; }
@media (min-width:860px) { .free { padding:72px 0; } .free-in { grid-template-columns:1.1fr 1fr; gap:48px; align-items:center; } .free-note { grid-column:1 / -1; } .free-tiles { grid-template-columns:1fr; } .feat.auto .feat-in { align-items:center; } }
@media (min-width:600px) and (max-width:859px) { .free-tiles { grid-template-columns:repeat(3,1fr); } .ftile { flex-direction:column; align-items:flex-start; gap:4px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { animation:none !important; transition:none !important; }
  .js .rv, .js .in-h { opacity:1; transform:none; } .js .check li, .js .check li::before { opacity:1; transform:none; } .js .gauge .arc { stroke-dashoffset:0; } .js .sec-l:not(.in) i { transform:none; }
  .mq-row { overflow-x:auto; -webkit-mask-image:none; mask-image:none; scrollbar-width:none; } .mq-row::-webkit-scrollbar { display:none; }
  .tab .bar b { transform:scaleX(0); } .tab.on .bar b, .tab.done .bar b { transform:scaleX(1); }
  .car-screen > img { transform:none; } .drops { display:none; } .tilt { transform:none !important; } .dlbar { transform:none; }
}

/* first paint in a non-Thai language: hidden until the script has swapped the baked Thai text (fails open after 1.5 s) */
html.pl body { opacity:0; animation:plshow .01s linear 1.5s forwards; } @keyframes plshow { to { opacity:1; } }

/* "See all apps" -> the owner's app collection page (AA common rule 2026-11-02). Ghost pill like the other secondary buttons, line icon, always visible (hero + final section).
   Label keeps whole words (nowrap for Thai, which has no spaces; other languages may wrap only at spaces); the button grows taller instead of overflowing at 200% text. */
.btn.apps { max-width:100%; height:auto; min-height:60px; padding-top:8px; padding-bottom:8px; white-space:normal; text-align:center; line-height:1.3; }
.btn.apps span { word-break:keep-all; overflow-wrap:normal; hyphens:none; text-wrap:balance; }
html[lang=th] .btn.apps span, html[lang=hi] .btn.apps span { white-space:nowrap; }
.btn.apps .ai { width:24px; height:24px; flex:none; transition:transform .32s var(--ease); }
.btn.apps:hover .ai { transform:translateX(3px) scale(1.06); } .btn.apps:active .ai { transform:scale(.94); }
.btn.ghost.apps { background:var(--tint); color:var(--acc-d); box-shadow:0 0 0 2px var(--acc), var(--sh); }
.btn.ghost.apps:hover { background:var(--mint); }
.final .btn.apps { margin-top:2px; }
@media (max-width:359px) { .cta .btn.apps { width:100%; } }
@media (prefers-reduced-motion:reduce) { .btn.apps .ai { transition:none; } .btn.apps:hover .ai, .btn.apps:active .ai { transform:none; } }

/* 2026-11-10 (owner pt146u): official store badges side by side, car-screen cards (Android Auto + CarPlay preview), layout polish.
   Repeated tiles share one layout; every row of tiles has equal heights; labels wrap only between words (Thai/Hindi kept whole, Korean keep-all). */
h2, h3, .cc-name, .store-cap, .cc-st { text-wrap:balance; }
.desc, .lead, .free-p, .car-cap, .auto-note, .qa details p, .mcard p, .tcard p { text-wrap:pretty; }
/* store badges: two equal columns, each badge drawn inside the same 565:168 box, so both have exactly the same width and height */
.cta { flex-direction:column; align-items:flex-start; gap:16px; }
.stores { display:grid; grid-template-columns:repeat(2, minmax(0, 210px)); gap:12px 14px; align-items:start; width:100%; max-width:434px; }
.stores.center { justify-content:center; margin:0 auto; }
.store { display:flex; flex-direction:column; align-items:center; gap:10px; min-width:0; }
.badge { display:block; width:100%; position:relative; padding:0; border-radius:12px; transition:transform .2s var(--ease), box-shadow .2s; }
.badge::before { content:""; display:block; padding-top:calc(168 / 565 * 100%); } /* same 565:168 box as the Play badge; padding-top works without aspect-ratio */
.badge img { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; object-position:center; display:block; padding:0; }
a.badge:hover { transform:translateY(-2px); box-shadow:0 12px 22px -14px rgba(17,17,17,.8); } a.badge:active { transform:scale(.97); }
.badge.off { cursor:default; }
.store-cap { display:inline-flex; align-items:center; justify-content:center; min-height:32px; padding:2px 14px; border-radius:999px; font-size:15px; font-weight:700; line-height:1.35; text-align:center; word-break:keep-all; overflow-wrap:normal; max-width:100%; }
html[lang=th] .store-cap, html[lang=th] .cc-st { white-space:nowrap; }
.store-cap.go { background:var(--tint); color:var(--acc-d); } .store-cap.soon { background:#fff3d6; color:#7a5200; }
.cta2 { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:12px 14px; width:100%; max-width:434px; }
.cta2 .btn { width:100%; min-width:0; height:auto; min-height:60px; padding:8px 14px; white-space:normal; text-align:center; line-height:1.3; }
.cta2 .btn span { word-break:keep-all; overflow-wrap:normal; }
html[lang=th] .cta2 .btn span, html[lang=hi] .cta2 .btn span { white-space:nowrap; }
.cta2.center { margin:22px auto 0; }
.final .dl { display:block; margin:0; }
@media (max-width:479px) { .cta2 { grid-template-columns:1fr; } }
/* car screens: one card layout for Android Auto and CarPlay (header, screen, control row, caption) */
.feat.auto { background:linear-gradient(180deg,#fff,#f4fbf9 40%,#fff); }
.auto-head { text-align:center; max-width:780px; margin:0 auto 34px; } .auto-head .sec-l { justify-content:center; }
.cars { display:grid; grid-template-columns:1fr; gap:20px; }
.carcard { display:flex; flex-direction:column; min-width:0; background:#fff; border-radius:24px; padding:16px 16px 18px; box-shadow:var(--sh), 0 0 0 1px var(--line); }
.carcard .car { display:flex; flex-direction:column; flex:1; }
.cc-h { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:40px; margin:0 4px 14px; }
.cc-name { font-weight:700; font-size:21px; line-height:1.3; white-space:nowrap; }
.cc-st { display:inline-flex; align-items:center; min-height:32px; padding:2px 14px; border-radius:999px; font-weight:700; font-size:15px; line-height:1.35; text-align:center; word-break:keep-all; }
.cc-st.ok { background:#e3f6ea; color:#0a5a2a; } .cc-st.soon { background:#fff3d6; color:#7a5200; }
.carcard .car-frame { padding:8px; border-radius:20px; } .carcard .car-screen { border-radius:14px; }
.cc-ctl { display:flex; align-items:center; justify-content:center; min-height:56px; margin-top:14px; }
.cc-ctl .car-chips { margin-top:0; }
.cc-dev { display:inline-flex; align-items:center; gap:8px; min-height:44px; padding:0 18px; border-radius:999px; border:1.5px dashed #d9b85c; color:#7a5200; background:#fffaf0; font-weight:600; font-size:16px; }
.cc-dev i { width:10px; height:10px; border-radius:50%; background:var(--amber); flex:none; }
.carcard .car-cap { margin:10px auto 0; max-width:none; font-size:16px; }
.cp-ribbon { position:absolute; z-index:2; top:10px; right:10px; padding:3px 14px; border-radius:999px; background:var(--acc3); color:#fff; font-weight:700; font-size:15px; line-height:1.5; box-shadow:0 6px 14px -6px rgba(0,0,0,.5); white-space:nowrap; }
.auto-list { margin:30px auto 0; grid-template-columns:1fr; gap:12px; }
.auto-list li { min-height:68px; padding:12px 16px 12px 62px; background:#fff; border-radius:18px; box-shadow:0 0 0 1px var(--line); line-height:1.5; }
.auto-list li::before { left:14px; } .auto-list li::after { left:26px; }
.feat.auto .auto-free { justify-content:center; max-width:780px; margin:18px auto 0; text-align:left; }
.feat.auto .auto-note { margin:18px auto 0; }
@media (min-width:860px) { .cars { grid-template-columns:1fr 1fr; gap:24px; } .auto-list { grid-template-columns:repeat(3, 1fr); } .feat.auto { padding:96px 0; } }
/* "everything in one app" + trust cards: same tile layout, equal heights per row; trust cards icon-left in a 2 x 2 grid (titles no longer squeezed) */
.mgrid, .cards { align-items:stretch; }
.mcard, .tcard { display:flex; flex-direction:column; }
@media (min-width:860px) {
  .cards { grid-template-columns:repeat(2, 1fr); gap:16px; }
  .tcard { display:grid; grid-template-columns:52px 1fr; grid-template-rows:auto 1fr; column-gap:18px; align-items:start; }
  .tcard .ti { grid-row:1 / span 2; } .tcard h3 { margin:6px 0 6px; }
  .hero .cta { max-width:434px; }
}
.ft-tm { font-size:14px !important; max-width:640px; }
@media (prefers-reduced-motion:reduce) { a.badge:hover, a.badge:active { transform:none; } }
/* the brand name น้ำมันถูก appears inside every language: always draw Thai letters with the Thai face (unicode-range keeps it to Thai only) */
html[lang=en] body, html[lang=ko] body, html[lang=zh] body, html[lang=hi] body { font-family:"IBM Plex Sans","IBM Plex Sans Thai","Noto Sans KR","Noto Sans SC","Noto Sans Devanagari","Malgun Gothic","Apple SD Gothic Neo","PingFang SC","Microsoft YaHei","Nirmala UI",system-ui,sans-serif; }
/* store badge box size is set by .badge::before (padding-top) + absolutely positioned img */
/* Chinese: headings and short labels break only at punctuation/spaces (whole words kept); running text keeps normal Chinese line breaking */
html[lang=zh] h1, html[lang=zh] h2, html[lang=zh] h3, html[lang=zh] .store-cap, html[lang=zh] .cc-st, html[lang=zh] .btn span, html[lang=zh] .gc span, html[lang=zh] .tab, html[lang=zh] summary { word-break:keep-all; }


/* Bottom bar (2026-11-10, design A; App Store live 2026-11-12): Google Play badge (-> join.html) + App Store badge (-> Thailand App Store).
   Self-contained class names (nothing shared with the hero .store/.badge/.store-cap rules) and one nowrap flex row; the badge box size comes from a
   padding ratio (works on every WebKit, no aspect-ratio needed), so both badges are always exactly the same size. */
.dlbar { position:fixed; left:0; right:0; bottom:0; z-index:45; padding:10px max(12px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); background:rgba(255,255,255,.96); -webkit-backdrop-filter:saturate(1.6) blur(14px); backdrop-filter:saturate(1.6) blur(14px); border-top:1px solid var(--line); box-shadow:0 -10px 28px -16px rgba(17,17,17,.35); -webkit-transform:translateY(110%); transform:translateY(110%); transition:transform .4s var(--ease); }
.dlbar.show { -webkit-transform:none; transform:none; }
.dlbar-in { display:flex; flex-direction:row; flex-wrap:nowrap; align-items:center; gap:10px; max-width:440px; margin:0 auto; }
.dlb { position:relative; display:block; flex:1 1 0; width:0; min-width:0; margin:0; padding:0; border-radius:10px; text-decoration:none; -webkit-tap-highlight-color:transparent; }
.dlb::before { content:""; display:block; padding-top:calc(168 / 565 * 100%); }   /* same 565:168 box as the hero badges */
.dlb img { position:absolute; top:0; left:0; width:100%; height:100%; object-fit:contain; display:block; }
.dlb-off { cursor:default; }
.dlb-tag { position:absolute; z-index:1; top:-9px; right:-4px; display:block; margin:0; font-style:normal; font-size:12.5px; font-weight:700; line-height:1.5; padding:1px 9px; border-radius:999px; background:var(--acc3); color:#fff; white-space:nowrap; box-shadow:0 4px 10px -4px rgba(240,112,95,.8); pointer-events:none; }
a.dlb:active { transform:scale(.97); }
body { padding-bottom:calc(84px + env(safe-area-inset-bottom)); }
.totop { bottom:calc(88px + env(safe-area-inset-bottom)) !important; }
@media (min-width:860px) { .dlbar-in { max-width:460px; } body { padding-bottom:calc(100px + env(safe-area-inset-bottom)); } .totop { bottom:calc(104px + env(safe-area-inset-bottom)) !important; } }
@media (prefers-reduced-motion:reduce) { .dlbar { transition:none; } }

/* Footer (2026-11-10, owner pt148u): contact heading + a real e-mail button, three equal link cards with icons, then small muted fine print. */
.ft { padding:44px 0 36px; border-top:1px solid var(--line); background:linear-gradient(180deg,#f6fbfa,#fff); }
.ft-in { display:flex; flex-direction:column; align-items:center; gap:28px; text-align:center; }
.ft p { margin:0; color:var(--mut); font-size:16px; }
.ft-contact { display:flex; flex-direction:column; align-items:center; gap:12px; width:100%; }
.ft-mail { min-width:min(100%, 260px); gap:10px; } .ft-mail .mi { width:24px; height:24px; flex:none; }
.ft-links { display:grid; grid-template-columns:minmax(0,1fr); gap:10px; width:100%; max-width:460px; }
@media (min-width:760px) { .ft-links { grid-template-columns:repeat(2, minmax(0,1fr)); max-width:640px; gap:14px; } }   /* 2 cards (privacy, delete account): one balanced, centred row */
.ftl { display:flex; align-items:center; gap:12px; min-height:64px; padding:10px 14px; border-radius:18px; background:#fff; border:1px solid var(--line); box-shadow:0 6px 16px -12px rgba(17,17,17,.35); color:var(--ink); text-decoration:none; font-weight:700; font-size:17px; line-height:1.35; text-align:left; transition:border-color .2s, box-shadow .2s, transform .18s var(--ease); }
.ftl:hover { border-color:color-mix(in srgb, var(--acc) 40%, var(--line)); box-shadow:0 10px 22px -12px rgba(12,99,92,.45); }
.ftl:active { transform:scale(.98); }
.ftl-ic { flex:none; width:42px; height:42px; border-radius:13px; background:var(--tint); color:var(--acc); display:grid; place-items:center; } .ftl-ic svg { width:23px; height:23px; }
.ftl-t { flex:1; min-width:0; word-break:keep-all; overflow-wrap:break-word; }
.ftl-go { flex:none; width:20px; height:20px; color:var(--mut); }
.ft-fine { display:flex; flex-direction:column; align-items:center; gap:6px; max-width:640px; padding-top:20px; border-top:1px solid var(--line); width:100%; }
.ft .ft-fine p { font-size:14px; line-height:1.6; }
/* legacy guard: an index.html cached before 2026-11-10 (old ".stick" bar markup) never shows a half-styled bar with this stylesheet */
.stick { display:none !important; }
/* final section: a single "all apps" button (feedback button removed 2026-11-10, owner pt151u): one centred column, same width as one store badge pair */
.cta2.one { grid-template-columns:minmax(0,1fr); max-width:300px; }

/* 2026-11-10 (owner pt155u, overlap bug): nothing may sit on top of a phone screenshot.
   - stock section: the gauge card used a negative bottom margin (-22px) to tuck over the phone; it now keeps a 28px gap (phone bob is 12px).
   - hero: the three info callouts (.fl) were absolutely positioned over the phone frame; they are now a normal list: under the phone and its dots
     (phones/tablets), or a column beside the phone on wide screens. Same card style, no floating. */
.fls { display:grid; grid-template-columns:minmax(0,1fr); gap:10px; width:min(100%, 340px); margin:22px auto 0; }
.fls .fl { position:static; animation:none; min-width:0; }
.fls .fl > div { min-width:0; }
@media (min-width:1100px) {
  .hero-vis { display:grid; grid-template-columns:auto minmax(0, 250px); grid-template-rows:auto auto; column-gap:24px; align-items:center; }
  .hero-vis > .phone-wrap { grid-column:1; grid-row:1; } .hero-vis > .dots { grid-column:1; grid-row:2; } .hero-vis > .fls { grid-column:2; grid-row:1 / span 2; width:100%; margin:0; }
  .hero-vis .phone-wrap { width:250px; }
  .hero-in { grid-template-columns:1fr 1fr; gap:48px; }   /* give the phone + callout column enough room */
}
/* store status chips: both chips in a pair fill their badge column, one line, same size (owner 2026-11-11) */
.store-cap { align-self:stretch; width:auto; max-width:none; white-space:nowrap; padding:2px 6px; }
