:root {
  --bg: #f5efe4;
  --bg-accent: #e7dcc8;
  --surface: rgba(255, 252, 246, 0.8);
  --surface-strong: #fffaf2;
  --text: #1f1a17;
  --muted: #5d534a;
  --line: rgba(31, 26, 23, 0.12);
  --accent: #9f4f2d;
  --accent-strong: #7e3e22;
  --shadow: 0 24px 60px rgba(60, 35, 18, 0.08);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 999px;
  --container: min(1120px, calc(100vw - 2rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.65), transparent 34%),
    linear-gradient(180deg, var(--bg) 0%, #f2eadb 100%);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  padding: 1.25rem 0 0;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 250, 242, 0.72);
  backdrop-filter: blur(16px);
}

.brand,
.nav-link {
  text-decoration: none;
}

.brand {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.hero {
  padding: 4.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr);
  gap: 1.5rem;
  align-items: stretch;
}

.hero-copy,
.hero-card,
.detail-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: clamp(2rem, 4vw, 4rem);
  border-radius: var(--radius-lg);
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1rem;
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.intro {
  max-width: 34rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 700;
}

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

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-strong);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.7);
}

.hero-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(231, 220, 200, 0.9)),
    var(--surface-strong);
}

.card-label {
  margin-bottom: 0.75rem;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-card h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.05;
}

.feature-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
  line-height: 1.8;
}

.details {
  padding: 1rem 0 5rem;
}

.section-heading {
  max-width: 40rem;
  margin-bottom: 1.5rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.detail-card {
  padding: 1.5rem;
  border-radius: var(--radius-md);
}

.detail-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.detail-card p,
.site-footer p {
  color: var(--muted);
  line-height: 1.7;
}

.site-footer {
  padding: 0 0 2rem;
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.button:focus-visible,
.brand:focus-visible,
.nav-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 860px) {
  .hero {
    padding-top: 3rem;
  }

  .hero-grid,
  .detail-grid,
  .footer-shell {
    grid-template-columns: 1fr;
    display: grid;
  }

  .footer-shell {
    gap: 0.25rem;
  }

  h1 {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .nav-shell {
    padding: 0.85rem 1rem;
  }

  .hero-copy,
  .hero-card,
  .detail-card {
    padding: 1.25rem;
  }

  .intro,
  .detail-card p,
  .site-footer p,
  .feature-list {
    font-size: 1rem;
  }
}
