:root {
  --indigo: #5a5cf5;
  --blue: #0a84ff;
  --ink: #0f1729;
  --muted: #5b6478;
  --bg: #ffffff;
  --card: #f6f8fc;
  --border: #e6eaf2;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Nav */
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; max-width: 1080px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 20px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
nav a.cta { text-decoration: none; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--indigo), var(--blue));
  color: #fff;
  padding: 72px 0 96px;
  text-align: center;
  border-radius: 0 0 36px 36px;
}
.hero img.logo { width: 116px; height: 116px; border-radius: 26px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.hero h1 { font-size: clamp(40px, 7vw, 68px); font-weight: 800; margin: 24px 0 12px; letter-spacing: -1px; }
.hero p.tagline { font-size: clamp(18px, 3vw, 24px); opacity: .95; max-width: 640px; margin: 0 auto 32px; }

.btn {
  display: inline-flex; align-items: center; gap: 9px; background: #fff; color: var(--blue);
  font-weight: 700; padding: 14px 28px; border-radius: 14px;
  text-decoration: none; transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.btn i { font-size: 22px; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.24); }
.btn.ghost { background: rgba(255,255,255,.15); color: #fff; box-shadow: none; }

/* Sections */
section { padding: 72px 0; }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; text-align: center; letter-spacing: -.5px; }
.sub { text-align: center; color: var(--muted); max-width: 560px; margin: 12px auto 48px; font-size: 18px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.feature {
  background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 28px;
}
.feature .ico { font-size: 30px; }
.feature h3 { margin: 14px 0 6px; font-size: 19px; }
.feature p { color: var(--muted); font-size: 15px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; max-width: 760px; margin: 0 auto; }
.plan { border: 1px solid var(--border); border-radius: 20px; padding: 32px; text-align: center; background: #fff; }
.plan.pro { border: 2px solid var(--blue); box-shadow: 0 16px 40px rgba(10,132,255,.14); }
.plan h3 { font-size: 22px; }
.plan .price { font-size: 44px; font-weight: 800; margin: 12px 0; }
.plan .price span { font-size: 16px; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; text-align: left; margin: 20px auto 0; max-width: 220px; }
.plan li { padding: 6px 0; color: var(--muted); }
.plan li::before { content: "✓ "; color: #1db954; font-weight: 800; }

footer { background: var(--ink); color: #aeb6c6; padding: 40px 0; text-align: center; font-size: 14px; }
footer a { color: #fff; text-decoration: none; margin: 0 10px; }

/* Policy page */
.policy { max-width: 760px; margin: 0 auto; padding: 56px 24px; }
.policy h1 { font-size: 36px; margin-bottom: 8px; }
.policy h2 { text-align: left; font-size: 22px; margin: 32px 0 8px; }
.policy p, .policy li { color: #2b3344; margin-bottom: 10px; }
.policy ul { padding-left: 22px; }
.policy .updated { color: var(--muted); margin-bottom: 24px; }
.policy a { color: var(--blue); }

/* ===== Tabler icon sizing ===== */
.feature .ico { color: var(--blue); font-size: 30px; line-height: 1; }
.feature .ico i { font-size: 30px; }

/* ===== Two-column hero ===== */
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  max-width: 1080px; margin: 0 auto; text-align: left;
}
.hero-grid .hero-copy h1 { text-align: left; }
.hero-grid .hero-copy p.tagline { margin: 0 0 28px; text-align: left; }
.hero-grid .brand-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.hero-grid .brand-row img { width: 56px; height: 56px; border-radius: 14px; }
.hero-grid .brand-row span { font-weight: 800; font-size: 24px; }
.hero-phone { display: flex; justify-content: center; }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-grid .hero-copy h1, .hero-grid .hero-copy p.tagline { text-align: center; }
  .hero-grid .brand-row { justify-content: center; }
}

/* ===== iPhone mockup (pure CSS) ===== */
.phone {
  width: 290px; height: 600px; border-radius: 46px;
  background: #0c0c0e; padding: 12px;
  box-shadow: 0 30px 70px rgba(0,0,0,.35), inset 0 0 0 2px #2a2a2e;
  position: relative;
}
.phone .screen {
  width: 100%; height: 100%; border-radius: 36px; overflow: hidden;
  background: #f2f3f7; position: relative; display: flex; flex-direction: column;
  color: var(--ink);
}
.phone .island {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 26px; background: #0c0c0e; border-radius: 14px; z-index: 5;
}
.scr-top {
  display: flex; align-items: center; justify-content: center; position: relative;
  padding: 44px 16px 10px;
}
.scr-pill {
  display: flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--border);
  padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600;
}
.scr-pill .dot { width: 20px; height: 20px; border-radius: 50%; background: var(--blue); color:#fff;
  font-size: 10px; display:flex; align-items:center; justify-content:center; font-weight:700; }
.scr-gear { position: absolute; right: 18px; color: #8a93a6; font-size: 18px; }
.scr-stack { flex: 1; position: relative; margin: 8px 16px 0; }
.scr-card {
  position: absolute; inset: 0; background: #fff; border-radius: 18px; border: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(0,0,0,.10); padding: 16px;
}
.scr-card.back1 { transform: scale(.95) translateY(-14px); opacity:.7; z-index:3; }
.scr-card.back2 { transform: scale(.90) translateY(-26px); opacity:.55; z-index:2; }
.scr-card.back3 { transform: scale(.85) translateY(-38px); opacity:.4; z-index:1; }
.scr-card.front { z-index: 4; transform: rotate(-4deg); }
.scr-badge {
  position: absolute; top: 16px; right: 16px; background: #1db954; color:#fff;
  font-weight: 800; font-size: 13px; padding: 5px 12px; border-radius: 999px;
  display:flex; align-items:center; gap:5px; transform: rotate(10deg);
  box-shadow: 0 4px 12px rgba(29,185,84,.4);
}
.scr-subj { font-weight: 800; font-size: 15px; margin: 30px 0 12px; line-height:1.25; }
.scr-sender { display:flex; align-items:center; gap:9px; margin-bottom: 12px; }
.scr-av { width: 34px; height: 34px; border-radius: 50%; background:#7c4dff; color:#fff;
  font-size: 12px; font-weight:700; display:flex; align-items:center; justify-content:center; }
.scr-sender .nm { font-size: 13px; font-weight:600; }
.scr-sender .tm { font-size: 11px; color: var(--muted); }
.scr-line { height: 9px; background: #eceff4; border-radius: 5px; margin: 8px 0; }
.scr-line.s { width: 60%; }
.scr-foot { padding: 10px 16px 16px; }
.scr-bar { height: 6px; background:#e3e7ef; border-radius: 3px; overflow:hidden; }
.scr-bar > div { height:100%; width: 32%; background: #1db954; border-radius:3px; }
.scr-stat { font-size: 11px; color: var(--muted); text-align:center; margin-top:6px; }
.scr-reply { margin: 0 16px 10px; height: 34px; border-radius: 999px; border:1px solid var(--border);
  background:#fff; display:flex; align-items:center; padding: 0 14px; color: var(--muted); font-size: 12px; gap:6px; }
