:root {
  --bg: #efe7d8;
  --paper: #fffaf0;
  --text: #172033;
  --muted: #5f6b7c;
  --dark: #202938;
  --dark-2: #172033;
  --blue: #4d7feb;
  --yellow: #ffd400;
  --border: #e0d3bd;
  --radius: 18px;
  --shadow: 0 14px 32px rgba(60, 48, 28, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }

.age-strip {
  background: var(--dark-2);
  color: #fff;
  text-align: center;
  padding: 9px 14px;
  font-size: 14px;
}

.age-strip strong {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 26px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--yellow);
  color: #111;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 22px;
  background: rgba(239, 231, 216, 0.92);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--dark);
  color: var(--yellow);
  font-weight: 900;
  border: 2px solid var(--yellow);
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: -3px;
}

.main-nav {
  display: flex;
  gap: 22px;
  font-weight: 800;
  color: #374258;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  margin: 5px 0;
  border-radius: 6px;
  background: var(--text);
}

.hero,
.section,
.responsible-box,
.site-footer {
  max-width: 1180px;
  margin: 24px auto;
  padding-left: 22px;
  padding-right: 22px;
}

.hero {
  padding-top: 52px;
  padding-bottom: 46px;
}

.eyebrow {
  margin: 0 0 10px;
  color: #a17600;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 13px;
}

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

h1 {
  max-width: 960px;
  font-size: clamp(34px, 5vw, 60px);
}

h2 {
  font-size: clamp(26px, 3vw, 38px);
  margin-top: 12px;
}

p {
  max-width: 900px;
  margin: 0 0 18px;
  color: var(--muted);
}

.hero p {
  font-size: 18px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 900;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 20px rgba(77, 127, 235, 0.25);
}

.btn-secondary {
  background: var(--dark);
  color: #fff;
}

.section {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding-top: 34px;
  padding-bottom: 34px;
  box-shadow: var(--shadow);
}

.content-section {
  padding-top: 42px;
  padding-bottom: 42px;
}

.iframe-shell {
  margin-top: 22px;
  background: var(--dark);
  border: 3px solid var(--yellow);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 12px 28px rgba(32, 41, 56, .22);
}

.iframe-shell iframe {
  display: block;
  width: 100%;
  min-height: 165px;
  border: 0;
  border-radius: 14px;
  background: var(--dark);
}

.author-section {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 26px;
  align-items: center;
}

.author-photo {
  width: 170px;
  height: 170px;
  border-radius: 28px;
  background: #edf2fb;
  border: 4px solid var(--yellow);
}

.role {
  font-weight: 900;
  color: var(--blue);
}

.responsible-box {
  background: #fff4bf;
  border: 2px solid var(--yellow);
  border-radius: var(--radius);
  padding-top: 28px;
  padding-bottom: 28px;
}

.responsible-box p {
  margin-bottom: 0;
  color: #514718;
}

.site-footer {
  padding-top: 20px;
  padding-bottom: 44px;
}

.site-footer p {
  margin-top: 8px;
}

@media (max-width: 760px) {
  .main-nav {
    position: absolute;
    inset: 78px 14px auto 14px;
    display: none;
    flex-direction: column;
    padding: 18px;
    border-radius: 18px;
    background: var(--paper);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .main-nav.open { display: flex; }

  .nav-toggle { display: block; }

  .author-section {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .hero,
  .section,
  .responsible-box,
  .site-footer {
    margin-left: 12px;
    margin-right: 12px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .site-header {
    padding-left: 14px;
    padding-right: 14px;
  }

  .brand strong {
    font-size: 15px;
  }
}

.site-footer {
  background: #0f1724;
  color: #ffffff;
  padding: 40px 22px;
  margin-top: 40px;
  border-top: 2px solid #ffd400;
}

.site-footer strong {
  display: block;
  font-size: 20px;
  margin-bottom: 10px;
  color: #ffffff;
}

.site-footer p {
  color: #c7d0df;
  margin: 0;
  max-width: 700px;
  line-height: 1.7;
}

.site-footer a {
  color: #ffffff;
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffd400;
}

.footer-copy {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
  color: #aeb8c8;
  font-size: 14px;
}

.site-logo {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  flex-shrink: 0;
}


.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 15px;
}

.table thead th {
  background: var(--dark);
  color: #fff;
  text-align: left;
  padding: 14px 16px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: top;
}

.table tbody tr:nth-child(even) {
  background: rgba(255, 212, 0, 0.08);
}

.table tbody tr:hover {
  background: rgba(77, 127, 235, 0.08);
}

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

.table td:first-child,
.table th:first-child {
  font-weight: 700;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 22px;
  border-radius: 16px;
}