:root {
  --ink: #191612;
  --ink-soft: #3d382f;
  --paper: #f7f3ec;
  --paper-deep: #efe8dc;
  --accent: #b4551f;
  --muted: #7a7365;
  --line: #ddd3c2;
  --card: #fffdf9;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Avenir Next", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.serif { font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 28px; }

/* Masthead */
header.masthead {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 30px 0 18px; border-bottom: 2px solid var(--ink);
}
.wordmark { font-size: 17px; letter-spacing: 0.26em; font-weight: 700; text-transform: uppercase; }
.wordmark a { color: var(--ink); text-decoration: none; }
.wordmark .llc { color: var(--accent); }
nav.main { font-size: 13.5px; letter-spacing: 0.04em; }
nav.main a { color: var(--ink-soft); text-decoration: none; margin-left: 22px; }
nav.main a:hover { color: var(--accent); }

/* Hero */
.hero { padding: 72px 0 30px; }
.kicker {
  font-size: 12.5px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin: 0 0 20px;
}
.hero h1 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 54px; line-height: 1.08; font-weight: 600; margin: 0 0 20px; max-width: 640px;
}
.hero p.lede { font-size: 19.5px; color: var(--ink-soft); margin: 0; max-width: 600px; }
.hero .est { margin-top: 26px; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* Product index */
.index { margin-top: 56px; border-top: 1px solid var(--line); }
.product {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 8px 22px;
  align-items: center; padding: 30px 10px 30px; border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit; transition: background 0.15s ease;
}
.product:hover { background: var(--card); }
.product .num {
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 15px; color: var(--accent); padding-top: 10px; letter-spacing: 0.08em;
}
.product h2 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 30px; margin: 0 0 4px; font-weight: 600;
}
.product .tag {
  display: block; font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px; font-family: "Avenir Next", -apple-system, sans-serif;
}
.product p { margin: 0; color: var(--ink-soft); font-size: 16.5px; max-width: 520px; }
/* Logos keep their native aspect ratio, only one dimension is ever set,
   the other is auto. Modest, row-height scale: no stage, no billboard. */
.product .stage { display: grid; place-items: center; }
.product .stage img { object-fit: contain; }
.product .stage .logo-icon { width: 60px; height: 60px; border-radius: 14px; box-shadow: 0 4px 12px rgba(25, 22, 18, 0.16); }
.product .stage .logo-mark { height: 60px; width: auto; }
.product .stage .logo-wide { width: 178px; height: auto; }
.product .glyph {
  width: 60px; height: 60px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-family: "Iowan Old Style", Palatino, Georgia, serif; font-size: 24px; color: #fff;
}
.glyph-hbd { background: linear-gradient(135deg, #e2703a, #b4551f); }
.glyph-trvl { background: linear-gradient(135deg, #2e6f6a, #17423e); }
.glyph-course { background: linear-gradient(135deg, #4a4e69, #22223b); }
.product .links { grid-column: 2; margin-top: 10px; font-size: 14px; }
.product .links a { color: var(--accent); text-decoration: none; margin-right: 16px; }
.product .links a:hover { text-decoration: underline; }

/* Standard pages */
h1.page {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 42px; line-height: 1.12; font-weight: 600; margin: 52px 0 10px;
}
.brand-heading { margin: 54px 0 20px; line-height: 0; }
.brand-heading img { display: block; width: min(430px, 82vw); height: auto; }
.page-sub { font-size: 18.5px; color: var(--ink-soft); margin: 0 0 8px; max-width: 600px; }
h2 { font-size: 21px; margin: 38px 0 8px; letter-spacing: 0.01em; }
p, li { font-size: 16.5px; color: var(--ink-soft); }
p strong, li strong { color: var(--ink); }
a { color: var(--accent); }
.apphead { display: flex; gap: 26px; align-items: center; margin-top: 52px; }
.apphead img { height: 108px; width: auto; max-width: 200px; object-fit: contain; }
.apphead img.icon { width: 108px; border-radius: 24px; box-shadow: 0 10px 26px rgba(25, 22, 18, 0.22); }
.apphead h1.page { margin: 0 0 6px; }
.apphead .page-sub { margin: 0; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 40px 0 0; }

/* Footer */
footer {
  margin-top: 72px; border-top: 2px solid var(--ink); padding: 26px 0 44px;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 14px; color: var(--muted);
}
footer p { font-size: 14px; margin: 3px 0; color: var(--muted); }
footer .fname { color: var(--ink); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; font-size: 13px; }

@media (max-width: 640px) {
  .hero h1 { font-size: 38px; }
  .hero { padding-top: 48px; }
  .product { grid-template-columns: 1fr auto; }
  .product .stage .logo-wide { width: 148px; }
  .product .stage .logo-icon { width: 52px; height: 52px; }
  .product .stage .logo-mark { height: 52px; }
  .product .glyph { width: 52px; height: 52px; }
  .product .num { display: none; }
  .product .links { grid-column: 1; }
  .apphead { flex-direction: column; align-items: flex-start; }
  header.masthead { flex-direction: column; gap: 8px; }
  nav.main a { margin-left: 0; margin-right: 18px; }
}

/* Roadmap board */
.rm-note { font-size: 15px; color: var(--muted); max-width: 620px; }
.rm-status { font-size: 15px; color: var(--muted); margin: 22px 0 0; }
.rm-section { margin-top: 44px; }
.rm-section > h2 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 26px; font-weight: 600; margin: 0 0 6px;
}
.rm-list { border-top: 1px solid var(--line); margin-top: 14px; }
.rm-item {
  display: grid; grid-template-columns: 44px 1fr auto; gap: 4px 18px;
  align-items: center; padding: 18px 8px; border-bottom: 1px solid var(--line);
}
.rm-rank {
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 15px; color: var(--accent); letter-spacing: 0.08em;
}
.rm-item h3 { font-size: 18px; margin: 0 0 2px; color: var(--ink); }
.rm-item p { margin: 0; font-size: 15px; }
.rm-item .rm-meta { font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.rm-vote { text-align: center; min-width: 92px; }
.rm-vote .count { display: block; font-size: 20px; font-weight: 700; color: var(--ink); line-height: 1.1; }
.rm-vote .count-label { display: block; font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.vote-btn {
  font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer;
  padding: 7px 18px; border-radius: 999px; border: 1.5px solid var(--accent);
  background: transparent; color: var(--accent); transition: background 0.15s ease, color 0.15s ease;
}
.vote-btn:hover { background: var(--accent); color: #fff; }
.vote-btn.voted { background: var(--accent); color: #fff; }
.vote-btn:disabled { opacity: 0.55; cursor: wait; }
.rm-form { margin-top: 16px; max-width: 620px; }
.rm-form label { display: block; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 18px 0 6px; }
.rm-form input[type="text"], .rm-form textarea, .rm-form select {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px;
}
.rm-form textarea { min-height: 110px; resize: vertical; }
.rm-form .send-btn {
  font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; margin-top: 20px;
  padding: 10px 24px; border-radius: 999px; border: 1.5px solid var(--accent);
  background: var(--accent); color: #fff;
}
.rm-form .send-btn:disabled { opacity: 0.55; cursor: wait; }
.rm-msg { font-size: 15px; margin-top: 14px; }
.rm-msg.ok { color: #2e6f3e; }
.rm-msg.err { color: #a33327; }
@media (max-width: 640px) {
  .rm-item { grid-template-columns: 1fr auto; }
  .rm-rank { display: none; }
  .rm-vote { min-width: 76px; }
}
