:root {
  --bg: #f5f5f7;
  --bg-alt: #eaeaef;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-solid: #ffffff;
  --window-bg: rgba(245, 245, 247, 0.85);
  --window-titlebar: linear-gradient(180deg, #ececee 0%, #dcdce0 100%);
  --text: #1d1d1f;
  --text-soft: #515154;
  --muted: #86868b;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.14);
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --accent-press: #0064cc;
  --grad-1: #0071e3;
  --grad-2: #af52de;
  --grad-3: #ff375f;
  --shadow-window: 0 30px 60px -15px rgba(0, 0, 0, 0.25), 0 8px 20px -10px rgba(0, 0, 0, 0.15);
  --shadow-window-hover: 0 40px 80px -15px rgba(0, 0, 0, 0.32), 0 14px 30px -10px rgba(0, 0, 0, 0.18);
  --radius-window: 14px;
  --radius-card: 18px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(1000px 600px at 10% -10%, rgba(0, 113, 227, 0.18), transparent 60%),
    radial-gradient(1000px 600px at 90% 10%, rgba(175, 82, 222, 0.18), transparent 60%),
    radial-gradient(800px 600px at 50% 100%, rgba(255, 55, 95, 0.10), transparent 60%),
    var(--bg);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 12px; }

p { line-height: 1.6; color: var(--text-soft); }

.muted { color: var(--muted); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 760px; }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 18px;
}

.grad {
  background: linear-gradient(90deg, var(--grad-1), var(--grad-2) 60%, var(--grad-3));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== Menubar ===== */
.menubar {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.menubar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 30px;
  padding: 0 18px;
  font-size: 13px;
}
.menubar-left, .menubar-right { display: flex; gap: 18px; align-items: center; }
.menu-item { cursor: pointer; opacity: 0.92; }
.menu-item.bold { font-weight: 700; }
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: inherit;
}
.brand-mark { display: inline-block; vertical-align: middle; border-radius: 4px; }
.menu-icon { opacity: 0.7; cursor: pointer; font-size: 14px; }
.menu-time { font-variant-numeric: tabular-nums; opacity: 0.85; }
.apple-logo { font-size: 14px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: clamp(60px, 9vw, 120px) 24px 80px;
  text-align: center;
  overflow: hidden;
}
.hero-content {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
}
.hero-content h1 { margin-bottom: 22px; }
.hero-content .lead {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--text-soft);
  max-width: 640px;
  margin: 0 auto 36px;
}
.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 980px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-primary:active { background: var(--accent-press); transform: translateY(0); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: rgba(0, 0, 0, 0.04); }

/* ===== Window component ===== */
.window {
  background: var(--window-bg);
  border-radius: var(--radius-window);
  box-shadow: var(--shadow-window);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  position: relative;
}
.window-titlebar {
  display: flex;
  align-items: center;
  height: 38px;
  padding: 0 14px;
  background: var(--window-titlebar);
  border-bottom: 1px solid var(--line);
  position: relative;
  flex-shrink: 0;
}
.traffic { display: flex; gap: 8px; }
.dot {
  width: 12px; height: 12px; border-radius: 50%;
  display: inline-block;
  border: 0.5px solid rgba(0, 0, 0, 0.15);
}
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }
.window-title {
  position: absolute;
  left: 0; right: 0; text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-soft);
  pointer-events: none;
}
.window-body { padding: 28px; }

/* ===== Hero window ===== */
.hero-window {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}
.hero-window-body { padding: 36px 28px; }
.hero-icon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.dock-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-soft);
  cursor: pointer;
  transition: transform 0.2s ease;
  text-decoration: none;
}
.dock-app:hover { transform: translateY(-6px); }
.dock-icon-img {
  width: 76px; height: 76px;
  border-radius: 22px;
  display: block;
  object-fit: cover;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* ===== Sections ===== */
.section { padding: clamp(70px, 10vw, 120px) 0; }
.section-alt {
  background: linear-gradient(180deg, rgba(255,255,255,0.5), rgba(234,234,239,0.6));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}
.section-head h2 { margin-bottom: 16px; }

/* ===== App grid (7 apps) ===== */
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.app-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.app-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-window-hover);
}
.app-card-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px;
  flex: 1;
}
.app-icon {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.app-meta { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.app-meta h3 { font-size: 1.35rem; }
.app-category {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 4px;
}
.app-meta p { font-size: 0.92rem; line-height: 1.5; margin: 0; }
.app-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 980px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.badge-free {
  background: rgba(40, 200, 64, 0.14);
  color: #1f8a36;
  border: 1px solid rgba(40, 200, 64, 0.3);
}
.badge-mac {
  background: rgba(0, 113, 227, 0.14);
  color: #0064cc;
  border: 1px solid rgba(0, 113, 227, 0.3);
}
.badge-soon {
  background: rgba(175, 82, 222, 0.14);
  color: #8b3fb8;
  border: 1px solid rgba(175, 82, 222, 0.3);
}
.mac-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  background: linear-gradient(135deg, #af52de, #5e5ce6);
  color: #fff;
}
.mac-soon {
  border: 1px dashed rgba(175, 82, 222, 0.4);
}
.app-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  transition: transform 0.2s ease;
}
.app-card:hover .app-cta { transform: translateX(4px); }

/* ===== Categories ===== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.cat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.cat-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.cat-icon {
  font-size: 32px;
  margin-bottom: 14px;
  display: inline-block;
}
.cat-card h3 { margin-bottom: 8px; }
.cat-card p { font-size: 0.92rem; margin-bottom: 14px; }
.cat-apps {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

/* ===== About ===== */
.about-block { text-align: left; }
.about-block .section-head { text-align: left; margin-bottom: 30px; }
.about-block p {
  font-size: 1.08rem;
  line-height: 1.65;
  margin-bottom: 18px;
}

/* ===== Contact form ===== */
.contact-form .window-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-soft);
  font-weight: 500;
}
.contact-form input,
.contact-form textarea {
  font-family: var(--font);
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(255,255,255,0.7);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.18);
}
.form-status {
  font-size: 0.88rem;
  color: var(--accent);
  min-height: 1.2em;
}

/* ===== Footer ===== */
footer {
  padding: 60px 24px 32px;
  background: #1d1d1f;
  color: #b0b0b5;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 30px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-grid h4 { color: #fff; }
.footer-grid a {
  display: block;
  color: #b0b0b5;
  padding: 4px 0;
  font-size: 0.9rem;
  transition: color 0.15s ease;
}
.footer-grid a:hover { color: #fff; }
.footer-grid p { color: #86868b; }
.footer-brand {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
}
.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  text-decoration: none;
}
.footer-mark { border-radius: 9px; }
.footer-bottom {
  text-align: center;
  padding-top: 24px;
  font-size: 0.82rem;
  color: #86868b;
}

/* ===== Detail page ===== */
.app-hero {
  padding: 80px 24px 60px;
  position: relative;
}
.app-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-soft);
  margin-bottom: 30px;
  font-weight: 500;
  transition: color 0.2s ease;
}
.app-back-link:hover { color: var(--accent); }
.app-hero-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 50px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}
.app-hero-icon {
  width: 200px;
  height: 200px;
  border-radius: 44px;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.app-hero-content h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: 14px;
}
.app-hero-tagline {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--text-soft);
  margin-bottom: 26px;
  line-height: 1.5;
}
.app-hero-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.meta-chip {
  font-size: 0.78rem;
  padding: 6px 12px;
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line-strong);
  color: var(--text-soft);
  font-weight: 500;
  backdrop-filter: blur(10px);
}
.meta-chip-iap {
  background: rgba(255, 159, 10, 0.12);
  color: #b45309;
  border-color: rgba(255, 159, 10, 0.3);
}
.app-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.appstore-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000;
  color: #fff;
  padding: 12px 22px;
  border-radius: 14px;
  font-weight: 600;
  transition: transform 0.2s ease;
}
.appstore-btn:hover { transform: translateY(-2px); }
.appstore-btn .appstore-icon { font-size: 28px; line-height: 1; }
.appstore-btn .appstore-text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.appstore-btn .appstore-pre { font-size: 0.7rem; opacity: 0.85; font-weight: 500; }
.appstore-btn .appstore-name { font-size: 1.05rem; font-weight: 600; }

.detail-section {
  padding: 60px 0;
  border-top: 1px solid var(--line);
}
.detail-section h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  margin-bottom: 22px;
}
.detail-lead {
  font-size: 1.1rem;
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 760px;
  color: var(--text-soft);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.feature-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.feature-item h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text);
}
.feature-item p { font-size: 0.92rem; margin: 0; }
.feature-item .feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0, 113, 227, 0.12);
  color: var(--accent);
  font-size: 18px;
  margin-bottom: 12px;
  font-weight: 700;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.spec-item {
  background: var(--surface-solid);
  padding: 22px;
}
.spec-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 600;
}
.spec-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.mini-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.mini-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.mini-card img { width: 52px; height: 52px; border-radius: 12px; flex-shrink: 0; }
.mini-card-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mini-card-name { font-weight: 600; font-size: 0.95rem; }
.mini-card-cat { font-size: 0.78rem; color: var(--muted); }

@media (max-width: 768px) {
  .app-hero-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; justify-items: center; }
  .app-hero-icon { width: 160px; height: 160px; border-radius: 36px; }
  .app-hero-meta, .app-hero-actions { justify-content: center; }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .menubar-left .menu-item:not(.bold):not(:nth-child(2)) { display: none; }
  .hero-icon-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .app-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .menu-time { display: none; }
  .window-body { padding: 22px; }
  .app-card-body { padding: 22px; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-alt: #1c1c1e;
    --surface: rgba(28, 28, 30, 0.72);
    --surface-solid: #1c1c1e;
    --window-bg: rgba(40, 40, 44, 0.7);
    --window-titlebar: linear-gradient(180deg, #3a3a3c 0%, #2c2c2e 100%);
    --text: #f5f5f7;
    --text-soft: #c7c7cc;
    --muted: #86868b;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.16);
  }
  body {
    background:
      radial-gradient(1000px 600px at 10% -10%, rgba(0, 113, 227, 0.22), transparent 60%),
      radial-gradient(1000px 600px at 90% 10%, rgba(175, 82, 222, 0.22), transparent 60%),
      radial-gradient(800px 600px at 50% 100%, rgba(255, 55, 95, 0.14), transparent 60%),
      var(--bg);
  }
  .menubar { background: rgba(28, 28, 30, 0.7); }
  .btn-ghost:hover { background: rgba(255, 255, 255, 0.06); }
  .contact-form input,
  .contact-form textarea {
    background: rgba(255,255,255,0.05);
    color: var(--text);
  }
  .section-alt {
    background: linear-gradient(180deg, rgba(28,28,30,0.4), rgba(0,0,0,0.4));
  }
  .badge-free {
    background: rgba(40, 200, 64, 0.16);
    color: #5dd66b;
    border-color: rgba(40, 200, 64, 0.34);
  }
}

/* ===== App detail: video + screenshot gallery ===== */
.app-video {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 60px -25px rgba(15, 23, 42, 0.35);
}
.app-video iframe,
.app-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Slider header (heading + arrows) */
.slider-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  gap: 16px;
}
.slider-head h2 { margin-bottom: 0; }
.slider-nav { display: flex; gap: 10px; }
.slider-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(127, 127, 127, 0.08);
  border: 1px solid rgba(127, 127, 127, 0.18);
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.slider-btn:hover {
  background: rgba(127, 127, 127, 0.18);
  border-color: rgba(127, 127, 127, 0.35);
  transform: scale(1.05);
}
.slider-btn:active { transform: scale(0.96); }

/* Slider track + slides */
.screenshot-slider { position: relative; }
.slider-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 4px 18px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.slider-track::-webkit-scrollbar { display: none; }

.slider-slide {
  position: relative;
  flex: 0 0 auto;
  width: clamp(220px, 26vw, 300px);
  aspect-ratio: 9 / 19.5;
  scroll-snap-align: start;
  border-radius: 28px;
  overflow: hidden;
  background: #0f172a;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 24px 50px -22px rgba(0, 0, 0, 0.55),
              0 0 0 1px rgba(127, 127, 127, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.slider-slide:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7),
              0 0 0 1px rgba(127, 127, 127, 0.22);
}
.slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #1e293b;
}
.slider-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 18px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.78) 100%);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(127, 127, 127, 0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.18s ease, width 0.25s ease;
}
.slider-dot:hover { background: rgba(127, 127, 127, 0.6); }
.slider-dot.is-active {
  background: var(--accent, #6366f1);
  width: 24px;
  border-radius: 4px;
}

@media (max-width: 700px) {
  .slider-slide { width: clamp(200px, 70vw, 260px); }
  .slider-btn { width: 38px; height: 38px; }
  .app-video { border-radius: 14px; }
}

/* ====================================================================
   V1 — Apple Classic redesign (homepage only, scoped under body.v1)
   ==================================================================== */

body.v1 {
  margin: 0;
  background: #fbfbfd;
  color: #1d1d1f;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", system-ui, sans-serif;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}
body.v1 a { color: inherit; text-decoration: none; }
body.v1 main { display: block; }

/* ===== Sticky frosted nav ===== */
.v1-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 251, 253, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.v1-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.v1-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 17px;
  color: #1d1d1f;
}
.v1-brand-mark {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, #0a84ff, #34c5ff);
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.v1-nav-links {
  display: flex;
  gap: 28px;
  font-size: 13px;
  color: #6e6e73;
}
.v1-nav-links a {
  color: #6e6e73;
  transition: color 0.15s ease;
}
.v1-nav-links a:hover { color: #1d1d1f; }
.v1-nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #6e6e73;
}
.v1-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #30d158;
  box-shadow: 0 0 8px #30d158;
}

@media (max-width: 720px) {
  .v1-nav-links { display: none; }
}

/* ===== Hero ===== */
.v1-hero {
  position: relative;
  padding: 120px 24px 100px;
  text-align: center;
  overflow: hidden;
}
.v1-hero-mesh {
  position: absolute;
  inset: -10% -10% 0 -10%;
  z-index: 0;
  pointer-events: none;
  filter: blur(20px);
  background:
    radial-gradient(50% 50% at 30% 20%, rgba(10, 132, 255, 0.18) 0%, transparent 60%),
    radial-gradient(40% 40% at 70% 30%, rgba(191, 90, 242, 0.16) 0%, transparent 60%),
    radial-gradient(40% 40% at 50% 70%, rgba(255, 159, 10, 0.12) 0%, transparent 60%);
}
.v1-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
}
.v1-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 12px;
  color: #6e6e73;
  font-weight: 500;
  margin-bottom: 28px;
}
.v1-display {
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0;
  background: linear-gradient(180deg, #1d1d1f 30%, #6e6e73 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.v1-lead {
  font-size: clamp(17px, 2.2vw, 21px);
  color: #6e6e73;
  max-width: 640px;
  margin: 28px auto 0;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.v1-cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 36px;
  flex-wrap: wrap;
}
.v1-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: filter 0.12s ease, transform 0.12s ease, background 0.15s ease;
}
.v1-btn-primary {
  background: #0a84ff;
  color: #fff;
}
.v1-btn-primary:hover { filter: brightness(1.08); }
.v1-btn-primary:active { transform: scale(0.98); }
.v1-btn-ghost {
  background: rgba(0, 0, 0, 0.05);
  color: #1d1d1f;
  border-color: rgba(0, 0, 0, 0.06);
}
.v1-btn-ghost:hover { background: rgba(0, 0, 0, 0.08); }
.v1-btn-block { display: flex; width: 100%; }
.v1-btn-sm { padding: 10px 18px; font-size: 13px; }

/* Floating featured icons */
.v1-hero-icons {
  margin-top: 80px;
  position: relative;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.v1-hero-icon {
  display: block;
  width: 104px;
  height: 104px;
  border-radius: 24px;
  overflow: hidden;
  filter: drop-shadow(0 24px 40px color-mix(in srgb, var(--accent, #0a84ff) 33%, transparent));
  animation: v1float var(--dur, 4s) ease-in-out var(--d, 0s) infinite alternate;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.v1-hero-icon:hover { transform: scale(1.06); }
.v1-hero-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
@keyframes v1float {
  from { transform: translateY(-10px); }
  to   { transform: translateY(10px); }
}
@media (max-width: 600px) {
  .v1-hero-icon { width: 76px; height: 76px; border-radius: 18px; }
  .v1-hero-icons { gap: 16px; height: auto; }
}

/* ===== Generic section + container ===== */
.v1-section {
  padding: 80px 24px;
}
.v1-section-alt {
  background: #f5f5f7;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.v1-container {
  max-width: 1100px;
  margin: 0 auto;
}
.v1-narrow { max-width: 720px; }
.v1-center { text-align: center; }
.v1-section-head {
  margin-bottom: 36px;
}
.v1-section-head .v1-eyebrow,
.v1-eyebrow {
  display: inline-block;
  font-size: 13px;
  color: #0a84ff;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.v1-section-head h2 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 8px 0 14px;
  line-height: 1.05;
  color: #1d1d1f;
}
.v1-section-head p {
  font-size: 19px;
  color: #6e6e73;
  max-width: 560px;
  line-height: 1.45;
  margin: 0;
}
.v1-section-head.v1-center p { margin-left: auto; margin-right: auto; }
.v1-muted { color: #6e6e73; }
.v1-prose {
  font-size: 19px;
  color: #6e6e73;
  line-height: 1.55;
  margin: 0 auto 16px;
  max-width: 640px;
}
.v1-prose strong { color: #1d1d1f; font-weight: 600; }
.v1-prose-sm { font-size: 17px; }

/* ===== Filter chips ===== */
.v1-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.v1-chip {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.04);
  color: #6e6e73;
  border: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
}
.v1-chip:hover { background: rgba(0, 0, 0, 0.08); color: #1d1d1f; }
.v1-chip.is-active {
  background: #1d1d1f;
  color: #fbfbfd;
  border-color: #1d1d1f;
}
.v1-chip-count {
  opacity: 0.6;
  margin-left: 4px;
}

/* ===== App grid + cards ===== */
.v1-app-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.v1-app-card {
  position: relative;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease;
  text-align: left;
}
.v1-app-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 20px 50px -20px color-mix(in srgb, var(--accent, #0a84ff) 33%, transparent),
    0 0 0 1px color-mix(in srgb, var(--accent, #0a84ff) 20%, transparent);
}
.v1-app-card.is-hidden { display: none; }
.v1-app-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  flex: 0 0 auto;
  object-fit: cover;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.v1-app-body {
  flex: 1;
  min-width: 0;
}
.v1-app-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}
.v1-app-name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  color: #1d1d1f;
}
.v1-app-cat {
  font-size: 11px;
  color: #6e6e73;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.05);
}
.v1-app-blurb {
  font-size: 14px;
  color: #6e6e73;
  line-height: 1.45;
  margin: 0 0 12px;
}
.v1-app-foot {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
}
.v1-free { color: #30d158; font-weight: 600; }
.v1-view {
  color: #6e6e73;
  font-weight: 500;
  transition: color 0.15s ease;
}
.v1-app-card:hover .v1-view { color: var(--accent, #0a84ff); }
.v1-mac-chip {
  margin-left: auto;
  font-size: 11px;
  color: #6e6e73;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

@media (max-width: 720px) {
  .v1-app-grid { grid-template-columns: 1fr; }
}

/* ===== Mac section ===== */
.v1-mac-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.v1-mac-card {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.v1-mac-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.18);
}
.v1-mac-card img {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  flex: 0 0 auto;
  object-fit: cover;
}
.v1-mac-meta { flex: 1; min-width: 0; }
.v1-mac-eyebrow {
  font-size: 11px;
  color: #6e6e73;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.v1-mac-title {
  font-size: 22px;
  font-weight: 600;
  margin: 4px 0;
  letter-spacing: -0.02em;
  color: #1d1d1f;
}
.v1-mac-title span { color: #6e6e73; font-weight: 400; }
.v1-mac-meta p { font-size: 14px; line-height: 1.4; margin: 0; }

.v1-mac-soon {
  margin-top: 18px;
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(10, 132, 255, 0.07), #fff);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.v1-mac-soon-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.04);
  display: grid;
  place-items: center;
  font-size: 28px;
  flex: 0 0 auto;
}
.v1-mac-soon-meta { flex: 1; min-width: 220px; }
.v1-mac-soon-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 2px 0 4px;
  color: #1d1d1f;
}

@media (max-width: 720px) {
  .v1-mac-grid { grid-template-columns: 1fr; }
}

/* ===== Categories ===== */
.v1-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.v1-cat-card {
  padding: 22px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: default;
}
.v1-cat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -16px color-mix(in srgb, var(--c, #0a84ff) 33%, transparent);
}
.v1-cat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--c, #0a84ff) 10%, transparent);
  color: var(--c, #0a84ff);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 14px;
}
.v1-cat-card h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  color: #1d1d1f;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.v1-cat-count {
  font-size: 11px;
  font-weight: 600;
  color: var(--c, #0a84ff);
  background: color-mix(in srgb, var(--c, #0a84ff) 12%, transparent);
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0;
}
.v1-cat-card p {
  font-size: 13px;
  line-height: 1.4;
  margin: 0 0 12px;
}
.v1-cat-apps {
  font-size: 12px;
  color: #6e6e73;
}

@media (max-width: 960px) {
  .v1-cat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .v1-cat-grid { grid-template-columns: 1fr; }
}

/* ===== Contact form ===== */
.v1-form {
  display: grid;
  gap: 14px;
}
.v1-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.v1-field {
  display: block;
}
.v1-field > span {
  display: block;
  font-size: 12px;
  color: #6e6e73;
  font-weight: 600;
  margin-bottom: 6px;
}
.v1-field input,
.v1-field select,
.v1-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #1d1d1f;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.v1-field textarea { resize: vertical; min-height: 120px; }
.v1-field input:focus,
.v1-field select:focus,
.v1-field textarea:focus {
  border-color: #0a84ff;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.12);
}
.v1-form-status {
  font-size: 13px;
  text-align: center;
  min-height: 20px;
  color: #6e6e73;
}

@media (max-width: 600px) {
  .v1-form-row { grid-template-columns: 1fr; }
}

/* ===== Footer ===== */
.v1-footer {
  padding: 40px 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  color: #6e6e73;
  font-size: 12px;
}
.v1-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.v1-footer-links {
  display: flex;
  gap: 24px;
}
.v1-footer-links a {
  color: #6e6e73;
  transition: color 0.15s ease;
}
.v1-footer-links a:hover { color: #1d1d1f; }

/* ===== Scroll-reveal initial state ===== */
body.v1 [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
body.v1 [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Smooth scroll for in-page anchors */
html { scroll-behavior: smooth; }

/* ====================================================================
   V2 Glassy Dark — App detail page (scoped under body.v2-detail)
   ==================================================================== */

body.v2-detail {
  margin: 0;
  background: #08080c;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, sans-serif;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}
body.v2-detail a { color: inherit; text-decoration: none; }
body.v2-detail h1, body.v2-detail h2, body.v2-detail h3, body.v2-detail h4 { margin: 0; }
body.v2-detail p { margin: 0; }

/* Admin preview banner — only on body.v2-detail.is-preview */
body.v2-detail .v2d-preview-banner {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  background: linear-gradient(90deg, rgba(255,159,10,0.18), rgba(255,69,58,0.18));
  border-bottom: 1px solid rgba(255,159,10,0.4);
  color: #ffb155;
  font-size: 13px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
body.v2-detail .v2d-preview-banner strong { color: #ffd166; }
body.v2-detail .v2d-preview-state {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: #ffe1b3;
  font-weight: 500;
}
body.v2-detail .v2d-preview-edit {
  margin-left: auto;
  color: #ffd166;
  text-decoration: none;
  font-weight: 600;
}
body.v2-detail .v2d-preview-edit:hover { text-decoration: underline; }
body.v2-detail .v2d-preview-edit + .v2d-preview-edit { margin-left: 0; }
body.v2-detail .v2d-preview-dot {
  width: 9px; height: 9px;
  border-radius: 999px;
  background: #ff9f0a;
  box-shadow: 0 0 0 4px rgba(255,159,10,0.25);
  animation: v2d-pulse 1.6s ease-in-out infinite;
}
@keyframes v2d-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255,159,10,0.25); }
  50%      { box-shadow: 0 0 0 8px rgba(255,159,10,0.05); }
}

/* Cursor glow + atmospheric backdrop */
body.v2-detail .v2d-cursor-glow {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  left: var(--mx, 50%);
  top: var(--my, 30%);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 13%, transparent) 0%, transparent 70%);
  filter: blur(60px);
  transition: left 0.25s ease, top 0.25s ease;
}
body.v2-detail .v2d-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.8;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, color-mix(in srgb, var(--accent) 20%, transparent) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 60%, color-mix(in srgb, var(--accent2) 13%, transparent) 0%, transparent 60%);
}

body.v2-detail .v2d-wrap {
  position: relative;
  z-index: 1;
}

/* ===== Pill nav ===== */
.v2d-nav {
  position: sticky;
  top: 12px;
  z-index: 50;
  padding: 0 24px;
  margin-top: 12px;
}
.v2d-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 56px;
  padding: 0 8px 0 16px;
  background: rgba(20, 20, 26, 0.6);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.v2d-nav-back {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.15s ease;
}
.v2d-nav-back:hover { color: #fff; }
.v2d-nav-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}
.v2d-nav-title img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: block;
}
.v2d-nav-cta {
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 4px 16px color-mix(in srgb, var(--accent) 40%, transparent);
  transition: filter 0.15s ease, transform 0.15s ease;
}
.v2d-nav-cta:hover { filter: brightness(1.1); transform: translateY(-1px); }

@media (max-width: 720px) {
  .v2d-nav-back, .v2d-nav-cta { font-size: 12px; }
  .v2d-nav-title { font-size: 13px; }
}

/* ===== Hero ===== */
.v2d-hero {
  padding: 60px 24px 80px;
  max-width: 1100px;
  margin: 0 auto;
}
.v2d-hero-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
}
@media (max-width: 880px) {
  .v2d-hero-grid { grid-template-columns: 1fr; }
}

.v2d-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  margin-bottom: 24px;
}
.v2d-live {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #30d158;
  box-shadow: 0 0 8px #30d158;
}

.v2d-hero-title-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.v2d-hero-icon-wrap {
  filter: drop-shadow(0 16px 30px color-mix(in srgb, var(--accent) 40%, transparent));
}
.v2d-hero-icon {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  display: block;
  object-fit: cover;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.v2d-h1 {
  font-size: clamp(48px, 7vw, 72px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #fff 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.v2d-byline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 6px;
  font-weight: 500;
}
.v2d-tagline {
  font-size: clamp(17px, 2.2vw, 22px);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.4;
  margin: 20px 0 32px;
  max-width: 540px;
}

/* App Store button */
.v2d-hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.v2d-btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border-radius: 14px;
  background: #000;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 20%, transparent);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.v2d-btn-store:hover { transform: translateY(-2px); filter: brightness(1.1); }
.v2d-btn-store-lg { padding: 16px 28px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3); }
.v2d-apple {
  display: inline-block;
  width: 22px;
  height: 26px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M16.365 1.43c0 1.14-.471 2.243-1.292 3.025-.844.823-2.21 1.471-3.371 1.378-.131-1.122.453-2.301 1.226-3.063.835-.802 2.234-1.385 3.437-1.34zM20.84 17.435c-.553 1.275-.819 1.844-1.531 2.971-.991 1.575-2.39 3.537-4.124 3.553-1.539.013-1.935-.998-4.029-.987-2.094.012-2.527 1.005-4.067.992-1.733-.016-3.057-1.776-4.049-3.351C.327 16.205-.041 11.099 1.61 8.443c1.169-1.881 3.013-2.984 4.751-2.984 1.769 0 2.879.967 4.343.967 1.42 0 2.286-.969 4.331-.969 1.547 0 3.182.84 4.349 2.293-3.821 2.087-3.196 7.534 1.456 9.685z'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.v2d-store-pre {
  display: block;
  font-size: 10px;
  opacity: 0.7;
  font-weight: 400;
}
.v2d-store-name {
  display: block;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.v2d-btn-store-lg .v2d-store-name { font-size: 18px; }

/* Per-platform glyph (24×24 pictogram in white) */
.v2d-store-glyph {
  display: inline-block;
  width: 22px;
  height: 26px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.v2d-store-glyph-apple {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M16.365 1.43c0 1.14-.471 2.243-1.292 3.025-.844.823-2.21 1.471-3.371 1.378-.131-1.122.453-2.301 1.226-3.063.835-.802 2.234-1.385 3.437-1.34zM20.84 17.435c-.553 1.275-.819 1.844-1.531 2.971-.991 1.575-2.39 3.537-4.124 3.553-1.539.013-1.935-.998-4.029-.987-2.094.012-2.527 1.005-4.067.992-1.733-.016-3.057-1.776-4.049-3.351C.327 16.205-.041 11.099 1.61 8.443c1.169-1.881 3.013-2.984 4.751-2.984 1.769 0 2.879.967 4.343.967 1.42 0 2.286-.969 4.331-.969 1.547 0 3.182.84 4.349 2.293-3.821 2.087-3.196 7.534 1.456 9.685z'/></svg>");
}
.v2d-store-glyph-play {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M3.609 1.814 13.792 12 3.61 22.186a.996.996 0 0 1-.61-.92V2.734a1 1 0 0 1 .61-.92zM14.91 13.118l2.302 2.301-9.927 5.66 7.625-7.961zm0-2.236L7.286 2.92l9.927 5.66-2.303 2.302zM21 12l-2.5-1.428-2.928 2.928L18.5 13.428 21 12z'/></svg>");
}
.v2d-store-glyph-web {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.6'><circle cx='12' cy='12' r='9'/><path d='M3 12h18M12 3a14.5 14.5 0 0 1 0 18M12 3a14.5 14.5 0 0 0 0 18'/></svg>");
}
.v2d-store-glyph-windows {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M3 5.4 11.16 4v7.5H3V5.4zm0 6.7h8.16V19.6L3 18.2V12.1zm9.16-8.4L21 2.4v9.1h-8.84V3.7zm0 8.4H21v9.1l-8.84-1.4V12.1z'/></svg>");
}
.v2d-store-glyph-linux {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M12 2c-1.66 0-3 1.79-3 4 0 1.39.5 2.61 1.27 3.32-.61.16-1.27.43-1.27 1.18 0 .55.43.92.84 1.07-1.4.65-2.84 1.84-2.84 4.43 0 .68-.42 1.5-1 2v3h12v-3c-.58-.5-1-1.32-1-2 0-2.59-1.44-3.78-2.84-4.43.41-.15.84-.52.84-1.07 0-.75-.66-1.02-1.27-1.18C14.5 8.61 15 7.39 15 6c0-2.21-1.34-4-3-4zm-1.5 4c.5 0 .9.45.9 1s-.4 1-.9 1-.9-.45-.9-1 .4-1 .9-1zm3 0c.5 0 .9.45.9 1s-.4 1-.9 1-.9-.45-.9-1 .4-1 .9-1z'/></svg>");
}

/* Per-platform button accents */
.v2d-btn-store-play    { background: #000; }
.v2d-btn-store-web     { background: #0e7490; }
.v2d-btn-store-windows { background: #0078d4; }
.v2d-btn-store-linux   { background: #1f2937; }
.v2d-btn-store-play:hover, .v2d-btn-store-web:hover, .v2d-btn-store-windows:hover, .v2d-btn-store-linux:hover {
  filter: brightness(1.15);
}

.v2d-cta-stores {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.v2d-free-chip {
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}
.v2d-free-on { color: #30d158; font-weight: 600; }

/* Stat strip */
.v2d-stats {
  display: flex;
  gap: 32px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}
.v2d-stat-v {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.v2d-stat-v span { font-size: 16px; opacity: 0.6; }
.v2d-stat-l {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Hero phone */
.v2d-hero-right {
  position: relative;
  display: flex;
  justify-content: center;
}
.v2d-hero-halo {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 33%, transparent) 0%, transparent 70%);
  filter: blur(40px);
}
.v2d-phone-float {
  position: relative;
  animation: v2dFloat 5s ease-in-out infinite alternate;
}
@keyframes v2dFloat {
  from { transform: translateY(-10px) rotate(-1deg); }
  to   { transform: translateY(10px) rotate(1deg); }
}
.v2d-phone {
  width: 300px;
  aspect-ratio: 9 / 19.5;
  border-radius: 48px;
  padding: 8px;
  background: linear-gradient(180deg, #2a2a2c 0%, #1a1a1c 100%);
  position: relative;
  box-shadow:
    0 30px 80px -20px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 0 2px rgba(0, 0, 0, 0.4);
}
.v2d-phone-island {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 30px;
  border-radius: 999px;
  background: #000;
  z-index: 3;
}
.v2d-phone-island-sm { width: 56px; height: 18px; top: 12px; }
.v2d-phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 40px;
  overflow: hidden;
  background: #0a0a0c;
  position: relative;
}
.v2d-phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.v2d-phone-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 13%, transparent) 0%, #0a0a0c 60%);
}
.v2d-phone-fallback img {
  width: 96px;
  height: 96px;
  border-radius: 22px;
}

/* ===== Generic section ===== */
.v2d-section {
  padding: 60px 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.v2d-section-head { margin-bottom: 36px; }
.v2d-section-head.v2d-center { text-align: center; }
.v2d-eyebrow {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.v2d-eyebrow-grad {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 12px;
}
.v2d-h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-top: 8px;
  line-height: 1.05;
  max-width: 720px;
  color: #fff;
}
.v2d-h2-sm { font-size: clamp(24px, 3.5vw, 36px); }
.v2d-grad-text {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.v2d-muted { color: rgba(255, 255, 255, 0.6); font-size: 15px; line-height: 1.5; margin-top: 16px; }

/* ===== "What it does" glass card ===== */
.v2d-glass-card {
  position: relative;
  padding: 60px 48px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.v2d-glass-halo {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 20%, transparent), transparent 70%);
  filter: blur(40px);
}
.v2d-glass-inner { position: relative; max-width: 720px; }
.v2d-prose {
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 600px) {
  .v2d-glass-card { padding: 36px 24px; }
}

/* ===== Highlights grid ===== */
.v2d-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.v2d-highlight {
  position: relative;
  padding: 28px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.v2d-highlight:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
  box-shadow: 0 24px 60px -24px color-mix(in srgb, var(--accent) 40%, transparent);
}
.v2d-hl-halo {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 20%, transparent), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.v2d-hl-icon {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 20%, transparent), color-mix(in srgb, var(--accent2) 13%, transparent));
  border: 1px solid color-mix(in srgb, var(--accent) 27%, transparent);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.v2d-hl-title {
  position: relative;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: #fff;
}
.v2d-hl-desc {
  position: relative;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

@media (max-width: 880px) { .v2d-highlights { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .v2d-highlights { grid-template-columns: 1fr; } }

/* ===== Screenshot strip ===== */
.v2d-shot-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.v2d-shot-tab {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.v2d-shot-tab:hover { color: #fff; }
.v2d-shot-tab.is-active {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border-color: transparent;
}

.v2d-shot-strip {
  position: relative;
  padding: 32px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.v2d-shot-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center top, color-mix(in srgb, var(--accent) 13%, transparent), transparent 70%);
  pointer-events: none;
}
.v2d-shot-strip-inner {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  align-items: center;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 4px 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  position: relative;
  z-index: 1;
}
.v2d-shot-strip-inner::-webkit-scrollbar { display: none; }
.v2d-shot-frame {
  flex: 0 0 auto;
  scroll-snap-align: center;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transform: scale(0.85);
  opacity: 0.5;
  filter: none;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.35s ease, filter 0.35s ease;
}
.v2d-shot-frame.is-active {
  transform: scale(1.05) translateY(-8px);
  opacity: 1;
  filter: drop-shadow(0 24px 40px color-mix(in srgb, var(--accent) 33%, transparent));
}
.v2d-shot-phone {
  width: 180px;
  aspect-ratio: 9 / 19.5;
  border-radius: 30px;
  padding: 5px;
  background: linear-gradient(180deg, #2a2a2c 0%, #1a1a1c 100%);
  position: relative;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 0 0 2px rgba(0, 0, 0, 0.4);
}
.v2d-shot-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 26px;
  background: #0a0a0c;
}

@media (max-width: 600px) {
  .v2d-shot-phone { width: 140px; }
  .v2d-shot-strip { padding: 22px; }
}

/* ===== Video frame ===== */
.v2d-video {
  position: relative;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.6);
}
.v2d-video iframe, .v2d-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ===== Specs ===== */
.v2d-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: flex-start;
}
.v2d-specs-card {
  padding: 8px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.v2d-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 14px;
}
.v2d-spec-row.is-last { border-bottom: none; }
.v2d-spec-k { font-size: 13px; color: rgba(255, 255, 255, 0.6); font-weight: 500; }
.v2d-spec-v { font-size: 14px; color: #fff; font-weight: 600; letter-spacing: -0.01em; text-align: right; }

@media (max-width: 720px) { .v2d-specs-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ===== Reviews ===== */
.v2d-reviews { display: flex; flex-direction: column; gap: 28px; }
.v2d-reviews-summary {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 32px;
  align-items: center;
  padding: 28px;
  border-radius: 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
body.v2-detail.is-light .v2d-reviews-summary,
body.v2-detail[data-theme="light"] .v2d-reviews-summary {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.08);
}

.v2d-reviews-avg { display: flex; flex-direction: column; gap: 6px; }
.v2d-reviews-num {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--accent, #34c5ff), var(--accent2, #0a84ff));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.v2d-reviews-count { color: rgba(255,255,255,0.55); font-size: 13px; }

.v2d-stars { display: inline-flex; gap: 2px; }
.v2d-star { color: rgba(255,255,255,0.18); font-size: 18px; }
.v2d-star.is-on { color: #ffb24a; }

.v2d-reviews-breakdown { display: flex; flex-direction: column; gap: 6px; }
.v2d-reviews-bar-row { display: grid; grid-template-columns: 26px 1fr 30px; gap: 10px; align-items: center; font-size: 12px; color: rgba(255,255,255,0.6); }
.v2d-reviews-bar { display: block; height: 8px; border-radius: 999px; background: rgba(255,255,255,0.06); overflow: hidden; }
.v2d-reviews-bar-fill {
  display: block;
  height: 100%;
  width: var(--w, 0%);
  background: linear-gradient(90deg, var(--accent, #34c5ff), var(--accent2, #0a84ff));
  transition: width 0.4s ease;
}
.v2d-reviews-bar-n { text-align: right; }

.v2d-reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.v2d-review {
  padding: 22px;
  border-radius: 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.18s ease, background 0.18s ease;
}
.v2d-review:hover { transform: translateY(-2px); background: rgba(255,255,255,0.05); }
.v2d-review-head { display: flex; align-items: center; justify-content: space-between; }
.v2d-review-when { font-size: 11px; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.06em; }
.v2d-review-title { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--fg, #fff); }
.v2d-review-body { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,0.7); }
.v2d-review-foot { display: flex; gap: 10px; align-items: center; font-size: 12px; color: rgba(255,255,255,0.5); padding-top: 6px; border-top: 1px solid rgba(255,255,255,0.06); }
.v2d-review-author { font-weight: 500; }
.v2d-review-ver {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  font-size: 11px;
  font-weight: 500;
}

.v2d-reviews-note { font-size: 13px; color: rgba(255,255,255,0.5); text-align: center; }
.v2d-reviews-note a { color: var(--accent, #34c5ff); text-decoration: none; font-weight: 500; }
.v2d-reviews-note a:hover { text-decoration: underline; }

@media (max-width: 720px) {
  .v2d-reviews-summary  { grid-template-columns: 1fr; gap: 20px; padding: 22px; }
  .v2d-reviews-grid     { grid-template-columns: 1fr; }
}

/* ===== CTA ===== */
.v2d-cta {
  position: relative;
  padding: 60px 48px;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  overflow: hidden;
  text-align: center;
  color: #fff;
}
.v2d-cta-bg {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.4), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.3), transparent 40%);
  pointer-events: none;
}
.v2d-cta-inner { position: relative; }
.v2d-cta-title {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 700;
  letter-spacing: -0.04em;
  margin: 0 0 16px;
  line-height: 1.05;
}
.v2d-cta-sub {
  font-size: 18px;
  opacity: 0.9;
  margin: 0 auto 32px;
  max-width: 480px;
}

@media (max-width: 600px) { .v2d-cta { padding: 40px 22px; } }

/* ===== Related apps ===== */
.v2d-related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.v2d-rel-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.v2d-rel-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--ra, var(--accent)) 40%, transparent);
}
.v2d-rel-card img {
  width: 48px;
  height: 48px;
  border-radius: 11px;
  flex: 0 0 auto;
}
.v2d-rel-meta { flex: 1; min-width: 0; }
.v2d-rel-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
}
.v2d-rel-cat { font-size: 12px; color: rgba(255, 255, 255, 0.6); }
.v2d-rel-arrow { color: var(--ra, var(--accent)); font-size: 18px; }

@media (max-width: 880px) { .v2d-related { grid-template-columns: 1fr; } }

/* ===== Footer ===== */
.v2d-footer {
  padding: 32px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}
.v2d-footer-row {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.v2d-footer-links { display: flex; gap: 24px; }
.v2d-footer-links a { color: rgba(255, 255, 255, 0.6); transition: color 0.15s ease; }
.v2d-footer-links a:hover { color: #fff; }

/* Reveal hides only when JS has marked itself active — so if scripts
   don't run for any reason, the page stays fully visible. */
body.v2-detail.v2d-js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
body.v2-detail.v2d-js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ====================================================================
   V2 — Glassy Dark homepage (scoped under body.v2)
   Theme: data-theme="dark" | "light" | "system" (system follows OS)
   ==================================================================== */

body.v2,
body.v2[data-theme="dark"] {
  /* Theme tokens — defaults are dark */
  --bg: #08080c;
  --fg: #ffffff;
  --fg2: rgba(255, 255, 255, 0.6);
  --glass: rgba(255, 255, 255, 0.04);
  --glass-strong: rgba(255, 255, 255, 0.08);
  --stroke: rgba(255, 255, 255, 0.08);
  --stroke-strong: rgba(255, 255, 255, 0.16);
  --mesh-opacity: 0.7;
  --grid-opacity: 0.4;
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.2);

  --grad-1: #7877c6;
  --grad-2: #ff6393;
  --grad-3: #409cff;
}
body.v2 {
  margin: 0;
  background: var(--bg) !important;
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, sans-serif;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}
body.v2 a { color: inherit; text-decoration: none; }
body.v2 h1, body.v2 h2, body.v2 h3 { margin: 0; }
body.v2 p { margin: 0; }
body.v2 button { font-family: inherit; }

/* === Light overrides === */
body.v2[data-theme="light"] {
  --bg: #f7f7fb;
  --fg: #0a0a0c;
  --fg2: rgba(10, 10, 12, 0.6);
  --glass: rgba(255, 255, 255, 0.6);
  --glass-strong: rgba(255, 255, 255, 0.8);
  --stroke: rgba(10, 10, 12, 0.08);
  --stroke-strong: rgba(10, 10, 12, 0.18);
  --mesh-opacity: 0.35;
  --grid-opacity: 0.18;
  --shadow-card: 0 12px 40px -12px rgba(0, 0, 0, 0.15);
}

/* === System mode follows OS === */
@media (prefers-color-scheme: light) {
  body.v2[data-theme="system"] {
    --bg: #f7f7fb;
    --fg: #0a0a0c;
    --fg2: rgba(10, 10, 12, 0.6);
    --glass: rgba(255, 255, 255, 0.6);
    --glass-strong: rgba(255, 255, 255, 0.8);
    --stroke: rgba(10, 10, 12, 0.08);
    --stroke-strong: rgba(10, 10, 12, 0.18);
    --mesh-opacity: 0.35;
    --grid-opacity: 0.18;
    --shadow-card: 0 12px 40px -12px rgba(0, 0, 0, 0.15);
  }
}

/* Cursor + atmosphere backdrops */
body.v2 .v2-cursor-glow {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  left: var(--mx, 50%);
  top: var(--my, 30%);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(120, 119, 198, 0.18) 0%, transparent 70%);
  filter: blur(40px);
  transition: left 0.25s ease, top 0.25s ease;
}
body.v2 .v2-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: var(--mesh-opacity);
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(120, 119, 198, 0.3) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 60%, rgba(255, 99, 147, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 100%, rgba(64, 156, 255, 0.18) 0%, transparent 60%);
}
body.v2 .v2-grid-noise {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: var(--grid-opacity);
  background-image:
    linear-gradient(var(--stroke) 1px, transparent 1px),
    linear-gradient(90deg, var(--stroke) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

body.v2 .v2-wrap { position: relative; z-index: 1; }

/* === Pill nav === */
.v2-nav {
  position: sticky;
  top: 12px;
  z-index: 50;
  padding: 0 24px;
  margin-top: 12px;
}
.v2-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 56px;
  padding: 0 8px 0 16px;
  background: rgba(20, 20, 26, 0.6);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  backdrop-filter: saturate(180%) blur(24px);
  border-radius: 999px;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
body.v2[data-theme="light"] .v2-nav-inner { background: rgba(255, 255, 255, 0.6); }
@media (prefers-color-scheme: light) {
  body.v2[data-theme="system"] .v2-nav-inner { background: rgba(255, 255, 255, 0.6); }
}
.v2-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  color: var(--fg);
}
.v2-brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: conic-gradient(from 200deg, #7877c6, #ff6393, #409cff, #7877c6);
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 0 16px rgba(120, 119, 198, 0.5);
}
.v2-nav-links {
  display: flex;
  gap: 24px;
  font-size: 13px;
}
.v2-nav-links a {
  color: var(--fg2);
  transition: color 0.15s ease;
}
.v2-nav-links a:hover { color: var(--fg); }

.v2-nav-right { display: flex; align-items: center; gap: 12px; }

.v2-nav-cta {
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2));
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(120, 119, 198, 0.4);
  transition: filter 0.15s ease, transform 0.15s ease;
}
.v2-nav-cta:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* Theme toggle */
.v2-theme-toggle {
  display: flex;
  padding: 3px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--stroke);
}
.v2-theme-btn {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: transparent;
  border: none;
  color: var(--fg2);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s ease, color 0.15s ease;
  padding: 0;
}
.v2-theme-btn:hover { color: var(--fg); }
.v2-theme-btn.is-active {
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2));
  color: #fff;
  box-shadow: 0 2px 8px rgba(120, 119, 198, 0.4);
}

@media (max-width: 720px) {
  .v2-nav-links { display: none; }
}
@media (max-width: 600px) {
  .v2-nav { padding: 0 12px; }
  .v2-nav-inner { gap: 8px; padding: 0 6px 0 14px; }
  .v2-nav-right { gap: 8px; }
  /* Sign in / Sign out is reachable from the footer; drop it here to free space */
  .v2-nav-link-quiet,
  .v2-nav-user { display: none; }
  .v2-nav-cta { padding: 8px 14px; }
}

/* === Hero === */
.v2-hero {
  position: relative;
  padding: 100px 24px 80px;
  text-align: center;
  min-height: 700px;
  max-width: 1100px;
  margin: 0 auto;
}
.v2-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--stroke);
  font-size: 12px;
  color: var(--fg2);
  font-weight: 500;
  margin-bottom: 30px;
}
.v2-live {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #30d158;
  box-shadow: 0 0 8px #30d158;
}
.v2-display {
  font-size: clamp(54px, 9vw, 100px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
}
.v2-fade-text {
  background: linear-gradient(180deg, var(--fg) 30%, var(--fg2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.v2-grad-text {
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2), var(--grad-3));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.v2-lead {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--fg2);
  max-width: 620px;
  margin: 28px auto 0;
  line-height: 1.5;
}

/* ----- Hero store CTA ----- */
.v2-hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}
.v2-hero-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  height: 54px;
  border-radius: 14px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.v2-hero-store span {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  text-align: left;
}
.v2-hero-store small { font-size: 10px; opacity: 0.8; letter-spacing: 0.02em; }
.v2-hero-store strong { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.v2-hero-store svg { flex-shrink: 0; }
.v2-hero-cta .v2-hero-store-apple {
  background: var(--fg);
  color: var(--bg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.v2-hero-cta .v2-hero-store-play {
  background: var(--glass-strong);
  color: var(--fg);
  border: 1px solid var(--stroke-strong);
}
.v2-hero-store:hover { transform: translateY(-2px); filter: brightness(1.05); }
.v2-hero-cta .v2-hero-browse {
  color: var(--fg2);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
}
.v2-hero-cta .v2-hero-browse:hover { color: var(--fg); }

/* ----- Sticky mobile download bar (mobile only) ----- */
.v2-sticky-cta { display: none; }
@media (max-width: 720px) {
  .v2-sticky-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 120;
    padding: 10px 12px;
    border-radius: 16px;
    background: color-mix(in srgb, var(--bg) 80%, transparent);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid var(--stroke);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
    transform: translateY(150%);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .v2-sticky-cta.is-visible { transform: translateY(0); }
}
.v2-sticky-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  flex-shrink: 0;
}
.v2-sticky-meta { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.v2-sticky-name { font-weight: 600; font-size: 15px; color: var(--fg); }
.v2-sticky-sub { font-size: 12px; color: var(--fg2); }
.v2-sticky-cta .v2-sticky-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 0 18px;
  height: 40px;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}
.v2-sticky-cta .v2-sticky-btn:active { transform: scale(0.97); }

/* Dim the Tawk chat bubble on mobile so it doesn't compete with the sticky bar;
   full opacity on tap. Only the minimized bubble is dimmed, never the open chat. */
@media (max-width: 720px) {
  .tawk-min-container,
  .tawk-min-container iframe,
  iframe[title="chat widget"] {
    opacity: 0.5 !important;
    transition: opacity 0.25s ease !important;
  }
  .tawk-min-container:hover,
  .tawk-min-container:active,
  .tawk-min-container:focus-within,
  iframe[title="chat widget"]:hover {
    opacity: 1 !important;
  }
}

/* Icon orbit */
.v2-orbit {
  margin-top: 60px;
  position: relative;
  height: 360px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.v2-orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed var(--stroke);
  opacity: 0.5;
}
.v2-orbit-ring-lg { width: 360px; height: 360px; }
.v2-orbit-ring-sm { width: 240px; height: 240px; }
.v2-orbit-core {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 24px;
  background: conic-gradient(from 200deg, #7877c6, #ff6393, #409cff, #7877c6);
  filter: blur(40px);
  opacity: 0.8;
}
.v2-orbit-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--s, 76px);
  height: var(--s, 76px);
  margin-left: calc(-1 * var(--s, 76px) / 2);
  margin-top: calc(-1 * var(--s, 76px) / 2);
  transform: translate(var(--x, 0), var(--y, 0));
  filter: drop-shadow(0 12px 30px color-mix(in srgb, var(--a, #7877c6) 40%, transparent));
  animation: v2bob var(--dur, 4s) ease-in-out var(--d, 0s) infinite alternate;
  transition: filter 0.2s ease;
}
.v2-orbit-icon img {
  width: 100%;
  height: 100%;
  border-radius: 22.5%;
  display: block;
  object-fit: cover;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.v2-orbit-icon:hover { filter: drop-shadow(0 20px 40px color-mix(in srgb, var(--a, #7877c6) 70%, transparent)); }
@keyframes v2bob {
  from { transform: translate(var(--x, 0), calc(var(--y, 0) - 6px)); }
  to   { transform: translate(var(--x, 0), calc(var(--y, 0) + 6px)); }
}

@media (max-width: 720px) {
  /* Icons are positioned with fixed px offsets (±160px) that push past a narrow
     viewport and cause horizontal page scroll. Scale the whole orbit down so the
     icons fit, keeping it centred (no clipping of the top/side icons). */
  .v2-orbit {
    height: 280px;
    transform: scale(0.78);
    transform-origin: center center;
  }
  .v2-orbit-ring-lg { width: 280px; height: 280px; }
  .v2-orbit-ring-sm { width: 180px; height: 180px; }
}
@media (max-width: 430px) {
  .v2-orbit { transform: scale(0.62); }
}

/* === Sections === */
.v2-section { padding: 60px 24px 80px; max-width: 1100px; margin: 0 auto; }
.v2-section.v2-center { text-align: center; max-width: 880px; }

.v2-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 36px;
}
.v2-section-head.v2-section-head-stack { display: block; text-align: left; }
.v2-section-head.v2-center { display: block; text-align: center; }
.v2-eyebrow-grad {
  font-size: 13px;
  font-weight: 600;
  background: linear-gradient(90deg, var(--grad-1), var(--grad-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.v2-eyebrow-blue {
  background: linear-gradient(90deg, var(--grad-3), var(--grad-1));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.v2-eyebrow-green {
  background: linear-gradient(90deg, #34d399, #22c55e);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.v2-eyebrow-cyan {
  background: linear-gradient(90deg, #67e8f9, #06b6d4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.v2-mac-store-cta {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  color: var(--fg2);
  font-size: 12px;
  font-weight: 500;
}
body.v2[data-theme="light"] .v2-mac-store-cta { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.08); }
@media (prefers-color-scheme: light) {
  body.v2[data-theme="system"] .v2-mac-store-cta { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.08); }
}
.v2-h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-top: 8px;
  line-height: 1.05;
  color: var(--fg);
}
.v2-h2-md { font-size: clamp(28px, 4vw, 48px); }
.v2-h2-lg { font-size: clamp(36px, 6vw, 64px); letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 28px; }
.v2-muted {
  font-size: 15px;
  color: var(--fg2);
  line-height: 1.5;
  margin-top: 12px;
  max-width: 560px;
}
.v2-lead-center {
  font-size: 20px;
  color: var(--fg2);
  line-height: 1.55;
  margin: 0 auto 32px;
  max-width: 640px;
}

/* === Filter chips === */
.v2-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}
.v2-chip {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  color: var(--fg2);
  border: 1px solid var(--stroke);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.v2-chip:hover { color: var(--fg); transform: translateY(-1px); }
.v2-chip.is-active {
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 18px color-mix(in srgb, var(--grad-1) 30%, transparent);
}
.v2-chip-count {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 11px;
  font-weight: 600;
  opacity: 0.85;
}
.v2-chip.is-active .v2-chip-count { background: rgba(255, 255, 255, 0.22); opacity: 1; }
.v2-chip-sep {
  display: inline-block;
  width: 1px;
  height: 20px;
  background: var(--stroke);
  margin: 0 4px;
}

/* === Apps section header === */
.v2-apps-head {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 32px;
}
.v2-apps-head-top { display: flex; flex-direction: column; gap: 6px; max-width: 720px; }
.v2-apps-sub { font-size: 16px; line-height: 1.55; margin-top: 6px; max-width: 600px; }

.v2-apps-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  max-width: 720px;
}
.v2-stat-pill {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--glass);
  border: 1px solid var(--stroke);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.v2-stat-num {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.v2-stat-lbl {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg2);
}

.v2-apps-filter {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--stroke);
}
body.v2[data-theme="light"] .v2-apps-filter { background: rgba(0, 0, 0, 0.02); }
@media (prefers-color-scheme: light) {
  body.v2[data-theme="system"] .v2-apps-filter { background: rgba(0, 0, 0, 0.02); }
}
.v2-apps-filter-lbl {
  flex-shrink: 0;
  align-self: center;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg2);
  padding: 0 4px;
}
.v2-apps-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.v2-sort-btn {
  cursor: pointer;
  font-family: inherit;
}
.v2-sort-btn::before {
  content: "↕ ";
  opacity: 0.6;
}
.v2-sort-btn[data-sort="az"],
.v2-sort-btn[data-sort="za"] {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

@media (max-width: 720px) {
  .v2-apps-stats { grid-template-columns: repeat(2, 1fr); }
  .v2-apps-filter { padding: 10px; }
  .v2-apps-filter-lbl { display: none; }
  .v2-chip-sep { display: none; }
}

/* === App grid === */
.v2-app-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 720px) { .v2-app-grid { grid-template-columns: 1fr; } }

.v2-app-card {
  position: relative;
  padding: 22px;
  border-radius: 22px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--stroke);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}
.v2-app-card.is-hidden { display: none; }
.v2-app-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
  box-shadow: 0 20px 60px -20px color-mix(in srgb, var(--accent) 33%, transparent);
}
.v2-app-halo {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 20%, transparent) 0%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.v2-app-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  flex: 0 0 auto;
  object-fit: cover;
  position: relative;
}
.v2-app-body { flex: 1; min-width: 0; position: relative; }
.v2-app-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}
.v2-app-name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.v2-app-cat {
  font-size: 10px;
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.v2-app-blurb {
  font-size: 14px;
  color: var(--fg2);
  line-height: 1.45;
  margin: 0 0 14px;
}
.v2-app-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  flex-wrap: wrap;
  margin: 0 0 10px;
}
.v2-pill-free {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(48, 209, 88, 0.15);
  color: #30d158;
  font-weight: 600;
}
.v2-pill-mac {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--glass);
  color: var(--fg2);
  font-weight: 500;
  border: 1px solid var(--stroke);
}
/* Card action row: Details (left) + App Store (right) buttons. */
.v2-app-actions {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.v2-app-actions .v2-btn-detail,
.v2-app-actions .v2-btn-store,
.v2-app-actions .v2-btn-play {
  flex: 0 0 auto;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--stroke);
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
/* Left: Details — accent-tinted outline button */
.v2-app-actions .v2-btn-detail {
  background: var(--glass);
  color: var(--accent);
}
.v2-app-actions .v2-btn-detail:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}
/* Right: App Store — solid foreground button */
.v2-app-actions .v2-btn-store {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.v2-app-actions .v2-btn-store svg { display: block; }
.v2-app-actions .v2-btn-store:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}
/* Right: Google Play — outline button with brand-coloured glyph */
.v2-app-actions .v2-btn-play {
  background: var(--glass);
  color: var(--fg);
}
.v2-app-actions .v2-btn-play svg { display: block; }
.v2-app-actions .v2-btn-play:hover {
  transform: translateY(-1px);
  border-color: var(--stroke-strong);
  background: var(--glass-strong);
}
/* Mobile: stack the action buttons full-width, one per row. */
@media (max-width: 720px) {
  .v2-app-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .v2-app-actions .v2-btn-detail,
  .v2-app-actions .v2-btn-store,
  .v2-app-actions .v2-btn-play {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    height: 44px;
  }
}

/* ====================================================================
   Feature rows — left screenshot slider, right product info/benefits.
   Overrides the compact .v2-app-card layout (single column, full width).
   ==================================================================== */
.v2-app-grid-feat {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.v2-feat-row {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: center;
  padding: 24px;
}
.v2-feat-row:hover { transform: none; }

/* ----- Left: media ----- */
.v2-feat-media { position: relative; z-index: 2; min-width: 0; }
.v2-feat-slider {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--stroke);
}
.v2-feat-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.v2-feat-slide {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--accent) 14%, var(--bg-alt)),
    color-mix(in srgb, var(--accent2) 14%, var(--bg-alt)));
}
.v2-feat-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.v2-feat-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--bg) 65%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--fg);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, transform 0.15s ease;
  z-index: 3;
}
.v2-feat-nav:hover { background: var(--fg); color: var(--bg); }
.v2-feat-prev { left: 10px; }
.v2-feat-next { right: 10px; }
.v2-feat-dots {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 3;
}
.v2-feat-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: none;
  padding: 0;
  cursor: pointer;
  background: color-mix(in srgb, var(--fg) 35%, transparent);
  transition: background 0.15s ease, width 0.15s ease;
}
.v2-feat-dot.is-active { width: 18px; background: var(--accent); }

/* Landscape media ratio for desktop platforms (macOS, Windows, Linux, Web) */
.v2-feat-row.is-landscape .v2-feat-slide,
.v2-feat-row.is-landscape .v2-feat-iconwrap { aspect-ratio: 16 / 10; }

/* Icon fallback when an app has no screenshots */
.v2-feat-iconwrap {
  display: grid;
  place-items: center;
  border-radius: 18px;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--accent) 22%, transparent),
    color-mix(in srgb, var(--accent2) 22%, transparent));
  border: 1px solid var(--stroke);
}
.v2-feat-bigicon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* ----- Right: info ----- */
.v2-feat-info { position: relative; z-index: 2; min-width: 0; }
.v2-feat-benefits {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 22px;
  row-gap: 8px;
}
.v2-feat-benefits li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: var(--fg2);
  line-height: 1.4;
}
.v2-feat-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}

@media (max-width: 720px) {
  .v2-feat-row {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px;
  }
  .v2-feat-benefits { grid-template-columns: 1fr; }
}

/* ----- Video demo link ----- */
.v2-feat-info .v2-btn-video {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
}
.v2-feat-info .v2-btn-video svg { display: block; }
.v2-feat-info .v2-btn-video:hover { text-decoration: underline; }

/* ----- Grid view (compact 2-up) toggled from the View control ----- */
.v2-app-grid-feat.is-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.is-grid .v2-feat-row {
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 18px;
  align-items: stretch;
}
.is-grid .v2-feat-benefits { display: none; }
.is-grid .v2-feat-slide { aspect-ratio: 16 / 10; }
@media (max-width: 720px) {
  .v2-app-grid-feat.is-grid { grid-template-columns: 1fr; }
}

/* View toggle buttons */
.v2-view-toggle {
  display: inline-flex;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  overflow: hidden;
}
.v2-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 30px;
  background: transparent;
  border: none;
  color: var(--fg2);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.v2-view-btn svg { display: block; }
.v2-view-btn.is-active { background: var(--fg); color: var(--bg); }

/* ----- Fullscreen lightbox slideshow ----- */
.v2-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.v2-lightbox.is-open { display: flex; }
.v2-lightbox img {
  max-width: 90vw;
  max-height: 84vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.v2-lb-btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.v2-lb-btn:hover { background: rgba(255, 255, 255, 0.25); }
.v2-lb-prev, .v2-lb-next { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 26px; }
.v2-lb-prev { left: 3vw; }
.v2-lb-next { right: 3vw; }
.v2-lb-close { top: 4vh; right: 4vw; width: 42px; height: 42px; font-size: 22px; }
.v2-lb-count {
  position: absolute;
  bottom: 4vh;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  letter-spacing: 0.05em;
}

/* ----- App Store bottom sheet ----- */
.v2-sheet { position: fixed; inset: 0; z-index: 210; }
.v2-sheet:not([hidden]) { display: flex; align-items: flex-end; justify-content: center; }
.v2-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.v2-sheet.is-open .v2-sheet-backdrop { opacity: 1; }
.v2-sheet-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  max-height: 88vh;
  overflow-y: auto;
  padding: 10px 20px 28px;
  border-radius: 24px 24px 0 0;
  background: color-mix(in srgb, var(--fg) 5%, var(--bg));
  color: var(--fg);
  box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.35);
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@media (min-width: 560px) {
  /* Centre as a card on larger screens rather than edge-to-edge. */
  .v2-sheet:not([hidden]) { align-items: center; }
  .v2-sheet-panel { border-radius: 24px; }
}
.v2-sheet.is-open .v2-sheet-panel { transform: translateY(0); }
.v2-sheet-handle {
  width: 40px;
  height: 5px;
  border-radius: 999px;
  background: var(--stroke-strong);
  margin: 0 auto 16px;
  cursor: pointer;
}
.v2-sheet-x {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: none;
  background: var(--glass-strong);
  color: var(--fg);
  font-size: 14px;
  cursor: pointer;
}
.v2-sheet-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.v2-sheet-icon { width: 64px; height: 64px; border-radius: 15px; flex-shrink: 0; }
.v2-sheet-name { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.v2-sheet-sub { font-size: 12px; color: var(--fg2); font-weight: 600; letter-spacing: 0.03em; }
.v2-sheet-shots {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 18px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.v2-sheet-shots:empty { display: none; }
.v2-sheet-shots img {
  height: 300px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  scroll-snap-align: start;
  flex-shrink: 0;
}
.v2-sheet-actions { display: flex; flex-direction: column; gap: 10px; }
.v2-sheet-store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}
.v2-sheet-store svg { display: block; }
.v2-sheet-actions .v2-sheet-store-apple { background: var(--fg); color: var(--bg); }
.v2-sheet-actions .v2-sheet-store-play {
  background: var(--glass-strong);
  color: var(--fg);
  border: 1px solid var(--stroke-strong);
}
.v2-sheet-store:active { transform: scale(0.98); }

/* === Coming Soon (draft) cards === */
.v2-eyebrow-amber {
  background: linear-gradient(90deg, #ff9f0a, #ff453a);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.v2-app-grid-soon { margin-top: 24px; }
.v2-app-card-soon {
  cursor: default;
  opacity: 0.92;
}
.v2-app-card-soon:hover {
  transform: none;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset;
}
.v2-app-card-soon .v2-app-icon-mono {
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 28px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  letter-spacing: -0.02em;
}
.v2-pill-soon {
  padding: 3px 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,159,10,0.18), rgba(255,69,58,0.18));
  color: #ffb155;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 11px;
}
body.v2[data-theme="light"] .v2-pill-soon,
@media (prefers-color-scheme: light) { body.v2[data-theme="system"] .v2-pill-soon { color: #c2410c; } }
body.v2[data-theme="light"] .v2-pill-soon { color: #c2410c; }

/* === Mac grid === */
.v2-mac-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 720px) { .v2-mac-grid { grid-template-columns: 1fr; } }

.v2-mac-card {
  position: relative;
  padding: 28px;
  border-radius: 24px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--stroke);
  overflow: hidden;
  display: flex;
  gap: 18px;
  align-items: center;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.v2-mac-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 33%, transparent);
}
.v2-mac-halo {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, color-mix(in srgb, var(--accent) 13%, transparent) 0%, transparent 60%);
  pointer-events: none;
}
.v2-mac-card img {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  flex: 0 0 auto;
  filter: drop-shadow(0 12px 24px color-mix(in srgb, var(--accent) 33%, transparent));
  position: relative;
}
.v2-mac-meta { flex: 1; position: relative; }
.v2-mac-eyebrow {
  font-size: 11px;
  color: var(--fg2);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.v2-mac-title {
  font-size: 22px;
  font-weight: 600;
  margin: 4px 0;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.v2-mac-title span { color: var(--fg2); font-weight: 400; }
.v2-mac-blurb { margin-top: 4px; font-size: 13px; }

/* === Categories === */
.v2-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 880px) { .v2-cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .v2-cat-grid { grid-template-columns: 1fr; } }

.v2-cat-card {
  position: relative;
  padding: 22px;
  border-radius: 22px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--stroke);
  overflow: hidden;
  min-height: 180px;
}
.v2-cat-halo {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--c) 33%, transparent), transparent 70%);
  filter: blur(20px);
}
.v2-cat-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--c) 13%, transparent);
  color: var(--c);
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 14px;
  border: 1px solid color-mix(in srgb, var(--c) 27%, transparent);
}
.v2-cat-name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.v2-cat-desc {
  font-size: 13px;
  color: var(--fg2);
  margin-top: 6px;
  line-height: 1.4;
}

/* === Stats pill === */
.v2-stats-pill {
  display: inline-flex;
  gap: 32px;
  padding: 20px 32px;
  border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--stroke);
}
.v2-stat { text-align: center; }
.v2-stat-v {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.v2-stat-l {
  font-size: 11px;
  color: var(--fg2);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* === Contact form === */
.v2-form {
  padding: 28px;
  border-radius: 24px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--stroke);
  display: grid;
  gap: 14px;
}
.v2-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 600px) { .v2-form-row { grid-template-columns: 1fr; } }
.v2-field { display: block; }
.v2-field > span {
  display: block;
  font-size: 12px;
  color: var(--fg2);
  font-weight: 600;
  margin-bottom: 6px;
}
.v2-field input,
.v2-field select,
.v2-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--glass);
  border: 1px solid var(--stroke);
  color: var(--fg);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.v2-field textarea { resize: vertical; min-height: 120px; }
.v2-field input:focus,
.v2-field select:focus,
.v2-field textarea:focus {
  border-color: var(--grad-1);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--grad-1) 22%, transparent);
}
.v2-form-btn {
  padding: 14px 22px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2));
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: -0.1px;
  transition: filter 0.12s ease, transform 0.12s ease;
}
.v2-form-btn:hover { filter: brightness(1.1); }
.v2-form-btn:active { transform: scale(0.98); }
.v2-form-status {
  font-size: 13px;
  text-align: center;
  min-height: 20px;
  color: var(--fg2);
}

/* === Footer === */
.v2-footer,
body.v2 footer.v2-footer {
  padding: 32px 24px;
  border-top: 1px solid var(--stroke);
  background: transparent;
  color: var(--fg2);
  font-size: 12px;
}
.v2-footer-row {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.v2-footer-links { display: flex; gap: 24px; }
.v2-footer-links a { transition: color 0.15s ease; }
.v2-footer-links a:hover { color: var(--fg); }

/* === Reveal — only kicks in once JS confirms === */
body.v2.v2-js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
body.v2.v2-js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ===== V2 — Legal/info page typography ===== */
body.v2 .v2-legal { max-width: 760px; }
body.v2 .v2-legal-head { text-align: center; margin-bottom: 60px; }
body.v2 .v2-legal-head h1 { margin: 8px 0 18px; }
body.v2 .v2-legal-intro { margin-bottom: 18px; }
body.v2 .v2-legal-meta {
  font-size: 12px;
  color: var(--fg2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.v2 .v2-legal-section {
  padding: 28px 0;
  border-top: 1px solid var(--stroke);
}
body.v2 .v2-legal-section:first-child { border-top: none; padding-top: 0; }

body.v2 .v2-legal-body h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--fg);
}
body.v2 .v2-legal-body h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 18px 0 8px;
  color: var(--fg);
}
body.v2 .v2-legal-body p,
body.v2 .v2-legal-body li {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--fg2);
}
body.v2 .v2-legal-body p { margin: 0 0 14px; }
body.v2 .v2-legal-body p:last-child { margin-bottom: 0; }
body.v2 .v2-legal-body strong { color: var(--fg); font-weight: 600; }
body.v2 .v2-legal-body a { color: var(--grad-3); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--grad-3) 40%, transparent); text-underline-offset: 3px; }
body.v2 .v2-legal-body a:hover { text-decoration-color: var(--grad-3); }
body.v2 .v2-legal-body ul,
body.v2 .v2-legal-body ol {
  margin: 0 0 14px;
  padding-left: 22px;
}
body.v2 .v2-legal-body li { margin-bottom: 6px; }
body.v2 .v2-legal-body code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 13px;
  padding: 1px 6px;
  border-radius: 5px;
  background: var(--glass);
  border: 1px solid var(--stroke);
  color: var(--fg);
}

body.v2 .v2-legal-grid {
  list-style: none;
  padding: 0;
  margin: 14px 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}
body.v2 .v2-legal-grid a {
  display: block;
  padding: 14px;
  border-radius: 12px;
  background: var(--glass);
  border: 1px solid var(--stroke);
  text-decoration: none;
  color: var(--fg);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
body.v2 .v2-legal-grid a:hover {
  border-color: var(--grad-1);
  transform: translateY(-1px);
}
body.v2 .v2-legal-grid strong { display: block; font-size: 14px; }
body.v2 .v2-legal-grid-cat {
  display: block;
  font-size: 11px;
  color: var(--fg2);
  letter-spacing: 0.04em;
  margin: 2px 0 6px;
}
body.v2 .v2-legal-grid-price {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #30d158;
}

/* === About page === */
body.v2 .v2-about-lead { font-size: 18px; line-height: 1.6; }
body.v2 .v2-about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}
@media (max-width: 720px) { body.v2 .v2-about-grid { grid-template-columns: 1fr; } }
body.v2 .v2-about-tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  border-radius: 16px;
  background: var(--glass);
  border: 1px solid var(--stroke);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
body.v2 .v2-about-tile:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--grad-1) 50%, transparent); }
body.v2 .v2-about-tile-icon { font-size: 24px; line-height: 1; }
body.v2 .v2-about-tile strong { font-size: 15px; color: var(--fg); }
body.v2 .v2-about-tile span { font-size: 14px; line-height: 1.5; color: var(--fg2); }
body.v2 .v2-about-tile a { color: var(--grad-1); text-decoration: none; }
body.v2 .v2-about-tile a:hover { text-decoration: underline; }

body.v2 .v2-about-stack {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 14px 0 0;
}
@media (max-width: 720px) { body.v2 .v2-about-stack { grid-template-columns: repeat(2, 1fr); } }
body.v2 .v2-about-stack li {
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--glass);
  border: 1px solid var(--stroke);
  font-size: 13px;
  color: var(--fg2);
}
body.v2 .v2-about-stack strong { color: var(--fg); font-weight: 600; }

body.v2 .v2-about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 18px;
}
@media (max-width: 720px) { body.v2 .v2-about-stats { grid-template-columns: repeat(2, 1fr); } }
body.v2 .v2-about-stat {
  padding: 18px;
  border-radius: 14px;
  background: var(--glass);
  border: 1px solid var(--stroke);
}
body.v2 .v2-about-stat-num {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
body.v2 .v2-about-stat-lbl {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg2);
  margin-top: 4px;
}

body.v2 .v2-about-press {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}
body.v2 .v2-about-press li { font-size: 14px; color: var(--fg2); }
body.v2 .v2-about-press strong { color: var(--fg); margin-right: 4px; }

body.v2 .v2-about-cta { text-align: center; padding-top: 32px; padding-bottom: 32px; }

/* === Timeline === */
body.v2 .v2-about-timeline {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
body.v2 .v2-about-timeline::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(to bottom, var(--grad-1), var(--grad-2));
  opacity: 0.4;
  border-radius: 999px;
}
body.v2 .v2-about-timeline li {
  position: relative;
  padding: 0 0 0 48px;
}
body.v2 .v2-about-timeline li::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2));
  box-shadow: 0 0 0 4px rgba(120, 119, 198, 0.18);
}
body.v2 .v2-about-time-year {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg2);
  margin-bottom: 4px;
}
body.v2 .v2-about-timeline strong { color: var(--fg); }
body.v2 .v2-about-timeline div { font-size: 14px; line-height: 1.55; color: var(--fg2); }

/* === Featured work === */
body.v2 .v2-about-featured {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}
@media (max-width: 720px) { body.v2 .v2-about-featured { grid-template-columns: 1fr; } }
body.v2 .v2-about-feat {
  display: flex;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  background: var(--glass);
  border: 1px solid var(--stroke);
  text-decoration: none;
  color: inherit;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
body.v2 .v2-about-feat:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent, var(--grad-1)) 50%, transparent);
}
body.v2 .v2-about-feat img { width: 56px; height: 56px; border-radius: 13px; flex: 0 0 auto; object-fit: cover; }
body.v2 .v2-about-feat strong { display: block; font-size: 15px; color: var(--fg); }
body.v2 .v2-about-feat-cat {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--fg2);
  margin: 2px 0 6px;
}
body.v2 .v2-about-feat p { font-size: 13px; line-height: 1.5; color: var(--fg2); margin: 0; }

/* === Coming next === */
body.v2 .v2-about-upcoming {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 14px;
}
@media (max-width: 720px) { body.v2 .v2-about-upcoming { grid-template-columns: 1fr; } }
body.v2 .v2-about-upcoming li {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 159, 10, 0.06);
  border: 1px solid rgba(255, 159, 10, 0.2);
}
body.v2 .v2-about-upcoming strong {
  display: inline-block;
  font-size: 14px;
  color: var(--fg);
  margin-right: 8px;
}
body.v2 .v2-about-upcoming span {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffb155;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(255, 159, 10, 0.12);
}
body.v2 .v2-about-upcoming p { font-size: 13px; line-height: 1.5; color: var(--fg2); margin: 6px 0 0; }

/* === Privacy detail list === */
body.v2 .v2-about-privacy {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}
body.v2 .v2-about-privacy li {
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--glass);
  border: 1px solid var(--stroke);
}
body.v2 .v2-about-privacy strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: 6px;
}
body.v2 .v2-about-privacy span { font-size: 14px; line-height: 1.55; color: var(--fg2); }
body.v2 .v2-about-privacy a { color: var(--grad-1); text-decoration: none; }
body.v2 .v2-about-privacy a:hover { text-decoration: underline; }

/* === FAQ === */
body.v2 .v2-about-faq {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}
body.v2 .v2-about-faq details {
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--glass);
  border: 1px solid var(--stroke);
  transition: border-color 0.2s ease;
}
body.v2 .v2-about-faq details[open] { border-color: color-mix(in srgb, var(--grad-1) 40%, transparent); }
body.v2 .v2-about-faq summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  list-style: none;
  padding-right: 26px;
  position: relative;
}
body.v2 .v2-about-faq summary::-webkit-details-marker { display: none; }
body.v2 .v2-about-faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 400;
  color: var(--fg2);
  transition: transform 0.2s ease;
}
body.v2 .v2-about-faq details[open] summary::after { content: '−'; transform: translateY(-50%) rotate(180deg); }
body.v2 .v2-about-faq details > div {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--stroke);
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg2);
}
body.v2 .v2-about-faq a { color: var(--grad-1); text-decoration: none; }
body.v2 .v2-about-faq a:hover { text-decoration: underline; }

body.v2 .v2-legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 14px;
}
body.v2 .v2-legal-table th,
body.v2 .v2-legal-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--stroke);
  text-align: left;
  vertical-align: top;
  color: var(--fg2);
}
body.v2 .v2-legal-table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg);
  font-weight: 600;
}
body.v2 .v2-legal-table td:first-child { color: var(--fg); font-weight: 600; }

body.v2 .v2-legal-note {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--glass);
  border: 1px solid var(--stroke);
  font-size: 13px !important;
}

/* ===== Premium pricing cards ===== */
body.v2 .v2-pricing-block {
  border-top: none !important;
  margin-top: 28px;
}
body.v2 .v2-pricing-head { text-align: center; margin-bottom: 36px; }
body.v2 .v2-pricing-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  padding: 5px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--grad-1) 18%, transparent), color-mix(in srgb, var(--grad-2) 18%, transparent));
  border: 1px solid color-mix(in srgb, var(--grad-1) 33%, transparent);
  color: var(--fg);
  margin-bottom: 14px;
}
body.v2 .v2-pricing-block h2 {
  font-size: clamp(28px, 4vw, 44px) !important;
  letter-spacing: -0.04em !important;
  margin-bottom: 12px !important;
  font-weight: 700;
  background: linear-gradient(180deg, var(--fg) 30%, var(--fg2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
body.v2 .v2-pricing-sub {
  font-size: 16px !important;
  max-width: 540px;
  margin: 0 auto !important;
}

body.v2 .v2-pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 28px;
}
@media (max-width: 720px) {
  body.v2 .v2-pricing-grid { grid-template-columns: 1fr; }
}

body.v2 .v2-pricing-card {
  position: relative;
  padding: 32px 28px 28px;
  border-radius: 24px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--stroke);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
body.v2 .v2-pricing-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--grad-1) 30%, var(--stroke));
  box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--grad-1) 40%, transparent);
}

body.v2 .v2-pricing-card-featured {
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--grad-1) 8%, var(--glass)) 0%,
    color-mix(in srgb, var(--grad-2) 5%, var(--glass)) 100%
  );
  border: 1px solid color-mix(in srgb, var(--grad-1) 35%, transparent);
  box-shadow: 0 24px 60px -28px color-mix(in srgb, var(--grad-1) 40%, transparent);
}
body.v2 .v2-pricing-card-featured:hover {
  border-color: color-mix(in srgb, var(--grad-1) 60%, transparent);
  box-shadow: 0 30px 70px -25px color-mix(in srgb, var(--grad-1) 55%, transparent);
}
body.v2 .v2-pricing-card-glow {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle,
    color-mix(in srgb, var(--grad-2) 30%, transparent) 0%,
    transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}
body.v2 .v2-pricing-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2));
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--grad-2) 50%, transparent);
}

body.v2 .v2-pricing-card-head { margin-bottom: 22px; }
body.v2 .v2-pricing-tier {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--fg2);
  text-transform: uppercase;
  margin-bottom: 14px;
}

body.v2 .v2-pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
  line-height: 1;
  flex-wrap: wrap;
}
body.v2 .v2-pricing-currency {
  font-size: 26px;
  font-weight: 600;
  color: var(--fg2);
}
body.v2 .v2-pricing-price {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2), var(--grad-3));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
body.v2 .v2-pricing-price-tbd {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2), var(--grad-3));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
body.v2 .v2-pricing-once {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg2);
}
body.v2 .v2-pricing-tagline {
  font-size: 14px !important;
  color: var(--fg2) !important;
  margin: 0 !important;
  line-height: 1.45 !important;
}

body.v2 .v2-pricing-feats {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 28px 0 !important;
  flex: 1;
}
body.v2 .v2-pricing-feats li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  padding: 10px 0 !important;
  font-size: 14px !important;
  color: var(--fg) !important;
  border-bottom: 1px solid var(--stroke);
  line-height: 1.45 !important;
}
body.v2 .v2-pricing-feats li:last-child { border-bottom: none; }
body.v2 .v2-pricing-feats li strong { color: var(--fg); font-weight: 600; }

body.v2 .v2-check {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--grad-1) 20%, transparent);
  color: var(--grad-1);
  display: inline-grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  margin-top: 1px;
}
body.v2 .v2-pricing-card-featured .v2-check {
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2));
  color: #fff;
}

body.v2 .v2-pricing-cta {
  display: block;
  text-align: center;
  padding: 14px 22px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: filter 0.15s ease, transform 0.15s ease, background 0.15s ease;
}
body.v2 .v2-pricing-cta:hover { transform: translateY(-1px); }
body.v2 .v2-pricing-cta-ghost {
  background: var(--glass);
  border: 1px solid var(--stroke);
  color: var(--fg);
}
body.v2 .v2-pricing-cta-ghost:hover { background: var(--glass-strong); }
body.v2 .v2-pricing-cta-primary {
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2));
  color: #fff;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--grad-2) 35%, transparent);
}
body.v2 .v2-pricing-cta-primary:hover { filter: brightness(1.08); }

body.v2 .v2-pricing-note {
  text-align: center;
  font-size: 13px !important;
}

/* ===== V2 Glassy — Comments, auth, nav user pill ===== */

/* Nav: signed-in user chip + quiet sign-in/out link */
.v2-nav-user {
  font-size: 12px;
  color: var(--fg2);
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--stroke);
  font-weight: 500;
  white-space: nowrap;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.v2-nav-link-quiet {
  font-size: 12px;
  color: var(--fg2);
  font-weight: 500;
  transition: color 0.15s ease;
}
.v2-nav-link-quiet:hover { color: var(--fg); }

/* Auth pages (login / register) — reuse legal-layout */
body.v2 .v2-auth-form {
  max-width: 420px;
  margin: 0 auto;
  padding: 32px 28px;
  border-radius: 22px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--stroke);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
body.v2 .v2-auth-error {
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 69, 58, 0.12);
  color: #ff6b5d;
  border: 1px solid rgba(255, 69, 58, 0.25);
  font-size: 13px;
}
body.v2 .v2-auth-alt {
  font-size: 13px !important;
  color: var(--fg2) !important;
  text-align: center;
  margin: 0 !important;
}
body.v2 .v2-auth-alt a { color: var(--grad-3); font-weight: 500; }
body.v2 .v2-auth-fine {
  font-size: 11.5px !important;
  color: var(--fg2) !important;
  text-align: center;
  margin-top: 4px !important;
  line-height: 1.5 !important;
}
body.v2 .v2-auth-fine a { color: var(--fg2); text-decoration: underline; text-underline-offset: 2px; }

/* Comment section on detail page */
body.v2-detail .v2d-comments-section {
  max-width: 840px;
  padding-top: 40px;
}

body.v2-detail .v2d-comment-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 22px;
  background: var(--v2d-glass, rgba(255, 255, 255, 0.04));
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--v2d-stroke, rgba(255, 255, 255, 0.08));
  margin-bottom: 32px;
}
body.v2-detail .v2d-comment-asyou {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
}
body.v2-detail .v2d-comment-asyou-name { font-weight: 600; font-size: 14px; color: #fff; }
body.v2-detail .v2d-comment-asyou-meta { font-size: 12px; color: rgba(255, 255, 255, 0.55); }
body.v2-detail .v2d-comment-asyou-meta a { color: rgba(255, 255, 255, 0.8); text-decoration: underline; text-underline-offset: 2px; }

body.v2-detail .v2d-comment-guest-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 600px) {
  body.v2-detail .v2d-comment-guest-row { grid-template-columns: 1fr; }
}
body.v2-detail .v2d-comment-form .v2-field input,
body.v2-detail .v2d-comment-form .v2-field textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
}
body.v2-detail .v2d-comment-form .v2-field input::placeholder,
body.v2-detail .v2d-comment-form .v2-field textarea::placeholder { color: rgba(255, 255, 255, 0.35); }
body.v2-detail .v2d-comment-form .v2-field input:focus,
body.v2-detail .v2d-comment-form .v2-field textarea:focus {
  border-color: var(--accent, #34c5ff);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent, #34c5ff) 22%, transparent);
}
body.v2-detail .v2d-comment-form .v2-form-btn {
  background: linear-gradient(135deg, var(--accent, #34c5ff), var(--accent2, #0a84ff));
  justify-self: start;
  padding: 12px 22px;
}
body.v2-detail .v2d-fine { color: rgba(255, 255, 255, 0.4); font-weight: 400; }
body.v2-detail .v2d-comment-altauth {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin: -4px 0 0 !important;
}
body.v2-detail .v2d-comment-altauth a { color: var(--accent, #34c5ff); text-decoration: underline; text-underline-offset: 2px; }

/* Comment list */
body.v2-detail .v2d-comment-list { display: flex; flex-direction: column; gap: 14px; }
body.v2-detail .v2d-comment-empty {
  text-align: center;
  padding: 32px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 18px;
}

body.v2-detail .v2d-comment {
  display: flex;
  gap: 14px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.15s ease;
}
body.v2-detail .v2d-comment:hover { border-color: rgba(255, 255, 255, 0.12); }

body.v2-detail .v2d-comment-avatar {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent, #34c5ff), var(--accent2, #0a84ff));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--accent, #34c5ff) 33%, transparent);
}

body.v2-detail .v2d-comment-body { flex: 1; min-width: 0; }
body.v2-detail .v2d-comment-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
body.v2-detail .v2d-comment-author {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
body.v2-detail .v2d-comment-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: 4px;
  background: linear-gradient(135deg, #30d158, #1c8e3a);
  color: #fff;
}
body.v2-detail .v2d-comment-time {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  margin-left: auto;
}
body.v2-detail .v2d-comment-text {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  white-space: pre-wrap;
  word-wrap: break-word;
  margin: 0 !important;
}

/* ===== Gallery — Pinterest-style image showcase ===== */
.v2-gallery-chips { margin-bottom: 28px; }

.v2-gallery-grid,
.v2-gallery-teaser-grid {
  display: block;
  column-count: 4;
  column-gap: 16px;
}
@media (max-width: 960px) {
  .v2-gallery-grid, .v2-gallery-teaser-grid { column-count: 3; }
}
@media (max-width: 720px) {
  .v2-gallery-grid, .v2-gallery-teaser-grid { column-count: 2; column-gap: 12px; }
}
@media (max-width: 480px) {
  .v2-gallery-grid, .v2-gallery-teaser-grid { column-count: 1; }
}

.v2-app-card.v2-gallery-card {
  display: block;
  break-inside: avoid;
  margin-bottom: 16px;
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--stroke);
  color: var(--fg);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}
.v2-app-card.v2-gallery-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
  box-shadow: 0 20px 60px -20px color-mix(in srgb, var(--accent) 33%, transparent);
}
.v2-gallery-card img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--glass-strong);
}
.v2-gallery-card-meta { padding: 12px 14px 14px; }
.v2-gallery-card-title {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
}
.v2-gallery-card-cat {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--fg2);
}

/* ----- Pin page (single image) ----- */
.v2-pin-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 720px) {
  .v2-pin-layout { grid-template-columns: 1fr; }
}
.v2-pin-media {
  border-radius: 22px;
  overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--stroke);
}
.v2-pin-media img { display: block; width: 100%; height: auto; }

.v2-pin-meta { padding-top: 8px; }
.v2-pin-caption { max-width: none; white-space: pre-line; }

.v2-pin-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}
.tag-chip {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--stroke);
  color: var(--fg2);
  font-size: 12px;
}

.v2-pin-app-link.v2-pin-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--glass);
  border: 1px solid var(--stroke);
  color: var(--fg);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.v2-pin-app-link.v2-pin-link:hover { border-color: var(--accent); transform: translateY(-1px); }
.v2-pin-app-link.v2-pin-link img { width: 32px; height: 32px; border-radius: 8px; display: block; }

.v2-pin-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--stroke);
}
.v2-pin-nav-link.v2-pin-link,
.v2-pin-nav-all.v2-pin-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg2);
  transition: color 0.15s ease;
}
.v2-pin-nav-link.v2-pin-link:hover,
.v2-pin-nav-all.v2-pin-link:hover { color: var(--fg); }
@media (max-width: 600px) {
  .v2-pin-nav-link.v2-pin-link {
    max-width: 40%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* ===== Blog — posts for app user engagement ===== */
.v2-blog-chips { margin-bottom: 28px; }

.v2-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.v2-app-card.v2-blog-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--stroke);
  color: var(--fg);
  gap: 0;
  align-items: stretch;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}
.v2-app-card.v2-blog-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
  box-shadow: 0 20px 60px -20px color-mix(in srgb, var(--accent) 33%, transparent);
}
.v2-blog-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--glass-strong);
}
.v2-blog-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.v2-blog-card-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.v2-blog-card-title { font-size: 18px; font-weight: 700; color: var(--fg); line-height: 1.3; }
.v2-blog-card-excerpt { font-size: 13px; color: var(--fg2); line-height: 1.5; }
.v2-blog-card-date { font-size: 12px; color: var(--fg2); margin-top: auto; padding-top: 6px; }

.v2-blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}
.v2-blog-page-link.v2-blog-page-link { color: var(--fg); font-weight: 600; font-size: 14px; }
.v2-blog-page-current { font-size: 13px; color: var(--fg2); }

/* ----- Single post page ----- */
.v2-post { max-width: 760px; margin: 0 auto; }
.v2-post-head { text-align: left; margin-bottom: 24px; }
.v2-post-byline { font-size: 14px; color: var(--fg2); margin-top: 10px; }
.v2-post-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }

.v2-post-cover {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 32px;
  background: var(--glass);
  border: 1px solid var(--stroke);
}
.v2-post-cover img { display: block; width: 100%; height: auto; }

.v2-post-body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--fg);
}
.v2-post-body p { margin: 0 0 20px; color: var(--fg); }
.v2-post-body h1, .v2-post-body h2, .v2-post-body h3 {
  margin: 36px 0 16px;
  color: var(--fg);
  font-weight: 700;
  line-height: 1.3;
}
.v2-post-body h1 { font-size: 28px; }
.v2-post-body h2 { font-size: 23px; }
.v2-post-body h3 { font-size: 19px; }
.v2-post-body ul, .v2-post-body ol { margin: 0 0 20px; padding-left: 24px; color: var(--fg); }
.v2-post-body li { margin-bottom: 8px; }
.v2-post-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.v2-post-body img { max-width: 100%; border-radius: 14px; margin: 24px 0; display: block; }
.v2-post-body blockquote {
  margin: 0 0 20px;
  padding: 4px 20px;
  border-left: 3px solid var(--accent);
  color: var(--fg2);
  font-style: italic;
}
.v2-post-body blockquote p { margin: 0; color: var(--fg2); }
.v2-post-body code {
  font-family: ui-monospace, SF Mono, Menlo, monospace;
  font-size: 0.88em;
  background: var(--glass-strong);
  padding: 2px 6px;
  border-radius: 5px;
}
.v2-post-body pre {
  background: var(--glass-strong);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 16px 18px;
  overflow-x: auto;
  margin: 0 0 20px;
}
.v2-post-body pre code { background: none; padding: 0; font-size: 13px; }
.v2-post-body hr { border: none; border-top: 1px solid var(--stroke); margin: 32px 0; }

@media (max-width: 720px) {
  .v2-blog-grid { grid-template-columns: 1fr; }
  .v2-post-body { font-size: 16px; }
}
