/* MadeWithIN: "Daylight" design. Plain CSS, system fonts, no external requests. */
:root {
  --ink: #0a1a4a;
  --navy: #0a2a8a;
  --blue: #247bff;
  --blue-text: #1d5fd1;
  --sky: #e8f0ff;
  --bg: #f7f9ff;
  --card: #ffffff;
  --muted: #55658f;
  --line: #dfe7fb;
  --dark: #071035;
  --max: 1180px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--blue-text); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
code { font-size: .78rem; word-break: break-all; color: var(--ink); background: var(--sky); padding: .1rem .35rem; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.wrap { width: min(var(--max), 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--blue); color: #fff; padding: .5rem 1rem; z-index: 50; }
.skip:focus { left: 0; }
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 40; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--blue), var(--navy)); }

/* ---- Header ---- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(247, 249, 255, .86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow .3s ease; }
.site-header.scrolled { box-shadow: 0 10px 30px -22px rgba(10, 42, 138, .5); }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 70px; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.25rem; letter-spacing: -.01em; }
.brand img { width: 38px; height: 38px; border-radius: 22%; }
.brand em { font-style: normal; color: var(--blue); }
nav ul { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; align-items: center; }
nav a { color: var(--muted); text-decoration: none; font-size: .98rem; padding: .35rem 0; border-bottom: 2px solid transparent; }
nav a:hover, nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--blue); }
nav a.btn { color: #fff; border-bottom: 0; padding: .65rem 1.3rem; }
nav a.btn:hover { color: #fff; }
.nav-toggle { display: none; background: #fff; border: 1px solid var(--line); color: var(--ink); border-radius: 10px; padding: .45rem .85rem; font: inherit; cursor: pointer; }

/* ---- Buttons and chips ---- */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.5rem; border-radius: 999px; font-weight: 700; text-decoration: none; border: 1px solid var(--line); background: #fff; color: var(--ink); transition: transform .2s ease, box-shadow .2s ease; }
.btn:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(10, 42, 138, .35); }
.btn-primary { background: linear-gradient(135deg, #1d68e0, #0a3fc4); color: #fff; border: 0; box-shadow: 0 14px 30px -12px rgba(36, 123, 255, .7); }
.btn-primary:hover { color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.tag { display: inline-block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; padding: .25rem .75rem; border-radius: 999px; background: #e1ecff; color: var(--navy); }
.tag-free { background: #dff5e8; color: #14753f; }
.tag-dev { background: #fff0d6; color: #a15c00; }
.eyebrow { color: var(--blue-text); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; margin: 0 0 .5rem; }

/* ---- Type ---- */
h1 { font-size: clamp(2.5rem, 5.8vw, 4.4rem); line-height: 1.05; letter-spacing: -.03em; margin: .4rem 0 1.1rem; font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.1; letter-spacing: -.02em; margin: .4rem 0 .8rem; font-weight: 800; }
h3 { font-size: 1.3rem; margin: 0 0 .4rem; letter-spacing: -.01em; }
.grad { background: linear-gradient(95deg, var(--navy), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: 1.2rem; max-width: 36rem; margin: 0 0 1.8rem; }
.sub { color: var(--muted); max-width: 40rem; }

/* ---- Sections ---- */
section { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.section-alt { background: #fff; border-block: 1px solid var(--line); }
.page-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 .5rem; }
.page-head h1 { max-width: 22ch; }

/* ---- Home hero ---- */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); }
.hero::before { content: ""; position: absolute; width: 760px; height: 760px; right: -180px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(36, 123, 255, .22), transparent 65%); }
.hero::after { content: ""; position: absolute; width: 520px; height: 520px; left: -200px; bottom: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(10, 42, 138, .12), transparent 65%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.pill { display: inline-flex; gap: .6rem; align-items: center; padding: .4rem 1rem .4rem .5rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--navy); text-decoration: none; box-shadow: 0 8px 24px -14px rgba(10, 42, 138, .4); }
.pill i { background: var(--blue); color: #fff; font-style: normal; font-size: .7rem; padding: .2rem .6rem; border-radius: 999px; letter-spacing: .06em; }
.proof { display: flex; flex-wrap: wrap; gap: 2.2rem; margin: 2.4rem 0 0; padding: 1.5rem 0 0; border-top: 1px solid var(--line); }
.proof div { display: flex; flex-direction: column-reverse; }
.proof dd { margin: 0; font-size: 2rem; font-weight: 800; letter-spacing: -.02em; color: var(--navy); line-height: 1.1; font-variant-numeric: tabular-nums; }
.proof dt { color: var(--muted); font-size: .85rem; }

/* phone mock-ups */
.stage { position: relative; height: 560px; }
.mock { position: absolute; width: 250px; border-radius: 38px; padding: 9px; background: #0b1230; box-shadow: 0 40px 80px -30px rgba(10, 26, 74, .55), inset 0 0 0 2px #26325f; }
.mock img { width: 100%; border-radius: 30px; }
.p1 { left: 2%; top: 50px; transform: rotate(-6deg); }
.p2 { right: 2%; top: 0; transform: rotate(5deg); z-index: 2; }
.chip { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: .7rem 1rem; box-shadow: 0 18px 40px -20px rgba(10, 42, 138, .45); font-weight: 700; font-size: .92rem; z-index: 3; display: flex; gap: .6rem; align-items: center; }
.chip i { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; display: inline-block; }
.c1 { left: -1%; bottom: 70px; }
.c2 { right: 6%; bottom: 20px; }

/* ---- Bento cards (home) ---- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.25rem; margin-top: 2.4rem; }
.card { position: relative; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 2rem; transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -34px rgba(10, 42, 138, .45); }
.card p { color: var(--muted); margin: .3rem 0 0; }
.card h3 { font-size: 1.7rem; }
.b-docr { grid-column: span 4; background: linear-gradient(145deg, #eaf2ff, #fff 60%); display: grid; grid-template-columns: 1fr 210px; gap: 1rem; align-items: end; }
.b-docr .mock { position: relative; width: 210px; transform: rotate(4deg); margin-bottom: -3.2rem; }
.b-game { grid-column: span 2; color: #fff; background: #06122e; min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none; }
.b-game:hover { color: #fff; }
.b-game::before { content: ""; position: absolute; inset: 0; background: url(../assets/drifter/drifter-the-ascent.jpg) 100% 78%/290% auto no-repeat; opacity: .8; }
.b-game::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 20%, #06122e 95%); }
.b-game > * { position: relative; z-index: 1; }
.b-game p { color: #c4d3f7; }
.b-game .tag { align-self: flex-start; margin-bottom: 1rem; }
.b-mini { grid-column: span 2; display: flex; flex-direction: column; gap: .4rem; }
.b-mini b { font-size: 2.6rem; letter-spacing: -.03em; color: var(--navy); line-height: 1; }
.b-mini h3 { font-size: 1.2rem; }
.b-wide { grid-column: span 4; background: var(--navy); border-color: var(--navy); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.b-wide h3 { color: #fff; }
.b-wide p { color: #b9c9f5; }
.b-wide .btn { color: var(--ink); }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2rem; }
.tile { display: block; aspect-ratio: 4 / 3; border-radius: 20px; border: 1px solid var(--line); background-size: 175% auto; background-position: 100% 65%; background-repeat: no-repeat; transition: transform .3s ease; }
.tile:hover { transform: scale(1.03); }
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-split img { width: 100%; max-width: 420px; justify-self: center; }

/* ---- Products page ---- */
.product { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.meta { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .5rem; }
.meta li { display: flex; gap: .75rem; border-top: 1px solid var(--line); padding-top: .5rem; }
.meta b { min-width: 7.5rem; color: var(--muted); font-weight: 600; }
.shot { margin: 0; }
.shot img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 20px; background: var(--sky); transition: transform .35s ease; }
.shot figcaption { color: var(--muted); font-size: .85rem; padding-top: .6rem; }
.shot.phone { justify-self: center; width: min(290px, 100%); }
.shot.phone img { border: 9px solid #0b1230; border-radius: 38px; background: #0b1230; box-shadow: 0 40px 70px -34px rgba(10, 26, 74, .6); }
.shot.phone figcaption { text-align: center; }
.crop { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 20px; border: 1px solid var(--line); background: #0a1530; }
.crop img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 70%; transform: scale(1.3); transform-origin: 100% 70%; border: 0; border-radius: 0; background: none; }
.shot:hover .crop img { transform: scale(1.36); }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.gallery.phones { grid-template-columns: repeat(auto-fit, minmax(200px, 280px)); justify-content: start; gap: 1.5rem; }
.video-block { display: grid; grid-template-columns: 1fr auto; gap: 2.5rem; align-items: center; margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.shot.vid { width: min(320px, 100%); }
.shot.vid video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 20px; border: 1px solid var(--line); background: #000; }

/* ---- Text pages ---- */
.prose { max-width: 44rem; }
.prose p, .prose li { color: var(--muted); }
.prose h2 { margin-top: 2.2rem; color: var(--ink); font-size: 1.45rem; }
.prose h3 { margin: 1.6rem 0 .2rem; color: var(--ink); font-size: 1.1rem; }
.wrap.prose { max-width: none; }
.wrap.prose > * { max-width: 44rem; }
.notice { border-left: 4px solid var(--blue); background: var(--sky); padding: 1rem 1.25rem; border-radius: 0 16px 16px 0; color: var(--ink) !important; }
.shot.phone.poster { width: min(380px, 100%); margin: 2.5rem 0 0; justify-self: start; }
.shot.phone.poster img { border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 30px 60px -34px rgba(10, 26, 74, .5); }

/* ---- Footer ---- */
.site-footer { background: var(--dark); color: #b9c9f5; padding: 3rem 0; font-size: .95rem; }
.site-footer strong { color: #fff; font-size: 1.1rem; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; }
.foot ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0 1.5rem; margin: 0; padding: 0; }
.foot a { color: #b9c9f5; display: inline-block; padding: .65rem 0; }
.foot a:hover { color: #fff; }

/* ---- Lightbox ---- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(94vw, 1280px); max-height: 92vh; color: #fff; }
.lightbox::backdrop { background: rgba(3, 8, 26, .88); backdrop-filter: blur(6px); }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 16px; margin: 0 auto; }
.lightbox p { text-align: center; color: #b9c9f5; margin: .6rem 0 0; font-size: .9rem; }
.lb-close { position: absolute; top: -.2rem; right: .2rem; z-index: 2; font-size: 1.8rem; line-height: 1; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1px solid #fff3; background: #0a1530; color: #fff; cursor: pointer; }

/* ---- Motion (respects reduced-motion) ---- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
  /* content is visible by default; the entrance animation only decorates it */
  .hero .pill, .hero h1, .hero .lead, .hero .actions, .hero .proof { animation: rise .8s cubic-bezier(.2, .7, .2, 1) backwards; }
  .hero h1 { animation-delay: .08s; }
  .hero .lead { animation-delay: .18s; }
  .hero .actions { animation-delay: .28s; }
  .hero .proof { animation-delay: .4s; }
  .p1 { animation: float1 7s ease-in-out infinite; }
  .p2 { animation: float2 8s ease-in-out infinite; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes float1 { 50% { transform: rotate(-6deg) translateY(-10px); } }
@keyframes float2 { 50% { transform: rotate(5deg) translateY(-12px); } }

/* ---- Small screens ---- */
@media (max-width: 900px) {
  .hero-grid, .product, .about-split, .video-block { grid-template-columns: 1fr; }
  .stage { height: 520px; }
  .bento { grid-template-columns: 1fr; }
  .b-docr, .b-game, .b-mini, .b-wide { grid-column: auto; }
  .b-docr { grid-template-columns: 1fr; }
  .b-docr .mock { margin: 1rem auto -3.2rem; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .shot.vid { justify-self: center; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 1rem 1.25rem 1.25rem; }
  nav.open { display: block; }
  nav ul { flex-direction: column; align-items: flex-start; gap: .6rem; }
  .meta li { flex-direction: column; gap: 0; }
  .stage { height: 470px; }
  .mock { width: 200px; }
  .c2 { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

/* ================= Interactive components ================= */

/* Indian tricolour for the "IN" in MadeWithIN */
.tri { font-style: normal; background: linear-gradient(180deg, #ff9933 0 36%, #f6f6f6 36% 64%, #138808 64% 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: .7px rgba(10, 26, 74, .5); letter-spacing: .01em; }
.site-footer .tri { background: linear-gradient(180deg, #ff9933 0 36%, #ffffff 36% 64%, #1aa10c 64% 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-stroke: .6px rgba(255, 255, 255, .25); }
.brand em.tri { color: transparent; }

/* ticker under the hero */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: #fff; padding: .85rem 0; }
.ticker div { display: flex; gap: 3rem; width: max-content; color: var(--navy); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .8rem; }
.ticker span::before { content: "\25C6"; color: var(--blue); margin-right: 3rem; font-size: .6rem; vertical-align: 2px; }
@media (prefers-reduced-motion: no-preference) { .ticker div { animation: tick 38s linear infinite; } }
@keyframes tick { to { transform: translateX(-50%); } }

/* mouse parallax on the hero (set by script) */
.hero::before { translate: calc(var(--px, 0) * 1px) calc(var(--py, 0) * 1px); }
.mock { translate: calc(var(--px, 0) * -.7px) calc(var(--py, 0) * -.7px); }
.chip { translate: calc(var(--px, 0) * .9px) calc(var(--py, 0) * .9px); }

/* ---------- interactive gallery (Drifter worlds) ---------- */
.gal { display: grid; gap: 1rem; max-width: 1040px; margin-inline: auto; }
.gal-stage { position: relative; aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden; background: #0a1530; border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(10, 26, 74, .55); outline-offset: 4px; touch-action: pan-y; }
.gal-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .8s ease; }
.gal-slide.on { opacity: 1; }
.gal-img { position: absolute; inset: 0; background-size: 150% auto; background-position: 100% 60%; background-repeat: no-repeat; transform: scale(1.06); transition: transform 7s ease; }
.gal-slide.on .gal-img { transform: scale(1); }
.gal-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 3rem 1.5rem 1.3rem; color: #fff; background: linear-gradient(transparent, rgba(6, 18, 46, .88)); display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.gal-cap b { font-size: clamp(1.15rem, 2.4vw, 1.6rem); letter-spacing: -.01em; }
.gal-cap span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #bcd2ff; white-space: nowrap; }
.gal-nav, .gal-expand { position: absolute; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: rgba(6, 18, 46, .45); color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; backdrop-filter: blur(8px); transition: background .2s ease, transform .2s ease; display: grid; place-items: center; }
.gal-nav:hover, .gal-expand:hover { background: rgba(36, 123, 255, .85); transform: scale(1.08); }
.gal-nav.prev { left: 14px; top: calc(50% - 22px); }
.gal-nav.next { right: 14px; top: calc(50% - 22px); }
.gal-expand { right: 14px; top: 14px; font-size: 1.1rem; }
.gal-progress { position: absolute; left: 0; top: 0; height: 3px; width: 0; z-index: 4; background: linear-gradient(90deg, #ff9933, #fff, #138808); }
.gal-progress.run { animation: galrun var(--dur, 6s) linear forwards; }
@keyframes galrun { to { width: 100%; } }
.gal-thumbs { display: flex; gap: .7rem; overflow-x: auto; padding: .4rem .2rem .6rem; scrollbar-width: thin; }
.gal-thumb { flex: 1 0 70px; aspect-ratio: 16 / 10; border-radius: 14px; border: 2px solid transparent; background-color: #0a1530; background-size: 200% auto; background-position: 100% 62%; background-repeat: no-repeat; cursor: pointer; opacity: .65; transition: opacity .25s ease, transform .25s ease, border-color .25s ease; padding: 0; }
.gal-thumb:hover { opacity: 1; }
.gal-thumb.on { opacity: 1; border-color: var(--blue); transform: translateY(-3px); box-shadow: 0 14px 24px -14px rgba(36, 123, 255, .8); }
.gal-full { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1400px); max-height: 94vh; color: #fff; overflow: visible; }
.gal-full::backdrop { background: rgba(3, 8, 26, .9); backdrop-filter: blur(8px); }
.gal-full img { max-width: 100%; max-height: 82vh; border-radius: 16px; margin: 0 auto; }
.gal-full p { text-align: center; color: #b9c9f5; margin: .7rem 0 0; }
.gal-full .gal-nav.prev { left: -4px; } .gal-full .gal-nav.next { right: -4px; }
.gal-full .lb-close { top: -2.6rem; right: 0; }

/* ---------- interactive phone (themes / screens) ---------- */
.pshow { display: grid; justify-items: center; gap: 1.2rem; }
.pshow-tabs { display: inline-flex; padding: .3rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 24px -16px rgba(10, 42, 138, .5); }
.pshow-tabs button { border: 0; background: none; font: inherit; font-weight: 700; font-size: .9rem; padding: .5rem 1.1rem; border-radius: 999px; color: var(--muted); cursor: pointer; transition: background .25s ease, color .25s ease; }
.pshow-tabs button[aria-selected="true"] { background: linear-gradient(135deg, #1d68e0, #0a3fc4); color: #fff; }
.pshow-phone { position: relative; width: min(290px, 70vw); aspect-ratio: 640 / 1408; border-radius: 40px; border: 9px solid #0b1230; background: #0b1230; box-shadow: 0 50px 80px -34px rgba(10, 26, 74, .6), 0 0 0 1px #26325f; overflow: hidden; }
.pshow-phone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; border: 0; border-radius: 0; opacity: 0; transform: scale(1.03); transition: opacity .6s ease, transform .8s ease; }
.pshow-phone img.on { opacity: 1; transform: none; }
.pshow-cap { margin: 0; color: var(--muted); font-size: .9rem; min-height: 1.4em; text-align: center; }

/* ---------- tools explorer ---------- */
.tools-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.2rem 0 1rem; }
.tools-tabs button { border: 1px solid var(--line); background: #fff; font: inherit; font-weight: 700; font-size: .92rem; padding: .55rem 1.15rem; border-radius: 999px; color: var(--ink); cursor: pointer; transition: all .2s ease; }
.tools-tabs button:hover { border-color: var(--blue); }
.tools-tabs button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.tools-panel[hidden] { display: none; }
.tools-panel p { margin: 0 0 .9rem; color: var(--muted); }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .55rem; }
.chips li { padding: .45rem .95rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .9rem; color: var(--navy); animation: pop .4s ease backwards; }
.chips li:nth-child(2) { animation-delay: .03s; } .chips li:nth-child(3) { animation-delay: .06s; } .chips li:nth-child(4) { animation-delay: .09s; } .chips li:nth-child(n+5) { animation-delay: .12s; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.96); } }
.dr-split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 3.5rem; align-items: center; }
.points { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .7rem; }
.points li { display: flex; gap: .75rem; color: var(--muted); }
.points li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: #dff5e8 center/12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314753f' stroke-width='3.2'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); }

/* ---------- video card with a custom play button ---------- */
.vsplit { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center; }
.vcard { position: relative; width: min(330px, 100%); aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; background: #06122e; border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(10, 26, 74, .6); }
.vcard img, .vcard video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vplay { position: absolute; inset: 0; width: 100%; border: 0; background: linear-gradient(transparent 55%, rgba(6, 18, 46, .75)); cursor: pointer; display: grid; place-items: center; color: #fff; }
.vplay i { width: 78px; height: 78px; border-radius: 50%; background: rgba(255, 255, 255, .95); display: grid; place-items: center; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .5); transition: transform .25s ease; }
.vplay i::after { content: ""; border-left: 22px solid #0a3fc4; border-block: 13px solid transparent; margin-left: 6px; }
.vplay:hover i { transform: scale(1.1); }
.vplay span { position: absolute; left: 0; right: 0; bottom: 1.2rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; }
.vtext .tag { margin-bottom: 1rem; }

@media (max-width: 900px) {
  .dr-split, .vsplit { grid-template-columns: 1fr; gap: 2rem; }
  .vcard { justify-self: center; }
  .gal-nav { width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) { .gal-img, .gal-slide, .pshow-phone img, .chips li { transition: none; animation: none; } }
