:root { --night: #1e1b4b; --lavender: #c4b5fd; --moon: #f7d774; --text: #eef2ff; --muted: rgba(199, 210, 254, 0.8); }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--night); color: var(--text); }
body { font-family: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; line-height: 1.55; }
a { color: var(--lavender); }
.hero { position: relative; max-width: 48rem; margin: 0 auto; }
.hero-img { display: block; width: 100%; height: 38vh; min-height: 220px; object-fit: cover; object-position: bottom; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 6rem; background: linear-gradient(transparent, var(--night)); }
.brand { position: absolute; z-index: 1; top: max(1.5rem, env(safe-area-inset-top)); left: 1.5rem; display: flex; gap: .5rem; align-items: center; font-size: 1.5rem; font-weight: 800; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
main, footer { max-width: 48rem; margin: 0 auto; padding: 0 1.5rem; }
main { position: relative; z-index: 1; margin-top: -1rem; }
.tag { display: inline-block; margin: 0; padding: .2rem .75rem; border-radius: 999px; background: rgba(247, 215, 116, .18); color: var(--moon); font-weight: 700; font-size: .85rem; }
h1 { font-size: 2rem; line-height: 1.2; margin: .75rem 0; font-weight: 800; }
h2 { font-size: 1.25rem; margin: 2rem 0 .75rem; }
.lead { font-size: 1.125rem; color: var(--muted); }
.list { padding: 0; list-style: none; display: grid; gap: .75rem; }
.list li { padding: 1rem; border-radius: 1rem; background: rgba(255, 255, 255, .06); }
.note { color: var(--muted); font-size: .9rem; }
.cta { margin: 2rem 0; padding: 1.25rem; border-radius: 1.5rem; background: rgba(196, 181, 253, .1); border: 1px solid rgba(196, 181, 253, .25); }
.cta h2 { margin-top: 0; }
.button { display: inline-block; margin-top: .5rem; padding: .8rem 1.25rem; border-radius: 1rem; background: var(--lavender); color: var(--night); font-weight: 700; text-decoration: none; }
footer { padding-bottom: 3rem; border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; margin-top: 1rem; font-size: .8rem; color: var(--muted); }
/* Try it: the demo in a phone-sized frame on wide screens; on phones a button to open it full screen */
.try { display: flex; flex-direction: column; align-items: center; gap: .75rem; margin: 1rem 0 0; }
.try-frame { display: none; }
.try-open { font-size: 1.125rem; padding: 1rem 1.5rem; width: 100%; max-width: 22rem; text-align: center; }
@media (min-width: 720px) {
  .try-frame { display: block; width: 390px; max-width: 100%; height: min(780px, calc(100vh - 4rem)); border: 8px solid #0f0d2e; border-radius: 2.25rem; background: #fdf8f0; box-shadow: 0 14px 40px rgba(0,0,0,.4); }
  .try-open { width: auto; font-size: 1rem; padding: .8rem 1.25rem; }
}
