:root {
  --bg: #f7f7f2;
  --surface: #ffffff;
  --text: #1f1f1d;
  --muted: #6e6a60;
  --border: #e8e3d8;
  --chip: #f2efe7;
  --accent: #141414;
  --shadow: 0 24px 60px rgba(20, 20, 20, 0.06);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Avenir Next", "Helvetica Neue", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top right, #fcfbf7 0%, var(--bg) 48%, #f5f2e8 100%);
  line-height: 1.65;
}

a {
  color: inherit;
  text-underline-offset: 3px;
}

.container {
  width: min(920px, 92vw);
  margin: 0 auto;
}

.topbar {
  padding: 24px 0 6px;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  object-fit: cover;
}

.topnav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topnav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
}

.topnav a:hover,
.topnav a[aria-current="page"] {
  background: var(--chip);
  color: var(--accent);
}

main {
  padding: 28px 0 70px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: clamp(20px, 4vw, 34px);
  box-shadow: var(--shadow);
}

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

.hero-head {
  display: flex;
  gap: 20px;
  align-items: center;
}

.hero-logo {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  border: 1px solid var(--border);
  object-fit: cover;
  flex-shrink: 0;
}

h1,
h2,
h3 {
  margin: 0 0 12px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 4.6vw, 3.1rem);
}

h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
}

h3 {
  font-size: 1.06rem;
}

p {
  margin: 0 0 14px;
}

.lede {
  color: var(--muted);
  max-width: 66ch;
}

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

.chip {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--chip);
  border: 1px solid var(--border);
  font-size: 0.83rem;
  font-weight: 600;
  color: #3c392f;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.01em;
  border-radius: 12px;
  padding: 11px 16px;
  border: 1px solid transparent;
}

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

.button.primary:hover {
  background: #000;
}

.button.ghost {
  border-color: var(--border);
  background: #faf8f2;
  color: var(--text);
}

.button.ghost:hover {
  background: #f1eee4;
}

.stack {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

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

.list li {
  margin: 6px 0;
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.inline-links a {
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 12px;
  background: #fcfbf7;
  color: #2f2c25;
}

.inline-links a:hover {
  background: #f3f0e6;
}

.legal h2 {
  margin-top: 24px;
}

.legal h2:first-of-type {
  margin-top: 6px;
}

.legal p:last-child {
  margin-bottom: 0;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 16px 0 28px;
  color: var(--muted);
  font-size: 0.93rem;
}

@media (max-width: 720px) {
  .topbar .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-logo {
    width: 72px;
    height: 72px;
    border-radius: 18px;
  }
}
