.support-page { overflow-x: clip; }
.support-page main { overflow: visible; }
.support-page .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; }

.support-hero {
  width: var(--page);
  min-height: min(720px, calc(100dvh - 72px));
  margin: 0 auto;
  padding: 72px 0 84px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(390px, .65fr);
  gap: clamp(48px, 6vw, 82px);
  align-items: center;
}
.support-hero h1 { max-width: 820px; font-size: clamp(52px, 5.5vw, 78px); }
.support-intro { max-width: 670px; margin: 26px 0 0; color: var(--muted); font-size: clamp(18px, 1.7vw, 22px); line-height: 1.55; }
.support-actions { display: flex; align-items: center; gap: 24px; margin-top: 32px; }
.surface-summary { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); gap: 1px; }
.surface-summary div { min-height: 150px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; background: var(--surface); }
.surface-summary dt { font: 650 11px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.surface-summary dd { font-size: clamp(30px, 3vw, 44px); font-weight: 640; letter-spacing: -.05em; }
.surface-summary div:nth-child(2), .surface-summary div:nth-child(3) { background: var(--surface-strong); }

.support-page section:not(.support-hero) { width: var(--page); margin: 0 auto; padding: 108px 0; }
.support-page h2 { font-size: clamp(38px, 4.3vw, 58px); }
.common-ground { border-top: 1px solid var(--line); }
.common-ground > div:first-child { max-width: 700px; }
.common-ground > div:first-child p,
.terms-section > div:first-child p,
.platforms-intro p,
.comparison-heading > p,
.approval-section > div > p,
.questions-section > div > p,
.support-cta p { max-width: 650px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.common-grid { margin-top: 52px; display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.common-grid article { min-height: 180px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; background: var(--surface); }
.common-grid article + article { border-left: 1px solid var(--line); }
.common-grid strong { color: var(--accent); font: 700 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.common-grid span { color: var(--muted); line-height: 1.5; }

.comparison-section { border-top: 1px solid var(--line); }
.comparison-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 60px; align-items: end; }
.comparison-heading > p { grid-column: 1; margin: 0; }
.legend { grid-column: 2; grid-row: 1 / 3; display: grid; gap: 10px; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--muted); font-size: 12px; }
.legend span { display: flex; align-items: center; gap: 10px; }
.table-frame { margin-top: 48px; overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); scroll-padding-left: 230px; }
.table-frame:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 4px; }
table { width: 100%; min-width: 1040px; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
th, td { padding: 17px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { position: sticky; top: 0; z-index: 2; background: var(--surface-strong); color: var(--ink); font-size: 14px; }
thead th:first-child { width: 250px; left: 0; z-index: 4; }
thead th:not(:first-child) { width: 195px; }
thead th span { display: block; font-size: 17px; }
thead th small { display: block; margin-top: 5px; color: var(--muted); font: 10px/1.35 var(--mono); }
tbody th[scope="row"] { position: sticky; left: 0; z-index: 1; background: var(--surface); font-size: 13px; line-height: 1.45; }
tbody td { color: var(--muted); font-size: 12px; line-height: 1.4; }
tbody td small { display: block; margin-top: 7px; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.group-row th { padding: 13px 18px; background: var(--surface-strong); color: var(--muted); font: 700 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .11em; border-bottom: 1px solid var(--line); }
.capability { display: inline-flex; min-width: 54px; min-height: 24px; padding: 0 8px; align-items: center; justify-content: center; border-radius: 6px; font: 700 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .04em; }
.capability.yes { background: color-mix(in srgb, var(--accent) 22%, var(--surface-strong)); color: var(--ink); }
.capability.limited { background: var(--surface-strong); color: var(--ink); border: 1px solid var(--line); }
.capability.no { color: var(--muted); border: 1px solid var(--line); }
.table-note { margin: 17px 0 0; color: var(--muted); font: 11px/1.55 var(--mono); }

.terms-section { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(50px, 8vw, 110px); align-items: start; border-top: 1px solid var(--line); }
.terms-section > div:first-child { position: sticky; top: 96px; }
.term-map { border-top: 1px solid var(--line); }
.term-map > div { display: grid; grid-template-columns: 1.15fr repeat(4, 1fr); gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.term-map strong { font-size: 13px; }
.term-map span { color: var(--muted); font-size: 12px; line-height: 1.45; }

.platforms-section { border-top: 1px solid var(--line); }
.platforms-intro { max-width: 700px; }
.provider-list { margin-top: 54px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); }
.provider-list article { min-height: 430px; padding: clamp(25px, 3.5vw, 42px); background: var(--surface); }
.provider-list article:nth-child(2), .provider-list article:nth-child(3) { background: var(--surface-strong); }
.provider-heading { display: flex; justify-content: space-between; gap: 20px; color: var(--accent); font: 700 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .09em; }
.provider-heading strong { color: var(--muted); }
.provider-list h3 { max-width: 480px; margin-top: 44px; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.05; }
.provider-list p { max-width: 560px; margin: 22px 0 26px; color: var(--muted); line-height: 1.6; }
.provider-list ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin: 0; padding: 20px 0 0; border-top: 1px solid var(--line); list-style: none; color: var(--muted); font-size: 12px; line-height: 1.45; }
.provider-list li { position: relative; padding-left: 14px; }
.provider-list li::before { content: ""; position: absolute; left: 0; top: .65em; width: 6px; height: 1px; background: var(--accent); }

.approval-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 9vw, 130px); align-items: start; border-top: 1px solid var(--line); }
.approval-section > div { position: sticky; top: 96px; }
.approval-flow { margin: 0; padding: 0; list-style: none; counter-reset: approval; }
.approval-flow li { counter-increment: approval; display: grid; grid-template-columns: 42px 1fr; gap: 5px 16px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.approval-flow li::before { content: counter(approval); grid-row: 1 / 3; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: var(--accent); font: 700 11px/1 var(--mono); }
.approval-flow strong { font-size: 16px; }
.approval-flow span { color: var(--muted); line-height: 1.5; }

.questions-section { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(50px, 9vw, 130px); border-top: 1px solid var(--line); }
.questions-list { border-top: 1px solid var(--line); }
.questions-list details { border-bottom: 1px solid var(--line); }
.questions-list summary { position: relative; padding: 24px 44px 24px 0; cursor: pointer; font-weight: 650; list-style: none; }
.questions-list summary::-webkit-details-marker { display: none; }
.questions-list summary::after { content: "+"; position: absolute; right: 8px; top: 20px; color: var(--accent); font: 24px/1 var(--mono); }
.questions-list details[open] summary::after { content: "−"; }
.questions-list p { max-width: 720px; margin: -4px 0 26px; color: var(--muted); line-height: 1.65; }

.support-cta { display: flex; justify-content: space-between; align-items: end; gap: 40px; border-top: 1px solid var(--line); }
.support-cta h2 { max-width: 680px; }
.support-cta .button { flex: 0 0 auto; }

@media (max-width: 1000px) {
  .support-hero { grid-template-columns: 1fr; min-height: auto; }
  .surface-summary { max-width: 700px; }
  .common-grid { grid-template-columns: 1fr 1fr; }
  .common-grid article { min-height: 145px; border-bottom: 1px solid var(--line); }
  .common-grid article + article { border-left: 0; }
  .common-grid article:nth-child(even) { border-left: 1px solid var(--line); }
  .common-grid article:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .comparison-heading { grid-template-columns: 1fr; }
  .legend { grid-column: 1; grid-row: auto; width: fit-content; }
  .terms-section, .approval-section, .questions-section { grid-template-columns: 1fr; }
  .terms-section > div:first-child, .approval-section > div { position: static; }
}

@media (max-width: 720px) {
  .support-page section:not(.support-hero) { padding: 76px 0; }
  .support-hero { padding: 50px 0 68px; gap: 42px; }
  .support-hero h1 { font-size: clamp(46px, 13vw, 64px); }
  .support-actions { align-items: stretch; flex-direction: column; }
  .support-actions .text-link { min-height: 40px; }
  .surface-summary div { min-height: 120px; padding: 18px; }
  .common-grid { grid-template-columns: 1fr; }
  .common-grid article, .common-grid article:nth-child(even) { min-height: 120px; border-left: 0; }
  .common-grid article:last-child { grid-column: auto; }
  .table-frame { margin-right: 0; }
  .term-map > div { grid-template-columns: 1fr 1fr; }
  .term-map strong { grid-column: 1 / -1; }
  .provider-list { grid-template-columns: 1fr; }
  .provider-list article { min-height: auto; }
  .provider-list ul { grid-template-columns: 1fr; }
  .support-cta { align-items: stretch; flex-direction: column; }
  .support-cta .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .questions-list summary { scroll-behavior: auto; }
}
