/* Wildflover (wildflover.wf). Plain CSS, no build step; the pages are written by build.mjs.
   Same family as Wikiflover (wiki.wildflover.wf): the app's surfaces, the Myth/Crimson red, Clash Display + Satoshi + Inter.
   Order: fonts, tokens, base, page transition, atmosphere, top bar, menu sheet, buttons, sections, home, footer,
   responsive, motion. */

/* ---------- Fonts ---------- */
@font-face { font-family: 'Clash Display'; src: url('../fonts/clash-display-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Clash Display'; src: url('../fonts/clash-display-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('../fonts/satoshi-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('../fonts/satoshi-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('../fonts/satoshi-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-tr.woff2') format('woff2'); font-weight: 400 700; font-display: swap; unicode-range: U+011E-011F, U+0130, U+015E-015F; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-latin-ext.woff2') format('woff2'); font-weight: 400 700; font-display: swap; unicode-range: U+0100-011D, U+0120-012F, U+0132-015D, U+0160-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: 'Inter'; src: url('../fonts/inter-latin.woff2') format('woff2'); font-weight: 400 700; font-display: swap; 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: 'Clash Display Fallback'; src: local('Arial'), local('ArialMT'), local('Liberation Sans'); size-adjust: 109.11%; ascent-override: 81.57%; descent-override: 22.91%; line-gap-override: 8.25%; }
@font-face { font-family: 'Satoshi Fallback'; src: local('Arial'), local('ArialMT'), local('Liberation Sans'); size-adjust: 98.33%; ascent-override: 102.72%; descent-override: 24.41%; line-gap-override: 10.17%; }

/* ---------- Tokens: the app's surfaces + the Myth theme red (the app icon) ---------- */
:root {
  color-scheme: dark;
  --bg: #07050b;
  --panel: #0c0911;
  --panel-2: #100c17;
  --inset: #06040a;
  --glass: linear-gradient(180deg, #1c1526 0%, #0c0911 100%);
  --fill-1: rgba(255, 255, 255, .035);
  --fill-2: rgba(255, 255, 255, .06);
  --line-1: rgba(255, 255, 255, .07);
  --line-2: rgba(255, 255, 255, .11);
  --line-3: rgba(255, 255, 255, .18);
  --text-1: #fff;
  --text-2: rgba(255, 255, 255, .8);
  --text-3: rgba(255, 255, 255, .58);
  --text-4: rgba(255, 255, 255, .5); /* 5.3:1 on the page: the smallest text still clears 4.5:1 */

  --accent: #e23744;
  --accent-light: #ff6b76;
  --accent-lighter: #ffb6bd;
  --accent-rgb: 226, 55, 68;
  /* gold: what matters in a sentence, the headings' second half, glyphs; teal (hextech): links.
     Red stays the brand: the mark, the hero, the buttons, the pins. */
  --gold: #f2c46d;
  --gold-light: #ffdf9e;
  --gold-deep: #c9953f;
  --gold-rgb: 242, 196, 109;
  --teal: #5fe0cf;
  --teal-light: #9cefe3;
  --teal-rgb: 95, 224, 207;
  --good: #34d399;

  --font-display: 'Clash Display', 'Clash Display Fallback', 'Segoe UI', system-ui, sans-serif;
  --font-text: 'Satoshi', 'Satoshi Fallback', 'Segoe UI', system-ui, sans-serif;
  --font-ui: 'Inter', 'Segoe UI', system-ui, sans-serif;

  --ease-out: cubic-bezier(.23, 1, .32, 1);

  --top-h: 64px;
  --wrap: 1240px;
  --gutter: 20px;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 20px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--text-2);
  font: 400 1.0625rem/1.7 var(--font-text); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-light); text-decoration: none; transition: color .15s var(--ease-out); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 2px; border-radius: 8px; }
::selection { background: rgba(var(--accent-rgb), .45); color: #fff; }
* { scrollbar-width: thin; scrollbar-color: rgba(var(--accent-rgb), .45) transparent; }
.wf-skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--accent); color: #fff; font: 600 .9rem var(--font-ui); }
.wf-skip:focus { top: 12px; }
.wf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wf-wrap { width: min(var(--wrap), 100%); margin: 0 auto; padding: 0 var(--gutter); }

/* the wordmark: WILD + FLOVER, as in the app's title bar */
.wf-word { font: 600 1rem/1 var(--font-display); letter-spacing: .08em; color: #fff; white-space: nowrap; }
.wf-word b { font-weight: 600; background: linear-gradient(180deg, #fff 5%, var(--accent-light) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* every page sits in a faint theme light (fixed, never scrolls into flat black) and a fine grain */
body::before, body::after { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; }
body::before {
  background:
    radial-gradient(48% 58% at 100% 0%, rgba(var(--accent-rgb), .14), transparent 70%),
    radial-gradient(42% 52% at 0% 100%, rgba(var(--accent-rgb), .1), transparent 70%),
    radial-gradient(34% 40% at 60% 50%, rgba(255, 107, 118, .035), transparent 70%);
}
body::after {
  opacity: .55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .045 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Page to page: a short cross-fade; the bar is the same pixels on both pages so it stays still ---------- */
@media (prefers-reduced-motion: no-preference) { @view-transition { navigation: auto; } }
.wf-top { view-transition-name: wf-top; }
::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation-duration: .22s; animation-timing-function: var(--ease-out); }

/* ---------- Top bar: no backing of its own (the art runs behind it); a fading curtain once the page moves ---------- */
.wf-top {
  position: sticky; top: 0; z-index: 40; height: var(--top-h);
  display: grid; grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); align-items: center; gap: 24px;
  padding: 0 var(--gutter);
}
.wf-top::before {
  content: ''; position: absolute; inset: 0 0 -28px; z-index: -1; pointer-events: none; opacity: 0;
  /* solid behind the controls (no text reads through them), fading only below the bar */
  background: linear-gradient(180deg, #07050b 0, #07050b var(--top-h), rgba(7, 5, 11, 0) 100%);
  transition: opacity .25s var(--ease-out);
}
body.is-scrolled .wf-top::before, body.is-menu-open .wf-top::before { opacity: 1; }
.wf-brand { display: inline-flex; align-items: center; gap: 11px; justify-self: start; }
.wf-brand img { width: 30px; height: 30px; filter: drop-shadow(0 2px 10px rgba(var(--accent-rgb), .55)); }
.wf-brand .wf-word { font-size: 1.08rem; text-shadow: 0 2px 14px rgba(0, 0, 0, .7); }

/* the page links: plain words, light only (no plates); the open page's word carries a short red line */
.wf-nav { display: flex; align-items: center; gap: 4px; }
.wf-nav a { position: relative; padding: 8px 13px; font: 500 .9rem var(--font-ui); color: var(--text-2); white-space: nowrap; }
.wf-nav a::after { content: ''; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--accent-light); box-shadow: 0 0 10px rgba(var(--accent-rgb), .9); transform: scaleX(0); transition: transform .2s var(--ease-out); }
.wf-nav a[aria-current] { color: #fff; }
.wf-nav a[aria-current]::after { transform: scaleX(.42); }
/* a section given focus by a link: no ring around the whole section */
section[tabindex="-1"]:focus { outline: none; }
.wf-nav .wf-out svg { width: 12px; height: 12px; display: inline-block; margin-left: 4px; vertical-align: 1px; opacity: .6; }

/* right side: round dark-glass pills with one neutral hairline; colour never on the edges, light only on hover */
.wf-top-r { display: flex; align-items: center; justify-content: flex-end; gap: 8px; justify-self: end; }
.wf-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; min-width: 40px; padding: 0 15px; border: 0; border-radius: 999px; cursor: pointer;
  font: 600 .86rem var(--font-ui); color: var(--text-2); white-space: nowrap;
  background: rgba(12, 9, 16, .62); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09);
  transition: box-shadow .15s var(--ease-out), color .15s var(--ease-out);
}
.wf-pill svg { width: 17px; height: 17px; flex: 0 0 auto; }
.wf-pill.is-ic { padding: 0; width: 40px; }
.wf-pill.is-get { color: #fff; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
/* language: two letters in one pill, the open language lit */
.wf-lang { gap: 2px; padding: 0 4px; }
.wf-lang span { display: grid; place-items: center; height: 32px; min-width: 34px; padding: 0 8px; border-radius: 999px; font: 600 .76rem var(--font-ui); letter-spacing: .04em; color: var(--text-4); }
.wf-lang span.is-on { color: #fff; background: rgba(255, 255, 255, .08); }
@media (hover: hover) {
  .wf-nav a:hover { color: #fff; }
  .wf-nav a:hover::after { transform: scaleX(.42); }
  .wf-pill:hover { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
  .wf-lang:hover span:not(.is-on) { color: var(--text-2); }
}
.wf-menu-btn { display: none; }

/* phone / small tablet: the page links move into a sheet under the bar */
.wf-sheet { position: fixed; z-index: 39; left: 0; right: 0; top: var(--top-h); padding: 10px var(--gutter) 24px; background: #07050b; box-shadow: 0 30px 60px -20px #000; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s var(--ease-out), transform .2s var(--ease-out), visibility 0s linear .2s; }
/* open: the page under the sheet dims (a tap there closes it, site.js) */
body.is-menu-open .wf-sheet { opacity: 1; visibility: visible; transform: none; box-shadow: 0 30px 60px -20px #000, 0 0 0 100vmax rgba(4, 3, 7, .72); transition: opacity .2s var(--ease-out), transform .2s var(--ease-out); }
.wf-sheet nav { display: grid; }
.wf-sheet nav a { display: flex; align-items: center; justify-content: space-between; padding: 15px 2px; font: 600 1.15rem var(--font-display); letter-spacing: .01em; color: #fff; box-shadow: inset 0 -1px 0 var(--line-1); }
.wf-sheet nav a svg { width: 18px; height: 18px; color: var(--text-4); }
.wf-sheet-foot { display: flex; gap: 10px; margin-top: 18px; }
.wf-sheet-foot .wf-btn { flex: 1; }
@media (min-width: 961px) { .wf-sheet { display: none; } }

/* ---------- Buttons ---------- */
/* dark glass: neutral edge at rest, the theme red only on hover (the app's rule) */
.wf-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 22px; border: 0; border-radius: 13px; cursor: pointer;
  font: 600 .95rem var(--font-ui); color: #fff; white-space: nowrap;
  background: var(--glass); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  transition: box-shadow .15s var(--ease-out), transform .16s var(--ease-out), filter .15s var(--ease-out);
}
.wf-btn svg { width: 19px; height: 19px; flex: 0 0 auto; }
/* the one main action of a section: filled red, lit from below */
.wf-btn.is-main {
  background: linear-gradient(180deg, #f2515e 0%, #d42c3a 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -2px 0 rgba(0, 0, 0, .18), 0 14px 34px -12px rgba(var(--accent-rgb), .9);
}
.wf-btn small { font: 500 .78rem var(--font-ui); color: rgba(255, 255, 255, .72); }
@media (hover: hover) {
  .wf-btn:hover { box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .85); }
  .wf-btn.is-main:hover { filter: brightness(1.08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .32), inset 0 -2px 0 rgba(0, 0, 0, .18), 0 18px 40px -12px rgba(var(--accent-rgb), 1); }
}
.wf-btn:active, .wf-pill:active { transform: scale(.97); }

/* ---------- Footer: big mark, the real accounts, ©, the small print; four headed link columns ---------- */
.wf-foot { position: relative; z-index: 1; overflow: hidden; margin-top: 40px; background: linear-gradient(180deg, #160d17 0%, #0e0911 46%, #0b0810 100%); }
.wf-foot::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 320px; pointer-events: none; background: radial-gradient(46% 100% at 50% 0%, rgba(var(--accent-rgb), .3), rgba(var(--accent-rgb), .08) 55%, transparent 78%); }
.wf-foot::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; pointer-events: none; background: linear-gradient(90deg, rgba(255, 255, 255, .07), rgba(255, 140, 150, .5) 50%, rgba(255, 255, 255, .07)); }
.wf-foot-in { position: relative; max-width: 1320px; margin: 0 auto; padding: 60px var(--gutter) 68px; display: grid; grid-template-columns: minmax(300px, 1fr) auto; gap: 48px 72px; align-items: start; }
.wf-foot-brand { display: inline-flex; gap: 14px; align-items: center; }
.wf-foot-brand img { width: 58px; height: 58px; margin-left: -4px; filter: drop-shadow(0 6px 22px rgba(var(--accent-rgb), .45)); }
.wf-foot-brand .wf-word { font-size: 1.6rem; line-height: 1; letter-spacing: .07em; }
.wf-foot-social { display: flex; gap: 4px; margin: 22px 0 0 -7px; }
.wf-foot-social a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; color: var(--text-2); }
.wf-foot-social svg { width: 21px; height: 21px; }
.wf-foot-copy { margin-top: 18px; font: 500 .92rem var(--font-ui); color: var(--text-2); }
.wf-foot-legal { max-width: 46ch; margin-top: 10px; font: 400 .76rem/1.6 var(--font-ui); color: rgba(255, 255, 255, .5); }
.wf-foot-cols { display: grid; grid-template-columns: repeat(4, max-content); gap: 36px 64px; }
.wf-foot-cols > div { display: flex; flex-direction: column; align-items: flex-start; }
.wf-foot-cols h2 { margin: 0 0 20px; font: 600 1.06rem var(--font-display); letter-spacing: .01em; color: #fff; }
.wf-foot-cols a { font: 500 .9rem/1.3 var(--font-ui); color: var(--text-3); }
.wf-foot-cols a + a { margin-top: 13px; }
@media (hover: hover) { .wf-foot-social a:hover, .wf-foot-cols a:hover { color: #fff; } }

/* ---------- Shared section pieces ---------- */
.wf-home { position: relative; z-index: 1; overflow: hidden; margin-top: calc(var(--top-h) * -1); }
.wf-sec { width: min(var(--wrap), 100%); margin: 0 auto; padding: 110px var(--gutter) 0; }
.wf-head { display: grid; justify-items: center; text-align: center; margin-bottom: 46px; }
.wf-head h2 { max-width: 22ch; font: 600 clamp(2.1rem, 1.2rem + 2.5vw, 3.4rem)/1.06 var(--font-display); letter-spacing: -.012em; color: #fff; text-wrap: balance; }
/* the second half of a heading carries the theme light, as in the app's titles */
.wf-head h2 span, .wf-h1 .is-accent {
  display: inline-block; padding-bottom: .08em;
  background: linear-gradient(180deg, #fff 0%, var(--accent-lighter) 38%, var(--accent-light) 72%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.wf-head h2 span { background-image: linear-gradient(180deg, #fff7e4 0%, var(--gold-light) 34%, var(--gold) 70%, var(--gold-deep) 100%); }
.wf-head p { margin-top: 16px; max-width: 56ch; font: 400 1.14rem/1.6 var(--font-text); color: var(--text-3); text-wrap: balance; }
.wf-note { margin-top: 18px; text-align: center; font: 500 .82rem var(--font-ui); color: var(--text-4); }
/* a black-glass tile for a glyph */
.wf-ic { display: grid; place-items: center; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; color: var(--gold); background: linear-gradient(180deg, #1b1423, #0b0810); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), inset 0 1px 0 rgba(255, 255, 255, .06); }
.wf-ic svg { width: 21px; height: 21px; }
.wf-ticks { display: grid; gap: 10px; }
.wf-ticks li { display: flex; gap: 10px; align-items: flex-start; font: 500 .95rem/1.45 var(--font-ui); color: var(--text-2); }
.wf-ticks svg { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 2px; color: var(--gold); }

/* ---------- Hero: the Crimson art, three slow lights, the sigil, the promise, the way in ---------- */
.wf-hero { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; text-align: center; padding: calc(var(--top-h) + 58px) var(--gutter) 36px; }
.wf-atmos { position: absolute; left: 0; right: 0; top: 0; height: 1260px; z-index: -2; pointer-events: none; overflow: hidden; }
.wf-atmos::before {
  content: ''; position: absolute; inset: 0; background: url('../img/art/crimson.webp') 0% 28% / cover no-repeat;
  filter: saturate(1.08) brightness(.62); opacity: .74;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .8) 30%, rgba(0, 0, 0, .35) 62%, transparent 90%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .8) 30%, rgba(0, 0, 0, .35) 62%, transparent 90%);
}
.wf-atmos::after { content: ''; position: absolute; inset: 0; background: radial-gradient(55% 60% at 22% 8%, rgba(var(--accent-rgb), .18), transparent 70%), linear-gradient(180deg, rgba(7, 5, 11, .3), rgba(7, 5, 11, .5) 55%, rgba(7, 5, 11, 0) 100%); }
/* only as tall as the hero itself: below it the art has faded and the dots would not be seen */
.wf-dust { position: absolute; left: 0; top: 0; width: 100%; height: 900px; z-index: 1; }
.wf-orbs { position: absolute; inset: -60px -12% 30%; z-index: -1; pointer-events: none; }
.wf-orbs i { position: absolute; border-radius: 50%; will-change: transform; animation: wf-drift 18s ease-in-out infinite alternate; }
.wf-orbs i:nth-child(1) { width: 560px; height: 560px; left: 4%; top: -80px; background: radial-gradient(circle, rgba(var(--accent-rgb), .3), transparent 64%); }
.wf-orbs i:nth-child(2) { width: 460px; height: 460px; right: 2%; top: 10px; background: radial-gradient(circle, rgba(255, 107, 118, .2), transparent 64%); animation-duration: 23s; animation-delay: -7s; }
.wf-orbs i:nth-child(3) { width: 420px; height: 420px; left: 36%; top: 280px; background: radial-gradient(circle, rgba(255, 182, 189, .1), transparent 64%); animation-duration: 27s; animation-delay: -13s; }
@keyframes wf-drift { from { transform: translate3d(-36px, 12px, 0) scale(1); } to { transform: translate3d(44px, -26px, 0) scale(1.08); } }
.wf-seal { position: relative; display: grid; place-items: center; width: 116px; height: 116px; margin-bottom: 10px; }
.wf-seal::before { content: ''; position: absolute; inset: -34px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--accent-rgb), .55), rgba(var(--accent-rgb), .12) 42%, transparent 66%); animation: wf-breathe 5.5s ease-in-out infinite alternate; }
@keyframes wf-breathe { from { opacity: .55; } to { opacity: 1; } }
.wf-seal img { position: relative; width: 74px; height: 74px; filter: drop-shadow(0 8px 26px rgba(var(--accent-rgb), .85)); }
.wf-hero.is-still .wf-orbs i, .wf-hero.is-still .wf-seal::before { animation-play-state: paused; }
.wf-h1 { max-width: 18ch; font: 600 clamp(2.7rem, 1.1rem + 4.7vw, 5.7rem)/1 var(--font-display); letter-spacing: -.018em; color: #fff; text-shadow: 0 12px 50px rgba(0, 0, 0, .55); text-wrap: balance; }
.wf-h1 > span { display: block; }
.wf-lead { margin-top: 24px; max-width: 60ch; font: 400 1.2rem/1.6 var(--font-text); color: var(--text-2); text-wrap: balance; }
.wf-lead b { font-weight: 700; color: var(--gold-light); }
.wf-hero-go { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }
.wf-btn.is-big { height: 62px; padding: 0 26px; border-radius: 16px; font-size: 1rem; }
.wf-btn.is-big svg { width: 21px; height: 21px; }
.wf-btn .t { display: grid; gap: 2px; text-align: left; line-height: 1.15; }
.wf-btn b { font-weight: 700; color: #fff; }
/* the tick sits in the line, so it stays with the first word when the note wraps */
.wf-hero-note { max-width: 60ch; margin-top: 18px; font: 500 .9rem/1.55 var(--font-ui); color: var(--text-3); text-wrap: balance; }
.wf-hero-note svg { display: inline-block; width: 16px; height: 16px; margin-right: 7px; vertical-align: -3px; color: var(--good); }
/* the figures: metal numbers like the wiki's, hairlines between, no boxes */
.wf-stats { display: flex; justify-content: center; margin-top: 46px; }
.wf-stats > div { display: grid; gap: 6px; padding: 2px 30px; }
.wf-stats > div + div { box-shadow: inset 1px 0 0 var(--line-2); }
.wf-stats b { font: 600 2.2rem/1 var(--font-display); letter-spacing: .01em; background: linear-gradient(180deg, #fff 18%, #d8c9d2 55%, #8f7c8a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wf-stats span { font: 500 .84rem var(--font-ui); color: var(--text-3); }

/* ---------- Showcase: two real windows leaning back, numbered pins on the front one, three promises ---------- */
.wf-show { width: min(1320px, 100%); margin: 0 auto; padding: 22px var(--gutter) 0; }
.wf-show-stage { position: relative; height: clamp(260px, 41vw, 620px); perspective: 2400px; perspective-origin: 50% 0%; -webkit-mask-image: linear-gradient(180deg, #000 52%, transparent 97%); mask-image: linear-gradient(180deg, #000 52%, transparent 97%); }
.wf-show-stage::before { content: ''; position: absolute; left: 12%; right: 12%; top: 4%; height: 70%; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--accent-rgb), .32), transparent); }
.wf-show-win { position: absolute; left: 50%; overflow: hidden; border-radius: 16px; transform-origin: 50% 0; background: #050308; }
.wf-show-win img { width: 100%; }
.wf-show-win.is-back { top: 0; width: min(820px, 76%); transform: translateX(-50%) rotateX(30deg); opacity: .5; filter: saturate(.75) brightness(.72); box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
.wf-show-win.is-front { top: clamp(30px, 4.6vw, 72px); width: min(1060px, 94%); transform: translateX(-50%) rotateX(24deg); box-shadow: 0 0 0 1px rgba(255, 182, 189, .2), 0 60px 140px -40px #000, 0 0 160px -50px rgba(var(--accent-rgb), .85); }
.wf-show-win.is-front::after { content: ''; position: absolute; left: 10%; right: 10%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 182, 189, .9), transparent); }
.wf-pin { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; transform: translate(-13px, -50%); }
.wf-pin b { display: grid; place-items: center; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; font: 700 .76rem/1 var(--font-ui); color: #fff; background: radial-gradient(circle at 35% 30%, #ff7f89, var(--accent) 60%, #9c1d2a); box-shadow: 0 0 0 2px rgba(255, 255, 255, .92), 0 0 18px rgba(var(--accent-rgb), .75); }
.wf-pin.is-l { flex-direction: row-reverse; transform: translate(calc(-100% + 13px), -50%); }
.wf-pin span { padding: 5px 10px; border-radius: 8px; font: 600 .8rem/1.2 var(--font-ui); color: #fff; white-space: nowrap; background: rgba(8, 6, 13, .92); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .5); }
.wf-feats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(-70px, -4vw, -20px); }
.wf-feats > div { position: relative; display: flex; flex-direction: column; align-items: center; padding: 0 40px; text-align: center; }
.wf-feats > div + div::before { content: ''; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px; background: linear-gradient(180deg, transparent, var(--line-3), transparent); }
.wf-feats .wf-ic { width: 50px; height: 50px; border-radius: 14px; }
.wf-feats .wf-ic svg { width: 23px; height: 23px; }
.wf-feats h3 { margin-top: 18px; font: 600 1.26rem/1.3 var(--font-ui); letter-spacing: -.01em; color: #fff; }
.wf-feats p { margin-top: 10px; max-width: 34ch; font: 400 1rem/1.6 var(--font-text); color: var(--text-3); }
.wf-feats b { font-weight: 600; color: var(--gold); }

/* ---------- Tour: the pages as a list on the left, the real screen on the right (fades, no slide) ---------- */
.wf-tour-in { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 30px; align-items: start; }
.wf-tour-tabs { display: grid; gap: 4px; }
.wf-tab { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; padding: 13px 16px; border: 0; border-radius: 14px; background: transparent; text-align: left; cursor: pointer; transition: background .2s var(--ease-out); }
.wf-tab .t { display: grid; gap: 1px; min-width: 0; }
.wf-tab b { font: 600 1rem/1.3 var(--font-ui); color: var(--text-2); transition: color .15s var(--ease-out); }
.wf-tab .t span { font: 400 .88rem/1.4 var(--font-text); color: var(--text-4); }
.wf-tab .wf-ic { color: var(--text-3); transition: color .15s var(--ease-out); }
.wf-tab.is-on { background: linear-gradient(90deg, rgba(var(--accent-rgb), .15), rgba(var(--accent-rgb), .02) 80%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.wf-tab.is-on::before { content: ''; position: absolute; left: 0; top: 22%; bottom: 22%; width: 3px; border-radius: 0 3px 3px 0; background: var(--gold); box-shadow: 0 0 12px rgba(var(--gold-rgb), .9); }
.wf-tab.is-on b { color: #fff; }
.wf-tab.is-on .t span { color: var(--text-3); }
.wf-tab.is-on .wf-ic { color: var(--gold); }
@media (hover: hover) { .wf-tab:not(.is-on):hover b { color: #fff; } .wf-tab:not(.is-on):hover .wf-ic { color: var(--text-1); } }
.wf-tour-view { display: grid; }
.wf-tour-panel { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease-out), visibility 0s linear .3s; }
.wf-tour-panel.is-on { opacity: 1; visibility: visible; transition: opacity .3s var(--ease-out); }
.wf-frame { position: relative; overflow: hidden; aspect-ratio: 1600 / 920; border-radius: 16px; background: #050308; box-shadow: 0 0 0 1px rgba(255, 182, 189, .16), 0 50px 110px -40px #000, 0 0 120px -50px rgba(var(--accent-rgb), .8); }
.wf-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.wf-tour-panel p { margin-top: 18px; max-width: 72ch; font: 400 1.02rem/1.6 var(--font-text); color: var(--text-3); }
.wf-tour-panel p b { font-weight: 600; color: #fff; }
.wf-tour-view .wf-note { grid-area: 2 / 1; margin-top: 14px; text-align: left; }

/* ---------- Systems: one wide card and two halves, each with its screen and a small drawn piece of the app ---------- */
.wf-bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.wf-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: linear-gradient(180deg, #120d18, #0a0710); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 60px -30px #000; }
.wf-card::after { content: ''; position: absolute; left: 12%; right: 12%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 182, 189, .55), transparent); }
.wf-card.is-lcu { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.wf-card-art { position: relative; min-height: 290px; overflow: hidden; }
.wf-card-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0 0; opacity: .85;
  -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 100%); mask-image: linear-gradient(180deg, #000 45%, transparent 100%); }
.wf-card.is-lcu .wf-card-art img { -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent 100%); mask-image: linear-gradient(90deg, #000 55%, transparent 100%); }
/* the room and the ranking are full windows: show their content, not the app's title bar */
.wf-card.is-party .wf-card-art img, .wf-card.is-ranked .wf-card-art img { inset: -14% 0 auto; height: 128%; }
.wf-card.is-party .wf-card-art img { object-position: 20% 40%; }
.wf-card.is-ranked .wf-card-art img { object-position: 50% 30%; }
/* the tick lists sit on the card's floor, so side-by-side cards line up even when one heading wraps */
.wf-card-text { position: relative; flex: 1; display: flex; flex-direction: column; padding: 4px 32px 32px; }
.wf-card-text .wf-ic { align-self: flex-start; }
.wf-card .wf-card-text .wf-ticks { margin-top: auto; padding-top: 20px; }
.wf-card.is-lcu .wf-card-text { padding: 40px 40px 40px 8px; align-self: center; }
.wf-card h3 { margin-top: 18px; font: 600 1.55rem/1.2 var(--font-display); letter-spacing: .005em; color: #fff; }
.wf-card p { margin-top: 10px; font: 400 1rem/1.6 var(--font-text); color: var(--text-3); }
/* drawn pieces (mock values, the app's own look) */
.wf-ui { position: absolute; z-index: 1; }
/* every drawn piece is one solid panel, so the screenshot's own text never shows between its rows */
.wf-ui-lcu, .wf-ui-party, .wf-ui-ranked { border-radius: 16px; background: rgba(10, 7, 14, .94); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .11), 0 24px 50px -20px #000; }
.wf-ui-lcu { right: 26px; bottom: 26px; display: grid; width: min(290px, 64%); padding: 6px 14px; }
.wf-ui-lcu span { display: flex; align-items: center; gap: 10px; height: 46px; font: 600 .86rem var(--font-ui); color: #fff; }
.wf-ui-lcu span + span { box-shadow: inset 0 1px 0 var(--line-1); }
.wf-ui-lcu em { margin-left: auto; width: 34px; height: 20px; border-radius: 999px; background: var(--accent); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); position: relative; }
.wf-ui-lcu em::after { content: ''; position: absolute; right: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.wf-ui-party { left: 50%; bottom: 22px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; padding: 16px 18px; }
.wf-ui-party small { font: 600 .74rem var(--font-ui); color: var(--text-3); }
.wf-code { display: flex; gap: 6px; }
.wf-code b { display: grid; place-items: center; width: 34px; height: 42px; border-radius: 9px; font: 600 1.2rem var(--font-display); color: #fff; background: linear-gradient(180deg, #221a2e, #120d1a); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), inset 0 -2px 0 rgba(0, 0, 0, .4); }
.wf-p2p { display: inline-flex; align-items: center; gap: 7px; }
.wf-p2p i { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 8px var(--good); }
.wf-ui-ranked { left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; align-items: flex-end; gap: 10px; width: min(380px, 86%); height: 150px; padding: 16px 16px 12px; }
.wf-ui-ranked span { flex: 1; display: grid; justify-items: center; gap: 8px; align-self: stretch; align-content: end; }
.wf-ui-ranked i { width: 100%; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .06)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.wf-ui-ranked span:nth-child(1) i { height: 46px; }
.wf-ui-ranked span:nth-child(2) i { height: 84px; }
.wf-ui-ranked span:nth-child(3) i { height: 62px; }
.wf-ui-ranked span:nth-child(4) i { height: 40px; }
.wf-ui-ranked span:nth-child(5) i { height: 26px; }
.wf-ui-ranked .is-me i { background: linear-gradient(180deg, #ffd27a, #b8862d); box-shadow: inset 0 0 0 1px rgba(255, 236, 190, .5), 0 0 24px rgba(255, 196, 92, .45); }
.wf-ui-ranked small { font: 600 .72rem var(--font-ui); color: var(--text-3); white-space: nowrap; }
.wf-ui-ranked .is-me small { color: #ffd98c; }

/* ---------- Pricing: TL or USD, one lit card for Standard, two Boost cards beside it ---------- */
.wf-price { text-align: center; }
.wf-cur { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(12, 9, 16, .72); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); }
.wf-cur button { height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; font: 600 .86rem var(--font-ui); color: var(--text-3); cursor: pointer; transition: color .15s var(--ease-out), background .15s var(--ease-out); }
.wf-cur button[aria-pressed="true"] { color: #fff; background: rgba(255, 255, 255, .09); }
.wf-cur-note { margin-top: 12px; font: 500 .88rem var(--font-ui); color: var(--text-4); }
[data-cur="tl"] .is-usd, [data-cur="usd"] .is-tl { display: none !important; }
.wf-tiers { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 18px; margin-top: 34px; text-align: left; }
.wf-tier { position: relative; display: flex; flex-direction: column; padding: 30px; border-radius: 22px; background: linear-gradient(180deg, #120d18, #0a0710); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.wf-tier, .wf-tier.is-standard { padding: 32px; }
.wf-tier.is-standard { background: radial-gradient(110% 60% at 50% 0%, rgba(var(--accent-rgb), .2), transparent 62%), linear-gradient(180deg, #160e1b, #0a0710); box-shadow: inset 0 0 0 1px rgba(255, 140, 150, .38), 0 40px 110px -46px rgba(var(--accent-rgb), .75); }
.wf-tier.is-standard::after { content: ''; position: absolute; left: 14%; right: 14%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 182, 189, .95), transparent); }
.wf-tier-stack { display: grid; gap: 18px; }
.wf-tier-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.wf-tier h3 { font: 600 1.3rem/1.2 var(--font-display); letter-spacing: .01em; color: #fff; }
.wf-badge { margin-left: auto; padding: 5px 11px; border-radius: 999px; font: 600 .76rem var(--font-ui); color: var(--gold-light); background: rgba(var(--gold-rgb), .14); box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), .35); }
.wf-save { padding: 4px 9px; border-radius: 999px; font: 700 .76rem var(--font-ui); color: var(--good); background: rgba(52, 211, 153, .1); }
.wf-tier .wf-price { margin-top: 16px; text-align: left; font: 600 2.6rem/1 var(--font-display); letter-spacing: -.01em; background: linear-gradient(180deg, #fff 18%, #e6d6de 55%, #9a8795 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wf-tier .wf-price.is-big { font-size: 3.7rem; }
.wf-once { margin-top: 10px; font: 500 .9rem var(--font-ui); color: var(--text-3); }
.wf-tier-d { margin-top: 14px; font: 400 1rem/1.6 var(--font-text); color: var(--text-3); }
.wf-incl { margin-top: 24px; margin-bottom: 14px; font: 600 .84rem var(--font-ui); color: var(--text-2); }
.wf-ticks.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; }
.wf-boost-note { display: flex; align-items: center; gap: 8px; margin-top: 12px; font: 500 .86rem var(--font-ui); color: #b5bdff; }
.wf-boost-note svg { width: 17px; height: 17px; }
.wf-tier-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: auto; padding-top: 26px; }
.wf-tier-facts li { display: grid; gap: 8px; padding-top: 16px; font: 500 .84rem/1.45 var(--font-ui); color: var(--text-3); box-shadow: inset 0 1px 0 var(--line-2); }
.wf-tier-facts svg { width: 20px; height: 20px; color: var(--gold); }
.wf-tier-facts + .wf-tier-buy { margin-top: 0; }
.wf-tier-buy { margin-top: auto; padding-top: 24px; }
.wf-tier-buy .wf-btn { width: 100%; }
.wf-price-notes { max-width: 78ch; margin: 24px auto 0; font: 400 .92rem/1.6 var(--font-ui); color: var(--text-4); }
.wf-price-notes a, .wf-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--teal-light); white-space: nowrap; }
.wf-price-notes a svg, .wf-more svg { width: 16px; height: 16px; transition: transform .2s var(--ease-out); }
@media (hover: hover) { .wf-price-notes a:hover, .wf-more:hover { color: #fff; } .wf-price-notes a:hover svg, .wf-more:hover svg { transform: translateX(3px); } .wf-cur button:not([aria-pressed="true"]):hover { color: #fff; } }

/* ---------- FAQ: one panel, hairlines between the questions ---------- */
.wf-faq-list { max-width: 880px; margin: 0 auto; overflow: hidden; border-radius: 20px; background: linear-gradient(180deg, #110c17, #0a0710); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.wf-q + .wf-q { box-shadow: inset 0 1px 0 var(--line-1); }
.wf-q summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 28px; list-style: none; cursor: pointer; font: 600 1.05rem/1.4 var(--font-ui); color: #fff; transition: background .15s var(--ease-out); }
.wf-q summary::-webkit-details-marker { display: none; }
/* the list clips its corners, so the focus ring is drawn inside the row */
.wf-q summary:focus-visible { outline-offset: -3px; border-radius: 0; }
.wf-q:first-child summary:focus-visible { border-radius: 20px 20px 0 0; }
.wf-q:last-child:not([open]) summary:focus-visible { border-radius: 0 0 20px 20px; }
.wf-q summary svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--text-4); transition: transform .2s var(--ease-out), color .15s var(--ease-out); }
.wf-q[open] summary svg { transform: rotate(180deg); color: var(--gold); }
.wf-q p { max-width: 72ch; padding: 0 28px 24px; font: 400 1rem/1.65 var(--font-text); color: var(--text-3); }
@media (hover: hover) { .wf-q summary:hover { background: var(--fill-1); } }
.wf-more { display: flex; width: fit-content; margin: 22px auto 0; font: 600 .95rem var(--font-ui); }

/* ---------- Closing band: the last push, the requirements, the Discord invitation with Alya leaning over it ---------- */
.wf-cta { padding: 140px var(--gutter) 0; }
.wf-cta-in { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: center; width: min(1180px, 100%); margin: 0 auto; padding: 60px; border-radius: 28px; box-shadow: inset 0 0 0 1px rgba(255, 140, 150, .22), 0 50px 120px -50px rgba(var(--accent-rgb), .6); }
.wf-cta-in::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(90deg, rgba(10, 6, 13, .96) 30%, rgba(10, 6, 13, .55)), url('../img/art/crimson.webp') 70% 30% / cover no-repeat; }
.wf-cta-in::after { content: ''; position: absolute; left: 14%; right: 14%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 182, 189, .95), transparent); }
.wf-cta-text h2 { font: 600 clamp(2rem, 1.3rem + 2vw, 3.1rem)/1.06 var(--font-display); letter-spacing: -.01em; color: #fff; text-wrap: balance; }
@media (min-width: 721px) { .wf-cta-text h2 { white-space: nowrap; font-size: clamp(1.8rem, .3rem + 2.4vw, 2.5rem); } }
.wf-cta-text > p { margin-top: 16px; max-width: 50ch; font: 400 1.1rem/1.6 var(--font-text); color: var(--text-2); }
.wf-cta-go { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.wf-req { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; }
.wf-req li { display: inline-flex; align-items: center; gap: 8px; font: 500 .88rem var(--font-ui); color: var(--text-3); }
.wf-req svg { width: 16px; height: 16px; color: var(--good); }
.wf-invite { position: relative; justify-self: end; width: min(360px, 100%); }
.wf-invite-alya { position: absolute; z-index: 1; right: -26px; top: -176px; width: 210px; pointer-events: none; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .5)); }
.wf-invite-card { position: relative; z-index: 2; overflow: hidden; padding: 0 22px 22px; border-radius: 18px; background: radial-gradient(120% 60% at 50% 100%, rgba(88, 101, 242, .16), transparent 70%), #111018; box-shadow: inset 0 0 0 1px rgba(124, 135, 255, .3), 0 30px 70px -26px #000, 0 0 80px -30px rgba(88, 101, 242, .7); }
.wf-invite-banner { height: 86px; margin: 0 -22px; background: linear-gradient(180deg, transparent 40%, #111018), url('../img/art/crimson.webp') 40% 30% / cover no-repeat; }
.wf-invite-icon { position: relative; width: 72px; height: 72px; margin-top: -38px; padding: 9px; border-radius: 22px; background: radial-gradient(circle at 50% 35%, #2b1520, #0d0a12 72%); box-shadow: 0 0 0 4px #111018, inset 0 0 0 1px rgba(255, 140, 150, .25); }
.wf-invite-small { margin-top: 12px; font: 600 .76rem var(--font-ui); color: #a3adff; }
.wf-invite-name { display: block; width: fit-content; margin-top: 2px; padding-bottom: .06em; font: 600 1.42rem/1.2 var(--font-display); letter-spacing: .01em; background: linear-gradient(180deg, #fff7e4 0%, var(--gold-light) 40%, var(--gold) 78%, var(--gold-deep) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wf-invite-count { display: flex; align-items: center; gap: 8px; margin-top: 6px; font: 500 .88rem var(--font-ui); color: var(--text-2); }
.wf-invite-count b { font-weight: 700; color: var(--gold-light); }
/* Discord's violet, not green: on a Discord card green means online, and this is the member count */
.wf-invite-count i { width: 8px; height: 8px; border-radius: 50%; background: #7c87ff; box-shadow: 0 0 10px rgba(124, 135, 255, .9); }
.wf-invite-d { margin-top: 12px; font: 400 .94rem/1.55 var(--font-text); color: var(--text-3); }
.wf-btn.is-discord { width: 100%; margin-top: 18px; background: linear-gradient(180deg, #6d76f6, #5361e8); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 12px 30px -14px rgba(88, 101, 242, .9); }
@media (hover: hover) { .wf-btn.is-discord:hover { filter: brightness(1.08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 14px 34px -14px rgba(88, 101, 242, 1); } }

/* the hero's art runs on below it: what follows paints above that art (it still shows through, never over the text) */
.wf-hero ~ section, .wf-hero ~ div { position: relative; z-index: 1; }

/* ---------- Sub pages: the home hero's art and lights, a smaller title ---------- */
.wf-phero { padding-top: calc(var(--top-h) + 64px); padding-bottom: 20px; }
.wf-phero .wf-atmos { height: 900px; }
.wf-h1.is-page { max-width: 20ch; font-size: clamp(2.4rem, 1.2rem + 3.6vw, 4.4rem); }
.wf-h1.is-page .is-accent:empty { display: none; }
.wf-updated { margin-top: 18px; font: 500 .9rem var(--font-ui); color: var(--text-3); }
/* the requirements: one quiet row, hairlines between, no boxes */
.wf-reqs { display: flex; justify-content: center; width: min(1180px, 100%); margin: 46px 0 0; }
.wf-reqs > div { flex: 1 1 0; min-width: 0; display: grid; align-content: start; gap: 4px; padding: 2px 18px; text-align: center; }
.wf-reqs > div + div { box-shadow: inset 1px 0 0 var(--line-2); }
.wf-reqs dt { font: 600 .78rem var(--font-ui); color: var(--gold-light); }
.wf-reqs dd { margin: 0; max-width: 24ch; font: 500 .92rem/1.45 var(--font-ui); color: var(--text-2); }

/* install: three steps, each with its real screen */
.wf-steplist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: none; }
.wf-step { display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: linear-gradient(180deg, #120d18, #0a0710); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 60px -30px #000; }
.wf-step .wf-frame { border-radius: 0; box-shadow: none; }
.wf-step-text { position: relative; flex: 1; display: flex; flex-direction: column; padding: 26px 26px 28px; }
.wf-step-n { display: grid; place-items: center; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; font: 600 1.15rem var(--font-display); color: #2a1906; background: linear-gradient(180deg, #ffeab8 0%, var(--gold) 55%, var(--gold-deep) 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 10px 24px -8px rgba(var(--gold-rgb), .7); }
.wf-step-text .wf-step-n { position: absolute; top: -20px; left: 26px; }
.wf-step h3 { margin-top: 14px; font: 600 1.3rem/1.25 var(--font-display); letter-spacing: .005em; color: #fff; }
.wf-step p { margin-top: 8px; font: 400 .98rem/1.6 var(--font-text); color: var(--text-3); }
.wf-step p b, .wf-timeline p b, .wf-rule p b, .wf-q p b { font-weight: 600; color: var(--gold-light); }
.wf-tip { margin-top: auto !important; padding-top: 14px; font: 500 .88rem/1.5 var(--font-ui) !important; color: var(--text-2) !important; }
.wf-tip b { margin-right: 6px; font-weight: 700; color: var(--gold); }
.wf-safe { display: flex; align-items: center; gap: 18px; margin-top: 18px; padding: 22px 26px; border-radius: 18px; background: linear-gradient(90deg, rgba(52, 211, 153, .08), rgba(52, 211, 153, 0) 60%), #0b0810; box-shadow: inset 0 0 0 1px rgba(52, 211, 153, .22); }
.wf-safe .wf-ic { color: var(--good); }
.wf-safe h2 { font: 600 1.08rem/1.3 var(--font-ui); color: #fff; }
.wf-safe p { margin-top: 4px; font: 400 .95rem/1.55 var(--font-text); color: var(--text-3); }

/* install: what is inside, six groups */
.wf-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.wf-group { padding: 26px 26px 28px; border-radius: 20px; background: linear-gradient(180deg, #120d18, #0a0710); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.wf-group h3 { margin: 16px 0 14px; font: 600 1.2rem/1.25 var(--font-display); letter-spacing: .005em; color: #fff; }
.wf-group .wf-ticks li { font-size: .92rem; color: var(--text-2); }

/* install: what next */
.wf-next-in { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 40px 44px; border-radius: 26px; background: radial-gradient(70% 140% at 0% 0%, rgba(var(--accent-rgb), .22), transparent 60%), linear-gradient(180deg, #140d19, #0a0710); box-shadow: inset 0 0 0 1px rgba(255, 140, 150, .22); }
.wf-next h2 { font: 600 clamp(1.6rem, 1.1rem + 1.4vw, 2.3rem)/1.1 var(--font-display); color: #fff; }
.wf-next p { margin-top: 10px; max-width: 56ch; font: 400 1.02rem/1.6 var(--font-text); color: var(--text-3); }
.wf-next-go { display: flex; flex-wrap: wrap; gap: 12px; flex: 0 0 auto; }

/* how to buy: the one rule, then the real "how do I get access" window */
/* how-to-buy: the one rule, shown as well as told (the same address on both sides) */
.wf-rule {
  position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 20px; width: min(800px, 100%); margin-top: 30px; padding: 24px 26px 26px; border-radius: 20px; text-align: left;
  background: radial-gradient(70% 120% at 0% 0%, rgba(var(--gold-rgb), .17), transparent 62%), linear-gradient(180deg, #17111d, #0c0911);
  box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), .36), inset 0 1px 0 rgba(255, 236, 200, .08), 0 34px 80px -44px rgba(var(--gold-rgb), .6);
}
/* a lit hairline along the top edge */
.wf-rule::before { content: ''; position: absolute; left: 12%; right: 12%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-light), transparent); box-shadow: 0 0 16px rgba(var(--gold-rgb), .85); }
.wf-rule-head { display: flex; align-items: flex-start; gap: 16px; }
.wf-rule .wf-ic { color: var(--gold-light); background: linear-gradient(180deg, rgba(var(--gold-rgb), .26), #0f0b14 76%); box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), .5), inset 0 1px 0 rgba(255, 255, 255, .1), 0 10px 28px -8px rgba(var(--gold-rgb), .7); }
.wf-rule-head > div > b { display: block; font: 600 1.3rem/1.25 var(--font-display); letter-spacing: .01em; color: var(--gold-light); }
.wf-rule-head p { margin-top: 6px; font: 400 1rem/1.6 var(--font-text); color: var(--text-2); }
.wf-rule-match { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 14px; margin-left: 60px; }
.wf-rule-field { position: relative; display: grid; gap: 3px; min-width: 0; padding: 11px 15px; border-radius: 12px; background: #09060d; box-shadow: inset 0 0 0 1px var(--line-2); }
.wf-rule-field small { font: 500 .74rem var(--font-ui); color: var(--text-4); }
.wf-rule-field code { overflow: hidden; font: 600 .95rem var(--font-ui); color: #fff; white-space: nowrap; text-overflow: ellipsis; }
.wf-rule-field.is-ok { padding-right: 42px; box-shadow: inset 0 0 0 1px rgba(52, 211, 153, .45), 0 0 26px -10px rgba(52, 211, 153, .55); }
.wf-rule-field svg { position: absolute; right: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--good); }
.wf-rule-eq { font: 600 1.7rem/1 var(--font-display); color: var(--gold); text-shadow: 0 0 16px rgba(var(--gold-rgb), .65); }
.wf-frame.is-hero { width: min(1000px, 100%); margin-top: 40px; }
.wf-buysteps-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: start; }
.wf-timeline { position: relative; display: grid; gap: 26px; }
.wf-timeline::before { content: ''; position: absolute; left: 19px; top: 20px; bottom: 20px; width: 2px; background: linear-gradient(180deg, rgba(var(--accent-rgb), .6), rgba(var(--accent-rgb), .08)); }
.wf-timeline li { position: relative; display: flex; gap: 18px; align-items: flex-start; }
.wf-timeline h3 { font: 600 1.15rem/1.3 var(--font-ui); color: #fff; padding-top: 8px; }
.wf-timeline p { margin-top: 6px; font: 400 .98rem/1.6 var(--font-text); color: var(--text-3); }
.wf-frame.is-side { position: sticky; top: calc(var(--top-h) + 20px); aspect-ratio: 1248 / 804; }
.wf-faq-group { max-width: 880px; margin: 34px auto 12px; font: 600 1rem var(--font-ui); color: var(--gold-light); }
.wf-faq .wf-head + .wf-faq-group { margin-top: 0; }
.wf-help { display: flex; align-items: center; gap: 14px; max-width: 880px; margin: 26px auto 0; padding: 18px 22px; border-radius: 16px; font: 400 .95rem/1.5 var(--font-text); color: var(--text-3); background: #0b0810; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.wf-help > svg { width: 22px; height: 22px; flex: 0 0 auto; color: #b5bdff; }
.wf-help b { color: #fff; font-weight: 600; }
.wf-help .wf-btn { margin-left: auto; height: 42px; }

/* legal: contents beside the text, the text at a reading width */
.wf-legal { display: grid; grid-template-columns: 260px minmax(0, 72ch); justify-content: center; gap: 56px; width: min(var(--wrap), 100%); margin: 40px auto 0; padding: 0 var(--gutter); }
.wf-toc { position: sticky; top: calc(var(--top-h) + 24px); align-self: start; }
.wf-toc p { font: 600 .82rem var(--font-ui); color: var(--text-4); }
.wf-toc ol { display: grid; gap: 2px; margin-top: 12px; box-shadow: inset 1px 0 0 var(--line-2); }
.wf-toc a { display: block; padding: 6px 0 6px 14px; font: 500 .88rem/1.4 var(--font-ui); color: var(--text-3); }
@media (hover: hover) { .wf-toc a:hover { color: #fff; } }
.wf-prose { font: 400 1.02rem/1.75 var(--font-text); color: var(--text-2); }
.wf-prose > * + * { margin-top: 14px; }
.wf-prose h2 { margin-top: 44px; scroll-margin-top: calc(var(--top-h) + 20px); font: 600 1.45rem/1.25 var(--font-display); letter-spacing: .005em; color: #fff; }
.wf-prose h2:first-child { margin-top: 0; }
.wf-prose h3 { margin-top: 28px; font: 600 1.1rem/1.35 var(--font-ui); color: #fff; }
.wf-prose ul, .wf-prose ol { display: grid; gap: 8px; padding-left: 22px; }
.wf-prose ul { list-style: disc; }
.wf-prose ol { list-style: decimal; }
.wf-prose li::marker { color: var(--gold); }
.wf-prose a { color: var(--teal-light); text-decoration: underline; text-decoration-color: rgba(var(--teal-rgb), .5); text-underline-offset: 3px; }
.wf-prose strong { font-weight: 700; color: #fff; }
.wf-prose table { width: 100%; border-collapse: collapse; font: 400 .92rem/1.5 var(--font-ui); }
.wf-prose th, .wf-prose td { padding: 10px 12px; text-align: left; vertical-align: top; box-shadow: inset 0 -1px 0 var(--line-1); }
.wf-prose th { font-weight: 600; color: #fff; background: var(--fill-1); }
/* an owner field still to fill: visible on purpose, so nothing is published half done */
.wf-prose mark.wf-ph { padding: 1px 6px; border-radius: 6px; font: 600 .86em var(--font-ui); color: #1a1205; background: #fbbf24; }
.wf-legal-more h2 { font: 600 1.1rem var(--font-ui); color: #fff; }
.wf-legal-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin-top: 16px; }
.wf-legal-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 14px; font: 600 .92rem var(--font-ui); color: var(--text-2); background: #0b0810; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.wf-legal-links svg { width: 16px; height: 16px; color: var(--text-4); }
@media (hover: hover) { .wf-legal-links a:hover { color: #fff; box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .7); } }

/* ---------- 404 (wf-lost): the hero's language; Alya's "could not find it" drawing in a medallion, the code in metal ---------- */
.wf-lost { padding-bottom: 40px; }
.wf-lost-seal { position: relative; width: 100px; height: 100px; margin-bottom: 10px; }
.wf-lost-seal::before { content: ''; position: absolute; inset: -30px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--accent-rgb), .42), rgba(var(--accent-rgb), .1) 44%, transparent 68%); animation: wf-breathe 5.5s ease-in-out infinite alternate; }
.wf-lost-seal img { position: relative; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 0; background: radial-gradient(circle at 50% 30%, #2a1a26, #120c16 72%); }
/* the ring sits inside the medallion, over the picture, so nothing outside can cut it */
.wf-lost-seal::after { content: ''; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), inset 0 -20px 28px -18px rgba(var(--accent-rgb), .6); }
.wf-hero.is-still .wf-lost-seal::before { animation-play-state: paused; }
.wf-lost-code { font: 600 clamp(4.5rem, 2rem + 5vw, 7rem)/.84 var(--font-display); letter-spacing: -.02em; background: linear-gradient(180deg, #fff 16%, #e2d2db 48%, #8f7c8a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 16px 44px rgba(var(--accent-rgb), .38)); }
.wf-lost-title { margin-top: 12px; font: 600 clamp(1.6rem, 1.15rem + 1.3vw, 2.3rem)/1.15 var(--font-display); color: #fff; }
.wf-lost .wf-lead { margin-top: 12px; }
.wf-lost .wf-lead b { white-space: normal; overflow-wrap: anywhere; }
.wf-lost-go { margin-top: 30px; font: 500 .86rem var(--font-ui); color: var(--text-4); }
.wf-lost-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; width: min(1000px, 100%); margin-top: 14px; text-align: left; }
.wf-lost-cards a { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 16px; background: linear-gradient(180deg, #120d18, #0a0710); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); transition: box-shadow .15s var(--ease-out); }
.wf-lost-cards .t { display: grid; gap: 2px; flex: 1; min-width: 0; }
.wf-lost-cards b { font: 600 .98rem var(--font-ui); color: #fff; }
.wf-lost-cards .t span { font: 400 .84rem/1.4 var(--font-text); color: var(--text-3); }
.wf-lost-cards > a > svg { width: 17px; height: 17px; flex: 0 0 auto; color: var(--text-4); transition: color .15s var(--ease-out), transform .2s var(--ease-out); }
@media (hover: hover) { .wf-lost-cards a:hover { box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .7); } .wf-lost-cards a:hover > svg { color: var(--gold); transform: translateX(3px); } }

/* ---------- Responsive ---------- */
@media (max-width: 1360px) { .wf-foot-cols { column-gap: 44px; } }
@media (max-width: 1180px) {
  .wf-foot-in { grid-template-columns: minmax(0, 1fr); }
  .wf-foot-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 24px; }
}
@media (max-width: 1100px) {
  .wf-tour-in { grid-template-columns: minmax(0, 1fr); }
  .wf-tour-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scroll-padding-inline: var(--gutter); }
  .wf-tour-tabs::-webkit-scrollbar { display: none; }
  .wf-tab { flex: 0 0 auto; width: auto; padding: 9px 16px 9px 10px; }
  .wf-tab .wf-ic { width: 34px; height: 34px; border-radius: 10px; }
  .wf-tab .wf-ic svg { width: 18px; height: 18px; }
  .wf-tab .t span { display: none; }
  .wf-tab.is-on::before { left: 16%; right: 16%; top: auto; bottom: 0; width: auto; height: 2px; border-radius: 2px; }
  .wf-card.is-lcu { grid-template-columns: minmax(0, 1fr); }
  .wf-card.is-lcu .wf-card-art img { -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 100%); mask-image: linear-gradient(180deg, #000 45%, transparent 100%); }
  .wf-card.is-lcu .wf-card-text { padding: 4px 32px 32px; }
  .wf-steplist, .wf-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wf-buysteps-in { grid-template-columns: minmax(0, 1fr); }
  .wf-frame.is-side { position: relative; top: 0; }
  .wf-legal { grid-template-columns: minmax(0, 72ch); }
  .wf-toc { position: static; }
  .wf-next-in { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 960px) {
  .wf-top { grid-template-columns: auto minmax(0, 1fr); }
  .wf-nav, .wf-top-r > .wf-lang, .wf-top-r > a[aria-label="Discord"] { display: none; }
  .wf-menu-btn { display: inline-flex; }
  /* five figures as 3 + 2, centred, no hairline before the first of a row */
  .wf-stats { display: grid; grid-template-columns: repeat(6, auto); justify-content: center; row-gap: 22px; }
  .wf-stats > div { grid-column: span 2; padding: 2px 22px; }
  .wf-stats > div:nth-child(4) { grid-column: 2 / span 2; box-shadow: none; }
  .wf-feats > div { padding: 0 20px; }
  .wf-feats h3 { display: flex; align-items: flex-end; justify-content: center; min-height: 2.6em; }
  .wf-pin { display: none; }
  .wf-tiers { grid-template-columns: minmax(0, 1fr); }
  .wf-tier-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wf-lost-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wf-reqs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .wf-reqs > div { padding: 0 14px; }
  .wf-reqs > div:nth-child(odd) { box-shadow: none; }
  .wf-reqs > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .wf-cta-in { grid-template-columns: minmax(0, 1fr); padding: 44px 36px; }
  .wf-invite { justify-self: center; margin-top: 150px; }
}
@media (max-width: 720px) {
  .wf-bento { grid-template-columns: minmax(0, 1fr); }
  .wf-tier-stack { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .wf-sec { padding-top: 84px; }
  .wf-hero { padding-top: calc(var(--top-h) + 36px); }
  .wf-seal { width: 92px; height: 92px; }
  .wf-seal img { width: 58px; height: 58px; }
  .wf-h1 { font-size: clamp(2.2rem, 1.2rem + 4.6vw, 2.7rem); }
  .wf-lead { font-size: 1.08rem; }
  .wf-hero-go { flex-direction: column; align-self: stretch; }
  .wf-hero-go .wf-btn { width: 100%; }
  .wf-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .wf-stats > div, .wf-stats > div:nth-child(4) { grid-column: auto; padding: 0 10px; }
  .wf-stats > div:nth-child(even) { box-shadow: inset 1px 0 0 var(--line-2); }
  .wf-stats > div:nth-child(odd) { box-shadow: none; }
  .wf-feats h3 { min-height: 0; }
  .wf-stats > div:last-child { grid-column: 1 / -1; }
  .wf-stats b { font-size: 1.85rem; }
  .wf-feats { grid-template-columns: minmax(0, 1fr); gap: 30px; margin-top: 0; }
  .wf-feats > div + div::before { left: 20%; right: 20%; top: -15px; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, transparent, var(--line-3), transparent); }
  .wf-pin { display: none; }
  .wf-card-text { padding: 4px 22px 26px; }
  .wf-card.is-lcu .wf-card-text { padding: 4px 22px 26px; }
  .wf-ui-lcu { right: 16px; bottom: 16px; }
  .wf-tier-facts { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .wf-tier-facts li { display: flex; align-items: center; gap: 10px; padding: 12px 0; }
  .wf-tier, .wf-tier.is-standard { padding: 26px 22px; }
  .wf-tier .wf-price.is-big { font-size: 3rem; }
  .wf-ticks.is-two { grid-template-columns: minmax(0, 1fr); }
  .wf-q summary { padding: 18px 20px; }
  .wf-q p { padding: 0 20px 20px; }
  .wf-cta { padding-top: 100px; }
  .wf-cta-in { padding: 34px 22px; }
  .wf-cta-go .wf-btn { width: 100%; }
  .wf-invite { width: 100%; }
  .wf-invite-alya { right: -8px; width: 180px; top: -150px; }
  /* icon only, the word stays for screen readers */
  .wf-top-r .is-get span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .wf-top-r .is-get { width: 40px; padding: 0; }
  .wf-foot-in { padding-top: 48px; }
  .wf-foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wf-lost-cards { grid-template-columns: minmax(0, 1fr); }
  .wf-steplist, .wf-groups { grid-template-columns: minmax(0, 1fr); }
  .wf-reqs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wf-reqs > div { padding: 0 10px; }
  .wf-reqs > div:nth-child(odd) { box-shadow: none; }
  .wf-reqs > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .wf-next-in, .wf-safe { padding: 26px 22px; }
  .wf-next-go .wf-btn { width: 100%; }
  .wf-help { flex-wrap: wrap; }
  .wf-help .wf-btn { margin-left: 0; width: 100%; }
  .wf-rule { padding: 18px 16px 18px; }
  .wf-rule-match { grid-template-columns: minmax(0, 1fr); gap: 6px; margin-left: 0; }
  .wf-rule-eq { justify-self: center; }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .wf-orbs i, .wf-seal::before, .wf-lost-seal::before { animation: none !important; }
}
