:root {
  --bg: #ffffff;
  --text: #111827;
  --muted: #4b5563;
  --line: #e5e7eb;
  --soft: #f8fafc;
  --accent: #0f766e;
  --accent-dark: #115e59;
  --max-width: 860px;
  --radius: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-dark);
}

.wrap {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

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

.header-wrap {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-logo {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

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

.site-nav a {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
}

.page {
  padding: 34px 0 56px;
}

.article-header {
  margin-bottom: 30px;
}

.eyebrow {
  margin: 0 0 10px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

h1,
h2,
h3 {
  color: var(--text);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  text-wrap: balance;
}

h2 {
  margin: 42px 0 16px;
  font-size: clamp(1.55rem, 3vw, 2rem);
}

h3 {
  margin: 28px 0 10px;
  font-size: 1.16rem;
}

p,
li {
  font-size: 1.08rem;
  color: var(--text);
}

p {
  margin: 0 0 18px;
}

.definition {
  margin: 0;
  font-size: 1.16rem;
  color: var(--muted);
  max-width: 62ch;
}

.article-figure {
  margin: 26px 0 30px;
}

.article-figure img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.article-figure-hero {
  margin-top: 0;
}

.offer-table {
  margin: 0 0 32px;
  padding: 22px 0 10px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.offer-table h2 {
  margin-top: 0;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  margin: 18px 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

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

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

thead th {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  background: var(--soft);
}

tbody tr:last-child td {
  border-bottom: none;
}

td a {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent);
}

td a:hover {
  background: var(--accent);
  color: #fff;
}

ol,
ul {
  margin: 0 0 20px 24px;
  padding: 0;
}

li {
  margin: 0 0 8px;
}

.faq h2 {
  margin-top: 46px;
}

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

.footer-wrap p {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 0.92rem;
}

@media (max-width: 820px) {
  .wrap {
    width: min(100% - 24px, var(--max-width));
  }

  .page {
    padding-top: 24px;
  }

  p,
  li {
    font-size: 1rem;
  }

  .definition {
    font-size: 1.05rem;
  }

  th,
  td {
    padding: 13px 12px;
  }
}

@media (max-width: 640px) {
  .header-wrap {
    min-height: 60px;
  }

  .site-nav {
    display: none;
  }

  h1 {
    font-size: clamp(1.85rem, 8vw, 2.45rem);
  }

  h2 {
    font-size: 1.45rem;
  }

  p,
  li {
    font-size: 0.98rem;
    line-height: 1.68;
  }

  .definition {
    font-size: 1rem;
  }

  table {
    min-width: 640px;
  }
}
