
:root {
  --cream:        #FDF8E9;
  --cream-deep:   #F6EEDA;

  --plum:         #781848;
  --plum-deep:    #4A0E2C;
  --magenta:      #A81E5C;
  --pink:         #D890C0;
  --pink-soft:    #F0C0D8;
  --pink-mist:    #F7E2EE;

  --sprout:       #789030;
  --sprout-light: #A8C048;
  --coral:        #F08878;

  --ink:          #300000;

  --bg:           var(--cream);
  --bg-alt:       var(--cream-deep);
  --surface:      #FFFFFF;
  --surface-2:    #FFFBF2;
  --text:         #2A1620;
  --text-muted:   #7A5C68;
  --border:       #E8D9DE;
  --border-strong:#D8C2CA;
  --accent:       var(--magenta);
  --accent-ink:   #FFFFFF;
  --shadow-sm:    0 1px 2px rgba(48, 0, 0, .06), 0 2px 8px rgba(48, 0, 0, .04);
  --shadow-md:    0 4px 12px rgba(48, 0, 0, .07), 0 12px 32px rgba(48, 0, 0, .07);
  --shadow-lg:    0 8px 24px rgba(48, 0, 0, .09), 0 24px 64px rgba(48, 0, 0, .10);

  --nav-hover-bg:   color-mix(in srgb, var(--pink-soft) 45%, transparent);
  --accent-heading: var(--magenta);
  --status-live-fg: #2E7D32;
  --status-dev-fg:  #A85A00;
  --status-soon-fg: var(--magenta);
  --ico-bg:         color-mix(in srgb, var(--pink-soft) 55%, transparent);
  --ico-fg:         var(--magenta);
  --hero-glow:
    radial-gradient(60% 55% at 78% 18%, color-mix(in srgb, var(--pink-soft) 70%, transparent), transparent 70%),
    radial-gradient(50% 50% at 12% 78%, color-mix(in srgb, var(--sprout-light) 26%, transparent), transparent 72%);

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 48px);

  --header-h: 72px;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

[data-theme="dark"] {
  --bg:           #1A0710;
  --bg-alt:       #220A16;
  --surface:      #2A0E1C;
  --surface-2:    #331124;
  --text:         #F7E9EE;
  --text-muted:   #C39AAE;
  --border:       #451A30;
  --border-strong:#5C2440;
  --accent:       #F08CBE;
  --accent-ink:   #2A0410;
  --shadow-sm:    0 1px 2px rgba(0, 0, 0, .3);
  --shadow-md:    0 4px 12px rgba(0, 0, 0, .35), 0 12px 32px rgba(0, 0, 0, .3);
  --shadow-lg:    0 8px 24px rgba(0, 0, 0, .4), 0 24px 64px rgba(0, 0, 0, .35);

  --nav-hover-bg:   var(--surface-2);
  --accent-heading: var(--accent);
  --status-live-fg: var(--sprout-light);
  --status-dev-fg:  #FFC65C;
  --status-soon-fg: var(--pink);
  --ico-bg:         var(--surface-2);
  --ico-fg:         var(--accent);
  --hero-glow:
    radial-gradient(60% 55% at 78% 18%, color-mix(in srgb, var(--magenta) 34%, transparent), transparent 70%),
    radial-gradient(50% 50% at 12% 78%, color-mix(in srgb, var(--sprout) 20%, transparent), transparent 72%);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:           #1A0710;
    --bg-alt:       #220A16;
    --surface:      #2A0E1C;
    --surface-2:    #331124;
    --text:         #F7E9EE;
    --text-muted:   #C39AAE;
    --border:       #451A30;
    --border-strong:#5C2440;
    --accent:       #F08CBE;
    --accent-ink:   #2A0410;
    --shadow-sm:    0 1px 2px rgba(0, 0, 0, .3);
    --shadow-md:    0 4px 12px rgba(0, 0, 0, .35), 0 12px 32px rgba(0, 0, 0, .3);
    --shadow-lg:    0 8px 24px rgba(0, 0, 0, .4), 0 24px 64px rgba(0, 0, 0, .35);

    --nav-hover-bg:   var(--surface-2);
    --accent-heading: var(--accent);
    --status-live-fg: var(--sprout-light);
    --status-dev-fg:  #FFC65C;
    --status-soon-fg: var(--pink);
    --ico-bg:         var(--surface-2);
    --ico-fg:         var(--accent);
    --hero-glow:
      radial-gradient(60% 55% at 78% 18%, color-mix(in srgb, var(--magenta) 34%, transparent), transparent 70%),
      radial-gradient(50% 50% at 12% 78%, color-mix(in srgb, var(--sprout) 20%, transparent), transparent 72%);
  }
}


*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-tap-highlight-color: transparent;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  color: var(--text);
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { margin: 0 0 1em; }

a { color: var(--accent); text-decoration-color: color-mix(in srgb, var(--accent) 35%, transparent); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }

img { max-width: 100%; display: block; }

[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 18px; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  z-index: 200; font-weight: 600; text-decoration: none;
  transition: top .18s ease;
}
.skip-link:focus { top: 0; }


.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.site-header .wrap {
  display: flex; align-items: center; gap: 20px;
  min-height: 72px;
}

.brand {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.06rem; letter-spacing: -.02em;
  color: var(--text); text-decoration: none;
  margin-right: auto;
  padding: 6px; margin-left: -6px; border-radius: var(--radius-sm);
}
.brand img { width: 38px; height: 38px; object-fit: contain; }
.brand span { white-space: nowrap; }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.brand img { transition: transform .3s cubic-bezier(.34,1.56,.64,1); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--text-muted); text-decoration: none;
  font-size: .93rem; font-weight: 500;
  padding: 8px 13px; border-radius: 999px;
  transition: color .15s ease, background .15s ease;
}
.nav a:hover, .nav a[aria-current="page"] {
  color: var(--text);
  background: var(--nav-hover-bg);
}

.theme-toggle {
  display: grid; place-items: center;
  width: 38px; height: 38px; flex: none;
  border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--text-muted);
  border: 1px solid var(--border);
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.theme-toggle:hover { color: var(--text); border-color: var(--border-strong); background: var(--surface); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
  :root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
}

@media (max-width: 720px) {
  .nav a { padding: 8px 10px; font-size: .88rem; }
  .brand span { font-size: .95rem; }
}

@media (max-width: 620px) {
  :root { --header-h: 108px; }
  .site-header .wrap {
    flex-wrap: wrap;
    min-height: 0;
    row-gap: 2px;
    padding-block: 10px 8px;
  }
  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2px;
  }
  .nav a { padding: 7px 12px; }
}


.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px;
  font: inherit; font-weight: 600; font-size: .95rem;
  border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  max-width: 100%;
  transition: transform .16s cubic-bezier(.34,1.56,.64,1), box-shadow .16s ease,
              background .16s ease, border-color .16s ease, color .16s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-primary {
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 32%, transparent);
}
.btn-primary:hover { box-shadow: 0 8px 22px color-mix(in srgb, var(--accent) 42%, transparent); }

.btn-ghost {
  background: var(--surface); color: var(--text);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-disabled {
  background: var(--surface-2); color: var(--text-muted);
  border-color: var(--border);
  cursor: not-allowed; box-shadow: none;
}
.btn-disabled:hover { transform: none; }

.store-badge {
  display: inline-flex; align-self: center; border-radius: 9px;
  transition: transform .16s cubic-bezier(.34,1.56,.64,1);
}
.store-badge img { display: block; height: 50px; width: auto; }
.store-badge-play img { height: 74.4px; margin: -12.2px; }
.store-badge:hover { transform: translateY(-2px); }
.store-badge:active { transform: translateY(1px) scale(.98); }


.hero {
  position: relative; overflow: hidden;
  padding: clamp(48px, 9vw, 104px) 0 clamp(56px, 9vw, 108px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: var(--hero-glow);
}

.hero .wrap {
  position: relative; z-index: 1;
  display: grid; gap: clamp(32px, 5vw, 64px);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
}
@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center; }
  .eyebrow { margin-inline: auto; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 7px 15px 7px 9px; border-radius: 999px;
  font-size: .82rem; font-weight: 600; letter-spacing: .01em;
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--sprout-light);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sprout-light) 28%, transparent);
}

.hero h1 { margin-bottom: .32em; }
.hero h1 .accent {
  color: var(--accent-heading);
  font-style: italic;
}

.hero-lede {
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  color: var(--text-muted);
  max-width: 46ch;
  margin-bottom: 30px;
}
@media (max-width: 880px) { .hero-lede { margin-inline: auto; } }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-art { position: relative; display: grid; place-items: center; }
.hero-art img {
  width: min(100%, 420px);
  filter: drop-shadow(0 24px 44px rgba(120, 24, 72, .28));
  animation: bob 6s ease-in-out infinite;
  position: relative; z-index: 2;
}
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50%      { transform: translateY(-16px) rotate(1.5deg); }
}
.hero-rings { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; pointer-events: none; }
.hero-rings span {
  position: absolute; border-radius: 50%;
  border: 1.5px dashed color-mix(in srgb, var(--magenta) 26%, transparent);
  animation: spin 34s linear infinite;
}
.hero-rings span:nth-child(1) { width: 78%; aspect-ratio: 1; }
.hero-rings span:nth-child(2) { width: 92%; aspect-ratio: 1; animation-duration: 48s; animation-direction: reverse; border-style: dotted; }
.hero-rings span:nth-child(3) { width: 106%; aspect-ratio: 1; animation-duration: 66s; opacity: .55; }
@keyframes spin { to { transform: rotate(360deg); } }


.stats {
  border-block: 1px solid var(--border);
  background: var(--surface-2);
}
.stats .wrap {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(16px, 3vw, 32px);
  padding-block: clamp(28px, 4vw, 40px);
}
.stat { text-align: center; }
.stat dt {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .09em;
  color: var(--text-muted); font-weight: 600; margin-bottom: 6px;
}
.stat dd {
  margin: 0; font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 600;
  color: var(--text); line-height: 1;
}


.section { padding-block: clamp(56px, 8vw, 104px); }
.section-alt { background: var(--bg-alt); }

.section-head { max-width: 60ch; margin-bottom: clamp(32px, 5vw, 48px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .kicker {
  display: block;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 12px;
}
.section-head p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 0; }


.controls {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
  margin-bottom: 30px;
}
.search {
  position: relative; flex: 1 1 260px; max-width: 380px;
}
.search svg {
  position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
  width: 17px; height: 17px; color: var(--text-muted); pointer-events: none;
}
.search input {
  width: 100%; font: inherit; font-size: .95rem;
  padding: 12px 16px 12px 42px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.search input::placeholder { color: var(--text-muted); }
.search input:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent);
}

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font: inherit; font-size: .87rem; font-weight: 600;
  padding: 9px 16px; border-radius: 999px; cursor: pointer;
  background: var(--surface); color: var(--text-muted);
  border: 1px solid var(--border);
  transition: all .15s ease;
}
.chip:hover { color: var(--text); border-color: var(--border-strong); }
.chip[aria-pressed="true"] {
  background: var(--accent); color: var(--accent-ink); border-color: var(--accent);
  box-shadow: 0 3px 10px color-mix(in srgb, var(--accent) 30%, transparent);
}

.result-count {
  font-size: .88rem; color: var(--text-muted); margin-bottom: 22px;
}


.app-grid {
  display: grid; gap: clamp(16px, 2.4vw, 26px);
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  list-style: none; margin: 0; padding: 0;
}

.app-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s cubic-bezier(.34,1.4,.64,1), box-shadow .22s ease, border-color .22s ease;
  overflow: hidden;
  isolation: isolate;
}
.app-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit; opacity: 0;
  background: radial-gradient(80% 70% at 50% 0%, color-mix(in srgb, var(--card-accent, var(--pink)) 16%, transparent), transparent 70%);
  transition: opacity .25s ease;
  z-index: -1;
}
.app-card:hover, .app-card:focus-within {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--card-accent, var(--accent)) 45%, var(--border));
}
.app-card:hover::after, .app-card:focus-within::after { opacity: 1; }

.app-icon {
  width: 72px; height: 72px; flex: none;
  border-radius: 20px;
  object-fit: cover;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--surface-2);
}
.app-icon-fallback {
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.9rem; font-weight: 700;
  color: #fff; border: none;
}

.app-card-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.app-card-head > div { min-width: 0; }

.app-card h3 { margin: 0 0 4px; font-size: 1.22rem; }
.app-card h3 a { color: inherit; text-decoration: none; }
.app-card h3 a::before { content: ""; position: absolute; inset: 0; z-index: 2; }

.app-card:has(h3 a:focus-visible) {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.app-card h3 a:focus-visible { outline: none; }

.app-cat {
  font-size: .78rem; font-weight: 600; letter-spacing: .05em;
  text-transform: uppercase; color: var(--text-muted);
}

.app-tagline {
  color: var(--text-muted); font-size: .95rem;
  margin: 0 0 18px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  line-clamp: 3; overflow: hidden;
}

.app-card-foot {
  margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
}

.pill {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .76rem; font-weight: 600;
  padding: 5px 11px; border-radius: 999px;
  background: var(--surface-2); color: var(--text-muted);
  border: 1px solid var(--border);
}
.pill svg { width: 12px; height: 12px; }

.status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .76rem; font-weight: 700; letter-spacing: .02em;
  padding: 5px 12px; border-radius: 999px;
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-live {
  color: var(--status-live-fg);
  background: color-mix(in srgb, var(--sprout-light) 26%, transparent);
}
.status-dev {
  color: var(--status-dev-fg);
  background: color-mix(in srgb, #FFB020 24%, transparent);
}
.status-soon {
  color: var(--status-soon-fg);
  background: color-mix(in srgb, var(--pink) 26%, transparent);
}

.empty-state {
  text-align: center; padding: 60px 20px;
  color: var(--text-muted);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
}
.empty-state strong { display: block; color: var(--text); font-size: 1.1rem; margin-bottom: 6px; }


.values {
  display: grid; gap: clamp(18px, 2.6vw, 28px);
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  list-style: none; margin: 0; padding: 0;
}
.value {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-sm);
}
.value .ico {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 16px;
  background: var(--ico-bg);
  color: var(--ico-fg);
}
.value .ico svg { width: 22px; height: 22px; }
.value h3 { font-size: 1.15rem; margin-bottom: 8px; }
.value p { color: var(--text-muted); font-size: .95rem; margin: 0; }


.cta {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--plum), var(--magenta) 62%, #C93A7A);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(38px, 6vw, 64px);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta::before {
  content: ""; position: absolute; inset: -40% -10% auto auto;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.16), transparent 62%);
  pointer-events: none;
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.86); max-width: 52ch; margin-inline: auto; font-size: 1.05rem; }
.cta .btn-primary { background: #fff; color: var(--plum); box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); box-shadow: none; }
.cta .btn-ghost:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.12); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }


.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface-2);
  padding-block: clamp(40px, 6vw, 64px) 28px;
  margin-top: clamp(56px, 8vw, 96px);
}
.footer-grid {
  display: grid; gap: 34px;
  grid-template-columns: minmax(0, 1.6fr) repeat(auto-fit, minmax(140px, 1fr));
  margin-bottom: 38px;
}
.footer-brand p { color: var(--text-muted); font-size: .93rem; max-width: 34ch; margin: 14px 0 0; }
.footer-col h4 {
  font-family: var(--font-body); font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--text); text-decoration: none; font-size: .93rem; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  color: var(--text-muted); font-size: .86rem;
}
.footer-legal { margin: 16px 0 0; color: var(--text-muted); font-size: .76rem; }

@media (max-width: 620px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 30px;
  }
  .footer-brand p { max-width: none; }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}


.detail-hero { padding-block: clamp(32px, 5vw, 56px) clamp(36px, 5vw, 60px); position: relative; overflow: hidden; }
.detail-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(52% 60% at 16% 0%, color-mix(in srgb, var(--card-accent, var(--pink)) 22%, transparent), transparent 68%);
}
.detail-hero .wrap { position: relative; z-index: 1; }

.back-link {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--text-muted); text-decoration: none;
  font-size: .9rem; font-weight: 600; margin-bottom: 28px;
}
.back-link:hover { color: var(--accent); }
.back-link svg { width: 15px; height: 15px; }

.detail-head { display: flex; flex-wrap: wrap; gap: clamp(20px, 3vw, 34px); align-items: flex-start; }
.detail-head .app-icon { width: 116px; height: 116px; border-radius: 28px; }
.detail-head-body { flex: 1 1 340px; min-width: 0; }
.detail-head h1 { font-size: clamp(2rem, 4.6vw, 3rem); margin-bottom: .18em; }
.detail-tagline { font-size: clamp(1.02rem, 1.8vw, 1.18rem); color: var(--text-muted); max-width: 52ch; }
.detail-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.detail-privacy { margin-top: 14px; font-size: .92rem; }

.meta-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 2px; margin-top: 40px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.meta-strip div { background: var(--surface); padding: 18px 20px; }
.meta-strip dt {
  font-size: .74rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 5px;
}
.meta-strip dd { margin: 0; font-weight: 600; font-size: .97rem; }

@media (max-width: 620px) {
  .meta-strip {
    grid-template-columns: 1fr;
    gap: 1px;
  }
  .meta-strip div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 18px;
  }
  .meta-strip dt { margin-bottom: 0; flex: none; }
  .meta-strip dd { text-align: right; }
}

.prose { max-width: 68ch; }
.prose p { color: var(--text-muted); font-size: 1.03rem; }
.prose h2 { margin-top: 0; }

.feature-list {
  display: grid; gap: clamp(16px, 2.4vw, 24px);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  list-style: none; margin: 0; padding: 0;
}
.feature {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.feature h3 {
  font-size: 1.08rem; margin-bottom: 7px;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.feature.is-premium { border-color: color-mix(in srgb, var(--accent) 32%, var(--border)); }

.badge-premium {
  font-family: var(--font-body);
  font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-ink); background: var(--accent);
  padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}

.plans {
  display: grid; gap: clamp(16px, 2.4vw, 24px);
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}
.plan {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-sm);
}
.plan.is-premium {
  border-color: color-mix(in srgb, var(--accent) 42%, var(--border));
  box-shadow: var(--shadow-md);
}
.plan h3 {
  font-size: 1.02rem; letter-spacing: .09em; text-transform: uppercase;
  font-family: var(--font-body); font-weight: 700;
  color: var(--text-muted); margin-bottom: 18px;
}
.plan.is-premium h3 { color: var(--accent); }
.plan-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.plan-list li {
  display: grid; grid-template-columns: 20px 1fr; gap: 11px;
  align-items: start; font-size: .95rem; color: var(--text);
}
.plan-list svg { width: 15px; height: 15px; margin-top: 4px; color: var(--sprout); }
.plan.is-premium .plan-list svg { color: var(--accent); }
.feature p { color: var(--text-muted); font-size: .94rem; margin: 0; }

.shots {
  display: flex; gap: 20px; overflow-x: auto;
  padding-bottom: 14px; scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.shot {
  flex: none; width: 230px; aspect-ratio: 9 / 19.5;
  scroll-snap-align: start;
  border-radius: 26px; border: 1px solid var(--border);
  background: linear-gradient(165deg,
    color-mix(in srgb, var(--card-accent, var(--pink)) 26%, var(--surface)),
    var(--surface) 70%);
  display: grid; place-items: center; gap: 12px;
  box-shadow: var(--shadow-md);
  padding: 24px; text-align: center;
}
.shot img { width: 56px; height: 56px; border-radius: 15px; opacity: .55; }
.shot span { font-size: .84rem; color: var(--text-muted); font-weight: 600; }

.tech-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 9px; }

.notice {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface-2); border: 1px dashed var(--border-strong);
  border-radius: var(--radius); padding: 20px 22px;
  color: var(--text-muted); font-size: .94rem;
}
.notice svg { width: 20px; height: 20px; flex: none; color: var(--accent); margin-top: 2px; }
.notice strong { color: var(--text); }


.split {
  display: grid; gap: clamp(28px, 5vw, 64px);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}
.split img { border-radius: var(--radius-lg); }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px;
  width: 2px; background: var(--border);
}
.timeline li { position: relative; padding: 0 0 30px 34px; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--surface); border: 3px solid var(--accent);
}
.timeline h3 { font-size: 1.05rem; margin-bottom: 4px; }
.timeline p { color: var(--text-muted); font-size: .95rem; margin: 0; }
.timeline .when {
  font-size: .78rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 4px;
}

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s cubic-bezier(.22,1,.36,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }
