/* 23x73.com — dark premium design system
   Shared by the catalog (/), Mom Bux landing (/mombux), and privacy (/mombux/privacy). */

:root {
  --bg: #0a0a0b;
  --surface: #141416;
  --surface-2: #1b1b1e;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --ink: #f5f5f7;
  --muted: #9a9aa0;
  --faint: #6a6a70;
  --accent: #7BC618;
  --accent-deep: #5FB61E;
  --accent-glow: rgba(123, 198, 24, 0.28);
  --pink: #F03B9E;
  --radius: 18px;
  --maxw: 1080px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  /* Faint accent glow bleeding from the top. */
  background-image:
    radial-gradient(1100px 520px at 50% -260px, rgba(123, 198, 24, 0.12), transparent 70%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.wordmark .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent-glow);
}
.nav a.back { color: var(--muted); font-size: 15px; transition: color .2s var(--ease); }
.nav a.back:hover { color: var(--ink); }
.nav .tag { color: var(--muted); font-size: 15px; }

/* ---------- Type ---------- */
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.05; margin: 0; font-weight: 650; }
.hero-title { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.lede { color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 40ch; }
.eyebrow {
  font: 600 13px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.grad-accent {
  background: linear-gradient(100deg, var(--ink) 30%, var(--accent) 130%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Hero ---------- */
.hero { padding: clamp(64px, 12vw, 140px) 0 clamp(48px, 8vw, 96px); }
.hero .lede { margin-top: 22px; }

/* ---------- Pills & buttons ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 13px; border-radius: 999px;
  font: 600 12.5px/1 var(--sans); letter-spacing: 0.02em;
  color: var(--accent);
  background: rgba(123, 198, 24, 0.10);
  border: 1px solid rgba(123, 198, 24, 0.30);
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent-glow); }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 22px; border-radius: 12px;
  font-weight: 600; font-size: 15px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
  border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: #0a0a0b; box-shadow: 0 0 0 rgba(0,0,0,0); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px var(--accent-glow); }
.btn-ghost { border-color: var(--border-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }

/* ---------- App catalog grid ---------- */
.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; padding-bottom: 40px; }
.app-card {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.app-card:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: 0 0 44px var(--accent-glow); }
.app-icon { width: 68px; height: 68px; border-radius: 16px; flex: none; box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.app-card h3 { font-size: 1.35rem; }
.app-card .app-tag { color: var(--muted); margin: 4px 0 12px; }
.app-card .app-desc { color: var(--faint); font-size: 15px; }
.app-card .row { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.app-card .go { margin-left: auto; color: var(--muted); transition: transform .2s var(--ease), color .2s var(--ease); }
.app-card:hover .go { color: var(--accent); transform: translateX(3px); }

/* ---------- Feature blocks (how it works) ---------- */
.features { display: flex; flex-direction: column; gap: clamp(56px, 9vw, 104px); padding: clamp(48px, 8vw, 96px) 0; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.feature:nth-child(even) .feature-media { order: -1; }
.feature-copy .num { font: 600 13px/1 var(--mono); color: var(--accent); letter-spacing: 0.1em; }
.feature-copy h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 14px 0 12px; }
.feature-copy p { color: var(--muted); margin: 0; max-width: 42ch; }

/* Device-frame placeholder (swap the inner content for a real screenshot later). */
.device {
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  border: 1px solid var(--border);
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(123,198,24,0.10), transparent 60%),
    var(--surface);
  display: flex; align-items: center; justify-content: center;
  color: var(--faint); font: 500 13px/1.4 var(--mono); text-align: center;
  overflow: hidden;
}
.device img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Screenshot gallery ---------- */
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; padding: clamp(44px, 7vw, 88px) 0; }
.shots img { width: 100%; height: auto; display: block; border-radius: 22px; border: 1px solid var(--border); }
@media (max-width: 720px) { .shots { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }

/* ---------- Panels (privacy blurb, generic) ---------- */
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 48px);
}

/* ---------- Prose (privacy page) ---------- */
.prose { max-width: 720px; padding: 24px 0 80px; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 6px; }
.prose h2 { font-size: 1.35rem; margin: 38px 0 10px; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--accent); }
.prose .eff { color: var(--faint); font-size: 15px; margin-top: 0; }
.prose ul { padding-left: 20px; }
.prose li { margin: 6px 0; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding: 34px 0 56px;
  color: var(--faint); font-size: 14px;
  display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center;
}
.footer a { color: var(--muted); transition: color .2s var(--ease); }
.footer a:hover { color: var(--ink); }
.footer .sep { color: var(--border-strong); }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .feature { grid-template-columns: 1fr; gap: 20px; }
  .feature:nth-child(even) .feature-media { order: 0; }
  .app-card { flex-direction: column; }
}

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