: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: start; 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; }
.product .thumb { width: 84px; height: 84px; border-radius: 19px; box-shadow: 0 6px 18px rgba(25, 22, 18, 0.18); }
.product .logo-thumb { width: 168px; height: auto; max-width: 38vw; border-radius: 0; box-shadow: none; justify-self: end; }
.product .glyph {
  width: 84px; height: 84px; border-radius: 19px; display: flex; align-items: center; justify-content: center;
  font-family: "Iowan Old Style", Palatino, Georgia, serif; font-size: 30px; 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 { width: 108px; height: 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 .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; }
}
