:root {
  --paper: #f3eee4;
  --paper-2: #e7e0d2;
  --ink: #1c2b24;
  --green: #1f4d3a;
  --green-2: #16382b;
  --gold: #9a7436;
  --line: rgba(31, 77, 58, 0.16);
  --muted: #5d6b63;
  --card: #fffaf3;
  --serif: "Newsreader", "Iowan Old Style", Palatino, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(196, 162, 101, 0.18), transparent 50%),
    linear-gradient(180deg, #f7f3ea 0%, var(--paper) 40%, #efe8db 100%);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--green); }
a:hover { color: #0e2a20; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.skip {
  position: absolute; left: 12px; top: -40px;
  background: var(--green); color: white; padding: 8px 12px;
}
.skip:focus { top: 12px; }
.wrap { width: min(var(--max), calc(100% - 36px)); margin: 0 auto; }
.nav {
  position: sticky; top: 0; z-index: 5;
  background: rgba(243, 238, 228, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 650; }
.brand small { display: block; color: var(--gold); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.68rem; font-weight: 650; }
.links { display: flex; gap: 16px; margin-left: auto; flex-wrap: wrap; }
.links a { color: var(--muted); text-decoration: none; }
.links a:hover { color: var(--ink); }

.hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 36px; align-items: center; padding: 64px 0 28px; }
.kicker { margin: 0 0 12px; color: var(--gold); letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.78rem; font-weight: 700; }
h1, h2, h3 { font-family: var(--serif); font-weight: 550; letter-spacing: -0.03em; line-height: 1.05; }
h1 { font-size: clamp(2.8rem, 6vw, 4.8rem); margin: 0 0 16px; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 10px; }
.lead { font-size: 1.16rem; max-width: 38rem; margin: 0 0 22px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; text-decoration: none;
  border-radius: 999px; padding: 12px 18px; font-weight: 650;
}
.btn-primary { background: var(--green); color: #f7f3ea; }
.btn-primary:hover { background: var(--green-2); color: white; }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--green); }
.fine { color: var(--muted); font-size: 0.92rem; }

.board {
  background: var(--green);
  color: #f6f1e7;
  border-radius: 28px;
  padding: 28px 26px 22px;
  box-shadow: 0 24px 50px rgba(22, 56, 43, 0.18);
}
.board ol { list-style: none; margin: 18px 0 0; padding: 0; }
.board li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(244, 239, 228, 0.16); }
.board a { color: #f6f1e7; text-decoration: none; }
.board a:hover { color: #e7d7b1; }
.board span { color: #e7d7b1; font-variant-numeric: tabular-nums; }

.strip { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 28px; }
.strip div { padding: 16px 8px 16px 0; }
.strip strong { display: block; font-family: var(--serif); font-size: 1.7rem; font-weight: 550; }
.strip span { color: var(--muted); }

section { padding: 64px 0; }
.section-head { max-width: 40rem; margin-bottom: 22px; }
.section-head p { color: var(--muted); margin: 0; }
.apps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.app {
  display: flex; flex-direction: column; gap: 6px;
  background: var(--card); color: inherit; text-decoration: none;
  border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px 14px;
  min-height: 100%;
}
.app:hover { border-color: var(--green); }
.tag { color: var(--gold); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.app strong { font-size: 1.12rem; letter-spacing: -0.02em; }
.app p { margin: 0; color: #3e5148; }
.meta { color: var(--muted); font-size: 0.85rem; }

.note {
  background: #fffaf3;
  border-left: 3px solid var(--gold);
  border-radius: 0 16px 16px 0;
  padding: 18px 18px 8px;
}
.note p { color: #3e5148; }
details { border-top: 1px solid var(--line); padding: 12px 0; }
summary { cursor: pointer; font-weight: 650; }
details p { color: #3e5148; }

.legal { max-width: 740px; padding-top: 36px; }
.legal h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
.legal h2 { font-size: 1.6rem; margin-top: 28px; }
.legal p, .legal li { color: #314239; }

footer { border-top: 1px solid var(--line); padding: 26px 0 46px; color: var(--muted); }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot a { color: var(--muted); text-decoration: none; }
.foot nav { display: flex; gap: 14px; flex-wrap: wrap; }
.foot a:hover { color: var(--ink); }

@media (max-width: 800px) {
  .hero, .apps, .strip { grid-template-columns: 1fr; }
  .nav-inner { flex-wrap: wrap; min-height: 64px; padding: 10px 0 12px; }
  .links { order: 3; width: 100%; margin-left: 0; gap: 12px 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
