/* Lullawoo landing page. Brand: night sky purple, fox orange, star yellow. */

@font-face {
  font-family: "M PLUS Rounded 1c";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/mplus-rounded-1c-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "M PLUS Rounded 1c";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/mplus-rounded-1c-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "M PLUS Rounded 1c";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/mplus-rounded-1c-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "M PLUS Rounded 1c";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/mplus-rounded-1c-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --night: #0b0b1e;
  --night-2: #13112f;
  --plum: #4c2d8f;
  --violet: #7c5cff;
  --lilac: #b79bff;
  --mist: #f7e9ff;
  --fox: #ff9f3d;
  --star: #ffd86b;
  --cream: #fff3e6;
  --woo-a: #c9a9ff;
  --woo-b: #8b68f2;

  --text: #f7e9ff;
  --text-2: rgb(236 226 255 / 0.76);
  --text-3: rgb(222 210 250 / 0.6);
  --line: rgb(201 169 255 / 0.16);
  --line-strong: rgb(201 169 255 / 0.3);

  --font: "M PLUS Rounded 1c", ui-rounded, "SF Pro Rounded", "Nunito", "Varela Round", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius-lg: 32px;
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1160px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-gap: clamp(88px, 12vw, 152px);
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--night);
}

html {
  /* Safety net: a wide child (the language dropdown, a long word in some language) must never make
     the whole page scroll sideways. */
  overflow-x: clip;
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--night);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: var(--lilac);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover {
  color: var(--mist);
}

:focus-visible {
  outline: 3px solid var(--star);
  outline-offset: 3px;
  border-radius: 10px;
}

main:focus {
  outline: none;
}

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--night);
  font-weight: 700;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

.icon {
  width: 22px;
  height: 22px;
  flex: none;
  stroke-width: 1.75;
}

/* --- night sky ------------------------------------------------------------ */

.sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% -8%, rgb(124 92 255 / 0.32), transparent 70%),
    radial-gradient(45% 40% at 100% 30%, rgb(76 45 143 / 0.3), transparent 70%),
    radial-gradient(50% 45% at 0% 85%, rgb(76 45 143 / 0.28), transparent 70%),
    linear-gradient(180deg, #0d0c24 0%, var(--night) 60%);
}
.sky::before,
.sky::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("stars-a.svg") 0 0 / 640px 640px repeat;
  opacity: 0.55;
}
.sky::after {
  background-image: url("stars-b.svg");
  background-size: 900px 900px;
  background-position: 220px 120px;
  opacity: 0.8;
  animation: twinkle 7s ease-in-out infinite alternate;
}

@keyframes twinkle {
  from {
    opacity: 0.35;
  }
  to {
    opacity: 0.85;
  }
}

/* --- layout ----------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-narrow {
  max-width: calc(820px + var(--gutter) * 2);
}

.section {
  padding-top: var(--section-gap);
}
.section-last {
  padding-bottom: var(--section-gap);
}

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
}
.section-head h2,
.privacy-intro h2,
.final-cta h2 {
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem);
}
.section-lead {
  margin-top: 16px;
  color: var(--text-2);
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--lilac);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* --- glass ------------------------------------------------------------------ */

.glass {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.075), rgb(255 255 255 / 0.025)),
    rgb(26 20 64 / 0.5);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.08),
    0 24px 60px -30px rgb(0 0 0 / 0.7);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass {
    background: linear-gradient(180deg, rgb(255 255 255 / 0.08), rgb(255 255 255 / 0.03)), rgb(26 20 64 / 0.28);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
  }
}

.tile {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  color: var(--mist);
  background: linear-gradient(145deg, rgb(139 104 242 / 0.55), rgb(76 45 143 / 0.55));
  border: 1px solid rgb(201 169 255 / 0.28);
  box-shadow: 0 10px 24px -12px rgb(124 92 255 / 0.9), inset 0 1px 0 rgb(255 255 255 / 0.18);
}
.tile-lg {
  width: 56px;
  height: 56px;
  border-radius: 18px;
}
.tile-lg .icon {
  width: 26px;
  height: 26px;
}

/* --- buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #7a5cfa 0%, #5e3fdc 100%);
  box-shadow:
    0 14px 34px -14px rgb(124 92 255 / 0.95),
    inset 0 1px 0 rgb(255 255 255 / 0.25);
}
.btn-primary:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow:
    0 18px 40px -14px rgb(124 92 255 / 1),
    inset 0 1px 0 rgb(255 255 255 / 0.3);
}
.btn-primary:active {
  transform: translateY(0);
}
.btn-lg {
  min-height: 56px;
  padding: 14px 30px;
  font-size: 1.0625rem;
}
.btn-sm {
  min-height: 42px;
  padding: 9px 18px;
  font-size: 0.9375rem;
}
.btn-icon {
  width: 18px;
  height: 18px;
  stroke-width: 2.25;
}
.flip {
  transform: scaleX(-1);
}

/* Google Play: not live yet, so a calm badge rather than a link. */
.store-soon {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 8px 22px 8px 18px;
  border-radius: 999px;
  border: 1px dashed var(--line-strong);
  background: rgb(255 255 255 / 0.04);
  color: var(--text-2);
  cursor: default;
}
.store-icon {
  width: 22px;
  height: 22px;
  color: var(--lilac);
}
.store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}
.store-name {
  font-weight: 700;
  color: var(--text);
  font-size: 0.98rem;
}
.store-sub {
  font-size: 0.78rem;
  color: var(--star);
  letter-spacing: 0.04em;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  text-decoration: none;
}
.text-link .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}
.text-link:hover .icon {
  transform: translateX(3px);
}

/* --- header ----------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 12px var(--gutter) 0;
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: var(--container);
  min-height: 60px;
  margin: 0 auto;
  padding: 8px 8px 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgb(16 13 40 / 0.86);
  box-shadow: 0 16px 40px -24px rgb(0 0 0 / 0.8);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .header-bar {
    background: rgb(16 13 40 / 0.55);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    backdrop-filter: blur(20px) saturate(150%);
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  border-radius: 14px;
}
.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  box-shadow: 0 0 0 1px rgb(201 169 255 / 0.25), 0 6px 16px -6px rgb(124 92 255 / 0.8);
}

.wordmark {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}
.wm-lulla {
  color: #fff;
}
.wm-woo {
  color: var(--woo-b);
  background: linear-gradient(180deg, var(--woo-a), var(--woo-b));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.wm-sm {
  font-size: 1.45rem;
}

.site-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.site-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text-2);
  font-size: 0.9375rem;
  text-decoration: none;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}
.site-nav a:hover {
  color: var(--text);
  background: rgb(255 255 255 / 0.06);
}
.header-end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

/* Language switcher: a compact dropdown (native <details>). A row of 15 links is 1000 px wide and
   would push the whole page sideways. */
.lang {
  position: relative;
  color: var(--text-2);
}
.lang summary {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.04);
  cursor: pointer;
  list-style: none;
  font-size: 0.875rem;
  white-space: nowrap;
}
.lang summary::-webkit-details-marker {
  display: none;
}
.lang summary:hover,
.lang[open] summary {
  color: var(--text);
  background: rgb(255 255 255 / 0.09);
}
.lang .icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}
.lang-cur {
  max-width: 8.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lang-chev {
  width: 14px !important;
  height: 14px !important;
  opacity: 0.7;
  transition: transform 0.18s ease;
}
.lang[open] .lang-chev {
  transform: rotate(180deg);
}
.lang ul {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  display: grid;
  gap: 2px;
  min-width: 13rem;
  max-height: min(70vh, 26rem);
  overflow-y: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--night-2, #13112f);
  box-shadow: 0 18px 50px rgb(0 0 0 / 0.5);
}
.lang a {
  display: block;
  padding: 8px 10px;
  border-radius: 12px;
  color: var(--text-2);
  font-size: 0.9rem;
  text-decoration: none;
}
.lang a:hover {
  color: var(--text);
  background: rgb(255 255 255 / 0.07);
}
.lang a[aria-current] {
  color: var(--text);
  background: rgb(255 255 255 / 0.1);
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }
  .header-end {
    margin-left: auto;
  }
}

/* --- hero ------------------------------------------------------------------- */

.hero {
  overflow-x: clip;
  padding-top: clamp(24px, 5vw, 56px);
  text-align: center;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-art {
  position: relative;
  width: clamp(230px, 46vw, 340px);
  aspect-ratio: 1;
}
.hero-halo {
  position: absolute;
  inset: -22%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(124 92 255 / 0.42), rgb(76 45 143 / 0.22) 55%, transparent 100%);
  filter: blur(8px);
}
.hero-mascot {
  position: relative;
  width: 100%;
  height: 100%;
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.hero-wordmark {
  margin-top: clamp(4px, 1vw, 12px);
}
.wm-xl {
  display: inline-block;
  font-size: clamp(3.4rem, 1.6rem + 8vw, 7rem);
  letter-spacing: -0.035em;
  filter: drop-shadow(0 8px 30px rgb(124 92 255 / 0.35));
}
.hero-eyebrow {
  margin-top: clamp(20px, 3vw, 28px);
  margin-bottom: 12px;
}
.hero h1 {
  max-width: 22ch;
  font-size: clamp(1.75rem, 1.1rem + 2.8vw, 3rem);
}
.hero h1 .accent {
  display: block;
  background: linear-gradient(90deg, var(--cream), var(--star) 45%, var(--fox));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--star);
}
.hero-lead {
  max-width: 600px;
  margin-top: 18px;
  color: var(--text-2);
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.22rem);
}
.hero .cta-row {
  margin-top: 32px;
}
.cta-notes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-3);
  font-size: 0.9rem;
}
.cta-notes li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cta-notes li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--star);
  box-shadow: 0 0 10px rgb(255 216 107 / 0.8);
}

/* --- steps ------------------------------------------------------------------ */

.steps,
.features,
.privacy-list,
.checks {
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  counter-reset: none;
}
.step {
  padding: 28px;
}
.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.step-num {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgb(201 169 255 / 0.45);
}
.step h3,
.feature h3,
.platform h3 {
  font-size: 1.25rem;
}
.step p,
.feature p,
.platform p {
  margin-top: 10px;
  color: var(--text-2);
  font-size: 1rem;
}

/* --- features --------------------------------------------------------------- */

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.feature {
  padding: 26px 24px 28px;
  transition:
    border-color 0.25s ease,
    transform 0.25s ease;
}
.feature:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}
.feature .tile {
  margin-bottom: 20px;
}
.feature h3 {
  font-size: 1.125rem;
}
.feature p {
  font-size: 0.97rem;
}

/* --- privacy ---------------------------------------------------------------- */

.privacy-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(28px, 5vw, 64px);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.privacy-panel::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  left: -140px;
  top: -160px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(124 92 255 / 0.35), transparent);
  pointer-events: none;
}
.privacy-intro {
  position: relative;
}
.privacy-intro .tile {
  margin-bottom: 24px;
}
.privacy-intro .text-link {
  margin-top: 26px;
}
.privacy-list {
  position: relative;
  display: grid;
  gap: 14px;
  align-content: center;
}
.privacy-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px;
  border-radius: var(--radius-sm);
  background: rgb(11 11 30 / 0.35);
  border: 1px solid var(--line);
}
.privacy-list h3 {
  font-size: 1.1rem;
}
.privacy-list p {
  margin-top: 6px;
  color: var(--text-2);
  font-size: 0.98rem;
}

/* --- audience --------------------------------------------------------------- */

.audience {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.audience-card {
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.audience-card::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -120px;
  top: -140px;
  border-radius: 50%;
  pointer-events: none;
}
.audience-card.is-baby::after {
  background: radial-gradient(closest-side, rgb(255 216 107 / 0.16), transparent);
}
.audience-card.is-pet::after {
  background: radial-gradient(closest-side, rgb(255 159 61 / 0.18), transparent);
}
.audience-card.is-baby .tile {
  color: var(--night);
  background: linear-gradient(145deg, #ffe596, var(--star));
  border-color: rgb(255 243 230 / 0.5);
  box-shadow: 0 10px 26px -12px rgb(255 216 107 / 0.7);
}
.audience-card.is-pet .tile {
  color: var(--night);
  background: linear-gradient(145deg, #ffbd73, var(--fox));
  border-color: rgb(255 243 230 / 0.45);
  box-shadow: 0 10px 26px -12px rgb(255 159 61 / 0.7);
}
.audience-card h3 {
  margin-top: 22px;
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem);
}
.checks {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}
.checks li {
  position: relative;
  padding-left: 30px;
  color: var(--text-2);
}
.checks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.45em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgb(124 92 255 / 0.25);
  border: 1px solid rgb(183 155 255 / 0.55);
}
.checks li::after {
  content: "";
  position: absolute;
  left: 7.5px;
  top: calc(0.45em + 4px);
  width: 4px;
  height: 7px;
  border: solid var(--mist);
  border-width: 0 1.75px 1.75px 0;
  transform: rotate(45deg);
}

/* --- platforms -------------------------------------------------------------- */

.platforms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 920px;
  margin: 0 auto;
}
.platform {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(26px, 4vw, 36px);
}
.platform .tile {
  margin-bottom: 20px;
}
.platform p {
  flex: 1;
  margin-bottom: 24px;
}

/* --- FAQ -------------------------------------------------------------------- */

.faq {
  display: grid;
  gap: 12px;
}
.faq-item {
  border-radius: 20px;
  transition: border-color 0.2s ease;
}
.faq-item[open] {
  border-color: var(--line-strong);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 18px 22px 18px 24px;
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
  border-radius: 20px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary:hover .faq-chevron {
  color: var(--mist);
}
.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--lilac);
  transition: transform 0.25s ease;
}
.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}
.faq-item p {
  padding: 0 24px 22px;
  margin-top: -4px;
  color: var(--text-2);
}

/* --- final CTA -------------------------------------------------------------- */

.final-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(36px, 6vw, 72px) clamp(22px, 5vw, 64px);
  border-radius: var(--radius-lg);
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(70% 90% at 50% 0%, rgb(124 92 255 / 0.32), transparent 70%),
    linear-gradient(180deg, rgb(255 255 255 / 0.07), rgb(255 255 255 / 0.02)),
    rgb(26 20 64 / 0.45);
}
.final-mascot {
  width: 150px;
  height: 150px;
  margin-bottom: 12px;
}
.final-cta p {
  max-width: 520px;
  margin-top: 14px;
  color: var(--text-2);
  font-size: 1.1rem;
}
.final-cta .cta-row {
  margin-top: 30px;
}

/* --- footer ----------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 calc(40px + env(safe-area-inset-bottom));
  background: rgb(8 8 22 / 0.6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px 40px;
  align-items: start;
}
.footer-brand p {
  margin-top: 14px;
  color: var(--text-3);
  font-size: 0.95rem;
}
.footer-brand .brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding-top: 8px;
}
.footer-links a {
  color: var(--text-2);
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--text);
  text-decoration: underline;
}
.footer-legal {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid rgb(201 169 255 / 0.1);
  color: var(--text-3);
  font-size: 0.875rem;
}
.footer-legal a {
  color: var(--text-2);
}

/* --- privacy policy page ----------------------------------------------------- */

.legal {
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: var(--section-gap);
}
.legal-head {
  margin-bottom: 36px;
}
.legal-head h1 {
  font-size: clamp(2.1rem, 1.4rem + 3vw, 3.25rem);
}
.legal-updated {
  margin-top: 12px;
  color: var(--text-3);
  font-size: 0.95rem;
}
.legal-body {
  padding: clamp(24px, 5vw, 56px);
  border-radius: var(--radius-lg);
}
.legal-body section + section {
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid rgb(201 169 255 / 0.1);
}
.legal-body h2 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
.legal-body p,
.legal-body li {
  color: var(--text-2);
}
.legal-body p + p,
.legal-body ul + p {
  margin-top: 12px;
}
.legal-body ul {
  margin: 12px 0 0;
  padding-left: 1.2em;
}
.legal-body li + li {
  margin-top: 8px;
}
.legal-body li::marker {
  color: var(--lilac);
}

/* --- 404 -------------------------------------------------------------------- */

.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: clamp(40px, 8vw, 80px);
  padding-bottom: var(--section-gap);
  text-align: center;
}
.nf-mascot {
  width: 220px;
  height: 220px;
  margin-bottom: 16px;
}
.not-found h1 {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem);
}
.not-found .section-lead {
  max-width: 480px;
}
.not-found .btn {
  margin-top: 32px;
}

/* --- responsive -------------------------------------------------------------- */

@media (max-width: 1080px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 860px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
    margin-inline: auto;
  }
  .privacy-panel {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 700px) {
  .audience,
  .platforms {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
    margin-inline: auto;
  }
}
@media (max-width: 600px) {
  :root {
    --radius: 22px;
    --radius-lg: 26px;
  }
  .features {
    grid-template-columns: minmax(0, 1fr);
  }
  .feature {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 18px;
    padding: 22px;
  }
  .feature .tile {
    grid-row: span 2;
    margin-bottom: 0;
  }
  .feature p {
    margin-top: 6px;
  }
  .step {
    padding: 24px;
  }
  .cta-row {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 340px;
  }
  .cta-row .btn,
  .cta-row .store-soon {
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .privacy-list li {
    padding: 18px;
    gap: 14px;
  }
}
@media (max-width: 380px) {
  .header-bar {
    gap: 8px;
    padding-left: 10px;
  }
  .brand-icon {
    width: 32px;
    height: 32px;
  }
  .wm-sm {
    font-size: 1.25rem;
  }
  .btn-sm {
    padding-inline: 14px;
    font-size: 0.875rem;
  }
}

@media (max-width: 359px) {
  .site-header .wm-sm {
    display: none;
  }
}

/* --- preferences -------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .glass,
  .header-bar {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: #1a1640;
  }
}
@media (prefers-contrast: more) {
  :root {
    --text-2: #f1e8ff;
    --text-3: #e2d6fb;
    --line: rgb(201 169 255 / 0.5);
  }
}
@media (forced-colors: active) {
  .wm-woo,
  .hero h1 .accent {
    -webkit-text-fill-color: currentColor;
    background: none;
  }
}
