:root {
  --bg: #fafaf8;
  --fg: #17171a;
  --muted: #6b6b6b;
  --card: #ffffff;
  --border: #e5e5e0;
  --accent: #2d5a4a;
  --cream: #fdf3e1;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121316;
    --fg: #f0f0ee;
    --muted: #9a9a95;
    --card: #1c1d21;
    --border: #2c2d31;
    --accent: #7fd6b3;
  }
}
/* Per-app themes: real gradient colors pulled from each app icon */
.theme-reflect { --app-a: #140e4d; --app-b: #4b32c9; --app-c: #9c7bf0; }
.theme-anchor  { --app-a: #061a35; --app-b: #14586e; --app-c: #2fc7ba; }
.theme-studio  { --app-a: #100a3d; --app-b: #4b32c9; --app-c: #2fc7ba; }
.theme-clearing { --app-a: #241a12; --app-b: #a9713f; --app-c: #f0c891; }

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 0 1.5rem 5rem; }
a { color: var(--accent); }
img { max-width: 100%; }

/* ---- Nav ---- */
nav.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
}
nav.site a.brand { display: flex; align-items: center; gap: 0.55rem; font-weight: 700; font-size: 1.05rem; color: #fdf3e1; text-decoration: none; }
nav.site .mark { width: 28px; height: 28px; border-radius: 9px; background: linear-gradient(135deg, #140e4d, #6a4fe0 50%, #2fc7ba); flex-shrink: 0; }
nav.site .nav-links { display: flex; gap: 1.75rem; }
nav.site .nav-links a { color: rgba(253,243,225,0.75); text-decoration: none; font-size: 0.9rem; }
nav.site .nav-links a:hover { color: #fdf3e1; }
nav.site.nav-light a.brand { color: var(--fg); }
nav.site.nav-light .nav-links a { color: var(--muted); }
nav.site.nav-light .nav-links a:hover { color: var(--fg); }

/* ---- Full-bleed dark hero ---- */
.hero-section {
  background: radial-gradient(circle at 15% 0%, var(--app-c, #34c5b8) 0%, transparent 45%),
              radial-gradient(circle at 85% 100%, var(--app-b, #6a4fe0) 0%, transparent 55%),
              var(--app-a, #100a3d);
  background-color: var(--app-a, #100a3d);
  background-image:
    radial-gradient(circle at 15% 0%, color-mix(in srgb, var(--app-c, #34c5b8) 35%, transparent) 0%, transparent 45%),
    radial-gradient(circle at 85% 100%, color-mix(in srgb, var(--app-b, #6a4fe0) 45%, transparent) 0%, transparent 55%),
    linear-gradient(var(--app-a, #100a3d), var(--app-a, #100a3d)),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 48px);
  padding-bottom: 5rem;
}
.hero-inner { max-width: 780px; margin: 0 auto; padding: 3.5rem 1.5rem 0; text-align: center; }
.badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fdf3e1;
  font-size: 0.8rem;
  margin-bottom: 1.25rem;
}
.hero-inner h1 { color: #fdf3e1; font-size: 2.6rem; line-height: 1.1; margin: 0 0 1rem; }
.hero-inner p.tagline { color: rgba(253,243,225,0.8); font-size: 1.1rem; max-width: 520px; margin: 0 auto; }
.hero-icon { width: 84px; height: 84px; border-radius: 22px; margin: 0 auto 1.5rem; display: block; box-shadow: 0 10px 30px rgba(0,0,0,0.35); }

.cta-row { display: flex; gap: 0.85rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  border: 1px solid transparent;
}
.btn-primary { background: #fdf3e1; color: var(--app-a, #17171a); }
.btn-secondary { background: transparent; color: #fdf3e1; border-color: rgba(253,243,225,0.4); }

/* Floating phone mockups, bleeding out of the hero as a scroll strip */
.screens {
  max-width: 980px;
  margin: 3rem auto -6.5rem;
  padding: 0 1.5rem 2rem;
  display: flex;
  justify-content: flex-start;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  position: relative;
}
@media (min-width: 900px) { .screens { justify-content: center; } }
.screens .phone {
  flex: 0 0 auto;
  width: 210px;
  scroll-snap-align: center;
  border-radius: 30px;
  overflow: hidden;
  border: 7px solid #0b0b14;
  background: #0b0b14;
  box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}
.screens .phone:nth-child(odd) { transform: rotate(-4deg) translateY(14px); }
.screens .phone:nth-child(even) { transform: rotate(4deg) translateY(-6px); }
.screens .phone img { display: block; width: 100%; }

/* Homepage app cards, floated over the hero like a feature grid */
.apps-section { max-width: 900px; margin: -4.5rem auto 0; padding: 0 1.5rem 4rem; position: relative; z-index: 2; }
.apps-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .apps-grid { grid-template-columns: 1fr 1fr; } }
.app-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem;
  text-decoration: none;
  color: var(--fg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  transition: transform 0.15s ease;
}
.app-card:hover { transform: translateY(-4px); }
.app-card .top { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 0.9rem; }
.app-card .icon { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; flex-shrink: 0; }
.app-card h3 { margin: 0; }
.app-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.app-card .shot { display: flex; justify-content: center; padding-top: 0.5rem; }
.app-card .shot .phone {
  width: 160px;
  border-radius: 22px;
  overflow: hidden;
  border: 6px solid #0b0b14;
  background: #0b0b14;
  box-shadow: 0 16px 32px rgba(0,0,0,0.18);
}
.app-card .shot .phone img { display: block; width: 100%; }

/* Coming-soon strip: muted, unclickable, clearly not-yet-available */
.soon-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: 1rem; }
@media (min-width: 640px) { .soon-grid { grid-template-columns: 1fr 1fr; } }
.soon-card {
  display: flex; align-items: flex-start; gap: 0.9rem;
  background: var(--card);
  border: 1px dashed var(--border);
  border-radius: 16px;
  padding: 1.1rem 1.25rem;
}
.soon-card .dot {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg); border: 1px solid var(--border);
  font-weight: 700; color: var(--muted);
}
.soon-card h4 { margin: 0 0 0.2rem; display: flex; align-items: center; gap: 0.5rem; }
.soon-card .tag {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--muted); background: var(--bg); border: 1px solid var(--border);
  padding: 0.15rem 0.5rem; border-radius: 999px;
}
.soon-card p { margin: 0; color: var(--muted); font-size: 0.88rem; }

/* ---- Content sections ---- */
.content { max-width: 700px; margin: 0 auto; padding: 0 1.5rem 5rem; }
h2 { font-size: 1.3rem; margin-top: 2.75rem; }
.eyebrow { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--app-b, var(--accent)); margin-bottom: 0.4rem; }

ul.features { list-style: none; padding: 0; margin: 1rem 0; }
ul.features li { position: relative; padding-left: 1.6rem; margin-bottom: 0.85rem; }
ul.features li::before {
  content: "";
  position: absolute; left: 0; top: 0.45rem;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--app-b, var(--accent));
}
.pricing {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}
.pricing .plan { padding: 0.75rem 0.5rem; }
.pricing .plan .amount { font-size: 1.4rem; font-weight: 700; display: block; }
.pricing .plan .period { color: var(--muted); font-size: 0.85rem; }
.pricing-note { color: var(--muted); margin-top: 0.5rem; }

footer { margin-top: 4rem; color: var(--muted); font-size: 0.85rem; text-align: center; }
footer a { color: var(--muted); }
.legal { max-width: 700px; margin: 0 auto; padding: 3rem 1.5rem 5rem; font-size: 0.95rem; }
.legal h1 { margin-top: 1rem; }
.legal h2 { font-size: 1.1rem; margin-top: 2rem; }
.legal nav.site { padding-top: 0; }
