:root {
  --bg: #0f1113;
  --bg-soft: #171a1d;
  --surface: #1d2125;
  --text: #f3efe7;
  --muted: #b9b3a9;
  --line: rgba(255,255,255,.11);
  --accent: #d18a42;
  --accent-2: #e4b56f;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  z-index: 10;
  background: #fff;
  color: #000;
  padding: .7rem 1rem;
  border-radius: .4rem;
}
.skip-link:focus { left: 1rem; }

.wrap {
  width: min(calc(100% - 2.4rem), var(--max));
  margin-inline: auto;
}
.narrow { max-width: 790px; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 3rem 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(209,138,66,.16), transparent 28rem),
    linear-gradient(145deg, #0b0d0f 0%, #16191c 55%, #101214 100%);
}
.hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.015) 45%, transparent 100%);
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr;
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
}
.hero__cover {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero__cover img {
  width: auto;
  max-width: 100%;
  max-height: min(72svh, 640px);
  object-fit: contain;
  border-radius: 0;
  box-shadow: 0 24px 64px rgba(0,0,0,.30);
}
.eyebrow {
  margin: 0 0 .9rem;
  color: var(--accent-2);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1, h2, h3, blockquote {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
}
h1 {
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 5.5rem);
  letter-spacing: -.035em;
}
h1 span {
  color: var(--accent-2);
  font-size: 1.18em;
}
.lead {
  margin: 1.7rem 0 1rem;
  max-width: 760px;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.35;
  color: #fff;
}
.hero__text { max-width: 760px; color: var(--muted); font-size: 1.05rem; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .78rem 1.18rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 750;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--accent); color: #17110b; }
.button--primary:hover { background: var(--accent-2); }
.button--ghost { border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.button--ghost:hover { border-color: rgba(255,255,255,.27); }
.availability { margin-top: 1.25rem; color: #8f8a82; font-size: .9rem; }

.section { padding: clamp(3.5rem, 6vw, 5.5rem) 0; border-top: 1px solid var(--line); }
.section--dark { background: var(--bg-soft); }
.section h2 {
  margin: .2rem 0 1.35rem;
  font-size: clamp(2.15rem, 4.8vw, 4.1rem);
  letter-spacing: -.025em;
}
.intro { color: var(--accent-2); font-size: 1.25rem; }
.section p { color: var(--muted); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.card {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.022);
}
.card__number { color: var(--accent); font-weight: 800; letter-spacing: .1em; }
.card h3 { font-size: 1.6rem; margin: 1rem 0 .8rem; }
.card p { margin-bottom: 0; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 7vw, 7rem); align-items: start; }

.quote-section {
  padding: clamp(4rem, 7vw, 6rem) 0;
  text-align: center;
  background: linear-gradient(180deg, #171a1d, #111315);
  border-block: 1px solid var(--line);
}
blockquote {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  color: var(--text);
}
.quote-section p { color: var(--accent-2); margin-top: 1.4rem; }

.cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2.4rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.025);
}
.cta h2 { font-size: clamp(2rem, 4vw, 3.3rem); }
.section--author { background: #0c0e10; }
.contact a { color: var(--accent-2); text-underline-offset: 3px; }

footer { border-top: 1px solid var(--line); padding: 2rem 0 3rem; color: #88837b; font-size: .9rem; }
.footer__inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer__inner p { margin: 0; }
.footer__inner a { color: inherit; }
.footer__links { display: flex; gap: .7rem; flex-wrap: wrap; align-items: center; }

/* Legal pages */
.legal-page { min-height: 100vh; background: var(--bg); }
.legal-header { padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.legal-header a { color: var(--accent-2); text-decoration: none; font-weight: 700; }
.legal-main { padding: clamp(3rem, 6vw, 5rem) 0; }
.legal-main h1 { font-size: clamp(2.6rem, 6vw, 4.7rem); margin-bottom: 2rem; }
.legal-main h2 { font-size: clamp(1.45rem, 3vw, 2rem); margin: 2.2rem 0 .6rem; }
.legal-main p, .legal-main li { color: var(--muted); }
.legal-main a { color: var(--accent-2); text-underline-offset: 3px; }
.legal-note { padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.025); }

@media (max-width: 820px) {
  .hero { min-height: auto; padding-top: 2.4rem; }
  .hero__grid { grid-template-columns: 1fr; gap: 2.8rem; }
  .hero__cover { width: min(75vw, 360px); margin-inline: auto; }
  .hero__copy { text-align: center; }
  .hero__text, .lead { margin-inline: auto; }
  .actions { justify-content: center; }
  .cards { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: .5rem; }
  .cta { grid-template-columns: 1fr; }
  .cta .button { justify-self: start; }
}

@media (max-width: 520px) {
  .wrap { width: min(calc(100% - 1.5rem), var(--max)); }
  .hero__cover { width: min(82vw, 330px); }
  .card, .cta { padding: 1.45rem; border-radius: 16px; }
  .actions { display: grid; }
  .button { width: 100%; }
  .cta .button { justify-self: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

/* Hero title: keep the book title completely unframed. */
.hero__copy,
.hero__copy h1,
.hero__copy h1 span {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}


/* Book cover: no visible frame or outline. */
.hero__cover,
.hero__cover img {
  border: 0 !important;
  outline: 0 !important;
}
.hero__cover img {
  border-radius: 0 !important;
  box-shadow: 0 24px 64px rgba(0,0,0,.30) !important;
}
