/* Elderroot teaser: sky at the top, grass in the middle, soil at the foot. System fonts only, no scripts. */
:root{color-scheme:light;--paper:#f7f0de;--card:#fffaf0;--ink:#3a2312;--muted:#654f38;--line:#e2d2b0;--leaf:#4a8338;--leaf-dark:#386a28;--honey:#f0a422;--kick:#86561a;--sky:#cfe6f2;--grass:#8fbf55;--soil:#4a301b;--soil-ink:#f3e6cc;--soil-link:#f7c768}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;min-height:100vh;display:flex;flex-direction:column;background:var(--paper);color:var(--ink);font:17px/1.6 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
main{flex:1 0 auto}
a{color:var(--leaf-dark);text-underline-offset:4px}
a:hover{color:var(--ink)}
a:focus-visible{outline:3px solid var(--honey);outline-offset:4px;border-radius:4px}
img{display:block;max-width:100%;height:auto}
h1,h2,h3,p,figure{margin:0}
h1,h2,h3{font-family:Georgia,"Times New Roman",serif;line-height:1.08;text-wrap:balance}
h2{font-size:clamp(2rem,4.6vw,3.2rem);letter-spacing:-.02em}
h3{font-size:1.35rem}
p+p{margin-top:1rem}
.wrap{max-width:1180px;margin:0 auto;padding:0 32px}
.skip{position:absolute;top:-100px;left:16px;background:var(--honey);color:var(--ink);padding:10px 14px;z-index:3;border-radius:6px}
.skip:focus{top:10px}

/* header and hero sit on the sky */
.top{background:#c4e1f1}
.sky{background:linear-gradient(180deg,#c4e1f1 0%,#e3f0e4 58%,var(--paper) 100%)}
.nav{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-top:20px;padding-bottom:20px}
.brand{display:flex;align-items:center;gap:12px;color:var(--ink);text-decoration:none;font:700 1.1rem Georgia,serif}
.brand img{width:40px;height:40px;border-radius:10px}
.studio{font-size:.9rem;color:var(--muted)}
.studio a{color:var(--ink);font-weight:650}
.hero{display:grid;grid-template-columns:1fr minmax(300px,500px);gap:48px;align-items:center;padding-top:40px;padding-bottom:72px}
.kicker{font-size:.8rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--kick);margin-bottom:18px}
.hero h1{font-size:clamp(3.6rem,10vw,7.2rem);letter-spacing:-.035em;line-height:.95}
.hero h1 span{color:var(--leaf)}
.hook{font:500 clamp(1.3rem,2.4vw,1.7rem)/1.35 Georgia,serif;margin-top:22px;max-width:30ch}
.button{display:inline-flex;align-items:center;justify-content:center;min-height:52px;margin-top:30px;padding:12px 26px;border-radius:999px;background:var(--ink);color:#fff4d6;font-weight:700;text-decoration:none}
.button:hover{background:var(--leaf-dark);color:#fff}
.small{font-size:.86rem;color:var(--muted);margin-top:14px}
.hero-art{margin:0;background:radial-gradient(circle at 50% 38%,#fff6d0 0,#fff6d000 62%)}
.hero-art img{width:100%}
.hero-art figcaption{font-size:.8rem;color:var(--muted);margin-top:10px;text-align:center}

/* sections */
.section{padding-top:88px;padding-bottom:16px}
.intro{max-width:760px}
.intro p{margin-top:20px;color:var(--muted);font-size:1.12rem}
.cast{display:grid;grid-template-columns:1fr 4fr;gap:28px;margin-top:44px}
.group h3{font:700 .8rem system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase;margin-bottom:14px}
.group.friends h3{color:var(--leaf-dark)}
.group.pests h3{color:#9a3f1c}
.cards{display:grid;gap:16px}
.friends .cards{grid-template-columns:1fr}
.pests .cards{grid-template-columns:repeat(4,1fr)}
.card{margin:0;background:var(--card);border:1px solid var(--line);border-radius:18px;padding:18px 14px 16px;display:flex;flex-direction:column;align-items:center;text-align:center}
.card img{height:132px;width:auto;max-width:100%;object-fit:contain}
.card figcaption{margin-top:12px;font-size:.92rem;color:var(--muted);line-height:1.4}
.card b{display:block;color:var(--ink);font:700 1.05rem Georgia,serif;margin-bottom:4px}
.note{font-size:.8rem;color:var(--muted);margin-top:18px}

/* the tree section: the oak beside the four lines; below its grass line (59.4% down the picture, printed by the art
   script) the transparent picture sits on a cut of soil, as the game shows its roots */
.grow-body{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:40px 64px;align-items:center;margin-top:40px}
.oak{margin:0}
.oak img{width:100%;border-radius:0 0 28px 28px;background:linear-gradient(180deg,#f7f0de00 59.4%,var(--grass) 59.4%,var(--grass) 60.4%,#e9d7b2 60.4%,#f2e6cc 86%,#f7f0de00 100%)}
.oak figcaption{font-size:.8rem;color:var(--muted);margin-top:10px;text-align:center}
.grow-body .features{margin-top:0;grid-template-columns:1fr}
.features{list-style:none;margin:40px 0 0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:30px 56px}
.features li{border-left:4px solid var(--grass);padding-left:18px}
.features p{color:var(--muted);margin-top:6px}
/* the four seasons of the same oak under the seasons line, two by two at every width (four across would leave the bees too small to see) */
.seasons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:480px;margin-top:16px}
.seasons figure{min-width:0}
.seasons img{width:100%;height:auto;border-radius:12px;border:1px solid var(--line);background:var(--sky)}
.seasons figcaption{font-size:.78rem;font-weight:650;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-top:6px;text-align:center}

/* the grass band and the soil footer */
.closing{margin-top:96px;padding:64px 32px 72px;text-align:center;background:linear-gradient(180deg,#9cc867 0%,#7fae45 100%);color:var(--ink)}
.closing p{margin:16px auto 0;max-width:46ch;color:#2f2010}
.soon{display:inline-block;margin-top:26px;padding:12px 26px;border-radius:999px;border:2px dashed var(--ink);font-weight:700}
.footer{background:var(--soil);color:var(--soil-ink)}
.footer .wrap{padding-top:36px;padding-bottom:40px}
.footer a{color:var(--soil-link)}
.footer a:hover{color:#fff}
.footer .brand{color:var(--soil-ink)}
.footer-top{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;margin-bottom:22px}
.footer-links{display:flex;flex-wrap:wrap;gap:12px 24px;font-size:.92rem}
.footer p{font-size:.82rem;color:#d9c8a8;max-width:75ch}
.footer p+p{margin-top:8px}

/* the privacy page and the 404 */
.page-sky{display:flow-root;background:linear-gradient(180deg,#c4e1f1 0,var(--paper) 520px)}
.document{max-width:820px;margin:40px auto 96px}
.document h1{font-size:clamp(2.6rem,6vw,4rem);letter-spacing:-.03em;margin-bottom:22px}
.document h2{font-size:1.5rem;margin:40px 0 14px;letter-spacing:0}
.document p,.document li{color:var(--muted)}
.document ul{padding-left:22px}
.document li+li{margin-top:6px}
.document .notice{color:var(--ink);background:#fff1cf;border:1px solid #e6c77c;border-radius:12px;padding:14px 16px;margin:24px 0}
.todo{background:#ffe08a;color:var(--ink);padding:1px 6px;border-radius:5px;font-weight:650;outline:1px dashed #a87a12}
.missing{max-width:820px;margin:0 auto;padding-top:56px;padding-bottom:110px}
.missing h1{font-size:clamp(2.6rem,7vw,4.6rem);letter-spacing:-.03em}
.missing p{margin-top:18px;color:var(--muted)}

@media(max-width:960px){
  .cast{grid-template-columns:1fr}
  .friends .cards{grid-template-columns:repeat(2,1fr)}
  .pests .cards{grid-template-columns:repeat(4,1fr)}
}
@media(max-width:760px){
  .wrap{padding-left:16px;padding-right:16px}
  .nav{padding-top:14px;padding-bottom:14px}
  .brand{font-size:1rem}
  .brand img{width:34px;height:34px;border-radius:9px}
  .studio{font-size:.82rem;text-align:right}
  .hero{grid-template-columns:1fr;gap:36px;padding-top:22px;padding-bottom:28px}
  .button{width:100%}
  .hero-art{max-width:420px;margin:0 auto}
  .section{padding-top:64px}
  .intro p{font-size:1.02rem}
  .cast{margin-top:32px;gap:26px}
  .friends .cards,.pests .cards{grid-template-columns:repeat(2,1fr);gap:12px}
  .card{padding:14px 10px 14px;border-radius:16px}
  .card img{height:104px}
  .card figcaption{font-size:.86rem}
  .features{grid-template-columns:1fr;margin-top:32px;gap:22px}
  .grow-body{grid-template-columns:1fr;gap:28px;margin-top:28px}
  .oak{max-width:400px;width:100%;margin:0 auto}
  .closing{margin-top:64px;padding:48px 16px 56px}
  .soon{width:100%}
  .footer-top{display:block}
  .footer-links{margin-top:16px}
  .document{margin:24px auto 64px}
  .missing{padding-top:32px;padding-bottom:80px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
