/* Anti Brainrot website. One stylesheet, no build step. */

@font-face {
  font-family: "Nunito";
  src: url("/assets/fonts/nunito-latin-var.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --grape: #7B5CFA;
  --grape-shade: #5A3ED6;
  --grape-light: #EEE8FF;
  --sun: #FFB800;
  --sun-shade: #E09A00;
  --sun-light: #FFF4CF;
  --leaf: #3DC255;
  --leaf-shade: #2A9A40;
  --mint: #4FD8B8;
  --sky: #2BB5F5;
  --bubblegum: #FF8FC8;
  --ember: #FF8A1F;
  --ink: #2E2A3B;
  --ink-soft: #5B5670;
  --night: #221E3D;
  --paper: #FBFAFF;
  --card: #FFFFFF;
  --line: #E6E1F5;
  --radius: 24px;
  --wrap: 1120px;
  --font: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { font-weight: 900; line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 7vw, 4.25rem); }
h2 { font-size: clamp(1.85rem, 4.6vw, 2.9rem); }
h3 { font-size: 1.25rem; font-weight: 800; }
p { margin: 0 0 1em; }
a { color: var(--grape-shade); font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--grape); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 8px; }
mark.placeholder { background: #FFE08A; color: var(--ink); padding: 0 .3em; border-radius: 6px; font-weight: 900; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 780px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; }
.skip:focus { top: 12px; color: #fff; }

.ico { display: inline-flex; width: 1.4em; height: 1.4em; flex: none; }
.ico svg { width: 100%; height: 100%; }
.ico-lg { width: 48px; height: 48px; }
.ico-xl { width: 64px; height: 64px; }

.eyebrow { text-transform: uppercase; letter-spacing: .09em; font-size: .8rem; font-weight: 900; color: var(--grape-shade); margin-bottom: .6em; display: flex; align-items: center; gap: .4em; }
.eyebrow-light { color: #fff; }
.eyebrow-sun { color: #9A6A00; }
.bg-night .eyebrow-sun { color: var(--sun); }
.eyebrow-sky { color: #0E6E9C; }
.eyebrow-bubblegum { color: #B23A7A; }
.eyebrow-plus { color: #8A5A00; }
.fine { font-size: .875rem; color: var(--ink-soft); }

/* Buttons with a solid lip, like the app */
.btn, .store-badge {
  display: inline-flex; align-items: center; gap: .6em;
  border-radius: 16px; text-decoration: none; font-weight: 900;
  transition: transform .08s ease, box-shadow .08s ease;
}
.btn { background: var(--grape); color: #fff; padding: 14px 22px; box-shadow: 0 5px 0 var(--grape-shade); overflow-wrap: anywhere; }
.btn:hover { color: #fff; background: #8A6EFF; }
.btn:active, .store-badge:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--grape-shade); }
.store-badge { background: #000; color: #fff; padding: 10px 22px 10px 18px; box-shadow: 0 5px 0 #3b3550; min-height: 60px; }
.store-badge:hover { color: #fff; background: #1b1830; }
.store-badge:active { box-shadow: 0 1px 0 #3b3550; }
.store-badge svg { width: 26px; height: 32px; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.05; }
.store-badge small { font-size: .78rem; font-weight: 700; }
.store-badge strong { font-size: 1.45rem; font-weight: 800; letter-spacing: -.01em; }
.badge-small { min-height: 52px; padding: 8px 18px 8px 14px; }
.badge-small strong { font-size: 1.2rem; }
.badge-small svg { width: 22px; height: 26px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 2px solid var(--grape-light); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 900; font-size: 1.2rem; }
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 3px 0 rgba(46,42,59,.15); }
.brand:hover { color: var(--ink); }
.main-nav { display: none; gap: 4px; margin-left: auto; }
.main-nav a { color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: 12px; font-weight: 800; }
.main-nav a:hover { background: var(--grape-light); color: var(--grape-shade); }
.lang-switch { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 2px solid var(--line); border-bottom-width: 4px; border-radius: 14px; color: var(--ink); text-decoration: none; font-weight: 900; font-size: .95rem; }
.lang-switch:hover { border-color: var(--grape); color: var(--grape-shade); }
@media (min-width: 900px) {
  .main-nav { display: flex; }
  .lang-switch { margin-left: 8px; }
}

/* Hero */
.hero { position: relative; background: var(--grape); color: #fff; overflow: hidden; padding: 40px 0 72px; }
.hero::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: #8E73FF; right: -180px; top: -200px; }
.hero::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: #6B4DF0; left: -120px; bottom: -40px; }
.hero-inner { position: relative; z-index: 1; display: grid; gap: 24px; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero .lead { font-size: 1.2rem; max-width: 34ch; color: #fff; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 8px; }
.hero-note { margin: 0; font-weight: 800; color: #fff; font-size: .95rem; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 48px; z-index: 1; }

.hero-art { position: relative; min-height: 340px; max-width: 460px; width: 100%; margin: 0 auto; }
.hero-art .sun { position: absolute; width: 320px; height: 320px; border-radius: 50%; background: var(--sun); left: 50%; bottom: -150px; margin-left: -140px; box-shadow: inset 0 -14px 0 var(--sun-shade); }
.hero-toni { position: absolute; bottom: -72px; left: 50%; transform: translateX(-38%); width: 260px; z-index: 2; animation: bob 3.2s ease-in-out infinite; }
.q-card { position: absolute; left: 0; top: 34px; z-index: 3; background: #fff; color: var(--ink); border-radius: 22px; padding: 14px 18px 12px; box-shadow: 0 6px 0 rgba(46,42,59,.18); display: flex; flex-direction: column; gap: 6px; min-width: 150px; }
.q-card .q { font-size: 2rem; font-weight: 900; line-height: 1; }
.q-card .a { display: inline-flex; align-items: center; gap: 8px; background: #E4F8E8; border: 2px solid var(--leaf); border-radius: 14px; padding: 4px 10px; font-size: 1.5rem; font-weight: 900; color: #1F7A33; }
.q-card .a svg { width: 26px; height: 26px; }
.chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--ink); font-weight: 900; padding: 6px 12px 6px 8px; border-radius: 999px; box-shadow: 0 4px 0 rgba(46,42,59,.18); font-size: 1rem; }
.chip svg { width: 24px; height: 24px; }
.chip-xp { right: 0; top: 12px; }
.chip-gem { right: 2%; top: 200px; }
.chip-streak { left: 6%; top: 190px; }
@keyframes bob { 0%, 100% { transform: translate(-38%, 0); } 50% { transform: translate(-38%, -8px); } }

@media (min-width: 900px) {
  .hero { padding: 72px 0 110px; }
  .hero-inner { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; }
  .hero-art { min-height: 440px; }
  .hero-art .sun { width: 420px; height: 420px; margin-left: -190px; bottom: -200px; }
  .hero-toni { width: 330px; bottom: -110px; }
  .chip-gem { top: 260px; }
  .chip-streak { top: 250px; left: 0; }
}

/* Sections */
.section { padding: 64px 0; }
.section-tint { background: var(--grape-light); }
.section > .wrap > h2, .section .narrow > h2 { max-width: 22ch; }

.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.step { position: relative; background: var(--card); border: 2px solid var(--line); border-bottom-width: 6px; border-radius: var(--radius); padding: 24px 22px 18px; }
.step h3 { margin-top: 14px; }
.step p { margin: 0; color: var(--ink-soft); }
.step-num { position: absolute; right: 18px; top: 16px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--grape-light); color: var(--grape-shade); font-weight: 900; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.fam-title { margin-top: 48px; }
.families { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.families li { background: var(--card); border: 2px solid var(--line); border-bottom-width: 5px; border-radius: 18px; padding: 12px 14px; display: flex; flex-direction: column; }
.fam-name { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); font-weight: 900; }
.fam-eq { font-size: clamp(1rem, 3.6vw, 1.25rem); font-weight: 900; color: var(--grape-shade); overflow-wrap: anywhere; }
.families li:nth-child(6n+2) .fam-eq { color: #1F7A33; }
.families li:nth-child(6n+3) .fam-eq { color: #0E6E9C; }
.families li:nth-child(6n+4) .fam-eq { color: #B23A7A; }
.families li:nth-child(6n+5) .fam-eq { color: #B4580A; }
.families li:nth-child(6n+6) .fam-eq { color: #8A5A00; }

/* Feature rows mirroring the store screenshots */
.feature { padding: 64px 0; overflow: hidden; }
.bg-sun { background: linear-gradient(180deg, var(--sun-light), #FFF9E6); }
.bg-night { background: var(--night); color: #F1EEFF; }
.bg-night h2 { color: #fff; }
.bg-night .ico svg circle:first-child { fill: #2A9A40; }
.bg-sky { background: linear-gradient(180deg, #DDF3FF, #F0FAFF); }
.bg-bubblegum { background: linear-gradient(180deg, #FFE3F1, #FFF3F9); }
.feature-inner { display: grid; gap: 32px; align-items: center; }
.feature-copy { max-width: 520px; }
.feature-copy h3 { margin-top: 1.2em; font-size: 1.5rem; font-weight: 900; }
.feature-media { display: flex; justify-content: center; }
.shot { width: 100%; max-width: 320px; border-radius: 28px; box-shadow: 0 10px 0 rgba(46,42,59,.12), 0 18px 40px rgba(46,42,59,.12); }
.bg-night .shot { box-shadow: 0 10px 0 rgba(0,0,0,.35); }
.pair { gap: 0; }
.pair .shot { max-width: 300px; width: 50%; }
.pair .shot-l { border-radius: 28px 0 0 28px; }
.pair .shot-r { border-radius: 0 28px 28px 0; }
@media (min-width: 900px) {
  .feature { padding: 88px 0; }
  .feature-inner { grid-template-columns: 1fr 1fr; gap: 56px; }
  .feature-inner.reverse .feature-copy { order: 2; }
  .pair .shot { width: 50%; }
}

.ticks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ico { margin-top: .1em; }

.stat-row { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.stat-row li { background: #fff; border: 2px solid #CBEBFB; border-bottom-width: 5px; border-radius: 18px; padding: 10px 16px; display: flex; align-items: center; gap: 8px; }
.stat-row strong { font-size: 1.6rem; font-weight: 900; color: #0E6E9C; }
.stat-row .ico-lg { width: 34px; height: 34px; }

/* Crew */
.crew { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.crew-card { background: var(--card); border: 2px solid var(--line); border-bottom-width: 6px; border-radius: var(--radius); padding: 0 22px 18px; overflow: hidden; }
.crew-pic { margin: 0 -22px 16px; height: 190px; display: flex; justify-content: center; align-items: flex-end; overflow: hidden; }
.crew-pic img { width: auto; height: 180px; }
.crew-toni .crew-pic { background: var(--grape-light); }
.crew-mila .crew-pic { background: #DDF8F1; }
.crew-oskar .crew-pic { background: var(--sun-light); }
.crew-card p { margin: 0; color: var(--ink-soft); }
@media (min-width: 760px) { .crew { grid-template-columns: repeat(3, 1fr); } }

/* Values */
.values { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.values li { background: #fff; border-radius: var(--radius); padding: 22px; border-bottom: 6px solid #D9CFFF; }
.values h3 { margin-top: 12px; }
.values p { margin: 0; color: var(--ink-soft); }
@media (min-width: 640px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .values { grid-template-columns: repeat(4, 1fr); } }

/* Plus */
.plus-card { position: relative; background: var(--sun-light); border: 3px solid var(--sun); border-bottom-width: 8px; border-radius: 32px; padding: 28px 22px 0; display: grid; gap: 8px; overflow: hidden; }
.plus-card h2 { max-width: 16ch; }
.plus-copy .ico { width: 1.6em; height: 1.6em; }
.plus-art { display: flex; justify-content: center; align-items: flex-end; }
.plus-art img { width: 240px; margin-bottom: -4px; }
@media (min-width: 860px) {
  .plus-card { grid-template-columns: 1.3fr .7fr; padding: 44px 44px 0; }
  .plus-copy { padding-bottom: 36px; }
  .plus-art img { width: 300px; }
}

/* FAQ */
.faq { display: grid; gap: 12px; margin-top: 20px; margin-bottom: 32px; }
.faq details { background: #fff; border: 2px solid var(--line); border-bottom-width: 5px; border-radius: 20px; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; font-weight: 900; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--grape-shade); }
.faq-chev { color: var(--grape); transition: transform .2s ease; }
.faq details[open] .faq-chev { transform: rotate(180deg); }
.faq-a { padding: 0 18px 4px; color: var(--ink-soft); }

/* CTA band */
.cta-band { background: var(--grape); color: #fff; padding: 56px 0 0; overflow: hidden; }
.cta-inner { display: grid; gap: 8px; align-items: end; }
.cta-inner h2 { color: #fff; }
.cta-inner p { color: #fff; max-width: 40ch; }
.cta-inner > div { padding-bottom: 56px; }
.cta-toni { width: 200px; order: 2; justify-self: center; margin-bottom: -2px; }
@media (min-width: 760px) {
  .cta-inner { grid-template-columns: auto 1fr; gap: 48px; }
  .cta-toni { order: 0; width: 260px; }
}

/* Footer */
.site-footer { background: var(--night); color: #CFC9EA; padding: 48px 0 36px; }
.footer-inner { display: grid; gap: 28px; }
.brand-light, .brand-light:hover { color: #fff; }
.footer-brand p { margin: 12px 0 16px; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--sun); }
.footer-nav a { text-decoration: none; overflow-wrap: anywhere; }
.footer-nav a:hover { text-decoration: underline; }
.footer-meta p { margin: 0 0 8px; }
.site-footer .fine { color: #A9A2CC; }
@media (min-width: 860px) {
  .footer-inner { grid-template-columns: 1.2fr 1fr 1.2fr; }
}

/* Documents (privacy, terms, support, imprint) */
.doc-hero { background: var(--grape); color: #fff; overflow: hidden; }
.doc-hero-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-top: 36px; min-height: 170px; }
.doc-hero-inner > div { padding-bottom: 28px; min-width: 0; }
.doc-hero h1 { color: #fff; font-size: clamp(2.1rem, 6vw, 3.4rem); hyphens: manual; margin: 0; }
.doc-updated { margin: 10px 0 0; color: #fff; font-weight: 800; }
.doc-hero-art { width: 120px; flex: none; margin-bottom: -2px; }
@media (min-width: 760px) { .doc-hero-art { width: 170px; } }
.doc { padding-top: 40px; padding-bottom: 72px; }
.doc h2 { font-size: 1.5rem; margin-top: 2em; }
.doc h2:first-child { margin-top: 0; }
.doc ul:not(.ticks) { padding-left: 1.25em; }
.doc li { margin-bottom: .4em; }
.doc .address { background: #fff; border: 2px solid var(--line); border-radius: 18px; padding: 14px 18px; font-weight: 800; }
.doc a { overflow-wrap: anywhere; }
.summary-card, .contact-card { background: var(--grape-light); border-radius: var(--radius); padding: 22px 22px 8px; margin-bottom: 8px; border-bottom: 6px solid #D9CFFF; }
.summary-card h2 { margin-top: 0; font-size: 1.35rem; }
.contact-card { display: grid; gap: 14px; padding-bottom: 24px; }
.contact-card h2 { margin-top: 0; }
@media (min-width: 640px) { .contact-card { grid-template-columns: auto 1fr; align-items: start; } }
.info-list { display: grid; gap: 0; background: #fff; border: 2px solid var(--line); border-radius: 18px; margin: 16px 0 0; overflow: hidden; }
.info-list div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 18px; border-top: 2px solid var(--line); }
.info-list div:first-child { border-top: 0; }
.info-list dt { color: var(--ink-soft); }
.info-list dd { margin: 0; font-weight: 900; text-align: right; }

/* 404 */
.nf { padding: 56px 0 72px; text-align: center; }
.nf-inner { display: flex; flex-direction: column; align-items: center; }
.nf-toni { width: 160px; }
.nf-code { font-size: 4.5rem; font-weight: 900; color: var(--grape); line-height: 1; margin: 12px 0 8px; }
.nf h1 { font-size: clamp(2rem, 6vw, 3rem); }
.nf h2 { margin-top: 1.2em; font-size: 1.6rem; }

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

/* A sun disc behind characters that sit on grape, so the purple hoodie stays readable */
.cta-toni, .doc-hero-art { background: radial-gradient(circle closest-side, var(--sun) 97%, transparent 100%) 50% 118% / 100% 67% no-repeat; }
.site-footer .store-badge { box-shadow: 0 0 0 2px #4A4470, 0 5px 0 #4A4470; }
