/* UNPLG landing — colors mirror the app's DSColor tokens */
:root {
  --bg: #181716;
  --surface: #1d1c1a;
  --card: #242220;
  --raised: #2c2a28;
  --line: #363330;
  --text: #f4f1ee;
  --muted: #a9a39d;
  --dim: #8c8680;
  --orange: #fa671e;
  --orange-soft: #fdbb9a;
  --orange-deep: #c24103;
  --sand: #dcd6d0;
  --sand-2: #e9e5e0;
  --ink: #1d1c1a;
  --ink-muted: #625d58;
  --radius: 22px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.55 Inter, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 {
  font-family: Outfit, Inter, system-ui, sans-serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0 0 16px;
}
h1 { font-size: clamp(44px, 6.4vw, 76px); }
h2 { font-size: clamp(34px, 4.4vw, 52px); }
h3 { font-size: 22px; letter-spacing: -0.01em; margin-bottom: 8px; }
p { margin: 0 0 16px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }
.accent { color: var(--orange); }
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 14px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--text); color: var(--ink);
  font-weight: 600; font-size: 16px;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); background: #fff; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--card); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { height: 60px; padding: 0 34px; font-size: 17px; background: var(--orange); color: #fff; }
.btn-lg:hover { background: #ff7a35; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(24, 23, 22, .72);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: Outfit, sans-serif; font-weight: 600; letter-spacing: .18em; font-size: 16px; }
.brand img { border-radius: 8px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-size: 15px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }

/* Hero */
.hero { padding: 72px 0 96px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.lede { font-size: 20px; color: var(--muted); max-width: 520px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.fine { font-size: 14px; color: var(--dim); }

.hero-phones { position: relative; height: 620px; }
.glow {
  position: absolute; inset: 10% -10% 0 0;
  background: radial-gradient(closest-side, rgba(250,103,30,.38), rgba(250,103,30,.08) 60%, transparent);
  filter: blur(20px);
}
.phone {
  margin: 0; width: 280px; border-radius: 44px; padding: 10px;
  background: linear-gradient(160deg, #3d3a37, #121110);
  box-shadow: 0 40px 80px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.08);
}
.phone img { border-radius: 34px; width: 100%; height: auto; }
.hero-phones .phone { position: absolute; }
.phone-front { right: 30%; top: 30px; z-index: 2; }
.phone-back { right: 0; top: 90px; transform: rotate(6deg); opacity: .9; width: 250px; }

/* Section heads */
section { padding: 112px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head p { color: var(--muted); font-size: 19px; }

/* Pillars */
.pillars { padding-top: 64px; }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--card); border-radius: var(--radius); padding: 32px; border: 1px solid rgba(255,255,255,.04); }
.card p { color: var(--muted); margin: 0; }
.icon-dot {
  width: 48px; height: 48px; border-radius: 14px; margin-bottom: 22px;
  display: grid; place-items: center;
  background: #2a1d14; color: var(--orange);
}
.icon-dot svg { width: 24px; height: 24px; }

/* Feature rows */
.feature-inner { display: grid; grid-template-columns: 1fr auto; gap: 80px; align-items: center; }
.feature-inner.reverse { grid-template-columns: auto 1fr; }
.feature-inner.reverse .feature-copy { order: 2; }
.feature-copy { max-width: 520px; }
.feature-copy > p { color: var(--muted); font-size: 19px; }
.feature .phone { width: 300px; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;
}

/* Light (sand) sections, like the App Store screenshots */
.light { background: var(--sand); color: var(--ink); }
.light .feature-copy > p, .light p { color: var(--ink-muted); }
.light .eyebrow { color: var(--orange-deep); }
.light .phone { box-shadow: 0 40px 80px rgba(60,40,30,.28), inset 0 0 0 1px rgba(255,255,255,.08); }

/* How */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: var(--card); border-radius: var(--radius); padding: 32px; }
.steps p { color: var(--muted); margin: 0; }
.num {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--orange); color: var(--orange); font-weight: 600; margin-bottom: 20px;
}

/* Privacy */
.privacy-inner { display: flex; gap: 40px; align-items: center; max-width: 860px; }
.privacy-icon { border-radius: 24px; flex: none; box-shadow: 0 16px 40px rgba(250,103,30,.25); }
.privacy p { font-size: 19px; margin: 0; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 22px 0; }
summary {
  cursor: pointer; list-style: none; font-family: Outfit, sans-serif; font-size: 21px; font-weight: 500;
  display: flex; justify-content: space-between; gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--orange); font-size: 26px; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 14px 0 0; max-width: 640px; }

/* CTA */
.cta { text-align: center; position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; left: 50%; top: 40%; width: 900px; height: 600px; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(250,103,30,.25), transparent);
  pointer-events: none;
}
.cta-inner { position: relative; }
.cta-icon { margin: 0 auto 32px; border-radius: 26px; box-shadow: 0 20px 60px rgba(250,103,30,.35); }
.cta p { color: var(--muted); font-size: 19px; margin-bottom: 32px; }

/* Footer */
.footer { border-top: 1px solid rgba(255,255,255,.06); padding: 32px 0; font-size: 14px; color: var(--dim); }
.footer-inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer .brand { color: var(--text); font-size: 14px; }
.footer .brand img { border-radius: 6px; }
.footer nav { display: flex; gap: 24px; }
.footer nav a:hover { color: var(--text); }
.copy { margin: 0 0 0 auto; }

/* Responsive */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-inner .btn-sm { margin-left: auto; }
  .hero { padding: 48px 0 64px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .lede { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-phones { height: 520px; }
  .phone-front { left: 50%; right: auto; transform: translateX(-62%); top: 0; width: 240px; }
  .phone-back { left: 50%; right: auto; transform: translateX(-10%) rotate(6deg); top: 50px; width: 220px; }
  section { padding: 80px 0; }
  .pillar-grid, .steps { grid-template-columns: 1fr; }
  .feature-inner, .feature-inner.reverse { grid-template-columns: 1fr; gap: 48px; justify-items: center; }
  .feature-inner.reverse .feature-copy { order: 0; }
  .feature .phone { width: 260px; }
  .privacy-inner { flex-direction: column; text-align: center; gap: 24px; }
  .copy { margin-left: 0; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero-cta .btn { width: 100%; }
  .card, .steps li { padding: 26px; }
}

/* Legal pages */
.legal { padding: 72px 0 112px; }
.legal h1 { font-size: clamp(40px, 5vw, 56px); margin-bottom: 24px; }
.legal h2 { font-size: 26px; margin: 48px 0 12px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 22px; margin: 0 0 16px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
