@font-face {
  font-family: Inter;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --ink: #11233e;
  --text: #47586f;
  --muted: #5c6c80;
  --blue: #245de2;
  --teal: #147a75;
  --line: #d9e3ed;
  --mist: #f6f9fc;
  --mono: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font:
    400 1rem/1.6 Inter,
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.12;
  text-wrap: balance;
}
h2 {
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  letter-spacing: -0.053em;
  font-weight: 680;
}
h3 {
  font-size: 1.22rem;
  letter-spacing: -0.035em;
  font-weight: 650;
}
p {
  color: var(--text);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button,
summary,
select {
  cursor: pointer;
}
button {
  border: 0;
  background: none;
}
button,
a,
input,
summary,
select {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid #0d6dce;
  outline-offset: 4px;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
[hidden],
.js-only {
  display: none !important;
}
.enhanced .js-only {
  display: flex !important;
}
.wrap {
  width: min(1200px, calc(100% - clamp(40px, 9vw, 144px)));
  margin-inline: auto;
}
.icon {
  width: 1.19em;
  height: 1.19em;
  vertical-align: -0.17em;
  flex: none;
}
.skip {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 30;
  background: #fff;
  padding: 0.5rem 1rem;
  color: var(--blue);
}
.skip:focus {
  top: 0.5rem;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.mast {
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: relative;
  z-index: 5;
}
.mast-row {
  display: flex;
  align-items: center;
  min-height: 76px;
  gap: clamp(20px, 3.5vw, 56px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.39rem;
  line-height: 1;
  font-weight: 740;
  letter-spacing: -0.065em;
  white-space: nowrap;
}
.brand > span:last-child > span {
  color: var(--blue);
}
.brand-mark {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: white;
  border-radius: 8px;
  box-shadow: inset 0 -2px 0 #174dbd;
}
.brand-mark .icon {
  width: 26px;
  height: 26px;
}
.primary-nav {
  display: flex;
  align-self: stretch;
  align-items: stretch;
  gap: clamp(17px, 2.1vw, 35px);
  margin-left: auto;
}
.primary-nav a {
  position: relative;
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 550;
  color: #435269;
}
.primary-nav a:hover,
.primary-nav a[aria-current] {
  color: var(--blue);
}
.primary-nav a[aria-current]::after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  inset-inline: 0;
  background: var(--blue);
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
}
.icon-button:hover {
  border-color: #9cb0c8;
  background: var(--mist);
}
.menu-toggle {
  display: none;
}
.hero,
.reader-intro {
  background-color: #f5f9fe;
  background-image:
    linear-gradient(
      90deg,
      #f6f9fd 0%,
      #f6f9fdf2 18%,
      #f6f9fd30 59%,
      transparent 100%
    ),
    linear-gradient(#6389b615 1px, transparent 1px),
    linear-gradient(90deg, #6389b615 1px, transparent 1px);
  background-size:
    auto,
    28px 28px,
    28px 28px;
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  align-items: center;
  gap: 2%;
  padding-block: clamp(42px, 4.5vw, 70px);
}
.kicker,
.mini,
.section-count,
.guide-meta,
.article-topic,
.search-results small,
.workbench figcaption {
  font-family: var(--mono);
}
.kicker {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--teal);
  font-weight: 650;
  font-size: 0.76rem;
  letter-spacing: 0.102em;
  text-transform: uppercase;
  line-height: 1.5;
}
.dash {
  width: 25px;
  height: 2px;
  background: #159d91;
}
.hero h1 {
  font-size: clamp(3rem, 4.85vw, 4.5rem);
  line-height: 1.005;
  letter-spacing: -0.068em;
  margin: 20px 0 19px;
  font-weight: 690;
}
.hero h1 span {
  color: var(--blue);
}
.hero h1 .period {
  color: #128e86;
}
.hero-copy > p {
  font-size: clamp(1rem, 1.27vw, 1.12rem);
  line-height: 1.6;
  max-width: 510px;
  color: #485b72;
  text-wrap: pretty;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  border-radius: 8px;
  padding: 10px 17px;
  font-weight: 630;
  font-size: 0.91rem;
  line-height: 1.4;
  transition:
    background 0.16s,
    box-shadow 0.16s,
    transform 0.16s;
}
.btn.primary {
  background: var(--blue);
  color: white;
  border: 1px solid #1e55cf;
  box-shadow: 0 3px 6px #234fb621;
}
.btn.primary:hover {
  background: #164fc9;
  transform: translateY(-1px);
}
.btn.secondary {
  background: #fff;
  border: 1px solid #cbd7e4;
  box-shadow: 0 2px 3px #253e6110;
}
.btn.secondary:hover {
  border-color: #869eba;
  background: #f9fcff;
}
.workbench {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 1.2% 0 2.5%;
}
.workbench img {
  width: 100%;
  max-width: 555px;
  filter: drop-shadow(0 12px 12px #34579110);
}
.workbench figcaption {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 21px;
  color: #4d617c;
  font-size: 0.75rem;
  margin-top: 9px;
}
.workbench figcaption span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.workbench figcaption i {
  width: 8px;
  height: 8px;
  border: 1.5px solid #2864d9;
  border-radius: 2px;
  background: #dae8ff;
}
.workbench figcaption span:nth-child(2) i {
  transform: rotate(45deg);
  background: white;
}
.workbench figcaption span:nth-child(3) i {
  border-color: #16867f;
  background: #c7f0e9;
  border-radius: 50%;
}
.block {
  padding-block: clamp(44px, 4.6vw, 70px);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 27px;
}
.section-head h2,
.about-strip h2 {
  margin-top: 9px;
}
.section-count {
  font-size: 0.81rem;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  white-space: nowrap;
  margin-bottom: 4px;
}
.topics,
.extensions,
.guides {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.blue {
  --accent: #2d65d8;
  --wash: #eaf1ff;
  --edge: #cdddfb;
}
.amber {
  --accent: #9a610c;
  --wash: #fff3d6;
  --edge: #f4dfae;
}
.purple {
  --accent: #7850c5;
  --wash: #f0eaff;
  --edge: #dfd3f7;
}
.mint {
  --accent: #116e62;
  --wash: #e1f5ef;
  --edge: #bfe8dd;
}
.rose {
  --accent: #993e56;
  --wash: #fcebf0;
  --edge: #f3cfd9;
}
.sky {
  --accent: #216988;
  --wash: #e5f4fc;
  --edge: #c6e4f3;
}
.topic,
.extension,
.guide-card {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 2px 4px #1b355305;
}
.topic-link,
.guide-card {
  transition:
    border-color 0.18s,
    background 0.18s,
    box-shadow 0.18s,
    transform 0.18s;
}
.topic {
  position: relative;
  transition:
    border-color 0.18s,
    box-shadow 0.18s;
}
.topic:hover,
.guide-card:hover {
  border-color: #aabbcf;
  box-shadow: 0 5px 18px #334b6710;
}
.topic-link {
  display: block;
  padding: 21px 23px 22px;
  height: 100%;
  border-radius: 13px;
}
.icon-tile {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background: var(--wash);
  color: var(--accent);
  border: 1px solid var(--edge);
}
.icon-tile .icon {
  width: 23px;
  height: 23px;
}
.topic-plus {
  position: absolute;
  right: 20px;
  top: 21px;
  font: 400 1.3rem/1 var(--mono);
  color: #78899c;
}
.topic-link:hover .topic-plus {
  color: var(--blue);
}
.topic h3 {
  margin: 16px 0 8px;
}
.topic p,
.guide-card p,
.habits p,
.extension p {
  font-size: 0.97rem;
  line-height: 1.6;
}
.tinted {
  background: #f8fafc;
  border-block: 1px solid var(--line);
}
.extension {
  padding: 25px;
  display: flex;
  flex-direction: column;
}
.ext-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 19px;
}
.mini,
.guide-meta,
.article-topic {
  font-size: 0.77rem;
  color: var(--accent, var(--teal));
  font-weight: 600;
}
.extension h3 {
  font-size: 1.5rem;
}
.publisher {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 7px 0 18px;
}
.feature-list {
  list-style: none;
  margin: 18px 0 23px;
  padding: 0;
  display: grid;
  gap: 5px;
}
.feature-list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--text);
  font-size: 0.91rem;
}
.feature-list .icon {
  color: var(--teal);
  align-self: center;
  width: 15px;
  height: 15px;
}
details > summary {
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-weight: 620;
}
details[open] > summary .icon {
  transform: rotate(45deg);
}
.extension details {
  margin-top: auto;
  border-block: 1px solid var(--line);
}
.extension summary {
  font-size: 0.92rem;
  padding: 14px 0;
}
.extension details p,
.faq details p {
  padding-bottom: 18px;
}
.store-link,
.inline-link,
.related a,
.dialog-links a,
.sources a,
.contact-box a,
.comparison td a {
  color: #2058bc;
  font-weight: 570;
}
.store-link {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 0.87rem;
  margin-top: 17px;
}
.store-link:hover,
.inline-link:hover,
.sources a:hover,
.dialog-links a:hover,
.related a:hover,
.comparison a:hover,
.contact-box a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.store-link .icon,
.comparison td a .icon,
.sources .icon {
  height: 14px;
  width: 14px;
}
.comparison-controls {
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 18px;
}
.search-field,
.select-field {
  background: white;
  border: 1px solid #bfcede;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  min-height: 44px;
}
.search-field {
  color: var(--muted);
}
.search-field:focus-within,
.select-field:focus-within {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.search-field input {
  width: 100%;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  padding: 9px 0;
  font-size: 0.96rem;
  color: var(--ink);
}
.search-field input::placeholder {
  color: #5f7084;
}
.comparison-controls .search-field {
  width: min(100%, 310px);
}
.select-field {
  position: relative;
  padding: 0;
}
.select-field select {
  appearance: none;
  background: transparent;
  border: 0;
  outline: none;
  padding: 10px 36px 10px 13px;
  width: 100%;
  font-size: 0.94rem;
}
.select-field .icon {
  width: 14px;
  position: absolute;
  right: 12px;
  pointer-events: none;
}
#compare-count {
  margin-left: auto;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.8rem;
}
.comparison {
  width: 100%;
  border-spacing: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  font-size: 0.91rem;
  line-height: 1.55;
  table-layout: fixed;
}
.comparison th,
.comparison td {
  text-align: left;
  vertical-align: top;
  padding: 14px 12px;
}
.comparison th {
  font-weight: 630;
}
.comparison thead {
  background: var(--mist);
}
.comparison thead th {
  font-size: 0.81rem;
}
.comparison tbody td {
  color: var(--text);
}
.comparison tbody td,
.comparison tbody th {
  border-top: 1px solid var(--line);
}
.comparison thead th:nth-child(5) {
  width: 22%;
}
.comparison thead th:last-child {
  width: 12%;
}
.empty {
  background: var(--mist);
  padding: 25px;
  text-align: center;
}
.empty p {
  margin: 6px 0 15px;
}
.habit-section {
  background: #eff8f7;
  border-block: 1px solid #d5e8e6;
}
.habits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 25px;
}
.habits article + article {
  border-left: 1px solid #cbdedc;
  padding-left: 25px;
}
.habits h3 {
  margin: 16px 0 10px;
}
.habits img {
  height: 72px;
  width: auto;
}
.guide-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
}
.guide-meta,
.article-topic {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.guide-meta {
  border-radius: 6px;
  background: var(--wash);
  padding: 5px 8px;
}
.guide-card h3 {
  font-size: 1.3rem;
  margin: 19px 0 10px;
}
.read-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-top: 19px;
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 600;
  color: #2058bc;
}
.faq-layout,
.about-strip {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 8%;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq details:first-child {
  border-top: 1px solid var(--line);
}
.faq summary {
  padding: 17px 2px;
}
.faq summary:hover,
.extension summary:hover {
  color: var(--blue);
}
.faq .icon {
  width: 16px;
}
.about-strip {
  padding-block: 56px;
}
.about-strip p {
  margin-bottom: 12px;
}
footer {
  background: #f6f9fc;
  border-top: 1px solid var(--line);
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr auto;
  align-items: start;
  gap: 30px;
  padding-block: 40px;
}
.foot-grid p {
  font-size: 0.92rem;
  margin-top: 14px;
}
.foot-grid h2 {
  font-size: 0.9rem;
  letter-spacing: 0;
  margin: 6px 0 14px;
}
.foot-grid > div > a:not(.brand) {
  display: table;
  margin: 6px 0;
  font-size: 0.9rem;
  color: var(--text);
}
.foot-grid > div > a:hover {
  color: var(--blue);
}
.top-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.83rem;
}
.fineprint {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-block: 16px;
  color: var(--muted);
  font-size: 0.78rem;
}
dialog {
  width: min(540px, calc(100% - 30px));
  max-height: 85vh;
  max-height: 85dvh;
  overflow: auto;
  overscroll-behavior: contain;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 18px 70px #132a4a30;
}
dialog::backdrop {
  background: #162a4660;
}
.dialog-body {
  padding: 32px;
  position: relative;
}
.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
}
.dialog-body > .icon-tile {
  margin-bottom: 20px;
}
.dialog-body h2 {
  font-size: 2rem;
  margin: 9px 0 23px;
  padding-right: 28px;
}
.dialog-body h3 {
  margin: 18px 0 8px;
}
.dialog-links {
  display: grid;
  gap: 9px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.search-status {
  font: 400 0.8rem var(--mono);
  margin: 17px 0 10px;
}
.search-results {
  list-style: none;
  margin: 0;
  padding: 0;
}
.search-results li + li {
  border-top: 1px solid var(--line);
}
.search-results a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 2px;
  font-size: 0.94rem;
}
.search-results a:hover {
  color: var(--blue);
}
.search-results small {
  font-size: 0.75rem;
  color: var(--muted);
}
.crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 28px;
}
.crumb a:hover,
.toc a:hover {
  color: var(--blue);
  text-decoration: underline;
}
.reader-intro .wrap {
  padding-block: 28px 44px;
}
.reader-intro h1 {
  font-size: clamp(2.45rem, 4.1vw, 3.8rem);
  letter-spacing: -0.06em;
  max-width: 900px;
  line-height: 1.06;
  margin: 13px 0 18px;
}
.reader-intro p {
  max-width: 760px;
  font-size: 1.1rem;
}
.article-topic {
  margin-top: 19px;
}
.reading-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 710px);
  gap: clamp(35px, 6vw, 95px);
  padding-block: 48px 65px;
}
.toc {
  align-self: start;
  border-left: 2px solid var(--line);
  padding-left: 17px;
  position: sticky;
  top: 25px;
}
.toc h2 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.075em;
  margin: 0 0 12px;
}
.toc a {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  padding: 5px 0;
}
.prose section + section {
  margin-top: 30px;
}
.prose h2 {
  font-size: 1.6rem;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.035em;
}
.prose p {
  line-height: 1.8;
}
.prose p + p {
  margin-top: 12px;
}
.prose .sources {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.sources ul {
  padding-left: 20px;
}
.sources li {
  margin: 7px 0;
}
.related {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 30px;
}
.related .kicker {
  margin-bottom: 5px;
}
.contact-box {
  display: flex;
  gap: 16px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  margin-bottom: 28px;
}
.contact-box > .icon {
  color: var(--blue);
  margin-top: 4px;
}
.contact-box a {
  overflow-wrap: anywhere;
}
.owner-line {
  margin-bottom: 24px;
}
@media (min-width: 1550px) {
  .hero-inner {
    padding-block: 64px;
  }
}
@media (max-width: 980px) {
  .mast-row {
    gap: 19px;
  }
  .primary-nav {
    gap: 17px;
  }
  .topics,
  .extensions,
  .guides {
    gap: 12px;
  }
  .extension,
  .guide-card {
    padding: 19px;
  }
  .hero h1 {
    font-size: clamp(2.8rem, 5.3vw, 3.55rem);
  }
  .workbench {
    padding: 0;
  }
  .comparison {
    font-size: 0.85rem;
  }
  .comparison th,
  .comparison td {
    padding: 11px 8px;
  }
  .habits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .habits article:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
  .ext-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }
}
@media (max-width: 790px) {
  .mast-row {
    min-height: 64px;
    flex-wrap: wrap;
    gap: 0;
  }
  .header-tools {
    margin-left: auto;
  }
  .enhanced .menu-toggle {
    display: flex;
  }
  .primary-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    padding-bottom: 8px;
  }
  .primary-nav a {
    padding: 8px 5px;
  }
  .enhanced .primary-nav {
    display: none;
  }
  .enhanced .primary-nav.open {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 12px 0;
    gap: 4px;
    border-top: 1px solid var(--line);
  }
  .primary-nav a[aria-current]::after {
    display: none;
  }
  .primary-nav a[aria-current] {
    background: #eff5ff;
    border-radius: 5px;
  }
  .topics,
  .guides {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .extensions {
    grid-template-columns: 1fr;
  }
  .ext-head {
    flex-direction: row;
    align-items: center;
  }
  .extensions .extension {
    padding: 24px;
  }
  .comparison thead {
    position: absolute;
    clip-path: inset(50%);
    width: 1px;
    height: 1px;
    overflow: hidden;
  }
  .comparison,
  .comparison tbody,
  .comparison tr {
    display: block;
  }
  .comparison {
    border: 0;
    overflow: visible;
  }
  .comparison tbody {
    display: grid;
    gap: 12px;
  }
  .comparison tr {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 14px;
  }
  .comparison tbody th {
    display: block;
    border: 0;
    font-size: 1.04rem;
    padding: 0 0 10px;
  }
  .comparison tbody td {
    display: grid;
    grid-template-columns: minmax(95px, 0.65fr) 1.35fr;
    gap: 12px;
    padding: 8px 0;
    font-size: 0.9rem;
  }
  .comparison td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--ink);
  }
  .reading-layout {
    grid-template-columns: 165px minmax(0, 1fr);
    gap: 27px;
  }
  .foot-grid {
    grid-template-columns: 1.5fr 1fr 1.2fr;
  }
  .top-link {
    grid-column: 1/-1;
  }
  .faq-layout,
  .about-strip {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .faq-layout .section-head {
    margin-bottom: 10px;
  }
}
@media (max-width: 650px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .hero-inner {
    grid-template-columns: 1fr;
    padding-block: 35px 22px;
    gap: 18px;
  }
  .hero h1 {
    font-size: clamp(2.65rem, 8.5vw, 3.5rem);
    margin: 17px 0;
  }
  .hero h1 br {
    display: none;
  }
  .hero-copy {
    max-width: 540px;
  }
  .hero .kicker {
    font-size: 0.72rem;
  }
  .hero-copy > p {
    font-size: 1rem;
  }
  .actions {
    margin-top: 20px;
    gap: 9px;
  }
  .actions .btn {
    gap: 6px;
    padding-inline: 10px;
    font-size: 0.86rem;
  }
  .btn {
    padding: 10px 13px;
  }
  .workbench {
    width: min(100%, 350px);
    margin: auto;
  }
  .workbench figcaption {
    margin-top: 2px;
    gap: 15px;
  }
  .hero {
    background-size:
      auto,
      24px 24px,
      24px 24px;
  }
  .section-head {
    gap: 10px;
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 20px;
  }
  .section-count {
    display: none;
  }
  .topics,
  .guides {
    gap: 12px;
  }
  .topic-link,
  .guide-card {
    padding: 18px;
  }
  .block {
    padding-block: 36px;
  }
  .topic h3 {
    margin-top: 13px;
  }
  .toc {
    position: static;
  }
  .reading-layout {
    grid-template-columns: 1fr;
    padding-block: 26px 42px;
  }
  .reader-intro .wrap {
    padding-block: 20px 28px;
  }
  .crumb {
    margin-bottom: 21px;
  }
  .fineprint {
    flex-direction: column;
    gap: 4px;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 23px;
  }
  .foot-grid > div:first-child {
    grid-column: 1/-1;
  }
  .about-strip {
    padding-block: 36px;
  }
  .guide-card h3 {
    font-size: 1.15rem;
  }
}
@media (max-width: 480px) {
  .topics,
  .guides {
    grid-template-columns: 1fr;
  }
  .topic-link {
    padding: 18px 36px 18px 78px;
    min-height: 106px;
  }
  .topic-link > .icon-tile {
    position: absolute;
    top: 20px;
    left: 19px;
  }
  .topic h3 {
    margin: 0 0 6px;
    font-size: 1.12rem;
  }
  .topic-plus {
    right: 14px;
    top: 19px;
  }
  .habits {
    gap: 20px;
    grid-template-columns: 1fr;
  }
  .habits article,
  .habits article + article {
    position: relative;
    padding: 0 0 17px 80px;
    border: 0;
    border-bottom: 1px solid #cbdedc;
    min-height: 86px;
  }
  .habits article:nth-child(3) {
    padding-left: 80px;
  }
  .habits img {
    position: absolute;
    left: 0;
    top: 0;
    width: 66px;
    height: auto;
  }
  .habits h3 {
    margin-top: 0;
  }
  .comparison-controls {
    gap: 9px;
  }
  .comparison-controls .search-field {
    width: 100%;
  }
  .select-field {
    max-width: 100%;
  }
  .dialog-body {
    padding: 24px;
  }
  .dialog-close {
    top: 12px;
    right: 12px;
  }
  .workbench {
    max-width: 285px;
  }
}
@media (max-width: 360px) {
  .wrap {
    width: calc(100% - 28px);
  }
  .actions .btn {
    font-size: 0.83rem;
    gap: 6px;
    padding: 10px;
  }
  .actions .icon {
    display: none;
  }
  .brand {
    font-size: 1.24rem;
  }
  .header-tools {
    gap: 5px;
  }
  .comparison-controls #compare-count {
    margin-left: 0;
  }
  .dialog-body {
    padding: 18px;
  }
  .search-results a {
    align-items: flex-start;
    flex-direction: column;
    gap: 1px;
  }
  .topic-link {
    padding-left: 68px;
  }
  .topic-link > .icon-tile {
    left: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
