* {
  box-sizing: border-box;
}

:root {
  --bg: #f3efe7;
  --paper: #fffaf0;
  --ink: #171b25;
  --muted: #5f6470;
  --line: #ddd3bf;
  --accent: #b68a46;
  --accent-soft: #ead9b8;
  --deep: #111827;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(182, 138, 70, 0.16), transparent 34rem),
    linear-gradient(180deg, #f7f3eb 0%, var(--bg) 100%);
  line-height: 1.72;
}

.page {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 34px 20px 70px;
}

.article {
  max-width: 880px;
  margin: 0 auto;
}

.hero-image,
.inline-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.18);
}

.hero-image {
  margin: 0 0 40px;
}

.inline-image {
  margin: 42px 0 48px;
}

h1,
h2,
h3 {
  color: var(--deep);
  letter-spacing: -0.035em;
  line-height: 1.12;
}

h1 {
  margin: 0 0 28px;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  max-width: 980px;
}

h2 {
  margin: 58px 0 18px;
  font-size: clamp(1.55rem, 3.2vw, 2.55rem);
}

h3 {
  margin: 34px 0 8px;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
}

p {
  margin: 0 0 19px;
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  color: var(--ink);
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 24px 0 36px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 250, 240, 0.78);
  box-shadow: 0 18px 50px rgba(17, 24, 39, 0.08);
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

th,
td {
  padding: 18px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}

th {
  color: #101624;
  background: linear-gradient(180deg, rgba(234, 217, 184, 0.76), rgba(234, 217, 184, 0.42));
  font-weight: 760;
}

td:first-child {
  color: #252b38;
  font-weight: 700;
  width: 34%;
}

tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 720px) {
  body {
    line-height: 1.66;
  }

  .page {
    padding: 18px 14px 44px;
  }

  .hero-image,
  .inline-image {
    border-radius: 20px;
  }

  .hero-image {
    margin-bottom: 30px;
  }

  h1 {
    margin-bottom: 22px;
  }

  h2 {
    margin-top: 44px;
  }

  .table-wrap {
    margin: 20px -2px 30px;
    border-radius: 18px;
  }

  th,
  td {
    padding: 15px 16px;
    font-size: 0.95rem;
  }
}
