:root {
  --bg: #0b1020;
  --bg-soft: #111933;
  --text: #ebf0ff;
  --muted: #b3bed9;
  --line: rgba(255,255,255,0.1);
  --card: rgba(255,255,255,0.04);
  --accent: #8ab4ff;
  --accent-2: #d6e4ff;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(0,0,0,0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: radial-gradient(circle at top, #162345 0%, var(--bg) 48%);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 32px)); margin: 0 auto; }
.center { text-align: center; }
.top-space { padding-top: 120px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(11, 16, 32, 0.7);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.logo {
  font-weight: 800;
  letter-spacing: 0.02em;
}

nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

nav a {
  color: var(--muted);
  font-weight: 500;
}

nav a:hover,
.text-link:hover { color: var(--white); }

.hero {
  padding: 88px 0 48px;
}

.hero-grid,
.two-col {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

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

h1, h2, h3 {
  line-height: 1.1;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

h1 span {
  font-size: 0.5em;
  color: var(--accent-2);
  display: block;
  margin-top: 8px;
}

h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); }
h3 { font-size: 1.2rem; }

.lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 62ch;
}

.hero-actions,
.buy-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #6f8dff);
  color: #08101f;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.button-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--line);
  box-shadow: none;
}

.book-mockup {
  display: flex;
  justify-content: center;
}

.cover-placeholder {
  width: 300px;
  aspect-ratio: 2 / 3;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(138,180,255,0.25), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  color: var(--accent-2);
  box-shadow: var(--shadow);
}
.cover-placeholder.large { width: 340px; }

.section { padding: 72px 0; }
.section-dark { background: rgba(255,255,255,0.03); }
.section-accent { background: linear-gradient(180deg, rgba(138,180,255,0.08), rgba(255,255,255,0.02)); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
}

blockquote {
  margin: 0;
  padding: 28px;
  border-left: 3px solid var(--accent);
  background: var(--card);
  border-radius: 16px;
}

.clean-list {
  padding-left: 18px;
  color: var(--muted);
}

.author-box { align-self: start; }
.book-meta { color: var(--muted); }
.sticky { position: sticky; top: 112px; }
.center-actions { justify-content: center; }
.legal { max-width: 720px; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 22px 0 40px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--muted);
}

.footer-grid div {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .hero-grid,
  .two-col,
  .cards {
    grid-template-columns: 1fr;
  }

  .sticky { position: static; }
}

@media (max-width: 640px) {
  .book-mockup {
  max-width: 280px;
  margin: 32px auto 0;
}
    font-size: 48px;
    line-height: 1.1;
}.legal h2 {
    font-size: 28px;
    line-height: 1.25;
    margin-top: 36px;
    margin-bottom: 16px;
}.author-photo {
    display: flex;
    justify-content: center;
    align-items: center;
}
.author-photo img {
    width: 100%;
    max-width: 340px;
    height: auto;
    display: block;
    border-radius: 20px;
}

/* Smartphone-Navigation */
@media (max-width: 640px) {
  .nav {
    min-height: auto;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 14px 0;
  }

  .logo {
    white-space: nowrap;
  }

  nav {
    width: 100%;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
  }
}
.name-nowrap {
  white-space: nowrap;
}
@media (max-width: 640px) {
  .legal h1 {
    font-size: 24px;
    line-height: 1.1;
    overflow-wrap: break-word;
  }
}