:root {
  --document-width: 1180px;
  --reading-width: 820px;
}

body.internal-page {
  background: #f3f7ff;
  color: #111214;
}

.internal-page .site-header > .brand {
  padding: 9px 12px;
  border: 1px solid rgba(17,18,20,.06);
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 10px 30px rgba(26,39,60,.08);
}

.internal-main {
  min-height: 100svh;
}

.internal-page .hero-interior {
  display: grid;
  min-height: clamp(520px, 76svh, 760px);
  padding: 126px var(--gutter) 56px;
  align-items: end;
  grid-template-columns: minmax(0, 1fr);
}

.internal-page .hero-interior > .container {
  position: relative;
  display: grid;
  width: 100%;
  max-width: none;
  min-height: clamp(390px, 58svh, 560px);
  margin: 0;
  padding: clamp(32px, 5.2vw, 76px);
  overflow: hidden;
  align-items: end;
  border-radius: var(--radius);
  background: #0a84ff;
  color: #fff;
  isolation: isolate;
}

.internal-page .hero-interior > .container::before,
.internal-page .hero-interior > .container::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
  content: "";
}

.internal-page .hero-interior > .container::before {
  top: -48%;
  right: -16%;
  width: min(66vw, 900px);
  height: min(66vw, 900px);
}

.internal-page .hero-interior > .container::after {
  top: -23%;
  right: 2%;
  width: min(42vw, 580px);
  height: min(42vw, 580px);
}

.internal-page .hero-content {
  position: relative;
  z-index: 1;
  max-width: 960px;
}

.internal-page .hero-content h1 {
  max-width: 930px;
  margin: 0;
  color: #fff;
  font-size: clamp(48px, 6.4vw, 96px);
  font-weight: 600;
  letter-spacing: -.065em;
  line-height: .98;
}

.internal-page .hero-content > p {
  max-width: 720px;
  margin: clamp(22px, 3vw, 34px) 0 0;
  color: rgba(255,255,255,.76);
  font-size: clamp(14px,1.35vw,18px);
  line-height: 1.55;
}

.internal-page .eyebrow {
  display: inline-flex;
  margin: 0 0 24px;
  padding: 0;
  align-items: center;
  gap: 9px;
  color: rgba(255,255,255,.76);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.internal-page .eyebrow::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  content: "";
}

.internal-hero {
  display: grid;
  min-height: clamp(520px, 76svh, 760px);
  padding: 126px var(--gutter) 56px;
  align-items: end;
  grid-template-columns: minmax(0, 1fr);
}

.internal-hero__frame {
  position: relative;
  display: grid;
  min-height: clamp(390px, 58svh, 560px);
  padding: clamp(32px, 5.2vw, 76px);
  overflow: hidden;
  align-items: end;
  border-radius: var(--radius);
  background: #0a84ff;
  color: #fff;
  isolation: isolate;
}

.internal-hero__frame::before,
.internal-hero__frame::after {
  position: absolute;
  z-index: -1;
  width: min(66vw, 900px);
  height: min(66vw, 900px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  content: "";
}

.internal-hero__frame::before {
  top: -48%;
  right: -16%;
}

.internal-hero__frame::after {
  top: -23%;
  right: 2%;
  width: min(42vw, 580px);
  height: min(42vw, 580px);
}

.internal-hero__copy {
  position: relative;
  z-index: 1;
  max-width: 960px;
}

.internal-hero__copy h1 {
  max-width: 930px;
  margin: 0;
  font-size: clamp(48px, 6.4vw, 96px);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.internal-hero__copy p {
  max-width: 720px;
  margin: clamp(22px, 3vw, 34px) 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(14px, 1.35vw, 18px);
  line-height: 1.55;
}

.internal-hero__meta {
  display: inline-flex;
  margin-bottom: 24px;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 600;
}

.internal-hero__meta::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  content: "";
}

.internal-section {
  padding: clamp(72px, 9vw, 132px) var(--gutter);
}

.internal-page .legal-section,
.internal-page .support-section {
  padding: clamp(72px, 9vw, 132px) var(--gutter);
}

.internal-layout {
  display: grid;
  width: min(100%, var(--document-width));
  margin: 0 auto;
  align-items: start;
  grid-template-columns: minmax(190px, 250px) minmax(0, var(--reading-width));
  gap: clamp(44px, 8vw, 120px);
}

.internal-aside {
  position: sticky;
  top: 116px;
}

.internal-aside p {
  margin: 0 0 22px;
  color: #566174;
  font-size: 12px;
  line-height: 1.6;
}

.internal-aside nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.internal-aside a {
  padding: 11px 13px;
  border-radius: 12px;
  color: #566174;
  font-size: 12px;
  font-weight: 600;
  transition: color .3s var(--ease), background-color .3s var(--ease);
}

.internal-aside a:hover,
.internal-aside a[aria-current="page"] {
  background: #fff;
  color: #0065db;
}

.document-card,
.support-card {
  min-width: 0;
  padding: clamp(30px, 4.5vw, 62px);
  border: 1px solid rgba(17, 18, 20, 0.06);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(24, 45, 78, 0.08);
}

.internal-page .legal-container,
.internal-page .support-grid {
  width: min(100%, var(--document-width));
  max-width: none;
  margin: 0 auto;
  padding: 0;
}

.internal-page .legal-container {
  display: grid;
  grid-template-columns: minmax(0, var(--reading-width));
  justify-content: center;
}

.internal-page .legal-card {
  min-width: 0;
  padding: clamp(30px, 4.5vw, 62px);
  border: 1px solid rgba(17,18,20,.06);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(24,45,78,.08);
}

.document-card > :first-child,
.support-card > :first-child {
  margin-top: 0;
}

.document-card h2,
.support-card h2,
.internal-page .legal-card h2 {
  margin: 58px 0 18px;
  color: #111214;
  font-size: clamp(25px, 2.8vw, 38px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.document-card h3,
.support-card h3,
.internal-page .legal-card h3 {
  margin: 40px 0 14px;
  color: #111214;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.document-card p,
.document-card li,
.support-card p,
.support-card li,
.internal-page .legal-card p,
.internal-page .legal-card li {
  color: #566174;
  font-size: 15px;
  line-height: 1.75;
}

.document-card p,
.support-card p,
.internal-page .legal-card p {
  margin: 0 0 18px;
}

.document-card ul,
.support-card ul,
.internal-page .legal-card ul {
  display: grid;
  margin: 0 0 24px;
  padding: 0;
  gap: 10px;
  list-style: none;
}

.document-card li,
.support-card li,
.internal-page .legal-card li {
  position: relative;
  padding-left: 22px;
}

.document-card li::before,
.support-card li::before,
.internal-page .legal-card li::before {
  position: absolute;
  top: .74em;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0a84ff;
  content: "";
}

.document-card a,
.support-card a,
.internal-page .legal-card a {
  color: #006fdc;
  text-decoration: underline;
  text-decoration-color: rgba(0, 111, 220, .25);
  text-underline-offset: 3px;
}

.document-card a:hover,
.support-card a:hover,
.internal-page .legal-card a:hover {
  text-decoration-color: currentColor;
}

.document-action {
  display: flex;
  margin-top: 54px;
  padding-top: 30px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(17, 18, 20, .08);
}

.internal-page .legal-next {
  display: flex;
  margin-top: 54px;
  padding-top: 30px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(17,18,20,.08);
}

.internal-page .legal-next span {
  color: #566174;
  font-size: 13px;
  line-height: 1.5;
}

.internal-page .btn {
  display: inline-flex;
  min-height: 48px;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #0a84ff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.document-action span {
  color: #566174;
  font-size: 13px;
  line-height: 1.5;
}

.document-action .button,
.document-card .button {
  color: #fff;
  text-decoration: none;
}

.support-grid {
  display: grid;
  width: min(100%, var(--document-width));
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.internal-page .support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 24px;
}

.internal-page .support-grid.support-grid-single {
  grid-template-columns: minmax(0, 820px);
  justify-content: center;
}

.support-card {
  height: max-content;
}

.support-card--primary {
  background: #071b36;
  color: #fff;
}

.internal-page .support-card-primary {
  background: #071b36;
  color: #fff;
}

.internal-page .support-card-primary h2,
.internal-page .support-card-primary h3 { color: #fff; }
.internal-page .support-card-primary p,
.internal-page .support-card-primary li { color: rgba(255,255,255,.66); }
.internal-page .support-card-primary a { color: #76bdff; }

.support-card--primary h2,
.support-card--primary h3 {
  color: #fff;
}

.support-card--primary p,
.support-card--primary li {
  color: rgba(255, 255, 255, .66);
}

.support-card--primary a {
  color: #76bdff;
}

.support-language-links {
  display: flex;
  margin-top: 28px;
  gap: 10px;
}

.support-language-links a {
  padding: 11px 16px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.support-lang {
  display: inline-flex;
  margin-bottom: 22px;
  color: #0a84ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.internal-footer {
  background: #f3f7ff;
}

.internal-footer .footer-brand {
  min-height: 130px;
}

.internal-footer .footer-column:last-child a[aria-current="page"] {
  color: #0065db;
}

.not-found {
  display: grid;
  min-height: 100svh;
  padding: 120px 24px 48px;
  place-items: center;
}

.not-found__card {
  width: min(100%, 920px);
  padding: clamp(38px, 7vw, 86px);
  border-radius: 24px;
  background: #0a84ff;
  color: #fff;
  text-align: center;
}

.not-found h1 {
  margin: 0;
  font-size: clamp(88px, 18vw, 220px);
  font-weight: 600;
  letter-spacing: -.09em;
  line-height: .78;
}

.not-found p {
  margin: 36px 0 0;
  color: rgba(255,255,255,.76);
  font-size: 16px;
}

.not-found .button {
  margin-top: 30px;
}

@media (max-width: 900px) {
  .internal-page .site-header > .brand {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .internal-hero {
    min-height: auto;
    padding: 96px 16px 36px;
  }

  .internal-page .hero-interior {
    min-height: auto;
    padding: 96px 16px 36px;
  }

  .internal-page .hero-interior > .container {
    min-height: min(610px, calc(100svh - 132px));
    padding: 34px 26px;
  }

  .internal-page .hero-content h1 {
    font-size: clamp(30px, 8vw, 44px);
    overflow-wrap: normal;
  }

  .internal-page .hero-content > p { font-size: 13px; }

  .internal-hero__frame {
    min-height: min(610px, calc(100svh - 132px));
    padding: 34px 26px;
  }

  .internal-hero__copy h1 {
    font-size: clamp(42px, 10.8vw, 64px);
  }

  .internal-layout {
    display: block;
  }

  .internal-aside {
    position: static;
    margin-bottom: 24px;
  }

  .internal-aside nav {
    overflow-x: auto;
    flex-direction: row;
    scrollbar-width: none;
  }

  .internal-aside nav::-webkit-scrollbar { display: none; }
  .internal-aside a { flex: 0 0 auto; background: rgba(255,255,255,.66); }
  .support-grid { grid-template-columns: 1fr; }
  .internal-page .support-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .internal-page .hero-content h1 { font-size: 30px; }
  .internal-section { padding: 58px 16px 76px; }
  .document-card,
  .support-card,
  .internal-page .legal-card { padding: 26px 22px 34px; border-radius: 18px; }
  .document-card h2,
  .support-card h2 { margin-top: 44px; font-size: 25px; }
  .internal-page .legal-card h2 { margin-top: 44px; font-size: 25px; }
  .document-card h3,
  .support-card h3 { margin-top: 34px; }
  .internal-page .legal-card h3 { margin-top: 34px; }
  .document-card p,
  .document-card li,
  .support-card p,
  .support-card li { font-size: 14px; line-height: 1.7; }
  .internal-page .legal-card p,
  .internal-page .legal-card li { font-size: 14px; line-height: 1.7; }
  .document-action { align-items: flex-start; flex-direction: column; }
  .document-action .button { width: 100%; }
  .internal-page .legal-next { align-items: flex-start; flex-direction: column; }
  .internal-page .legal-next .btn { width: 100%; }
}
