/* Nook — "Dreamy Candy" for the web. Same tokens as the app (nook-widgets :core:design,
   NookColorTokens): soft colour clouds, frosted glass, plump pressable surfaces. The user's
   widgets are the loudest colour on the page. No script, no request to another origin. */

@font-face {
  font-family: "Nunito";
  src: url(/assets/fonts/nunito.woff2) format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url(/assets/fonts/outfit.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --base: #F8F4FB;
  --peach: #FFD3C2;
  --lilac: #DCD2FF;
  --mint: #C9F1E3;
  --ink: #221D33;
  --muted: #5F5975;
  --glass: rgba(255, 255, 255, .58);
  --float: rgba(255, 255, 255, .82);
  --rim: rgba(255, 255, 255, .9);
  --accent: #6C4BF4;
  --accent-text: #5A3AE0;
  --accent-soft: #E7DEFF;
  --on-ink: #FFFFFF;
  --shade: rgba(34, 29, 51, .06);
  --light: rgba(255, 255, 255, .95);
  --card-shadow: 0 12px 30px rgba(108, 75, 244, .12);
  --float-shadow: 0 10px 30px rgba(108, 75, 244, .16);
  --ink-band: rgba(255, 255, 255, .16);
  --cloud-a: .95;
  --r-s: 16px;
  --r-m: 22px;
  --r-l: 30px;
  --display: "Nunito", ui-rounded, system-ui, sans-serif;
  --body: "Outfit", "Nunito", system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --base: #14111D;
    --peach: #FF8FB5;
    --lilac: #8C6CFF;
    --mint: #3FD6A8;
    --ink: #F4F0FF;
    --muted: #BAB4CF;
    --glass: rgba(255, 255, 255, .07);
    --float: rgba(30, 26, 44, .75);
    --rim: rgba(255, 255, 255, .12);
    --accent: #A58BFF;
    --accent-text: #C2B1FF;
    --accent-soft: rgba(165, 139, 255, .2);
    --on-ink: #14111D;
    --shade: rgba(0, 0, 0, .28);
    --light: rgba(255, 255, 255, .14);
    --card-shadow: 0 12px 30px rgba(0, 0, 0, .35);
    --float-shadow: 0 10px 30px rgba(0, 0, 0, .45);
    --ink-band: rgba(20, 17, 29, .22);
    --cloud-a: .28;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--base);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-thickness: 2.5px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 10px; }
b, strong { font-weight: 600; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0; letter-spacing: -.015em; }
h1 { font-weight: 900; }
h2 { font-weight: 900; font-size: clamp(30px, 4.2vw, 44px); line-height: 1.1; }
h3 { font-weight: 800; font-size: 20px; line-height: 1.3; }
ul { list-style: none; margin: 0; padding: 0; }

/* The three mesh clouds, fixed behind everything. */
.clouds { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.clouds i { position: absolute; border-radius: 50%; opacity: var(--cloud-a); filter: blur(10px); }
.clouds i:nth-child(1) { width: 70vmax; height: 70vmax; left: -22vmax; top: -26vmax; background: radial-gradient(closest-side, var(--peach), transparent); }
.clouds i:nth-child(2) { width: 80vmax; height: 80vmax; right: -30vmax; top: 4vmax; background: radial-gradient(closest-side, var(--lilac), transparent); }
.clouds i:nth-child(3) { width: 70vmax; height: 70vmax; left: 4vmax; bottom: -40vmax; background: radial-gradient(closest-side, var(--mint), transparent); }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* Surfaces: glass cards with a lilac-tinted shadow, a white rim, a light line along the top edge
   and a crisp shade band inside the bottom edge — the app's Modifier.puffy. */
.glass, .glass-float {
  background: var(--glass);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid var(--rim);
}
.glass-float { background: var(--float); box-shadow: var(--float-shadow), inset 0 2px 0 var(--light); }
.card {
  border-radius: var(--r-l);
  box-shadow: var(--card-shadow), inset 0 -5px 0 var(--shade), inset 0 2px 0 var(--light);
}

.skip { position: absolute; left: 16px; top: -60px; z-index: 20; background: var(--ink); color: var(--on-ink); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }

/* ---------------------------------------------------------------- header */
.top { position: sticky; top: 0; z-index: 10; padding: 12px 16px 0; }
.bar {
  max-width: 1128px; margin: 0 auto;
  display: flex; align-items: center; gap: 8px;
  padding: 7px 8px 7px 14px;
  border-radius: 999px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font: 900 22px/1 var(--display); color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.brand img { border-radius: 10px; box-shadow: 0 3px 8px rgba(217, 101, 59, .22); }
.nav { display: flex; gap: 2px; margin-inline-start: auto; }
.nav a {
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px;
  padding: 10px 14px; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center;
  transition: background .2s;
}
.nav a:hover { background: var(--accent-soft); }
.nav a[aria-current] { background: var(--accent-soft); color: var(--accent-text); font-weight: 600; }
.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer; min-width: 48px; min-height: 44px;
  display: grid; place-items: center; border-radius: 999px;
  font: 800 13px/1 var(--display); letter-spacing: .04em;
  background: var(--ink); color: var(--on-ink);
  box-shadow: inset 0 -3px 0 var(--ink-band);
}
.lang summary::-webkit-details-marker { display: none; }
.lang ul { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 160px; padding: 6px; border-radius: var(--r-m); }
.lang a { display: block; padding: 10px 14px; border-radius: 14px; color: var(--ink); text-decoration: none; }
.lang a:hover { background: var(--accent-soft); }
.lang a[aria-current] { font-weight: 600; color: var(--accent-text); }

@media (max-width: 820px) {
  .bar { flex-wrap: wrap; border-radius: 26px; padding: 7px 8px 7px 14px; }
  .lang { margin-inline-start: auto; }
  .nav { order: 3; width: 100%; margin: 2px 0 0; overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; font-size: 14px; padding: 8px 12px; }
}
@media (max-width: 480px) {
  .nav .anchor { display: none; }
}

/* ---------------------------------------------------------------- hero */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 40px; }
.eyebrow {
  display: inline-block; margin: 0 0 18px; padding: 7px 14px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-text);
  font: 700 13px/1.2 var(--display); letter-spacing: .02em;
  box-shadow: inset 0 -2px 0 var(--shade);
}
.hero h1 { font-size: clamp(44px, 7vw, 84px); line-height: .98; letter-spacing: -.035em; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--muted); margin: 22px 0 26px; max-width: 34em; }
.play { display: inline-block; border-radius: 12px; box-shadow: 0 10px 22px rgba(34, 29, 51, .18); transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.play img { height: 60px; width: auto; border-radius: 10px; }
.play:hover { transform: translateY(-2px) scale(1.02); }
.play:active { transform: scale(.96); }
.fine { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; color: var(--muted); font-size: 15px; }
.fine li { display: inline-flex; align-items: center; gap: 6px; }
.ic-s { width: 18px; height: 18px; flex: none; color: var(--accent); stroke-width: 2.4; }

.hero-art { position: relative; min-height: 560px; }
.phone { position: absolute; filter: drop-shadow(0 24px 34px rgba(108, 75, 244, .26)) drop-shadow(0 4px 8px rgba(34, 29, 51, .12)); }
.phone-front { width: min(290px, 50%); inset-inline-start: 6%; top: 8px; transform: rotate(-4deg); z-index: 2; }
.phone-back { width: min(262px, 46%); inset-inline-end: 0; top: 70px; transform: rotate(6deg); }
.pin {
  position: absolute; z-index: 3; inset-inline-start: 2%; bottom: 13%;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 20px 12px 10px; border-radius: 999px;
  background: #221D33; color: #fff; font: 800 17px/1 var(--display); white-space: nowrap;
  box-shadow: 0 16px 30px rgba(34, 29, 51, .3), inset 0 -3px 0 rgba(255, 255, 255, .16);
  transform: rotate(-6deg);
  animation: bob 6s ease-in-out infinite;
}
.pin .plus {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: #DCD2FF; color: #221D33; font: 900 22px/1 var(--display);
  box-shadow: inset 0 -2px 0 rgba(108, 75, 244, .25);
}
@keyframes bob { 50% { transform: rotate(-4deg) translateY(-8px); } }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 36px; gap: 24px; }
  .hero-art { min-height: 0; aspect-ratio: 1 / 1.08; max-width: 520px; width: 100%; margin: 0 auto; }
  .pin { font-size: 15px; bottom: 8%; }
  .pin .plus { width: 28px; height: 28px; }
}

/* ---------------------------------------------------------------- sections */
.section { padding-top: 64px; padding-bottom: 8px; }
.section > h2 { margin-bottom: 12px; }
.sub { color: var(--muted); font-size: 18px; margin: 0 0 28px; max-width: 40em; }
#promises-h { margin-bottom: 28px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid3 .card, .bento .card { padding: 26px 24px 30px; }
.card p { margin: 8px 0 0; color: var(--muted); }
.badge-ic {
  display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px;
  border-radius: 16px; background: var(--accent-soft); color: var(--accent-text);
  box-shadow: inset 0 -3px 0 var(--shade), inset 0 2px 0 var(--light);
}
.ic { width: 26px; height: 26px; }
.grid3 li:nth-child(2) .badge-ic { background: rgba(201, 241, 227, .9); color: #1F6B55; }
.grid3 li:nth-child(3) .badge-ic { background: rgba(255, 211, 194, .9); color: #9A3F1F; }

.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bento .t-photo { grid-row: span 2; background: linear-gradient(165deg, rgba(255, 211, 194, .55), var(--glass) 60%); }
.bento .t-photo h3 { font-size: 26px; }
.bento .t-lock { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: center; }
.bento .t-lock .badge-ic { grid-row: span 2; margin: 0; }
.bento .t-lock p { margin: 2px 0 0; }
.bento .t-countdown { background: linear-gradient(165deg, rgba(220, 210, 255, .6), var(--glass) 60%); }
.bento .t-lock { background: linear-gradient(165deg, rgba(201, 241, 227, .6), var(--glass) 60%); }
@media (prefers-color-scheme: dark) {
  .bento .t-photo { background: linear-gradient(165deg, rgba(255, 143, 181, .16), var(--glass) 60%); }
  .bento .t-countdown { background: linear-gradient(165deg, rgba(140, 108, 255, .2), var(--glass) 60%); }
  .bento .t-lock { background: linear-gradient(165deg, rgba(63, 214, 168, .14), var(--glass) 60%); }
  .grid3 li:nth-child(2) .badge-ic { background: rgba(63, 214, 168, .18); color: #8FE8CB; }
  .pack { box-shadow: var(--card-shadow), inset 0 -5px 0 rgba(0, 0, 0, .12), inset 0 2px 0 rgba(255, 255, 255, .12), 0 0 0 1px rgba(255, 255, 255, .12); }
  .grid3 li:nth-child(3) .badge-ic { background: rgba(255, 143, 181, .18); color: #FFB7CF; }
}

/* Packs: each tile is drawn in its pack's own palette — the colour on this page comes from them. */
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pack {
  position: relative; min-height: 150px; padding: 58px 20px 22px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  background: var(--pb); color: var(--pf);
  border-radius: calc(var(--pr) + 6px);
  box-shadow: var(--card-shadow), inset 0 -5px 0 rgba(0, 0, 0, .07), inset 0 2px 0 rgba(255, 255, 255, .35), 0 0 0 1px rgba(128, 128, 160, .14);
  transition: transform .3s cubic-bezier(.3, 1.6, .5, 1);
}
.pack:hover { transform: translateY(-4px) rotate(-1deg); }
.pack b { font: 900 26px/1.1 var(--display); letter-spacing: -.02em; }
.pack .tagline { font-size: 15px; opacity: .78; }
.pack .dots { position: absolute; top: 20px; inset-inline-start: 20px; display: flex; }
.pack .dots i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--pb); margin-inline-end: -6px; }
.pack .dots i:nth-child(1) { background: var(--pa); }
.pack .dots i:nth-child(2) { background: var(--pf); }
.pack .dots i:nth-child(3) { background: var(--pb); box-shadow: inset 0 0 0 1.5px var(--pf); }
.pack .free {
  position: absolute; top: 18px; inset-inline-end: 18px;
  padding: 4px 10px; border-radius: 999px; font: 800 12px/1.3 var(--display);
  background: var(--pa); color: var(--pb); letter-spacing: .02em;
}

/* Screens: a row that scrolls sideways on small screens and fits on large ones. */
.shots {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 20px max(20px, calc((100vw - 1120px) / 2)) 28px;
  scrollbar-width: none;
}
.shots::-webkit-scrollbar { display: none; }
.shots li { scroll-snap-align: center; }
.shot { margin: 0; padding: 8px 8px 14px; border-radius: 28px; box-shadow: var(--card-shadow), inset 0 -5px 0 var(--shade), inset 0 2px 0 var(--light); }
.shot img { border-radius: 21px; }
.shot figcaption { font: 800 16px/1.3 var(--display); padding: 12px 8px 0; }
@media (max-width: 1100px) { .shots { grid-auto-columns: 240px; } }

/* Free and Premium. */
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.tier { padding: 30px 28px 32px; }
.tier h3 { font-size: 28px; font-weight: 900; }
.tier .price { margin: 4px 0 20px; color: var(--muted); font-size: 15px; }
.tier li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; }
.tier li .ic-s { margin-top: 4px; }
.tier-pro {
  background: linear-gradient(150deg, #7B5CFF 0%, #6C4BF4 45%, #5A3AE0 100%);
  color: #fff; border: 1px solid rgba(255, 255, 255, .35);
  box-shadow: 0 16px 36px rgba(108, 75, 244, .35), inset 0 -5px 0 rgba(0, 0, 0, .14), inset 0 2px 0 rgba(255, 255, 255, .35);
  position: relative; overflow: hidden;
}
.tier-pro::before {
  content: ""; position: absolute; width: 320px; height: 320px; inset-inline-end: -120px; top: -140px;
  background: radial-gradient(closest-side, rgba(255, 211, 194, .55), transparent); pointer-events: none;
}
.tier-pro h3, .tier-pro .price { color: #fff; position: relative; }
.tier-pro .price { color: rgba(255, 255, 255, .84); }
.tier-pro .ic-s { color: #C9F1E3; }
.note { color: var(--muted); font-size: 15px; margin: 18px 4px 0; max-width: 52em; }

/* Built properly. */
.honest { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 28px; margin-top: 26px; }
.honest li { display: flex; gap: 12px; align-items: flex-start; }
.honest .ic-s { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: rgba(201, 241, 227, .95); color: #1F6B55; flex: none; margin-top: 1px; }
.honest b { display: block; font: 800 18px/1.3 var(--display); }
.honest span { color: var(--muted); font-size: 16px; }
@media (prefers-color-scheme: dark) { .honest .ic-s { background: rgba(63, 214, 168, .2); color: #8FE8CB; } }

.cta {
  text-align: center; padding: 48px 24px 44px; margin-top: 16px; margin-bottom: 8px;
  background:
    radial-gradient(60% 90% at 0% 0%, rgba(255, 211, 194, .8), transparent 70%),
    radial-gradient(60% 90% at 100% 20%, rgba(220, 210, 255, .9), transparent 70%),
    radial-gradient(70% 90% at 50% 120%, rgba(201, 241, 227, .9), transparent 70%),
    var(--float);
  border: 1px solid var(--rim);
}
@media (prefers-color-scheme: dark) {
  .cta { background: radial-gradient(60% 90% at 0% 0%, rgba(255, 143, 181, .22), transparent 70%), radial-gradient(60% 90% at 100% 20%, rgba(140, 108, 255, .3), transparent 70%), radial-gradient(70% 90% at 50% 120%, rgba(63, 214, 168, .18), transparent 70%), var(--float); }
}
.cta img { margin: 0 auto 18px; border-radius: 22px; box-shadow: 0 10px 24px rgba(217, 101, 59, .25); }
.cta h2 { font-size: clamp(32px, 5vw, 52px); }
.cta p { color: var(--muted); margin: 10px auto 22px; font-size: 18px; }

@media (max-width: 900px) {
  .grid3, .bento, .honest { grid-template-columns: 1fr; }
  .bento .t-photo { grid-row: auto; }
  .packs { grid-template-columns: 1fr 1fr; }
  .packs li:first-child { grid-column: 1 / -1; }
  .tiers { grid-template-columns: 1fr; }
}
@media (min-width: 560px) and (max-width: 900px) {
  .bento, .honest { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 440px) {
  .packs { gap: 12px; }
  .pack { min-height: 132px; padding: 50px 16px 16px; }
  .pack .dots { top: 16px; inset-inline-start: 16px; }
  .pack .free { top: 14px; inset-inline-end: 14px; }
  .pack b { font-size: 21px; }
  .pack .tagline { font-size: 14px; }
}

/* ---------------------------------------------------------------- footer */
.foot { padding-top: 56px; padding-bottom: 28px; }
.foot-in { border-radius: var(--r-l); padding: 24px 26px; display: grid; gap: 10px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 6px; margin: 4px -12px 0; }
.foot nav a { color: var(--ink); text-decoration: none; padding: 10px 12px; border-radius: 999px; font-weight: 500; }
.foot nav a:hover { background: var(--accent-soft); }
.foot p { margin: 0; color: var(--muted); font-size: 14px; }
.foot .tm { font-size: 13px; }

/* ---------------------------------------------------------------- legal + support */
.page { padding-top: 40px; }
.doc { max-width: 820px; margin: 0 auto; padding: clamp(26px, 5vw, 56px); border-radius: var(--r-l); box-shadow: var(--card-shadow), inset 0 -5px 0 var(--shade), inset 0 2px 0 var(--light); }
.doc h1 { font-size: clamp(26px, 3.6vw, 36px); line-height: 1.12; letter-spacing: .005em; }
.doc .meta { color: var(--muted); font-size: 15px; margin: 12px 0 28px; padding-bottom: 22px; border-bottom: 1px solid var(--rim); }
.doc h2 { font-size: 20px; font-weight: 900; margin: 34px 0 8px; letter-spacing: .01em; }
.doc p, .doc li { font-size: 17px; line-height: 1.7; }
.doc p { margin: 10px 0; }
.doc ul { margin: 12px 0; display: grid; gap: 8px; }
.doc li { position: relative; padding-inline-start: 22px; }
.doc li::before { content: ""; position: absolute; inset-inline-start: 4px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.doc a { overflow-wrap: anywhere; }

.support-head { max-width: 820px; margin: 0 auto; }
.support-head h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1; }
.support-head .lede { margin-bottom: 22px; }
.contact { display: flex; gap: 16px; align-items: center; padding: 20px 22px; }
.contact .badge-ic { margin: 0; flex: none; }
.contact a { font: 800 clamp(18px, 3vw, 22px)/1.3 var(--display); overflow-wrap: anywhere; }
.contact p { margin: 4px 0 0; font-size: 15px; }
.faq { max-width: 820px; margin: 30px auto 0; display: grid; gap: 12px; }
.faq details { border-radius: var(--r-m); box-shadow: var(--card-shadow), inset 0 -4px 0 var(--shade), inset 0 2px 0 var(--light); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; position: relative;
  font: 800 18px/1.35 var(--display); min-height: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; inset-inline-end: 20px; top: 50%; width: 24px; height: 24px; margin-top: -12px;
  border-radius: 50%; background: var(--accent-soft);
  background-image: linear-gradient(var(--accent-text), var(--accent-text)), linear-gradient(var(--accent-text), var(--accent-text));
  background-size: 10px 2px, 2px 10px; background-position: center; background-repeat: no-repeat;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
[dir="rtl"] .faq summary { padding: 18px 22px 18px 56px; }
.faq details > div { padding: 0 22px 18px; color: var(--muted); }
.faq details > div p { margin: 0; }
.faq b { color: var(--ink); font-weight: 600; }

.lost { display: grid; gap: 18px; max-width: 640px; }
.lost section { padding: 28px; }
.lost h1 { font-size: 32px; line-height: 1.12; }
.lost p { color: var(--muted); }
.lost ul { display: flex; flex-wrap: wrap; gap: 8px; }
.lost a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--accent-soft); text-decoration: none; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .glass, .glass-float { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--float); }
}
