/* «Нефрит и тушь» — дизайн book.sales2china.ru (29.09.2026) */

:root {
  --bg: #0f1115;
  --bg-2: #14181f;
  --panel: #181e26;
  --paper: #f2ede3;
  --muted: rgba(242, 237, 227, 0.62);
  --faint: rgba(242, 237, 227, 0.38);
  --jade: #2ea87d;
  --jade-deep: #1c6f52;
  --jade-soft: rgba(46, 168, 125, 0.12);
  --gold: #d4a94e;
  --gold-soft: rgba(212, 169, 78, 0.12);
  --line: rgba(242, 237, 227, 0.1);
  --radius: 18px;
  --font-display: "Manrope", -apple-system, sans-serif;
  --font-body: "Manrope", -apple-system, "Segoe UI", sans-serif;
  --maxw: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(1100px 520px at 85% -10%, rgba(46, 168, 125, 0.16), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(28, 111, 82, 0.1), transparent 55%),
    radial-gradient(1200px 700px at 50% 115%, rgba(212, 169, 78, 0.07), transparent 60%),
    var(--bg);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--jade); text-decoration: none; }
a:hover { color: var(--paper); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(15, 17, 21, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  white-space: nowrap;
}

.brand b { color: var(--jade); font-weight: 500; }

.site-nav { display: flex; gap: 28px; flex: none; }

.site-nav a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav a:hover { color: var(--jade); }

a.nav-cta { display: none; padding: 10px 22px; font-size: 12px; }

/* ---------- shared ---------- */

section { padding: 110px 0; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}

.kicker::before {
  content: "";
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

h2.section-title {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.18;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.section-lead { max-width: 640px; color: var(--muted); margin-bottom: 56px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn--jade {
  background: linear-gradient(135deg, var(--jade), var(--jade-deep));
  color: #07130e;
  box-shadow: 0 12px 34px rgba(46, 168, 125, 0.35);
}

.btn--jade:hover { color: #07130e; transform: translateY(-2px); box-shadow: 0 16px 42px rgba(46, 168, 125, 0.5); }

.btn--ghost { border-color: rgba(242, 237, 227, 0.28); color: var(--paper); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- hero ---------- */

.hero { padding: 168px 0 110px; position: relative; overflow: hidden; }

.hero .container {
  display: grid;
  grid-template-columns: minmax(300px, 440px) 1fr;
  gap: 72px;
  align-items: center;
}

.hero__cover { position: relative; }

.hero__cover img {
  border-radius: 6px;
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.65),
    0 0 120px rgba(46, 168, 125, 0.22);
  transform: rotate(-1.5deg);
}

.hero__cover::after {
  content: "";
  position: absolute;
  inset: -18px;
  border: 1px solid rgba(212, 169, 78, 0.35);
  border-radius: 14px;
  transform: rotate(1.5deg);
  pointer-events: none;
}

.hero__author {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(34px, 5.2vw, 60px);
  line-height: 1.12;
  text-transform: uppercase;
  letter-spacing: 0.015em;
  margin-bottom: 22px;
}

.hero h1 em { font-style: normal; color: var(--jade); }

.hero__sub { font-size: 19px; color: var(--muted); max-width: 560px; margin-bottom: 26px; }

.hero__epigraph {
  border-left: 2px solid var(--gold);
  padding: 6px 0 6px 20px;
  color: var(--faint);
  font-style: italic;
  margin-bottom: 40px;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 64px;
  border-top: 1px solid var(--line);
}

.hero__facts div {
  flex: 1 1 160px;
  padding: 26px 28px 0 0;
}

.hero__facts b {
  display: block;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 30px;
  color: var(--jade);
  margin-bottom: 4px;
}

.hero__facts span { font-size: 14px; color: var(--faint); }

/* ---------- about (three theses) ---------- */

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

.thesis {
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 32px;
  position: relative;
  overflow: hidden;
}

.thesis::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--jade), transparent);
  opacity: 0.7;
}

.thesis__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--jade-soft);
  border: 1px solid rgba(46, 168, 125, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--jade);
}

.thesis h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 17px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.thesis p { font-size: 15.5px; color: var(--muted); }

/* ---------- chapters ---------- */

.chapters { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.chapter-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.chapter {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.chapter:hover { transform: translateY(-6px); border-color: rgba(46, 168, 125, 0.5); }

.chapter__img { position: relative; aspect-ratio: 1/1; overflow: hidden; }

.chapter__img img { width: 100%; height: 100%; object-fit: cover; }

.chapter__num {
  position: absolute;
  top: 14px;
  left: 16px;
  font-family: var(--font-display);
  font-weight: 200;
  font-size: 34px;
  color: var(--paper);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8);
}

.chapter__num i { font-style: normal; color: var(--gold); }

.chapter__body { padding: 22px 22px 26px; }

.chapter__tag {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--jade);
  margin-bottom: 8px;
}

.chapter h3 { font-size: 17px; font-weight: 700; line-height: 1.4; }

/* ---------- author ---------- */

.author .container {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 72px;
  align-items: center;
}

.author__photo { position: relative; }

.author__photo img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

.author__photo::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid rgba(212, 169, 78, 0.35);
  border-radius: var(--radius);
  z-index: -1;
}

.author p { color: var(--muted); margin-bottom: 18px; }

.author__creds {
  list-style: none;
  margin: 26px 0 34px;
  display: grid;
  gap: 10px;
}

.author__creds li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 15.5px;
}

.author__creds li::before {
  content: "◆";
  color: var(--jade);
  font-size: 10px;
  flex: none;
  transform: translateY(-2px);
}

/* ---------- reviews ---------- */

.reviews { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.review {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 32px 28px;
  position: relative;
}

.review::before {
  content: "«";
  position: absolute;
  top: 6px;
  left: 24px;
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 200;
  color: var(--jade);
  opacity: 0.55;
  line-height: 1;
}

.review p { font-size: 15.5px; color: var(--muted); font-style: italic; margin: 18px 0 22px; }

.review h5 { font-size: 15px; font-weight: 700; }

.review span { font-size: 13px; color: var(--faint); }

/* ---------- buy ---------- */

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

.buy-card {
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.buy-card:hover { border-color: rgba(212, 169, 78, 0.55); transform: translateY(-4px); }

.buy-card__logo {
  height: 34px;
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 19px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper);
}

.buy-card__fmt { font-size: 13px; color: var(--faint); margin-top: -14px; }

/* ---------- other books ---------- */

.other-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.other-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 34px;
  background: linear-gradient(135deg, var(--panel), var(--bg-2));
}

.other-card h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 19px;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.other-card p { font-size: 15px; color: var(--muted); margin-bottom: 24px; }

/* ---------- footer ---------- */

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

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--faint);
}

.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--jade); }

.footer-social { display: flex; align-items: center; gap: 12px; }

/* ---------- responsive ---------- */

@media (max-width: 1280px) {
  .brand span { display: none; }
  .brand b { display: none; }
}

@media (max-width: 1020px) {
  .hero .container { grid-template-columns: 1fr; gap: 48px; }
  .hero__cover { max-width: 360px; }
  .author .container { grid-template-columns: 1fr; gap: 48px; }
  .author__photo { max-width: 440px; }
  .chapter-grid { grid-template-columns: 1fr 1fr; }
  .theses { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  section { padding: 76px 0; }
  .hero { padding-top: 128px; }
  .site-nav { display: none; }
  a.nav-cta { display: inline-flex; }
  .review-grid, .buy-grid, .other-grid, .chapter-grid { grid-template-columns: 1fr; }
}
