@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,700&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap");

:root {
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", system-ui, -apple-system, sans-serif;
  --bg: #f6f1e8;
  --surface: #fffbf5;
  --surface-high: #f0e9dc;
  --ink: #2c2a26;
  --muted: #6b6560;
  --accent: #5b7c6e;
  --accent-soft: #8fa99a;
  --accent-tint: #e4efe9;
  --border: #ddd4c4;
  --danger: #b54a3c;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 8px 28px rgba(44, 42, 38, 0.07);
  --shadow-lg: 0 24px 60px rgba(44, 42, 38, 0.12);
  --max: 1040px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 17px;
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: color-mix(in srgb, var(--accent) 80%, #000); }

.page-bg {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 8% 0%, color-mix(in srgb, var(--accent) 18%, transparent) 0%, transparent 55%),
    radial-gradient(ellipse 55% 40% at 95% 8%, rgba(244, 196, 168, 0.28) 0%, transparent 50%),
    radial-gradient(ellipse 50% 35% at 50% 100%, color-mix(in srgb, var(--accent-soft) 22%, transparent) 0%, transparent 55%),
    var(--bg);
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem 3rem; }

/* Header */
.site-header {
  background: rgba(255, 251, 245, 0.9);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(14px);
}
.site-header .inner {
  max-width: var(--max); margin: 0 auto; padding: 0.8rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.brand {
  display: flex; align-items: center; gap: 0.65rem;
  text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.1rem;
}
.brand-mark {
  width: 42px; height: 42px; border-radius: 13px; overflow: hidden;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 28%, transparent);
  flex-shrink: 0;
  background: linear-gradient(145deg, var(--accent) 0%, var(--accent-soft) 100%);
  display: grid; place-items: center; color: #fff; font-size: 1.15rem;
}
.nav { display: flex; gap: 0.2rem 1rem; flex-wrap: wrap; font-size: 0.92rem; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.nav-cta {
  background: var(--ink) !important; color: #fff !important;
  padding: 0.5rem 0.95rem !important; border-radius: 999px; font-weight: 600 !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.nav-cta:hover { filter: brightness(1.08); color: #fff !important; }

/* Hero */
.hero {
  padding: 2.25rem 0 1.25rem;
  display: grid; gap: 2rem; align-items: center;
}
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.15fr 0.95fr; padding: 3rem 0 1.75rem; }
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 0.75rem;
}
.hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 2.85rem);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.12;
}
.hero h1 em { font-style: italic; color: var(--accent); font-weight: 500; }
.hero .lede {
  margin: 0; color: var(--muted); font-size: 1.08rem; max-width: 36em; line-height: 1.6;
}
.badge-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.badge {
  display: inline-block; padding: 0.35rem 0.8rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 0.8rem; font-weight: 600; color: var(--muted);
}
.badge.accent {
  background: var(--accent-tint);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
  color: var(--accent);
}
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.5rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0.7rem 1.3rem; border-radius: 14px;
  font-weight: 700; font-size: 0.95rem; text-decoration: none;
  border: 2px solid transparent; transition: background 0.15s, transform 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 88%, #000); color: #fff; }
.btn-secondary {
  background: var(--surface); color: var(--ink); border-color: var(--border);
}
.btn-secondary:hover { background: var(--surface-high); color: var(--ink); }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.65rem;
  margin-top: 1.75rem; max-width: 28rem;
}
@media (max-width: 520px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat {
  background: rgba(255,251,245,0.75); border: 1px solid var(--border);
  border-radius: 14px; padding: 0.7rem 0.6rem; text-align: center;
}
.stat strong {
  display: block; font-family: var(--font-display); font-size: 1.35rem;
  font-weight: 700; color: var(--ink); line-height: 1.1;
}
.stat span { font-size: 0.75rem; color: var(--muted); font-weight: 600; }

/* Phone mockup */
.phone-stage { display: flex; justify-content: center; perspective: 900px; }
.phone {
  width: min(280px, 78vw);
  background: #1a1917;
  border-radius: 36px;
  padding: 12px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.08) inset;
  transform: rotateY(-6deg) rotateX(2deg);
}
@media (max-width: 899px) { .phone { transform: none; } }
.phone-notch {
  width: 38%; height: 22px; margin: 0 auto 10px;
  background: #0d0c0b; border-radius: 0 0 14px 14px;
}
.phone-screen {
  border-radius: 26px; overflow: hidden; min-height: 480px;
  background: linear-gradient(165deg, var(--surface) 0%, var(--accent-tint) 100%);
  position: relative;
}
.fake-app { padding: 1.1rem 1rem 1.25rem; }
.fake-top {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.1rem;
}
.fake-top .dot {
  width: 32px; height: 32px; border-radius: 10px;
  background: linear-gradient(145deg, var(--accent), var(--accent-soft));
}
.fake-top .pill {
  height: 10px; width: 42%; border-radius: 999px; background: rgba(44,42,38,0.1);
}
.fake-title {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 700;
  margin: 0 0 0.35rem; letter-spacing: -0.02em;
}
.fake-sub { margin: 0 0 1.1rem; font-size: 0.82rem; color: var(--muted); }
.fake-card {
  background: rgba(255,255,255,0.85); border: 1px solid rgba(221,212,196,0.9);
  border-radius: 16px; padding: 0.9rem 1rem; margin-bottom: 0.7rem;
  box-shadow: 0 6px 18px rgba(44,42,38,0.05);
}
.fake-card .row {
  display: flex; justify-content: space-between; gap: 0.5rem;
  font-size: 0.82rem; margin: 0.25rem 0; color: var(--muted);
}
.fake-card .row b { color: var(--ink); font-weight: 700; }
.fake-big {
  font-family: var(--font-display); font-size: 1.85rem; font-weight: 700;
  color: var(--accent); margin: 0.35rem 0 0.15rem;
}
.fake-cta {
  margin-top: 0.9rem; background: var(--accent); color: #fff;
  text-align: center; font-weight: 700; font-size: 0.88rem;
  padding: 0.75rem; border-radius: 14px;
}
.fake-nav {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  display: flex; justify-content: space-around;
  background: rgba(255,251,245,0.92); border: 1px solid var(--border);
  border-radius: 16px; padding: 0.55rem 0.3rem;
}
.fake-nav span {
  width: 28px; height: 6px; border-radius: 999px; background: rgba(44,42,38,0.12);
}
.fake-nav span.on { background: var(--accent); width: 36px; }

/* Proof strip */
.proof {
  margin: 0.5rem 0 0.25rem;
  padding: 0.85rem 1.1rem;
  background: rgba(255,251,245,0.7);
  border: 1px solid var(--border);
  border-radius: 999px;
  text-align: center; color: var(--muted); font-size: 0.9rem; font-weight: 600;
}
.proof span { margin: 0 0.35rem; }

/* Sections */
.section { margin: 2.5rem 0 1rem; }
.section-head { margin-bottom: 1.15rem; }
.section-head h2 {
  margin: 0 0 0.35rem; font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 1.85rem); font-weight: 700; letter-spacing: -0.02em;
}
.section-head p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.kicker {
  margin: 0 0 0.4rem; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent);
}

.shot-gallery {
  display: grid; grid-template-columns: 1fr; gap: 1rem;
}
@media (min-width: 700px) {
  .shot-gallery { grid-template-columns: repeat(3, 1fr); }
}
.shot-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.shot-card .mini-phone {
  aspect-ratio: 9/14; background: linear-gradient(160deg, var(--surface-high), var(--accent-tint));
  padding: 1rem; display: flex; flex-direction: column; justify-content: center; gap: 0.55rem;
}
.shot-card .bar {
  height: 10px; border-radius: 999px; background: rgba(44,42,38,0.1);
}
.shot-card .bar.w60 { width: 60%; }
.shot-card .bar.w40 { width: 40%; }
.shot-card .bar.accent { background: color-mix(in srgb, var(--accent) 45%, transparent); height: 36px; border-radius: 12px; }
.shot-card figcaption {
  padding: 0.85rem 1rem 1rem; font-size: 0.95rem; font-weight: 700;
}
.shot-card figcaption span {
  display: block; margin-top: 0.25rem; font-weight: 500;
  color: var(--muted); font-size: 0.84rem; line-height: 1.4;
}

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.35rem 1.4rem; box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 0.45rem; font-size: 1.08rem; font-weight: 700; }
.card p { margin: 0; color: var(--muted); font-size: 0.96rem; }
.grid-2 { display: grid; gap: 1rem; }
@media (min-width: 600px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

/* Free vs Premium */
.plans {
  display: grid; gap: 1rem;
}
@media (min-width: 720px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan {
  border-radius: var(--radius-lg); padding: 1.5rem 1.4rem;
  border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow);
}
.plan.premium {
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 92%, #1a1a1a), var(--accent));
  color: #fff; border-color: transparent;
}
.plan h3 { margin: 0 0 0.25rem; font-family: var(--font-display); font-size: 1.35rem; }
.plan .tagline { margin: 0 0 1rem; font-size: 0.92rem; opacity: 0.85; }
.plan ul { margin: 0; padding-left: 1.15rem; }
.plan li { margin: 0.4rem 0; font-size: 0.95rem; }
.plan.premium li { color: rgba(255,255,255,0.95); }
.plan .tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  padding: 0.15rem 0.5rem; border-radius: 999px;
  background: rgba(255,255,255,0.2); margin-left: 0.35rem; vertical-align: middle;
}

/* CTA band */
.cta-band {
  margin: 2.5rem 0 1rem; padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--surface) 0%, var(--accent-tint) 100%);
  border: 1px solid var(--border); text-align: center; box-shadow: var(--shadow);
}
.cta-band h2 {
  margin: 0 0 0.4rem; font-family: var(--font-display);
  font-size: 1.6rem; letter-spacing: -0.02em;
}
.cta-band p { margin: 0 0 1.1rem; color: var(--muted); }

/* Legal docs */
.doc { padding-top: 1.75rem; max-width: 760px; }
.doc h1 {
  font-family: var(--font-display); font-size: 1.95rem;
  margin: 0.5rem 0 0.4rem; font-weight: 700; letter-spacing: -0.02em;
}
.doc h2 {
  font-size: 1.15rem; margin: 1.85rem 0 0.55rem; font-weight: 700;
  padding-top: 0.85rem; border-top: 1px solid var(--border);
}
.doc h2:first-of-type { border-top: none; padding-top: 0; }
.doc-meta { color: var(--muted); font-size: 0.92rem; margin: 0 0 1.35rem; line-height: 1.55; }
.doc p, .doc li { color: var(--ink); }
.doc ul, .doc ol { padding-left: 1.25rem; }
.doc li { margin: 0.4rem 0; }
.note {
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  border-radius: 14px; padding: 1rem 1.1rem; font-size: 0.96rem; margin: 1rem 0;
}
.warn {
  background: rgba(181, 74, 60, 0.08);
  border: 1px solid rgba(181, 74, 60, 0.25);
  border-radius: 14px; padding: 1rem 1.1rem; font-size: 0.96rem; margin: 1rem 0;
}
.toc {
  background: var(--surface-high); border-radius: 14px;
  padding: 1rem 1.2rem; margin: 1rem 0 1.5rem; font-size: 0.92rem;
}
.toc ol { margin: 0.45rem 0 0; padding-left: 1.2rem; }
.toc a { text-decoration: none; font-weight: 600; }
.meta-card code {
  font-size: 0.88em; background: var(--surface-high);
  padding: 0.12rem 0.4rem; border-radius: 6px;
}

/* Footer */
.site-footer {
  margin-top: 3rem; padding: 1.75rem 0 2.25rem;
  border-top: 1px solid var(--border); color: var(--muted); font-size: 0.9rem;
}
.site-footer a { font-weight: 600; text-decoration: none; }
.site-footer .inner { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.footer-grid {
  display: flex; flex-wrap: wrap; gap: 1rem 2rem;
  justify-content: space-between; align-items: flex-start;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 0.75rem 1.1rem; }

/* Root hub */
.app-list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 0.85rem;
}
.app-list a {
  display: block; padding: 1.05rem 1.15rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: 16px;
  text-decoration: none; color: var(--ink); box-shadow: var(--shadow);
  transition: border-color 0.15s, transform 0.15s;
}
.app-list a:hover { border-color: var(--accent); transform: translateY(-2px); }
.app-list strong { display: block; font-size: 1.02rem; }
.app-list small { display: block; color: var(--muted); margin-top: 0.3rem; font-size: 0.85rem; }
