:root {
  --bg: #F7F3EC;
  --bg-alt: #FBF8F2;
  --paper: #FFFDF9;
  --ink: #2B2B2B;
  --muted: #5D5A57;
  --line: #DDD5CA;
  --rust: #B5562D;
  --rust-deep: #8F4323;
  --sea: #3F6D8C;
  --shadow: 0 12px 30px rgba(31, 26, 22, 0.08);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}

p {
  text-align: justify;
}

a { color: inherit; text-decoration: none; }
.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}
.narrow { width: min(820px, 100%); margin: 0 auto; }
.center { text-align: center; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 243, 236, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(221, 213, 202, 0.7);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}
.brand {
  font-family: 'Crimson Text', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--sea);
}
.nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.nav a {
  color: var(--muted);
  font-weight: 500;
}
.nav a:hover { color: var(--rust); }

.hero {
  padding: 5.5rem 0 4rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}
.eyebrow,
.section-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--rust);
  margin: 0 0 0.75rem;
}
.hero h1,
.section h2 {
  font-family: 'Crimson Text', Georgia, serif;
  line-height: 1.05;
  margin: 0;
}
.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
}
.subtitle {
  margin: 0.8rem 0 1rem;
  font-size: 1.2rem;
  color: var(--sea);
  font-weight: 600;
}
.lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 62ch;
}
.cta-row {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.button.primary {
  background: var(--rust);
  color: white;
}
.button.primary:hover { background: var(--rust-deep); }
.button.secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.launch-note,
.small-note {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 1rem;
}

.hero-card {
  display: flex;
  justify-content: center;
}
.cover-shell {
  width: min(360px, 100%);
  min-height: 520px;
  display: grid;
  grid-template-columns: 18px 1fr;
  background: var(--paper);
  border: 1px solid rgba(143, 67, 35, 0.16);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 18px 38px rgba(41, 34, 29, 0.14);
}
.cover-strip {
  background: linear-gradient(180deg, #C5663C 0%, #A24D29 100%);
}
.cover-content {
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.cover-series,
.cover-author {
  margin: 0;
  font-family: 'Crimson Text', Georgia, serif;
}
.cover-series {
  color: var(--sea);
  font-size: 1rem;
  font-weight: 700;
}
.cover-content h2 {
  font-size: 2.8rem;
  font-family: 'Crimson Text', Georgia, serif;
  margin: 1rem 0 0.5rem;
}
.cover-sub {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--muted);
  font-weight: 600;
}
.cover-author {
  font-size: 1.2rem;
  color: var(--rust);
  font-weight: 700;
}

.section {
  padding: 4.6rem 0;
}
.section.alt {
  background: var(--bg-alt);
  border-top: 1px solid rgba(221, 213, 202, 0.7);
  border-bottom: 1px solid rgba(221, 213, 202, 0.7);
}
.section h2 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  margin-bottom: 1rem;
}
.section p {
  color: var(--muted);
  font-size: 1.04rem;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.feature-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: var(--shadow);
}
.feature-card h3 {
  margin: 0 0 0.6rem;
  font-family: 'Crimson Text', Georgia, serif;
  font-size: 1.45rem;
  color: var(--ink);
}
.contact-link {
  color: var(--sea);
  font-weight: 700;
}
.contact-link:hover { color: var(--rust); }

.site-footer {
  padding: 1.6rem 0 2.2rem;
}
.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.94rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 4.2rem;
  }
}

@media (max-width: 640px) {
  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  .cover-shell {
    min-height: 470px;
  }
  .cover-content h2 {
    font-size: 2.3rem;
  }
}
