@font-face { font-family: "Fredoka"; src: url("fonts/Fredoka.ttf") format("truetype"); font-weight: 300 700; font-display: swap; }

:root {
  --orange: #FFB96B; --orange-d: #E8893F; --scarf: #D66A68; --garden: #6BC8A9;
  --twilight: #66548F; --ivory: #FFF0D2; --dark: #343044; --ink: #2A2236; --gold: #FFD66B;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: "Fredoka", system-ui, sans-serif; font-weight: 400; color: var(--ivory);
  background: radial-gradient(1200px 700px at 50% -10%, #6C5AA6 0%, var(--dark) 60%) fixed, var(--dark);
  line-height: 1.55; -webkit-font-smoothing: antialiased;
}
a { color: var(--gold); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* nav */
nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ivory); font-weight: 650; font-size: 1.25rem; }
.brand img { width: 44px; height: 44px; border-radius: 12px; }
nav .links a { color: var(--ivory); text-decoration: none; margin-left: 22px; opacity: .85; }
nav .links a:hover { opacity: 1; color: var(--gold); }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 40px 0 70px; }
.hero h1 { font-size: clamp(3.4rem, 9vw, 6.2rem); line-height: .95; margin: 0; color: var(--orange); font-weight: 650;
  text-shadow: 0 6px 0 rgba(0,0,0,.25); letter-spacing: .02em; }
.hero h2 { font-size: clamp(1.4rem, 3.4vw, 2.1rem); margin: 8px 0 18px; font-weight: 500; }
.hero p.lead { font-size: 1.2rem; opacity: .9; max-width: 34ch; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px; border-radius: 999px; font-weight: 650; font-size: 1.1rem;
  text-decoration: none; color: var(--ink); background: var(--orange); border: 4px solid #7A4A2A; box-shadow: 0 7px 0 rgba(8,5,12,.45);
  transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 9px 0 rgba(8,5,12,.45); }
.btn.soon { background: #8C86A0; border-color: #4A4458; cursor: default; }
.btn.soon:hover { transform: none; box-shadow: 0 7px 0 rgba(8,5,12,.45); }
.btn.ghost { background: transparent; color: var(--ivory); border-color: var(--ivory); box-shadow: none; }
.note { font-size: .95rem; opacity: .7; }

/* phone frames */
.phone { position: relative; border-radius: 36px; padding: 12px; background: #1d1a2a; border: 3px solid #D9A441;
  box-shadow: 0 30px 60px rgba(0,0,0,.45), 0 0 0 8px rgba(255,214,107,.08); }
.phone img { border-radius: 26px; aspect-ratio: 9 / 16; width: 100%; height: auto; }
.hero .phone { width: min(330px, 40vh, 80vw); justify-self: center; transform: rotate(3deg); animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { transform: rotate(2deg) translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .hero .phone { animation: none; } html { scroll-behavior: auto; } }

/* sections */
section { padding: 70px 0; }
section h3 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 10px; color: var(--gold); font-weight: 650; text-align: center; }
section .sub { text-align: center; opacity: .85; max-width: 60ch; margin: 0 auto 40px; font-size: 1.1rem; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: rgba(63,56,86,.75); border: 3px solid #D9A441; border-radius: 28px; padding: 22px; }
.card .ico { font-size: 2rem; }
.card h4 { margin: 8px 0 6px; font-size: 1.2rem; color: var(--orange); }
.card p { margin: 0; opacity: .88; }

.worlds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.world .phone { max-width: 280px; margin: 0 auto; }
.world { text-align: center; }
.world h4 { font-size: 1.35rem; margin: 18px 0 4px; color: var(--orange); }
.world .tag { display: inline-block; background: var(--garden); color: var(--ink); border-radius: 999px; padding: 2px 12px; font-size: .9rem; font-weight: 650; }
.world p { opacity: .88; margin: 8px 0 0; }

.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 23%); gap: 20px; overflow-x: auto;
  padding: 10px 4px 26px; scroll-snap-type: x mandatory; }
.gallery .phone { scroll-snap-align: start; padding: 8px; border-radius: 28px; }
.gallery .phone img { border-radius: 20px; }

.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; text-align: center; }
.promise div { background: rgba(107,200,169,.12); border: 2px dashed var(--garden); border-radius: 24px; padding: 18px; font-size: 1.1rem; }

footer { padding: 40px 0 60px; text-align: center; opacity: .75; font-size: .95rem; }
footer a { margin: 0 10px; }

/* privacy page */
.doc { max-width: 760px; background: rgba(63,56,86,.75); border: 3px solid #D9A441; border-radius: 32px; padding: 36px; margin: 20px auto 60px; }
.doc h1 { color: var(--orange); margin-top: 0; }
.doc h2 { color: var(--gold); font-size: 1.3rem; margin-top: 28px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 20px; }
  .hero p.lead { margin: 0 auto; }
  .cta { justify-content: center; }
  .features { grid-template-columns: 1fr 1fr; }
  .worlds, .promise { grid-template-columns: 1fr; }
  .gallery { grid-auto-columns: 62%; }
  nav .links a.hide-sm { display: none; }
}
