:root {
  --ink: #1f2430;
  --muted: #5b6270;
  --bg: #f7f7f9;
  --card: #ffffff;
  --line: #e6e8ee;
  --accent: #2f6fed;
  --radius: 22px;
  --shadow: 0 20px 50px rgba(20, 30, 60, .14);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: min(1120px, 92%); margin: 0 auto; }

/* Header */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.85); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; font-size: 18px; }
.brand .dot { width: 12px; height: 12px; border-radius: 50%; background: linear-gradient(135deg, #7ac993, #fea449); }
.nav ul { display: flex; gap: 26px; list-style: none; font-size: 15px; color: var(--muted); }
.nav ul a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 15px; background: var(--ink); color: #fff; transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.btn.light { background: #fff; color: var(--ink); }
.btn.ghost { background: rgba(255,255,255,.22); color: #fff; border: 2px solid rgba(255,255,255,.6); }

/* App Store badge */
.store { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border-radius: 12px; background: #000; color: #fff; line-height: 1.05; border: 1px solid #333; }
.store svg { width: 24px; height: 24px; fill: #fff; }
.store small { display: block; font-size: 11px; opacity: .85; }
.store b { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.store.soon { opacity: .55; cursor: default; }

/* Hero */
.hero { color: #fff; padding: 72px 0 56px; overflow: hidden; position: relative; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; min-height: 520px; }
.hero h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.05; letter-spacing: -.03em; font-weight: 800; }
.hero p { font-size: 19px; opacity: .95; margin: 20px 0 30px; max-width: 34em; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero .art { position: relative; height: 600px; }
.hero .app-icon { width: 84px; height: 84px; border-radius: 20px; box-shadow: 0 10px 24px rgba(0,0,0,.2); margin-bottom: 22px; }

/* Phone mockup */
.phone { position: relative; width: 270px; aspect-ratio: 9 / 19.4; background: #1c1c1e; border-radius: 44px; padding: 11px; box-shadow: var(--shadow), inset 0 0 0 2px #3a3a3c; }
.phone .screen { width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #fff; }
.phone .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone::after { content: ""; position: absolute; top: 20px; left: 50%; width: 30%; height: 3.4%; transform: translateX(-50%); background: #000; border-radius: 999px; }
.hero .phone { position: absolute; right: 8%; top: 0; transform: rotate(-8deg); width: 250px; }
.pill { position: absolute; background: #fff; color: var(--ink); font-weight: 700; font-size: 14px; padding: 10px 16px; border-radius: 999px; box-shadow: 0 10px 24px rgba(0,0,0,.18); white-space: nowrap; animation: float 5s ease-in-out infinite; }
.pill.a { left: 0; top: 90px; }
.pill.b { right: -10px; bottom: 150px; animation-delay: -2s; }
.pill.c { left: 20px; bottom: 60px; animation-delay: -3.5s; }
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-8px) } }

/* Sections */
section { padding: 72px 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 700; color: var(--muted); }
h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.03em; line-height: 1.1; margin: 8px 0 14px; }
.lead { color: var(--muted); font-size: 18px; max-width: 40em; }
.grid { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); margin-top: 36px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--card); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(20,30,60,.05); }
.card .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; margin-bottom: 18px; background: var(--tint, #eef2ff); }
.card h3 { font-size: 19px; margin-bottom: 8px; letter-spacing: -.01em; }
.card p { color: var(--muted); font-size: 15.5px; }

/* App grid on homepage */
.apps { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-top: 40px; }
.app-tile { position: relative; display: block; border-radius: 28px; padding: 34px 28px 0; color: #fff; overflow: hidden; min-height: 520px; transition: transform .18s, box-shadow .18s; box-shadow: 0 14px 34px rgba(20,30,60,.12); }
.app-tile:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(20,30,60,.2); }
.app-tile .app-icon { width: 60px; height: 60px; border-radius: 15px; box-shadow: 0 8px 18px rgba(0,0,0,.2); margin-bottom: 16px; }
.app-tile h3 { font-size: 26px; letter-spacing: -.02em; }
.app-tile p { opacity: .92; margin: 6px 0 22px; font-size: 16px; max-width: 24em; }
.app-tile .phone { width: 210px; margin: 0 auto -120px; transform: rotate(-4deg) translateY(10px); transition: transform .25s; }
.app-tile:hover .phone { transform: rotate(-2deg) translateY(0); }
.app-tile .more { position: absolute; top: 30px; right: 26px; background: rgba(255,255,255,.22); border: 2px solid rgba(255,255,255,.55); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 14px; }

/* Screens strip */
.screens { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.screens .phone { width: 230px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 44px 0; color: var(--muted); font-size: 14.5px; background: #fff; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 26px; justify-content: space-between; align-items: flex-start; }
footer h4 { color: var(--ink); font-size: 14px; margin-bottom: 8px; }
footer ul { list-style: none; display: grid; gap: 6px; }
footer a:hover { color: var(--ink); }

/* Prose pages (privacy, support) */
.prose { max-width: 760px; margin: 0 auto; padding: 56px 0 80px; }
.prose h1 { font-size: 40px; letter-spacing: -.03em; margin-bottom: 8px; }
.prose .meta { color: var(--muted); margin-bottom: 36px; }
.prose h2 { font-size: 24px; margin: 36px 0 10px; }
.prose h3 { font-size: 18px; margin: 24px 0 6px; }
.prose p, .prose li { color: #333a48; font-size: 17px; }
.prose ul { padding-left: 22px; margin: 8px 0 12px; }
.prose a { color: var(--accent); text-decoration: underline; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; margin: 10px 0; }
.faq summary { font-weight: 700; cursor: pointer; font-size: 17px; }
.faq details p { margin-top: 10px; }

/* Themes */
.t-splitshape { background: linear-gradient(160deg, #62bef5 0%, #7ac993 100%); }
.t-happy-bday { background: linear-gradient(160deg, #f0786c 0%, #f39a90 100%); }
.t-anything-converter { background: linear-gradient(160deg, #62b8ec 0%, #a9dcf7 100%); color: #123; }
.t-anything-converter .ghost { color: #123; border-color: rgba(0,0,0,.35); background: rgba(255,255,255,.35); }

@media (max-width: 860px) {
  .nav ul { display: none; }
  .hero { padding-top: 40px; }
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; }
  .hero .art { height: 480px; margin-top: 10px; }
  .hero .phone { right: 50%; transform: translateX(50%) rotate(-6deg); width: 220px; }
  .hero .art { height: 520px; }
  .pill.a { left: 4%; } .pill.b { right: 4%; } .pill.c { left: 8%; }
}
