:root {
  color-scheme: light;
  --ink: #151412;
  --muted: #665d51;
  --gold: #c89b3c;
  --gold-deep: #8c6219;
  --ivory: #f7f1e7;
  --paper: #fffaf1;
  --line: rgba(21, 20, 18, 0.12);
  --shadow: 0 18px 50px rgba(50, 35, 14, 0.15);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.topbar {
  align-items: center;
  background: rgba(247, 241, 231, 0.92);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 72px;
  padding: 16px clamp(18px, 4vw, 56px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  height: 32px;
  width: 42px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.hero {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(247, 241, 231, 0.96), rgba(247, 241, 231, 0.75)),
    radial-gradient(circle at 76% 42%, rgba(200, 155, 60, 0.28), transparent 34%),
    linear-gradient(135deg, #fffaf1, #e9dec9);
  display: flex;
  min-height: calc(100vh - 72px);
  padding: clamp(40px, 9vw, 112px) clamp(22px, 7vw, 96px);
}

.hero-copy {
  max-width: 720px;
}

.hero-logo {
  display: block;
  height: auto;
  margin-bottom: 32px;
  max-width: min(520px, 82vw);
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.05;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(44px, 8vw, 92px);
  font-weight: 700;
}

h2 {
  font-size: clamp(26px, 4vw, 42px);
}

h3 {
  font-size: 24px;
}

p {
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 18px;
  max-width: 720px;
}

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

.center-actions {
  justify-content: center;
}

.button {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  text-decoration: none;
}

.button.primary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--ivory);
}

.button.secondary {
  background: rgba(255, 250, 241, 0.72);
  color: var(--ink);
}

.band {
  background: #151412;
  color: var(--ivory);
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: clamp(36px, 7vw, 84px) clamp(22px, 7vw, 96px);
}

.band p {
  color: rgba(247, 241, 231, 0.78);
  font-size: 16px;
}

.narrow,
.legal {
  margin: 0 auto;
  max-width: 920px;
  min-height: calc(100vh - 150px);
  padding: clamp(42px, 8vw, 90px) 22px;
}

.center {
  text-align: center;
}

.center p {
  margin-left: auto;
  margin-right: auto;
}

.app-icon {
  border-radius: 28px;
  box-shadow: var(--shadow);
  display: block;
  height: 132px;
  margin: 0 auto 28px;
  width: 132px;
}

.fine-print {
  font-size: 14px;
  margin-top: 20px;
}

.legal {
  background: var(--paper);
}

.legal h2,
.legal h3,
.legal h4 {
  margin-top: 34px;
}

.legal p,
.legal li {
  color: #3b352f;
  font-size: 16px;
}

.legal ul {
  padding-left: 24px;
}

.legal hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 28px 0;
}

footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  gap: 16px;
  justify-content: space-between;
  padding: 22px clamp(18px, 4vw, 56px);
}

footer a {
  text-decoration: none;
}

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

  nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
  }

  .band {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}
