:root {
  --ink: #13231f;
  --ink-soft: #31443e;
  --paper: #f7f6f1;
  --paper-deep: #edece5;
  --white: #fff;
  --mint: #2f765f;
  --mint-dark: #174e3d;
  --lime: #d9ef71;
  --line: rgba(19, 35, 31, 0.14);
  --muted: #66756f;
  --danger: #7c3030;
  --shadow: 0 24px 70px rgba(26, 46, 40, 0.1);
  --radius: 18px;
  --radius-sm: 10px;
  --sans: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", sans-serif;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button,
input,
textarea,
select {
  font: inherit;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.wrap--narrow {
  width: min(760px, calc(100% - 40px));
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid #82a800;
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(247, 246, 241, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand__mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  background: var(--ink);
  color: var(--lime);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 20px;
  font-style: italic;
}

.brand__text {
  display: grid;
  line-height: 1.15;
}

.brand__text strong {
  font-size: 17px;
  letter-spacing: 0.02em;
}

.brand__text small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav .menu,
.site-footer .menu {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-nav a {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--mint);
}

.age-pill,
.service-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-content: center;
  padding: 10px;
  background: transparent;
  border: 0;
}

.nav-toggle > span:not(.screen-reader-text) {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 0.2s, opacity 0.2s;
}

.breadcrumbs {
  display: flex;
  gap: 9px;
  padding-block: 12px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.breadcrumbs a {
  color: var(--mint-dark);
}

.home .breadcrumbs {
  display: none;
}

.hero {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  background:
    radial-gradient(circle at 73% 28%, rgba(217, 239, 113, 0.18), transparent 24%),
    linear-gradient(145deg, #f7f6f1 0%, #eeeee7 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(19, 35, 31, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(19, 35, 31, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  mask-image: linear-gradient(to right, #000, transparent 82%);
}

.hero__inner {
  position: relative;
  display: grid;
  min-height: 700px;
  align-items: center;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 70px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--mint);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero .eyebrow span {
  width: 28px;
  height: 1px;
  background: var(--mint);
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 5.2vw, 72px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.2;
}

.hero h1 em {
  position: relative;
  color: var(--mint-dark);
  font-style: normal;
}

.hero h1 em::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 7px;
  background: var(--lime);
  content: "";
  opacity: 0.85;
  transform: skewX(-16deg);
}

.hero__lead {
  max-width: 590px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 2;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(19, 35, 31, 0.16);
}

.button--primary:hover {
  background: var(--mint-dark);
  box-shadow: 0 14px 28px rgba(19, 35, 31, 0.2);
}

.button--primary span {
  color: var(--lime);
}

.button--quiet {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink);
}

.button--light {
  background: var(--white);
  color: var(--ink);
}

.hero__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 0;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  list-style: none;
}

.hero__checks li::before {
  margin-right: 6px;
  color: var(--mint);
  content: "✓";
}

.hero__visual {
  position: relative;
  min-height: 520px;
}

.hero__orb {
  position: absolute;
  top: 52px;
  right: -50px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(47, 118, 95, 0.18);
  border-radius: 50%;
}

.hero__orb::before,
.hero__orb::after {
  position: absolute;
  border: 1px solid rgba(47, 118, 95, 0.13);
  border-radius: inherit;
  content: "";
}

.hero__orb::before {
  inset: 46px;
}

.hero__orb::after {
  inset: 100px;
  background: rgba(217, 239, 113, 0.22);
}

.signal-card {
  position: absolute;
  z-index: 2;
  box-shadow: var(--shadow);
}

.signal-card--main {
  top: 95px;
  left: 5%;
  width: 280px;
  height: 330px;
  padding: 26px;
  background: var(--ink);
  color: var(--white);
  border-radius: 6px;
  transform: rotate(-4deg);
}

.signal-card__number {
  color: var(--lime);
  font-family: Georgia, serif;
  font-size: 72px;
  font-style: italic;
  line-height: 1;
}

.signal-card--main p {
  margin: 62px 0 22px;
  font-size: 25px;
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1.25;
}

.signal-card__bars {
  display: flex;
  height: 42px;
  align-items: end;
  gap: 8px;
}

.signal-card__bars i {
  width: 6px;
  background: var(--lime);
}

.signal-card__bars i:nth-child(1) { height: 16px; }
.signal-card__bars i:nth-child(2) { height: 28px; }
.signal-card__bars i:nth-child(3) { height: 22px; }
.signal-card__bars i:nth-child(4) { height: 40px; }

.signal-card--small {
  right: 10px;
  bottom: 68px;
  display: flex;
  width: 190px;
  height: 110px;
  align-items: center;
  justify-content: space-between;
  padding: 22px;
  background: var(--lime);
  border-radius: 4px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  transform: rotate(5deg);
}

.signal-card--small strong {
  font-size: 40px;
}

.disclosure-wrap {
  position: relative;
  z-index: 3;
  margin-top: -31px;
}

.disclosure {
  display: grid;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  grid-template-columns: auto 1fr;
  gap: 14px;
  box-shadow: 0 14px 35px rgba(19, 35, 31, 0.06);
}

.disclosure__label {
  align-self: start;
  padding: 3px 8px;
  background: var(--paper-deep);
  border-radius: 4px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.disclosure p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.section {
  padding-block: 110px;
}

.section-heading {
  margin-bottom: 44px;
}

.section-heading h2,
.entry-header h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.3;
}

.section-heading--split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.section-heading--split > p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
}

.principle-grid {
  display: grid;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.principle-grid article {
  position: relative;
  min-height: 275px;
  padding: 38px 34px;
  border-right: 1px solid var(--line);
}

.principle-grid article:last-child {
  border-right: 0;
}

.principle-grid article > span {
  color: var(--mint);
  font-family: Georgia, serif;
  font-size: 13px;
  font-style: italic;
}

.principle-grid h3 {
  margin: 70px 0 12px;
  font-family: var(--serif);
  font-size: 25px;
}

.principle-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.section--comparison {
  background: #edeee8;
}

.text-link {
  color: var(--mint-dark);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.mg-comparison__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  display: flex;
  min-width: 0;
  padding: 26px;
  background: var(--white);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  flex-direction: column;
  box-shadow: 0 14px 34px rgba(19, 35, 31, 0.06);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  border-color: rgba(47, 118, 95, 0.28);
  box-shadow: 0 20px 46px rgba(19, 35, 31, 0.1);
  transform: translateY(-4px);
}

.service-card__topline {
  display: flex;
  min-height: 50px;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.rank {
  color: var(--mint-dark);
  font-family: Georgia, serif;
  font-size: 28px;
  font-style: italic;
  line-height: 1;
}

.rank small {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.service-badge {
  background: rgba(217, 239, 113, 0.38);
  border-color: rgba(109, 139, 0, 0.16);
  color: #425200;
}

.service-card__identity {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.service-card__logo {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  place-items: center;
  overflow: hidden;
  background: var(--paper-deep);
  border-radius: 50%;
  color: var(--mint-dark);
  font-family: Georgia, serif;
  font-size: 25px;
  font-style: italic;
  text-decoration: none;
}

.service-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card h3 {
  margin: 0 0 3px;
  font-size: 21px;
  line-height: 1.35;
}

.service-card h3 a {
  text-decoration: none;
}

.score {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin: 0;
}

.score strong {
  color: var(--mint-dark);
  font-size: 20px;
}

.score span {
  color: var(--muted);
  font-size: 9px;
}

.service-card__excerpt {
  margin: 22px 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.8;
}

.service-card__facts {
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.service-card__facts div {
  display: grid;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  grid-template-columns: 48px 1fr;
}

.service-card__facts dt {
  color: var(--muted);
}

.service-card__facts dd {
  margin: 0;
  font-weight: 750;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.chip-list li {
  padding: 3px 8px;
  background: var(--paper);
  border-radius: 3px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
}

.service-card__actions {
  margin-top: auto;
  padding-top: 24px;
  text-align: center;
}

.affiliate-action {
  display: grid;
  gap: 6px;
}

.affiliate-action .button {
  width: 100%;
}

.affiliate-action small {
  color: var(--muted);
  font-size: 10px;
}

.service-card__actions > .text-link {
  display: inline-block;
  margin-top: 13px;
}

.mg-empty-state {
  padding: 55px 28px;
  background: var(--white);
  border: 1px dashed rgba(47, 118, 95, 0.35);
  border-radius: var(--radius-sm);
  text-align: center;
}

.mg-empty-state h2,
.mg-empty-state h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 25px;
}

.mg-empty-state p {
  margin: 0;
  color: var(--muted);
}

.section--steps {
  padding: 0;
  background: var(--ink);
  color: var(--white);
}

.steps-layout {
  display: grid;
  min-height: 610px;
  grid-template-columns: 0.86fr 1.14fr;
}

.steps-intro {
  display: flex;
  padding: 90px 70px 90px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  flex-direction: column;
  justify-content: center;
}

.steps-intro .eyebrow {
  color: var(--lime);
}

.steps-intro h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.3;
}

.steps-intro p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.65);
}

.steps-intro .button {
  align-self: start;
  margin-top: 20px;
}

.step-list {
  display: flex;
  padding: 55px 0 55px 70px;
  margin: 0;
  flex-direction: column;
  justify-content: center;
  list-style: none;
}

.step-list li {
  display: grid;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  grid-template-columns: 58px 1fr;
  gap: 22px;
}

.step-list li:last-child {
  border-bottom: 0;
}

.step-list > li > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(217, 239, 113, 0.6);
  border-radius: 50%;
  color: var(--lime);
  font-family: Georgia, serif;
  font-style: italic;
}

.step-list h3 {
  margin: 0 0 4px;
  font-size: 20px;
}

.step-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.article-card {
  min-width: 0;
}

.article-card__media {
  display: block;
  overflow: hidden;
  background: var(--paper-deep);
  border-radius: 6px;
  aspect-ratio: 16 / 10;
}

.article-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.article-card:hover .article-card__media img {
  transform: scale(1.025);
}

.image-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background:
    linear-gradient(135deg, transparent 48%, rgba(47, 118, 95, 0.12) 49%, rgba(47, 118, 95, 0.12) 51%, transparent 52%),
    #e8ebe3;
}

.image-placeholder span {
  color: var(--mint);
  font-family: Georgia, serif;
  font-size: 13px;
  font-style: italic;
  letter-spacing: 0.2em;
}

.article-card__body {
  padding-top: 20px;
}

.article-card h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.55;
}

.article-card h2 a {
  text-decoration: none;
}

.article-card__body > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 13px;
}

.age-banner {
  background: var(--lime);
}

.age-banner__inner {
  display: flex;
  min-height: 155px;
  align-items: center;
  gap: 30px;
}

.age-banner__inner > strong {
  font-family: Georgia, serif;
  font-size: 56px;
  font-style: italic;
  line-height: 1;
}

.age-banner h2 {
  margin: 0;
  font-size: 19px;
}

.age-banner p {
  margin: 4px 0 0;
  color: rgba(19, 35, 31, 0.72);
  font-size: 13px;
}

.site-footer {
  padding: 75px 0 25px;
  background: #0c1a16;
  color: var(--white);
}

.site-footer__top {
  display: grid;
  padding-bottom: 60px;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}

.brand--footer {
  color: var(--white);
}

.brand--footer .brand__mark {
  background: var(--lime);
  color: var(--ink);
}

.site-footer__top > div > p {
  max-width: 420px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.54);
  font-size: 13px;
}

.site-footer .menu {
  flex-wrap: wrap;
  justify-content: end;
}

.site-footer .menu a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  text-decoration: none;
}

.site-footer__legal {
  display: flex;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  justify-content: space-between;
  gap: 24px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
}

.site-footer__legal p {
  margin: 0;
}

.main-content {
  min-height: 60vh;
  padding: 80px 0 120px;
}

.entry-header {
  max-width: 760px;
  margin-bottom: 55px;
}

.entry-header--wide {
  max-width: 900px;
}

.entry-header > p:not(.eyebrow) {
  max-width: 650px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 16px;
}

.content-shell {
  max-width: 820px;
}

.prose {
  color: var(--ink-soft);
  font-size: 16px;
}

.prose--wide {
  max-width: none;
}

.prose > * {
  max-width: 760px;
}

.prose > .mg-comparison,
.prose > .alignwide,
.prose > .alignfull {
  max-width: none;
}

.prose h2,
.prose h3,
.prose h4 {
  color: var(--ink);
  font-family: var(--serif);
  line-height: 1.5;
}

.prose h2 {
  padding-bottom: 12px;
  margin: 62px 0 22px;
  border-bottom: 1px solid var(--line);
  font-size: 30px;
}

.prose h3 {
  margin: 42px 0 16px;
  font-size: 23px;
}

.prose p,
.prose li {
  line-height: 2;
}

.prose a {
  color: var(--mint-dark);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.prose th,
.prose td {
  padding: 14px;
  border: 1px solid var(--line);
  text-align: left;
}

.prose th {
  background: #e8ebe3;
}

.prose blockquote {
  padding: 22px 26px;
  margin: 34px 0;
  background: #ecefe7;
  border-left: 4px solid var(--mint);
}

.disclosure--page {
  margin: -20px 0 50px;
}

.disclosure--compact {
  margin-bottom: 35px;
}

.comparison-page .prose > .mg-comparison {
  margin-top: 40px;
}

.service-hero {
  padding: 80px 0;
  background: #e9ece5;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-hero__inner {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 340px;
  gap: 80px;
}

.service-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.2;
}

.service-hero__lead {
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.service-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 35px;
}

.service-hero__facts div {
  padding-right: 28px;
  border-right: 1px solid var(--line);
}

.service-hero__facts div:last-child {
  border-right: 0;
}

.service-hero__facts small,
.service-hero__facts strong {
  display: block;
}

.service-hero__facts small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.service-hero__facts strong {
  margin-top: 5px;
  font-size: 16px;
}

.service-hero__facts strong span {
  margin-left: 3px;
  color: var(--muted);
  font-size: 10px;
}

.service-hero__action {
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.service-hero__logo {
  display: grid;
  min-height: 100px;
  margin-bottom: 18px;
  place-items: center;
}

.service-hero__logo img {
  max-height: 90px;
  width: auto;
}

.service-hero__action > p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}

.service-layout {
  display: grid;
  padding-top: 70px;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 70px;
}

.editor-note {
  padding: 25px 28px;
  margin-bottom: 35px;
  background: #edf0e8;
  border-radius: 8px;
}

.editor-note p:last-child {
  margin: 0;
  color: var(--ink-soft);
}

.service-sidebar {
  position: sticky;
  top: 110px;
  align-self: start;
}

.sidebar-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.sidebar-card h2 {
  margin: 0 0 14px;
  font-size: 15px;
}

.sidebar-card ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.sidebar-card li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.sidebar-card li::before {
  margin-right: 7px;
  color: var(--mint);
  content: "✓";
}

.sidebar-link {
  display: block;
  margin-top: 14px;
  color: var(--mint-dark);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.service-final-cta {
  padding: 38px;
  margin-top: 70px;
  background: var(--ink);
  border-radius: var(--radius-sm);
  color: var(--white);
}

.service-final-cta .eyebrow {
  color: var(--lime);
}

.service-final-cta h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 28px;
}

.service-final-cta > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.63);
}

.service-final-cta .button--primary {
  background: var(--lime);
  color: var(--ink);
}

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

.article-header h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.4;
}

.article-header > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}

.article-featured {
  margin-bottom: 60px;
}

.article-featured img {
  width: 100%;
  max-height: 630px;
  object-fit: cover;
  border-radius: 8px;
}

.article-grid--archive {
  row-gap: 65px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 60px;
}

.nav-links .page-numbers {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 12px;
  text-decoration: none;
}

.nav-links .current {
  background: var(--ink);
  color: var(--white);
}

.not-found {
  padding-block: 80px;
  text-align: center;
}

.not-found h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(38px, 6vw, 60px);
}

.not-found p:not(.eyebrow) {
  color: var(--muted);
}

.not-found .button {
  margin-top: 25px;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 78px 0 auto;
    display: none;
    align-items: stretch;
    padding: 30px 20px 38px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
  }

  .nav-open .site-nav {
    display: flex;
  }

  .nav-open .nav-toggle > span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-open .nav-toggle > span:nth-child(2) {
    opacity: 0;
  }

  .nav-open .nav-toggle > span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav .menu {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .site-nav .menu a {
    display: block;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
  }

  .age-pill {
    align-self: start;
  }

  .hero,
  .hero__inner {
    min-height: 620px;
  }

  .hero__inner {
    grid-template-columns: 1fr 0.7fr;
    gap: 30px;
  }

  .signal-card--main {
    left: 0;
    width: 230px;
    height: 290px;
  }

  .signal-card--small {
    right: -20px;
    width: 150px;
  }

  .mg-comparison__grid,
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card:last-child:nth-child(odd),
  .article-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: calc(50% - 10px);
  }

  .service-hero__inner {
    grid-template-columns: 1fr 300px;
    gap: 40px;
  }

  .service-layout {
    grid-template-columns: 1fr;
  }

  .service-sidebar {
    position: static;
  }
}

@media (max-width: 700px) {
  .wrap,
  .wrap--narrow {
    width: min(100% - 28px, 1120px);
  }

  .brand__text small {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero__inner {
    display: block;
    min-height: auto;
    padding: 80px 0 60px;
  }

  .hero h1 {
    font-size: 41px;
  }

  .hero__lead {
    font-size: 15px;
  }

  .hero__actions,
  .hero__actions .button {
    width: 100%;
  }

  .hero__visual {
    display: none;
  }

  .disclosure-wrap {
    margin-top: 0;
    padding-top: 14px;
  }

  .disclosure {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .disclosure__label {
    justify-self: start;
  }

  .section {
    padding-block: 75px;
  }

  .section-heading--split {
    align-items: start;
    flex-direction: column;
    gap: 18px;
  }

  .principle-grid,
  .mg-comparison__grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .principle-grid article {
    min-height: 230px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .principle-grid article:last-child {
    border-bottom: 0;
  }

  .service-card:last-child:nth-child(odd),
  .article-card:last-child:nth-child(odd) {
    max-width: none;
  }

  .steps-layout {
    grid-template-columns: 1fr;
  }

  .steps-intro {
    min-height: 470px;
    padding: 70px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .step-list {
    padding: 35px 0;
  }

  .step-list li {
    grid-template-columns: 48px 1fr;
    gap: 15px;
  }

  .age-banner__inner {
    align-items: start;
    padding-block: 32px;
    flex-direction: column;
    gap: 12px;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .site-footer .menu {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }

  .site-footer__legal {
    flex-direction: column;
  }

  .main-content {
    padding: 55px 0 85px;
  }

  .entry-header {
    margin-bottom: 40px;
  }

  .entry-header h1 {
    font-size: 36px;
  }

  .prose table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .service-hero {
    padding: 55px 0;
  }

  .service-hero__inner {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .service-hero h1 {
    font-size: 42px;
  }

  .service-hero__facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .service-hero__facts div {
    padding-right: 0;
    border-right: 0;
  }

  .service-layout {
    padding-top: 45px;
    gap: 50px;
  }

  .service-final-cta {
    padding: 28px 22px;
  }

  .article-header h1 {
    font-size: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
