:root {
  --bg: #fbf4ea;
  --surface: rgba(255, 252, 247, 0.92);
  --surface-strong: #fffaf2;
  --text: #2a1b14;
  --muted: #6d5a4e;
  --border: #ead5bc;
  --accent: #d97706;
  --accent-soft: #fff0dc;
  --accent-strong: #2f2018;
  --shadow-soft: 0 20px 50px rgba(54, 33, 19, 0.08);
  --shadow-focus: 0 18px 34px rgba(114, 73, 34, 0.12);
  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background:
    radial-gradient(circle at top right, rgba(255, 187, 92, 0.16), transparent 32%),
    radial-gradient(circle at left center, rgba(96, 58, 24, 0.08), transparent 28%),
    var(--bg);
}

a {
  color: var(--accent);
}

.shell {
  width: min(960px, calc(100% - 32px));
  margin: 40px auto 56px;
}

.topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-strong);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 197, 109, 0.16) 0%, rgba(238, 142, 23, 0.1) 100%),
    center / cover no-repeat url('./favicon.png');
  color: transparent;
  box-shadow: var(--shadow-focus);
  font-size: 0;
  overflow: hidden;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  background: rgba(255, 248, 239, 0.82);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
  transition: transform 160ms ease, border-color 160ms ease, color 160ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--accent-strong);
  border-color: #ddb78a;
  transform: translateY(-1px);
}

.card {
  background: var(--surface);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(234, 213, 188, 0.9);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  padding: 28px;
}

.hero {
  display: grid;
  gap: 18px;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h2 {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 1.08rem;
  color: var(--accent-strong);
}

p,
li,
ol {
  color: var(--text);
}

.muted {
  color: var(--muted);
  font-size: 0.95rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button-primary {
  background: var(--accent-strong);
  color: #fff;
  box-shadow: var(--shadow-focus);
}

.button-secondary {
  background: var(--accent-soft);
  color: var(--accent-strong);
  border-color: #f1cca0;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.panel {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
}

.support-card {
  margin-top: 24px;
}

.stack {
  display: grid;
  gap: 14px;
}

.support-choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
}

.choice-tile {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  text-align: center;
}

.choice-amount {
  display: block;
  color: var(--accent-strong);
  font-size: 1.3rem;
  font-weight: 900;
}

.choice-caption {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 6px;
}

.inline-note {
  background: #fff8ef;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.inline-note p:last-child,
.choice-tile p:last-child,
.panel p:last-child {
  margin-bottom: 0;
}

.button-disabled,
.button[aria-disabled="true"] {
  background: #f3e6d5;
  color: #8b7563;
  border-color: var(--border);
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: none;
}

.meta-note {
  color: var(--muted);
  font-size: 0.88rem;
}

.panel h2,
.panel h3 {
  margin-top: 0;
}

.list {
  padding-left: 18px;
  margin: 0;
}

.footer {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 24px, 960px);
    margin-top: 20px;
    margin-bottom: 28px;
  }

  .card {
    padding: 22px;
    border-radius: 22px;
  }
}
