/* keimlinge.annico.eu – product page, help and privacy policy of Keimlinge (English: Sproutfolk).
   annico.eu design language (paper, Fraunces headings, Figtree text) with the game's own world:
   a sunny clay meadow on top, the dark root cave with glowing seed leaves below.
   All fonts self-hosted under the SIL OFL 1.1 (fonts/OFL-*.txt). No external resources, no inline
   styles (CSP style-src 'self'). */
@font-face { font-family: "Fredoka"; src: url("fonts/Fredoka.ttf") format("truetype"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/Fraunces-latin-ext.woff2") format("woff2-variations"), url("fonts/Fraunces-latin-ext.woff2") format("woff2"); unicode-range: U+0100-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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/Fraunces-latin.woff2") format("woff2-variations"), url("fonts/Fraunces-latin.woff2") format("woff2"); 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: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("fonts/Figtree-latin-ext.woff2") format("woff2-variations"), url("fonts/Figtree-latin-ext.woff2") format("woff2"); unicode-range: U+0100-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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("fonts/Figtree-latin.woff2") format("woff2-variations"), url("fonts/Figtree-latin.woff2") format("woff2"); 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; }

:root {
  /* annico.eu paper */
  --paper: #f3ecdf;
  --paper-2: #ebe1cf;
  --paper-3: #e2d5bf;
  --ink: #1d2421;
  --ink-2: #48514c;
  --ink-3: #7b7f76;
  --line: rgba(29, 36, 33, .14);
  /* the game */
  --clay: #dca35e;
  --clay-deep: #b6763c;
  --leaf: #7cc04a;
  --leaf-deep: #3f7d2a;
  --moss: #4f9a74;
  --sky: #d9ead9;
  --cave: #131b18;
  --cave-2: #1b2722;
  --cave-3: #24352e;
  --cave-ink: #f7f0dc;
  --cave-ink-2: #c9d3c3;
  --cave-ink-3: #8fa596;
  --cave-line: rgba(247, 240, 220, .13);
  --glow: #f6e27a;
  --glow-core: #fff9c9;
  --crystal: #ffc94d;
  --water: #63c7c4;
  --dusk: #4a3557;
  --dusk-sun: #f08a5d;

  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --round: "Fredoka", ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, sans-serif;
  --wrap: 1180px;
  --gut: clamp(16px, 4.2vw, 56px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--paper); scroll-padding-top: 80px; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.62 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--leaf-deep); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
h1, h2, h3, p, figure { margin: 0; }
:focus-visible { outline: 2.5px solid var(--leaf-deep); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }

/* Language: the source pages hold both texts, lang_pages.py writes one page per language. Hides the other language in
   the bilingual source (opened without the build). Only hides – elements keep their own display. */
html:not([lang="de"]) [data-lang-block="de"],
html[lang="de"] [data-lang-block="en"] { display: none !important; }

.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--paper); text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }

/* ---------------------------------------------------------------- top bar */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px var(--gut);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--round); font-weight: 600; font-size: 24px; line-height: 1; }
.brand:hover { color: var(--ink); }
.brand img { width: 36px; height: 36px; border-radius: 24%; box-shadow: 0 4px 10px rgba(40, 30, 10, .22); }
.top__nav { display: flex; gap: 4px; margin-left: auto; }
.top__nav a { color: var(--ink); text-decoration: none; font-weight: 560; font-size: 15px; padding: 8px 13px; border-radius: 999px; transition: background-color .25s; }
.top__nav a:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.by { color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; opacity: .72; padding: 6px 10px; border-radius: 999px; }
.by:hover { opacity: 1; color: var(--ink); background: color-mix(in srgb, var(--ink) 8%, transparent); }
.top__right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.top__nav + .top__right { margin-left: 8px; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent); flex: none; }
.lang a { display: inline-block; color: var(--ink); text-decoration: none; opacity: .6; padding: 4px 10px; border-radius: 999px; font: 700 12.5px/1.2 var(--sans); letter-spacing: .06em; transition: background-color .25s, opacity .25s, color .25s; }
.lang a:hover { opacity: 1; color: var(--ink); }
.lang a.on { background: var(--ink); color: var(--paper); opacity: 1; }

/* ---------------------------------------------------------------- hero: the sunny meadow */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 110px) 0 clamp(150px, 16vw, 210px); }
.hero__sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 45% at 80% 18%, rgba(255, 224, 150, .65), transparent 70%),
    linear-gradient(180deg, #d4e6dc 0%, #efe7cf 52%, #f6dcb2 100%);
}
.hero__sun { position: absolute; right: 12%; top: 9%; width: clamp(80px, 11vw, 150px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 42% 40%, #ffe6a6, #f6bf62 62%, #eea85a); box-shadow: 0 0 120px 30px rgba(246, 191, 98, .32); }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.1fr); gap: clamp(28px, 4.5vw, 72px); align-items: center; }
.pname { font-family: var(--round); font-weight: 600; font-size: clamp(52px, 8vw, 112px); line-height: .95; letter-spacing: -.01em; color: #5b3a17; margin-bottom: 14px; text-shadow: 0 2px 0 rgba(255, 255, 255, .5); }
.ptag { font-family: var(--display); font-style: italic; font-weight: 420; font-size: clamp(22px, 2vw, 30px); line-height: 1.2; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 72; margin-bottom: 18px; color: var(--ink); max-width: 24ch; }
.plead { font-size: clamp(17px, .4vw + 15px, 19.5px); color: var(--ink-2); max-width: 34rem; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.facts li { font-size: 14px; font-weight: 620; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .45); }
.soon { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; padding: 10px 18px; border-radius: 999px; background: #2b3a2c; color: #fff8e6; font-size: 15px; font-weight: 640; }
.soon__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 10px 4px rgba(246, 226, 122, .6); }
a.soon { text-decoration: none; transition: background .2s, transform .2s; }
a.soon:hover { color: #fff8e6; background: #1f2b20; transform: translateY(-1px); }

.device { position: relative; border-radius: clamp(18px, 2.4vw, 30px); padding: clamp(8px, 1vw, 13px); background: linear-gradient(160deg, #2f3330, #1b1e1c); box-shadow: 0 40px 80px -30px rgba(60, 40, 10, .55), 0 0 0 1px rgba(255, 255, 255, .06) inset; transform: rotate(-1.2deg); }
.device img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: clamp(10px, 1.4vw, 18px); }
.device figcaption { position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%) rotate(1.2deg); white-space: nowrap; font-size: 13px; color: var(--ink-3); }

/* the walking sprouts on the hill */
.hill { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(120px, 14vw, 190px); z-index: 1; pointer-events: none; }
.hill svg { width: 100%; height: 100%; }
.hill .h1 { fill: #9ccc6a; }
.hill .h2 { fill: #7fb552; }
.hill .soil { fill: #b98455; }
.walkers { position: absolute; left: 0; right: 0; bottom: clamp(64px, 7.4vw, 100px); height: 56px; z-index: 2; pointer-events: none; }
.walker { position: absolute; bottom: 0; width: 40px; height: 54px; animation: walk 26s linear infinite; }
.walker svg { width: 100%; height: 100%; animation: bob .55s ease-in-out infinite alternate; }
.walker:nth-child(2) { animation-delay: -4.2s; }
.walker:nth-child(3) { animation-delay: -8.6s; }
.walker:nth-child(4) { animation-delay: -13s; }
.walker:nth-child(5) { animation-delay: -17.4s; }
.walker:nth-child(6) { animation-delay: -21.8s; }
@keyframes walk { from { left: -60px; } to { left: calc(100% + 60px); } }
@keyframes bob { from { transform: translateY(0) rotate(-3deg); } to { transform: translateY(-3px) rotate(3deg); } }
@media (prefers-reduced-motion: reduce) {
  .walker, .walker svg { animation: none; }
  .walker:nth-child(1) { left: 8%; } .walker:nth-child(2) { left: 22%; } .walker:nth-child(3) { left: 38%; }
  .walker:nth-child(4) { left: 61%; } .walker:nth-child(5) { left: 77%; } .walker:nth-child(6) { left: 90%; }
}

/* ---------------------------------------------------------------- sections on paper */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.h2 { font-family: var(--display); font-weight: 500; font-size: clamp(30px, 3vw, 46px); line-height: 1.06; letter-spacing: -.02em; font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 96; text-wrap: balance; max-width: 22ch; }
.intro { color: var(--ink-2); max-width: 40rem; margin-top: 14px; font-size: clamp(17px, .4vw + 15px, 19px); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); margin: 40px 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 26px 24px 24px; border-radius: 24px; background: rgba(255, 255, 255, .5); box-shadow: 0 0 0 1px var(--line); }
.steps li::before { counter-increment: step; content: "0" counter(step); display: block; font-family: var(--display); font-size: 15px; font-weight: 600; color: var(--clay-deep); margin-bottom: 10px; letter-spacing: .04em; }
.steps h3, .skill h3, .world h3, .promise h3 { font-family: var(--round); font-weight: 600; font-size: 22px; line-height: 1.2; margin-bottom: 6px; }
.steps p, .skill p { color: var(--ink-2); font-size: 16px; }

.skills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); margin-top: 40px; }
.skill { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: start; padding: 20px; border-radius: 22px; background: var(--paper-2); }
.skill__icon { width: 64px; height: 64px; border-radius: 50%; background: radial-gradient(circle at 38% 32%, #fbf2df, #ecdcbc 70%, #dcc59b); box-shadow: inset 0 -5px 10px rgba(120, 80, 30, .2), 0 6px 14px rgba(90, 60, 20, .18); display: grid; place-items: center; }
.skill__icon svg { width: 38px; height: 38px; }

/* ---------------------------------------------------------------- worlds: from the meadow into the cave */
.worlds { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 28%, var(--cave) 86%, var(--cave) 100%); padding-bottom: clamp(64px, 8vw, 112px); }
.worlds .section { padding-bottom: 0; }
.world-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); margin-top: 40px; }
.world { border-radius: 26px; overflow: hidden; background: #fffaf0; box-shadow: 0 30px 60px -36px rgba(20, 30, 20, .55); display: flex; flex-direction: column; }
.world__scene { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.world__scene svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.world__text { padding: 20px 22px 24px; }
.world__text p { color: var(--ink-2); font-size: 16px; }

/* ---------------------------------------------------------------- the cave: promises, FAQ, footer */
.cave { background: linear-gradient(180deg, var(--cave) 0, rgba(19, 27, 24, 0) 260px), radial-gradient(70% 40% at 85% 45%, #1d362d 0%, transparent 70%), radial-gradient(60% 30% at 10% 95%, #182a23 0%, transparent 70%), var(--cave); color: var(--cave-ink); }
.cave .eyebrow { color: var(--cave-ink-3); }
.cave .intro { color: var(--cave-ink-2); }
.cave a { color: var(--glow); }
.cave a:hover { color: var(--glow-core); }
.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; margin: 44px 0 0; padding: 0; list-style: none; }
.promise { position: relative; padding-left: 34px; }
.promise::before { content: ""; position: absolute; left: 2px; top: 6px; width: 18px; height: 12px; border-radius: 100% 0 100% 0; background: radial-gradient(circle at 50% 50%, #e9ffb0, #9ad45a 70%); box-shadow: 0 0 14px 4px rgba(170, 230, 110, .45); transform: rotate(-20deg); }
.promise p { color: var(--cave-ink-2); font-size: 16px; }

.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 4vw, 64px); margin-top: clamp(72px, 9vw, 120px); }
.faq__list details { border-top: 1px solid var(--cave-line); }
.faq__list details:last-child { border-bottom: 1px solid var(--cave-line); }
.faq summary { cursor: pointer; list-style: none; position: relative; padding: 18px 40px 18px 0; font-family: var(--display); font-weight: 520; font-size: clamp(18px, .5vw + 15px, 21px); line-height: 1.3; font-variation-settings: "SOFT" 100, "opsz" 48; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; opacity: .7; transform: translateY(-70%) rotate(45deg); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { color: var(--cave-ink-2); padding: 0 40px 18px 0; }

.foot { background: #0d1311; color: var(--cave-ink-3); font-size: 15px; }
.foot__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 28px; padding-top: 40px; padding-bottom: 44px; }
.foot h4 { margin: 0 0 10px; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--cave-ink-3); }
.foot a { display: block; color: var(--cave-ink-2); text-decoration: none; padding: 3px 0; }
.foot a:hover { color: var(--glow); }
.foot__right { text-align: right; }
.foot__right b { display: block; font-family: var(--round); font-weight: 600; font-size: 22px; color: var(--cave-ink); margin-bottom: 4px; }

/* ---------------------------------------------------------------- help and privacy pages */
main { flex: 1; }
.doc { max-width: 780px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--gut) 96px; box-sizing: content-box; }
.doc h1 { font-family: var(--display); font-weight: 480; font-size: clamp(38px, 5.4vw, 62px); line-height: 1.02; letter-spacing: -.025em; font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 144; margin: 0 0 16px; text-wrap: balance; }
.doc .lead { color: var(--ink-2); font-size: clamp(17px, .4vw + 15px, 19px); margin: 0 0 36px; max-width: 60ch; }
.doc h2 { font-family: var(--display); font-weight: 540; font-size: clamp(22px, 1.6vw + 12px, 27px); line-height: 1.2; letter-spacing: -.01em; font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 72; margin: 48px 0 10px; text-wrap: balance; }
.doc h3 { font-weight: 650; font-size: 17px; margin: 24px 0 4px; }
.doc p, .doc li, .doc td { color: var(--ink-2); }
.doc p { max-width: 68ch; margin: 0 0 12px; }
.doc strong { color: var(--ink); font-weight: 640; }
.doc ul { padding-left: 22px; margin: 8px 0 14px; }
.doc li { margin: 5px 0; }
.doc li::marker { color: var(--clay-deep); }
.doc address { font-style: normal; color: var(--ink); line-height: 1.75; margin-bottom: 12px; }
.summary { background: rgba(255, 255, 255, .55); box-shadow: 0 0 0 1px var(--line); border-radius: 20px; padding: 18px 24px; margin: 8px 0 14px; }
.summary ul { margin: 4px 0 0; padding-left: 0; list-style: none; }
.summary li { position: relative; padding-left: 28px; margin: 9px 0; color: var(--ink); }
.summary li::before { content: ""; position: absolute; left: 3px; top: .55em; width: 14px; height: 9px; border-radius: 100% 0 100% 0; background: var(--leaf); transform: rotate(-20deg); }
.table-wrap { overflow-x: auto; margin: 14px 0; border-radius: 16px; box-shadow: 0 0 0 1px var(--line); }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.doc tr:last-child td { border-bottom: 0; }
.doc th { color: var(--ink); font-weight: 650; background: rgba(255, 255, 255, .5); }
.note { font-size: 15px; color: var(--ink-3); background: rgba(255, 255, 255, .5); border-radius: 12px; padding: 14px 18px; margin-top: 40px; }
.doc details { border-top: 1px solid var(--line); }
.doc details:last-of-type { border-bottom: 1px solid var(--line); }
.doc details + h2 { margin-top: 52px; }
.doc summary { cursor: pointer; list-style: none; position: relative; padding: 16px 40px 16px 0; font-family: var(--display); font-weight: 520; font-size: clamp(18px, .5vw + 15px, 21px); line-height: 1.3; font-variation-settings: "SOFT" 100, "opsz" 48; color: var(--ink); }
.doc summary::-webkit-details-marker { display: none; }
.doc summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: translateY(-70%) rotate(45deg); transition: transform .35s var(--ease); }
.doc details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.doc details > *:not(summary) { padding-right: 40px; }
.doc details > p:last-child { margin-bottom: 18px; }
.page-doc .foot { margin-top: 0; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1000px) {
  .skills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__right { text-align: left; }
}
@media (max-width: 860px) {
  .top__nav { display: none; }
  .top__nav + .top__right { margin-left: auto; }
  .hero__sun { right: -28px; top: -34px; width: 120px; }
  .hero__inner { grid-template-columns: 1fr; }
  .device { transform: none; }
  .device figcaption { transform: translateX(-50%); }
  .steps, .world-list { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand { font-size: 21px; }
  .brand img { width: 32px; height: 32px; }
  .by { display: none; }
  .skills, .promises, .foot__cols { grid-template-columns: 1fr; }
  .skill { grid-template-columns: 52px minmax(0, 1fr); padding: 16px; }
  .skill__icon { width: 52px; height: 52px; }
  .skill__icon svg { width: 32px; height: 32px; }
  .device figcaption { white-space: normal; width: 100%; text-align: center; }
  .doc details > *:not(summary) { padding-right: 0; }
  .faq details p { padding-right: 0; }
}
