@font-face { font-family: 'Nunito'; font-weight: 700; font-style: normal; font-display: swap; src: url('fonts/nunito-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 800; font-style: normal; font-display: swap; src: url('fonts/nunito-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 900; font-style: normal; font-display: swap; src: url('fonts/nunito-latin-900-normal.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-weight: 400; font-style: normal; font-display: swap; src: url('fonts/lato-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-weight: 700; font-style: normal; font-display: swap; src: url('fonts/lato-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-weight: 900; font-style: normal; font-display: swap; src: url('fonts/lato-latin-900-normal.woff2') format('woff2'); }
/* Evochi website.
   Layout: the page is a slice of the Evochi world. Sky and meadow up top, parchment cards like the
   game's UI in the middle, and a grass-topped dirt block as the footer. One light look on purpose:
   the brand lives in a sunny daytime meadow (style guide Appendix A tokens). */
:root {
  --ink-900: #3B2923; --ink-700: #684C3C; --ink-500: #8E7462;
  --cream-50: #FFF9F0; --cream-100: #FFF0DE; --cream-200: #F4E2CD;
  --parchment-100: #F8EBDD; --parchment-200: #EED9C2;
  --outline-400: #C9A78C; --card-edge: #E3CBB1; --card-bevel: #D8BD9F;
  --gold-100: #FFE5A2; --gold-300: #F9CA70; --gold-500: #F4B84E; --gold-700: #C8832C; --gold-900: #80531F;
  --meadow-100: #E5F2CF; --meadow-300: #B7D98B; --meadow-500: #82B75E; --meadow-700: #477B3A;
  --sky-top: #5FB1E6; --sky-100: #D6EDFB; --sky-400: #84C4E8; --water-600: #399CC7;
  --feet-500: #926244; --feet-700: #6D4735; --dirt-900: #4E3226;
  --coral-500: #EC947C; --red-500: #D85F51;

  --font-game: 'Nunito', 'Lato', ui-rounded, system-ui, sans-serif;
  --font-body: 'Lato', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --step--1: 0.875rem;  /* 14 */
  --step-0: 1.0625rem;  /* 17 */
  --step-1: 1.25rem;    /* 20 */
  --step-2: clamp(1.375rem, 1.1rem + 0.9vw, 1.625rem);
  --step-3: clamp(1.875rem, 1.3rem + 2.2vw, 2.75rem);
  --step-4: clamp(2rem, 1.3rem + 2.6vw, 3rem);
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --head-h: 64px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream-50); color: var(--ink-700); font: 400 var(--step-0)/1.6 var(--font-body);
  overflow-x: hidden; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--meadow-700); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--ink-900); }
:focus-visible { outline: 3px solid var(--water-600); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font-game); color: var(--ink-900); margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h2 { font-size: var(--step-4); font-weight: 900; line-height: 1.1; }
h3 { font-size: var(--step-1); font-weight: 800; line-height: 1.25; }
p { margin: 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.num { font-family: var(--font-game); font-weight: 800; font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink-900); color: var(--cream-50); padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* --------------------------------------------------------------- shared pieces */
.tag { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 2px 11px; border-radius: 9px;
  font: 800 0.8125rem/1.2 var(--font-game); letter-spacing: 0.04em; text-transform: uppercase;
  background: linear-gradient(var(--gold-100), var(--gold-300)); color: var(--gold-900); border: 1.5px solid #E3A64A; }
.tag { justify-self: start; }
.tag.green { background: var(--meadow-100); color: var(--meadow-700); border-color: #CDE5B0; }
.tag.cream { background: #F6EBDD; color: var(--ink-700); border-color: #E5D3BE; }
.tag img { width: 18px; height: 18px; }

.card { position: relative; background: rgba(255, 249, 240, 0.97); border: 1.5px solid var(--card-edge); border-radius: 18px;
  box-shadow: 0 3px 0 var(--card-bevel), 0 10px 24px rgba(80, 50, 25, 0.10); }

.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px;
  border-radius: 12px; border: 2px solid var(--gold-700); cursor: pointer; font: 900 1.0625rem/1 var(--font-game); color: var(--ink-900);
  text-decoration: none; background: linear-gradient(180deg, #FFE5A2 0%, #F9CA70 38%, #F4B84E 70%, #E9A541 100%);
  box-shadow: inset 0 2px 0 rgba(255,255,255,0.55), inset 0 -3px 0 rgba(200,131,44,0.55), 0 4px 0 var(--gold-700), 0 6px 12px rgba(120,70,20,0.2);
  transition: transform 0.06s ease, box-shadow 0.06s ease; text-shadow: 0 1px 0 rgba(255,255,255,0.35); white-space: nowrap; }
.btn:hover { color: var(--ink-900); filter: brightness(1.03); }
.btn:active { transform: translateY(2px); box-shadow: inset 0 2px 0 rgba(255,255,255,0.45), inset 0 -2px 0 rgba(200,131,44,0.5), 0 2px 0 #A86C29; }
.btn.cream { border-color: #D6BFA4; background: linear-gradient(180deg, #FFFBF4 0%, #F6E9D8 60%, #EEDCC6 100%);
  box-shadow: inset 0 2px 0 rgba(255,255,255,0.8), inset 0 -3px 0 rgba(200,170,140,0.35), 0 4px 0 #CDB396, 0 6px 12px rgba(100,70,40,0.12); }
.btn.cream:active { box-shadow: 0 2px 0 #CDB396; }
.btn.sm { min-height: 44px; padding: 0 14px; font-size: 0.9375rem; border-radius: 10px; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* store buttons: dark like the official badges, so swapping in the official artwork later keeps the layout */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { flex: 0 1 196px; display: inline-flex; align-items: center; gap: 10px; min-height: 58px; min-width: 176px; padding: 8px 18px 8px 14px;
  border-radius: 14px; background: linear-gradient(180deg, #4A352D, var(--ink-900)); color: var(--cream-50); text-decoration: none;
  border: 2px solid #23170F; box-shadow: inset 0 2px 0 rgba(255,255,255,0.12), 0 4px 0 #23170F, 0 8px 16px rgba(40,24,10,0.22);
  transition: transform 0.06s ease, box-shadow 0.06s ease; }
.store:hover { color: #fff; background: linear-gradient(180deg, #57403A, #45302A); }
.store:active { transform: translateY(2px); box-shadow: inset 0 2px 0 rgba(255,255,255,0.1), 0 2px 0 #23170F; }
.store svg { width: 28px; height: 28px; flex: none; color: var(--gold-300); }
.store span { display: grid; line-height: 1.1; text-align: left; }
.store small { font: 700 0.75rem/1.2 var(--font-body); color: #E9D8C6; letter-spacing: 0.01em; }
.store b { font: 900 1.25rem/1.15 var(--font-game); letter-spacing: 0.005em; }
html.is-android .stores .store.ios { order: 2; }

/* --------------------------------------------------------------- header */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: rgba(255, 249, 240, 0.92);
  -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1.5px solid rgba(227, 203, 177, 0.8); }
.site-head .wrap { height: var(--head-h); display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 34px; width: auto; filter: drop-shadow(0 2px 0 rgba(60,35,20,0.18)); }
.site-nav { display: flex; gap: 4px; margin-left: auto; }
.site-nav a { font: 800 0.9375rem/1 var(--font-game); color: var(--ink-700); text-decoration: none; padding: 10px 12px; border-radius: 10px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--parchment-200); color: var(--ink-900); }
.site-head .btn { margin-left: 4px; }
@media (max-width: 860px) { .site-nav { display: none; } .site-head .btn { margin-left: auto; } }

/* --------------------------------------------------------------- hero */
.hero { position: relative; background: var(--sky-top); }
.hero-stage { position: relative; height: clamp(640px, 52vw, 900px); overflow: hidden; container-type: size;
  --ax: 0.3; --ay: 0.62; }
.hero-art { position: absolute; --w: max(100cqw, 200cqh); --h: max(100cqh, 50cqw); width: var(--w); height: var(--h);
  left: calc((100cqw - var(--w)) * var(--ax)); top: calc((100cqh - var(--h)) * var(--ay)); }
.hero-art > img.scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* grass-block edge: the vista reads as a chunk cut from the world */
.hero-stage::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 30px; z-index: 3; pointer-events: none;
  background:
    linear-gradient(90deg, var(--meadow-700) 0 16px, transparent 16px 40px, var(--meadow-700) 40px 48px, transparent 48px) 0 6px / 64px 8px repeat-x,
    linear-gradient(var(--meadow-700), var(--meadow-700)) 0 0 / 100% 6px no-repeat,
    linear-gradient(180deg, var(--feet-500) 0 62%, var(--feet-700) 62%); }
.pet { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: calc(var(--w) * 1%); aspect-ratio: var(--ar);
  translate: calc(var(--gx) * -1%) calc(var(--gy) * -1%); padding: 0; border: 0; background: none; cursor: pointer; z-index: 2;
  -webkit-tap-highlight-color: transparent; }
.pet img { width: 100%; height: 100%; position: relative; z-index: 1; transform-origin: 50% 90%; animation: bob 2.6s ease-in-out infinite; }
.pet::before { content: ''; position: absolute; left: calc(var(--gx) * 1% - 34%); top: calc(var(--gy) * 1% - 7%); width: 68%; height: 12%;
  border-radius: 50%; background: radial-gradient(closest-side, rgba(52, 70, 30, 0.38), rgba(52, 70, 30, 0)); }
.pet:focus-visible { outline: 3px solid var(--cream-50); outline-offset: 2px; border-radius: 30%; }
.pet.s01 { --x: 50.716; --y: 71.892; --w: 9.064; --gx: 50.121; --gy: 89.227; --ar: 0.88; }
.pet.s02 { --x: 62.807; --y: 63.675; --w: 12.084; --gx: 54.591; --gy: 90.4; --ar: 1.06; }
.pet.s02 img { animation-delay: -0.9s; }
.pet.s03 { --x: 76.546; --y: 56.385; --w: 17.918; --gx: 48.682; --gy: 86.367; --ar: 1.2444; }
.pet.s03 img { animation-delay: -1.7s; animation-duration: 3.2s; }
.pet.hop img { animation: hop 0.55s cubic-bezier(.3,.7,.4,1) 1; }
@keyframes bob { 0%, 100% { transform: translateY(0) scale(1, 1); } 50% { transform: translateY(-1.6%) scale(1.01, 0.99); } }
@keyframes hop { 0% { transform: translateY(0) scale(1.06, 0.92); } 35% { transform: translateY(-14%) scale(0.96, 1.05); }
  70% { transform: translateY(0) scale(1.05, 0.94); } 100% { transform: translateY(0) scale(1, 1); } }

.hero-copy { position: absolute; inset: 0; z-index: 4; display: flex; align-items: center; pointer-events: none; }
.hero-copy .wrap { width: 100%; }
.hero-card { pointer-events: auto; width: min(560px, 48%); padding: clamp(22px, 2.6vw, 34px); display: grid; gap: 18px; border-radius: 24px;
  background: rgba(255, 249, 240, 0.95); border: 2px solid var(--outline-400);
  box-shadow: 0 4px 0 var(--card-bevel), 0 18px 40px rgba(40, 60, 30, 0.22); }
.hero-card h1 { display: grid; gap: 14px; }
.hero-card > .tag { justify-self: start; }
.hero-card h1 img { width: min(340px, 78%); filter: drop-shadow(0 3px 0 rgba(60,35,20,0.2)); }
.hero-card h1 span { font-size: var(--step-3); font-weight: 900; line-height: 1.08; }
.hero-card .lede { font-size: 1.125rem; color: var(--ink-700); max-width: 44ch; }
.hero-card .fine { font-size: var(--step--1); color: var(--ink-500); }

.swatch-pill { position: absolute; z-index: 4; right: max(var(--gutter), calc((100cqw - var(--wrap)) / 2 + var(--gutter))); bottom: 52px;
  display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 14px; border-radius: 16px;
  background: rgba(255, 249, 240, 0.94); border: 1.5px solid var(--card-edge); box-shadow: 0 3px 0 var(--card-bevel), 0 8px 18px rgba(40,60,30,0.18); }
.swatch-pill b { font: 800 0.875rem/1 var(--font-game); color: var(--ink-700); }
.swatches { display: flex; gap: 6px; flex-wrap: wrap; }
.swatch { width: 36px; height: 36px; border-radius: 10px; padding: 0; cursor: pointer; border: 2px solid rgba(59,41,35,0.25);
  background: linear-gradient(135deg, var(--c1) 0 40%, var(--c2) 40% 72%, var(--c3) 72%);
  box-shadow: inset 0 2px 0 rgba(255,255,255,0.5), 0 2px 0 rgba(59,41,35,0.18); transition: transform 0.1s ease; }
.swatch:hover { transform: translateY(-2px); }
.swatch[aria-pressed="true"] { border-color: var(--ink-900); box-shadow: 0 0 0 3px var(--gold-500), 0 2px 0 rgba(59,41,35,0.18); }
.swatch[data-palette="amber"] { --c1: #FFF0DE; --c2: #F9CA70; --c3: #F4B84E; }
.swatch[data-palette="forest"] { --c1: #F1F4E5; --c2: #A5CD82; --c3: #78B55B; }
.swatch[data-palette="coral"] { --c1: #FFF0E8; --c2: #F3A78D; --c3: #DB745B; }
.swatch[data-palette="ocean"] { --c1: #F0F7FB; --c2: #97CDEB; --c3: #4C9BCC; }
.swatch[data-palette="amethyst"] { --c1: #F6EEFB; --c2: #C8B1E4; --c3: #9975C9; }
.swatch[data-palette="obsidian"] { --c1: #3E414B; --c2: #6B6473; --c3: #DD6A5B; }

@media (min-width: 900px) and (max-width: 1199px) {
  .hero-card { gap: 14px; }
  .hero-card h1 img { width: min(280px, 72%); }
  .hero-card .lede { font-size: 1.0625rem; }
  .store { min-width: 0; padding-right: 14px; }
}
@media (max-width: 899px) {
  .hero-stage { height: clamp(330px, 92vw, 520px); --ax: 0.8; --ay: 0.6; }
  .hero-copy { position: relative; inset: auto; display: block; margin-top: -40px; padding-bottom: 8px; background: transparent; }
  .hero-copy .wrap { padding-inline: 12px; }
  .hero-card { width: 100%; max-width: 560px; margin-inline: auto; }
  .swatch-pill { display: none; }
}
@media (max-width: 899px) { .hero { background: var(--cream-50); } }

/* --------------------------------------------------------------- sections */
.section { padding-block: clamp(64px, 8vw, 112px); }
.section.alt { background: var(--parchment-100); }
.section-head { display: grid; gap: 14px; max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head p { font-size: 1.125rem; max-width: 60ch; }
.section-head > .tag { justify-self: start; }
.section-head.center > .tag { justify-self: center; }

/* how it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); counter-reset: step; position: relative; }
.steps li { counter-increment: step; display: grid; align-content: start; gap: 12px; padding: 26px 24px 28px; }
.steps .badge { display: flex; align-items: center; gap: 12px; }
.steps .badge::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; flex: none;
  font: 900 1.25rem/1 var(--font-game); color: var(--ink-900); background: linear-gradient(#FFE5A2, #F4B84E);
  border: 2px solid var(--gold-700); box-shadow: inset 0 2px 0 rgba(255,255,255,0.5), 0 3px 0 var(--gold-700); }
.steps .badge img { width: 52px; height: 52px; margin-left: auto; }
.steps p { color: var(--ink-700); }
.steps strong { color: var(--ink-900); }
@media (max-width: 820px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* XP calculator */
.xpcalc { margin-top: clamp(20px, 3vw, 32px); padding: clamp(20px, 3vw, 32px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; }
.xpcalc h3 { margin-bottom: 6px; }
.xpcalc .controls { display: grid; gap: 18px; }
.xpcalc label { font: 800 0.9375rem/1.2 var(--font-game); color: var(--ink-900); display: flex; justify-content: space-between; gap: 12px; }
.xpcalc output { font: 900 1.0625rem/1 var(--font-game); color: var(--ink-900); font-variant-numeric: tabular-nums; }
.goal-pick { display: flex; gap: 8px; flex-wrap: wrap; border: 0; padding: 0; margin: 0; }
.goal-pick legend { font: 800 0.9375rem/1.2 var(--font-game); color: var(--ink-900); margin-bottom: 8px; padding: 0; }
.goal-pick input { position: absolute; opacity: 0; pointer-events: none; }
.goal-pick label { cursor: pointer; display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 9px 12px; border-radius: 12px; flex: 0 1 112px; min-width: 0;
  background: #FBF1E4; border: 2px solid #EADAC6; font-weight: 800; }
.goal-pick label small { font: 700 0.75rem/1.2 var(--font-body); color: var(--ink-500); }
.goal-pick input:checked + label { border-color: var(--gold-500); background: #FFF4D6; box-shadow: 0 2px 0 var(--gold-700); }
.goal-pick input:focus-visible + label { outline: 3px solid var(--water-600); outline-offset: 2px; }
input[type="range"] { width: 100%; height: 34px; background: none; accent-color: var(--meadow-500); margin: 0; cursor: pointer; }
.xp-result { display: grid; gap: 12px; padding: 20px; border-radius: 16px; background: #FBF1E4; box-shadow: inset 0 2px 0 rgba(255,255,255,0.7), 0 2px 0 var(--card-bevel); }
.xp-big { display: flex; align-items: baseline; gap: 8px; font: 900 clamp(2.5rem, 2rem + 2vw, 3.25rem)/1 var(--font-game); color: var(--ink-900); font-variant-numeric: tabular-nums; }
.xp-big small { font-size: 1.125rem; color: var(--ink-700); }
.bar { height: 14px; border-radius: 99px; background: #5C4637; padding: 2px; }
.bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(#B7D98B, #82B75E); width: 0; transition: width 0.2s ease; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font: 800 0.8125rem/1 var(--font-game); padding: 6px 9px; border-radius: 8px; background: #EFE6DB; color: var(--ink-500); border: 1.5px solid #DCCBB8; }
.chip.on { background: var(--meadow-100); color: var(--meadow-700); border-color: #CDE5B0; }
.xp-note { font-size: var(--step--1); color: var(--ink-700); }
@media (max-width: 820px) { .xpcalc { grid-template-columns: minmax(0, 1fr); } }

/* lizard family */
.family { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.form-card { padding: 18px 18px 24px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.form-card .stagebox { position: relative; aspect-ratio: 4 / 3; border-radius: 14px;
  background: radial-gradient(32% 6% at 50% 93%, rgba(90, 62, 40, 0.22), transparent), radial-gradient(circle at 50% 40%, #FFF9EC, #F2E3CF 75%); }
.form-card .stagebox img { position: absolute; left: 8%; width: 84%; bottom: 7%; height: 70%; object-fit: contain; object-position: 50% 100%; }
.form-card .stagebox.s02 img { height: 78%; }
.form-card .stagebox.s03 img { height: 88%; }
.form-card .title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.form-card .dex { font: 800 0.8125rem/1 var(--font-game); color: var(--ink-500); }
.form-card .req { display: flex; align-items: center; gap: 8px; font: 800 0.875rem/1.3 var(--font-game); color: var(--meadow-700); }
.form-card .req img { width: 24px; height: 24px; }
.family-swatches { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.family-swatches b { font: 800 1rem/1 var(--font-game); color: var(--ink-900); }
.family-swatches output { font: 800 0.9375rem/1 var(--font-game); color: var(--ink-700); min-width: 6.5em; }
@media (max-width: 820px) { .family { grid-template-columns: minmax(0, 1fr); max-width: 460px; margin-inline: auto; } }

/* wardrobe + market */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split .copy { display: grid; gap: 18px; align-content: start; }
.split .copy p { max-width: 54ch; }
.looks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.look { padding: 14px 14px 16px; display: grid; gap: 10px; min-width: 0; align-content: start; }
.look .lookbox { position: relative; aspect-ratio: 1 / 0.8; border-radius: 12px;
  background: radial-gradient(32% 6% at 50% 90%, rgba(90, 62, 40, 0.2), transparent), radial-gradient(circle at 50% 45%, #FFF9EC, #F0DFC8 80%); }
.look .lookbox img { position: absolute; inset: 8% 8% 9%; width: 84%; height: 83%; object-fit: contain; object-position: 50% 100%; }
.look b { font: 800 0.9375rem/1.25 var(--font-game); color: var(--ink-900); }
.look ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.look li { display: flex; justify-content: space-between; gap: 8px; font-size: 0.875rem; line-height: 1.35; }
.price { display: inline-flex; align-items: center; gap: 4px; font: 800 0.875rem/1 var(--font-game); color: var(--ink-900); font-variant-numeric: tabular-nums; white-space: nowrap; }
.price img { width: 18px; height: 18px; }
.shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.item { display: grid; justify-items: center; gap: 4px; padding: 10px 8px 12px; border-radius: 14px; background: #FBF1E4; border: 1.5px solid #EADAC6; text-align: center; }
.item > img { width: 64px; height: 64px; }
.item span { font: 800 0.875rem/1.2 var(--font-game); color: var(--ink-900); }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* quests */
.quests { display: grid; gap: 10px; }
.quest { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; }
.quest img { width: 44px; height: 44px; }
.quest b { display: block; font: 800 1rem/1.25 var(--font-game); color: var(--ink-900); }
.quest small { display: block; font-size: 0.875rem; color: var(--ink-700); line-height: 1.35; }
.reward { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 10px; min-height: 36px;
  background: linear-gradient(#FFE5A2, #F9CA70); border: 1.5px solid #E3A64A; font: 900 0.9375rem/1 var(--font-game); color: var(--gold-900); white-space: nowrap; }
.reward img { width: 20px; height: 20px; }

/* screenshots */
.shots-wrap { position: relative; }
.shots { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 23vw, 262px); gap: clamp(16px, 2vw, 26px);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding: 8px var(--gutter) 28px;
  scroll-padding-inline: var(--gutter); scrollbar-width: thin; scrollbar-color: var(--outline-400) transparent; }
.shot { scroll-snap-align: start; margin: 0; display: grid; gap: 14px; align-content: start; }
.phone { position: relative; border-radius: 34px; padding: 9px; background: linear-gradient(160deg, #4A3A33, #2E2420);
  box-shadow: 0 2px 0 #1E1612, 0 18px 30px rgba(40, 24, 10, 0.25); }
.phone img { display: block; border-radius: 26px; width: 100%; aspect-ratio: 780 / 1688; object-fit: cover; background: var(--parchment-100); }
.shot figcaption { display: grid; gap: 2px; padding-inline: 4px; }
.shot figcaption b { font: 800 1.0625rem/1.25 var(--font-game); color: var(--ink-900); }
.shot figcaption span { font-size: 0.9375rem; line-height: 1.45; }
.shots-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: -8px; }
.shots-nav .btn { width: 48px; padding: 0; }

/* gentle by design */
.gentle { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.gentle .portrait { display: grid; place-items: center; padding: 8%; border-radius: 28px; aspect-ratio: 1;
  background: radial-gradient(30% 6% at 50% 80%, rgba(40, 70, 100, 0.22), transparent), radial-gradient(circle at 50% 40%, #E9F3FA, #C9E3F3 70%); }
.gentle .portrait img { width: 86%; }
.promises { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.promises li { padding: 16px 18px; display: grid; gap: 6px; align-content: start; }
.promises b { font: 800 1.0625rem/1.25 var(--font-game); color: var(--ink-900); display: flex; align-items: center; gap: 8px; }
.promises b img { width: 28px; height: 28px; }
.promises p { font-size: 0.9375rem; line-height: 1.5; }
@media (max-width: 900px) { .gentle { grid-template-columns: minmax(0, 1fr); } .gentle .portrait { max-width: 320px; margin-inline: auto; } }
@media (max-width: 600px) { .promises { grid-template-columns: minmax(0, 1fr); } }

/* privacy promise */
.privacy-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(18px, 3vw, 36px); padding: clamp(22px, 3.4vw, 40px); align-items: start; }
.privacy-card > img { width: clamp(72px, 9vw, 110px); }
.privacy-card .body { display: grid; gap: 16px; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; }
.facts li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 0.96875rem; line-height: 1.5; }
.facts li::before { content: ''; width: 22px; height: 22px; margin-top: 1px; border-radius: 6px; background: var(--meadow-500)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFF9F0' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat;
  box-shadow: 0 2px 0 var(--meadow-700); }
.facts strong { color: var(--ink-900); }
@media (max-width: 700px) { .privacy-card { grid-template-columns: minmax(0, 1fr); } .facts { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; margin-inline: auto; }
.faq details { padding: 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 18px 20px; font: 800 1.125rem/1.3 var(--font-game); color: var(--ink-900); border-radius: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; margin-left: auto; flex: none; width: 30px; height: 30px; border-radius: 9px; background: #FBF1E4
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23684C3C' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  border: 1.5px solid #EADAC6; transition: transform 0.15s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 20px 20px; display: grid; gap: 10px; max-width: 70ch; }

/* final call to action */
.cta-final { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center;
  background: linear-gradient(180deg, var(--sky-top) 0%, #9ED2EF 62%, var(--sky-100) 100%); border: 2px solid #4C9BCC; box-shadow: 0 4px 0 #3F86B3, 0 18px 40px rgba(30, 80, 120, 0.2); }
.cta-final .copy { display: grid; gap: 18px; padding: clamp(18px, 2.4vw, 28px); border-radius: 20px; background: rgba(255, 249, 240, 0.95); border: 2px solid var(--outline-400); box-shadow: 0 3px 0 var(--card-bevel); }
.cta-final .copy p { max-width: 46ch; }
.cta-final .trio { display: flex; align-items: flex-end; justify-content: center; gap: 2%; position: relative; padding-bottom: 26px; }
.cta-final .trio::after { content: ''; position: absolute; left: 4%; right: 4%; bottom: 0; height: 34px; border-radius: 6px;
  background: linear-gradient(180deg, var(--meadow-500) 0 10px, var(--feet-500) 10px 22px, var(--feet-700) 22px); box-shadow: inset 0 2px 0 rgba(255,255,255,0.25); }
.cta-final .trio img { position: relative; z-index: 1; margin-bottom: 4px; }
.cta-final .trio img:nth-child(1) { width: 27%; }
.cta-final .trio img:nth-child(2) { width: 32%; }
.cta-final .trio img:nth-child(3) { width: 40%; }
@media (max-width: 860px) { .cta-final { grid-template-columns: minmax(0, 1fr); } .cta-final .trio { order: -1; max-width: 460px; width: 100%; margin-inline: auto; } }

/* --------------------------------------------------------------- footer: a grass-topped dirt block */
.site-foot { margin-top: clamp(64px, 8vw, 112px); position: relative; color: #F6E7D6; background: var(--feet-700);
  padding-block: 64px 40px; padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); }
.site-foot::before { content: ''; position: absolute; left: 0; right: 0; top: -22px; height: 30px;
  background:
    linear-gradient(90deg, var(--meadow-500) 0 16px, transparent 16px 24px, var(--meadow-500) 24px 56px, transparent 56px) 0 22px / 64px 8px repeat-x,
    linear-gradient(180deg, #8FCF61 0 6px, var(--meadow-500) 6px 22px, transparent 22px); }
.site-foot a { color: #FFF3E7; }
.site-foot a:hover { color: var(--gold-300); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 28px; }
.foot-grid img { height: 36px; width: auto; margin-bottom: 12px; }
.foot-grid h2 { font: 800 0.9375rem/1.2 var(--font-game); color: #FFE5A2; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-grid p { font-size: 0.9375rem; max-width: 36ch; }
.foot-legal { margin-top: 40px; padding-top: 22px; border-top: 1.5px solid rgba(255, 240, 222, 0.18); display: grid; gap: 8px; font-size: 0.8125rem; color: #E1CBB6; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* --------------------------------------------------------------- document pages (privacy, terms, support, deletion) */
.doc-hero { background: linear-gradient(180deg, var(--sky-100), var(--cream-50)); padding-block: clamp(36px, 5vw, 64px) clamp(24px, 3vw, 36px); }
.doc-hero .wrap { display: grid; gap: 12px; }
.doc-hero h1 { font-size: var(--step-4); font-weight: 900; line-height: 1.1; }
.doc-hero p { max-width: 62ch; font-size: 1.125rem; }
.doc-hero .meta { font-size: var(--step--1); color: var(--ink-500); }
.doc-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.toc { position: sticky; top: calc(var(--head-h) + 20px + env(safe-area-inset-top, 0px)); padding: 16px 14px; font-size: 0.9375rem; }
.toc b { display: block; font: 800 0.8125rem/1 var(--font-game); text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-500); margin: 0 6px 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 6px 8px; border-radius: 8px; color: var(--ink-700); text-decoration: none; line-height: 1.3; }
.toc a:hover { background: var(--parchment-200); color: var(--ink-900); }
.doc { max-width: 72ch; display: grid; gap: 18px; }
.doc h2 { font-size: var(--step-2); font-weight: 900; margin-top: 22px; scroll-margin-top: calc(var(--head-h) + 16px); }
.doc h3 { font-size: 1.125rem; margin-top: 6px; }
.doc ul, .doc ol { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; }
.doc li::marker { color: var(--gold-700); }
.doc strong { color: var(--ink-900); }
.doc .summary { padding: 20px 22px; display: grid; gap: 10px; }
.doc .summary h2 { margin-top: 0; font-size: 1.25rem; }
.doc table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.45; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1.5px solid #EADAC6; }
.doc th { font: 800 0.875rem/1.3 var(--font-game); color: var(--ink-900); background: #FBF1E4; }
.table-scroll { overflow-x: auto; border-radius: 14px; border: 1.5px solid #EADAC6; background: var(--cream-50); }
.doc .steps-box { padding: 18px 20px; display: grid; gap: 10px; }
.doc .steps-box ol { gap: 8px; }
.path { font: 800 0.9375rem/1.4 var(--font-game); color: var(--ink-900); background: #FBF1E4; border: 1.5px solid #EADAC6; padding: 1px 7px; border-radius: 7px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
@media (max-width: 900px) { .doc-layout { grid-template-columns: minmax(0, 1fr); } .toc { position: static; } }

.copybox { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; background: #FBF1E4; border: 1.5px solid #EADAC6; }
.copybox code { font: 800 1rem/1.4 var(--font-game); color: var(--ink-900); user-select: all; overflow-wrap: anywhere; }
.copybox .btn { margin-left: auto; }
.copied { font: 800 0.875rem/1 var(--font-game); color: var(--meadow-700); }
pre.template { margin: 0; padding: 14px 16px; border-radius: 14px; background: #FBF1E4; border: 1.5px solid #EADAC6; white-space: pre-wrap; font: 400 0.9375rem/1.5 var(--font-body); color: var(--ink-900); user-select: all; }

/* placeholders that the studio fills in before launch (see site/config.json) */
.fill { background: #FFF0B8; color: var(--gold-900); border-radius: 5px; padding: 0 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; font-weight: 700; }
.draft-banner { background: #FFF0B8; color: var(--gold-900); border-bottom: 1.5px solid #E3A64A; font: 700 0.9375rem/1.45 var(--font-body); }
.draft-banner .wrap { padding-block: 10px; }

.notfound { min-height: 50vh; display: grid; place-items: center; text-align: center; padding-block: 64px; }
.notfound .wrap { display: grid; gap: 16px; justify-items: center; }
.notfound img { width: 200px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pet img, .pet.hop img { animation: none; }
  .btn, .store, .swatch, .bar i { transition: none; }
}

/* --------------------------------------------------------------- beta waitlist */
.wl { display: grid; gap: 16px; }
.wl-count { display: grid; gap: 8px; padding: 14px 16px; border-radius: 16px; background: #FBF1E4; border: 1.5px solid #EADAC6; box-shadow: inset 0 2px 0 rgba(255,255,255,0.7), 0 2px 0 var(--card-bevel); }
.wl-count-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.wl-count-row > .num { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem); font-weight: 900; color: var(--ink-900); line-height: 1; }
.wl-of { font: 700 0.9375rem/1.3 var(--font-body); color: var(--ink-700); }
.wl-count-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-size: var(--step--1); color: var(--ink-700); }
.wl-count .tag.rose { text-transform: none; letter-spacing: 0; font-size: 0.8125rem; min-height: 26px; }
.wl-eggs { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.wl-eggs legend { font: 800 0.9375rem/1.2 var(--font-game); color: var(--ink-900); padding: 0; margin-bottom: 2px; }
.wl-egg-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.wl-egg-row input { position: absolute; opacity: 0; pointer-events: none; }
.wl-egg-row label { display: grid; justify-items: center; gap: 2px; padding: 6px 2px 6px; border-radius: 12px; background: #FBF1E4; border: 2px solid #EADAC6; cursor: pointer; font: 800 0.6875rem/1.2 var(--font-game); color: var(--ink-700); transition: transform 0.08s ease; min-width: 0; }
.wl-egg-row label img { width: 100%; max-width: 64px; height: auto; }
.wl-egg-row label:hover { transform: translateY(-2px); }
.wl-egg-row input:checked + label { border-color: var(--gold-500); background: #FFF4D6; color: var(--ink-900); box-shadow: 0 2px 0 var(--gold-700); }
.wl-egg-row input:focus-visible + label { outline: 3px solid var(--water-600); outline-offset: 2px; }
.wl-row { display: flex; gap: 10px; flex-wrap: wrap; }
.wl-input { flex: 1 1 220px; min-width: 0; min-height: 48px; padding: 0 16px; border-radius: 12px; border: 2px solid #D6BFA4; background: var(--cream-100); font: 700 1.0625rem/1 var(--font-body); color: var(--ink-900); }
.wl-input::placeholder { color: var(--ink-500); font-weight: 400; }
.wl-input:focus { outline: 3px solid var(--water-600); outline-offset: 2px; border-color: var(--gold-500); }
.wl-row .btn { flex: 1 1 auto; }
.wl-fine { font-size: var(--step--1); color: var(--ink-500); margin: 0; }
.wl-status { margin: 0; min-height: 1.4em; font: 700 0.9375rem/1.4 var(--font-body); color: var(--red-500); }
.wl-status.ok { color: var(--meadow-700); }
.wl-form.busy .btn { opacity: 0.7; pointer-events: none; }
.cf-turnstile { min-height: 65px; }
.wl-done { display: grid; gap: 14px; padding: 16px; border-radius: 16px; background: #FBF1E4; border: 1.5px solid #EADAC6; box-shadow: inset 0 2px 0 rgba(255,255,255,0.7), 0 2px 0 var(--card-bevel); }
.wl-done-head { display: flex; gap: 14px; align-items: center; }
.wl-done-egg { width: 96px; height: auto; flex: none; }
.wl-done-kicker { margin: 0; font: 800 0.875rem/1.2 var(--font-game); color: var(--meadow-700); text-transform: uppercase; letter-spacing: 0.06em; }
.wl-done-pos { margin: 2px 0 0; font: 900 clamp(2rem, 1.6rem + 1.6vw, 2.75rem)/1 var(--font-game); color: var(--ink-900); }
.wl-done-sub { margin: 6px 0 0; font-size: 0.9375rem; color: var(--ink-700); }
.wl-done-share { margin: 0; font: 800 0.9375rem/1.3 var(--font-game); color: var(--ink-900); }
.wl-share { display: flex; gap: 8px; flex-wrap: wrap; }
.wl-mini { display: inline-flex; align-items: baseline; gap: 8px; padding: 10px 14px; border-radius: 12px; background: rgba(255,249,240,0.9); border: 1.5px solid var(--card-edge); font: 700 0.9375rem/1.2 var(--font-body); color: var(--ink-700); justify-self: start; }
.wl-mini .num { font-size: 1.5rem; font-weight: 900; color: var(--ink-900); }
.wl-mini[hidden] { display: none; }
/* beta hero: the card carries the form, so the stage grows and the card tightens */
.hero.beta { position: relative; }
@media (min-width: 900px) {
  /* the card sets the height; the vista sits behind it as a full-bleed background layer */
  .hero.beta .hero-stage { position: absolute; inset: 0; height: auto; }
  .hero.beta .hero-copy { position: relative; inset: auto; padding-block: 44px 72px; min-height: 700px; }
}
.hero.beta .hero-card { gap: 14px; padding: clamp(20px, 2.2vw, 28px); }
@media (min-width: 900px) { .hero.beta .hero-card { width: min(580px, 50%); } }
.hero.beta .hero-card h1 { gap: 10px; }
.hero.beta .hero-card h1 img { width: min(260px, 60%); }
.hero.beta .hero-card h1 span { font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.1rem); }
.hero.beta .hero-card .lede { font-size: 1rem; }
.hero.beta .hero-card > .fine { margin-top: -4px; }
@media (max-width: 899px) { .hero.beta .hero-stage { height: clamp(330px, 92vw, 520px); } }
@media (max-width: 420px) { .wl-egg-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } .wl-egg-row label { font-size: 0.8125rem; } .wl-egg-row label img { max-width: 80px; } }
