:root {
  --cream: #f3f0e7;
  --ink: #16181d;
  --muted: #717a8d;
  --card: #ffffff;
  --dark: #0d0d0d;
  --dark-card: #171717;
  --accent: #e0407f;
  --accent-soft: #fbe3ee;
  --line: rgba(22, 24, 29, 0.08);
  --radius-lg: 30px;
  --radius-xl: 44px;
  --radius-pill: 100px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 240, 231, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 500; }
.nav-links a:hover { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 15px; text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(22, 24, 29, 0.18); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(224, 64, 127, 0.35); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); }
.nav .btn { padding: 9px 18px; font-size: 14px; }

/* ---------- hero ---------- */
.hero { padding: 88px 0 40px; text-align: center; }
.hero h1 {
  font-size: clamp(38px, 6vw, 60px);
  line-height: 1.05; letter-spacing: -0.03em; font-weight: 700;
  max-width: 820px; margin: 0 auto 20px;
}
.hero .lede {
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--muted); max-width: 620px; margin: 0 auto 32px;
}
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 10px; }
.hero .fine { font-size: 13px; color: var(--muted); }

/* before / after */
.demo { padding: 40px 0 30px; }
.demo-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  max-width: 1000px; margin: 0 auto; align-items: stretch;
}
.demo-pane { border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.demo-pane .tag {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: rgba(13, 13, 13, 0.72); color: #fff;
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
}
.demo-before { background: #000; display: flex; align-items: center; justify-content: center; }
.demo-before img { width: 100%; height: 100%; object-fit: cover; }
.demo-after {
  background:
    radial-gradient(120% 90% at 12% 8%, #f7b7e2 0%, rgba(247, 183, 226, 0) 55%),
    radial-gradient(110% 100% at 88% 12%, #9aa8f5 0%, rgba(154, 168, 245, 0) 60%),
    radial-gradient(130% 110% at 80% 95%, #0f4ecf 0%, rgba(15, 78, 207, 0) 65%),
    linear-gradient(160deg, #c9a6ef 0%, #7f8ef0 45%, #2f63dd 100%);
  display: flex; align-items: center; justify-content: center; padding: 9%;
}
.demo-after img {
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(10, 15, 60, 0.45);
}
.demo-caption { text-align: center; color: var(--muted); font-size: 14px; margin-top: 18px; }

/* ---------- statement ---------- */
.statement { padding: 90px 0 40px; text-align: center; }
.statement h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 600; letter-spacing: -0.02em; line-height: 1.25;
  max-width: 760px; margin: 0 auto;
  color: var(--ink);
}
.statement h2 span { color: var(--muted); }

/* ---------- feature blocks ---------- */
.features { padding: 40px 0 20px; display: grid; gap: 28px; }
.feature {
  background: var(--card);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 5vw, 64px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px);
  align-items: center; overflow: hidden;
}
.feature.flip .feature-copy { order: 2; }
.feature.flip .feature-art { order: 1; }
.feature h3 { font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -0.02em; line-height: 1.12; margin-bottom: 14px; font-weight: 700; }
.feature p { color: var(--muted); font-size: 17px; max-width: 46ch; }
.feature p + p { margin-top: 12px; }
.feature .eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent);
  background: var(--accent-soft); padding: 6px 12px; border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.feature-art { display: flex; justify-content: center; }
.feature-art .phone-shot {
  width: min(320px, 100%);
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(22, 24, 29, 0.18);
}
.feature.dark { background: var(--dark); color: #fff; }
.feature.dark p { color: #b9bcc4; }
.feature.dark .eyebrow { background: rgba(240, 97, 155, 0.15); color: #f0619b; }

.flavour-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip {
  font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: var(--radius-pill);
  color: #fff; white-space: nowrap;
}

/* ---------- twin cards ---------- */
.cards { padding: 30px 0 20px; }
.cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mini-card {
  background: var(--card); border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 44px);
}
.mini-card .k { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.mini-card h4 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 10px; font-weight: 700; }
.mini-card p { color: var(--muted); font-size: 16px; }

/* ---------- closing ---------- */
.closer { padding: 60px 0 80px; }
.closer-inner {
  background: var(--dark); color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(48px, 8vw, 110px) clamp(24px, 6vw, 80px);
  text-align: center;
}
.closer h2 { font-size: clamp(32px, 5vw, 52px); letter-spacing: -0.03em; line-height: 1.08; max-width: 700px; margin: 0 auto 18px; font-weight: 700; }
.closer p { color: #b9bcc4; font-size: 18px; max-width: 520px; margin: 0 auto 34px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 36px 0 48px; }
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.footer .brand img { width: 28px; height: 28px; }
.footer nav { display: flex; gap: 20px; font-size: 14px; }
.footer nav a { color: var(--muted); text-decoration: none; }
.footer nav a:hover { color: var(--ink); }
.footer .legal { font-size: 13px; color: var(--muted); width: 100%; margin-top: 8px; }

/* ---------- text pages ---------- */
.page { padding: 70px 0 90px; }
.page h1 { font-size: clamp(32px, 5vw, 44px); letter-spacing: -0.03em; margin-bottom: 24px; }
.page h2 { font-size: 22px; letter-spacing: -0.02em; margin: 36px 0 12px; }
.page p, .page li { color: #3c4250; font-size: 16px; }
.page ul { padding-left: 22px; margin: 12px 0; }
.page li { margin-bottom: 8px; }
.page a { color: var(--accent); }

/* ---------- reveal motion ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  .feature { grid-template-columns: 1fr; }
  .feature.flip .feature-copy { order: 1; }
  .feature.flip .feature-art { order: 2; }
  .cards-grid { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
  .nav-links .hide-sm { display: none; }
}
