/* Milo's World — website v2 ("stage" look), light: cream stage, soft orange glow, Milo in the centre.
   Fonts: Unbounded (headlines, wide and bold) + Plus Jakarta Sans (text). Milo colours. */
:root {
  --bg: #FFF8EF;
  --bg-2: #FDEFDD;
  --card: #FFFFFF;
  --line: rgba(42, 26, 14, .09);
  --ink: #2A1A0E;
  --ink-2: #6B5240;
  --muted: #9C8571;
  --dim: #D9BFA4;
  --orange: #FF5A00;
  --orange-2: #FF8A2A;
  --orange-deep: #E83D00;
  --yellow: #FFC400;
  --grad: linear-gradient(135deg, #FF8A2A 0%, #FF5A00 55%, #E83D00 100%);
  --shadow: 0 14px 40px rgba(120, 60, 20, .12);
  --head: Unbounded, "Arial Black", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 500 17px/1.65 "Plus Jakarta Sans", -apple-system, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--orange-deep); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.display { font-family: var(--head); font-weight: 800; text-transform: uppercase; line-height: 1.02; letter-spacing: -.01em; margin: 0; }
.kicker { display: block; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--orange-deep); margin-bottom: 14px; }
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--grad); color: #fff !important; text-decoration: none; font-weight: 800; font-size: 15px; padding: 14px 26px; border-radius: 999px; box-shadow: 0 10px 26px rgba(255, 90, 0, .32); }
.btn:hover { filter: brightness(1.06); }
.arrow { width: 34px; height: 34px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #fff; font-weight: 900; flex: none; text-decoration: none; }

/* header */
.top { position: absolute; inset: 0 0 auto; z-index: 10; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.top .logo img { height: 52px; width: auto; }
.top nav { display: flex; gap: 26px; align-items: center; }
.top nav a { color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 700; }
.top nav a:hover { color: var(--orange-deep); }

/* hero stage */
.stage {
  position: relative; overflow: hidden; padding: 130px 0 0;
  background:
    radial-gradient(55% 50% at 50% 80%, rgba(255, 138, 42, .38) 0%, rgba(255, 196, 0, .16) 45%, transparent 72%),
    linear-gradient(180deg, #FFF8EF 0%, #FFF1E0 60%, #FFE2C2 100%);
}
.stage::before { /* faint grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(42,26,14,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(42,26,14,.05) 1px, transparent 1px);
  background-size: 64px 64px; -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000 30%, transparent 80%); mask-image: radial-gradient(70% 70% at 50% 40%, #000 30%, transparent 80%);
}
.stage .ring { position: absolute; left: 50%; top: 300px; width: 760px; height: 760px; margin-left: -380px; border-radius: 50%; border: 1.5px dashed rgba(255, 90, 0, .22); background: radial-gradient(circle, rgba(255,255,255,.55), transparent 65%); }
.stage .ring.r2 { width: 1040px; height: 1040px; margin-left: -520px; top: 160px; border: 1px solid rgba(255, 90, 0, .10); background: none; }
.hero-copy { position: relative; text-align: center; z-index: 2; }
.hero-copy h1 { font-size: clamp(38px, 7vw, 92px); }
.hero-copy h1 .glow { background: linear-gradient(180deg, #FF9A2E 0%, #FF5A00 60%, #E83D00 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy p { max-width: 580px; margin: 20px auto 26px; color: var(--ink-2); font-size: 17px; }
.hero-copy .note { margin-top: 14px; font-size: 13px; color: var(--muted); font-weight: 600; }

.scene { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 460px 1fr; align-items: end; gap: 10px; margin-top: 10px; }
.milo { position: relative; height: 560px; }
.milo img:not(.sticker) { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); height: 100%; width: auto; filter: drop-shadow(0 26px 30px rgba(120, 50, 10, .28)); animation: bob 4.5s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -10px); } }
.sticker { position: absolute; width: 74px; height: auto; z-index: 3; filter: drop-shadow(0 10px 14px rgba(120,50,10,.25)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-12px) rotate(4deg); } }
.glass { background: var(--card); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); }
.stage .glass { background: rgba(255, 255, 255, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

.film-card { justify-self: end; width: 280px; margin-bottom: 120px; }
.film-card .frame { padding: 10px; }
.film-card .poster { border-radius: 18px; overflow: hidden; position: relative; aspect-ratio: 4 / 4.3; }
.film-card .poster img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
.bar { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 14px; background: rgba(255, 255, 255, .92); color: var(--ink); }
.bar small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; }
.bar strong { font-size: 14px; }
.film-card h3 { font-family: var(--head); font-weight: 800; font-size: 16px; margin: 16px 0 6px; text-transform: uppercase; }
.film-card p { margin: 0; font-size: 13.5px; color: var(--ink-2); }

.stats { justify-self: start; width: 260px; margin-bottom: 140px; padding: 26px 26px 10px; }
.stats div { margin-bottom: 18px; }
.stats b { display: block; font-family: var(--head); font-weight: 800; font-size: 28px; line-height: 1.1; color: var(--orange-deep); }
.stats span { font-size: 13px; color: var(--ink-2); }
.ground { position: relative; z-index: 3; height: 70px; margin-top: -40px; background: linear-gradient(180deg, transparent, var(--bg) 85%); }

/* about + cards */
section { padding: 96px 0; position: relative; }
.big { text-align: center; font-size: clamp(26px, 4vw, 50px); max-width: 1000px; margin: 0 auto; }
.big .dim { color: var(--dim); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 70px; }
.pcard { position: relative; padding: 12px; }
.pcard .tag { position: absolute; top: -16px; z-index: 2; background: var(--orange); color: #fff; font-size: 12px; font-weight: 800; padding: 6px 14px; border-radius: 999px; transform: rotate(-5deg); box-shadow: 0 6px 16px rgba(255,90,0,.3); }
.pcard:nth-child(1) .tag { left: 26px; }
.pcard:nth-child(2) .tag { left: 50%; transform: translateX(-50%) rotate(3deg); background: var(--yellow); color: var(--ink); }
.pcard:nth-child(3) .tag { right: 26px; transform: rotate(5deg); }
.pcard .pic { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 4.4; position: relative; background: radial-gradient(70% 70% at 50% 70%, rgba(255,138,42,.55), #FFE9D2 75%); }
.pcard .pic img.cover { width: 100%; height: 100%; object-fit: cover; }
.pcard .pic img.cut { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); height: 94%; width: auto; }
.pcard .bar { left: 22px; right: 22px; bottom: 22px; padding: 10px 10px 10px 16px; }
.pcard .bar strong { font-size: 15px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 54px; }
.step { padding: 26px; }
.step .n { font-family: var(--head); font-weight: 800; font-size: 38px; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { margin: 14px 0 6px; font-size: 19px; font-weight: 800; }
.step p { margin: 0; font-size: 15px; color: var(--ink-2); }
.sub { text-align: center; color: var(--ink-2); max-width: 640px; margin: 18px auto 0; }

/* prices */
.prices { background: radial-gradient(ellipse 80% 420px at 50% 0%, rgba(255,138,42,.18), transparent), var(--bg-2); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 880px; margin: 56px auto 0; }
.plan { position: relative; padding: 32px; }
.plan.main { border: 2px solid var(--orange); box-shadow: 0 20px 50px rgba(255,90,0,.18); }
.plan .badge { position: absolute; top: -13px; left: 28px; font-size: 11px; font-weight: 900; letter-spacing: .1em; padding: 6px 12px; border-radius: 999px; }
.plan h3 { margin: 0; font-size: 18px; font-weight: 800; }
.plan .price { font-family: var(--head); font-weight: 800; font-size: 50px; line-height: 1; margin: 16px 0 6px; }
.plan .per { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--muted); }
.plan .desc { color: var(--ink-2); font-size: 14.5px; margin: 14px 0 20px; }
.plan .btn { width: 100%; justify-content: center; }
.plan .fine { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.extra { max-width: 880px; margin: 22px auto 0; padding: 18px 24px; }
.extra strong { font-size: 17px; }
.extra span { display: block; font-size: 14px; color: var(--ink-2); }
.perks { max-width: 880px; margin: 28px auto 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 20px; }
.perks li { padding-left: 24px; position: relative; font-size: 14.5px; font-weight: 700; }
.perks li::before { content: "★"; position: absolute; left: 0; color: var(--orange); }
.billing { max-width: 880px; margin: 26px auto 0; font-size: 14px; color: var(--ink-2); }

/* safety */
.safe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; }
.safe-grid .glass { padding: 26px; }
.safe-grid img { width: 56px; margin-bottom: 14px; }
.safe-grid h3 { margin: 0 0 8px; font-size: 19px; font-weight: 800; }
.safe-grid p { margin: 0; font-size: 15px; color: var(--ink-2); }

/* faq */
.faq { max-width: 820px; margin: 46px auto 0; }
.faq details { padding: 18px 22px; margin-bottom: 12px; }
.faq summary { font-weight: 800; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--orange); font-weight: 900; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 10px 0 0; font-size: 15px; color: var(--ink-2); }

/* contact */
.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
.contact .glass { padding: 24px; }
.contact h3 { margin: 0 0 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-deep); }
.contact p { margin: 0; }
.cta-band { margin-top: 70px; text-align: center; padding: 56px 24px; border-radius: 30px; background: radial-gradient(70% 120% at 50% 100%, rgba(255,196,0,.4), transparent 60%), var(--grad); position: relative; overflow: hidden; box-shadow: 0 24px 60px rgba(255,90,0,.25); }
.cta-band h2 { font-size: clamp(28px, 4.4vw, 52px); color: #fff; }
.cta-band p { color: #FFF0E2; margin: 12px 0 22px; }
.cta-band .btn { background: #fff; color: var(--orange-deep) !important; box-shadow: none; }

footer { background: var(--ink); color: #D9C3AC; padding: 46px 0 34px; font-size: 14px; }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
footer a { color: #FFF8EF; text-decoration: none; }
footer a:hover { color: var(--yellow); }
footer h4 { margin: 0 0 10px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin-bottom: 6px; }
footer .flogo { height: 34px; width: auto; margin-bottom: 12px; }
footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.14); padding-top: 18px; font-size: 13px; color: #B59B82; }

@media (max-width: 1000px) {
  .scene { grid-template-columns: 1fr; justify-items: center; }
  .milo { order: -1; height: 420px; width: 100%; }
  .film-card, .stats { justify-self: center; margin: 0; }
  .stats { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; max-width: 560px; gap: 10px; padding: 22px; margin-bottom: 30px; }
  .stats div { margin: 0; }
  .stats b { font-size: 20px; }
  .film-card { margin-bottom: 20px; }
  .cards, .safe-grid, .contact { grid-template-columns: 1fr; gap: 34px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .top nav a:not(.btn) { display: none; }
  footer .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .stage { padding-top: 110px; }
  .milo { height: 360px; }
  .sticker { width: 54px; }
  .steps, .plans, .perks { grid-template-columns: 1fr; }
  .plans { gap: 30px; }
  .stats span { font-size: 12px; }
  section { padding: 70px 0; }
}
@media (prefers-reduced-motion: reduce) { .milo img, .sticker { animation: none; } }

/* early-access form (Start free trial) */
.join { border: 0; padding: 0; border-radius: 28px; width: min(460px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; background: #fff; color: var(--ink); box-shadow: 0 30px 80px rgba(60, 25, 5, .35); }
.join::backdrop { background: rgba(42, 26, 14, .45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.join-form, .join-done { position: relative; padding: 30px 28px 24px; }
.join-x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--bg-2); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
.join-logo { height: 42px; width: auto; margin-bottom: 14px; }
.join h2 { font-size: 24px; margin-bottom: 8px; }
.join-lead { font-size: 15px; color: var(--ink-2); margin: 0 0 18px; }
.join label { display: block; font-size: 13px; font-weight: 800; margin-bottom: 12px; }
.join input[type=text], .join input[type=email] { display: block; width: 100%; margin-top: 6px; padding: 13px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg); font: 600 16px "Plus Jakarta Sans", sans-serif; color: var(--ink); }
.join input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,90,0,.15); }
.join fieldset { border: 0; padding: 0; margin: 4px 0 12px; }
.join legend { font-size: 13px; font-weight: 800; margin-bottom: 6px; }
.join .opt { display: flex; gap: 10px; align-items: center; font-weight: 500; font-size: 14.5px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 14px; margin-bottom: 8px; cursor: pointer; }
.join .opt:has(input:checked) { border-color: var(--orange); background: #FFF4EA; }
.join .opt input { accent-color: var(--orange); width: 18px; height: 18px; margin: 0; }
.join .btn { width: 100%; justify-content: center; border: 0; cursor: pointer; font: 800 15px "Plus Jakarta Sans", sans-serif; margin-top: 4px; }
.join .btn:disabled { opacity: .7; cursor: wait; }
.join-err { background: #FFEDE5; color: #B42800; font-size: 14px; font-weight: 600; padding: 10px 12px; border-radius: 12px; margin: 4px 0 10px; }
.join-fine { font-size: 12px; color: var(--muted); margin: 12px 0 0; text-align: center; }
.join-done { text-align: center; }
.join-milo { height: 170px; width: auto; margin: 0 auto 10px; }
.join-done p { color: var(--ink-2); font-size: 15px; }
