/* ==========================================================================
   Tanzim Studio — Premium design system
   Slate navy · emerald→teal gradient · cyan accent · Islamic geometry.
   Self-contained (no framework). Dark is default; light via [data-theme].
   ========================================================================== */

:root {
    --bg: #0F172A;
    --bg-alt: #0C1424;
    --surface: #1E293B;
    --surface-2: #172033;
    --raised: #24324A;
    --footer: #0B1220;

    --heading: #F8FAFC;
    --ink: #E2E8F0;
    --muted: #94A3B8;
    --faint: #64748B;

    --line: #2A3A52;
    --glass: rgba(30, 41, 59, .62);
    --glass-line: rgba(16, 185, 129, .18);
    --nav: rgba(15, 23, 42, .78);

    --em: #10B981;
    --em-deep: #059669;
    --em-soft: rgba(16, 185, 129, .12);
    --em-text: #34D399;
    --em-bright: #6EE7B7;
    --cyan: #22D3EE;
    --amber: #FBBF24;

    --grad: linear-gradient(135deg, #059669 0%, #0D9488 55%, #0E7490 100%);
    --grad-text: linear-gradient(100deg, #6EE7B7 0%, #34D399 45%, #22D3EE 100%);
    --shadow-card: 0 24px 50px -28px rgba(0, 0, 0, .75);
    --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72' fill='none' stroke='%2310B981' stroke-opacity='.13' stroke-width='1'%3E%3Crect x='16' y='16' width='40' height='40'/%3E%3Crect x='16' y='16' width='40' height='40' transform='rotate(45 36 36)'/%3E%3Ccircle cx='36' cy='36' r='5'/%3E%3C/svg%3E");

    --r: 20px;
    --font: 'Plus Jakarta Sans', 'Hind Siliguri', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-bn: 'Hind Siliguri', 'Plus Jakarta Sans', system-ui, sans-serif;
}

:root[data-theme="light"] {
    --bg: #F8FAFC;
    --bg-alt: #F1F5F9;
    --surface: #FFFFFF;
    --surface-2: #F1F5F9;
    --raised: #FFFFFF;
    --footer: #0F172A;
    --heading: #0F172A;
    --ink: #1E293B;
    --muted: #64748B;
    --faint: #94A3B8;
    --line: #E2E8F0;
    --glass: rgba(255, 255, 255, .8);
    --glass-line: rgba(5, 150, 105, .22);
    --nav: rgba(248, 250, 252, .86);
    --em: #059669;
    --em-deep: #047857;
    --em-soft: rgba(5, 150, 105, .09);
    --em-text: #047857;
    --em-bright: #059669;
    --cyan: #0E7490;
    --amber: #D97706;
    --grad-text: linear-gradient(100deg, #047857 0%, #059669 50%, #0E7490 100%);
    --shadow-card: 0 22px 44px -30px rgba(15, 23, 42, .35);
    --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72' fill='none' stroke='%23059669' stroke-opacity='.14' stroke-width='1'%3E%3Crect x='16' y='16' width='40' height='40'/%3E%3Crect x='16' y='16' width='40' height='40' transform='rotate(45 36 36)'/%3E%3Ccircle cx='36' cy='36' r='5'/%3E%3C/svg%3E");
}

/* ---------- Base --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; -webkit-text-size-adjust: 100%; }
body {
    margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.7; color: var(--muted);
    background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
    min-height: 100vh; display: flex; flex-direction: column; overflow-x: clip;
}
img, svg { max-width: 100%; }
a { color: var(--em-text); text-decoration: none; }
a:hover { color: var(--em-bright); }
h1, h2, h3, h4 { color: var(--heading); margin: 0; line-height: 1.22; letter-spacing: -.015em; font-weight: 800; text-wrap: balance; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--em); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--em); color: #fff; }
main { flex: 1 0 auto; }
.wrap { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--em); color: #fff; padding: .6rem 1rem; border-radius: 10px; }
.skip:focus { left: 8px; }
.text-grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.bn { font-family: var(--font-bn); }
.center { text-align: center; }

/* ---------- Buttons ------------------------------------------------------ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem; border: 1px solid transparent;
    border-radius: 14px; padding: .78rem 1.5rem; font-weight: 700; font-size: .95rem; line-height: 1.2; white-space: nowrap;
    transition: transform .18s, box-shadow .18s, filter .18s, border-color .18s, color .18s; text-decoration: none;
}
.btn-primary { background: var(--grad); color: #fff !important; box-shadow: 0 12px 30px -12px rgba(16, 185, 129, .7), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 18px 38px -12px rgba(16, 185, 129, .85), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn-ghost { background: var(--glass); border-color: var(--glass-line); color: var(--heading) !important; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-ghost:hover { border-color: var(--em); color: var(--em-text) !important; transform: translateY(-2px); }
.btn-lg { padding: .95rem 1.9rem; font-size: 1rem; }
.btn-sm { padding: .55rem 1rem; font-size: .85rem; border-radius: 12px; }
.btn-block { width: 100%; }

/* Store buttons — one consistent size everywhere */
.stores { display: flex; flex-wrap: wrap; gap: .7rem; }
.store {
    display: inline-flex; align-items: center; gap: .75rem; min-width: 176px; height: 58px; padding: 0 1.15rem 0 1rem;
    background: linear-gradient(160deg, #1E293B, #0F172A); border: 1px solid rgba(16, 185, 129, .35); border-radius: 16px;
    color: #F8FAFC !important; box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06);
    transition: transform .2s, border-color .2s, box-shadow .2s; text-decoration: none;
}
.store:hover { transform: translateY(-3px); border-color: var(--em-bright); box-shadow: 0 22px 36px -18px rgba(16, 185, 129, .5), inset 0 1px 0 rgba(255, 255, 255, .1); color: #fff !important; }
.store i, .store svg { font-size: 1.6rem; width: 1.6rem; height: 1.6rem; flex: 0 0 auto; color: var(--em-bright); }
.store span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store small { font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(248, 250, 252, .65) !important; font-weight: 600; }
.store b { font-size: 1.04rem; font-weight: 700; color: #fff; white-space: nowrap; }
.stores.grid4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 420px; }
.stores.grid4 .store { min-width: 0; width: 100%; padding-inline: .9rem; }

/* ---------- Header ------------------------------------------------------- */
.hdr { position: sticky; top: 0; z-index: 50; padding: .7rem 0; background: var(--nav); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); border-bottom: 1px solid var(--glass-line); }
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; flex: 0 0 auto; }
.brand img { width: 42px; height: 42px; border-radius: 12px; box-shadow: 0 8px 22px -8px rgba(16, 185, 129, .55), 0 0 0 1px rgba(52, 211, 153, .38); }
.brand-t { display: flex; flex-direction: column; line-height: 1.05; }
.brand-t b { font-size: 1.15rem; font-weight: 800; color: var(--heading); letter-spacing: -.02em; }
.brand-t small { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--em-text) !important; margin-top: .22rem; font-weight: 700; }
.nav { display: none; align-items: center; gap: .15rem; }
.nav a { color: var(--ink); font-weight: 600; font-size: .92rem; padding: .5rem .8rem; border-radius: 10px; position: relative; white-space: nowrap; }
.nav a:hover, .nav a.on { color: var(--em-text); }
.nav a.on::after { content: ""; position: absolute; left: 50%; bottom: -1px; width: 18px; height: 2px; background: var(--grad); transform: translateX(-50%); border-radius: 2px; }
.tools { display: flex; align-items: center; gap: .5rem; }
.tools .store-ic { display: none; }
.ic-btn { width: 40px; height: 40px; border-radius: 12px; display: inline-grid; place-items: center; border: 1px solid var(--glass-line); background: var(--glass); color: var(--ink); font-size: 1rem; transition: border-color .2s, color .2s; }
.ic-btn:hover { border-color: var(--em); color: var(--em-text); }
.ic-btn svg { width: 18px; height: 18px; }
.burger { display: inline-grid; }
.drawer { display: none; border-top: 1px solid var(--glass-line); margin-top: .7rem; padding: 1rem 0 .4rem; }
.drawer.open { display: block; }
.drawer a.l { display: flex; align-items: center; justify-content: space-between; padding: .85rem .2rem; color: var(--heading); font-weight: 600; border-bottom: 1px solid var(--line); }
.drawer .stores { margin-top: 1rem; }
.mobile-only { display: block; }
@media (min-width: 1100px) {
    .nav { display: flex; }
    .burger, .drawer, .mobile-only { display: none !important; }
    .tools .store-ic { display: inline-grid; }
    .hdr { padding: .55rem 0; }
    .hdr .wrap { width: min(1240px, 100% - 3rem); padding: .45rem .55rem .45rem 1rem; border: 1px solid var(--glass-line); border-radius: 999px; background: var(--glass); }
    .hdr { background: transparent; border-bottom: 0; backdrop-filter: none; -webkit-backdrop-filter: none; top: 6px; }
    .hdr .wrap { backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); box-shadow: 0 18px 40px -26px rgba(0, 0, 0, .7); }
}

/* ---------- Hero --------------------------------------------------------- */
.hero { position: relative; padding: 4.6rem 0 3.6rem; isolation: isolate; overflow: hidden;
    background: radial-gradient(1000px 600px at 78% 18%, rgba(16, 185, 129, .2), transparent 60%), radial-gradient(700px 500px at 5% 95%, rgba(16, 185, 129, .12), transparent 60%), linear-gradient(180deg, #0B1220 0%, var(--bg) 100%); }
:root[data-theme="light"] .hero { background: radial-gradient(900px 560px at 78% 20%, rgba(5, 150, 105, .14), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(5, 150, 105, .12), transparent 60%), linear-gradient(180deg, #FFFFFF, var(--bg)); }
.hero-grid { position: absolute; inset: 0; z-index: -1; background-image: var(--pattern); -webkit-mask-image: radial-gradient(ellipse 75% 70% at 70% 35%, #000 10%, transparent 72%); mask-image: radial-gradient(ellipse 75% 70% at 70% 35%, #000 10%, transparent 72%); }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; padding: .42rem 1rem; border-radius: 999px; border: 1px solid var(--glass-line); background: var(--glass); color: var(--em-text); font-size: .82rem; font-weight: 700; backdrop-filter: blur(10px); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--em); box-shadow: 0 0 0 0 rgba(16, 185, 129, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }
.hero h1 { font-size: clamp(2.35rem, 5.2vw, 4.1rem); line-height: 1.1; margin: 1.2rem 0 0; }
.hero .lead { font-size: 1.14rem; max-width: 36rem; line-height: 1.8; margin: 1.3rem 0 0; color: var(--muted); }
.hero .lead b { color: var(--heading); }
.hero .stores { margin-top: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.1rem; }
.proof { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin-top: 1.8rem; color: var(--muted); font-size: .9rem; }
.proof span { display: inline-flex; align-items: center; gap: .5rem; }
.proof i { color: var(--em-text); }

/* Phone frame with the real app screenshots */
.cluster { position: relative; height: 640px; max-width: 520px; margin-inline: auto; width: 100%; }
.phone { position: absolute; width: 268px; padding: 9px; border-radius: 46px; background: #06090F; box-shadow: 0 0 0 1.5px #566377, 0 0 0 3px #0A0F18, 0 46px 64px -38px rgba(0, 0, 0, .75); }
.phone::before { content: ""; position: absolute; top: 15px; left: 50%; width: 27%; height: 19px; transform: translateX(-50%); background: #000; border-radius: 12px; z-index: 3; }
.phone img { display: block; width: 100%; height: auto; border-radius: 37px; background: #fff; }
.phone.p1 { left: 50%; top: 14px; transform: translateX(-50%); z-index: 3; animation: float 7s ease-in-out infinite; }
.phone.p2 { left: -4px; top: 96px; transform: rotate(-9deg) scale(.82); z-index: 2; animation: float 8s ease-in-out -2s infinite; }
.phone.p3 { right: -4px; top: 96px; transform: rotate(9deg) scale(.82); z-index: 2; animation: float 9s ease-in-out -4s infinite; }
.phone.p1 { --tx: -50%; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.glow { position: absolute; left: 50%; top: 52%; width: 440px; height: 440px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(16, 185, 129, .3), transparent 66%); filter: blur(10px); z-index: 0; }
.chip-float { position: absolute; z-index: 5; display: inline-flex; align-items: center; gap: .55rem; padding: .55rem .95rem; border-radius: 14px; background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--heading); font-weight: 700; font-size: .85rem; box-shadow: var(--shadow-card); }
.chip-float i { color: var(--em-text); }
.chip-float.c1 { left: -6px; top: 36px; } .chip-float.c2 { right: -10px; bottom: 90px; }

/* ---------- Marquee ------------------------------------------------------ */
.marquee { border-block: 1px solid var(--glass-line); background: var(--surface-2); overflow: hidden; padding: 1rem 0; }
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 3rem; font-family: var(--font-bn); font-size: 1.05rem; color: var(--ink); white-space: nowrap; font-weight: 600; }
.marquee span::after { content: "✦"; color: var(--em-text); font-size: .8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ----------------------------------------------------- */
.section { padding: 6.5rem 0; position: relative; scroll-margin-top: 90px; }
.section.alt { background: var(--surface-2); }
.section.alt::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern); opacity: .5; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent); mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent); }
.section.alt > .wrap { position: relative; }
.head { text-align: center; max-width: 44rem; margin: 0 auto 3.2rem; }
.kicker { display: inline-flex; align-items: center; gap: .6rem; color: var(--em-text); font-weight: 800; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: .9rem; }
.kicker::before, .kicker::after { content: ""; width: 26px; height: 1px; background: var(--em-text); opacity: .6; }
.head h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
.head p { margin: 1rem auto 0; font-size: 1.05rem; line-height: 1.8; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--glass); border: 1px solid var(--glass-line); border-radius: 26px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow-card); margin-top: 2.4rem; position: relative; z-index: 4; }
.stats > div { padding: 1.7rem 1rem; text-align: center; position: relative; }
.stats > div + div::before { content: ""; position: absolute; left: 0; top: 22%; height: 56%; width: 1px; background: var(--line); }
.stats strong { display: block; font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; color: var(--heading); line-height: 1.15; }
.stats small { color: var(--muted); font-size: .86rem; }
.statband { padding: 0 0 .5rem; background: linear-gradient(180deg, transparent, var(--bg)); }

/* Cards */
.card { position: relative; background: linear-gradient(180deg, var(--raised), var(--surface)); border: 1px solid var(--glass-line); border-radius: var(--r); box-shadow: var(--shadow-card); transition: transform .25s, border-color .25s, box-shadow .25s; }
:root[data-theme="light"] .card { background: #fff; }
.card.lift:hover { transform: translateY(-5px); border-color: rgba(16, 185, 129, .5); }

/* App grid */
.apps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.app { display: flex; flex-direction: column; padding: 1.5rem; gap: 1.1rem; height: 100%; }
.app-top { display: flex; gap: 1rem; align-items: center; }
.app-ic { width: 72px; height: 72px; border-radius: 18px; flex: 0 0 auto; object-fit: cover; background: var(--surface-2); box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .6), 0 0 0 1px var(--glass-line); }
.app-name { font-size: 1.08rem; font-weight: 800; line-height: 1.3; color: var(--heading); font-family: var(--font-bn); }
.app-name a { color: inherit; }
.app-cat { font-size: .8rem; color: var(--em-text); font-weight: 700; margin-top: .15rem; }
.app-desc { font-size: .93rem; line-height: 1.7; margin: 0; flex: 1 1 auto; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.metrics { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill { display: inline-flex; align-items: center; gap: .4rem; padding: .32rem .75rem; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--em-soft); color: var(--em-text); border: 1px solid var(--glass-line); white-space: nowrap; }
.pill.star i { color: var(--amber); }
.pill.neutral { background: var(--surface-2); color: var(--muted); border-color: var(--line); }
.app-act { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; padding-top: 1rem; border-top: 1px solid var(--line); }
.sq { width: 42px; height: 42px; border-radius: 12px; display: inline-grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink); font-size: 1.05rem; transition: all .2s; }
.sq:hover { border-color: var(--em); color: var(--em-text); transform: translateY(-2px); }
.app-act .btn { margin-left: auto; }

/* Spotlight (flagship) */
.spot-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3.5rem; align-items: center; }
.spot-phone { display: grid; place-items: center; position: relative; min-height: 600px; }
.spot-phone .phone { position: relative; width: 280px; }
.feat-list { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: 1.6rem 0 2rem; }
.feat-list li { display: flex; gap: .65rem; align-items: flex-start; color: var(--ink); font-size: .95rem; line-height: 1.55; font-family: var(--font-bn); }
.feat-list i { color: var(--em-text); margin-top: .3rem; }
.spot h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-family: var(--font-bn); }
.spot .lead { font-size: 1.05rem; line-height: 1.85; }

/* Principles (bento) */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.bento .card { padding: 1.9rem; overflow: hidden; }
.bento .card:first-child { grid-column: span 2; background: linear-gradient(135deg, rgba(16, 185, 129, .16), rgba(14, 116, 144, .1)); }
.bento .card:first-child::after { content: ""; position: absolute; inset: 0; background-image: var(--pattern); opacity: .6; pointer-events: none; -webkit-mask-image: radial-gradient(circle at 100% 0, #000, transparent 65%); mask-image: radial-gradient(circle at 100% 0, #000, transparent 65%); }
.ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.3rem; color: #fff; background: var(--grad); box-shadow: 0 12px 24px -12px rgba(16, 185, 129, .8); margin-bottom: 1.1rem; }
.bento h3 { font-size: 1.2rem; margin-bottom: .55rem; position: relative; }
.bento p { margin: 0; font-size: .95rem; position: relative; z-index: 1; }

/* Reviews */
.rev-sum { display: flex; align-items: center; justify-content: center; gap: .9rem; flex-wrap: wrap; margin-top: 1.4rem; color: var(--muted); font-size: .92rem; }
.rev-sum b { color: var(--heading); font-size: 1.1rem; }
.stars { color: var(--amber); letter-spacing: .12em; font-size: 1rem; }
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; }
.rev { padding: 1.6rem; display: flex; flex-direction: column; gap: 1rem; height: 100%; }
.rev p { margin: 0; color: var(--ink); line-height: 1.8; font-size: .97rem; flex: 1 1 auto; }
.rev-by { display: flex; align-items: center; gap: .75rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.rev-by img { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; }
.rev-by b { display: block; color: var(--heading); font-size: .92rem; line-height: 1.3; }
.rev-by small { color: var(--faint); font-size: .78rem; }
.rev .stars { font-size: .95rem; }

/* Founder */
.founder { display: grid; grid-template-columns: 300px 1fr; gap: 3rem; align-items: center; padding: 2.4rem; overflow: hidden; }
.founder-img { position: relative; }
.founder-img::before { content: ""; position: absolute; inset: -10px; border-radius: 30px; background: var(--grad); opacity: .35; filter: blur(22px); }
.founder-img img { position: relative; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 24px; border: 1px solid var(--glass-line); display: block; }
.founder h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin: .8rem 0 .3rem; }
.founder .role { color: var(--em-text); font-weight: 700; margin-bottom: 1rem; }
.founder .links { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }

/* FAQ */
.faq { display: grid; gap: .8rem; max-width: 860px; margin-inline: auto; }
.faq details { background: linear-gradient(180deg, var(--raised), var(--surface)); border: 1px solid var(--glass-line); border-radius: 18px; transition: border-color .2s; }
:root[data-theme="light"] .faq details { background: #fff; }
.faq details[open] { border-color: rgba(16, 185, 129, .5); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.4rem; cursor: pointer; color: var(--heading); font-weight: 700; font-size: 1.02rem; line-height: 1.5; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--em-soft); color: var(--em-text); font-size: 1.2rem; font-weight: 700; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 1.4rem 1.3rem; line-height: 1.85; }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.post { display: flex; flex-direction: column; overflow: hidden; height: 100%; }
.post-img { aspect-ratio: 16 / 9; background: var(--surface-2) center / cover no-repeat; position: relative; overflow: hidden; }
.post-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.post:hover .post-img img { transform: scale(1.05); }
.post-body { padding: 1.4rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.post h3 { font-size: 1.1rem; line-height: 1.4; }
.post h3 a { color: var(--heading); }
.post h3 a:hover { color: var(--em-text); }
.post p { font-size: .92rem; margin: 0; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { display: flex; gap: .9rem; flex-wrap: wrap; font-size: .78rem; color: var(--faint); }
.post-meta i { margin-right: .3rem; }

/* CTA */
.cta { position: relative; overflow: hidden; border-radius: 34px; padding: 4.6rem 2rem; text-align: center; isolation: isolate; background: radial-gradient(700px 360px at 50% 0, rgba(16, 185, 129, .35), transparent 65%), linear-gradient(135deg, #064E3B 0%, #0F172A 55%, #0C4A6E 100%); border: 1px solid rgba(16, 185, 129, .35); box-shadow: 0 40px 80px -40px rgba(16, 185, 129, .45); }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--pattern); opacity: .9; }
.cta h2 { color: #F8FAFC; font-size: clamp(1.9rem, 4vw, 2.9rem); }
.cta p { color: #CBD5E1; max-width: 36rem; margin: 1rem auto 2rem; font-size: 1.05rem; }
.cta .stores { justify-content: center; }

/* ---------- Inner pages -------------------------------------------------- */
.pagehead { padding: 4rem 0 2.6rem; position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(900px 400px at 50% -10%, rgba(16, 185, 129, .16), transparent 60%); text-align: center; }
.pagehead::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--pattern); -webkit-mask-image: radial-gradient(ellipse 60% 100% at 50% 0, #000, transparent 75%); mask-image: radial-gradient(ellipse 60% 100% at 50% 0, #000, transparent 75%); }
.pagehead h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); margin-top: .8rem; }
.pagehead p { max-width: 40rem; margin: 1rem auto 0; font-size: 1.06rem; }
.crumbs { display: flex; gap: .55rem; justify-content: center; flex-wrap: wrap; font-size: .82rem; color: var(--faint); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--em-text); }
.crumbs span.cur { color: var(--em-text); font-weight: 700; }
.body-sec { padding: 1rem 0 6rem; }

.filters { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.tabs { display: flex; flex-wrap: wrap; gap: .5rem; }
.tab { padding: .5rem 1rem; border-radius: 999px; font-size: .86rem; font-weight: 700; border: 1px solid var(--glass-line); background: var(--glass); color: var(--ink); }
.tab:hover { border-color: var(--em); color: var(--em-text); }
.tab.on { background: var(--grad); color: #fff; border-color: transparent; }
.search { display: flex; align-items: center; gap: .5rem; padding: .3rem .3rem .3rem 1rem; border-radius: 999px; border: 1px solid var(--glass-line); background: var(--glass); min-width: min(100%, 320px); }
.search input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--heading); font: inherit; font-size: .92rem; padding: .45rem 0; }
.search i { color: var(--faint); }

/* App detail */
.detail { display: grid; grid-template-columns: 1.4fr .8fr; gap: 2rem; align-items: start; }
.detail-hero { display: flex; gap: 1.6rem; align-items: center; flex-wrap: wrap; padding: 1.8rem; margin-bottom: 1.4rem; }
.detail-hero .app-ic { width: 108px; height: 108px; border-radius: 26px; }
.detail-hero h1 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); font-family: var(--font-bn); }
.box { padding: 1.8rem; }
.box h2 { font-size: 1.25rem; margin-bottom: 1rem; }
.box + .box { margin-top: 1.4rem; }
.specs { display: grid; gap: .1rem; }
.specs div { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.specs div:last-child { border: 0; }
.specs dt { color: var(--faint); } .specs dd { margin: 0; color: var(--heading); font-weight: 700; text-align: right; }
.side { position: sticky; top: 96px; display: grid; gap: 1.2rem; }

/* Forms */
.field { display: grid; gap: .4rem; margin-bottom: 1.1rem; }
.field label { color: var(--heading); font-weight: 700; font-size: .88rem; }
.input, select.input, textarea.input { width: 100%; padding: .85rem 1rem; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2); color: var(--heading); font: inherit; font-size: .95rem; transition: border-color .2s, box-shadow .2s; }
:root[data-theme="light"] .input { background: #fff; }
.input:focus { outline: 0; border-color: var(--em); box-shadow: 0 0 0 4px rgba(16, 185, 129, .15); }
textarea.input { min-height: 140px; resize: vertical; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.err { color: #F87171; font-size: .82rem; }
.alert { padding: 1rem 1.2rem; border-radius: 16px; margin: 0 0 1.6rem; font-weight: 600; display: flex; gap: .7rem; align-items: center; }
.alert.ok { background: rgba(16, 185, 129, .12); border: 1px solid rgba(16, 185, 129, .4); color: var(--em-text); }
.alert.bad { background: rgba(239, 68, 68, .1); border: 1px solid rgba(239, 68, 68, .4); color: #F87171; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 2rem; align-items: start; }
.chan { display: flex; gap: 1rem; align-items: center; padding: 1.1rem 1.3rem; margin-bottom: 1rem; }
.chan .ico { margin: 0; width: 46px; height: 46px; font-size: 1.15rem; border-radius: 14px; }
.chan b { display: block; color: var(--heading); } .chan small { color: var(--muted); font-size: .85rem; }
.rate-pick { display: flex; gap: .4rem; flex-direction: row-reverse; justify-content: flex-end; }
.rate-pick input { position: absolute; opacity: 0; }
.rate-pick label { font-size: 1.7rem; color: var(--faint); cursor: pointer; line-height: 1; }
.rate-pick input:checked ~ label, .rate-pick label:hover, .rate-pick label:hover ~ label { color: var(--amber); }

/* Article / policy prose */
.prose { color: var(--muted); font-size: 1.02rem; line-height: 1.9; }
.prose h2, .prose h3 { color: var(--heading); margin: 2.2rem 0 .8rem; font-size: 1.35rem; line-height: 1.35; }
.prose h3 { font-size: 1.2rem; }
.prose p { margin: 0 0 1.1rem; }
.prose ul { list-style: disc; padding-left: 1.4rem; display: grid; gap: .35rem; margin: .5rem 0 1.1rem; }
.prose ol { list-style: decimal; padding-left: 1.4rem; display: grid; gap: .35rem; margin: .5rem 0 1.1rem; }
.prose strong, .prose b { color: var(--heading); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose code { background: var(--em-soft); color: var(--em-text); padding: .1rem .4rem; border-radius: 6px; font-size: .9em; }
.prose img { border-radius: 16px; margin: 1.2rem 0; }
.prose blockquote { border-left: 3px solid var(--em); margin: 1.4rem 0; padding: .4rem 0 .4rem 1.2rem; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .94rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: .6rem .8rem; text-align: left; }
.prose th { color: var(--heading); background: var(--surface-2); }
.policy-card { padding: clamp(1.6rem, 4vw, 3.4rem); }
.policy-head { border-bottom: 1px solid var(--line); padding-bottom: 1.8rem; margin-bottom: 1.8rem; }
.policy-head h1 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); margin: 1rem 0 .9rem; font-family: var(--font-bn); }
.policy-meta { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; font-size: .84rem; color: var(--faint); }
.policy-meta b { color: var(--ink); }
.policy-app { margin-top: 1.2rem; padding: 1.1rem 1.3rem; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-2); font-size: .9rem; line-height: 1.8; color: var(--ink); }
.policy-body .text-theme-muted, .policy-body .text-theme-title { color: inherit !important; }
.policy-body code { background: var(--em-soft) !important; color: var(--em-text) !important; padding: .1rem .4rem; border-radius: 6px; }
.policy-body h3, .policy-body h2 { margin: 2.2rem 0 .8rem; }
.policy-body ul { list-style: disc; padding-left: 1.4rem; display: grid; gap: .35rem; margin: .5rem 0 1.1rem; }
.policy-body a { color: var(--em-text); text-decoration: underline; }
.policy-body .mt-3 { margin-top: .9rem; } .policy-body .mt-8 { margin-top: 2.2rem; } .policy-body .mb-3 { margin-bottom: .8rem; }

.article { max-width: 780px; margin-inline: auto; }
.article-hero { aspect-ratio: 16 / 8; border-radius: 24px; overflow: hidden; margin-bottom: 2rem; border: 1px solid var(--glass-line); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.byline { display: flex; align-items: center; gap: .9rem; padding: 1.2rem 1.4rem; margin-top: 2.6rem; }
.byline img { width: 54px; height: 54px; border-radius: 16px; object-fit: cover; }
.byline b { color: var(--heading); display: block; } .byline small { color: var(--muted); }

/* Pagination */
.pager { display: flex; justify-content: center; gap: .4rem; margin-top: 3rem; flex-wrap: wrap; }
.pager a, .pager span { min-width: 42px; height: 42px; padding: 0 .9rem; display: inline-grid; place-items: center; border-radius: 12px; border: 1px solid var(--glass-line); background: var(--glass); color: var(--ink); font-weight: 700; font-size: .9rem; }
.pager a:hover { border-color: var(--em); color: var(--em-text); }
.pager .cur { background: var(--grad); color: #fff; border-color: transparent; }
.pager .dis { opacity: .4; }

.empty { text-align: center; padding: 4rem 1rem; }
.empty i { font-size: 2.4rem; color: var(--em-text); margin-bottom: 1rem; display: block; }

/* ---------- Footer ------------------------------------------------------- */
.ft { background: var(--footer); color: rgba(255, 255, 255, .78); padding: 2.6rem 0 0; position: relative; overflow: hidden; isolation: isolate; margin-top: 2rem; }
.ft::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(900px 300px at 85% -10%, rgba(16, 185, 129, .2), transparent 60%), radial-gradient(700px 260px at 0 100%, rgba(14, 116, 144, .18), transparent 60%); }
.ft a { color: rgba(255, 255, 255, .78); } .ft a:hover { color: #6EE7B7; }
.ft-band { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; flex-wrap: wrap; padding: 1.1rem 1.3rem; border-radius: 22px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(110, 231, 183, .22); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.ft-band .t { display: flex; align-items: center; gap: .9rem; min-width: 0; }
.ft-band .t .ico { margin: 0; width: 42px; height: 42px; font-size: 1.1rem; border-radius: 13px; }
.ft-band b { display: block; color: #fff; font-size: 1.04rem; line-height: 1.3; } .ft-band small { color: rgba(255, 255, 255, .65); font-size: .8rem; }
.ft-sub { flex: 0 1 430px; min-width: 260px; display: flex; align-items: center; gap: .4rem; padding: .3rem .3rem .3rem 1rem; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(110, 231, 183, .3); }
.ft-sub:focus-within { border-color: #6EE7B7; box-shadow: 0 0 0 4px rgba(110, 231, 183, .16); }
.ft-sub input { flex: 1 1 auto; min-width: 0; background: transparent; border: 0; outline: 0; color: #fff; padding: .5rem .2rem; font: inherit; font-size: .92rem; }
.ft-sub input::placeholder { color: rgba(255, 255, 255, .55); }
.ft-sub button { flex: 0 0 auto; border: 0; border-radius: 999px; padding: .62rem 1.2rem; font-weight: 700; font-size: .88rem; color: #fff; background: var(--grad); white-space: nowrap; }
.ft-main { display: grid; grid-template-columns: 1.5fr .8fr 1fr 1.1fr; gap: 2rem 2.5rem; padding: 2.4rem 0 2rem; }
.ft-brand p { margin: .9rem 0 1rem; font-size: .88rem; line-height: 1.7; color: rgba(255, 255, 255, .68); max-width: 22rem; }
.ft .brand img { box-shadow: 0 8px 22px -8px rgba(16, 185, 129, .55), 0 0 0 1px rgba(52, 211, 153, .38); }
.ft .brand-t b { color: #fff; } .ft .brand-t small { color: #6EE7B7 !important; }
.ft h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .9rem; }
.ft li { margin-bottom: .5rem; font-size: .9rem; }
.ft .soc { display: flex; gap: .5rem; }
.ft .soc a { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); color: #fff; }
.ft .soc a:hover { border-color: #6EE7B7; color: #6EE7B7; }
.ft .store { height: 50px; min-width: 0; }
.ft .store b { font-size: .95rem; }
.ft-stores { display: grid; grid-template-columns: 1fr; gap: .55rem; max-width: 220px; }
.ft .store small { display: none; }
.ft .store { height: 46px; }
.ft-base { border-top: 1px solid rgba(255, 255, 255, .1); }
.ft-base .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.1rem; font-size: .82rem; color: rgba(255, 255, 255, .6); }
.ft-base .lg { display: flex; gap: 1.1rem; flex-wrap: wrap; }

/* ---------- Motion ------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.spot-fx { --mx: 50%; --my: 50%; }
.spot-fx::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(16, 185, 129, .14), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.spot-fx:hover::before { opacity: 1; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive --------------------------------------------------- */
@media (max-width: 1099px) {
    .hero-in { grid-template-columns: 1fr; gap: 2.4rem; text-align: center; }
    .hero .lead, .hero .stores, .hero-cta { margin-inline: auto; }
    .hero .stores.grid4 { max-width: 440px; }
    .hero-cta, .proof { justify-content: center; }
    .apps, .reviews, .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .spot-in { grid-template-columns: 1fr; text-align: center; }
    .feat-list { text-align: left; max-width: 560px; margin-inline: auto; }
    .spot .stores { justify-content: center; }
    .detail, .contact-grid { grid-template-columns: 1fr; }
    .side { position: static; }
    .ft-main { grid-template-columns: 1fr 1fr; }
    .ft-brand { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
    .section { padding: 4.2rem 0; }
    .hero { padding: 2.6rem 0 2.4rem; }
    .cluster { height: 500px; }
    .phone { width: 210px; padding: 7px; border-radius: 38px; }
    .phone img { border-radius: 31px; }
    .phone.p2, .phone.p3 { top: 90px; transform: rotate(-9deg) scale(.78); }
    .phone.p3 { transform: rotate(9deg) scale(.78); }
    .chip-float { font-size: .75rem; padding: .45rem .7rem; } .chip-float.c1 { left: 0; top: 10px; } .chip-float.c2 { right: 0; bottom: 40px; }
    .stats { grid-template-columns: 1fr 1fr; } .stats > div:nth-child(3)::before { display: none; }
    .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
    .apps, .reviews, .posts { grid-template-columns: 1fr; }
    .bento { grid-template-columns: 1fr; } .bento .card:first-child { grid-column: auto; }
    .founder { grid-template-columns: 1fr; text-align: center; padding: 1.6rem; gap: 2rem; }
    .founder-img { max-width: 220px; margin-inline: auto; } .founder .links { justify-content: center; }
    .feat-list { grid-template-columns: 1fr; }
    .grid2 { grid-template-columns: 1fr; }
    .cta { padding: 3rem 1.2rem; border-radius: 26px; }
    .ft-main { grid-template-columns: 1fr 1fr; gap: 1.6rem 1.2rem; }
    .ft-band { padding: 1rem; } .ft-sub { flex: 1 1 100%; min-width: 0; }
    .ft-base .wrap { flex-direction: column; text-align: center; }
    .spot-phone { min-height: 0; }
    .brand-t small { display: none; }
    .brand img { width: 38px; height: 38px; }
    .brand-t b { font-size: 1.02rem; }
    .stores .store { min-width: 0; flex: 1 1 calc(50% - .35rem); }
}
@media (max-width: 479px) {
    .wrap { width: min(1200px, 100% - 1.6rem); }
    .stores.grid4 .store small { display: none; } .stores.grid4 .store { height: 52px; gap: .55rem; padding-inline: .75rem; } .stores.grid4 .store b { font-size: .86rem; } .stores.grid4 .store i { font-size: 1.35rem; width: 1.35rem; height: 1.35rem; }
    .ft-main { grid-template-columns: 1fr; }
    .ft-stores { grid-template-columns: 1fr 1fr; max-width: none; }
    .app-act .btn { margin-left: 0; width: 100%; }
}

/* ===== v2: company home — product wall, platforms, projects ===== */
.hero-in { grid-template-columns: 1.05fr .95fr; }
.hero-cta { margin-top: 2rem; }
.hero-find { display: flex; align-items: center; gap: .55rem; margin-top: 1.4rem; color: var(--muted); font-size: .88rem; font-weight: 600; flex-wrap: wrap; }
.hero-find span { margin-right: .3rem; }
.wall { position: relative; max-width: 520px; margin-inline: auto; width: 100%; padding: 1rem 0; }
.wall .glow { top: 50%; width: 460px; height: 460px; }
.wall-card { position: relative; z-index: 2; border-radius: 30px; padding: 1.3rem; background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06); }
.wall-head { display: flex; justify-content: space-between; align-items: center; color: var(--heading); font-weight: 800; font-size: 1.02rem; padding: .2rem .4rem 1rem; }
.wall-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .35rem; padding: 1rem .5rem .85rem; border-radius: 20px; background: var(--surface-2); border: 1px solid var(--line); color: var(--heading); animation: float 7s ease-in-out var(--d, 0s) infinite; transition: border-color .2s, transform .2s; }
.tile:hover { border-color: var(--em); color: var(--heading); }
.tile img { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .6), 0 0 0 1px var(--glass-line); background: var(--surface); }
.tile b { font-size: .8rem; line-height: 1.3; font-family: var(--font-bn); font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.1em; }
.tile small { color: var(--em-text); font-weight: 700; font-size: .74rem; }
.wall-foot { display: flex; justify-content: space-between; gap: .5rem; flex-wrap: wrap; margin-top: 1rem; padding: .8rem .5rem 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; font-weight: 600; }
.wall-foot i { color: var(--em-text); margin-right: .3rem; }
.wall .chip-float.c1 { left: -14px; top: -4px; } .wall .chip-float.c2 { right: -14px; bottom: -4px; }

.plats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.plat { padding: 1.7rem; }
.plat .ico { margin-bottom: 1rem; }
.plat h3 { font-size: 1.25rem; margin-bottom: .3rem; }
.plat-n { color: var(--muted); font-size: .92rem; margin-bottom: .9rem; }
.plat-n b { color: var(--heading); font-size: 1.15rem; }
.bar { height: 8px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; margin-bottom: .8rem; }
.bar i { display: block; height: 100%; border-radius: 99px; background: var(--grad); }
.plat small { color: var(--em-text); font-weight: 700; font-size: .8rem; }

.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.proj { display: flex; gap: 1.3rem; padding: 1.7rem; align-items: flex-start; color: var(--muted); height: 100%; }
.proj:hover { color: var(--muted); }
.proj .ico { flex: 0 0 auto; margin: 0; }
.proj h3 { font-size: 1.2rem; margin: .7rem 0 .5rem; }
.proj p { margin: 0 0 .9rem; font-size: .94rem; }
.proj .more { color: var(--em-text); font-weight: 700; font-size: .88rem; }
.proj:hover .more { color: var(--em-bright); }

@media (max-width: 1099px) {
    .wall { margin-top: .5rem; }
    .plats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .projects { grid-template-columns: 1fr; }
    .proj { flex-direction: column; gap: 1rem; }
    .wall-card { padding: 1rem; border-radius: 24px; }
    .wall-grid { gap: .55rem; } .tile { padding: .8rem .3rem .7rem; border-radius: 16px; } .tile img { width: 52px; height: 52px; border-radius: 13px; }
    .wall .chip-float.c1 { left: 0; top: -14px; } .wall .chip-float.c2 { right: 0; bottom: -14px; }
    .hero-find { justify-content: center; }
}
@media (max-width: 479px) { .plats { grid-template-columns: 1fr; } .wall-foot { justify-content: center; } }

.ico-img { width: 52px; height: 52px; object-fit: cover; padding: 0; background: var(--surface-2); }
.proj .ico-img { flex: 0 0 auto; margin: 0; }

/* ===== v3: mobile fixes (must stay last so they win over the v2 block) ===== */
@media (max-width: 1099px) {
    .hero-in { grid-template-columns: 1fr; gap: 2.2rem; text-align: center; }
    .hero .lead, .hero-cta { margin-inline: auto; }
    .hero-cta, .proof, .hero-find { justify-content: center; }
    .wall { max-width: 460px; }
}
@media (max-width: 767px) {
    .hero { padding: 2rem 0 2.2rem; }
    .hero h1 { font-size: clamp(2rem, 9vw, 2.6rem); line-height: 1.12; }
    .hero .lead { font-size: 1rem; line-height: 1.7; }
    .eyebrow { font-size: .76rem; padding: .38rem .85rem; }
    .hero-cta .btn { flex: 1 1 100%; }
    .proof { gap: .45rem 1rem; font-size: .84rem; }
    .wall { padding-top: 1.4rem; padding-bottom: 1.4rem; }
    .wall-foot { justify-content: space-between; font-size: .74rem; }
    .stats strong { font-size: 1.5rem; }
    .stats > div { padding: 1.2rem .6rem; }
    .section .head { margin-bottom: 2.2rem; }
}
@media (max-width: 400px) {
    .wall-grid { gap: .45rem; } .tile b { font-size: .74rem; } .tile img { width: 46px; height: 46px; }
    .chip-float { display: none; }
}

/* ===== v4: policy tables scroll on small screens ===== */
.policy-body table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
.policy-body th, .policy-body td { min-width: 9.5rem; vertical-align: top; }
.policy-body h3:first-child { margin-top: 0; }
