:root {
  --plum: #4B1D52;
  --plum-deep: #2E0F34;
  --green: #4E7A24;
  --green-light: #A9CC6B;
  --ink: #1F1A21;
  --muted: #5E5763;
  --paper: #FBF9F6;
  --card: #FFFFFF;
  --line: #E7E1E8;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--plum); }
a:focus-visible { outline: 3px solid var(--green-light); outline-offset: 2px; border-radius: 4px; }
.wrap { width: 100%; max-width: 920px; margin: 0 auto; padding: 0 24px; }

/* Header and navigation */
header { padding: 22px 0; border-bottom: 1px solid var(--line); background: var(--paper); }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 36px; height: 40px; }
.wordmark { font-family: Georgia, "Times New Roman", serif; font-weight: bold; font-size: 23px; letter-spacing: 0.5px; color: var(--plum); }
.wordmark span { color: var(--green); }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; }
nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; padding: 4px 0; border-bottom: 2px solid transparent; }
nav a:hover { color: var(--plum); }
nav a[aria-current="page"] { color: var(--plum); border-bottom-color: var(--green); }

main { flex: 1; }

/* Type */
.kicker { color: var(--green); font-weight: 600; font-size: 14px; letter-spacing: 1.6px; text-transform: uppercase; margin: 0 0 12px; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: normal; color: var(--plum); }
h1 { font-size: clamp(36px, 6vw, 56px); line-height: 1.08; margin: 0 0 20px; }
h1 em { color: var(--green); }
h2 { font-size: clamp(26px, 3.6vw, 34px); line-height: 1.2; margin: 0 0 16px; }
h3 { font-size: 21px; line-height: 1.3; margin: 0 0 8px; }
.lead { font-size: 19px; color: var(--muted); max-width: 32em; margin: 0 0 28px; }
.muted { color: var(--muted); }

/* Buttons */
.button { display: inline-flex; align-items: center; gap: 10px; background: var(--plum); color: #fff; text-decoration: none; padding: 12px 22px; border-radius: 999px; font-weight: 600; }
.button:hover, .button:focus-visible { background: var(--plum-deep); }
.button.secondary { background: transparent; color: var(--plum); box-shadow: inset 0 0 0 2px var(--plum); }
.button.secondary:hover { background: var(--plum); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Home hero */
.hero { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; padding: 64px 0 72px; }
.hero .art { width: min(300px, 34vw); height: auto; }

/* Sections */
section.block { padding: 64px 0; border-top: 1px solid var(--line); }
section.block.alt { background: var(--card); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; }
section.alt .card { background: var(--paper); }
.card p { margin: 0; color: var(--muted); }
.step { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; align-items: center; justify-content: center; background: var(--green); color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 12px; }

/* Long-form pages (about, support, privacy) */
.page { padding: 56px 0 72px; }
.prose { max-width: 42em; }
.prose h2 { margin-top: 44px; }
.prose h3 { margin-top: 28px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: 6px 0; }
.prose table { border-collapse: collapse; width: 100%; margin: 16px 0; font-size: 16px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { color: var(--plum); font-weight: 600; }
.table-scroll { overflow-x: auto; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 20px; margin: 12px 0; }
summary { cursor: pointer; font-weight: 600; color: var(--plum); }
details p { margin: 10px 0 0; color: var(--muted); }

/* Footer */
.band { height: 6px; background: linear-gradient(to bottom, var(--plum) 0 30%, var(--green) 30% 100%); }
footer { background: var(--card); border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; padding: 28px 0; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer a { color: var(--muted); }

@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .hero { grid-template-columns: 1fr; gap: 24px; padding: 32px 0 56px; }
  .hero .art { order: -1; width: 140px; }
  .grid, .grid.two { grid-template-columns: 1fr; }
  section.block { padding: 48px 0; }
  .page { padding: 36px 0 56px; }
}
