:root {
  --bg: #071017;
  --panel: rgba(18, 31, 43, 0.86);
  --panel-strong: rgba(76, 25, 31, 0.58);
  --line: rgba(194, 225, 242, 0.15);
  --line-red: rgba(255, 91, 83, 0.34);
  --text: #f7fbfd;
  --muted: rgba(224, 238, 245, 0.72);
  --faint: rgba(210, 228, 237, 0.48);
  --red: #ff5b53;
  --red-dark: #bc2832;
  --amber: #f4d27a;
  --cyan: #76d8f5;
  --radius: 26px;
  --wrap: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  background:
    radial-gradient(950px 600px at 8% -8%, rgba(255, 91, 83, 0.22), transparent 62%),
    radial-gradient(840px 540px at 96% 16%, rgba(118, 216, 245, 0.13), transparent 65%),
    linear-gradient(180deg, #071017 0%, #0b151d 48%, #070d13 100%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  text-underline-offset: 3px;
}

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

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(12, 16, 26, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin: 0 auto;
  min-height: 102px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: underline;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a,
.menu-toggle,
.pill-btn {
  position: relative;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.nav-links a.active {
  background: linear-gradient(180deg, rgba(196, 24, 26, 0.34), rgba(82, 15, 19, 0.38));
  border-color: rgba(255, 61, 72, 0.7);
  box-shadow:
    inset 0 0 0 1px rgba(255, 61, 72, 0.18),
    0 0 0 3px rgba(196, 24, 26, 0.16),
    0 0 28px rgba(196, 24, 26, 0.28);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(255, 52, 65, 0.54);
  border-radius: 16px;
  pointer-events: none;
}

.header-cta {
  margin-left: auto;
  min-width: 260px;
  min-height: 48px;
  border-radius: 999px;
  background: linear-gradient(180deg, #a80019, #850014);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 44px rgba(196, 24, 26, 0.24);
}

.menu-toggle {
  display: none;
  width: 48px;
  padding: 0;
  font-size: 22px;
  cursor: pointer;
}

main {
  padding-top: 124px;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.78fr;
  gap: 18px;
  align-items: stretch;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    radial-gradient(720px 420px at 6% 0%, rgba(196, 24, 26, 0.18), transparent 62%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02), 0 24px 70px rgba(0, 0, 0, 0.22);
}

.hero-card {
  padding: 20px;
}

.hero-media {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #020304;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 10.5;
  object-fit: cover;
  filter: brightness(0.92) saturate(1.2);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin: 16px 0 10px;
  font-size: clamp(2rem, 4vw, 2.22rem);
  line-height: 1.15;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 2.6vw, 1.65rem);
  line-height: 1.2;
}

h3 {
  margin-bottom: 6px;
  font-size: 1.22rem;
  line-height: 1.28;
}

p,
li {
  color: var(--muted);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}

.red-btn {
  min-height: 52px;
  min-width: 158px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #d00020, #950016);
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(190, 0, 28, 0.3);
}

.small-note {
  margin: 12px 0 0;
  color: var(--faint);
}

.facts {
  min-height: 100%;
  padding: 34px 18px;
  background:
    radial-gradient(760px 520px at 30% 0%, rgba(196, 24, 26, 0.17), transparent 56%),
    linear-gradient(180deg, rgba(70, 17, 17, 0.34), rgba(255, 255, 255, 0.02));
}

.facts-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--faint);
  text-transform: uppercase;
  font-size: 0.83rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.facts h2 {
  margin-top: 28px;
}

.facts ul {
  padding-left: 20px;
}

.section {
  margin-top: 18px;
  padding: 18px;
}

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

.feature-card {
  min-height: 210px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.feature-card.with-image {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 18px;
  align-items: center;
}

.app-icon-frame {
  min-height: 220px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.16));
  overflow: hidden;
}

.app-icon-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.step,
.issue,
.resource-link {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.num {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 50%;
  background: rgba(196, 24, 26, 0.18);
  border: 1px solid rgba(196, 24, 26, 0.38);
  font-weight: 900;
}

.issue-grid,
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.resource-link {
  min-height: 84px;
  display: flex;
  align-items: center;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.article-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.article-card {
  color: inherit;
  text-decoration: none;
}

.article-card h2 {
  font-size: 1.18rem;
}

.article-card strong {
  color: #fff;
}

.faq {
  overflow: hidden;
  padding: 0;
}

.faq-item + .faq-item {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-q {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border: 0;
  background: transparent;
  color: #fff;
  text-align: left;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.faq-a {
  display: none;
  padding: 0 18px 18px;
  color: var(--muted);
}

.faq-item.open .faq-a {
  display: block;
}

.faq-item.open .faq-icon {
  background: rgba(196, 24, 26, 0.28);
}

.site-footer {
  padding: 26px 0 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.5fr;
  gap: 18px;
}

.footer-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.035);
}

.footer-card h3 {
  margin-top: 0;
}

.footer-card a {
  display: block;
  margin: 8px 0;
  color: var(--muted);
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  color: var(--faint);
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badges span {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-weight: 800;
  font-size: 0.86rem;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
}

.modal-backdrop.show {
  display: grid;
}

.modal {
  width: min(554px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 22px;
  background: rgba(10, 14, 22, 0.93);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.modal-top {
  position: relative;
  padding: 18px 58px 12px 18px;
}

.modal-top h2 {
  margin-bottom: 8px;
  font-size: 1.18rem;
}

.close-modal {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.modal-actions {
  display: flex;
  gap: 12px;
  padding: 16px 18px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ghost-btn {
  min-height: 46px;
  padding: 10px 22px;
  border: 1px solid rgba(196, 24, 26, 0.44);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.68);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.page-hero {
  min-height: 360px;
  display: grid;
  align-items: end;
  padding: 54px 28px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.6)),
    url("hero.jpg") center / cover;
}

.page-hero h1 {
  max-width: 760px;
  font-size: clamp(2.4rem, 7vw, 4.4rem);
}

.page-copy {
  padding: 24px;
}

.blog-head {
  padding: 52px 0 28px;
  text-align: center;
}

.blog-head h1 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.blog-head p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.blog-list {
  margin-top: 22px;
  margin-bottom: 28px;
}

.blog-list .article-list {
  width: 100%;
  margin: 0;
}

.subpage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.82fr);
  gap: 18px;
  align-items: stretch;
}

.subpage-primary,
.subpage-side,
.simple-page {
  padding: 18px;
}

.subpage-media {
  overflow: hidden;
  border-radius: 18px;
  background: #f3f3f0;
}

.subpage-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.subpage-primary h1 {
  margin-top: 14px;
  font-size: clamp(2rem, 3.8vw, 2.55rem);
}

.subpage-side {
  min-height: 100%;
  background:
    radial-gradient(760px 520px at 20% 0%, rgba(196, 24, 26, 0.18), transparent 56%),
    linear-gradient(180deg, rgba(70, 17, 17, 0.42), rgba(255, 255, 255, 0.02));
}

.quiet-side h2 {
  margin-bottom: 4px;
  font-size: 1.28rem;
}

.mini-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.mini-facts div {
  min-height: 132px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.78);
}

.side-rule {
  height: 1px;
  margin: 22px 0;
  background: rgba(255, 255, 255, 0.08);
}

.subpage-section {
  margin-top: 18px;
}

.simple-page {
  margin-top: 28px;
}

.simple-page h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.article-detail {
  margin-top: 28px;
  padding: 28px;
}

.article-detail h1 {
  max-width: 980px;
  font-size: clamp(2.35rem, 5vw, 4rem);
}

.article-detail > p:not(.small-note) {
  max-width: 920px;
  font-size: 1.05rem;
}

.article-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.article-section {
  min-height: 0;
}

.article-section-media {
  overflow: hidden;
  margin-bottom: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.article-section-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-section ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.article-block {
  margin-top: 18px;
}

@media (max-width: 980px) {
  .nav-wrap {
    min-height: 104px;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 20px;
    right: 20px;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(9, 11, 15, 0.96);
  }

  .nav-links.open {
    display: grid;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-cta {
    min-width: 0;
    flex: 1 1 auto;
  }

  .hero-grid,
  .subpage-grid,
  .article-detail-grid,
  .feature-grid,
  .feature-card.with-image,
  .issue-grid,
  .resource-grid,
  .article-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .mini-facts {
    grid-template-columns: 1fr;
  }

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

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

  .nav-wrap,
  .wrap {
    width: calc(100% - 36px);
  }

  .brand {
    max-width: 145px;
    min-height: 70px;
    align-items: center;
  }

  .brand span {
    white-space: normal;
    line-height: 1.25;
  }

  .header-cta {
    min-height: 48px;
    padding-inline: 18px;
    font-size: 0.9rem;
  }

  main {
    padding-top: 122px;
  }

  .hero-card,
  .section,
  .facts {
    padding: 18px;
  }

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

  .modal-backdrop {
    align-items: center;
    padding: 18px;
  }

  .modal-actions {
    align-items: center;
  }

  .modal-actions .red-btn {
    flex: 1 1 auto;
    min-width: 0;
  }

  .ghost-btn {
    padding-inline: 18px;
  }
}

/* IM7 editorial refresh */

::selection {
  color: #071017;
  background: var(--amber);
}

body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  pointer-events: none;
}

a,
button {
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.site-header {
  background: rgba(7, 16, 23, 0.84);
  border-bottom-color: rgba(194, 225, 242, 0.1);
  backdrop-filter: blur(20px) saturate(140%);
}

.nav-wrap {
  min-height: 86px;
}

.brand {
  min-height: 54px;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.055);
  text-decoration: none;
}

.brand:hover {
  border-color: rgba(118, 216, 245, 0.42);
  transform: translateY(-1px);
}

.brand img {
  width: 38px;
  height: 38px;
}

.nav-links {
  gap: 5px;
}

.nav-links a,
.menu-toggle,
.pill-btn {
  min-height: 44px;
  padding: 8px 11px;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  font-size: 0.91rem;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(194, 225, 242, 0.24);
}

.nav-links a.active {
  background: linear-gradient(135deg, rgba(255, 91, 83, 0.24), rgba(118, 216, 245, 0.1));
  border-color: rgba(255, 118, 108, 0.65);
  box-shadow:
    inset 0 0 0 1px rgba(255, 118, 108, 0.12),
    0 0 0 3px rgba(255, 91, 83, 0.08),
    0 0 24px rgba(255, 91, 83, 0.14);
}

.nav-links a.active::after {
  display: none;
}

.header-cta {
  min-width: 190px;
  min-height: 46px;
  background: linear-gradient(135deg, #ff6258, #b92635);
  box-shadow: 0 14px 38px rgba(255, 91, 83, 0.2);
}

.header-cta:hover,
.red-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(255, 91, 83, 0.32);
}

main {
  padding-top: 112px;
  padding-bottom: 16px;
}

.hero-grid,
.subpage-grid {
  grid-template-columns: minmax(0, 1.28fr) minmax(330px, 0.72fr);
  gap: 22px;
}

.card {
  border-color: rgba(194, 225, 242, 0.15);
  background:
    linear-gradient(155deg, rgba(21, 37, 50, 0.94), rgba(10, 21, 30, 0.9)),
    radial-gradient(720px 420px at 6% 0%, rgba(255, 91, 83, 0.14), transparent 62%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.025),
    0 26px 70px rgba(0, 0, 0, 0.24);
}

.hero-card,
.subpage-primary,
.subpage-side,
.simple-page {
  padding: 26px;
}

.hero-media,
.subpage-media {
  border-radius: 20px;
}

.hero-media img,
.subpage-media img {
  aspect-ratio: 16 / 8.8;
}

.hero-media img,
.subpage-media img,
.article-section-media img {
  transition: transform 500ms ease, filter 500ms ease;
}

.hero-card:hover .hero-media img,
.subpage-primary:hover .subpage-media img,
.article-section:hover .article-section-media img {
  transform: scale(1.018);
  filter: brightness(0.98) saturate(1.12);
}

h1 {
  margin: 18px 0 14px;
  font-size: clamp(2.65rem, 5.8vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(1.42rem, 2.6vw, 1.9rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.hero-card > p:not(.eyebrow, .small-note),
.subpage-primary > p:not(.eyebrow, .small-note),
.simple-page > p:not(.eyebrow) {
  max-width: 74ch;
  font-size: 1.02rem;
}

.hero-card p a,
.subpage-primary p a,
.feature-card p a {
  color: #ffffff;
  text-decoration-color: rgba(118, 216, 245, 0.72);
}

.eyebrow,
.footer-kicker,
.card-index,
.article-number {
  margin: 0 0 10px;
  color: var(--amber);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  line-height: 1.25;
  text-transform: uppercase;
}

.hero-card > .eyebrow,
.subpage-primary > .eyebrow {
  margin-bottom: 16px;
}

.red-btn {
  background: linear-gradient(135deg, #ff6258, #bd2835);
  box-shadow: 0 14px 34px rgba(255, 91, 83, 0.24);
}

.facts,
.subpage-side {
  background:
    radial-gradient(760px 520px at 30% 0%, rgba(118, 216, 245, 0.14), transparent 56%),
    linear-gradient(180deg, rgba(28, 48, 62, 0.82), rgba(10, 21, 30, 0.94));
}

.facts {
  padding: 34px 26px;
}

.facts .text-link {
  display: inline-flex;
  margin-top: 18px;
  color: #fff;
  font-weight: 850;
  text-decoration: none;
}

.facts .text-link:hover {
  color: var(--cyan);
}

.facts li::marker,
.article-section li::marker,
.issue li::marker,
.subpage-side li::marker {
  color: var(--red);
}

.section {
  margin-top: 22px;
  padding: 26px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: 10px 28px;
  align-items: end;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(194, 225, 242, 0.11);
}

.section-heading .eyebrow {
  grid-column: 1;
  align-self: start;
}

.section-heading h2 {
  grid-column: 2;
  margin: 0;
}

.section-heading > p:not(.eyebrow) {
  grid-column: 2;
  margin: 0;
}

.feature-grid {
  gap: 16px;
}

.feature-card,
.step,
.issue,
.resource-link {
  border-color: rgba(194, 225, 242, 0.14);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.024));
}

.feature-card {
  min-height: 0;
  padding: 22px;
}

.feature-card:hover,
.resource-link:hover,
.article-card:hover {
  border-color: rgba(118, 216, 245, 0.38);
  transform: translateY(-2px);
}

.card-index,
.article-number {
  display: inline-flex;
  color: var(--cyan);
}

.feature-card.with-image {
  grid-column: 1 / -1;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
}

.steps {
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
}

.num {
  color: #fff;
  background: rgba(255, 91, 83, 0.16);
  border-color: rgba(255, 118, 108, 0.4);
}

.resource-link {
  position: relative;
  min-height: 106px;
  padding-right: 48px;
}

.resource-link::after {
  content: "↗";
  position: absolute;
  right: 20px;
  color: var(--cyan);
}

.blog-head {
  max-width: 920px;
  padding-top: 72px;
}

.blog-head h1 {
  margin-top: 12px;
}

.blog-head p:not(.eyebrow) {
  max-width: 760px;
  margin-inline: auto;
}

.article-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.article-card {
  position: relative;
  min-height: 270px;
  overflow: hidden;
}

.article-card::before {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: -80px;
  bottom: -90px;
  border: 1px solid rgba(118, 216, 245, 0.15);
  border-radius: 50%;
  box-shadow: 0 0 0 30px rgba(118, 216, 245, 0.025);
}

.article-card h2 {
  max-width: 19ch;
  font-size: clamp(1.3rem, 2.3vw, 1.75rem);
}

.article-card strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--cyan);
}

.article-detail-grid {
  gap: 16px;
}

.article-section {
  padding: 22px;
}

.article-section p,
.article-section li {
  max-width: 72ch;
}

.article-section-media {
  margin: -6px -6px 18px;
  border-radius: 16px;
}

.subpage-primary h1 {
  margin-top: 18px;
  font-size: clamp(2.45rem, 5vw, 4.6rem);
}

.mini-facts {
  grid-template-columns: 1fr;
}

.mini-facts div {
  min-height: 0;
}

.simple-page {
  margin-top: 10px;
}

.simple-page h1 {
  max-width: 900px;
  font-size: clamp(2.5rem, 6vw, 5rem);
}

.policy-rule {
  height: 1px;
  margin: 30px 0;
  background: linear-gradient(90deg, var(--red), rgba(118, 216, 245, 0.5), transparent);
}

.site-footer {
  padding-top: 34px;
}

.footer-grid {
  grid-template-columns: 1.35fr 1fr 0.9fr 1.2fr;
}

.footer-card:first-child {
  background:
    radial-gradient(500px 260px at 0% 0%, rgba(255, 91, 83, 0.17), transparent 70%),
    rgba(255, 255, 255, 0.035);
}

.footer-card a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 18px;
  border-top: 1px solid rgba(194, 225, 242, 0.1);
}

.modal {
  background:
    radial-gradient(460px 220px at 0% 0%, rgba(255, 91, 83, 0.18), transparent 68%),
    rgba(8, 18, 26, 0.97);
}

@media (max-width: 1100px) {
  .nav-links a {
    padding-inline: 9px;
    font-size: 0.84rem;
  }

  .header-cta {
    min-width: 158px;
  }
}

@media (max-width: 980px) {
  .nav-wrap {
    min-height: 84px;
  }

  .nav-links {
    top: calc(100% + 1px);
    background: rgba(7, 16, 23, 0.98);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  }

  .nav-links a {
    min-height: 48px;
    border-radius: 14px;
    font-size: 0.95rem;
  }

  .hero-grid,
  .subpage-grid,
  .feature-grid,
  .feature-card.with-image,
  .issue-grid,
  .resource-grid,
  .article-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-card.with-image {
    grid-column: auto;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .section-heading .eyebrow,
  .section-heading h2,
  .section-heading > p:not(.eyebrow) {
    grid-column: 1;
  }
}

@media (max-width: 640px) {
  body::before {
    background-size: 44px 44px;
  }

  .nav-wrap,
  .wrap {
    width: calc(100% - 28px);
  }

  .brand {
    min-height: 50px;
  }

  .brand span {
    white-space: nowrap;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.055);
  }

  main {
    padding-top: 102px;
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 3.8rem);
  }

  .hero-card,
  .facts,
  .section,
  .subpage-primary,
  .subpage-side,
  .simple-page {
    padding: 18px;
  }

  .hero-media img,
  .subpage-media img {
    aspect-ratio: 16 / 10.5;
  }

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

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

  .modal-actions {
    flex-direction: column;
  }

  .modal-actions .red-btn,
  .modal-actions .ghost-btn {
    width: 100%;
  }
}

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

/* IM7 mobile resource desk */
:root {
  --bg: #08051b;
  --panel: rgba(20, 13, 48, 0.9);
  --panel-strong: rgba(42, 20, 84, 0.86);
  --line: rgba(189, 163, 255, 0.18);
  --line-red: rgba(170, 91, 255, 0.42);
  --text: #fbfaff;
  --muted: rgba(234, 229, 251, 0.76);
  --faint: rgba(218, 208, 246, 0.55);
  --red: #a85cff;
  --red-dark: #6f27c7;
  --amber: #ffc247;
  --cyan: #78e5dd;
  --radius: 28px;
  --wrap: 1280px;
}

html {
  color-scheme: dark;
}

body {
  background:
    radial-gradient(880px 620px at 8% -4%, rgba(142, 67, 255, 0.25), transparent 64%),
    radial-gradient(720px 500px at 94% 12%, rgba(255, 194, 71, 0.11), transparent 62%),
    radial-gradient(920px 640px at 52% 112%, rgba(57, 217, 207, 0.09), transparent 66%),
    linear-gradient(180deg, #08051b 0%, #0e0924 44%, #070513 100%);
}

body::before {
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(187, 160, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(187, 160, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 12%, #000 0 28%, transparent 76%);
}

::selection {
  color: #12072a;
  background: var(--amber);
}

.site-header {
  background: rgba(8, 5, 27, 0.83);
  border-bottom-color: rgba(189, 163, 255, 0.12);
}

.nav-wrap {
  min-height: 88px;
}

.brand {
  min-width: 108px;
  padding: 7px 14px 7px 8px;
  border-color: rgba(189, 163, 255, 0.22);
  background: linear-gradient(145deg, rgba(163, 91, 255, 0.15), rgba(255, 194, 71, 0.06));
  letter-spacing: 0.04em;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.brand:hover {
  border-color: rgba(255, 194, 71, 0.5);
}

.nav-links a,
.menu-toggle,
.pill-btn {
  border-color: transparent;
}

.nav-links a:hover {
  background: rgba(172, 99, 255, 0.1);
  border-color: rgba(189, 163, 255, 0.2);
}

.nav-links a.active {
  color: #fff;
  background: rgba(172, 99, 255, 0.16);
  border-color: rgba(187, 132, 255, 0.62);
  box-shadow: inset 0 -2px 0 rgba(255, 194, 71, 0.76);
}

.header-cta,
.red-btn {
  color: #18082f;
  background: linear-gradient(135deg, #ffc955, #ffad24);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 38px rgba(255, 174, 36, 0.18);
}

.header-cta:hover,
.red-btn:hover {
  color: #18082f;
  box-shadow: 0 20px 44px rgba(255, 174, 36, 0.27);
}

main {
  padding-top: 116px;
}

.card {
  border-color: rgba(189, 163, 255, 0.18);
  background:
    linear-gradient(150deg, rgba(27, 18, 61, 0.95), rgba(13, 9, 35, 0.91)),
    radial-gradient(680px 360px at 0% 0%, rgba(170, 91, 255, 0.14), transparent 62%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.025),
    0 28px 78px rgba(1, 0, 12, 0.32);
}

.eyebrow,
.footer-kicker,
.card-index,
.article-number,
.article-section-label,
.issue-tag {
  color: var(--amber);
}

.quiet-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: #f8f4ff;
  font-weight: 850;
  text-decoration: none;
}

.quiet-link:hover {
  color: var(--amber);
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(360px, 0.78fr);
  gap: 22px;
  align-items: stretch;
}

.home-hero-copy {
  padding: clamp(28px, 4.5vw, 58px);
}

.home-hero-copy h1 {
  max-width: 850px;
  margin: 22px 0 22px;
  font-size: clamp(3.35rem, 7.5vw, 7rem);
  line-height: 0.88;
}

.home-hero-copy h1 span {
  color: transparent;
  background: linear-gradient(100deg, #b275ff, #ffc247 85%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-deck {
  max-width: 650px;
  color: #fff;
  font-size: clamp(1.22rem, 2.4vw, 1.58rem) !important;
  line-height: 1.42;
}

.home-hero-copy > p:not(.eyebrow, .small-note) {
  max-width: 72ch;
}

.home-hero-visual {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 650px;
  padding: 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 32%, rgba(176, 93, 255, 0.28), transparent 38%),
    linear-gradient(160deg, rgba(32, 17, 76, 0.98), rgba(8, 6, 26, 0.96));
}

.home-visual-media {
  margin-bottom: auto;
  border-color: rgba(189, 163, 255, 0.2);
}

.home-visual-media img {
  width: 100%;
  aspect-ratio: 16 / 10.5;
  object-fit: cover;
}

.brand-orbit {
  position: relative;
  display: grid;
  flex: 1;
  place-items: center;
  min-height: 390px;
}

.brand-orbit::before,
.brand-orbit::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 24px rgba(255, 194, 71, 0.78);
}

.brand-orbit::before {
  top: 18%;
  right: 18%;
}

.brand-orbit::after {
  bottom: 17%;
  left: 12%;
  background: var(--cyan);
}

.brand-orbit img {
  position: relative;
  z-index: 2;
  width: min(66%, 255px);
  aspect-ratio: 1;
  border-radius: 30%;
  filter: drop-shadow(0 28px 56px rgba(0, 0, 0, 0.36));
}

.orbit-ring {
  position: absolute;
  border: 1px solid rgba(190, 143, 255, 0.35);
  border-radius: 50%;
}

.orbit-one {
  width: 80%;
  aspect-ratio: 1;
  transform: rotate(18deg) scaleY(0.52);
}

.orbit-two {
  width: 58%;
  aspect-ratio: 1;
  border-color: rgba(255, 194, 71, 0.4);
  transform: rotate(-35deg) scaleY(0.58);
}

.hero-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.hero-stat-row span {
  padding: 14px;
  border: 1px solid rgba(189, 163, 255, 0.16);
  border-radius: 16px;
  color: var(--faint);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-stat-row strong {
  display: block;
  margin-bottom: 3px;
  color: #fff;
  font-size: 1.55rem;
  line-height: 1;
}

.home-hero-visual > p {
  margin: 0;
  font-size: 0.92rem;
}

.home-intro-strip {
  display: grid;
  grid-template-columns: 0.45fr repeat(3, 1fr);
  gap: 1px;
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid rgba(189, 163, 255, 0.16);
  border-radius: 22px;
  background: rgba(189, 163, 255, 0.16);
}

.home-intro-strip > p,
.home-intro-strip > div {
  margin: 0;
  padding: 20px;
  background: rgba(15, 10, 38, 0.96);
}

.home-intro-strip > p {
  display: grid;
  place-items: center;
  color: var(--amber);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-intro-strip strong,
.home-intro-strip span {
  display: block;
}

.home-intro-strip strong {
  margin-bottom: 5px;
  color: #fff;
}

.home-intro-strip span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.home-feature-section {
  margin-top: 28px;
}

.home-feature-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.home-feature-grid .feature-card {
  grid-column: span 4;
  min-height: 270px;
}

.home-feature-grid .feature-lead {
  grid-column: span 8;
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: 26px;
  align-items: end;
  background:
    radial-gradient(480px 300px at 5% 0%, rgba(255, 194, 71, 0.11), transparent 65%),
    linear-gradient(145deg, rgba(93, 42, 160, 0.48), rgba(255, 255, 255, 0.025));
}

.feature-mark {
  color: rgba(255, 255, 255, 0.12);
  font-size: clamp(5rem, 10vw, 9rem);
  font-weight: 950;
  line-height: 0.75;
  letter-spacing: -0.08em;
}

.home-feature-grid a {
  color: var(--cyan);
  font-weight: 850;
  text-decoration: none;
}

.home-feature-grid a:hover {
  color: var(--amber);
}

.home-process {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 44px;
  margin-top: 74px;
  margin-bottom: 74px;
}

.home-process-heading {
  align-self: start;
  position: sticky;
  top: 120px;
}

.home-process-heading h2 {
  max-width: 12ch;
  margin-top: 18px;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 0.96;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(189, 163, 255, 0.18);
}

.process-list li {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid rgba(189, 163, 255, 0.18);
}

.process-list li > span {
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.process-list h3 {
  margin-bottom: 7px;
  font-size: 1.45rem;
}

.process-list p {
  max-width: 62ch;
  margin: 0;
}

.issue-tag,
.article-section-label {
  display: inline-flex;
  margin-bottom: 14px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.diagnosis-section .issue {
  min-height: 290px;
}

.main-resource-hero,
.article-hero {
  grid-template-columns: minmax(0, 1.42fr) minmax(330px, 0.58fr);
}

.resource-copy,
.article-lead {
  padding: clamp(28px, 4vw, 52px);
}

.resource-copy h1,
.article-lead h1 {
  max-width: 980px;
  font-size: clamp(3.05rem, 6.3vw, 6rem);
  line-height: 0.92;
}

.intro-rule {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 28px 0 20px;
}

.intro-rule span {
  width: 82px;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), var(--red));
}

.intro-rule strong {
  color: var(--faint);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.resource-side,
.article-aside {
  padding: 24px;
  background:
    radial-gradient(520px 360px at 50% 0%, rgba(171, 91, 255, 0.2), transparent 58%),
    linear-gradient(180deg, rgba(30, 18, 70, 0.96), rgba(10, 7, 27, 0.96));
}

.resource-brand-card {
  display: grid;
  place-items: center;
  min-height: 245px;
  margin-bottom: 26px;
  padding: 24px;
  border: 1px solid rgba(189, 163, 255, 0.18);
  border-radius: 22px;
  background: rgba(9, 6, 27, 0.55);
}

.resource-brand-card img {
  width: min(66%, 165px);
  border-radius: 26%;
}

.resource-brand-card span {
  margin-top: 18px;
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.resource-brand-label {
  display: flex;
  align-items: center;
  min-height: 74px;
  margin-bottom: 26px;
  padding: 20px;
  border: 1px solid rgba(189, 163, 255, 0.18);
  border-radius: 18px;
  background: rgba(9, 6, 27, 0.55);
}

.resource-brand-label span {
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.resource-topic {
  position: relative;
  padding-top: 58px;
}

.resource-topic > span {
  position: absolute;
  top: 18px;
  right: 22px;
  color: rgba(255, 255, 255, 0.16);
  font-size: 2.4rem;
  font-weight: 950;
}

.side-caption {
  color: var(--faint);
  font-size: 0.86rem;
}

.policy-page {
  padding-top: 8px;
}

.policy-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(230px, 0.65fr);
  gap: 42px;
  align-items: end;
  padding: clamp(28px, 5vw, 66px);
}

.policy-hero h1 {
  max-width: 980px;
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: 0.9;
}

.policy-hero aside {
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 28px;
  border: 1px solid rgba(189, 163, 255, 0.18);
  border-radius: 24px;
  background: rgba(9, 6, 27, 0.55);
}

.policy-hero aside img {
  width: min(70%, 165px);
  border-radius: 26%;
}

.policy-hero aside strong {
  color: transparent;
  font-size: clamp(4.4rem, 9vw, 7.2rem);
  font-weight: 950;
  line-height: 0.8;
  letter-spacing: -0.08em;
  background: linear-gradient(135deg, #fff 10%, #a75cff 52%, #ffc247 86%);
  background-clip: text;
  -webkit-background-clip: text;
}

.policy-hero aside span {
  margin-top: 18px;
  color: var(--faint);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.policy-list {
  border-top: 1px solid rgba(189, 163, 255, 0.18);
}

.policy-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 34px;
  padding: 38px 0;
  border-bottom: 1px solid rgba(189, 163, 255, 0.18);
}

.policy-row > span {
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.policy-row h2 {
  margin-bottom: 8px;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
}

.policy-row p {
  max-width: 78ch;
  margin: 0;
}

.blog-head {
  max-width: none;
  padding-top: 64px;
  text-align: left;
}

.blog-head h1 {
  max-width: 980px;
  font-size: clamp(3.5rem, 8vw, 7.6rem);
  line-height: 0.88;
}

.blog-head p:not(.eyebrow) {
  max-width: 760px;
  margin-inline: 0;
  font-size: 1.12rem;
}

.library-ruler {
  display: flex;
  justify-content: space-between;
  margin: 46px 0 18px;
  padding: 12px 0;
  border-top: 1px solid rgba(189, 163, 255, 0.2);
  border-bottom: 1px solid rgba(189, 163, 255, 0.2);
  color: var(--faint);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.article-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.article-card {
  min-height: 320px;
  padding: 24px;
}

.article-card:nth-child(6n + 1),
.article-card:nth-child(6n + 5) {
  background:
    radial-gradient(420px 260px at 0% 0%, rgba(255, 194, 71, 0.1), transparent 64%),
    linear-gradient(145deg, rgba(106, 54, 166, 0.38), rgba(255, 255, 255, 0.024));
}

.article-card h2 {
  max-width: 22ch;
}

.article-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-section {
  position: relative;
  min-height: 100%;
  padding: 26px;
}

.article-section:nth-child(3n) {
  background:
    radial-gradient(420px 240px at 100% 0%, rgba(120, 229, 221, 0.08), transparent 66%),
    rgba(255, 255, 255, 0.035);
}

.facts,
.subpage-side {
  background:
    radial-gradient(760px 520px at 30% 0%, rgba(168, 92, 255, 0.16), transparent 56%),
    linear-gradient(180deg, rgba(31, 19, 71, 0.88), rgba(10, 7, 27, 0.96));
}

.feature-card,
.step,
.issue,
.resource-link {
  border-color: rgba(189, 163, 255, 0.16);
  background: linear-gradient(145deg, rgba(183, 128, 255, 0.07), rgba(255, 255, 255, 0.02));
}

.feature-card:hover,
.resource-link:hover,
.article-card:hover {
  border-color: rgba(255, 194, 71, 0.42);
}

.num {
  background: rgba(168, 92, 255, 0.18);
  border-color: rgba(189, 139, 255, 0.42);
}

.resource-link::after {
  color: var(--amber);
}

.site-footer {
  margin-top: 70px;
  border-top-color: rgba(189, 163, 255, 0.16);
}

.footer-card:first-child {
  background:
    radial-gradient(500px 260px at 0% 0%, rgba(168, 92, 255, 0.2), transparent 70%),
    rgba(255, 255, 255, 0.035);
}

.modal {
  background:
    radial-gradient(460px 220px at 0% 0%, rgba(168, 92, 255, 0.23), transparent 68%),
    rgba(12, 8, 32, 0.98);
}

@media (max-width: 1080px) {
  .home-hero,
  .main-resource-hero,
  .article-hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(290px, 0.8fr);
  }

  .home-hero-visual {
    min-height: 580px;
  }

  .home-feature-grid .feature-card,
  .home-feature-grid .feature-lead {
    grid-column: span 6;
  }

  .article-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .home-hero,
  .main-resource-hero,
  .article-hero,
  .home-process,
  .policy-hero {
    grid-template-columns: 1fr;
  }

  .home-hero-visual {
    min-height: 520px;
  }

  .home-intro-strip {
    grid-template-columns: 1fr;
  }

  .home-intro-strip > p {
    place-items: start;
  }

  .home-process-heading {
    position: static;
  }

  .home-process-heading h2 {
    max-width: 15ch;
  }

  .policy-hero aside {
    min-height: 220px;
  }
}

@media (max-width: 640px) {
  body::before {
    background-size: 42px 42px;
  }

  .home-hero-copy,
  .resource-copy,
  .article-lead,
  .policy-hero {
    padding: 22px;
  }

  .home-hero-copy h1,
  .resource-copy h1,
  .article-lead h1,
  .policy-hero h1,
  .blog-head h1 {
    font-size: clamp(2.7rem, 15vw, 4.6rem);
  }

  .home-hero-visual {
    min-height: 440px;
    padding: 20px;
  }

  .brand-orbit {
    min-height: 280px;
  }

  .home-feature-grid {
    grid-template-columns: 1fr;
  }

  .home-feature-grid .feature-card,
  .home-feature-grid .feature-lead {
    grid-column: auto;
  }

  .home-feature-grid .feature-lead {
    grid-template-columns: 1fr;
  }

  .feature-mark {
    font-size: 5rem;
  }

  .home-process {
    gap: 18px;
    margin-block: 48px;
  }

  .process-list li,
  .policy-row {
    grid-template-columns: 50px 1fr;
    gap: 14px;
  }

  .article-list,
  .article-detail-grid {
    grid-template-columns: 1fr;
  }

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

  .library-ruler {
    display: block;
  }

  .library-ruler span {
    display: block;
  }

  .library-ruler span + span {
    margin-top: 6px;
  }

  .resource-brand-card {
    min-height: 210px;
  }
}
