: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); }

/* ---------- 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); }
