/* Abhidini Labs studio site. Light and dark follow the device. No web fonts. */
:root {
  color-scheme: light dark;
  --bg: #f6f4ff;
  --surface: #ffffff;
  --surface-2: #eeeaff;
  --text: #1c1930;
  --muted: #58546e;
  --line: #ddd8f2;
  --accent: #5444d1;
  --accent-ink: #ffffff;
  --accent-soft: #e6e1ff;
  --play-bg: #14111f;
  --play-ink: #ffffff;
  --hero-a: #3b2fa0;
  --hero-b: #6a4ae6;
  --hero-c: #b13d8c;
  --shadow: 0 1px 2px rgba(40, 30, 90, .08), 0 8px 24px rgba(40, 30, 90, .08);
  --radius: 18px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14111f;
    --surface: #1d1930;
    --surface-2: #272243;
    --text: #efecfb;
    --muted: #b4afcc;
    --line: #342e55;
    --accent: #b9adff;
    --accent-ink: #1a1530;
    --accent-soft: #2b2550;
    --play-bg: #f3f1ff;
    --play-ink: #14111f;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); font-weight: 750; margin-top: 2.2em; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; color: var(--text); text-decoration: none; letter-spacing: -.01em; white-space: nowrap; }
.brand img { border-radius: 9px; }
.site-header nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.site-header nav::-webkit-scrollbar { display: none; }
.site-header nav a { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.site-header nav a:hover { background: var(--surface-2); color: var(--text); }

/* hero */
.hero { background: linear-gradient(135deg, var(--hero-a), var(--hero-b) 58%, var(--hero-c)); color: #fff; padding: clamp(40px, 7vw, 84px) 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.eyebrow { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; opacity: .9; margin-bottom: 12px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.hero .lead { color: rgba(255, 255, 255, .92); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.btn-light { background: #fff; color: #2c2278; }
.btn-ghost { border: 2px solid rgba(255, 255, 255, .7); color: #fff; }
.btn-light:hover, .btn-ghost:hover { transform: translateY(-1px); }
.stats { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .95rem; opacity: .95; }
.stats strong { font-size: 1.15rem; }
.hero-icons { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; transform: rotate(-4deg); max-width: 360px; margin-left: auto; }
.hero-icons li:nth-child(even) { transform: translateY(18px); }
.hero-icons img { width: 100%; height: auto; border-radius: 22%; box-shadow: 0 10px 28px rgba(0, 0, 0, .3); display: block; }

/* sections */
.section { padding-block: 8px 24px; }
.section-lead { color: var(--muted); max-width: 62ch; }
.page-head { padding-top: 24px; }
.page-head .lead { margin-bottom: .8em; }
.band { background: var(--surface); border-block: 1px solid var(--line); margin-top: 40px; padding: 8px 0 40px; }
.pillars { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.pillars p { color: var(--muted); margin: 0; }

/* filters and chips */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.filter { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); text-decoration: none; font-weight: 650; font-size: .95rem; }
.filter span { color: var(--muted); font-weight: 600; font-size: .85rem; }
.filter[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.filter[aria-pressed="true"] span { color: inherit; opacity: .85; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.chip { display: inline-block; padding: 2px 11px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: .8rem; font-weight: 700; line-height: 1.7; }
.chip-soon { background: #fff1c9; color: #6a4a00; }
@media (prefers-color-scheme: dark) { .chip-soon { background: #4a3a10; color: #ffe39a; } }
.chip-link { text-decoration: none; font-size: .95rem; padding: 6px 16px; }

/* cards */
.grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.card { position: relative; display: flex; gap: 14px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .15s ease, border-color .15s ease; }
.card:hover { transform: translateY(-2px); border-color: var(--accent); }
.card[hidden] { display: none; }
.card-icon { flex: none; width: 72px; height: 72px; border-radius: 22%; background: var(--surface-2); }
.card-body { min-width: 0; display: flex; flex-direction: column; flex: 1; }
.card-title { margin: 0; font-size: 1.1rem; }
.card-title a { color: var(--text); text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card-sub { margin: 0 0 6px; color: var(--accent); font-weight: 650; font-size: .88rem; }
.card-tag { margin: 0 0 12px; color: var(--muted); font-size: .94rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }

/* Google Play button (own artwork, not the official badge) */
.play { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; background: var(--play-bg); color: var(--play-ink); text-decoration: none; padding: 9px 18px 9px 14px; border-radius: 12px; line-height: 1.15; font-weight: 700; font-size: 1.1rem; border: 1px solid color-mix(in srgb, var(--play-ink) 30%, transparent); }
.play small { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; opacity: .85; }
.play-ico { width: 26px; height: 26px; color: #34d17a; flex: none; }
.play-sm { padding: 5px 12px 5px 9px; font-size: .85rem; border-radius: 999px; gap: 6px; }
.play-sm .play-ico { width: 15px; height: 15px; }
.play:hover { transform: translateY(-1px); }

/* category cards */
.cat-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.cat-card { display: block; height: 100%; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); box-shadow: var(--shadow); }
.cat-card:hover { border-color: var(--accent); }
.cat-card h3 { margin: 10px 0 4px; }
.cat-card p { margin: 0 0 8px; color: var(--muted); font-size: .95rem; }
.cat-icons { display: flex; }
.cat-icons img { border-radius: 22%; margin-right: -8px; border: 2px solid var(--surface); }
.cat-count { color: var(--accent); font-weight: 700; font-size: .85rem; }

/* breadcrumbs */
.crumbs ol { list-style: none; padding: 0; margin: 20px 0 14px; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: .9rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.crumbs a { color: var(--muted); }

/* app page */
.app-hero { display: flex; gap: 24px; align-items: center; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); }
.app-icon { flex: none; width: 128px; height: 128px; border-radius: 22%; box-shadow: 0 8px 22px rgba(0, 0, 0, .22); }
.app-hero h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: .25em; }
.app-hero .lead { margin-bottom: 0; font-size: 1.05rem; }
.app-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 16px; }
.soon { margin: 0; font-weight: 700; }
.text-link { font-weight: 600; }
.shots-wrap { margin: 28px 0 0; }
.shots { list-style: none; padding: 4px 2px 14px; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.shots li { flex: none; scroll-snap-align: start; }
.shots img { display: block; height: 380px; width: auto; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--surface-2); }
.prose { max-width: 760px; }
.prose h2:first-child { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin: .35em 0; }
.narrow-left { max-width: 760px; }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin: 44px 0 8px; padding: 26px; border-radius: 24px; background: linear-gradient(135deg, var(--hero-a), var(--hero-b)); color: #fff; }
.cta-band h2 { margin: 0 0 4px; color: #fff; font-size: 1.5rem; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .9); max-width: 46ch; }
.cta-band .play { background: #fff; color: #14111f; border-color: transparent; }
.see-all { margin-top: 14px; font-weight: 650; }
.app-page > section { margin-top: 8px; }

/* faq */
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; margin: 10px 0; }
.faq-item summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--accent); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--muted); margin: 0 0 16px; }
.plain-list { padding-left: 1.2em; }
.plain-list li { margin: .4em 0; }

/* footer */
.site-footer { margin-top: 64px; background: var(--surface); border-top: 1px solid var(--line); padding: 36px 0 28px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.foot h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 10px; }
.foot ul { list-style: none; padding: 0; }
.foot li { margin: 6px 0; }
.foot p { color: var(--muted); margin: 10px 0 0; }
.legal { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }

@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-icons { display: none; }
  .app-hero { flex-direction: column; align-items: flex-start; text-align: left; }
  .app-icon { width: 104px; height: 104px; }
  .shots img { height: 320px; }
  .foot { grid-template-columns: 1fr; }
  .bar { flex-wrap: wrap; padding-block: 8px; gap: 4px 16px; }
  .site-header nav { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
