/* iAtharva Labs — shared stylesheet (landing + product pages)
   Design system kept in sync with iatharva.tech: Space Grotesk + Inter, emerald accent. */

/* ── Tokens ── */
:root[data-theme="dark"] {
  --bg:         #0D0D0F;
  --surface:    #141416;
  --surface-2:  #17171B;
  --border:     #1E1E24;
  --accent:     #22C97E;
  --accent-2:   #8CF0C0;
  --accent-dim: #1E5A3E;
  --text:       #E8E8F0;
  --muted:      #6B6B7A;
  --tag-bg:     #1A1A22;
  --glow:       rgba(34, 201, 126, 0.16);
  --ok:         #5DCAA5;
  --ok-bg:      rgba(29, 158, 117, 0.14);
  --beta:       #EF9F27;
  --beta-bg:    rgba(239, 159, 39, 0.14);
}
:root[data-theme="light"] {
  --bg:         #F5F5F8;
  --surface:    #FFFFFF;
  --surface-2:  #FAFAFC;
  --border:     #E0E0E8;
  --accent:     #1FA968;
  --accent-2:   #1FA968;
  --accent-dim: #DFF7EA;
  --text:       #111114;
  --muted:      #7A7A8A;
  --tag-bg:     #EDEDF5;
  --glow:       rgba(31, 169, 104, 0.22);
  --ok:         #0F6E56;
  --ok-bg:      #DFF3EC;
  --beta:       #92600A;
  --beta-bg:    #FBEFD6;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: background 0.3s, color 0.3s;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
.gk { font-family: 'Space Grotesk', sans-serif; }

/* ── Grain texture ── */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  mix-blend-mode: overlay;
  opacity: 0.045;
}

/* ── Nav ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 5vw, 4rem);
  height: 64px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
}
.nav-logo span { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 1.35rem; }
.nav-link {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--text); }

/* Theme toggle */
.theme-toggle {
  position: relative;
  width: 46px;
  height: 25px;
  background: var(--tag-bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.3s;
  flex-shrink: 0;
}
.theme-toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}
[data-theme="light"] .theme-toggle::after { transform: translateX(21px); }

/* ── Reveal on scroll ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ── Shared layout ── */
.wrap { max-width: 1160px; margin: 0 auto; padding-left: clamp(1.25rem, 5vw, 2rem); padding-right: clamp(1.25rem, 5vw, 2rem); }
.divider { width: 100%; height: 1px; background: var(--border); max-width: 1160px; margin: 0 auto; }

.eyebrow {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 5px 14px;
  border-radius: 999px;
}
[data-theme="dark"] .eyebrow { color: var(--accent-2); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border-radius: 9px;
  padding: 12px 24px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s, border-color 0.2s, color 0.2s;
  border: 1px solid transparent;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-ghost { border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-2); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-note { font-size: 0.82rem; color: var(--muted); margin-top: 0.9rem; }

/* ── Hero (landing) ── */
.hero {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 7rem) clamp(1.25rem, 5vw, 2rem) clamp(3rem, 7vw, 5rem);
  text-align: center;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -30%;
  left: 50%;
  width: 620px;
  height: 620px;
  max-width: 120vw;
  background: radial-gradient(circle at center, var(--glow), transparent 62%);
  pointer-events: none;
  z-index: 0;
  animation: glow-breathe 16s ease-in-out infinite;
}
@keyframes glow-breathe {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.75; }
  50%      { transform: translateX(-50%) scale(1.3); opacity: 1; }
}
.hero > *:not(.hero-glow) { position: relative; z-index: 1; }
.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.1rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 1.8rem 0 1.4rem;
}
.hero h1 em { font-style: normal; color: var(--accent); }
[data-theme="dark"] .hero h1 em { color: var(--accent-2); }
.hero p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--muted);
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto 2.4rem;
}
.hero p strong { color: var(--text); font-weight: 600; }

/* ── Products section ── */
.apps { max-width: 1160px; margin: 0 auto; padding: clamp(3rem, 7vw, 5.5rem) clamp(1.25rem, 5vw, 2rem); }
.section-header { margin-bottom: 2.6rem; }
.section-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 0.6rem;
}
.section-header h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--text);
}

.cards { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards > .card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 980px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .cards > .card:last-child:nth-child(odd) { grid-column: auto; }
}
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(500px circle at 50% -20%, var(--glow), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.card:hover { border-color: var(--accent); transform: translateY(-4px); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }

.card-top { display: flex; align-items: center; justify-content: space-between; }
.card-glyph {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--accent-dim);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
[data-theme="dark"] .card-glyph { color: var(--accent-2); }
.card-glyph svg { width: 21px; height: 21px; }

/* Per-product identity tints */
.card-glyph.tint-teal { background: rgba(29, 158, 117, 0.14); color: #5DCAA5; }
[data-theme="light"] .card-glyph.tint-teal { background: #DFF3EC; color: #0F6E56; }
.card-glyph.tint-warm { background: rgba(239, 159, 39, 0.14); color: #EF9F27; }
[data-theme="light"] .card-glyph.tint-warm { background: #FBEFD6; color: #92600A; }
.card-glyph.tint-blue { background: rgba(55, 138, 221, 0.14); color: #85B7EB; }
[data-theme="light"] .card-glyph.tint-blue { background: #E6F1FB; color: #185FA5; }

.card-glyph-icon { background: none; padding: 0; overflow: hidden; }
.card-glyph-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 11px; }

.card-glyph-icon.card-glyph-pad { background: rgba(124, 58, 237, 0.14); padding: 8px; }
[data-theme="light"] .card-glyph-icon.card-glyph-pad { background: #EFE7FC; }
.card-glyph-icon.card-glyph-pad img { object-fit: contain; border-radius: 0; }

.badge {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.badge::before { content: '●'; font-size: 0.55em; }
.badge-live { color: var(--ok); background: var(--ok-bg); }
.badge-beta { color: var(--beta); background: var(--beta-bg); }
.badge-soon { color: var(--muted); background: var(--tag-bg); }
.badge-soon::before { content: none; }

.card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-top: 0.15rem;
}
.card p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; flex: 1; }
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}
.card-plat { font-size: 0.76rem; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.card-plat svg { width: 14px; height: 14px; }
.card-more { font-family: 'Space Grotesk', sans-serif; font-size: 0.82rem; font-weight: 600; color: var(--accent); }
[data-theme="dark"] .card-more { color: var(--accent-2); }
.card-more.dim { color: var(--muted); }
.card[aria-disabled="true"] { cursor: default; }
.card[aria-disabled="true"]:hover { border-color: var(--border); transform: none; }
.card[aria-disabled="true"]:hover::before { opacity: 0; }

/* ── About strip ── */
.about-strip { max-width: 1160px; margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 2rem) clamp(3rem, 7vw, 5rem); }
.about-inner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(2rem, 5vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.about-text p { font-size: 0.88rem; color: var(--muted); line-height: 1.7; max-width: 520px; }
.about-text strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.about-link {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--border);
  padding: 10px 22px;
  border-radius: 9px;
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s;
  flex-shrink: 0;
}
.about-link:hover { border-color: var(--accent); color: var(--accent-2); }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem clamp(1.25rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-left { font-family: 'Space Grotesk', sans-serif; font-size: 0.85rem; color: var(--muted); }
.footer-left a { color: var(--accent); text-decoration: none; }
[data-theme="dark"] .footer-left a { color: var(--accent-2); }
.footer-right { display: flex; gap: 1.25rem; }
.footer-right a { font-size: 0.82rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-right a:hover { color: var(--text); }

/* ═══════════════════════ PRODUCT (detail) PAGES ═══════════════════════ */

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.back-link:hover { color: var(--text); }
.back-link svg { width: 14px; height: 14px; }

/* Product hero */
.p-hero { position: relative; padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 5vw, 3.5rem); overflow: hidden; }
.p-hero-glow {
  position: absolute;
  top: -40%;
  left: 12%;
  width: 560px; height: 560px; max-width: 110vw;
  background: radial-gradient(circle at center, var(--glow), transparent 62%);
  pointer-events: none; z-index: 0;
  animation: glow-breathe-a 18s ease-in-out infinite;
}
@keyframes glow-breathe-a {
  0%, 100% { transform: scale(1); opacity: 0.75; }
  50%      { transform: scale(1.3); opacity: 1; }
}
.p-hero .wrap { position: relative; z-index: 1; }
.p-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; margin-top: 1.6rem; }
.p-app-icon { width: 56px; height: 56px; border-radius: 14px; overflow: hidden; margin-bottom: 1.1rem; }
.p-app-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.p-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1.3rem; }
.p-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.1rem, 5.2vw, 3.4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.1rem;
}
.p-hero h1 em { font-style: normal; color: var(--accent); }
[data-theme="dark"] .p-hero h1 em { color: var(--accent-2); }
.p-lede { font-size: clamp(1rem, 2vw, 1.12rem); color: var(--muted); line-height: 1.7; max-width: 440px; margin-bottom: 1.8rem; }
.p-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Product hero visual (glyph panel / mock) */
.p-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.4rem 1.5rem;
  min-height: 240px;
}
.p-visual-head { font-family: 'Space Grotesk', sans-serif; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.rolelist { display: flex; flex-direction: column; gap: 0.7rem; }
.rolerow { display: flex; align-items: center; justify-content: space-between; font-size: 0.85rem; }
.rolerow .r-name { display: inline-flex; align-items: center; gap: 8px; color: var(--text); }
.rolerow .r-name svg { width: 15px; height: 15px; }
.rolerow .r-note { color: var(--muted); font-size: 0.8rem; }

/* Section scaffolding */
.p-section { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.p-section .kicker { font-family: 'Space Grotesk', sans-serif; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); font-weight: 500; margin-bottom: 0.7rem; }
[data-theme="dark"] .p-section .kicker { color: var(--accent-2); }
.p-section h2 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 600; letter-spacing: -0.025em; color: var(--text); margin-bottom: 0.6rem; }
.p-section .sub { color: var(--muted); font-size: 0.95rem; line-height: 1.7; max-width: 560px; margin-bottom: 2.2rem; }

/* Screenshot gallery */
.shots-grid { display: grid; gap: 1.2rem; }
.shot { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--surface); transition: transform 0.25s, border-color 0.25s; cursor: zoom-in; }
.shot:hover { transform: translateY(-4px); border-color: var(--border-hi); }
.shot img { width: 100%; display: block; }
.shot figcaption { padding: 0.7rem 1rem 0.9rem; font-size: 0.82rem; color: var(--muted); text-align: center; }
@media (min-width: 760px) { .shots-grid { grid-template-columns: repeat(3, 1fr); } }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,0.88);
  display: none; align-items: center; justify-content: center;
  z-index: 200; padding: 2rem; cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox-fig { display: flex; flex-direction: column; align-items: center; max-width: 92vw; max-height: 90vh; }
.lightbox-fig img { max-width: 92vw; max-height: 78vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); cursor: default; display: block; }
.lightbox-fig figcaption { color: #fff; opacity: 0.85; font-size: 0.9rem; margin-top: 1rem; text-align: center; }
.lightbox-close, .lightbox-nav {
  border: none; background: rgba(255,255,255,0.12); color: #fff;
  cursor: pointer; display: grid; place-items: center; transition: background 0.2s;
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,0.22); }
.lightbox-close {
  position: absolute; top: 1.2rem; right: 1.5rem; width: 40px; height: 40px;
  border-radius: 50%; font-size: 1.6rem; line-height: 1;
}
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.9rem; line-height: 1;
}
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
@media (max-width: 560px) {
  .lightbox-nav { width: 38px; height: 38px; font-size: 1.5rem; }
  .lightbox-prev { left: 0.6rem; }
  .lightbox-next { right: 0.6rem; }
}

/* Feature grid */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.1rem; }
.feat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.4rem;
  transition: border-color 0.25s, transform 0.25s;
}
.feat:hover { border-color: var(--accent); transform: translateY(-3px); }
.feat-ic {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--accent-dim); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
[data-theme="dark"] .feat-ic { color: var(--accent-2); }
.feat-ic svg { width: 20px; height: 20px; }
.feat h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 0.4rem; letter-spacing: -0.01em; }
.feat p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

/* Roles / spec table */
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.spec-table th, .spec-table td { text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid var(--border); }
.spec-table thead th { font-family: 'Space Grotesk', sans-serif; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.spec-table tbody td { color: var(--muted); }
.spec-table tbody td:first-child { color: var(--text); font-weight: 500; }
.spec-wrap { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--surface); }
.spec-wrap .spec-table tr:last-child td { border-bottom: none; }

/* Alternating callout rows */
.callouts { display: flex; flex-direction: column; gap: 1rem; }
.callout {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.4rem 1.5rem;
  align-items: start;
}
.callout-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-dim); color: var(--accent); display: flex; align-items: center; justify-content: center; }
[data-theme="dark"] .callout-ic { color: var(--accent-2); }
.callout-ic svg { width: 22px; height: 22px; }
.callout h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.05rem; font-weight: 600; color: var(--text); margin-bottom: 0.35rem; }
.callout p { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }

/* NL query examples (Lumin) */
.nl-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0.8rem; }
.nl-row {
  display: flex; align-items: center; gap: 0.8rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 11px; padding: 0.85rem 1rem;
}
.nl-q { font-family: 'Space Grotesk', sans-serif; font-size: 0.86rem; color: var(--text); }
.nl-arrow { color: var(--accent); flex-shrink: 0; }
[data-theme="dark"] .nl-arrow { color: var(--accent-2); }
.nl-a { font-size: 0.8rem; color: var(--muted); margin-left: auto; text-align: right; }

/* Tech strip */
.tech-strip { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.tech-chip {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 999px;
}

/* CTA band */
.cta-band {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: clamp(2.2rem, 5vw, 3.4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(600px circle at 50% 120%, var(--glow), transparent 60%);
  pointer-events: none;
  animation: glow-breathe-b 20s ease-in-out infinite;
}
@keyframes glow-breathe-b {
  0%, 100% { transform: scale(1); opacity: 0.75; }
  50%      { transform: scale(1.15); opacity: 1; }
}
.cta-band > * { position: relative; }
.cta-band h2 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 600; letter-spacing: -0.025em; color: var(--text); margin-bottom: 0.7rem; }
.cta-band p { color: var(--muted); font-size: 0.95rem; line-height: 1.7; max-width: 460px; margin: 0 auto 1.8rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ── Platform download dropdowns (dl-*) ── */
.dl-group { position: relative; display: flex; align-items: center; gap: 12px; }
.dl-dropdown summary { list-style: none; cursor: pointer; }
.dl-dropdown summary::-webkit-details-marker { display: none; }
.dl-caret { width: 10px; height: 10px; margin-left: 2px; transition: transform 0.2s; }
.dl-dropdown[open] .dl-caret { transform: rotate(180deg); }
.dl-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  min-width: 210px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
.dl-menu a, .dl-menu-disabled {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.86rem;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
}
.dl-menu a:hover { background: var(--tag-bg); color: var(--accent-2); }
.dl-menu-disabled { color: var(--muted); cursor: not-allowed; opacity: 0.6; }
.dl-tag {
  display: none;
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 2px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
[data-theme="dark"] .dl-tag { color: var(--accent-2); }
.dl-group.dl-suggested .dl-tag { display: block; }
.dl-group.dl-suggested > .btn,
.dl-group.dl-suggested > summary { border-color: var(--accent); }

/* ── Responsive ── */
@media (max-width: 760px) {
  .p-hero-grid { grid-template-columns: 1fr; }
  .p-visual { order: -1; }
}
@media (max-width: 560px) {
  .nav-link { display: none; }
  .about-inner { flex-direction: column; align-items: flex-start; }
  .footer-right { gap: 1rem; }
  .nl-a { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
