/*
 * Jetstream inner-page system
 *
 * This file is deliberately loaded only by the twelve editorial pages.
 * Every selector is scoped to .inner-page so the landing page remains isolated.
 */

.inner-page {
  --inner-line: rgba(182, 217, 252, 0.16);
  --inner-line-strong: rgba(182, 217, 252, 0.28);
  --inner-panel: rgba(14, 16, 25, 0.82);
  --inner-panel-lift: rgba(24, 28, 40, 0.82);
  --inner-blue: #b6d9fc;
  --inner-glow: rgba(138, 186, 236, 0.16);
  --hero-image: url('/assets/dashboard.webp');
  --hero-position: center;
  --hero-fit: cover;
  --hero-tag: 'JETSTREAM // FLIGHT OPERATIONS';
  background:
    radial-gradient(900px 520px at 78% 8%, rgba(85, 106, 170, 0.12), transparent 72%),
    var(--ink);
}

.inner-page--about {
  --hero-image: url('/assets/email/hero.png');
  --hero-position: center;
  --hero-tag: 'BLUE MATTERS STUDIO // PRODUCT BRIEF';
}

.inner-page--changelog {
  --hero-image: url('/assets/dashboard.webp');
  --hero-position: 42% center;
  --hero-tag: 'RELEASE LOG // CURRENT BUILD';
}

.inner-page--compare {
  --hero-image: url('/assets/dashboard.webp');
  --hero-position: 48% center;
  --hero-tag: 'DECISION BRIEF // OFFICIAL SOURCES';
}

.inner-page--faq {
  --hero-image: url('/assets/dashboard.webp');
  --hero-position: 48% center;
  --hero-tag: 'PILOT MANUAL // QUICK ANSWERS';
}

.inner-page--features {
  --hero-image: url('/assets/dashboard.webp');
  --hero-position: 48% center;
  --hero-tag: 'PRODUCT SYSTEM // CAREER LOOP';
}

.inner-page--career {
  --hero-image: url('/assets/career.webp');
  --hero-position: center;
  --hero-tag: 'CAREER CONTROL // RANK & MASTERY';
}

.inner-page--announcements {
  --hero-image: url('/assets/email/ic-pa.png');
  --hero-position: center;
  --hero-fit: 144px;
  --hero-tag: 'CABIN SYSTEM // 11 AUDIO SLOTS';
}

.inner-page--tracking {
  --hero-image: url('/assets/email/livemap.webp');
  --hero-position: center;
  --hero-tag: 'LIVE OPERATIONS // SIMCONNECT';
}

.inner-page--alternative {
  --hero-image: url('/assets/career.webp');
  --hero-position: center;
  --hero-tag: 'CAREER MODE // FLYING-STYLE FIT';
}

.inner-page--guide {
  --hero-image: url('/assets/dashboard.webp');
  --hero-position: 48% center;
  --hero-tag: 'START HERE // MSFS CAREER GUIDE';
}

.inner-page--pricing {
  --hero-image: url('/assets/email/hero.png');
  --hero-position: center;
  --hero-tag: 'PUBLIC ALPHA // $0 BASE ACCESS';
}

.inner-page--requirements {
  --hero-image: url('/assets/dashboard.webp');
  --hero-position: 50% center;
  --hero-tag: 'PREFLIGHT // WINDOWS X64';
}

.inner-page .skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border: 2px solid var(--glacier);
  border-radius: 8px;
  color: var(--ink);
  background: var(--glacier);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transform: translateY(-160%);
  transition: transform 0.16s ease;
}

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

.inner-page :focus-visible {
  outline: 3px solid var(--glacier);
  outline-offset: 4px;
}

.inner-page .nav {
  border-bottom-color: rgba(182, 217, 252, 0.12);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
}

.inner-page .page-shell {
  overflow: clip;
}

.inner-page .page-shell::before {
  background:
    radial-gradient(820px 460px at 76% 4%, rgba(150, 180, 240, 0.12), transparent 70%),
    linear-gradient(rgba(186, 215, 247, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(186, 215, 247, 0.032) 1px, transparent 1px);
  background-size: auto, 80px 80px, 80px 80px;
}

.inner-page .content-hero {
  position: relative;
  padding: 86px 0 76px;
  border-bottom: 1px solid rgba(182, 217, 252, 0.08);
}

.inner-page .content-hero::after {
  content: '';
  position: absolute;
  right: max(24px, calc((100vw - 1120px) / 2));
  bottom: 28px;
  width: 180px;
  height: 1px;
  opacity: 0.48;
  background: linear-gradient(90deg, transparent, var(--inner-blue));
  box-shadow: -24px -6px 0 -0.5px rgba(182, 217, 252, 0.22);
}

.inner-page .content-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.88fr);
  grid-template-rows: auto auto auto auto auto;
  column-gap: clamp(40px, 5.6vw, 72px);
  align-items: center;
  max-width: 1120px;
}

.inner-page .content-hero__inner > * {
  grid-column: 1;
}

.inner-page .breadcrumb {
  grid-column: 1 / -1;
  grid-row: 1;
  margin-bottom: 42px;
}

.inner-page .content-kicker {
  grid-row: 2;
  margin-bottom: 16px;
}

.inner-page .content-title {
  grid-row: 3;
  max-width: 720px;
  font-size: clamp(44px, 5.4vw, 68px);
  line-height: 1.01;
}

.inner-page .content-lede {
  grid-row: 4;
  max-width: 650px;
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.65;
  letter-spacing: 0;
}

.inner-page .content-meta {
  grid-row: 5;
  margin-top: 26px;
}

.inner-page .content-hero__inner::after {
  content: '';
  grid-column: 2;
  grid-row: 2 / 6;
  align-self: stretch;
  min-height: 370px;
  border: 1px solid var(--inner-line);
  border-radius: 16px;
  background-color: rgba(7, 8, 19, 0.88);
  background-image:
    linear-gradient(180deg, rgba(5, 6, 15, 0.02), rgba(5, 6, 15, 0.34)),
    var(--hero-image);
  background-repeat: no-repeat;
  background-position: center, var(--hero-position);
  background-size: auto, var(--hero-fit);
  box-shadow:
    inset 0 0 0 6px rgba(5, 6, 15, 0.6),
    inset 0 0 60px rgba(5, 6, 15, 0.26),
    0 26px 70px rgba(0, 0, 0, 0.34);
}

.inner-page .content-hero__inner::before {
  content: var(--hero-tag);
  z-index: 1;
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  justify-self: start;
  margin: 18px;
  padding: 7px 10px;
  border: 1px solid rgba(182, 217, 252, 0.22);
  border-radius: 6px;
  color: var(--glacier);
  background: rgba(5, 6, 15, 0.84);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.inner-page--announcements .content-hero__inner::after {
  background-image:
    radial-gradient(circle at 50% 48%, rgba(93, 134, 200, 0.2), transparent 38%),
    linear-gradient(rgba(186, 215, 247, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(186, 215, 247, 0.035) 1px, transparent 1px),
    var(--hero-image);
  background-position: center, center, center, var(--hero-position);
  background-size: auto, 42px 42px, 42px 42px, var(--hero-fit);
}

.inner-page .page-shell > .wrap {
  position: relative;
}

.inner-page .answer-panel {
  position: relative;
  grid-template-columns: 168px minmax(0, 1fr);
  max-width: 1120px;
  margin: -18px 0 46px;
  padding: 28px 32px;
  border-color: var(--inner-line-strong);
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(119, 165, 224, 0.1), transparent 42%),
    rgba(10, 12, 22, 0.94);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
}

.inner-page .answer-panel::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 30px;
  width: 96px;
  height: 2px;
  background: linear-gradient(90deg, var(--glacier), transparent);
  box-shadow: 0 0 18px rgba(182, 217, 252, 0.56);
}

.inner-page .answer-panel__label {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-top: 5px;
}

.inner-page .answer-panel__label::before {
  content: '';
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--frost-link);
  box-shadow: 0 0 12px rgba(182, 217, 252, 0.76);
}

.inner-page .answer-panel p {
  max-width: 80ch;
  font-size: 17px;
  line-height: 1.68;
  letter-spacing: 0;
}

.inner-page .answer-panel strong {
  color: var(--glacier);
}

.inner-page .content-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 1120px;
  padding-bottom: 112px;
  counter-reset: inner-section;
}

.inner-page .content-section {
  position: relative;
  margin: 0;
  padding: clamp(34px, 4.4vw, 52px);
  border: 1px solid var(--inner-line);
  border-radius: 16px;
  background:
    radial-gradient(520px 240px at 100% 0%, rgba(124, 163, 219, 0.055), transparent 72%),
    linear-gradient(180deg, rgba(20, 23, 35, 0.84), rgba(10, 12, 22, 0.84));
  box-shadow: inset 0 1px 0 rgba(216, 236, 248, 0.025);
  counter-increment: inner-section;
}

.inner-page .content-section:first-child {
  margin: 0;
  padding-top: clamp(34px, 4.4vw, 52px);
  border-top: 1px solid var(--inner-line);
}

.inner-page .content-section::before {
  content: '0' counter(inner-section);
  position: absolute;
  top: clamp(38px, 4.4vw, 54px);
  right: clamp(30px, 4vw, 48px);
  color: rgba(182, 217, 252, 0.4);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.inner-page .content-section:nth-child(n + 10)::before {
  content: counter(inner-section);
}

.inner-page .content-section h2 {
  max-width: 820px;
  margin-bottom: 22px;
  padding-right: 52px;
  font-size: clamp(29px, 3.4vw, 38px);
}

.inner-page .content-section h3 {
  font-size: 22px;
}

.inner-page .content-section p,
.inner-page .content-section li,
.inner-page .content-section dd {
  max-width: 70ch;
  color: var(--moonlight);
  font-size: 16px;
  line-height: 1.72;
  letter-spacing: 0;
}

.inner-page .content-section ul,
.inner-page .content-section ol {
  max-width: 72ch;
}

.inner-page .content-section li {
  margin: 12px 0;
}

.inner-page .fact-grid {
  gap: 12px;
  margin: 30px 0 4px;
}

.inner-page .fact-card {
  position: relative;
  min-height: 136px;
  padding: 24px 24px 22px;
  border-color: var(--inner-line);
  border-radius: 12px;
  background:
    linear-gradient(150deg, rgba(182, 217, 252, 0.07), transparent 52%),
    rgba(7, 8, 19, 0.72);
}

.inner-page .fact-card::before {
  content: '';
  display: block;
  width: 26px;
  height: 2px;
  margin-bottom: 22px;
  background: var(--frost-link);
  box-shadow: 0 0 12px rgba(182, 217, 252, 0.42);
}

.inner-page .fact-card__value {
  margin-bottom: 10px;
  font-size: clamp(23px, 2.6vw, 30px);
}

.inner-page .fact-card__label {
  max-width: 42ch;
  line-height: 1.55;
}

.inner-page .feature-media {
  position: relative;
  margin: 38px 0 4px;
  padding: 8px;
  border-color: var(--inner-line-strong);
  border-radius: 16px;
  background: rgba(5, 6, 15, 0.9);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.32);
}

.inner-page .feature-media::before,
.inner-page .feature-media::after {
  content: '';
  position: absolute;
  z-index: 1;
  width: 24px;
  height: 24px;
  pointer-events: none;
}

.inner-page .feature-media::before {
  top: -5px;
  left: -5px;
  border-top: 1px solid var(--glacier);
  border-left: 1px solid var(--glacier);
}

.inner-page .feature-media::after {
  right: -5px;
  bottom: -5px;
  border-right: 1px solid var(--glacier);
  border-bottom: 1px solid var(--glacier);
}

.inner-page .feature-media img {
  display: block;
  border: 1px solid rgba(182, 217, 252, 0.1);
}

.inner-page .feature-media figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 12px 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.035em;
}

.inner-page .feature-media figcaption::before {
  content: 'LIVE UI';
  flex: 0 0 auto;
  padding: 4px 7px;
  border: 1px solid rgba(182, 217, 252, 0.18);
  border-radius: 4px;
  color: var(--frost-link);
  background: rgba(182, 217, 252, 0.05);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.inner-page .comparison-scroll {
  position: relative;
  margin-top: 30px;
  border-color: var(--inner-line);
  border-radius: 12px;
  background: rgba(5, 6, 15, 0.82);
  scrollbar-color: var(--steel) rgba(5, 6, 15, 0.8);
  scrollbar-width: thin;
}

.inner-page .comparison-scroll::before {
  content: 'DATA TABLE // SCROLL →';
  display: block;
  position: sticky;
  left: 0;
  width: max-content;
  padding: 12px 16px 10px;
  color: var(--fog);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.inner-page .comparison-scroll:focus-visible {
  outline-offset: 5px;
}

.inner-page .comparison-table {
  min-width: 620px;
}

.inner-page .comparison-table caption {
  padding: 14px 18px;
  border-top: 1px solid rgba(182, 217, 252, 0.08);
  border-bottom: 1px solid rgba(182, 217, 252, 0.1);
  color: var(--pebble);
  background: rgba(182, 217, 252, 0.025);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.025em;
  line-height: 1.5;
  text-align: left;
}

.inner-page--compare .comparison-table {
  min-width: 1080px;
}

.inner-page--alternative .comparison-table {
  min-width: 720px;
}

.inner-page .comparison-table th,
.inner-page .comparison-table td {
  padding: 18px;
  border-color: rgba(182, 217, 252, 0.1);
  font-size: 14px;
  line-height: 1.58;
}

.inner-page .comparison-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  color: var(--glacier);
  background: #11141f;
}

.inner-page--compare .comparison-table th:first-child,
.inner-page--compare .comparison-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 180px;
  background: #0d0f18;
  box-shadow: 12px 0 24px rgba(0, 0, 0, 0.16);
}

.inner-page--compare .comparison-table thead th:first-child {
  z-index: 3;
  background: #11141f;
}

.inner-page .comparison-table .is-jetstream,
.inner-page .comparison-table tr.is-jetstream > * {
  background-color: rgba(115, 160, 221, 0.11);
}

.inner-page .status-badge {
  border-color: rgba(182, 217, 252, 0.32);
  background: rgba(182, 217, 252, 0.09);
}

.inner-page .definition-list {
  grid-template-columns: 210px minmax(0, 1fr);
  margin-top: 30px;
  border: 1px solid var(--inner-line);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(5, 6, 15, 0.52);
}

.inner-page .definition-list dt,
.inner-page .definition-list dd {
  padding: 18px 20px;
  border-color: rgba(182, 217, 252, 0.1);
}

.inner-page .definition-list dt {
  display: flex;
  align-items: center;
  background: rgba(182, 217, 252, 0.035);
}

.inner-page .definition-list dd {
  max-width: none;
}

.inner-page .callout,
.inner-page .source-note {
  position: relative;
  max-width: 84ch;
  margin-top: 28px;
  padding: 22px 24px 22px 56px;
  border: 1px solid var(--inner-line);
  border-left: 1px solid var(--inner-line);
  border-radius: 10px;
  background: rgba(182, 217, 252, 0.045);
}

.inner-page .callout::before,
.inner-page .source-note::before {
  content: '!';
  position: absolute;
  top: 22px;
  left: 22px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid rgba(182, 217, 252, 0.34);
  border-radius: 50%;
  color: var(--glacier);
  font-family: var(--font-mono);
  font-size: 11px;
}

.inner-page .source-note::before {
  content: 'i';
}

.inner-page .faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 0;
  border: 0;
  counter-reset: faq;
}

.inner-page .faq-item {
  position: relative;
  min-width: 0;
  padding: 30px;
  border: 1px solid var(--inner-line);
  border-radius: 14px;
  background:
    radial-gradient(280px 130px at 100% 0%, rgba(129, 169, 226, 0.08), transparent 74%),
    rgba(12, 14, 24, 0.86);
  counter-increment: faq;
}

.inner-page .faq-item::before {
  content: 'Q' counter(faq, decimal-leading-zero);
  display: block;
  margin-bottom: 20px;
  color: var(--frost-link);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.inner-page .faq-item h2,
.inner-page .faq-item h3 {
  max-width: 21ch;
  margin-bottom: 14px;
  color: var(--glacier);
  font-size: clamp(21px, 2.5vw, 26px);
}

.inner-page .faq-item p {
  max-width: 58ch;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
}

.inner-page .timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 30px;
  border-left: 0;
}

.inner-page .timeline__item {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 26px;
  border: 1px solid rgba(182, 217, 252, 0.12);
  border-radius: 10px;
  background: rgba(5, 6, 15, 0.52);
}

.inner-page .timeline__item:last-child {
  padding-bottom: 24px;
}

.inner-page .timeline__item::before {
  top: 29px;
  left: 18px;
}

.inner-page .timeline__date {
  grid-column: 1;
  padding-left: 14px;
}

.inner-page .timeline__item h3,
.inner-page .timeline__item p {
  grid-column: 2;
}

.inner-page .timeline__item h3 {
  grid-row: 1;
  margin: 0;
}

.inner-page .timeline__item p {
  margin: -4px 0 0;
}

.inner-page .related-grid {
  gap: 12px;
  margin-top: 30px;
}

.inner-page .related-card {
  position: relative;
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px 56px 22px 22px;
  border-color: var(--inner-line);
  border-radius: 12px;
  background:
    radial-gradient(220px 120px at 100% 0%, rgba(129, 169, 226, 0.1), transparent 75%),
    rgba(7, 8, 19, 0.68);
}

.inner-page .related-card::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 22px;
  width: 28px;
  height: 2px;
  background: var(--frost-link);
  box-shadow: 0 0 12px rgba(182, 217, 252, 0.4);
}

.inner-page .related-card::after {
  content: '↗';
  position: absolute;
  right: 20px;
  bottom: 20px;
  color: var(--frost-link);
  font-family: var(--font-mono);
  font-size: 17px;
  transition: transform 0.16s ease;
}

.inner-page .related-card:hover,
.inner-page .related-card:focus-visible {
  border-color: var(--inner-line-strong);
  background-color: rgba(20, 24, 36, 0.78);
  transform: translateY(-3px);
}

.inner-page .related-card:hover::after,
.inner-page .related-card:focus-visible::after {
  transform: translate(2px, -2px);
}

.inner-page .related-card span {
  margin-bottom: 9px;
  color: var(--fog);
}

.inner-page .related-card strong {
  max-width: 24ch;
  font-size: 19px;
  line-height: 1.35;
}

.inner-page--features .content-section:first-child .related-card {
  min-height: 210px;
  padding-top: 96px;
  justify-content: flex-end;
}

.inner-page--features .content-section:first-child .related-card::before {
  top: 22px;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(182, 217, 252, 0.16);
  border-radius: 12px;
  background-color: rgba(182, 217, 252, 0.035);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 42px;
  box-shadow: none;
}

.inner-page--features .related-card[href*='airline-career']::before {
  background-image: url('/assets/email/ic-career.png');
}

.inner-page--features .related-card[href*='live-flight']::before {
  background-image: url('/assets/email/ic-map.png');
}

.inner-page--features .related-card[href*='cabin-announcements']::before {
  background-image: url('/assets/email/ic-pa.png');
}

.inner-page .page-cta {
  position: relative;
  isolation: isolate;
  min-height: 174px;
  margin-top: 2px;
  padding: 34px 38px;
  overflow: hidden;
  border-color: var(--inner-line-strong);
  border-radius: 16px;
  background:
    radial-gradient(400px 210px at 0% 0%, rgba(130, 177, 232, 0.16), transparent 72%),
    linear-gradient(105deg, rgba(18, 21, 34, 0.96), rgba(8, 10, 19, 0.96));
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.24);
}

.inner-page .page-cta::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 50%;
  right: 180px;
  width: 320px;
  border-top: 1px dashed rgba(182, 217, 252, 0.18);
  transform: rotate(-8deg);
}

.inner-page .page-cta::after {
  content: '';
  position: absolute;
  z-index: -1;
  top: 28px;
  right: 28px;
  width: 76px;
  height: 76px;
  opacity: 0.06;
  background: url('/assets/jetstream-mark.png') center / contain no-repeat;
}

.inner-page .page-cta > * {
  position: relative;
  z-index: 1;
}

.inner-page .page-cta h2 {
  font-size: clamp(27px, 3vw, 34px);
}

.inner-page .page-cta p {
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.6;
}

.inner-page .page-cta .btn {
  min-height: 46px;
  padding-inline: 24px;
}

.inner-page .footer {
  border-top-color: rgba(182, 217, 252, 0.12);
}

@media (max-width: 980px) {
  .inner-page .content-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
    column-gap: 34px;
  }

  .inner-page .content-title {
    font-size: clamp(40px, 6.2vw, 58px);
  }

  .inner-page .content-hero__inner::after {
    min-height: 330px;
  }

  .inner-page .faq-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .inner-page .content-hero {
    padding: 66px 0 56px;
  }

  .inner-page .content-hero__inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto auto auto auto;
  }

  .inner-page .content-hero__inner > * {
    grid-column: 1;
  }

  .inner-page .breadcrumb {
    grid-column: 1;
    margin-bottom: 34px;
  }

  .inner-page .content-hero__inner::after {
    grid-column: 1;
    grid-row: 6;
    min-height: 320px;
    margin-top: 36px;
  }

  .inner-page .content-hero__inner::before {
    grid-column: 1;
    grid-row: 6;
    margin-top: 54px;
  }

  .inner-page .answer-panel {
    margin-top: -2px;
  }

  .inner-page .fact-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inner-page .timeline__item {
    grid-template-columns: 118px minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  .inner-page .nav__inner {
    gap: 10px;
    min-height: 64px;
  }

  .inner-page .brand {
    min-width: 0;
    font-size: 17px;
  }

  .inner-page .brand__icon {
    width: 27px;
    height: 27px;
  }

  .inner-page .nav__right {
    min-width: 0;
  }

  .inner-page .nav .pill {
    min-height: 40px;
    padding: 0 12px;
    white-space: nowrap;
    font-size: 11px;
  }

  .inner-page .content-hero {
    padding: 48px 0 46px;
  }

  .inner-page .breadcrumb {
    margin-bottom: 28px;
  }

  .inner-page .content-kicker {
    font-size: 11px;
  }

  .inner-page .content-title {
    font-size: clamp(34px, 11.3vw, 48px);
    line-height: 1.04;
  }

  .inner-page .content-lede {
    margin-top: 20px;
    font-size: 17px;
    line-height: 1.62;
  }

  .inner-page .content-meta {
    gap: 8px 14px;
    margin-top: 22px;
    font-size: 10px;
  }

  .inner-page .content-hero__inner::after {
    min-height: 238px;
    margin-top: 30px;
    border-radius: 12px;
  }

  .inner-page .content-hero__inner::before {
    margin: 47px 14px 14px;
    font-size: 8px;
  }

  .inner-page .answer-panel {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 28px;
    padding: 23px;
  }

  .inner-page .answer-panel p {
    font-size: 16px;
  }

  .inner-page .content-body {
    gap: 12px;
    padding-bottom: 82px;
  }

  .inner-page .content-section,
  .inner-page .content-section:first-child {
    padding: 26px 22px;
    border-radius: 13px;
  }

  .inner-page .content-section::before {
    top: 29px;
    right: 22px;
  }

  .inner-page .content-section h2 {
    margin-bottom: 18px;
    padding-right: 44px;
    font-size: clamp(26px, 8vw, 32px);
  }

  .inner-page .content-section h3 {
    font-size: 20px;
  }

  .inner-page .content-section p,
  .inner-page .content-section li,
  .inner-page .content-section dd {
    font-size: 16px;
    line-height: 1.68;
  }

  .inner-page .fact-grid,
  .inner-page .fact-grid--three {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
  }

  .inner-page .fact-card {
    min-height: 0;
  }

  .inner-page .feature-media {
    margin-top: 28px;
  }

  .inner-page .feature-media figcaption {
    align-items: flex-start;
    flex-direction: column;
  }

  .inner-page .comparison-scroll {
    width: calc(100% + 6px);
    margin-right: -6px;
  }

  .inner-page .comparison-table {
    min-width: 580px;
  }

  .inner-page .comparison-table caption {
    position: sticky;
    left: 0;
    width: calc(100vw - 94px);
    max-width: calc(100vw - 94px);
    box-sizing: border-box;
  }

  .inner-page--compare .comparison-table {
    min-width: 980px;
  }

  .inner-page--alternative .comparison-table {
    min-width: 680px;
  }

  .inner-page .definition-list {
    grid-template-columns: 1fr;
  }

  .inner-page .definition-list dt {
    padding-bottom: 7px;
    border-bottom: 0;
  }

  .inner-page .definition-list dd {
    padding-top: 4px;
  }

  .inner-page .callout,
  .inner-page .source-note {
    padding: 54px 20px 20px;
  }

  .inner-page .callout::before,
  .inner-page .source-note::before {
    top: 20px;
    left: 20px;
  }

  .inner-page .faq-item {
    padding: 25px 22px;
  }

  .inner-page .timeline__item {
    display: block;
    padding: 22px 22px 22px 34px;
  }

  .inner-page .timeline__item:last-child {
    padding-bottom: 22px;
  }

  .inner-page .timeline__item::before {
    top: 27px;
    left: 18px;
  }

  .inner-page .timeline__date {
    margin-bottom: 10px;
    padding-left: 0;
  }

  .inner-page .timeline__item h3,
  .inner-page .timeline__item p {
    margin-left: 0;
  }

  .inner-page .related-grid {
    grid-template-columns: 1fr;
  }

  .inner-page .related-card,
  .inner-page--features .content-section:first-child .related-card {
    min-height: 142px;
  }

  .inner-page .page-cta {
    min-height: 0;
    align-items: stretch;
    flex-direction: column;
    padding: 28px 24px;
  }

  .inner-page .page-cta .btn {
    width: 100%;
    min-height: 48px;
  }

  .inner-page .page-cta::before {
    right: -60px;
  }
}

@media (max-width: 360px) {
  .inner-page .brand {
    font-size: 16px;
  }

  .inner-page .nav .pill {
    padding-inline: 10px;
    font-size: 10px;
    letter-spacing: 0.01em;
  }

  .inner-page .content-title {
    font-size: 34px;
  }

  .inner-page .content-hero__inner::after {
    min-height: 210px;
  }
}

@media (hover: none) {
  .inner-page .related-card:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .inner-page .skip-link,
  .inner-page .related-card,
  .inner-page .related-card::after {
    transition: none;
  }

  .inner-page .related-card:hover,
  .inner-page .related-card:focus-visible,
  .inner-page .related-card:hover::after,
  .inner-page .related-card:focus-visible::after,
  .inner-page .btn:hover,
  .inner-page .pill:hover {
    transform: none;
  }
}

@media (forced-colors: active) {
  .inner-page .content-hero__inner::after,
  .inner-page .answer-panel,
  .inner-page .content-section,
  .inner-page .fact-card,
  .inner-page .faq-item,
  .inner-page .related-card,
  .inner-page .page-cta,
  .inner-page .comparison-scroll,
  .inner-page .definition-list {
    border-color: CanvasText;
  }

  .inner-page .answer-panel::before,
  .inner-page .fact-card::before,
  .inner-page .related-card::before {
    background: CanvasText;
    box-shadow: none;
  }
}
