:root {
  --cream: #FFF6DE;
  --cream-bright: #FFFCF3;
  --aqua: #8BDFDD;
  --coral: #F48F68;
  --sun: #FFE394;
  --ink: #2B2118;
  --ink-soft: rgba(43, 33, 24, 0.66);
  --line: rgba(43, 33, 24, 0.12);
  --radius: 22px;
  --shadow: 0 18px 50px -24px rgba(43, 33, 24, 0.45);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--cream-bright), var(--cream));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; line-height: 1.1; }

a { color: inherit; }

/* ---------- Nav ---------- */
nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(255, 246, 222, 0.82);
  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-family: 'Fraunces', serif; font-weight: 700; font-size: 20px; text-decoration: none; }
.brand .dot { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--coral), var(--sun)); box-shadow: inset 0 0 0 1.5px rgba(43,33,24,0.08); }
.nav-links { display: flex; gap: 26px; font-size: 14px; font-weight: 500; }
.nav-links a { color: var(--ink-soft); text-decoration: none; transition: color 0.15s; }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 640px) { .nav-links { display: none; } }

/* ---------- Hero ---------- */
header.hero { padding: 88px 0 72px; text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-soft); background: var(--cream-bright); border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; margin-bottom: 28px; }
.pill .spark { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
header.hero h1 { font-size: clamp(40px, 7vw, 68px); font-weight: 700; letter-spacing: -0.02em; }
header.hero h1 em { font-style: italic; color: var(--coral); }
header.hero p.lede { max-width: 560px; margin: 24px auto 0; font-size: clamp(17px, 2.4vw, 20px); color: var(--ink-soft); }

.cta-row { margin-top: 38px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15px; text-decoration: none; padding: 14px 24px; border-radius: 14px; transition: transform 0.12s ease, box-shadow 0.2s ease; }
.btn-primary { background: var(--ink); color: var(--cream); box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--cream-bright); }

/* ---------- Phone mock ---------- */
.stage { margin: 64px auto 0; max-width: 320px; }
.phone { position: relative; border-radius: 44px; background: var(--ink); padding: 12px; box-shadow: 0 40px 90px -40px rgba(43,33,24,0.6); }
.screen { border-radius: 33px; overflow: hidden; background: linear-gradient(180deg, var(--cream-bright), var(--cream)); aspect-ratio: 9/19; display: flex; flex-direction: column; }
.screen .top { padding: 22px 20px 0; font-size: 12px; color: var(--ink-soft); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.movie-card { margin: 14px; border-radius: 20px; overflow: hidden; position: relative; flex: 1; background: linear-gradient(135deg, var(--aqua), var(--sun) 55%, var(--coral)); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25); }
.movie-card .meta { position: absolute; left: 16px; bottom: 16px; right: 16px; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,0.35); }
.movie-card .meta .yr { font-size: 12px; opacity: 0.9; font-weight: 600; }
.movie-card .meta .ttl { font-family: 'Fraunces', serif; font-weight: 700; font-size: 24px; line-height: 1.05; margin-top: 2px; }
.movie-card .play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,0.92); display: flex; align-items: center; justify-content: center; }
.movie-card .play::after { content: ''; border-left: 16px solid var(--ink); border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 4px; }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(28px, 4.5vw, 40px); }
.section-head p { margin-top: 14px; color: var(--ink-soft); font-size: 17px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 760px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--cream-bright); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card .ic { width: 44px; height: 44px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 18px; }
.card h3 { font-size: 19px; font-weight: 600; }
.card p { margin-top: 8px; color: var(--ink-soft); font-size: 15px; }

/* ---------- Legal pages ---------- */
.legal-page { padding: 72px 0 96px; }
.legal-page .wrap { max-width: 780px; }
.legal-page .back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink-soft); text-decoration: none; margin-bottom: 32px; }
.legal-page .back:hover { color: var(--ink); }
.legal-page h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 6px; }
.legal-page .updated { color: var(--ink-soft); font-size: 14px; margin-bottom: 32px; }
.legal-page h2 { font-size: 20px; font-weight: 600; margin: 34px 0 8px; }
.legal-page p, .legal-page li { color: var(--ink-soft); font-size: 15.5px; }
.legal-page ul { margin: 8px 0 0 20px; }
.legal-page li { margin: 5px 0; }
.legal-page a { color: var(--coral); }

/* ---------- Widget showcase ---------- */
.widget-section { padding-top: 36px; }
.home-stage { max-width: 380px; margin: 0 auto; }
.home-screen {
  position: relative;
  border-radius: 40px;
  padding: 20px 18px 16px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 18% 0%, rgba(139, 223, 221, 0.6), transparent 60%),
    radial-gradient(120% 90% at 92% 16%, rgba(244, 143, 104, 0.55), transparent 55%),
    linear-gradient(180deg, #ffe9c4, #f6c8af 55%, #d89b92);
  box-shadow: 0 40px 90px -40px rgba(43, 33, 24, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}
.hs-status { display: flex; align-items: center; justify-content: space-between; padding: 4px 10px 16px; color: #fff; font-size: 13px; font-weight: 600; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25); }
.hs-status .batt { width: 23px; height: 12px; border-radius: 3px; border: 1.5px solid rgba(255, 255, 255, 0.85); position: relative; }
.hs-status .batt::after { content: ''; position: absolute; inset: 2px; right: 7px; background: #fff; border-radius: 1px; }

.widget { border-radius: 26px; overflow: hidden; aspect-ratio: 2.05 / 1; box-shadow: 0 16px 36px -18px rgba(43, 33, 24, 0.55); }
.widget-art { position: relative; height: 100%; background: linear-gradient(135deg, var(--aqua), var(--sun) 52%, var(--coral)); }
.widget-art .w-badge { position: absolute; top: 13px; left: 13px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: rgba(43, 33, 24, 0.3); backdrop-filter: blur(6px); padding: 5px 10px; border-radius: 999px; }
.widget-art .w-play { position: absolute; top: 50%; right: 22px; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.4); }
.widget-art .w-play::after { content: ''; border-left: 14px solid var(--ink); border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 3px; }
.widget-art .w-meta { position: absolute; left: 16px; bottom: 14px; right: 78px; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35); }
.widget-art .w-yr { font-size: 11px; font-weight: 600; opacity: 0.92; }
.widget-art .w-ttl { font-family: 'Fraunces', serif; font-weight: 700; font-size: 18px; line-height: 1.1; margin-top: 2px; }

.hs-apps { margin-top: 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hs-app { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hs-app .ico, .hs-dock .ico { width: 54px; height: 54px; border-radius: 14px; box-shadow: 0 8px 18px -10px rgba(43, 33, 24, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.hs-app span:last-child { font-size: 10px; color: rgba(255, 255, 255, 0.95); text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); }
.hs-dock { margin-top: 18px; display: flex; justify-content: center; gap: 18px; padding: 13px 16px; border-radius: 28px; background: rgba(255, 255, 255, 0.24); backdrop-filter: blur(8px); }

/* ---------- Privacy band ---------- */
.privacy-band { padding: 36px 0 96px; }
.privacy-card { max-width: 720px; margin: 0 auto; text-align: center; background: var(--cream-bright); border: 1px solid var(--line); border-radius: var(--radius); padding: 44px 36px; box-shadow: var(--shadow); }
.privacy-card .lock { width: 56px; height: 56px; border-radius: 18px; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; font-size: 26px; background: linear-gradient(135deg, var(--aqua), var(--sun)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4); }
.privacy-card h2 { font-size: clamp(24px, 4vw, 34px); }
.privacy-card p { margin: 14px auto 0; max-width: 548px; color: var(--ink-soft); font-size: 16px; }
.privacy-card p a { color: var(--coral); font-weight: 600; text-decoration: none; white-space: nowrap; }
.privacy-card p a:hover { text-decoration: underline; }
.assurances { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.assurances .chip { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--ink-soft); background: var(--cream); border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; }
.assurances .chip .d { width: 7px; height: 7px; border-radius: 50%; }

/* ---------- Footer ---------- */
footer { padding: 48px 0; text-align: center; border-top: 1px solid var(--line); }
footer .brand { justify-content: center; margin-bottom: 14px; }
footer p { color: var(--ink-soft); font-size: 14px; }
footer .flinks { margin-top: 14px; display: flex; gap: 20px; justify-content: center; font-size: 14px; }
footer .flinks a { color: var(--ink-soft); text-decoration: none; }
footer .flinks a:hover { color: var(--ink); }
