/* =============================================================
   YOOCA: YOUR LIFE — site v2 ("sunny city")
   Light, daylight palette taken from the game's own city.
   Coral is the only action colour. Purple appears only on the Yooca pet.
   Mobile first: base = phone, then 640 / 900 / 1200.
   ============================================================= */

/* ---- Tokens ---- */
:root {
  --paper:      #F6FAFC;   /* daylight page background */
  --white:      #FFFFFF;
  --ink:        #1D2433;   /* city-night navy: text, dark surfaces */
  --ink-2:      #364057;
  --muted:      #5A6478;
  --line:       #DCE5EE;
  --coral:      #F2553C;   /* the one action colour */
  --coral-dark: #D7402A;
  --coral-soft: #FDE9E4;
  --sky:        #2F9FE0;
  --sky-soft:   #E4F3FC;
  --leaf:       #13A374;   /* rewards, live, success */
  --leaf-soft:  #E2F6EE;
  --sun:        #FFC23D;   /* coupon badges */
  --sun-soft:   #FFF3D6;

  --f-display: 'Baloo 2', 'Trebuchet MS', system-ui, sans-serif;
  --f-body:    'Nunito Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --gutter: 20px;
  --max: 1180px;
  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-pill: 999px;
  --shadow: 0 10px 30px rgba(29, 36, 51, 0.10);
  --header-h: 64px;
}
@media (min-width: 640px)  { :root { --gutter: 32px; } }
@media (min-width: 1200px) { :root { --gutter: 48px; --header-h: 72px; } }

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.05; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: 64px; }
@media (min-width: 900px) { .section { padding-block: 96px; } }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; max-width: 720px; }
.label { font-weight: 800; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--coral); }
.h2 { font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 800; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 62ch; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: var(--r-pill); border: 2px solid transparent;
  font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; line-height: 1;
  text-decoration: none; cursor: pointer; transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.98); }
.btn-play { background: var(--coral); color: #fff; box-shadow: 0 6px 18px rgba(242, 85, 60, 0.35); }
.btn-play:hover { background: var(--coral-dark); }
.btn-play svg { width: 18px; height: 18px; fill: currentColor; }
.btn-line { background: transparent; border-color: currentColor; }
.btn-line:hover { background: rgba(255,255,255,0.12); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: 1rem; }

/* ---- Header ---- */
.nav {
  position: sticky; top: 0; z-index: 300;
  background: rgba(255,255,255,0.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line) !important; /* shared.js tints this on scroll; keep it neutral */
}
.nav-inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.nav-logo { display: flex; align-items: center; margin-right: auto; }
.nav-logo img { height: 48px; width: auto; }
.nav-links { display: none; list-style: none; margin: 0; padding: 0; gap: 4px; align-items: center; }
.nav-links a { display: block; padding: 8px 12px; border-radius: var(--r-sm); text-decoration: none; font-weight: 700; font-size: 15px; color: var(--ink-2); }
.nav-links a:hover { background: var(--sky-soft); color: var(--ink); }
@media (min-width: 1000px) { .nav-links { display: flex; } }
.hamburger {
  width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 0;
}
.hamburger span { width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
@media (min-width: 1000px) { .hamburger { display: none; } }
.mobile-menu {
  display: none; flex-direction: column; gap: 2px;
  padding: 12px var(--gutter) 24px; background: var(--white); border-top: 1px solid var(--line);
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 14px 4px; font-weight: 700; font-size: 18px; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu .mm-small { display: flex; flex-wrap: wrap; gap: 4px 18px; padding-top: 14px; }
.mobile-menu .mm-small a { border: 0; padding: 6px 0; font-size: 15px; color: var(--muted); }
@media (min-width: 1000px) { .mobile-menu, .mobile-menu.open { display: none; } }

/* ---- Hero ---- */
.hero { position: relative; background: var(--ink); color: #fff; }
.hero-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-copy { position: relative; padding: 24px var(--gutter) 36px; display: flex; flex-direction: column; gap: 16px; }
.hero-tag {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: var(--r-pill); background: rgba(255,255,255,0.12);
  font-weight: 800; font-size: 13px; letter-spacing: 0.04em;
}
.hero-tag i { width: 8px; height: 8px; border-radius: 50%; background: #3FE0A6; box-shadow: 0 0 0 4px rgba(63,224,166,0.25); }
.hero h1 { font-size: clamp(2.6rem, 11vw, 5.4rem); font-weight: 800; line-height: 0.98; }
.hero h1 em { font-style: normal; color: var(--sun); display: block; }
.hero-sub { font-size: 1.05rem; color: rgba(255,255,255,0.86); max-width: 52ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-ctas .btn { flex: 1 1 auto; }
.platforms { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.8); }
.platforms span { display: inline-flex; align-items: center; gap: 6px; }
.platforms svg { width: 16px; height: 16px; fill: currentColor; }
.platforms .soon { color: rgba(255,255,255,0.55); font-weight: 600; }
@media (min-width: 900px) {
  .hero { min-height: min(86vh, 780px); display: flex; align-items: flex-end; }
  .hero-media { position: absolute; inset: 0; aspect-ratio: auto; }
  .hero-media::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(20,26,38,0.82) 0%, rgba(20,26,38,0.55) 38%, rgba(20,26,38,0) 70%),
                linear-gradient(0deg, rgba(20,26,38,0.55) 0%, rgba(20,26,38,0) 40%);
  }
  .hero-copy { width: 100%; max-width: var(--max); margin: 0 auto; padding: 64px var(--gutter) 72px; }
  .hero-copy > * { max-width: 600px; }
  .hero-ctas .btn { flex: 0 0 auto; }
}

/* ---- Quick facts strip ---- */
.facts { background: var(--white); border-bottom: 1px solid var(--line); }
.facts ul { list-style: none; margin: 0 auto; padding-block: 18px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 20px; }
.facts li { display: flex; flex-direction: column; align-items: center; text-align: center; }
.facts b { font-family: var(--f-display); font-size: 1.6rem; line-height: 1.1; }
.facts span { font-size: 14px; color: var(--muted); }
@media (min-width: 900px) { .facts ul { grid-template-columns: repeat(4, 1fr); } }

/* ---- Roles strip ---- */
.roles { background: var(--paper); }
.role-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px;
  scrollbar-width: thin; scroll-padding-inline: var(--gutter);
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
}
@media (min-width: 640px) { .role-track { grid-auto-columns: 44%; } }
@media (min-width: 1000px) { .role-track { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; } }
.role { scroll-snap-align: start; background: var(--white); border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.role-media { aspect-ratio: 16 / 10; background: var(--ink); position: relative; }
.role-media video, .role-media img { width: 100%; height: 100%; object-fit: cover; }
.role-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.role-body h3 { font-size: 1.35rem; }
.role-body p { font-size: 15px; color: var(--muted); }

/* ---- Rewards ---- */
.rewards { background: var(--white); }
.rewards-grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .rewards-grid { grid-template-columns: 1fr 1.05fr; align-items: center; gap: 56px; } }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.steps li::before {
  content: counter(s); width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--sun); color: var(--ink); font-family: var(--f-display); font-weight: 800; font-size: 1.3rem;
}
.steps h3 { font-size: 1.3rem; margin-bottom: 2px; }
.steps p { color: var(--muted); font-size: 16px; }
.note { margin-top: 22px; padding: 14px 16px; border-radius: var(--r-md); background: var(--sky-soft); font-size: 15px; color: var(--ink-2); }
.note b { color: var(--ink); }
.reward-visual { display: grid; gap: 14px; }
.reward-shot { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.reward-shot .stamp {
  position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: var(--r-pill);
  background: var(--sun); color: var(--ink); font-weight: 800; font-size: 13px;
}
.proof {
  display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center;
  padding: 12px; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line);
  text-decoration: none; transition: border-color 0.15s;
}
.proof:hover { border-color: var(--coral); }
.proof-thumb { position: relative; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink); }
.proof-thumb img { width: 100%; height: 100%; object-fit: cover; }
.proof-thumb::after {
  content: ''; position: absolute; inset: 0; margin: auto; width: 34px; height: 34px; border-radius: 50%;
  background: var(--coral) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M8 5v14l11-7z'/%3E%3C/svg%3E") 55% 50% / 16px no-repeat;
}
.proof b { display: block; font-family: var(--f-display); font-size: 1.1rem; line-height: 1.2; }
.proof span { font-size: 14px; color: var(--muted); }
.brands { margin-top: 40px; display: flex; flex-direction: column; gap: 14px; }
.brands p { font-weight: 700; color: var(--muted); font-size: 15px; }
.brand-row { display: flex; flex-wrap: wrap; gap: 8px; }
.brand-row span { padding: 8px 14px; border-radius: var(--r-pill); background: var(--paper); border: 1px solid var(--line); font-weight: 700; font-size: 14px; }

/* ---- Split features (pet, home, friends) ---- */
.feature { display: grid; gap: 28px; align-items: center; }
.feature + .feature { margin-top: 64px; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 56px; }
  .feature.flip .feature-media { order: 2; }
  .feature + .feature { margin-top: 96px; }
}
.feature-media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--ink); }
.feature-media img, .feature-media video { width: 100%; height: 100%; object-fit: cover; }
.feature-copy { display: flex; flex-direction: column; gap: 14px; }
.feature-copy h2 { font-size: clamp(1.9rem, 5vw, 2.8rem); font-weight: 800; }
.feature-copy p { color: var(--muted); }
.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 16px; }
.ticks li::before {
  content: ''; width: 22px; height: 22px; border-radius: 50%; margin-top: 2px;
  background: var(--leaf-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2313A374' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.species { display: flex; flex-wrap: wrap; gap: 6px; }
.species span { padding: 4px 12px; border-radius: var(--r-pill); background: var(--sky-soft); font-weight: 700; font-size: 14px; }

/* ---- Fresh from the city ---- */
.fresh { background: var(--sky-soft); }
.fresh-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .fresh-grid { grid-template-columns: 1.6fr 1fr; align-items: start; } }
.videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .videos { grid-template-columns: repeat(3, 1fr); } }
.video-card { text-decoration: none; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.video-card .thumb { aspect-ratio: 16 / 9; border-radius: var(--r-sm); overflow: hidden; background: var(--line); }
.video-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s; }
.video-card:hover .thumb img { transform: scale(1.04); }
.video-card b { font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-card span { font-size: 12px; color: var(--muted); }
.side-stack { display: flex; flex-direction: column; gap: 16px; }
.panel { background: var(--white); border-radius: var(--r-md); padding: 20px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.panel h3 { font-size: 1.35rem; }
.discord-count { display: flex; gap: 22px; }
.discord-count div { display: flex; flex-direction: column; }
.discord-count b { font-family: var(--f-display); font-size: 2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.discord-count span { font-size: 13px; color: var(--muted); }
.discord-count .online b { color: var(--leaf); }
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.timeline li { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.timeline li:last-child { border-bottom: 0; }
.timeline time { font-weight: 800; color: var(--coral); font-size: 14px; }
.btn-discord { background: #5865F2; color: #fff; }
.btn-discord:hover { background: #4752C4; }

/* ---- Early Access perks ---- */
.perks { background: var(--white); }
.perk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .perk-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .perk-list { grid-template-columns: repeat(5, 1fr); } }
.perk-list li { background: var(--sun-soft); border-radius: var(--r-md); padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.perk-list b { font-family: var(--f-display); font-size: 1.15rem; line-height: 1.2; }
.perk-list span { font-size: 14px; color: var(--ink-2); }

/* ---- FAQ ---- */
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 820px; }
.faq-list details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); }
.faq-list summary {
  cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; position: relative;
  font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; line-height: 1.25;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--coral); }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { padding: 0 20px 18px; color: var(--muted); }

/* ---- Final call ---- */
.final { background: var(--coral); color: #fff; text-align: center; }
.final .wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.final h2 { font-size: clamp(2.2rem, 7vw, 3.6rem); font-weight: 800; }
.final p { color: rgba(255,255,255,0.9); max-width: 50ch; }
.final .btn-play { background: var(--ink); box-shadow: none; }
.final .btn-play:hover { background: #000; }

/* ---- Footer ---- */
.footer { background: var(--ink); color: rgba(255,255,255,0.75); padding-block: 48px 32px; font-size: 15px; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-brand { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 900px) { .footer-brand { grid-column: auto; } }
.footer-brand img { height: 52px; width: auto; align-self: flex-start; }
.footer h5 { margin: 0 0 10px; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; color: rgba(255,255,255,0.55); }
.footer-socials { display: flex; flex-wrap: wrap; gap: 8px; }
.soc { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.85); }
.soc:hover { background: var(--coral); color: #fff; }
.soc::before { content: ''; display: block; width: 18px; height: 18px; background-color: currentColor; -webkit-mask: var(--soc-icon) center / contain no-repeat; mask: var(--soc-icon) center / contain no-repeat; }

/* ---- Sticky "Play free" bar on phones ---- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 250;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,0.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); display: flex; align-items: center; gap: 12px;
  transform: translateY(110%); transition: transform 0.25s ease;
}
.sticky-cta.show { transform: none; }
.sticky-cta p { font-size: 13px; line-height: 1.3; color: var(--muted); flex: 1; }
.sticky-cta p b { display: block; color: var(--ink); font-size: 15px; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* =============================================================
   DOWNLOAD MODAL — light version of the sign-in → Windows / Mac dialog
   (markup and behaviour come from shared.js)
   ============================================================= */
.dl-overlay {
  position: fixed; inset: 0; z-index: 1000; background: rgba(29,36,51,0.55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 16px;
  opacity: 0; visibility: hidden; transition: opacity 0.2s, visibility 0.2s;
}
.dl-overlay.open { opacity: 1; visibility: visible; }
.dl-modal {
  position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 32px); overflow-y: auto;
  background: var(--white); border-radius: var(--r-lg); padding: 30px 22px 22px; text-align: center;
  box-shadow: 0 24px 70px rgba(29,36,51,0.30); color: var(--ink);
  transform: translateY(12px); transition: transform 0.25s ease;
}
.dl-overlay.open .dl-modal { transform: none; }
@media (min-width: 480px) { .dl-modal { padding: 34px 32px 26px; } }
.dl-close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; background: var(--paper); color: var(--muted); font-size: 22px; line-height: 1; }
.dl-close:hover { color: var(--ink); background: var(--line); }
.dl-logo { height: 54px; width: auto; margin: 0 auto 12px; }
.dl-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--coral); margin-bottom: 6px; }
.dl-modal h2 { font-size: 1.9rem; font-weight: 800; margin-bottom: 8px; }
.dl-modal .gt { color: var(--coral); }
.dl-sub { font-size: 15px; color: var(--muted); line-height: 1.6; margin-bottom: 20px; }
.dl-auth { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.dl-google { min-height: 44px; width: 100%; display: flex; justify-content: center; }
.dl-fb {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; max-width: 400px; min-height: 44px; padding: 0 20px;
  background: #1877F2; color: #fff; border: 0; border-radius: var(--r-pill); font-weight: 700; font-size: 15px; cursor: pointer;
}
.dl-fb:hover { background: #166FE5; }
.dl-fb:disabled { opacity: 0.6; cursor: default; }
.dl-fb svg { width: 20px; height: 20px; fill: currentColor; }
.dl-inapp-note { display: none; max-width: 400px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.dl-overlay.inapp .dl-fb { order: -1; }
.dl-overlay.inapp .dl-google { display: none; }
.dl-overlay.inapp .dl-inapp-note { display: block; }
.dl-email { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 8px; text-align: left; }
.dl-email[hidden] { display: none; }
.dl-email label { font-size: 14px; }
.dl-email-row { display: flex; gap: 8px; }
.dl-email input { flex: 1; min-width: 0; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: var(--r-pill); font-size: 16px; color: var(--ink); background: var(--white); }
.dl-email input:focus { border-color: var(--sky); outline: none; }
.dl-email button { min-height: 44px; padding: 0 18px; border: 0; border-radius: var(--r-pill); background: var(--coral); color: #fff; font-weight: 800; cursor: pointer; }
.dl-msg { min-height: 20px; margin-top: 12px; font-size: 14px; color: var(--muted); }
.dl-msg.err { color: var(--coral-dark); }
.dl-fine { margin-top: 8px; font-size: 12px; color: var(--muted); line-height: 1.6; }
.dl-platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 8px; }
.dl-plat { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 20px 12px 16px; border-radius: var(--r-md); border: 2px solid var(--line); text-decoration: none; color: var(--ink); background: var(--white); transition: border-color 0.15s, transform 0.15s; }
.dl-plat:hover { border-color: var(--coral); transform: translateY(-2px); }
.dl-plat.suggested { border-color: var(--coral); background: var(--coral-soft); }
.dl-plat svg { width: 40px; height: 40px; fill: currentColor; }
.dl-plat-name { font-family: var(--f-display); font-weight: 800; font-size: 1.2rem; }
.dl-plat-file { font-size: 12px; color: var(--muted); }
.dl-plat-tag { font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: var(--coral); padding: 3px 8px; border-radius: var(--r-pill); }
.dl-plat:not(.suggested) .dl-plat-tag { visibility: hidden; }
.dl-note { margin-top: 12px; padding: 12px 14px; text-align: left; border-radius: var(--r-md); background: var(--leaf-soft); font-size: 14px; line-height: 1.55; }
.dl-note a { color: var(--ink) !important; }
.dl-note[hidden] { display: none; }
.dl-switch { margin-top: 12px; background: none; border: 0; cursor: pointer; color: var(--muted); font-size: 13px; text-decoration: underline; }
.dl-switch:hover { color: var(--ink); }
.dl-follow { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.dl-follow-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); border: 2px solid var(--line); text-decoration: none; font-weight: 800; font-size: 14px; color: var(--ink); }
.dl-follow-btn:hover { border-color: var(--coral); }
.dl-spinner { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; margin-right: 6px; border: 2px solid var(--line); border-top-color: var(--coral); border-radius: 50%; animation: dlSpin 0.8s linear infinite; }
@keyframes dlSpin { to { transform: rotate(360deg); } }

/* Social icons (masks, coloured by currentColor) */
.soc-youtube   { --soc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z'/%3E%3C/svg%3E"); }
.soc-tiktok    { --soc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z'/%3E%3C/svg%3E"); }
.soc-x         { --soc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E"); }
.soc-instagram { --soc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 1 0 0 12.324 6.162 6.162 0 0 0 0-12.324zM12 16a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm6.406-11.845a1.44 1.44 0 1 0 0 2.881 1.44 1.44 0 0 0 0-2.881z'/%3E%3C/svg%3E"); }
.soc-facebook  { --soc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.101 23.691v-7.98H6.627v-3.667h2.474v-1.58c0-4.085 1.848-5.978 5.858-5.978.401 0 .955.042 1.468.103a8.68 8.68 0 0 1 1.141.195v3.325a8.623 8.623 0 0 0-.653-.036 26.805 26.805 0 0 0-.733-.009c-.707 0-1.259.096-1.675.309a1.686 1.686 0 0 0-.679.622c-.258.42-.374.995-.374 1.752v1.297h3.919l-.386 2.103-.287 1.564h-3.246v8.245C19.396 23.238 24 18.179 24 12.044c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.628 3.874 10.35 9.101 11.647Z'/%3E%3C/svg%3E"); }
.soc-discord   { --soc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.317 4.37a19.791 19.791 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.736 19.736 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028 14.09 14.09 0 0 0 1.226-1.994.076.076 0 0 0-.041-.106 13.107 13.107 0 0 1-1.872-.892.077.077 0 0 1-.008-.128 10.2 10.2 0 0 0 .372-.292.074.074 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127 12.299 12.299 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.839 19.839 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418z'/%3E%3C/svg%3E"); }

/* =============================================================
   AD LANDING PAGES (/play/...) — one message, one action
   ============================================================= */
.lp-hero { background: linear-gradient(180deg, var(--sky-soft) 0%, var(--paper) 100%); padding-block: 28px 48px; }
.lp-hero-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .lp-hero-grid { grid-template-columns: 1.2fr 0.8fr; gap: 64px; } .lp-hero { padding-block: 64px 80px; } }
.lp-hero-copy { display: flex; flex-direction: column; gap: 16px; }
.lp-kicker { align-self: flex-start; padding: 6px 12px; border-radius: var(--r-pill); background: var(--sun); font-weight: 800; font-size: 13px; }
.lp-hero h1 { font-size: clamp(2.3rem, 8.5vw, 4.2rem); font-weight: 800; line-height: 1; }
.lp-hero h1 em { font-style: normal; color: var(--coral); }
.lp-cta { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.lp-cta .btn { width: 100%; }
@media (min-width: 640px) { .lp-cta .btn { width: auto; } }
.lp-cta p { font-size: 14px; color: var(--muted); }
.short-video { width: 100%; max-width: 360px; margin-inline: auto; aspect-ratio: 9 / 16; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); box-shadow: var(--shadow); }
.short-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.short-poster { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: var(--ink); }
.short-poster img { width: 100%; height: 100%; object-fit: cover; }
.short-play {
  position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%;
  background: var(--coral) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M8 5v14l11-7z'/%3E%3C/svg%3E") 56% 50% / 34px no-repeat;
  box-shadow: 0 8px 24px rgba(242,85,60,0.45);
}
.short-cap { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 8px 12px; border-radius: var(--r-pill); background: rgba(29,36,51,0.78); color: #fff; font-weight: 700; font-size: 14px; text-align: center; }
/* phones: headline and button first, then the video */
.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 900px) { .lp-steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.lp-steps li { counter-increment: s; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; }
.lp-steps img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.lp-steps li > div { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.lp-steps h3 { font-size: 1.35rem; display: flex; align-items: center; gap: 10px; }
.lp-steps h3::before { content: counter(s); flex: 0 0 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--sun); font-size: 1.1rem; }
.lp-steps p { color: var(--muted); font-size: 16px; }
.lp-footer { padding-block: 24px 96px; }
.lp-footer .footer-bottom { margin-top: 0; border-top: 0; padding-top: 0; }
@media (min-width: 900px) { .lp-footer { padding-block: 24px; } }
