: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, #ffc56d 0%, #ee8e17 100%);
  color: white;
  box-shadow: var(--shadow-focus);
  font-size: 18px;
}

.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;
}

.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;
  }
}
