:root {
  --ink: #172b3b;
  --muted: #536676;
  --paper: #f5f8f8;
  --white: #fff;
  --line: #dce6e8;
  --teal: #087e83;
  --teal-dark: #075d62;
  --soft-teal: #e6f4f2;
  --gold: #f1c46d;
  --shadow: 0 12px 35px rgba(17, 52, 65, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.7 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: var(--teal-dark); text-underline-offset: .18em; }
a:hover { color: #03484c; }
.skip-link { position: absolute; left: -9999px; top: 1rem; }
.skip-link:focus { left: 1rem; z-index: 10; background: white; padding: .5rem 1rem; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner, .footer-bottom, .content-width { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; gap: 11px; align-items: center; color: var(--ink); text-decoration: none; font-size: 1.08rem; font-weight: 750; letter-spacing: -.02em; white-space: nowrap; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px 11px 11px 3px; background: var(--teal); color: white; font-family: Georgia, serif; font-size: 1.35rem; }
.brand-amp { color: var(--teal); }
.main-nav { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.main-nav a { color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 620; }
.main-nav a:hover { color: var(--teal); }
.main-nav .nav-cta, .button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 16px; border-radius: 8px; background: var(--teal); color: white; font-weight: 700; text-decoration: none; }
.main-nav .nav-cta:hover, .button:hover { background: var(--teal-dark); color: white; }
.hero { padding: 72px 0 66px; background: radial-gradient(ellipse at 83% 28%, #d9f0ec 0, transparent 34%), linear-gradient(125deg, #f1f8f7, #fff 63%); border-bottom: 1px solid var(--line); }
.hero-inner { width: min(1120px, calc(100% - 40px)); margin: auto; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(230px, .65fr); align-items: center; gap: 55px; }
.eyebrow { margin: 0 0 12px; color: var(--teal-dark); text-transform: uppercase; letter-spacing: .11em; font-size: .78rem; font-weight: 800; }
h1, h2, h3 { color: #142b3a; line-height: 1.22; letter-spacing: -.025em; }
h1 { margin: 0 0 20px; font: 700 clamp(2.25rem, 5vw, 3.8rem)/1.08 Georgia, "Times New Roman", serif; max-width: 780px; }
h2 { margin: 2.2em 0 .65em; font: 700 clamp(1.45rem, 3vw, 2rem)/1.2 Georgia, "Times New Roman", serif; }
h3 { margin: 1.55em 0 .45em; font-size: 1.15rem; }
p { margin: 0 0 1.05em; }
.hero-copy { max-width: 730px; color: var(--muted); font-size: 1.15rem; }
.hero-copy strong { color: var(--ink); }
.hero-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 26px; }
.button-secondary { background: white; color: var(--teal-dark); border: 1px solid #bfd8d5; }
.button-secondary:hover { background: var(--soft-teal); color: var(--teal-dark); }
.hero-note { padding: 23px; background: white; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.hero-note strong { display: block; margin-bottom: 7px; font: 700 1.15rem Georgia, serif; }
.hero-note p { margin-bottom: 0; color: var(--muted); font-size: .95rem; }
.section { padding: 54px 0; }
.section-heading { max-width: 720px; margin-bottom: 28px; }
.section-heading h2 { margin-top: 0; }
.section-heading p { color: var(--muted); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { display: flex; flex-direction: column; min-height: 205px; padding: 22px; background: white; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; box-shadow: 0 5px 18px rgba(17, 52, 65, .035); transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card .card-topic { margin-bottom: 8px; color: var(--teal); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; }
.card h3 { margin: 0 0 9px; color: var(--ink); font: 700 1.25rem/1.25 Georgia, serif; }
.card p { margin: 0 0 15px; color: var(--muted); font-size: .94rem; }
.card .read-more { margin-top: auto; font-weight: 750; font-size: .9rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.info-panel { padding: 27px; border-radius: 14px; background: var(--soft-teal); }
.info-panel h2, .info-panel h3 { margin-top: 0; }
.info-panel p:last-child { margin-bottom: 0; }
.article-wrap { width: min(820px, calc(100% - 40px)); margin: 0 auto; padding: 56px 0 76px; }
.breadcrumbs { margin: 0 0 30px; font-size: .88rem; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }
.article-wrap h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); }
.article-intro { margin: 0 0 32px; padding: 20px 22px; border-left: 4px solid var(--teal); border-radius: 0 10px 10px 0; background: white; color: #334f5d; font-size: 1.13rem; }
.article-wrap ul, .article-wrap ol { padding-left: 1.3em; }
.article-wrap li { padding-left: .2em; margin-bottom: .48em; }
.example { margin: 20px 0; padding: 18px 20px; background: white; border: 1px solid var(--line); border-radius: 10px; }
.example p:last-child { margin-bottom: 0; }
.correct { color: #075f48; }
.incorrect { color: #8b3d3d; }
.callout { margin: 32px 0; padding: 24px; border-radius: 12px; background: #e9f4f2; }
.callout h2, .callout h3 { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }
.tool-panel { padding: 25px; background: white; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
label { display: block; margin: 0 0 7px; font-weight: 700; }
input, select, textarea { width: 100%; padding: 12px; border: 1px solid #b9c9cf; border-radius: 7px; background: white; color: var(--ink); font: inherit; }
textarea { min-height: 190px; resize: vertical; }
button { border: 0; cursor: pointer; font: inherit; }
.tool-form { display: grid; gap: 16px; }
.result { margin-top: 18px; padding: 18px; border-radius: 10px; background: var(--soft-teal); }
.result strong { font-size: 1.4rem; }
.muted, .fine-print { color: var(--muted); font-size: .92rem; }
.site-footer { padding: 38px 0 0; background: #132d3b; color: #eaf1f2; }
.footer-inner { display: grid; grid-template-columns: 1.1fr .8fr 1fr; gap: 34px; padding-bottom: 32px; }
.footer-brand { display: inline-block; margin-bottom: 8px; color: white; font: 700 1.25rem Georgia, serif; text-decoration: none; }
.site-footer p { color: #c2d1d6; font-size: .92rem; }
.footer-links { display: grid; align-content: start; gap: 8px; }
.footer-links a, .footer-cta a { color: #dff7f4; }
.footer-cta { padding: 17px; border: 1px solid #47606d; border-radius: 10px; }
.footer-cta strong { display: block; margin-bottom: 7px; }
.footer-bottom { padding: 14px 0; border-top: 1px solid #39525e; color: #bfced3; font-size: .82rem; }
.notice { padding: 14px 16px; border-left: 3px solid var(--gold); background: #fff8e9; border-radius: 0 8px 8px 0; }
@media (max-width: 820px) {
  .header-inner { align-items: flex-start; flex-direction: column; padding: 16px 0; gap: 12px; }
  .main-nav { justify-content: flex-start; gap: 12px 18px; }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 52px 0; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-cta { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .header-inner, .footer-inner, .footer-bottom, .content-width, .hero-inner { width: min(100% - 28px, 1120px); }
  .main-nav a { font-size: .85rem; }
  .main-nav .nav-cta { padding: 8px 11px; }
  .card-grid, .split, .footer-inner { grid-template-columns: 1fr; }
  .footer-cta { grid-column: auto; }
  .article-wrap { width: min(100% - 28px, 820px); padding-top: 38px; }
  .hero-note { padding: 18px; }
}
