/* Flock of Ten's own palette, taken from the game: the parchment the splash
   fades to, the olive of the title, bark, and the amber of a beak.
   No web fonts: this site loads nothing from anyone else, which is what the
   privacy page says. */
:root {
  --parchment:#f0e2c3; --paper:#f8f1de; --ink:#3a3a24; --muted:#5f5b45; --line:rgba(58,58,36,0.16);
  --olive:#5f6b2e; --olive-deep:#454f1f; --bark:#7b5b3c; --amber:#c58a2a; --amber-deep:#8a5d14;
  --grove:#333a1c; --tag:#fbf3dc; --link:#4d5a1f;
  --serif:'Iowan Old Style','Palatino Linotype',Palatino,'Book Antiqua',Georgia,serif;
  --sans:system-ui,-apple-system,'Segoe UI',Roboto,'Helvetica Neue',sans-serif;
}
* { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body { font-family:var(--sans); background:var(--parchment); color:var(--muted); line-height:1.7;
       font-size:1.04rem; -webkit-font-smoothing:antialiased; }
h1,h2,h3 { font-family:var(--serif); font-weight:700; color:var(--ink); line-height:1.16; }
a { color:var(--link); }
strong { color:var(--ink); font-weight:700; }
img { max-width:100%; height:auto; display:block; }
.wrap { max-width:1080px; margin:0 auto; padding:0 26px; }
.narrow { max-width:760px; }
.container { max-width:800px; margin:0 auto; padding:0 26px; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }

nav { position:sticky; top:0; z-index:30; background:rgba(240,226,195,0.92);
      backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); border-bottom:1px solid var(--line); }
.nav-inner { max-width:1080px; margin:0 auto; padding:12px 26px; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.brand { font-family:var(--serif); font-size:1.3rem; font-weight:700; color:var(--olive-deep); text-decoration:none; display:flex; align-items:center; gap:10px; white-space:nowrap; }
.brand img { width:32px; height:32px; border-radius:8px; }
.nav-links { display:flex; gap:22px; font-size:0.92rem; font-weight:600; }
.nav-links a { color:var(--ink); text-decoration:none; }
.nav-links a:hover { text-decoration:underline; }
@media (max-width:640px) { .nav-links { gap:16px; } .nav-links a.opt { display:none; } }

/* Home hero: the splash painting is the title. It fades to the page's own
   parchment at its edges, so it needs no frame. */
.hero { text-align:center; padding:26px 0 64px; }
.hero .cover { width:min(520px,92vw); margin:0 auto -8px;
               -webkit-mask-image:radial-gradient(closest-side,#000 76%,transparent 100%); mask-image:radial-gradient(closest-side,#000 76%,transparent 100%); }
.hero .tagline { font-family:var(--serif); font-weight:700; font-size:clamp(1.5rem,3.6vw,2.1rem); color:var(--ink); margin-bottom:14px; }
.hero p.lede { max-width:33em; margin:0 auto 26px; color:#4d4a36; }
.status { display:inline-flex; align-items:center; gap:10px; padding:10px 18px; border-radius:999px;
          background:var(--paper); border:1px solid var(--line); color:var(--ink); font-weight:700; font-size:0.95rem; }
.status .dot { width:9px; height:9px; border-radius:50%; background:var(--amber); box-shadow:0 0 0 4px rgba(197,138,42,0.22); flex-shrink:0; }
.hero .fine { margin-top:14px; font-size:0.92rem; color:#55523d; }

section { padding:70px 0; }
section.paper { background:var(--paper); }
.eyebrow { font-size:0.78rem; font-weight:700; letter-spacing:0.16em; text-transform:uppercase; color:var(--amber-deep); margin-bottom:10px; }
h2 { font-size:clamp(1.8rem,4vw,2.5rem); margin-bottom:14px; }
.intro { max-width:40em; margin-bottom:34px; }
.center { text-align:center; }
.center .intro { margin-left:auto; margin-right:auto; }

/* A bird and its number. The digit is live text on a paper tag, as it is in
   the game, so the value never lives in the colour alone. */
.bird { position:relative; display:inline-block; flex:none; }
.bird img { height:var(--bird,92px); width:auto; }
.bird b { position:absolute; left:50%; bottom:13%; transform:translateX(-50%); min-width:1.75em; padding:0 0.3em;
          background:var(--tag); border:2px solid #8a7645; border-radius:7px; text-align:center;
          font-family:var(--serif); font-size:calc(var(--bird,92px) * 0.27); line-height:1.4; color:var(--olive-deep);
          box-shadow:0 1px 2px rgba(58,58,36,0.25); }

/* The nine on their perch. Each bird carries its own length of branch, so the
   line stays whole however the row wraps. */
.perch { display:flex; flex-wrap:wrap; justify-content:center; row-gap:26px; --bird:96px; }
.perch .bird { padding:0 8px; border-bottom:7px solid var(--bark); }
.perch .bird img { margin-bottom:-9px; position:relative; }
.perch .bird b { bottom:8%; z-index:1; }
@media (max-width:560px) { .perch { --bird:78px; max-width:330px; margin:0 auto; } }

.steps { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.step { background:var(--parchment); border:1px solid var(--line); border-radius:20px; padding:24px 22px; }
.step .num { font-family:var(--serif); font-weight:700; font-size:1.5rem; color:var(--amber-deep); line-height:1; margin-bottom:10px; }
.step h3 { font-size:1.24rem; margin-bottom:6px; }
.step p { font-size:0.97rem; }
@media (max-width:900px) { .steps { grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px) { .steps { grid-template-columns:1fr; } }

.bonds { display:flex; flex-wrap:wrap; gap:16px; justify-content:center; --bird:70px; max-width:720px; margin:0 auto; }
.bond { display:flex; align-items:center; gap:6px; background:var(--paper); border:1px solid var(--line); border-radius:20px; padding:14px 18px 12px; }
.bond i { font-style:normal; font-family:var(--serif); font-weight:700; font-size:1.5rem; color:var(--bark); }
.bond .sum { margin-left:4px; font-size:1.7rem; color:var(--olive-deep); }
.bonds-label { font-family:var(--serif); font-weight:700; color:var(--ink); font-size:1.2rem; margin:30px 0 14px; text-align:center; }
@media (max-width:420px) { .bonds { --bird:56px; } .bond { padding:12px 12px 10px; gap:4px; } }

.modes { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.mode { border:1px solid var(--line); border-radius:20px; padding:24px 22px; background:var(--parchment); }
.mode h3 { font-size:1.24rem; margin-bottom:6px; }
.mode p { font-size:0.97rem; }
@media (max-width:760px) { .modes { grid-template-columns:1fr; } }

.shots { display:grid; grid-template-columns:462fr 462fr 750fr; gap:20px; align-items:start; max-width:940px; margin:0 auto; }
.shots figure { border-radius:20px; overflow:hidden; border:1px solid var(--line); background:var(--paper); box-shadow:0 10px 26px rgba(58,58,36,0.14); }
.shots img { width:100%; }
.shots figcaption { font-size:0.84rem; padding:9px 12px 11px; text-align:center; }
@media (max-width:760px) { .shots { grid-template-columns:1fr 1fr; } .shots figure.tablet { grid-column:span 2; } }

.two { display:grid; grid-template-columns:1fr 1fr; gap:46px; align-items:start; }
.two ul { list-style:none; }
.two li { padding:12px 0 12px 30px; border-top:1px solid var(--line); position:relative; }
.two li:first-child { border-top:0; }
.two li::before { content:""; position:absolute; left:4px; top:22px; width:9px; height:9px; border-radius:50%; background:var(--amber); }
@media (max-width:820px) { .two { grid-template-columns:1fr; gap:30px; } }

.pills { display:flex; flex-wrap:wrap; gap:10px; margin-top:20px; }
.pill { padding:8px 16px; border-radius:999px; border:1px solid var(--line); background:var(--paper); color:var(--ink); font-weight:700; font-size:0.9rem; }
section.paper .pill { background:var(--parchment); }

.grove { background:var(--grove); color:#d9d6bd; }
.grove h2 { color:#f6eed6; }
.grove .eyebrow { color:#e4b458; }
.grove strong { color:#f6eed6; }
.grove a { color:#e4b458; }
.offer { display:grid; grid-template-columns:auto 1fr; gap:34px; align-items:center; }
.offer img { width:132px; height:132px; border-radius:30px; box-shadow:0 14px 34px rgba(0,0,0,0.4); }
@media (max-width:640px) { .offer { grid-template-columns:1fr; } }

footer { background:#262b14; color:#b9b69d; padding:40px 0 34px; }
.foot-links { display:flex; gap:22px; flex-wrap:wrap; font-size:0.94rem; font-weight:600; margin-bottom:14px; }
.foot-links a { color:#ebe6cd; text-decoration:none; }
.foot-links a:hover { color:#e4b458; }
.foot-note { font-size:0.84rem; opacity:0.75; }
.foot-note a { color:#ebe6cd; }
.foot-note a:hover { color:#e4b458; }

/* Support, Privacy and Terms */
header.page { position:relative; background:#e9dcbb url('art/canopy.jpg') center top / cover no-repeat; padding:62px 0 50px; }
header.page::before { content:""; position:absolute; inset:0; background:rgba(240,226,195,0.5); }
header.page .container { position:relative; }
header.page h1 { font-size:clamp(2.1rem,5.5vw,3.1rem); margin-bottom:8px; }
.updated { font-size:0.78rem; font-weight:700; letter-spacing:0.14em; text-transform:uppercase; color:var(--amber-deep); }
main.doc { padding:46px 0 76px; line-height:1.72; font-size:1.02rem; }
main.doc p { margin-bottom:14px; }
main.doc ul { margin:0 0 16px 22px; }
main.doc li { margin-bottom:8px; }
.tldr { background:var(--paper); border:1px solid var(--line); border-left:5px solid var(--amber); border-radius:16px; padding:22px 24px; margin-bottom:40px; }
.tldr h2 { font-size:1.16rem; margin-bottom:8px; }
.tldr p:last-child { margin-bottom:0; }
h2.sec { font-size:1.36rem; margin:36px 0 12px; padding-top:22px; border-top:1px solid var(--line); }
h2.sec:first-of-type { border-top:0; padding-top:0; margin-top:0; }
h3.q { font-size:1.1rem; margin:28px 0 6px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior:auto; } }
