:root {
  color-scheme: dark;
  --bg: #0b0a09;
  --surface: rgba(23, 19, 16, 0.74);
  --surface-strong: rgba(31, 25, 21, 0.9);
  --surface-soft: rgba(255, 248, 238, 0.05);
  --text: #f7f2ea;
  --muted: #b4a89a;
  --line: rgba(255, 244, 230, 0.11);
  --brand: #d9b47c;
  --brand-deep: #7e5530;
  --accent: #efe0c6;
  --shadow: rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(circle at top left, rgba(217, 180, 124, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.06), transparent 22%),
    linear-gradient(180deg, #080706 0%, var(--bg) 100%);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
}

body {
  min-height: 100vh;
}

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

.shell {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0 64px;
}

.shell.narrow {
  width: min(820px, calc(100% - 32px));
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 24px 80px var(--shadow);
  backdrop-filter: blur(14px);
}

.hero {
  padding: 34px 34px 36px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0 0 12px;
  line-height: 1.05;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.9rem, 7vw, 5.3rem);
  max-width: 11ch;
  letter-spacing: -0.04em;
}

h2 {
  font-size: 1.42rem;
  letter-spacing: -0.02em;
}

p,
li {
  color: var(--text);
  line-height: 1.72;
  font-size: 1.03rem;
}

.lede {
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.12rem;
}

.muted {
  color: var(--muted);
}

.hero-top,
.hero-layout,
.statement-layout {
  display: grid;
  gap: 20px;
}

.hero-top {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.hero-layout {
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
  align-items: end;
}

.hero-card {
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: auto -12% -36% auto;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(217, 180, 124, 0.18), transparent 68%);
  pointer-events: none;
}

.hero-badge,
.feature-chip,
.panel-label,
.tile-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 248, 238, 0.04);
  color: var(--accent);
}

.hero-panel {
  position: relative;
  z-index: 1;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 248, 238, 0.05), rgba(255, 248, 238, 0.02));
}

.panel-label {
  margin: 0 0 14px;
  color: var(--muted);
}

.hero-panel-grid {
  display: grid;
  gap: 12px;
}

.panel-tile {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: 18px;
  text-decoration: none;
  color: var(--text);
  background: var(--surface-soft);
  border: 1px solid rgba(255, 244, 230, 0.08);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.panel-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(217, 180, 124, 0.34);
  background: rgba(255, 248, 238, 0.07);
}

.tile-kicker,
.tile-meta {
  color: var(--muted);
}

.tile-meta {
  font-size: 0.92rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 160ms ease, opacity 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  background: linear-gradient(180deg, #e4c18d, #d2a664);
  color: #17110b;
  box-shadow: 0 16px 38px rgba(217, 180, 124, 0.22);
}

.button.secondary {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}

.feature-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.feature-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 248, 238, 0.03);
  color: var(--muted);
}

.cards-grid {
  margin-top: 8px;
}

.info-card {
  min-height: 100%;
}

.product-card {
  grid-column: span 2;
}

.product-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.contact {
  font-size: 1.1rem;
}

.mono {
  font-family: "Courier New", monospace;
}

.prose h1 {
  max-width: none;
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 20px;
}

.prose h2 {
  margin-top: 28px;
}

.prose ul {
  padding-left: 20px;
}

.back-link {
  text-decoration: none;
}

.statement-card {
  margin-top: 18px;
}

.statement-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
}

.statement-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  max-width: 12ch;
}

@media (max-width: 640px) {
  .shell,
  .shell.narrow {
    width: min(100% - 20px, 100%);
    padding-top: 20px;
    padding-bottom: 32px;
  }

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

  h1 {
    max-width: none;
  }

  .hero-top,
  .hero-layout,
  .statement-layout {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-column: span 1;
  }
}
