:root {
  --ink: #171717;
  --muted: #5f5b50;
  --cream: #fff7d7;
  --cream-2: #fffdf4;
  --panel: #ffffff;
  --yellow: #ffd21f;
  --yellow-dark: #e8b900;
  --line: #191919;
  --soft-line: #e4e4e4;
  --shadow: 6px 6px 0 rgba(23, 23, 23, 0.1);
  --radius: 0;
  --radius-sm: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle, rgba(23, 23, 23, 0.07) 1px, transparent 1px) 0 0 / 18px 18px,
    var(--cream-2);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(244, 197, 66, 0.85);
  outline-offset: 4px;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

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

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand strong {
  font-size: 1.05rem;
  letter-spacing: 0;
}

.brand span {
  color: var(--muted);
  font-size: 0.82rem;
}

.font-semibold {
  font-weight: 700;
}

.tracking-tight {
  letter-spacing: 0;
}

.text-gray-500 {
  color: var(--muted);
}

.font-normal {
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #201f1b;
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
}

.nav-links a:not(.button):hover,
.site-footer a:hover {
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 2px solid var(--line);
  border-radius: 0;
  padding: 0.78rem 1.15rem;
  background: var(--yellow);
  box-shadow: 3px 3px 0 rgba(23, 23, 23, 0.14);
  color: #171717;
  font-weight: 900;
  line-height: 1.2;
}

.button:hover {
  background: var(--yellow-dark);
  transform: translate(-1px, -1px);
}

.button.secondary {
  background: #fff;
  border-color: var(--line);
}

.button.secondary:hover {
  background: #fff9e8;
}

.hero {
  border-bottom: 2px solid var(--line);
  background:
    radial-gradient(circle, rgba(23, 23, 23, 0.075) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(180deg, #fffdf4 0%, #fff9e5 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: 44px;
  align-items: center;
  padding: 64px 0 46px;
}

.hero-simple {
  max-width: 1160px;
  padding: 76px 0 70px;
}

.pill,
.tag,
.category-chip {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--line);
  border-radius: 0;
  background: var(--yellow);
  padding: 0.32rem 0.55rem;
  color: #171717;
  font-size: 0.74rem;
  font-weight: 950;
  line-height: 1.1;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 16px;
  font-size: clamp(2.45rem, 6vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  line-height: 1.25;
}

.hero-lede {
  max-width: 720px;
  margin-bottom: 16px;
  color: #292721;
  font-size: clamp(1.12rem, 2.1vw, 1.38rem);
  line-height: 1.45;
  font-weight: 750;
}

.hero-copy,
.muted,
.section-head p,
.content p,
.card p,
.step-card p,
.blog-card p,
.qa-card p {
  color: var(--muted);
}

.hero-card,
.card,
.pricing-card,
.step-card,
.blog-card,
.qa-card,
.exam-card,
.callout,
.form-panel {
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 18px;
}

.hero-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 0;
  object-fit: cover;
  object-position: center top;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: #2a2823;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05rem;
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border: 2px solid var(--line);
  border-radius: 0;
  background: var(--yellow);
  color: #171717;
  font-size: 0.78rem;
  font-weight: 900;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.section {
  padding: 64px 0;
  border-top: 0;
  border-bottom: 1px solid #e7e7e7;
  background: #fffdf4;
}

.section.tight {
  padding: 44px 0;
}

.section.tight .section-head {
  margin-bottom: 22px;
}

.section.alt {
  background:
    linear-gradient(rgba(23, 23, 23, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 23, 23, 0.045) 1px, transparent 1px),
    #f4f4f4;
  background-size: 28px 28px;
}

.section-head {
  max-width: 1160px;
  margin-bottom: 32px;
}

.section-head.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.card-grid,
.blog-grid,
.topic-grid,
.exam-grid,
.faq-grid,
.steps-grid,
.link-grid {
  display: grid;
  gap: 18px;
}

.card-grid,
.blog-grid {
  grid-template-columns: repeat(3, 1fr);
}

.topic-grid,
.exam-grid {
  grid-template-columns: repeat(4, 1fr);
}

.steps-grid {
  grid-template-columns: repeat(4, 1fr);
}

.faq-grid,
.link-grid {
  grid-template-columns: repeat(2, 1fr);
}

.card,
.blog-card,
.qa-card,
.exam-card,
.step-card {
  padding: 22px;
}

.pricing-card .check-list {
  margin-bottom: 34px;
}

.pricing-card .button-row {
  margin-top: 0;
  width: 100%;
}

.pricing-card .button-row .button {
  width: 100%;
}

.blog-card,
.exam-card {
  display: flex;
  flex-direction: column;
  min-height: 210px;
}

.exam-card[type="button"] {
  width: 100%;
  min-height: 150px;
  cursor: pointer;
  color: inherit;
  font: inherit;
  text-align: left;
}

.exam-card[aria-selected="true"] {
  border-color: var(--line);
  background: var(--yellow);
}

.exam-card[aria-selected="true"] h3 {
  color: #4b3600;
}

.blog-card a,
.exam-card a,
.text-link {
  margin-top: auto;
  color: #6d5108;
  font-weight: 850;
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.compact-list {
  columns: 2;
  column-gap: 42px;
  max-width: 760px;
  margin: 0;
  padding-left: 1.2rem;
  color: #30394a;
}

.compact-list li {
  break-inside: avoid;
  margin-bottom: 10px;
}

.featured-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border: 2px solid var(--line);
  border-radius: 0;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 210, 31, 0.34) 0 44px, transparent 45px),
    #171717;
  padding: 30px;
  color: #fffdf4;
  box-shadow: var(--shadow);
}

.featured-card p {
  color: #f8eccd;
}

.featured-card .tag,
.compact-cta .tag {
  background: #fff8df;
  color: var(--ink);
}

.featured-card .check-list li,
.compact-cta .check-list li {
  color: #fff8df;
}

.featured-card .check-list li::before,
.compact-cta .check-list li::before {
  background: #fff0ad;
  color: var(--ink);
}

.featured-card .button.secondary,
.compact-cta .button.secondary {
  border-color: rgba(255, 248, 223, 0.7);
  background: transparent;
  color: #fff8df;
}

.featured-card .button.secondary:hover,
.compact-cta .button.secondary:hover {
  background: rgba(255, 248, 223, 0.12);
}

.compact-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  border: 2px solid var(--line);
  border-radius: 0;
  background: #171717;
  padding: 24px;
  color: #fffdf4;
}

.compact-cta h2 {
  margin-bottom: 8px;
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
}

.compact-cta p {
  margin-bottom: 0;
  color: #f8eccd;
}

.soft-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  border: 2px solid var(--line);
  border-radius: 0;
  background: #fffdf6;
  padding: 24px;
}

.soft-cta h2 {
  margin-bottom: 8px;
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
}

.soft-cta p {
  margin-bottom: 0;
}

.audience-tag {
  display: inline-flex;
  width: fit-content;
  margin: 8px 0 14px;
  border: 2px solid var(--line);
  border-radius: 0;
  background: var(--yellow);
  padding: 0.28rem 0.62rem;
  color: #5b4300;
  font-size: 0.82rem;
  font-weight: 800;
}

.content-wrap {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
}

.content {
  padding: 48px 0 24px;
  font-size: 1.04rem;
  line-height: 1.75;
}

.content p,
.content ul,
.content ol {
  max-width: none;
}

.content li + li {
  margin-top: 0.38rem;
}

.content h2 {
  margin-top: 34px;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.content h3 {
  margin-top: 26px;
}

.content a {
  color: #6d5108;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.callout {
  margin: 28px 0;
  padding: 22px;
  background: #fff8df;
}

.callout strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

.inline-note {
  margin-top: 18px;
}

.split-grid,
.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 32px;
  align-items: start;
}

.placeholder {
  border-style: dashed;
  background: #fffdf8;
}

.exam-section {
  scroll-margin-top: 90px;
  margin-top: 22px;
}

.exam-panel[hidden] {
  display: none;
}

.resource-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.table-wrap {
  overflow-x: auto;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow);
}

.local-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  color: #30394a;
}

.local-table th,
.local-table td {
  border-bottom: 1px solid var(--soft-line);
  padding: 14px;
  text-align: left;
  vertical-align: top;
}

.local-table th {
  border-bottom: 2px solid var(--line);
  background: var(--yellow);
  color: #171717;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

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

.source-list {
  display: grid;
  gap: 8px;
}

.source-link {
  display: inline-flex;
  width: fit-content;
  border: 2px solid var(--line);
  border-radius: 0;
  background: #fff;
  padding: 0.42rem 0.68rem;
  color: #6d5108;
  font-size: 0.82rem;
  font-weight: 850;
  text-decoration: none;
}

.source-link:hover {
  background: #fff9e8;
}

.local-note {
  margin-top: 18px;
  border: 2px solid var(--line);
  border-left: 4px solid var(--yellow);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 18px;
}

.local-note p:last-child {
  margin-bottom: 0;
}

details {
  padding: 18px 20px;
}

details.qa-card {
  padding: 0;
}

summary {
  cursor: pointer;
  font-weight: 850;
}

details.qa-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 18px 20px;
}

details.qa-card summary::after {
  content: "+";
  margin-left: 18px;
  font-weight: 950;
}

details.qa-card[open] summary::after {
  content: "-";
}

details p {
  margin: 12px 0 0;
}

details.qa-card p {
  padding: 0 20px 20px;
}

.form-panel {
  padding: 26px;
  border: 2px solid var(--line);
  border-radius: 0;
  background: #fff;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

label {
  display: block;
  margin-bottom: 6px;
  color: #30394a;
  font-size: 0.92rem;
  font-weight: 820;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 2px solid var(--line);
  border-radius: 0;
  background: #fffdf8;
  padding: 0.78rem 0.86rem;
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

.field {
  margin-bottom: 16px;
}

.checkbox-field {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
}

.checkbox-field input {
  width: auto;
  min-height: 0;
  margin-top: 0.35rem;
}

.hidden {
  display: none;
}

.form-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  border-top: 0;
  background: #111827;
  color: #fff8df;
  padding: 46px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) repeat(2, minmax(170px, 0.75fr));
  gap: 28px;
}

.footer-brand,
.site-footer h3,
.site-footer p {
  margin-bottom: 8px;
}

.footer-brand {
  font-size: 1.25rem;
  font-weight: 850;
}

.site-footer p,
.site-footer a {
  color: #e9dec0;
  font-size: 0.94rem;
}

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

.site-footer ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.safety {
  border: 1px solid rgba(244, 197, 66, 0.35);
  border-radius: 12px;
  padding: 14px;
  background: rgba(255, 248, 223, 0.08);
}

.copyright {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 248, 223, 0.16);
  color: #d7caac;
  font-size: 0.88rem;
}

.local-page {
  --ink: #171717;
  --muted: #5f5b50;
  --yellow: #ffd21f;
  --yellow-dark: #e8b900;
  --line: #191919;
  --soft-line: #e4e4e4;
  --shadow: 6px 6px 0 rgba(23, 23, 23, 0.1);
  background:
    radial-gradient(circle, rgba(23, 23, 23, 0.07) 1px, transparent 1px) 0 0 / 18px 18px,
    #fffdf4;
  color: var(--ink);
  font-size: 15px;
}

.local-page .site-header {
  border-bottom: 2px solid var(--line);
  background: rgba(255, 253, 244, 0.96);
}

.local-page .nav-wrap {
  padding: 12px 0;
}

.local-page .nav-links {
  gap: 20px;
  color: #201f1b;
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
}

.local-page .button {
  min-height: 44px;
  border: 2px solid var(--line);
  border-radius: 0;
  background: var(--yellow);
  box-shadow: 3px 3px 0 rgba(23, 23, 23, 0.14);
  color: #171717;
  font-weight: 900;
}

.local-page .button:hover {
  background: var(--yellow-dark);
  transform: translate(-1px, -1px);
}

.local-page .button.secondary {
  background: #fff;
  border-color: var(--line);
}

.local-page .hero {
  border-bottom: 2px solid var(--line);
  background:
    radial-gradient(circle, rgba(23, 23, 23, 0.075) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(180deg, #fffdf4 0%, #fff9e5 100%);
}

.local-page .hero-simple {
  max-width: 1160px;
  padding: 90px 0 86px;
}

.local-page .pill,
.local-page .tag,
.local-page .category-chip {
  border: 2px solid var(--line);
  border-radius: 0;
  background: var(--yellow);
  padding: 0.32rem 0.55rem;
  color: #171717;
  font-size: 0.74rem;
  font-weight: 950;
  line-height: 1.1;
  text-transform: uppercase;
}

.local-page h1 {
  max-width: 760px;
  font-size: clamp(2.7rem, 6.4vw, 5rem);
  line-height: 0.92;
}

.local-page h1 mark,
.local-page h2 mark,
.local-page h3 mark {
  background: var(--yellow);
  color: inherit;
}

.local-page h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.65rem);
  line-height: 1.05;
}

.local-page .hero-lede {
  max-width: 760px;
  color: #292721;
  font-weight: 650;
}

.local-page .hero-copy {
  max-width: 760px;
  color: var(--muted);
}

.local-page .hero .check-list {
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  max-width: 760px;
  gap: 10px 28px;
}

.local-page .check-list li {
  color: #2a2823;
}

.local-page .check-list li::before {
  width: 18px;
  height: 18px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--yellow);
  color: #171717;
  font-size: 0.66rem;
}

.local-page .hero-actions,
.local-page .button-row {
  margin-top: 30px;
}

.local-page .section {
  padding: 76px 0;
  border-top: 0;
  border-bottom: 1px solid #e7e7e7;
  background: #fffdf4;
}

.local-page .section.alt {
  background:
    linear-gradient(rgba(23, 23, 23, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 23, 23, 0.045) 1px, transparent 1px),
    #f4f4f4;
  background-size: 28px 28px;
}

.local-page .section-head {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.local-page .blog-grid {
  gap: 24px;
}

.local-page .blog-card,
.local-page .qa-card,
.local-page .table-wrap,
.local-page .local-note,
.local-page .featured-card {
  border: 2px solid var(--line);
  border-radius: 0;
  box-shadow: var(--shadow);
}

.local-page .blog-card {
  min-height: 230px;
  background: #fff;
}

.local-page .blog-card h3 {
  font-size: 1.32rem;
}

.local-page .blog-card a,
.local-page .text-link,
.local-page .exam-card a {
  color: #171717;
  text-decoration-color: var(--yellow);
}

.local-page .table-wrap {
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
}

.local-page .local-table {
  min-width: 760px;
  color: #2a2823;
}

.local-page .local-table th {
  border-bottom: 2px solid var(--line);
  background: var(--yellow);
  color: #171717;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.local-page .local-table th,
.local-page .local-table td {
  padding: 15px 18px;
}

.local-page .local-table td {
  border-bottom: 1px solid #e7e0c8;
}

.local-page .local-note {
  max-width: 980px;
  margin: 20px auto 0;
  border-left: 4px solid var(--yellow);
  background: #fff;
  box-shadow: none;
}

.local-page .split-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 54px;
  align-items: center;
}

.local-page main > .section:nth-of-type(4) .split-grid {
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
}

.local-page main > .section:nth-of-type(4) .split-grid > aside {
  order: -1;
}

.local-page .split-grid .check-list {
  grid-template-columns: repeat(2, minmax(190px, 1fr));
  gap: 10px 24px;
}

.local-page .split-grid .qa-card {
  background: #fff;
  border-right: 6px solid var(--yellow);
}

.local-page .split-grid .qa-card .check-list {
  grid-template-columns: 1fr;
  gap: 12px;
}

.local-page main > .section:nth-of-type(4) .split-grid .qa-card {
  border-right-width: 2px;
  border-left: 6px solid var(--yellow);
}

.local-page .faq-grid {
  max-width: 900px;
  margin: 0 auto;
  gap: 14px;
}

.local-page details.qa-card {
  padding: 0;
  box-shadow: none;
}

.local-page details.qa-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 18px 20px;
}

.local-page details.qa-card summary::after {
  content: "+";
  margin-left: 18px;
  font-weight: 950;
}

.local-page details.qa-card[open] summary::after {
  content: "-";
}

.local-page details.qa-card p {
  padding: 0 20px 20px;
}

.local-page .featured-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 210, 31, 0.34) 0 44px, transparent 45px),
    #171717;
  color: #fffdf4;
  padding: 48px 58px;
}

.local-page .featured-card p {
  max-width: 680px;
  color: #fff3c7;
}

.local-page .featured-card .button.secondary {
  border-color: #fffdf4;
  background: transparent;
  color: #fffdf4;
}

.local-page .site-footer {
  border-top: 0;
  background: #111827;
}

@media (max-width: 1060px) {
  .nav-wrap {
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
    row-gap: 8px;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .split-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .topic-grid,
  .exam-grid,
  .steps-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .featured-card {
    grid-template-columns: 1fr;
  }

  .compact-cta {
    grid-template-columns: 1fr;
  }

  .soft-cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container,
  .content-wrap {
    width: min(100% - 24px, 1160px);
  }

  .site-header {
    position: static;
  }

  .nav-wrap {
    display: grid;
    gap: 12px;
    padding: 12px 0;
  }

  .nav-wrap > a:first-child {
    max-width: 100%;
    line-height: 1.25;
  }

  .nav-wrap > a:first-child span {
    display: block;
    margin-top: 2px;
    font-size: 0.86rem;
  }

  .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
  }

  .nav-links a {
    flex: 0 0 auto;
    min-height: 40px;
    border: 2px solid var(--line);
    border-radius: 0;
    padding: 0.58rem 0.82rem;
    background: rgba(255, 255, 255, 0.74);
    white-space: nowrap;
  }

  .nav-links .button {
    width: auto;
    min-height: 42px;
    padding: 0.68rem 0.82rem;
    font-size: 0.86rem;
    background: var(--yellow);
  }

  h1 {
    font-size: clamp(2.1rem, 11vw, 2.5rem);
  }

  .hero-simple,
  .hero-grid,
  .section {
    padding: 42px 0;
  }

  .hero-actions,
  .button-row,
  .button {
    width: 100%;
  }

  .topic-grid,
  .exam-grid,
  .steps-grid,
  .faq-grid,
  .link-grid,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .compact-list {
    columns: 1;
  }
}

@media (max-width: 900px) {
  .local-page .hero-simple {
    padding: 58px 0 56px;
  }

  .local-page .split-grid,
  .local-page main > .section:nth-of-type(4) .split-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .local-page main > .section:nth-of-type(4) .split-grid > aside {
    order: 0;
  }

  .local-page .featured-card {
    grid-template-columns: 1fr;
    padding: 34px;
  }
}

@media (max-width: 680px) {
  .local-page .nav-links a {
    border: 2px solid var(--line);
    border-radius: 0;
  }

  .local-page .hero-simple,
  .local-page .section {
    padding: 44px 0;
  }

  .local-page h1 {
    font-size: clamp(2.35rem, 12vw, 3.05rem);
  }

  .local-page .hero .check-list,
  .local-page .split-grid .check-list,
  .local-page .faq-grid {
    grid-template-columns: 1fr;
  }

  .local-page .local-table {
    min-width: 720px;
  }

  .local-page .featured-card {
    padding: 28px 22px;
  }
}
