/* folkie landing page. Brand: assets/brand (Sky & butter), Unbounded + Syne.
   Fonts are Latin + Polish subsets (woff2) of folkie/assets/fonts; Syne keeps its remapped lining digits. */
@font-face { font-family: Unbounded; src: url(fonts/Unbounded-900.woff2) format('woff2'); font-weight: 900; font-display: swap; }
@font-face { font-family: Unbounded; src: url(fonts/Unbounded-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: Syne; src: url(fonts/Syne-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: Syne; src: url(fonts/Syne-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --sky: #7CC4FF;
  --sky-soft: #A9D8FF;
  --ocean: #5AA8FF;
  --butter: #FFF6B8;
  --peach: #FFD49A;
  --navy: #13305C;
  --pink: #FF4F8B;
  --cloud: #F3F8FF;
  --night: #0B1E3D;

  --bg: var(--cloud);
  --bg-2: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #EAF4FF;
  --text: var(--navy);
  --muted: #4A6283;
  --border: rgba(19, 48, 92, 0.1);
  --shadow: 0 1px 2px rgba(19, 48, 92, .06), 0 12px 32px -12px rgba(19, 48, 92, .22);
  --shadow-lg: 0 30px 80px -24px rgba(19, 48, 92, .45);
  --aurora-1: #A9D8FF;
  --aurora-2: #FFE9A8;
  --aurora-3: #FFC2D8;
  --hl: var(--butter);
  --hl-text: var(--navy);
  --chip: rgba(255, 255, 255, .7);

  --display: Unbounded, 'Arial Black', system-ui, sans-serif;
  --body: Syne, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 28px;
  --wrap: 1200px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
    --bg: var(--night);
    --bg-2: #0E2448;
    --surface: #0F2547;
    --surface-2: #143057;
    --text: #F3F8FF;
    --muted: #A8BDD9;
    --border: rgba(169, 216, 255, 0.14);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .6);
    --shadow-lg: 0 40px 90px -24px rgba(0, 0, 0, .75);
    --aurora-1: #173E73;
    --aurora-2: #2A3A6E;
    --aurora-3: #5A2652;
    --hl: #FFF6B8;
    --hl-text: var(--navy);
    --chip: rgba(15, 37, 71, .7);
    --wm: var(--butter);
    color-scheme: dark;
  } }
:root[data-theme="dark"] {
    --bg: var(--night);
    --bg-2: #0E2448;
    --surface: #0F2547;
    --surface-2: #143057;
    --text: #F3F8FF;
    --muted: #A8BDD9;
    --border: rgba(169, 216, 255, 0.14);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .6);
    --shadow-lg: 0 40px 90px -24px rgba(0, 0, 0, .75);
    --aurora-1: #173E73;
    --aurora-2: #2A3A6E;
    --aurora-3: #5A2652;
    --hl: #FFF6B8;
    --hl-text: var(--navy);
    --chip: rgba(15, 37, 71, .7);
    --wm: var(--butter);
    color-scheme: dark;
  }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 500 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 900; margin: 0; letter-spacing: -0.01em; line-height: 1.08; }
p { margin: 0; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: var(--butter); padding: 10px 16px; border-radius: 12px; }
.skip:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 8px; }

/* Buttons and chips */
.btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 24px;
  border-radius: 999px; font: 700 16px/1 var(--display); text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn--navy { background: var(--navy); color: var(--butter); box-shadow: 0 6px 18px -6px rgba(19, 48, 92, .55); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn--navy { background: var(--butter); color: var(--navy); box-shadow: none; } }
:root[data-theme="dark"] .btn--navy { background: var(--butter); color: var(--navy); box-shadow: none; }
.btn:hover { transform: translateY(-2px); }

.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px;
  font: 700 14px/1.2 var(--body); background: var(--chip); border: 1px solid var(--border);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot--pink { background: var(--pink); box-shadow: 0 0 0 0 rgba(255, 79, 139, .6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 79, 139, .55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(255, 79, 139, 0); } }

.eyebrow { font: 700 14px/1 var(--body); text-transform: uppercase; letter-spacing: .14em; color: var(--pink); margin-bottom: 18px; }
.eyebrow--butter { color: var(--butter); }
.h2 { font-size: clamp(28px, 4vw, 46px); }
.hl { background: var(--hl); color: var(--hl-text); padding: 0 .18em; border-radius: .22em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hl--pink { background: var(--pink); color: #fff; }
.hl--butter { background: var(--butter); color: var(--navy); }

.emoji-badge {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px;
  background: var(--badge, var(--surface-2)); font-size: 26px; line-height: 1; margin-bottom: 18px;
  box-shadow: inset 0 0 0 1px rgba(19, 48, 92, .06);
}
.emoji-badge--lg { width: 64px; height: 64px; font-size: 32px; border-radius: 20px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .emoji-badge { filter: saturate(1.05); } }
:root[data-theme="dark"] .emoji-badge { filter: saturate(1.05); }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s, backdrop-filter .3s; padding-top: env(safe-area-inset-top); }
.nav.is-scrolled { background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--border); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.nav__logo img { height: 36px; width: auto; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { white-space: nowrap; text-decoration: none; font-weight: 700; font-size: 15px; padding: 10px 14px; border-radius: 999px; transition: background .2s; }
.nav__links a:hover { background: var(--surface-2); }
.nav__lang {
  display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px;
  font: 700 14px/1 var(--display); text-decoration: none; border: 1.5px solid var(--border); background: var(--chip);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: background .2s;
}
.nav__lang:hover, .nav__icon:hover { background: var(--surface-2); }
.nav__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid var(--border); background: var(--chip); cursor: pointer; color: inherit; padding: 0; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav__icon svg { width: 22px; height: 22px; }
.nav__icon .i-moon { display: none; }
.is-dark .nav__icon .i-sun { display: none; }
.is-dark .nav__icon .i-moon { display: block; }
.nav__signin { font: 700 15px/1 var(--display); text-decoration: none; padding: 0 6px; white-space: nowrap; }
.nav__signin:hover { color: var(--pink); }
@media (max-width: 560px) { .nav__signin { display: none; } .nav__inner { gap: 10px; } .nav__logo img { height: 30px; } }
@media (max-width: 1240px) { .nav__links { display: none; } .nav__signin { margin-left: auto; } }
@media (max-width: 560px) { .nav__icon { margin-left: auto; } }

/* Aurora background */
/* Below the drifting activity bubbles (z-index -1), which float over the glow but under the content. */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -2; }
/* The glows fade into the page instead of stopping at the section edge. */
.aurora { mask-image: linear-gradient(#000 55%, transparent); -webkit-mask-image: linear-gradient(#000 55%, transparent); }
.aurora--cta { mask-image: linear-gradient(transparent, #000 45%); -webkit-mask-image: linear-gradient(transparent, #000 45%); }
.aurora::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--aurora-1) 0%, color-mix(in srgb, var(--aurora-1) 40%, var(--bg)) 55%, var(--bg) 100%);
}
.aurora i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .85; animation: drift 18s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 46vw; height: 46vw; left: -10vw; top: -14vw; background: var(--sky); opacity: .55; }
.aurora i:nth-child(2) { width: 34vw; height: 34vw; right: -6vw; top: 6vw; background: var(--aurora-2); animation-duration: 22s; }
.aurora i:nth-child(3) { width: 28vw; height: 28vw; left: 38vw; top: 24vw; background: var(--aurora-3); opacity: .55; animation-duration: 26s; }
@keyframes drift { to { transform: translate3d(4vw, 3vw, 0) scale(1.12); } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .aurora i:nth-child(1) { background: #1F5AA8; } }
:root[data-theme="dark"] .aurora i:nth-child(1) { background: #1F5AA8; }

/* Hero */
.hero { position: relative; padding: calc(120px + env(safe-area-inset-top)) 0 64px; min-height: min(100svh, 980px); display: flex; align-items: center; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero__title { font-size: clamp(38px, 5.6vw, 72px); margin: 22px 0 24px; line-height: 1.02; }
.rotator { display: grid; color: var(--pink); font-size: var(--fit, min(1em, 9.6vw)); }
.hero__copy { min-width: 0; }
.hero { overflow-x: clip; }
.rotator__word { grid-area: 1 / 1; opacity: 0; transform: translateY(.45em) rotate(2deg); transition: opacity .45s ease, transform .55s cubic-bezier(.2, .9, .3, 1.3); white-space: nowrap; }
.rotator__word.is-on { opacity: 1; transform: none; }
.rotator__word.is-out { opacity: 0; transform: translateY(-.45em) rotate(-2deg); }
.hero__lead { font-size: clamp(17px, 1.5vw, 19px); max-width: 33ch; color: var(--muted); }
.hero__note { margin-top: 18px; font-size: 15px; color: var(--muted); }
.hero__note a { font-weight: 700; color: var(--text); text-underline-offset: 3px; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.stores--center { justify-content: center; }
.store {
  display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 22px 8px 18px;
  border-radius: 16px; background: #000; color: #fff; text-decoration: none;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .18);
  transition: transform .2s ease, box-shadow .2s ease;
}
.store:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .3); }
.store svg { width: 28px; height: 28px; flex: none; }
.store--web { background: var(--surface); color: var(--text); box-shadow: var(--shadow), inset 0 0 0 1.5px var(--border); }
.store--web:hover { box-shadow: var(--shadow), inset 0 0 0 1.5px var(--sky); }
.store span { display: flex; flex-direction: column; font: 700 20px/1.05 var(--body); letter-spacing: -.01em; }
.store small { font: 500 12px/1.2 var(--body); opacity: .85; letter-spacing: .02em; }

/* Phone mockup */
.phone {
  /* The bezel is a fixed width, and the screen takes the screenshot's own proportions, so nothing is cropped or padded. */
  position: relative; border-radius: 15% / 7%;
  padding: 9px; background: linear-gradient(145deg, #2A3D5E, #0B1426 55%, #24365A);
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, .14);
}
.phone::after { /* dynamic island */
  content: ""; position: absolute; top: 3.9%; left: 50%; width: 28%; height: 3.4%;
  transform: translateX(-50%); background: #05080F; border-radius: 999px; z-index: 2;
}
.phone__screen { position: relative; aspect-ratio: 390 / 887; border-radius: 12% / 5.6%; overflow: hidden; background: #B7CEF3; padding-top: 11%; container-type: inline-size; transition: background-color .5s ease; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .phone__screen { background: #08152E; } :root:not([data-theme="light"])  :root:not([data-theme="light"])  }
:root[data-theme="dark"] .phone__screen { background: #08152E; }
:root[data-theme="dark"] 
:root[data-theme="dark"] 
.phone__screen picture, .phone__screen > img { display: block; }
.phone__screen img { width: 100%; height: auto; }

.hero__stage { position: relative; height: min(76vh, 720px); min-height: 560px; display: grid; place-items: center; }
.phone--hero { position: absolute; width: min(300px, 46%); transition: transform .2s ease-out; }
/* Centred by the grid, not by a translate: a half-pixel offset blurs the screenshot. */
.phone--front { position: relative; z-index: 3; }
.phone--back-l { left: 4%; top: 52%; translate: 0 -50%; rotate: -9deg; z-index: 1; width: min(250px, 38%); filter: saturate(.95); }
.phone--back-r { right: 2%; top: 46%; translate: 0 -50%; rotate: 8deg; z-index: 2; width: min(250px, 38%); }
.hero__stage .phone { animation: rise 1.1s cubic-bezier(.2, .8, .2, 1) both; }
.phone--back-l { animation-delay: .15s !important; }
.phone--back-r { animation-delay: .3s !important; }
@keyframes rise { from { opacity: 0; translate: var(--from, 0) 30%; } }
.phone--front { --from: 0; }
.phone--back-l, .phone--back-r { --from: 0; }

.hero__mark { position: absolute; width: 132px; right: 6%; top: -2%; z-index: 5; filter: drop-shadow(0 18px 24px rgba(19, 48, 92, .3)); }
.ring { transform-origin: 30% 90%; animation: ring 3.6s ease-in-out infinite; }
@keyframes ring {
  0%, 62%, 100% { rotate: 0deg; translate: 0 0; }
  66% { rotate: -9deg; translate: 0 -6px; }
  71% { rotate: 7deg; }
  76% { rotate: -5deg; }
  81% { rotate: 3deg; translate: 0 0; }
  86% { rotate: 0deg; }
}

.float {
  position: absolute; z-index: 6; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 20px; background: var(--surface); color: var(--text);
  box-shadow: var(--shadow); border: 1px solid var(--border); font-size: 15px; line-height: 1.25;
  animation: bob 6s ease-in-out infinite;
}
.float b { display: block; font-family: var(--display); font-weight: 700; font-size: 14px; }
.float small { display: block; color: var(--muted); font-size: 13px; }
.float__emoji { font-size: 26px; width: 44px; height: 44px; display: grid; place-items: center; background: var(--butter); border-radius: 14px; }
.float--a { left: -8%; top: 36%; }
/* Kept away from the pink "Group chat" button on the screenshot, with a ring so it reads as its own card. */
.float--b { right: -4%; top: 50%; background: var(--pink); color: #fff; border: 0; font-size: 18px; animation-delay: -2s; box-shadow: 0 0 0 4px var(--surface), var(--shadow); }
.float--b b { display: inline; font-size: 16px; }
.float--c { left: 2%; bottom: 6%; animation-delay: -4s; }
@keyframes bob { 50% { translate: 0 -10px; } }
.faces { display: flex; }
.faces i {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; margin-left: -8px;
  background: var(--c); color: var(--navy); font: 900 12px/1 var(--display); font-style: normal;
  border: 2px solid var(--surface);
}
.faces i:first-child { margin-left: 0; }

@media (max-width: 900px) {
  .hero { min-height: 0; padding-top: calc(104px + env(safe-area-inset-top)); }
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__copy { display: flex; flex-direction: column; align-items: center; }
  .hero__lead { margin-inline: auto; }
  .stores { justify-content: center; }
  .hero__stage { height: 560px; min-height: 0; margin-top: 8px; }
  .phone--front { width: 250px; }
  .phone--back-l, .phone--back-r { width: 200px; }
  .hero__mark { width: 96px; right: 4%; }
}
@media (max-width: 520px) {
  .hero__stage { height: 480px; }
  .phone--front { width: 220px; }
  .phone--back-l, .phone--back-r { width: 168px; }
  .phone--back-l { left: -6%; }
  .phone--back-r { right: -6%; }
  .float { font-size: 13px; padding: 10px 12px; }
  .float--a { left: 0; top: 4%; }
  .float--b { right: 0; top: 46%; font-size: 15px; }
  .float--c { display: none; }
  .hero__mark { width: 80px; top: -4%; right: 2%; }
  .stores { gap: 10px; }
  .store { min-height: 54px; padding: 8px 14px 8px 12px; gap: 9px; }
  .store svg { width: 24px; height: 24px; }
  .store span { font-size: 16.5px; }
  .store small { font-size: 11px; }
}

/* Activities: "in?" bubbles drifting up behind the whole page, like the welcome screen in the app */
.drift { display: none; }
.js .drift { display: block; position: fixed; inset: 0; z-index: -1; margin: 0; padding: 0; list-style: none; pointer-events: none; overflow: hidden; }
.drift li { position: absolute; bottom: -64px; opacity: 0; }
/* The bubble itself sits one level in, so it can fade out behind text without touching the rise animation. */
.drift__in {
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; padding: 5px 16px 5px 5px; border-radius: 22px 22px 22px 6px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); font: 700 15px/1.2 var(--body);
  transition: opacity .35s ease;
}
.drift li.is-masked .drift__in { opacity: 0; }
.drift__in i { font-style: normal; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; background: var(--tone, #CDE8FF); }
@media (max-width: 600px) {
  .drift__in { font-size: 13px; gap: 7px; padding-right: 12px; }
  .drift__in i { width: 28px; height: 28px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .js .drift { display: none; } }

/* Why */
.why { padding: 120px 0 40px; text-align: center; }
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; text-align: left; }
.why__card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 32px; box-shadow: var(--shadow); }
.why__card h3 { font-size: 20px; margin-bottom: 10px; }
.why__card p { color: var(--muted); }
@media (max-width: 820px) { .why__grid { grid-template-columns: 1fr; } .why { padding-top: 88px; } }

/* How it works */
.how { padding: 120px 0 80px; }
.how .h2 { max-width: 22ch; }
.how__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 40px; }
.how__steps { list-style: none; margin: 0; padding: 0; }
.how__step { display: flex; gap: 24px; min-height: 70vh; align-items: center; opacity: .35; transition: opacity .5s ease; }
.how__step.is-active { opacity: 1; }
.how__step h3 { font-size: clamp(22px, 2.3vw, 30px); margin-bottom: 14px; }
.how__step p { font-size: 17px; color: var(--muted); max-width: 30ch; }
.how__num {
  flex: none; width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center;
  font: 900 26px/1 var(--display); background: var(--surface-2); color: var(--text); transition: background .4s, color .4s, transform .4s;
}
.how__step:nth-child(1).is-active .how__num { background: var(--sky); color: var(--navy); }
.how__step:nth-child(2).is-active .how__num { background: var(--butter); color: var(--navy); }
.how__step:nth-child(3).is-active .how__num { background: var(--pink); color: #fff; }
.how__step:nth-child(4).is-active .how__num { background: #5FD39A; color: var(--navy); }
.how__step.is-active .how__num { transform: rotate(-6deg) scale(1.05); }
.how__inline-phone { display: none; }
.how__sticky { position: sticky; top: 12vh; height: 76vh; display: grid; place-items: center; }
.how__glow { position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--sky) 0%, transparent 65%); opacity: .6; filter: blur(30px); transition: background .6s; }
.how__sticky[data-step="1"] .how__glow { background: radial-gradient(circle, var(--peach) 0%, transparent 65%); }
.how__sticky[data-step="2"] .how__glow { background: radial-gradient(circle, var(--pink) 0%, transparent 65%); opacity: .45; }
.how__sticky[data-step="3"] .how__glow { background: radial-gradient(circle, #5FD39A 0%, transparent 65%); opacity: .5; }
.phone--how { width: min(340px, 80%); }
.how__shot { position: absolute; inset: 11cqw 0 0 0; opacity: 0; transform: scale(1.04); transition: opacity .5s ease, transform .6s ease; }
.how__shot.is-on { opacity: 1; transform: none; }
.how__shot img { width: 100%; height: auto; }
@media (max-width: 860px) {
  .how { padding-top: 88px; }
  .how__grid { grid-template-columns: 1fr; gap: 0; }
  .how__sticky { display: none; }
  .how__step { min-height: 0; opacity: 1; padding: 36px 0; align-items: flex-start; }
  .how__step .how__num { width: 52px; height: 52px; font-size: 22px; border-radius: 16px; }
  .how__inline-phone { display: block; width: min(260px, 78%); margin-top: 28px; border-radius: 34px; overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid #10203A; aspect-ratio: 390/844; }
  .how__inline-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
}

/* Two ways */
.ways { padding: 80px 0 40px; }
.ways .h2 { max-width: 18ch; }
.ways__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.way { position: relative; overflow: hidden; border-radius: 36px; padding: 40px 40px 0; display: flex; flex-direction: column; min-height: 640px; color: var(--navy); }
.way--sky { background: linear-gradient(160deg, var(--sky), var(--ocean)); }
.way--butter { background: linear-gradient(160deg, var(--butter), var(--peach)); }
.way h3 { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 12px; }
.way p { font-size: 17px; max-width: 30ch; }
.way__phone { margin-top: auto; padding-top: 32px; display: flex; justify-content: center; }
.phone--mini { width: min(340px, 84%); margin-bottom: -34%; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.way:hover .phone--mini { transform: translateY(-14px) rotate(-2deg); }
.tonight {
  margin-top: 20px; display: flex; align-items: center; gap: 28px; padding: 32px 40px; border-radius: 36px;
  background: var(--navy); color: var(--butter);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tonight { background: var(--surface); border: 1px solid var(--border); } }
:root[data-theme="dark"] .tonight { background: var(--surface); border: 1px solid var(--border); }
.tonight h3 { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 8px; }
.tonight p { color: #DCE9FF; font-size: 17px; }
.tonight__bubble {
  position: relative; flex: none; display: grid; place-items: center; width: 110px; height: 72px; border-radius: 36px;
  background: var(--butter); color: var(--navy); font: 900 32px/1 var(--display);
}
.tonight__bubble::before { content: ""; position: absolute; left: 18px; bottom: -14px; border: 10px solid transparent; border-top: 18px solid var(--butter); border-left-width: 6px; rotate: 18deg; }
.tonight__bubble span { position: absolute; top: -6px; right: -4px; width: 22px; height: 22px; border-radius: 50%; background: var(--pink); border: 4px solid var(--navy); animation: ping 2s infinite; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tonight__bubble span { border-color: var(--surface); } }
:root[data-theme="dark"] .tonight__bubble span { border-color: var(--surface); }
@media (max-width: 820px) {
  .ways__grid { grid-template-columns: 1fr; }
  .way { min-height: 0; padding: 32px 28px 0; }
  .phone--mini { width: min(300px, 84%); }
  .tonight { flex-direction: column; align-items: flex-start; padding: 32px 28px; }
}

/* Features bento */
.features { padding: 100px 0; }
.features .h2 { max-width: 20ch; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(220px, auto); gap: 20px; margin-top: 56px; }
.tile {
  position: relative; overflow: hidden; border-radius: var(--r); padding: 28px; background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--shadow); transition: transform .35s ease, box-shadow .35s ease;
}
.tile:hover { transform: translateY(-4px); }
.tile h3 { font-size: 18px; margin-bottom: 8px; }
.tile p { color: var(--muted); font-size: 16px; }
.tile--tall { grid-row: span 2; display: flex; flex-direction: column; }
.tile--wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-bottom: 0; }
.tile--sky { background: linear-gradient(170deg, var(--sky), var(--ocean)); color: var(--navy); border: 0; }
.tile--butter { background: linear-gradient(170deg, var(--butter), var(--peach)); color: var(--navy); border: 0; }
.tile--navy { background: linear-gradient(160deg, var(--navy), #1D4A86); color: var(--butter); border: 0; }
.tile--sky p, .tile--butter p { color: #23436F; }
.tile--navy p { color: #DCE9FF; }
.tile__shot { margin: 24px -6px -120px; display: flex; justify-content: center; }
.tile__shot picture, .tile__shot > img { width: 82%; border-radius: 30px 30px 0 0; overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid #10203A; border-bottom: 0; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.tile:hover .tile__shot picture { transform: translateY(-10px); }
.tile__shot img { width: 100%; }
.tile__shot--side { margin: 0 0 0; align-items: flex-end; }
.tile__shot--side picture { width: 92%; max-height: 300px; }
.tile--wide .tile__text { padding-bottom: 28px; }
@media (max-width: 1020px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--wide { grid-column: span 2; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 14px; }
  .tile--wide { grid-column: auto; grid-template-columns: 1fr; }
  .tile--tall { grid-row: auto; }
  .tile__shot { margin-bottom: -40%; }
  .tile__shot picture { width: 72%; }
  .tile__shot--side { margin: 0; }
  .tile__shot--side picture { width: 72%; max-height: 260px; }
}

/* Safety */
.safety { background: var(--night); color: #F3F8FF; padding: 120px 0; position: relative; overflow: hidden; border-radius: 48px; margin: 0 12px; }
.safety::before { content: ""; position: absolute; width: 60vw; height: 60vw; right: -20vw; top: -20vw; border-radius: 50%; background: radial-gradient(circle, rgba(124, 196, 255, .28), transparent 60%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .safety { background: #081731; border: 1px solid var(--border); } }
:root[data-theme="dark"] .safety { background: #081731; border: 1px solid var(--border); }
.safety__grid { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; }
.safety__lead { color: #B8CCE8; font-size: 17px; margin-top: 20px; max-width: 32ch; }
.safety__phone { margin-top: 44px; }
.safety__phone .phone--mini { margin: 0; width: min(340px, 86%); }
.safety__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: center; }
.safety__list li { background: rgba(255, 255, 255, .05); border: 1px solid rgba(169, 216, 255, .14); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.safety__list h3 { font-size: 17px; margin-bottom: 6px; color: var(--butter); }
.safety__list p { color: #B8CCE8; font-size: 15.5px; }
.sicon { width: 40px; height: 40px; }
@media (max-width: 900px) {
  .safety { padding: 88px 0; border-radius: 32px; margin: 0 8px; }
  .safety__grid { grid-template-columns: 1fr; gap: 40px; }
  .safety__phone { display: none; }
}
@media (max-width: 560px) { .safety__list { grid-template-columns: 1fr; } }

/* Venues */
.venues { padding: 120px 0 60px; }
.venues__card {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: 56px; border-radius: 40px;
  background: linear-gradient(135deg, var(--butter), var(--peach)); color: var(--navy); position: relative; overflow: hidden;
}
.venues__card::after { content: "in?"; position: absolute; right: -20px; bottom: -70px; font: 900 220px/1 var(--display); color: rgba(19, 48, 92, .06); pointer-events: none; }
.venues__card .h2 { font-size: clamp(26px, 3.2vw, 40px); margin-bottom: 18px; }
.venues__card p { font-size: 17px; max-width: 42ch; margin-bottom: 28px; color: #23436F; }
.venues__card .eyebrow { color: #C21F5B; }
.venues__card .btn--navy { background: var(--navy); color: var(--butter); }
.venues__types { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; position: relative; z-index: 1; }
.venues__types li { padding: 12px 18px; background: rgba(255, 255, 255, .75); border-radius: 999px; font-weight: 700; font-size: 16px; }
@media (max-width: 860px) { .venues__card { grid-template-columns: 1fr; padding: 36px 28px; } }

/* FAQ */
.faq { padding: 80px 0 120px; max-width: 880px; }
.faq__list { margin-top: 40px; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 64px 22px 26px; position: relative;
  font: 700 16px/1.35 var(--display); min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; translate: 0 -50%; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: var(--butter); color: var(--navy); font: 900 20px/1 var(--display); transition: rotate .3s ease, background .3s;
}
.faq details[open] summary::after { rotate: 45deg; background: var(--pink); color: #fff; }
.faq details p { padding: 0 26px 24px; color: var(--muted); }

/* Final CTA */
.cta { position: relative; overflow: hidden; padding: 120px 0 140px; text-align: center; }
.aurora--cta::before { background: linear-gradient(0deg, var(--aurora-1) 0%, color-mix(in srgb, var(--aurora-1) 40%, var(--bg)) 55%, var(--bg) 100%); }
.aurora--cta i:nth-child(1) { top: auto; bottom: -20vw; }
.aurora--cta i:nth-child(2) { top: auto; bottom: -8vw; }
.aurora--cta i:nth-child(3) { top: auto; bottom: -6vw; }
.cta__inner { display: flex; flex-direction: column; align-items: center; }
.cta__mark { width: 160px; margin-bottom: 28px; filter: drop-shadow(0 20px 30px rgba(19, 48, 92, .3)); }
.cta__title { font-size: clamp(38px, 8vw, 110px); line-height: .95; }
.cta__lead { margin-top: 20px; font-size: 18px; color: var(--muted); max-width: 34ch; }

/* Footer */
.footer { padding: 56px 0 40px; border-top: 1px solid var(--border); font-size: 15px; }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__brand img { height: 30px; width: auto; margin-bottom: 12px; }
.footer__brand p { color: var(--muted); }
.footer__links { display: flex; gap: 56px; flex-wrap: wrap; }
.footer__links h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-family: var(--body); font-weight: 700; margin-bottom: 12px; }
.footer__links a { display: block; text-decoration: none; padding: 6px 0; font-weight: 700; }
.footer__links a:hover { color: var(--pink); }
.footer__bottom { margin-top: 40px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 12.5px; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 90; translate: -50% 0;
  background: var(--navy); color: var(--butter); padding: 14px 22px; border-radius: 999px; font-weight: 700;
  box-shadow: var(--shadow-lg); max-width: calc(100% - 32px); text-align: center;
  animation: toast .35s cubic-bezier(.2, .9, .3, 1.3);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .toast { background: var(--butter); color: var(--navy); } }
:root[data-theme="dark"] .toast { background: var(--butter); color: var(--navy); }
@keyframes toast { from { opacity: 0; translate: -50% 20px; } }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}

/* "folkie" in running text: the wordmark, like in the app (Unbounded Black, pink dot over the i) */
.wm { text-transform: none; font-family: var(--display); font-weight: 900; color: var(--wm, var(--text)); letter-spacing: -0.01em; white-space: nowrap; font-size: .96em; }
.wm__i { position: relative; display: inline-block; }
.wm__stem { display: inline-block; clip-path: inset(0.42em -0.1em -0.3em -0.1em); }
.wm__dot { position: absolute; left: 50%; top: 0.25em; width: 0.26em; height: 0.26em; translate: -50% 0; border-radius: 50%; background: var(--pink); }
.safety, .tonight, .tile--navy { --wm: var(--butter); }
/* On sky and butter cards the wordmark stays navy, also inside a coloured eyebrow. */
.venues__card, .way, .tile--sky, .tile--butter, .hl { --wm: var(--navy); }
.btn, .toast { --wm: currentColor; }

/* Before the launch: <html data-prelaunch> hides what links to the app ([data-live]) and shows its stand-in ([data-soon]). */
:root[data-prelaunch] [data-live], :root:not([data-prelaunch]) [data-soon] { display: none !important; }

/* Legal texts (legal/, en/legal/), generated by tools/legal.mjs from the app's src/legal. */
.legal { padding: 132px 0 96px; max-width: 760px; }
.legal h1 { font-size: clamp(30px, 5vw, 46px); overflow-wrap: anywhere; }
.legal__updated { color: var(--muted); margin-top: 14px; }
.legal section { margin-top: 44px; }
.legal h2 { font: 700 21px/1.3 var(--body); margin-bottom: 14px; }
.legal p, .legal li { font-size: 16.5px; line-height: 1.65; overflow-wrap: anywhere; }
.legal p + p, .legal p + ul, .legal ul + p { margin-top: 12px; }
.legal ul { padding-left: 22px; display: grid; gap: 8px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--pink); }
.nav--solid { background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--border); }
.nav__spacer { flex: 1; }
.lost { min-height: 78vh; display: grid; place-content: center; justify-items: center; gap: 18px; text-align: center; padding: 120px 0 80px; }
.lost p { color: var(--muted); }
/* Without "Zaloguj się" the menu's buttons still sit at the right edge. */
@media (max-width: 1240px) { :root[data-prelaunch] .nav__icon { margin-left: auto; } }
