@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #fbfcfd;
  --surface: #ffffff;
  --surface-soft: #f6faf8;
  --surface-mint: #eefaf5;
  --surface-blue: #f3f8ff;
  --surface-amber: #fff8ea;
  --text: #101828;
  --muted: #536173;
  --soft-text: #6a7688;
  --border: #e4e9ef;
  --border-strong: #d7dee8;
  --green: #19a86f;
  --green-dark: #0f8458;
  --green-soft: #eaf8f1;
  --teal: #12b8a6;
  --blue: #2588ef;
  --amber: #f6a51a;
  --shadow: 0 16px 40px rgba(16, 24, 40, 0.08);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% -10%, rgba(29, 170, 119, 0.08), transparent 22rem),
    linear-gradient(180deg, #fbfdfd 0%, #ffffff 24rem, #fbfcfd 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.62;
}

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

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

button,
input {
  font: inherit;
}

.sprite {
  display: none;
}

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

.icon,
.mini-icon,
.tiny,
.tiny-check {
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.mini-icon {
  width: 15px;
  height: 15px;
  stroke-width: 2.1;
}

.tiny {
  width: 13px;
  height: 13px;
  stroke-width: 2.4;
}

.tiny-check {
  width: 18px;
  height: 18px;
  color: var(--green);
  stroke-width: 2.2;
}

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

.top-strip {
  min-height: 48px;
  border-bottom: 1px solid #e6eee9;
  background: linear-gradient(90deg, #eff9f5, #fbfdfc 47%, #f3faf7);
  color: #253548;
  font-size: 14px;
  font-weight: 500;
}

.strip-inner {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.strip-inner p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.strip-inner p .icon {
  width: 18px;
  height: 18px;
  color: var(--green-dark);
}

.strip-inner nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #1f2937;
}

.strip-inner nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  min-height: 80px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: #172033;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-logo {
  width: 168px;
  height: 56px;
  object-fit: contain;
  object-position: left center;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--green);
}

.brand-mark svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
  stroke: #0d8a5e;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 3vw, 46px);
  font-weight: 700;
  color: #1e2a3b;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.chevron {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.download-button,
.full-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #20ba7a, #129460);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(18, 148, 96, 0.18);
}

.download-button {
  min-height: 48px;
  padding: 0 22px;
}

.hero-section {
  padding: 48px 0 30px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #718096;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 28px;
}

.breadcrumbs span {
  width: 6px;
  height: 6px;
  border-top: 1.7px solid #97a2b2;
  border-right: 1.7px solid #97a2b2;
  transform: rotate(45deg);
}

.breadcrumbs strong {
  color: #293445;
  font-weight: 700;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 1fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}

.hero-copy {
  padding-top: 16px;
}

.hero-copy h1 {
  max-width: 720px;
  margin: 0;
  color: #111827;
  font-size: clamp(40px, 4vw, 58px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 690px;
  margin: 27px 0 30px;
  color: #4b596d;
  font-size: 17px;
  line-height: 1.75;
  font-weight: 500;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.hero-pills span {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 17px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  color: #344054;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.03);
}

.hero-pills .icon {
  color: var(--green);
}

.meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: #667085;
  font-size: 13px;
  font-weight: 600;
}

.meta-row strong {
  color: #2f3a4b;
  font-weight: 800;
}

.reviewed {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 800;
}

.hero-visual {
  overflow: hidden;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: auto;
}

.topic-tabs {
  min-height: 65px;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  align-items: center;
  gap: 5px;
  margin-top: 32px;
  padding: 10px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.03);
}

.topic-tabs a {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 6px;
  color: #4c5a6e;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.topic-tabs a.active {
  background: var(--green-soft);
  color: var(--green-dark);
}

.topic-tabs .icon {
  width: 18px;
  height: 18px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, 0.88fr);
  gap: clamp(30px, 4vw, 52px);
  align-items: start;
  padding-bottom: 70px;
}

.content-column {
  min-width: 0;
}

.content-block {
  margin-bottom: 42px;
}

.content-block h2,
.side-card h2,
.footer-links h2,
.newsletter h2 {
  margin: 0;
  color: #121a2a;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0;
}

.content-block p {
  margin: 12px 0 0;
  color: #354154;
  font-weight: 500;
  line-height: 1.72;
}

.safe-note {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 17px;
  padding: 20px 24px;
  border: 1px solid #cfe7dd;
  border-radius: var(--radius);
  background: linear-gradient(90deg, #edf9f4, rgba(246, 251, 249, 0.92));
}

.safe-note p {
  margin: 0;
}

.round-icon {
  width: 38px;
  height: 38px;
  display: grid;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
}

.round-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.table-card {
  overflow: hidden;
  margin-top: 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  color: #1d2939;
  font-size: 14px;
  font-weight: 500;
}

th,
td {
  padding: 13px 24px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: left;
}

th:last-child,
td:last-child {
  border-right: 0;
}

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

th {
  background: #f8fafc;
  color: #101828;
  font-weight: 800;
}

.week-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.week-card,
.mini-card,
.side-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.week-card {
  min-height: 234px;
  padding: 23px 18px 17px;
  background: linear-gradient(180deg, #f8fbfa, #f4faf7);
  text-align: center;
}

.week-card:nth-child(2) {
  background: linear-gradient(180deg, #f8fbf8, #f3faf5);
}

.week-card:nth-child(3) {
  background: linear-gradient(180deg, #fbfdff, #f4fbff);
}

.week-card.blue {
  background: linear-gradient(180deg, #f7fbff, #f1f7ff);
}

.card-icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 9px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-icon.target,
.card-icon.fire {
  color: var(--green);
}

.card-icon.chart {
  color: var(--teal);
}

.card-icon.trophy {
  color: var(--blue);
}

.week-card h3 {
  margin: 0 0 4px;
  color: var(--green);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 800;
}

.week-card.blue h3 {
  color: var(--blue);
}

.week-card strong {
  display: block;
  color: #176650;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 800;
}

.week-card.blue strong {
  color: #236fc5;
}

.week-card ul {
  margin: 24px 0 0;
  padding: 0;
  color: #334155;
  font-size: 12.5px;
  line-height: 1.48;
  list-style: none;
  text-align: left;
}

.week-card li {
  position: relative;
  padding-left: 11px;
  margin-top: 5px;
}

.week-card li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.week-card.blue li::before {
  background: var(--blue);
}

.mini-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.mini-card {
  min-height: 94px;
  padding: 18px 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 13px;
  align-items: center;
}

.mini-card-icon {
  width: 32px;
  height: 32px;
  color: var(--green);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  grid-row: span 2;
}

.mini-card h3 {
  margin: 0;
  color: #176650;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 800;
}

.mini-card p {
  margin: 3px 0 0;
  color: #536173;
  font-size: 12px;
  line-height: 1.35;
}

.tip {
  min-height: 88px;
}

.faq-block {
  margin-top: 0;
  margin-bottom: 0;
}

details {
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

summary {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 22px;
  color: #243044;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  width: 12px;
  height: 12px;
  border-right: 2px solid #506176;
  border-bottom: 2px solid #506176;
  transform: rotate(45deg) translateY(-3px);
  content: "";
}

details[open] summary::after {
  transform: rotate(225deg) translateY(-1px);
}

details p {
  padding: 0 22px 15px;
}

.sidebar {
  display: grid;
  gap: 28px;
}

.side-card {
  padding: 28px;
  box-shadow: 0 10px 22px rgba(16, 24, 40, 0.035);
}

.toc {
  padding-bottom: 24px;
}

.side-card h2 {
  font-size: 22px;
}

.toc ol {
  display: grid;
  gap: 15px;
  margin: 22px 0 0;
  padding-left: 24px;
  color: #344054;
  font-size: 14px;
  font-weight: 700;
}

.toc li {
  padding-left: 12px;
}

.toc a {
  color: #344054;
}

.guide-card {
  background: linear-gradient(135deg, #f5fbf8, #ffffff 60%, #edf8f1);
}

.guide-card h2 {
  max-width: 320px;
  font-size: 25px;
  line-height: 1.2;
}

.guide-card p {
  margin: 19px 0 20px;
  color: #405067;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 500;
}

.guide-card ul {
  display: grid;
  gap: 12px;
  margin: 0 0 23px;
  padding: 0;
  color: #263548;
  font-size: 14px;
  font-weight: 600;
  list-style: none;
}

.guide-card li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.full-button {
  width: 100%;
  min-height: 52px;
  font-size: 17px;
}

.warning-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 17px;
  background: linear-gradient(135deg, #fff9ed, #fffef9);
  border-color: #f2dfb7;
}

.warning-icon {
  width: 34px;
  height: 34px;
  color: var(--amber);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.warning-card h2 {
  font-size: 18px;
}

.warning-card p {
  margin: 8px 0 0;
  color: #475467;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 500;
}

.related-card {
  padding-bottom: 25px;
}

.related-card h2 {
  margin-bottom: 22px;
}

.related-item {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 17px;
  color: #344054;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 500;
}

.related-item img {
  width: 86px;
  height: 62px;
  object-fit: cover;
  border-radius: 6px;
}

.related-item strong {
  display: block;
  color: #111827;
  font-weight: 800;
}

.view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: var(--green-dark);
  font-size: 15px;
  font-weight: 800;
}

.view-all .mini-icon {
  width: 16px;
  height: 16px;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #f8fbfa;
  padding: 42px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 0.9fr) 1.7fr;
  gap: clamp(28px, 4vw, 58px);
}

.footer-brand .brand {
  font-size: 22px;
}

.footer-brand .brand-logo {
  width: 150px;
  height: 70px;
}

.footer-brand p,
.newsletter p {
  margin: 17px 0 18px;
  color: #536173;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 500;
}

.social-row {
  display: flex;
  gap: 20px;
}

.social-row a {
  color: #5f6b7b;
}

.social-row svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-links h2,
.newsletter h2 {
  font-size: 16px;
  margin-bottom: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-links a {
  color: #4d5b6c;
  font-size: 13px;
  font-weight: 500;
}

.newsletter form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px;
  margin-top: 16px;
}

.newsletter input {
  min-width: 0;
  height: 42px;
  border: 1px solid var(--border-strong);
  border-radius: 5px;
  padding: 0 15px;
  color: #273449;
  background: #fff;
  font-size: 13px;
}

.newsletter button {
  height: 42px;
  border: 0;
  border-radius: 5px;
  padding: 0 18px;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.copyright {
  margin: 42px 0 0;
  color: #667085;
  font-size: 12px;
  text-align: center;
}

@media (max-width: 1080px) {
  .container {
    width: min(100% - 60px, 980px);
  }

  .header-inner {
    gap: 20px;
  }

  .main-nav {
    gap: 18px;
    font-size: 13px;
  }

  .topic-tabs {
    overflow-x: auto;
    grid-template-columns: repeat(7, max-content);
    justify-content: start;
  }

  .topic-tabs a {
    padding: 0 14px;
  }

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

  .footer-brand,
  .newsletter {
    grid-column: span 3;
  }
}

@media (max-width: 820px) {
  .top-strip nav,
  .main-nav {
    display: none;
  }

  .container {
    width: min(100% - 32px, 720px);
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .hero-section {
    padding-top: 30px;
  }

  .hero-grid,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-copy h1 {
    font-size: 40px;
  }

  .hero-pills,
  .meta-row {
    gap: 10px;
  }

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

  .sidebar {
    gap: 18px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 14px;
  }

  .strip-inner {
    justify-content: center;
    text-align: center;
  }

  .download-button {
    min-width: 48px;
    padding: 0 12px;
    font-size: 12px;
  }

  .brand {
    font-size: 21px;
  }

  .brand-logo {
    width: 132px;
    height: 48px;
  }

  .footer-brand .brand-logo {
    width: 142px;
    height: 64px;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .hero-copy p {
    font-size: 15px;
  }

  .hero-pills span {
    width: calc(50% - 5px);
    padding: 0 12px;
    font-size: 12px;
  }

  .content-block h2 {
    font-size: 23px;
  }

  .week-grid,
  .mini-card-grid,
  .footer-grid,
  .newsletter form {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .newsletter {
    grid-column: auto;
  }

  .safe-note {
    align-items: flex-start;
    padding: 16px;
  }

  th,
  td {
    padding: 10px 12px;
    font-size: 12px;
  }

  .side-card {
    padding: 22px;
  }
}

@media (min-width: 821px) {
  body {
    font-size: 12px;
    line-height: 1.5;
  }

  .container {
    width: min(790px, calc(100% - 122px));
  }

  .top-strip {
    min-height: 30px;
    font-size: 12px;
  }

  .strip-inner {
    min-height: 30px;
  }

  .strip-inner p {
    gap: 7px;
  }

  .strip-inner p .icon {
    width: 12px;
    height: 12px;
  }

  .strip-inner nav {
    gap: 23px;
  }

  .mini-icon {
    width: 10px;
    height: 10px;
  }

  .site-header {
    min-height: 50px;
  }

  .header-inner {
    min-height: 50px;
    grid-template-columns: 170px 1fr auto;
    gap: 16px;
  }

  .brand {
    gap: 8px;
    font-size: 17px;
  }

  .brand-mark {
    width: 22px;
    height: 22px;
  }

  .brand-mark svg {
    width: 22px;
    height: 22px;
  }

  .main-nav {
    gap: 31px;
    font-size: 12px;
  }

  .chevron {
    width: 9px;
    height: 9px;
  }

  .download-button {
    min-height: 31px;
    padding: 0 14px;
    gap: 6px;
    border-radius: 5px;
    font-size: 12px;
  }

  .download-button .icon,
  .full-button .icon {
    width: 12px;
    height: 12px;
  }

  .hero-section {
    padding: 35px 0 20px;
  }

  .breadcrumbs {
    gap: 8px;
    margin-bottom: 13px;
    font-size: 12px;
  }

  .breadcrumbs span {
    width: 4px;
    height: 4px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 360px) minmax(0, 395px);
    gap: 35px;
  }

  .hero-copy {
    padding-top: 6px;
  }

  .hero-copy h1 {
    max-width: 360px;
    font-size: 38px;
    line-height: 1.12;
  }

  .hero-copy p {
    max-width: 360px;
    margin: 17px 0 17px;
    font-size: 12px;
    line-height: 1.65;
  }

  .hero-pills {
    gap: 6px;
    margin-bottom: 14px;
  }

  .hero-pills span {
    min-height: 32px;
    padding: 0 9px;
    gap: 5px;
    border-radius: 6px;
    font-size: 12px;
  }

  .hero-pills .icon {
    width: 13px;
    height: 13px;
  }

  .meta-row {
    gap: 8px;
    font-size: 12px;
  }

  .reviewed {
    min-height: 17px;
    padding: 0 8px;
    gap: 4px;
  }

  .tiny {
    width: 9px;
    height: 9px;
  }

  .hero-visual {
    width: 395px;
    margin-top: -39px;
    border-radius: 14px;
    box-shadow: 0 12px 25px rgba(16, 24, 40, 0.08);
  }

  .topic-tabs {
    min-height: 42px;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 2px;
    margin-top: 16px;
    padding: 6px;
    border-radius: 6px;
  }

  .topic-tabs a {
    min-height: 29px;
    gap: 6px;
    border-radius: 5px;
    font-size: 12px;
  }

  .topic-tabs .icon {
    width: 12px;
    height: 12px;
  }

  .article-layout {
    grid-template-columns: 490px 267px;
    gap: 33px;
    padding-bottom: 0;
  }

  .content-block {
    margin-bottom: 13px;
  }

  .content-block h2,
  .side-card h2,
  .footer-links h2,
  .newsletter h2 {
    font-size: 18px;
  }

  .content-block p {
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.56;
  }

  .safe-note {
    gap: 12px;
    margin-top: 10px;
    padding: 12px 14px;
    border-radius: 6px;
  }

  .round-icon {
    width: 25px;
    height: 25px;
    flex-basis: 25px;
  }

  .round-icon svg {
    width: 14px;
    height: 14px;
  }

  .table-card {
    margin-top: 9px;
    border-radius: 6px;
  }

  table {
    font-size: 12px;
  }

  th,
  td {
    padding: 7px 17px;
  }

  #meal-plan th,
  #meal-plan td {
    padding-top: 3px;
    padding-bottom: 3px;
  }

  .week-grid {
    gap: 13px;
    margin-top: 12px;
  }

  .week-card {
    min-height: 168px;
    padding: 13px 9px 9px;
    border-radius: 6px;
  }

  .card-icon {
    width: 26px;
    height: 26px;
    margin-bottom: 7px;
  }

  .week-card h3 {
    margin-bottom: 2px;
    font-size: 12.7px;
  }

  .week-card strong {
    font-size: 12px;
  }

  .week-card ul {
    margin-top: 14px;
    font-size: 12px;
    line-height: 1.45;
  }

  .week-card li {
    padding-left: 8px;
    margin-top: 3px;
  }

  .week-card li::before {
    width: 3px;
    height: 3px;
  }

  .mini-card-grid {
    gap: 8px;
    margin-top: 11px;
  }

  .mini-card {
    min-height: 64px;
    padding: 10px 9px;
    column-gap: 8px;
    border-radius: 6px;
  }

  .mini-card-icon {
    width: 21px;
    height: 21px;
  }

  .mini-card h3 {
    font-size: 12px;
  }

  .mini-card p {
    margin-top: 2px;
    font-size: 12px;
  }

  .tip {
    min-height: 58px;
  }

  .faq-block {
    margin-top: -20px;
  }

  details {
    margin-top: 5px;
    border-radius: 6px;
  }

  summary {
    min-height: 24px;
    padding: 0 13px;
    font-size: 12px;
  }

  summary::after {
    width: 8px;
    height: 8px;
    border-width: 1.5px;
  }

  details p {
    padding: 0 13px 10px;
  }

  .sidebar {
    gap: 18px;
  }

  .side-card {
    padding: 18px;
    border-radius: 6px;
    box-shadow: 0 8px 18px rgba(16, 24, 40, 0.035);
  }

  .side-card h2 {
    font-size: 13.5px;
  }

  .toc {
    padding-bottom: 15px;
  }

  .toc ol {
    gap: 9px;
    margin-top: 14px;
    padding-left: 16px;
    font-size: 12px;
  }

  .toc li {
    padding-left: 8px;
  }

  .guide-card h2 {
    max-width: 205px;
    font-size: 16px;
  }

  .guide-card p {
    margin: 12px 0 12px;
    font-size: 12px;
  }

  .guide-card ul {
    gap: 7px;
    margin-bottom: 15px;
    font-size: 12px;
  }

  .tiny-check {
    width: 12px;
    height: 12px;
  }

  .full-button {
    min-height: 33px;
    border-radius: 5px;
    font-size: 12px;
  }

  .warning-card {
    gap: 12px;
  }

  .warning-icon {
    width: 22px;
    height: 22px;
  }

  .warning-card h2 {
    font-size: 12px;
  }

  .warning-card p {
    margin-top: 5px;
    font-size: 12px;
  }

  .related-card {
    padding-bottom: 16px;
  }

  .related-card h2 {
    margin-bottom: 13px;
  }

  .related-item {
    grid-template-columns: 47px 1fr;
    gap: 9px;
    margin-bottom: 10px;
    font-size: 12px;
  }

  .related-item img {
    width: 47px;
    height: 33px;
    border-radius: 4px;
  }

  .view-all {
    margin-top: 4px;
    gap: 4px;
    font-size: 12px;
  }

  .view-all .mini-icon {
    width: 10px;
    height: 10px;
  }

  .site-footer {
    padding: 16px 0 8px;
  }

  .footer-grid {
    grid-template-columns: 170px 86px 96px 86px 176px;
    gap: 25px;
    align-items: start;
  }

  .footer-brand,
  .newsletter {
    grid-column: auto;
  }

  .footer-brand .brand {
    font-size: 13.5px;
  }

  .footer-brand p,
  .newsletter p {
    margin: 10px 0 11px;
    font-size: 12px;
    line-height: 1.6;
  }

  .social-row {
    gap: 15px;
  }

  .social-row svg {
    width: 12px;
    height: 12px;
  }

  .footer-links {
    gap: 4px;
  }

  .footer-links h2,
  .newsletter h2 {
    margin-bottom: 7px;
    font-size: 12px;
  }

  .footer-links a {
    font-size: 12px;
  }

  .newsletter form {
    gap: 6px;
    margin-top: 10px;
  }

  .newsletter input,
  .newsletter button {
    height: 27px;
    border-radius: 4px;
    font-size: 12px;
  }

  .newsletter input {
    padding: 0 10px;
  }

  .newsletter button {
    padding: 0 12px;
  }

  .copyright {
    margin-top: 14px;
    font-size: 12px;
  }
}

.calculator-block {
  scroll-margin-top: 24px;
}

.calculator {
  margin-top: 22px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f8fbfa, #ffffff);
}

.calculator-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.calculator label {
  display: grid;
  gap: 8px;
  color: #243044;
  font-size: 14px;
  font-weight: 800;
}

.calculator .wide-field {
  grid-column: span 2;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: #fff;
}

.field-row input,
.calculator select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: #fff;
  color: #172033;
  font-size: 15px;
  font-weight: 600;
}

.field-row input {
  min-width: 0;
  border: 0;
  padding: 0 14px;
}

.field-row small {
  padding: 0 12px;
  color: #667085;
  font-size: 13px;
  font-weight: 800;
}

.calculator select {
  padding: 0 14px;
}

.calculator-button {
  min-height: 48px;
  margin-top: 18px;
  border: 0;
  border-radius: 6px;
  padding: 0 22px;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
}

.calculator-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.calculator-results article {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

.calculator-results span {
  display: block;
  color: #667085;
  font-size: 13px;
  font-weight: 800;
}

.calculator-results strong {
  display: block;
  margin-top: 8px;
  color: #111827;
  font-size: 19px;
  line-height: 1.25;
}

.calculator-note {
  padding: 16px 18px;
  border: 1px solid #cfe7dd;
  border-radius: var(--radius);
  background: var(--green-soft);
}

@media (min-width: 821px) {
  body {
    font-size: 16px;
    line-height: 1.62;
  }

  body :where(a, p, li, td, th, summary, input, button, select, label, span, small, strong) {
    font-size: max(12px, 1em);
  }

  .container {
    width: min(1180px, calc(100% - 72px));
  }

  .top-strip {
    min-height: 44px;
    font-size: 14px;
  }

  .strip-inner {
    min-height: 44px;
  }

  .strip-inner p {
    gap: 10px;
  }

  .strip-inner p .icon,
  .mini-icon {
    width: 15px;
    height: 15px;
  }

  .strip-inner nav {
    gap: 28px;
  }

  .site-header {
    min-height: 78px;
  }

  .header-inner {
    min-height: 78px;
    grid-template-columns: auto 1fr auto;
    gap: 34px;
  }

  .brand,
  .footer-brand .brand {
    gap: 12px;
    font-size: 24px;
  }

  .brand-mark,
  .brand-mark svg {
    width: 32px;
    height: 32px;
  }

  .main-nav {
    gap: clamp(22px, 2.6vw, 42px);
    font-size: 14px;
  }

  .chevron {
    width: 14px;
    height: 14px;
  }

  .download-button {
    min-height: 46px;
    padding: 0 20px;
    gap: 8px;
    border-radius: var(--radius);
    font-size: 14px;
  }

  .download-button .icon,
  .full-button .icon {
    width: 18px;
    height: 18px;
  }

  .hero-section {
    padding: 48px 0 34px;
  }

  .breadcrumbs {
    gap: 11px;
    margin-bottom: 26px;
    font-size: 13px;
  }

  .breadcrumbs span {
    width: 6px;
    height: 6px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
    gap: clamp(42px, 5vw, 78px);
  }

  .hero-copy {
    padding-top: 12px;
  }

  .hero-copy h1 {
    max-width: 690px;
    font-size: clamp(44px, 4vw, 60px);
    line-height: 1.1;
  }

  .hero-copy p {
    max-width: 660px;
    margin: 24px 0 26px;
    font-size: 17px;
    line-height: 1.72;
  }

  .hero-pills {
    gap: 12px;
    margin-bottom: 22px;
  }

  .hero-pills span {
    min-height: 48px;
    padding: 0 16px;
    gap: 9px;
    border-radius: var(--radius);
    font-size: 14px;
  }

  .hero-pills .icon {
    width: 18px;
    height: 18px;
  }

  .meta-row {
    gap: 10px;
    font-size: 13px;
  }

  .reviewed {
    min-height: 26px;
    padding: 0 12px;
    gap: 6px;
  }

  .tiny {
    width: 13px;
    height: 13px;
  }

  .hero-visual {
    width: auto;
    margin-top: 0;
    border-radius: 22px;
  }

  .topic-tabs {
    min-height: 66px;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 5px;
    margin-top: 34px;
    padding: 10px;
    border-radius: var(--radius);
  }

  .topic-tabs a {
    min-height: 44px;
    gap: 8px;
    border-radius: 6px;
    font-size: 13px;
  }

  .topic-tabs .icon {
    width: 17px;
    height: 17px;
  }

  .article-layout {
    grid-template-columns: minmax(0, 1.58fr) minmax(300px, 0.82fr);
    gap: clamp(34px, 4vw, 54px);
    padding-bottom: 70px;
  }

  .content-block {
    margin-bottom: 46px;
  }

  .content-block h2 {
    font-size: 30px;
    line-height: 1.2;
  }

  .side-card h2 {
    font-size: 22px;
  }

  .footer-links h2,
  .newsletter h2 {
    font-size: 16px;
  }

  .content-block p {
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.72;
  }

  .safe-note {
    gap: 18px;
    margin-top: 18px;
    padding: 20px 24px;
    border-radius: var(--radius);
  }

  .round-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .round-icon svg {
    width: 20px;
    height: 20px;
  }

  .table-card {
    margin-top: 16px;
    border-radius: var(--radius);
  }

  table {
    font-size: 15px;
  }

  th,
  td,
  #meal-plan th,
  #meal-plan td {
    padding: 13px 20px;
  }

  .week-grid {
    gap: 18px;
    margin-top: 20px;
  }

  .week-card {
    min-height: 242px;
    padding: 24px 18px 18px;
    border-radius: var(--radius);
  }

  .card-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 10px;
  }

  .week-card h3 {
    margin-bottom: 4px;
    font-size: 20px;
  }

  .week-card strong {
    font-size: 14px;
  }

  .week-card ul {
    margin-top: 22px;
    font-size: 13px;
    line-height: 1.5;
  }

  .week-card li {
    padding-left: 11px;
    margin-top: 6px;
  }

  .week-card li::before {
    width: 4px;
    height: 4px;
  }

  .mini-card-grid {
    gap: 14px;
    margin-top: 18px;
  }

  .mini-card {
    min-height: 100px;
    padding: 18px 16px;
    column-gap: 13px;
    border-radius: var(--radius);
  }

  .mini-card-icon {
    width: 32px;
    height: 32px;
  }

  .mini-card h3 {
    font-size: 13px;
  }

  .mini-card p {
    margin-top: 3px;
    font-size: 12px;
  }

  .tip {
    min-height: 94px;
  }

  .faq-block {
    margin-top: 0;
  }

  details {
    margin-top: 12px;
    border-radius: var(--radius);
  }

  summary {
    min-height: 48px;
    padding: 0 22px;
    font-size: 15px;
  }

  summary::after {
    width: 12px;
    height: 12px;
    border-width: 2px;
  }

  details p {
    padding: 0 22px 18px;
  }

  .sidebar {
    gap: 28px;
  }

  .side-card {
    padding: 28px;
    border-radius: var(--radius);
  }

  .toc {
    padding-bottom: 24px;
  }

  .toc ol {
    gap: 14px;
    margin-top: 20px;
    padding-left: 22px;
    font-size: 13px;
  }

  .toc li {
    padding-left: 10px;
  }

  .guide-card h2 {
    max-width: 320px;
    font-size: 24px;
  }

  .guide-card p {
    margin: 16px 0 18px;
    font-size: 15px;
  }

  .guide-card ul {
    gap: 10px;
    margin-bottom: 22px;
    font-size: 14px;
  }

  .tiny-check {
    width: 18px;
    height: 18px;
  }

  .full-button {
    min-height: 50px;
    border-radius: var(--radius);
    font-size: 15px;
  }

  .warning-card {
    gap: 16px;
  }

  .warning-icon {
    width: 34px;
    height: 34px;
  }

  .warning-card h2 {
    font-size: 18px;
  }

  .warning-card p {
    margin-top: 8px;
    font-size: 13px;
  }

  .related-card {
    padding-bottom: 24px;
  }

  .related-card h2 {
    margin-bottom: 20px;
  }

  .related-item {
    grid-template-columns: 82px 1fr;
    gap: 14px;
    margin-bottom: 16px;
    font-size: 14px;
  }

  .related-item img {
    width: 82px;
    height: 58px;
    border-radius: 6px;
  }

  .view-all {
    margin-top: 6px;
    gap: 6px;
    font-size: 14px;
  }

  .view-all .mini-icon {
    width: 15px;
    height: 15px;
  }

  .site-footer {
    padding: 42px 0 20px;
  }

  .footer-grid {
    grid-template-columns: 1.8fr repeat(3, 0.9fr) 1.7fr;
    gap: clamp(28px, 4vw, 58px);
    align-items: start;
  }

  .footer-brand,
  .newsletter {
    grid-column: auto;
  }

  .footer-brand p,
  .newsletter p {
    margin: 16px 0 18px;
    font-size: 13px;
    line-height: 1.65;
  }

  .social-row {
    gap: 20px;
  }

  .social-row svg {
    width: 20px;
    height: 20px;
  }

  .footer-links {
    gap: 7px;
  }

  .footer-links h2,
  .newsletter h2 {
    margin-bottom: 14px;
    font-size: 16px;
  }

  .footer-links a {
    font-size: 13px;
  }

  .newsletter form {
    gap: 9px;
    margin-top: 16px;
  }

  .newsletter input,
  .newsletter button {
    height: 42px;
    border-radius: 5px;
    font-size: 13px;
  }

  .newsletter input {
    padding: 0 15px;
  }

  .newsletter button {
    padding: 0 18px;
  }

  .copyright {
    margin-top: 42px;
    font-size: 12px;
  }
}

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

  .calculator .wide-field {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .calculator {
    padding: 18px;
  }

  .calculator-button {
    width: 100%;
  }
}
