/* Foldwing — brand palette from docs/ArtBrief.md */
:root {
  --ink: #17141A;
  --paper: #FAF8F4;
  --card: #FFFFFF;
  --red: #D94D59;
  --red-dark: #B93A47;
  --green: #339429;
  --sky: #4D94EB;
  --peach: #FCDB9E;
  --muted: #6B6672;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "Segoe UI", Roboto, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
}

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

.hero {
  background: linear-gradient(180deg, var(--sky) 0%, #a8bbd9 55%, var(--peach) 100%);
  text-align: center;
  padding: 56px 24px 64px;
}
.hero img.icon { width: 132px; height: 132px; filter: drop-shadow(0 10px 24px rgba(23,20,26,0.25)); }
.hero h1 { font-size: 44px; font-weight: 900; letter-spacing: -0.5px; margin-top: 18px; }
.hero h1 .f { color: var(--red); }
.hero p.tag { font-size: 20px; color: rgba(23,20,26,0.75); margin-top: 6px; font-weight: 600; }
.hero .platform { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 700;
  background: rgba(255,255,255,0.55); padding: 5px 14px; border-radius: 999px; }

.store-btn {
  display: inline-block; margin-top: 26px; background: var(--ink); color: #fff;
  font-weight: 700; font-size: 17px; padding: 14px 28px; border-radius: 14px;
}
.store-btn:hover { text-decoration: none; opacity: 0.9; }
.store-btn small { display: block; font-size: 11px; font-weight: 500; opacity: 0.75; }

main { max-width: 760px; margin: 0 auto; padding: 48px 24px 24px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin-top: 8px; }
.feature {
  background: var(--card); border: 1px solid #eee7dd; border-radius: 16px; padding: 22px;
}
.feature .glyph { font-size: 28px; }
.feature h3 { font-size: 17px; margin: 8px 0 4px; }
.feature p { font-size: 14.5px; color: var(--muted); }

.banner { width: 100%; border-radius: 18px; margin: 40px 0 8px; display: block; }

.wholesome {
  text-align: center; margin: 44px auto 8px; max-width: 560px;
  font-size: 16.5px; color: var(--muted);
}

h1.page { font-size: 32px; font-weight: 900; margin-bottom: 4px; }
.updated { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
article h2 { font-size: 20px; margin: 28px 0 8px; }
article p, article li { font-size: 16px; color: #38333f; }
article ul { padding-left: 22px; margin: 8px 0; }

.faq details { background: var(--card); border: 1px solid #eee7dd; border-radius: 12px;
  padding: 14px 18px; margin-bottom: 10px; }
.faq summary { font-weight: 700; cursor: pointer; font-size: 16px; }
.faq details p { margin-top: 8px; }

table.facts { border-collapse: collapse; width: 100%; margin: 12px 0 24px; }
table.facts td { padding: 8px 12px; border-bottom: 1px solid #eee7dd; font-size: 15px; vertical-align: top; }
table.facts td:first-child { font-weight: 700; width: 160px; }

.assets { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.assets a { display: block; background: var(--card); border: 1px solid #eee7dd;
  border-radius: 12px; padding: 12px; text-align: center; font-weight: 600; font-size: 14px; }
.assets img { width: 100%; border-radius: 8px; margin-bottom: 8px; }

.topnav { max-width: 760px; margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; gap: 18px; }
.topnav img { width: 34px; height: 34px; }
.topnav .name { font-weight: 900; font-size: 18px; color: var(--ink); }
.topnav .spacer { flex: 1; }
.topnav a { font-size: 15px; font-weight: 600; color: var(--ink); }

footer {
  text-align: center; padding: 36px 24px 48px; color: var(--muted); font-size: 14px;
}
footer a { color: var(--muted); margin: 0 8px; }
footer .crane { font-size: 20px; display: block; margin-bottom: 8px; }

@media (max-width: 480px) {
  .hero h1 { font-size: 34px; }
  .hero img.icon { width: 104px; height: 104px; }
}
