:root {
  --bg: #f3f7f2;
  --surface: #ffffff;
  --ink: #15272c;
  --muted: #4f666f;
  --primary: #0f8b7b;
  --line: #d4e3de;
  --radius: 14px;
}

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

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% -10%, #c4eadc 0%, transparent 32%),
    radial-gradient(circle at 90% 0%, #ffe1b9 0%, transparent 28%),
    var(--bg);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.wrap {
  width: min(980px, calc(100% - 1.4rem));
  margin: 0 auto;
  padding: 1rem 0 2rem;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.back {
  text-decoration: none;
  color: var(--primary);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 600;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.2;
}

h1 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
}

h2 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.hero,
.section {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(21, 39, 44, 0.12);
  border-radius: 18px;
  padding: clamp(1rem, 3vw, 1.7rem);
  box-shadow: 0 12px 30px rgba(14, 51, 56, 0.08);
}

.hero p {
  margin-top: 0.75rem;
}

.meta {
  margin-top: 0.75rem;
  font-size: 0.86rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  padding: 0.95rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fbfffd;
}

.card p {
  margin-top: 0.45rem;
}

ul {
  margin: 0.7rem 0 0;
  padding-left: 1rem;
  color: #35515a;
  display: grid;
  gap: 0.35rem;
}

a {
  color: #0b6f63;
  text-underline-offset: 2px;
}

.table-wrap {
  overflow-x: auto;
  margin-top: 0.8rem;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  border: 1px solid var(--line);
  background: #ffffff;
}

th,
td {
  border: 1px solid var(--line);
  padding: 0.58rem 0.62rem;
  text-align: left;
  font-size: 0.9rem;
}

th {
  background: #edf8f4;
  color: #1b444c;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.82rem;
}

.note {
  margin-top: 0.75rem;
  font-size: 0.86rem;
}

.cta {
  margin-top: 1rem;
}

.btn {
  display: inline-flex;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.62rem 0.95rem;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--primary) 0%, #0a6a5f 100%);
  color: #ffffff;
}

@media (max-width: 820px) {
  .grid.two {
    grid-template-columns: 1fr;
  }
}

.section { margin-top: 1rem; }
footer { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; margin-top: 1.5rem; }

.guide-options { margin-top: 1rem; }
.guide-subheading { margin: 1.25rem 0 0.6rem; }
.guide-toc ul { line-height: 1.6; }
.section > h2 { margin-bottom: 0.75rem; }
.section > p + p { margin-top: 0.75rem; }
.card ul { line-height: 1.6; }
.btn { line-height: 1.5; text-align: center; }
a:focus-visible { outline: 3px solid #0b6f63; outline-offset: 4px; }
[id] { scroll-margin-top: 1rem; }
