:root {
  --ink: #17162d;
  --ink-soft: #2d2a48;
  --plum: #6a355d;
  --plum-dark: #42243d;
  --coral: #ed745f;
  --coral-dark: #c84e43;
  --mint: #cbe2d2;
  --mint-soft: #e9f3ec;
  --paper: #f7f2e9;
  --paper-deep: #ede4d7;
  --white: #fffdf8;
  --line: rgba(23, 22, 45, 0.16);
  --muted: #69667a;
  --shadow: 0 22px 70px rgba(23, 22, 45, 0.13);
  --radius: 26px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
::selection { color: var(--white); background: var(--plum); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 242, 233, 0.96);
  backdrop-filter: blur(16px);
}
.topline {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 7px max(24px, calc((100vw - 1380px) / 2));
  color: var(--paper);
  background: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.topline a { color: var(--mint); text-decoration: none; }
.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  max-width: 1460px;
  margin: 0 auto;
  padding: 0 40px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -.02em;
  text-decoration: none;
}
.brand-mark {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  width: 31px;
  height: 31px;
  padding-bottom: 4px;
  border-radius: 50% 50% 46% 46%;
  background: var(--coral);
}
.brand-mark i {
  display: block;
  width: 5px;
  height: 12px;
  margin: 0 1px;
  border-radius: 6px 6px 2px 2px;
  background: var(--ink);
  transform-origin: bottom;
}
.brand-mark i:first-child { transform: rotate(-18deg); height: 10px; }
.brand-mark i:last-child { transform: rotate(18deg); height: 10px; }
.site-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}
.site-menu > a,
.nav-group > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.site-menu > a:hover,
.nav-group > a:hover { background: var(--paper-deep); }
.site-menu .nav-cta {
  margin-left: 8px;
  padding-inline: 18px;
  color: var(--white);
  background: var(--ink);
}
.site-menu .nav-cta:hover { background: var(--plum); }
.nav-group { position: relative; display: flex; align-items: center; }
.nav-group > button {
  width: 28px;
  height: 28px;
  margin-left: -8px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.nav-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  display: grid;
  visibility: hidden;
  min-width: 260px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(-8px);
  transition: .18s ease;
}
.nav-panel::before {
  position: absolute;
  top: -14px;
  left: 0;
  width: 100%;
  height: 16px;
  content: "";
}
.nav-panel a {
  padding: 10px 12px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}
.nav-panel a:hover { background: var(--mint-soft); }
.nav-group:hover .nav-panel,
.nav-group:focus-within .nav-panel,
.nav-group.is-open .nav-panel {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
.menu-button {
  display: none;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}
.menu-button span { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.menu-button b { margin-left: 5px; font-size: 13px; }

.eyebrow, .kicker, .section-kicker {
  margin: 0 0 16px;
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.3;
  text-transform: uppercase;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(23, 22, 45, .14); }
.button--ink { color: var(--white); background: var(--ink); }
.button--ink:hover { background: var(--plum); }
.button--paper { border-color: var(--line); color: var(--ink); background: var(--white); }
.button--coral { color: var(--ink); background: var(--coral); }
.text-button {
  padding: 10px 4px;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-size: 14px;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.hero--home {
  position: relative;
  overflow: hidden;
  padding: 72px max(30px, calc((100vw - 1380px) / 2)) 0;
  background:
    radial-gradient(circle at 8% 18%, rgba(203, 226, 210, .9), transparent 28%),
    linear-gradient(155deg, var(--paper) 0%, #f3e8df 62%, var(--paper-deep) 100%);
}
.hero--home::before {
  position: absolute;
  top: 36px;
  left: 48%;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(106, 53, 93, .12);
  border-radius: 50%;
  content: "";
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(520px, 1.12fr);
  gap: 54px;
  align-items: center;
  max-width: 1380px;
  margin: 0 auto;
}
.hero-copy { max-width: 650px; padding: 16px 0 80px; }
.hero-copy h1,
.article-hero h1,
.print-sheet h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: .98;
}
.hero-copy h1 { max-width: 600px; font-size: clamp(54px, 6vw, 94px); }
.subheading {
  max-width: 580px;
  margin: 25px 0 8px;
  color: var(--plum-dark);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 750;
  line-height: 1.32;
}
.lead { color: var(--ink-soft); font-size: clamp(17px, 1.3vw, 20px); line-height: 1.62; }
.hero-copy .lead { max-width: 620px; margin: 14px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 24px; }
.independent-note {
  max-width: 610px;
  margin: 0;
  padding: 17px 20px;
  border-left: 4px solid var(--coral);
  color: var(--ink-soft);
  background: rgba(255, 253, 248, .62);
  font-size: 13px;
  line-height: 1.55;
}
.hero-photo {
  position: relative;
  margin: 0;
  align-self: end;
}
.hero-photo::before {
  position: absolute;
  z-index: -1;
  inset: -16px 28px 22px -18px;
  border-radius: 220px 220px 28px 28px;
  background: var(--plum);
  content: "";
}
.hero-photo img {
  width: 100%;
  min-height: 540px;
  max-height: 680px;
  border-radius: 220px 220px 22px 22px;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.hero-photo figcaption,
.article-hero figcaption {
  margin: 10px 5px 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .03em;
}
.hero-tool {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  max-width: 1380px;
  margin: -2px auto 0;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 28px 28px 0 0;
  color: var(--white);
  background: var(--ink);
  box-shadow: var(--shadow);
}
.hero-tool .kicker { margin-bottom: 5px; color: var(--mint); }
.hero-tool h2 { margin: 0; font-family: var(--serif); font-size: 29px; line-height: 1.1; }
.hero-tool-head { display: grid; gap: 16px; }
.hero-tool-head > span { color: var(--coral); font-size: 13px; font-weight: 800; letter-spacing: .12em; }
.hero-tool-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 9px;
}
.hero-tool label,
.planner-card label { display: grid; gap: 7px; }
.hero-tool label > span { color: #d9d7e3; font-size: 11px; font-weight: 700; line-height: 1.25; }
.hero-tool input,
.hero-tool select {
  width: 100%;
  min-width: 0;
  min-height: 45px;
  padding: 10px 11px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px;
  color: var(--white);
  background: rgba(255, 255, 255, .07);
  font-size: 12px;
}
.hero-tool select option { color: var(--ink); background: var(--white); }
.hero-result {
  grid-column: 2 / -1;
  padding: 18px 20px;
  border-radius: 14px;
  color: var(--ink);
  background: var(--mint);
  font-size: 14px;
}
.hero-result h3 { margin: 0 0 7px; font-family: var(--serif); font-size: 22px; }
.hero-result ul { margin: 0; padding-left: 20px; }

.home-article { max-width: 1200px; margin: 0 auto; padding: 100px 30px 40px; }
.home-article .article-body { max-width: none; }
.home-article .article-section {
  display: grid;
  grid-template-columns: minmax(180px, .45fr) minmax(0, 1.55fr);
  column-gap: 70px;
  padding: 55px 0;
}
.home-article .article-section > .section-kicker,
.home-article .article-section > h2 { grid-column: 1; }
.home-article .article-section > :not(.section-kicker):not(h2) { grid-column: 2; }
.home-article .article-section h2 { margin-top: 0; }
.home-article .context-note { display: block; padding: 24px; }

.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(450px, .82fr);
  gap: 60px;
  align-items: center;
  max-width: 1460px;
  margin: 0 auto;
  padding: 76px 40px 52px;
}
.article-hero-copy { min-width: 0; max-width: 720px; }
.breadcrumbs {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.breadcrumbs > * { min-width: 0; }
.breadcrumbs span:last-child { overflow: hidden; text-overflow: ellipsis; }
.breadcrumbs a { color: var(--plum); }
.article-hero h1 { max-width: 760px; font-size: clamp(46px, 5vw, 78px); }
.article-hero .lead { max-width: 700px; margin: 25px 0 0; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.article-meta span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--white);
  font-size: 11px;
  font-weight: 700;
}
.article-hero figure { min-width: 0; margin: 0; }
.article-hero figure img {
  width: 100%;
  aspect-ratio: 1.4;
  border-radius: 50% 50% 22px 22px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 820px) 280px;
  gap: 76px;
  align-items: start;
  max-width: 1190px;
  margin: 0 auto;
  padding: 64px 30px 90px;
}
.article-body { max-width: 820px; }
.article-section {
  padding: 48px 0;
  border-top: 1px solid var(--line);
}
.article-section:first-child { border-top: 0; padding-top: 0; }
.article-section h2 {
  max-width: 760px;
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: clamp(31px, 3vw, 46px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.12;
}
.article-section h3 {
  margin: 34px 0 12px;
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.2;
}
.article-section p { margin: 0 0 18px; }
.article-section a { color: var(--plum); font-weight: 700; }
.article-section ul,
.article-section ol { padding-left: 24px; }
.article-section li { margin: 9px 0; }
.article-section blockquote {
  margin: 28px 0;
  padding: 22px 25px;
  border-left: 4px solid var(--coral);
  color: var(--plum-dark);
  background: var(--white);
  font-family: var(--serif);
  font-size: 22px;
}
.article-intro {
  margin-bottom: 18px;
  padding: 28px !important;
  border: 0;
  border-radius: 18px;
  background: var(--mint-soft);
  font-size: 19px;
}
.context-note,
.quiet-disclaimer {
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--mint-soft);
}
.quiet-disclaimer { margin: 12px 0 0 !important; border-left: 4px solid var(--coral); }
.process-list {
  margin: 30px 0;
  padding: 0 !important;
  list-style: none;
  counter-reset: process;
}
.process-list li {
  position: relative;
  padding: 20px 22px 20px 64px;
  border-top: 1px solid var(--line);
  counter-increment: process;
}
.process-list li::before {
  position: absolute;
  top: 18px;
  left: 10px;
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 800;
  content: "0" counter(process);
}
.example-card {
  margin: 28px 0;
  padding: 28px;
  border: 1px solid rgba(106, 53, 93, .2);
  border-radius: 22px;
  background: linear-gradient(145deg, var(--white), #f3e5ec);
  box-shadow: 0 14px 35px rgba(23, 22, 45, .07);
}
.example-card h3 { margin-top: 0; }
.checklist { padding: 0 !important; list-style: none; }
.checklist li { position: relative; padding: 11px 0 11px 34px; border-bottom: 1px solid var(--line); }
.checklist li::before {
  position: absolute;
  top: 13px;
  left: 2px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--coral);
  border-radius: 5px;
  content: "";
}
dl {
  display: grid;
  grid-template-columns: minmax(170px, .55fr) minmax(0, 1.45fr);
  margin: 28px 0;
  border-top: 1px solid var(--line);
}
dt, dd { margin: 0; padding: 15px 0; border-bottom: 1px solid var(--line); }
dt { padding-right: 24px; font-weight: 800; }
.table-wrap { max-width: 100%; margin: 28px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { min-width: 130px; padding: 13px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--white); background: var(--ink); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }
th:last-child, td:last-child { border-right: 0; }
.article-rail { position: sticky; top: 30px; display: grid; gap: 15px; }
.rail-card { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.rail-card [data-toc] { display: grid; gap: 8px; }
.rail-card [data-toc] a { color: var(--muted); font-size: 12px; font-weight: 700; line-height: 1.35; text-decoration: none; }
.rail-card [data-toc] a:hover { color: var(--plum); }
.rail-card--accent { border: 0; color: var(--paper); background: var(--plum-dark); }
.rail-card--accent strong { font-family: var(--serif); font-size: 21px; }
.rail-card--accent p { margin-bottom: 0; font-size: 13px; }

.planner-section {
  padding: 90px max(30px, calc((100vw - 1180px) / 2));
  background: var(--mint-soft);
}
.planner-heading { max-width: 720px; margin-bottom: 34px; }
.planner-heading h2,
.section-heading h2,
.footer-lead h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.05;
}
.planner-heading p:last-child { color: var(--muted); }
.planner-card {
  max-width: 1180px;
  padding: 34px;
  border: 1px solid rgba(23, 22, 45, .1);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.privacy-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 26px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--plum-dark);
  background: var(--mint);
  font-size: 12px;
  font-weight: 750;
}
.privacy-chip span { color: #378957; font-size: 9px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.planner-card label > span { font-size: 13px; font-weight: 800; }
.planner-card input,
.planner-card select,
.planner-card textarea {
  width: 100%;
  min-height: 51px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: var(--paper);
}
.planner-card textarea { min-height: 105px; resize: vertical; }
.planner-card input:focus,
.planner-card select:focus,
.planner-card textarea:focus { border-color: var(--plum); outline: 3px solid rgba(106, 53, 93, .15); }
.planner-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 26px; }
.planner-result {
  margin-top: 26px;
  padding: 22px;
  border: 1px solid rgba(106, 53, 93, .18);
  border-radius: 16px;
  background: #f2e8ef;
}
.planner-result h3 { margin: 0 0 10px; font-family: var(--serif); font-size: 24px; }
.planner-result ul { margin: 0; padding-left: 22px; }
.planner-result.is-error { color: #651e1e; border-color: #d7837a; background: #fde9e6; }
.planner-result .email-link { display: inline-flex; margin-top: 12px; }

.related { max-width: 1240px; margin: 0 auto; padding: 100px 30px 110px; }
.section-heading { max-width: 740px; margin-bottom: 38px; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.related-grid a {
  position: relative;
  display: grid;
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  text-decoration: none;
  transition: transform .18s ease, background .18s ease;
}
.related-grid a:hover { transform: translateY(-5px); background: var(--mint-soft); }
.related-grid a > span { color: var(--coral-dark); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.related-grid strong { align-self: end; margin-top: 50px; font-family: var(--serif); font-size: 25px; line-height: 1.15; }
.related-grid small { margin-top: 10px; color: var(--muted); line-height: 1.5; }
.related-grid b { position: absolute; top: 20px; right: 22px; font-size: 20px; }
.toolkit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.toolkit-grid a { position: relative; display: grid; min-height: 180px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; color: var(--ink) !important; background: var(--white); text-decoration: none; }
.toolkit-grid a:hover { background: var(--mint-soft); transform: translateY(-3px); }
.toolkit-grid span { color: var(--coral-dark); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.toolkit-grid strong { align-self: end; margin-top: 32px; font-family: var(--serif); font-size: 22px; line-height: 1.15; }
.toolkit-grid small { margin-top: 8px; color: var(--muted); line-height: 1.45; }
.toolkit-grid b { margin-top: 14px; font-size: 12px; }

.site-footer { padding: 90px max(30px, calc((100vw - 1380px) / 2)) 24px; color: var(--paper); background: var(--ink); }
.footer-lead { display: flex; justify-content: space-between; gap: 45px; align-items: end; padding-bottom: 70px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.footer-lead .kicker { color: var(--coral); }
.footer-lead h2 { max-width: 770px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 55px; padding: 60px 0; }
.footer-grid > div { display: grid; align-content: start; gap: 9px; }
.footer-grid h3 { margin: 0 0 8px; color: var(--mint); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.footer-grid a { color: var(--paper); font-size: 14px; text-decoration: none; }
.footer-grid a:hover { color: var(--coral); }
.footer-grid p { max-width: 330px; color: #bab7c9; font-size: 13px; }
.brand--footer { margin-bottom: 10px; color: var(--paper) !important; font-size: 24px !important; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); color: #9f9bad; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }

.print-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1160px;
  margin: 30px auto 0;
  padding: 0 25px;
}
.print-toolbar a { color: var(--plum); font-weight: 800; }
.print-sheet {
  max-width: 1110px;
  min-height: 1400px;
  margin: 30px auto 80px;
  padding: 58px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}
.print-sheet header { display: grid; grid-template-columns: 1fr auto; gap: 45px; padding-bottom: 30px; border-bottom: 4px solid var(--ink); }
.print-sheet h1 { font-size: 52px; }
.print-sheet header p { max-width: 700px; }
.print-fields { display: grid; align-content: end; gap: 14px; min-width: 280px; font-size: 13px; }
.print-example { display: grid; grid-template-columns: 150px 1fr; gap: 20px; margin: 30px 0; padding: 18px; border: 1px solid var(--line); background: var(--mint-soft); font-size: 13px; }
.print-sheet table { font-size: 12px; }
.print-sheet td { height: 54px; }
.print-notes { margin-top: 35px; }
.print-notes h2 { font-family: var(--serif); font-size: 30px; }
.print-notes div { height: 48px; border-bottom: 1px solid var(--line); }
.print-sheet footer { display: flex; justify-content: space-between; gap: 40px; margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }

@media (max-width: 1180px) {
  .nav-shell { padding: 0 24px; }
  .site-menu > a, .nav-group > a { padding-inline: 8px; font-size: 12px; }
  .site-menu .nav-cta { display: none; }
  .hero-grid { grid-template-columns: .9fr 1.1fr; gap: 32px; }
  .hero-tool { grid-template-columns: 180px minmax(0, 1fr); align-items: start; }
  .hero-tool-grid { grid-template-columns: repeat(3, minmax(130px, 1fr)); }
  .hero-tool > .button { align-self: end; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 250px; gap: 45px; }
}

@media (max-width: 900px) {
  body.menu-open { overflow: hidden; }
  .topline { padding-inline: 20px; }
  .nav-shell { min-height: 72px; }
  .menu-button { display: inline-flex; }
  .site-menu {
    position: fixed;
    z-index: 60;
    inset: 111px 12px auto;
    display: grid;
    visibility: hidden;
    max-height: calc(100dvh - 125px);
    padding: 15px;
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-10px);
    transition: .18s ease;
  }
  .site-menu.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
  .site-menu > a, .nav-group > a { justify-content: flex-start; min-height: 50px; padding: 12px 14px; font-size: 15px; }
  .site-menu .nav-cta { display: inline-flex; justify-content: center; margin: 8px 0 0; }
  .nav-group { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid var(--line); }
  .nav-group > button { width: 42px; height: 42px; margin: 4px; background: var(--paper); }
  .nav-panel {
    position: static;
    grid-column: 1 / -1;
    display: none;
    visibility: visible;
    min-width: 0;
    padding: 0 8px 10px 18px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    transform: none;
  }
  .nav-group.is-open .nav-panel { display: grid; }
  .nav-panel::before { display: none; }
  .hero-grid, .article-hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; padding-bottom: 35px; }
  .hero-photo img { min-height: 390px; max-height: 520px; border-radius: 180px 180px 20px 20px; }
  .hero-tool { grid-template-columns: 1fr; border-radius: 24px 24px 0 0; }
  .hero-tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-result { grid-column: auto; }
  .home-article .article-section { display: block; }
  .article-hero { gap: 34px; padding-top: 55px; }
  .article-hero figure img { max-height: 520px; aspect-ratio: 1.45; }
  .article-layout { display: block; }
  .article-rail { position: static; margin-top: 45px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-lead { display: grid; }
  .related-grid { grid-template-columns: 1fr; }
  .toolkit-grid { grid-template-columns: 1fr; }
  .related-grid a { min-height: 190px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .topline { justify-content: center; text-align: center; }
  .topline span { display: none; }
  .nav-shell { padding-inline: 16px; }
  .brand { font-size: 20px; }
  .site-menu { inset-top: 103px; }
  .hero--home { padding: 52px 18px 0; }
  .hero-copy h1 { font-size: clamp(47px, 15vw, 68px); }
  .hero-actions { display: grid; }
  .hero-photo::before { inset: -9px 15px 14px -9px; }
  .hero-photo img { min-height: 320px; border-radius: 130px 130px 16px 16px; }
  .hero-tool { margin-inline: -18px; padding: 23px 18px; border-radius: 0; }
  .hero-tool-grid { grid-template-columns: 1fr; }
  .hero-tool > .button { width: 100%; }
  .home-article { padding: 65px 20px 20px; }
  .home-article .article-section { padding: 38px 0; }
  .article-hero { padding: 46px 20px 36px; }
  .article-hero h1 { font-size: 46px; }
  .article-hero figure img { border-radius: 120px 120px 16px 16px; }
  .breadcrumbs { margin-bottom: 28px; overflow: hidden; white-space: nowrap; }
  .article-layout { padding: 40px 20px 60px; }
  .article-section { padding: 38px 0; }
  .article-section h2 { font-size: 34px; }
  dl { grid-template-columns: 1fr; }
  dt { padding-bottom: 0; border-bottom: 0; }
  dd { padding-top: 5px; }
  .planner-section { padding: 65px 18px; }
  .planner-card { padding: 22px 18px; border-radius: 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: auto; }
  .planner-actions { display: grid; }
  .related { padding: 70px 20px; }
  .site-footer { padding: 65px 20px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { display: grid; }
  .print-toolbar { padding-inline: 15px; }
  .print-sheet { margin: 20px 12px 50px; padding: 24px 18px; }
  .print-sheet header { grid-template-columns: 1fr; }
  .print-sheet h1 { font-size: 39px; }
  .print-fields { min-width: 0; }
  .print-example { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

@media print {
  @page { size: letter landscape; margin: 12mm; }
  body { color: #000; background: #fff; font-size: 10pt; }
  .print-toolbar { display: none !important; }
  .print-sheet { max-width: none; min-height: 0; margin: 0; padding: 0; border: 0; box-shadow: none; }
  .print-sheet h1 { font-size: 28pt; }
  .print-sheet table { font-size: 8pt; }
  .print-sheet td { height: 31px; }
  .print-notes div { height: 26px; }
  a { text-decoration: none; }
}
