.switch-page {
  --switch-ink: #14213d;
  --switch-blue: #173b8f;
  --switch-blue-dark: #10285f;
  --switch-blue-soft: #eef4ff;
  --switch-green: #18754a;
  --switch-green-soft: #ecf8f1;
  --switch-amber: #9a5b00;
  --switch-amber-soft: #fff7e7;
  --switch-border: #dbe4f0;
  --switch-muted: #56647a;
  background: #fff;
}

.switch-page main {
  overflow: clip;
}

.switch-page main a:not(.button) {
  color: var(--switch-blue);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.switch-page main a:not(.button):hover {
  color: var(--switch-blue-dark);
}

.switch-section {
  padding: 84px 0;
}

.switch-section-muted {
  background: #f7f9fc;
}

.switch-section-compact {
  padding-top: 62px;
  padding-bottom: 62px;
}

.switch-heading {
  display: grid;
  max-width: 850px;
  gap: 14px;
  margin-bottom: 38px;
}

.switch-heading p,
.switch-prose > p,
.switch-card p,
.switch-step p,
.switch-platform-card p,
.switch-after-card p,
.switch-source-note p {
  color: var(--switch-muted);
  font-size: 17px;
  line-height: 1.72;
}

.switch-kicker {
  color: var(--switch-blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.switch-hero {
  padding: 58px 0 70px;
}

.switch-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: start;
}

.switch-hero-copy {
  display: grid;
  gap: 24px;
}

.switch-hero h1 {
  max-width: 900px;
  color: var(--switch-ink);
  font-size: clamp(38px, 5vw, 64px);
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.switch-answer {
  max-width: 850px;
  padding-left: 22px;
  color: #26344d;
  border-left: 4px solid var(--switch-blue);
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.58;
}

.switch-answer strong {
  color: var(--switch-ink);
}

.switch-law-note {
  max-width: 820px;
  color: var(--switch-muted);
  font-size: 15px;
  line-height: 1.65;
}

.switch-hero-actions,
.switch-service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.switch-hero .button,
.switch-service .button {
  min-height: 52px;
  padding: 14px 21px;
}

.switch-button-outline {
  color: var(--switch-blue);
  background: #fff;
  border: 1px solid #9eb1d0;
}

.switch-button-outline:hover {
  color: var(--switch-blue-dark);
  background: var(--switch-blue-soft);
  border-color: var(--switch-blue);
}

.switch-review {
  color: #68768b;
  font-size: 13px;
  line-height: 1.55;
}

.switch-hero-panel {
  display: grid;
  gap: 20px;
  padding: 28px;
  color: #fff;
  background: var(--switch-ink);
  border-radius: 12px;
  box-shadow: 0 24px 56px rgba(20, 33, 61, 0.17);
}

.switch-hero-panel strong {
  color: #fff;
  font-size: 18px;
}

.switch-hero-panel ol {
  display: grid;
  gap: 16px;
  list-style: none;
  counter-reset: hero-steps;
}

.switch-hero-panel li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: #dbe7ff;
  line-height: 1.5;
  counter-increment: hero-steps;
}

.switch-hero-panel li::before {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--switch-ink);
  background: #fff;
  border-radius: 50%;
  content: counter(hero-steps);
  font-size: 12px;
  font-weight: 800;
}

.switch-toc {
  padding: 18px 0;
  border-block: 1px solid var(--switch-border);
  background: #fff;
}

.switch-toc-inner {
  display: flex;
  gap: 10px 18px;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: thin;
}

.switch-toc strong {
  flex: 0 0 auto;
  color: var(--switch-ink);
  font-size: 14px;
}

.switch-toc a {
  flex: 0 0 auto;
  font-size: 14px;
  white-space: nowrap;
}

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

.switch-card {
  display: grid;
  min-height: 190px;
  gap: 15px;
  align-content: start;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--switch-border);
  border-radius: 10px;
}

.switch-card-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--switch-blue-dark);
  background: var(--switch-blue-soft);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 850;
}

.switch-card h3 {
  color: var(--switch-ink);
  font-size: 18px;
  line-height: 1.3;
}

.switch-card p {
  font-size: 15px;
  line-height: 1.6;
}

.switch-facts-grid .switch-card:last-child {
  grid-column: span 2;
}

.switch-steps {
  display: grid;
  gap: 0;
  max-width: 970px;
  counter-reset: switch-steps;
}

.switch-step {
  position: relative;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 22px;
  padding: 0 0 38px;
  counter-increment: switch-steps;
}

.switch-step::before {
  position: relative;
  z-index: 2;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: #fff;
  background: var(--switch-blue);
  border-radius: 50%;
  content: counter(switch-steps, decimal-leading-zero);
  font-size: 14px;
  font-weight: 850;
}

.switch-step:not(:last-child)::after {
  position: absolute;
  top: 51px;
  bottom: -1px;
  left: 25px;
  width: 2px;
  background: #ccd8ec;
  content: "";
}

.switch-step-content {
  display: grid;
  gap: 10px;
  padding-top: 4px;
}

.switch-step h3 {
  color: var(--switch-ink);
  font-size: 23px;
  line-height: 1.25;
}

.switch-step p {
  max-width: 780px;
  font-size: 16px;
}

.switch-callout {
  display: grid;
  gap: 12px;
  max-width: 970px;
  margin-top: 12px;
  padding: 24px 26px;
  background: var(--switch-amber-soft);
  border: 1px solid #efd49d;
  border-left: 5px solid #d18a19;
  border-radius: 8px;
}

.switch-callout strong {
  color: #6d4300;
  font-size: 17px;
}

.switch-callout p {
  color: #6a5431;
  line-height: 1.68;
}

.switch-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.switch-prose {
  display: grid;
  gap: 18px;
}

.switch-prose h3 {
  color: var(--switch-ink);
  font-size: 24px;
}

.switch-prose ul,
.switch-checklist,
.switch-error-list,
.switch-service-list {
  display: grid;
  gap: 12px;
  list-style: none;
}

.switch-prose li,
.switch-checklist li,
.switch-error-list li,
.switch-service-list li {
  position: relative;
  padding-left: 28px;
  color: #47566c;
  line-height: 1.65;
}

.switch-prose li::before,
.switch-checklist li::before,
.switch-service-list li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--switch-green);
  border-radius: 50%;
  content: "";
}

.switch-vote-example {
  display: grid;
  gap: 18px;
  padding: 30px;
  background: var(--switch-blue-soft);
  border: 1px solid #cddcf7;
  border-radius: 10px;
}

.switch-vote-number {
  color: var(--switch-blue-dark);
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.switch-vote-example p {
  color: #344665;
  line-height: 1.65;
}

.switch-agenda {
  display: grid;
  max-width: 990px;
  gap: 14px;
  list-style: none;
  counter-reset: agenda;
}

.switch-agenda li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 20px 22px;
  color: #344257;
  background: #fff;
  border: 1px solid var(--switch-border);
  border-radius: 8px;
  line-height: 1.62;
  counter-increment: agenda;
}

.switch-agenda li::before {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--switch-blue-dark);
  background: var(--switch-blue-soft);
  border-radius: 7px;
  content: counter(agenda);
  font-weight: 800;
}

.switch-docs-box {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 36px;
  align-items: center;
  padding: clamp(28px, 5vw, 48px);
  background: #fff;
  border: 1px solid var(--switch-border);
  border-radius: 12px;
  box-shadow: 0 18px 45px rgba(20, 33, 61, 0.07);
}

.switch-docs-action {
  display: grid;
  gap: 12px;
  justify-items: start;
  padding: 22px;
  background: #f6f9fe;
  border-radius: 9px;
}

.switch-docs-action strong {
  color: var(--switch-ink);
  font-size: 18px;
}

.switch-docs-action span {
  color: var(--switch-muted);
  font-size: 14px;
  line-height: 1.55;
}

.switch-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: 10px;
}

.switch-timeline article {
  position: relative;
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 235px;
  padding: 38px 20px 24px;
  background: #fff;
  border-block: 1px solid var(--switch-border);
  border-left: 1px solid var(--switch-border);
}

.switch-timeline article:first-child {
  border-radius: 10px 0 0 10px;
}

.switch-timeline article:last-child {
  border-right: 1px solid var(--switch-border);
  border-radius: 0 10px 10px 0;
}

.switch-timeline article::before {
  position: absolute;
  top: -9px;
  left: 20px;
  width: 16px;
  height: 16px;
  background: var(--switch-blue);
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--switch-blue);
  content: "";
}

.switch-timeline time {
  color: var(--switch-blue);
  font-size: 13px;
  font-weight: 800;
}

.switch-timeline h3 {
  color: var(--switch-ink);
  font-size: 18px;
  line-height: 1.35;
}

.switch-timeline p {
  color: var(--switch-muted);
  font-size: 14px;
  line-height: 1.58;
}

.switch-timeline-note {
  max-width: 880px;
  margin-top: 20px;
  color: var(--switch-muted);
  font-size: 14px;
  line-height: 1.65;
}

.switch-platform-grid,
.switch-after-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.switch-platform-card,
.switch-after-card {
  display: grid;
  gap: 13px;
  align-content: start;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--switch-border);
  border-radius: 9px;
}

.switch-platform-card h3,
.switch-after-card h3 {
  color: var(--switch-ink);
  font-size: 21px;
  line-height: 1.3;
}

.switch-platform-card p,
.switch-after-card p {
  font-size: 15px;
}

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

.switch-after-card:last-child {
  grid-column: 1 / -1;
}

.switch-choice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  padding: 36px;
  background: var(--switch-green-soft);
  border: 1px solid #c6e7d5;
  border-radius: 10px;
}

.switch-choice-copy {
  display: grid;
  gap: 12px;
}

.switch-choice h2 {
  color: #174a33;
  font-size: clamp(28px, 3.5vw, 40px);
}

.switch-choice p {
  max-width: 770px;
  color: #3d6553;
  font-size: 16px;
  line-height: 1.68;
}

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

.switch-error-list li {
  min-height: 88px;
  padding: 19px 20px 19px 58px;
  background: #fff;
  border: 1px solid var(--switch-border);
  border-radius: 8px;
}

.switch-error-list li::before {
  position: absolute;
  top: 19px;
  left: 20px;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  color: #9f2f2f;
  background: #fff0f0;
  border-radius: 50%;
  content: "!";
  font-size: 13px;
  font-weight: 850;
}

.switch-service {
  color: #fff;
  background: var(--switch-ink);
}

.switch-service-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 7vw, 90px);
  align-items: center;
}

.switch-service-copy {
  display: grid;
  gap: 20px;
}

.switch-service .switch-kicker,
.switch-service h2,
.switch-service p,
.switch-service li {
  color: #fff;
}

.switch-service h2 {
  max-width: 650px;
  font-size: clamp(34px, 4.2vw, 50px);
}

.switch-service p {
  color: #d4def2;
  font-size: 17px;
  line-height: 1.68;
}

.switch-service-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
}

.switch-service-list li {
  min-height: 98px;
  padding: 25px 24px 25px 54px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.switch-service-list li::before {
  top: 31px;
  left: 25px;
  width: 11px;
  height: 11px;
  background: #80d6aa;
}

.switch-faq-list {
  display: grid;
  max-width: 980px;
  gap: 10px;
}

.switch-faq-list details {
  background: #fff;
  border: 1px solid var(--switch-border);
  border-radius: 8px;
}

.switch-faq-list summary {
  position: relative;
  padding: 21px 58px 21px 22px;
  color: var(--switch-ink);
  font-weight: 750;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}

.switch-faq-list summary::-webkit-details-marker {
  display: none;
}

.switch-faq-list summary::after {
  position: absolute;
  top: 17px;
  right: 18px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--switch-blue);
  background: var(--switch-blue-soft);
  border-radius: 50%;
  content: "+";
  font-size: 22px;
  line-height: 1;
}

.switch-faq-list details[open] summary::after {
  content: "−";
}

.switch-faq-list details p {
  max-width: 850px;
  padding: 0 22px 22px;
  color: var(--switch-muted);
  line-height: 1.68;
}

.switch-source-note {
  display: grid;
  gap: 24px;
  padding: 32px;
  background: #f7f9fc;
  border: 1px solid var(--switch-border);
  border-radius: 10px;
}

.switch-source-note h2 {
  color: var(--switch-ink);
  font-size: 30px;
}

.switch-source-list {
  display: grid;
  gap: 10px;
  padding-left: 22px;
}

.switch-source-list li {
  color: #506078;
  line-height: 1.6;
}

.switch-author {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-top: 20px;
  border-top: 1px solid var(--switch-border);
  color: #667489;
  font-size: 14px;
}

@media (max-width: 980px) {
  .switch-hero-grid,
  .switch-service-grid {
    grid-template-columns: 1fr;
  }

  .switch-hero-panel {
    max-width: 720px;
  }

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

  .switch-facts-grid .switch-card:last-child {
    grid-column: auto;
  }

  .switch-timeline {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-left: 18px;
  }

  .switch-timeline article,
  .switch-timeline article:first-child,
  .switch-timeline article:last-child {
    min-height: 0;
    padding: 22px 24px 22px 34px;
    border: 1px solid var(--switch-border);
    border-radius: 8px;
  }

  .switch-timeline article::before {
    top: 25px;
    left: -27px;
  }

  .switch-timeline article:not(:last-child)::after {
    position: absolute;
    top: 42px;
    bottom: -32px;
    left: -20px;
    width: 2px;
    background: #cbd8ee;
    content: "";
  }
}

@media (max-width: 760px) {
  .switch-section {
    padding: 62px 0;
  }

  .switch-section-compact {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .switch-hero {
    padding: 38px 0 52px;
  }

  .switch-hero h1 {
    font-size: clamp(35px, 11vw, 48px);
  }

  .switch-answer {
    padding-left: 16px;
    font-size: 18px;
  }

  .switch-hero-actions,
  .switch-service-actions {
    display: grid;
  }

  .switch-hero-actions .button,
  .switch-service-actions .button {
    width: 100%;
  }

  .switch-hero-panel {
    padding: 22px;
  }

  .switch-facts-grid,
  .switch-two-column,
  .switch-platform-grid,
  .switch-after-grid,
  .switch-error-list,
  .switch-service-list {
    grid-template-columns: 1fr;
  }

  .switch-after-card:last-child {
    grid-column: auto;
  }

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

  .switch-step {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 15px;
    padding-bottom: 30px;
  }

  .switch-step::before {
    width: 42px;
    height: 42px;
    font-size: 12px;
  }

  .switch-step:not(:last-child)::after {
    top: 41px;
    left: 20px;
  }

  .switch-step h3 {
    font-size: 20px;
  }

  .switch-agenda li {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    padding: 17px;
  }

  .switch-agenda li::before {
    width: 32px;
    height: 32px;
  }

  .switch-docs-box,
  .switch-choice {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 26px 20px;
  }

  .switch-choice .button {
    width: 100%;
  }

  .switch-service-list li {
    border-right: 0;
  }

  .switch-source-note {
    padding: 24px 20px;
  }
}
