/* Standalone Singapore EOI Page Layout (Figma Node: 437-8611 & 437-9093 Exact Match) */
html, body {
  margin: 0;
  padding: 0;
  background-color: #060606;
  color: #ffffff;
  min-height: 100vh;
  font-family: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
}

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,400&display=swap');

/* Main Page Canvas */
.eoi-page-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 24px 20px 32px;
  box-sizing: border-box;
  background: 
    radial-gradient(circle at 95% 0%, rgba(82, 6, 180, 0.18) 0%, rgba(82, 6, 180, 0) 100%),
    #060606;
}

/* Ensure no close buttons are ever shown */
.switch-close-btn,
.switch-mobile-close {
  display: none !important;
}

/* Main Content Wrapper (1328px Figma max) */
.switch-modal-wrapper {
  width: 100%;
  max-width: 1328px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 0 auto;
  position: relative;
  box-sizing: border-box;
}

/* ---------------------------------------------------------
   Desktop Topbar (Exact 1328px Figma Match)
   --------------------------------------------------------- */
.switch-modal-topbar {
  display: none;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  color: #ffffff;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  .switch-modal-topbar {
    display: flex;
  }
}

.switch-topbar-logo {
  display: flex;
  align-items: center;
  background: transparent;
  border: none;
  padding: 0;
  text-decoration: none;
}

.switch-topbar-logo svg {
  width: 150px;
  height: auto;
  display: block;
}

.switch-topbar-center {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #8D99AF;
  letter-spacing: 0.0286em;
}

.switch-topbar-right {
  display: flex;
  align-items: center;
  gap: 28px;
  opacity: 0.65;
}

.switch-topbar-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  line-height: 1.15;
}

.switch-topbar-badge .badge-label {
  font-size: 10px;
  font-weight: 700;
  color: #cbd5e1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.switch-topbar-badge .badge-stars {
  font-size: 10px;
  color: #ffffff;
  letter-spacing: 2px;
}

/* ---------------------------------------------------------
   Main Split Card (Body #437:8639: 1328px × 740px)
   --------------------------------------------------------- */
.switch-modal-card {
  width: 100%;
  max-width: 1328px;
  background: #ffffff;
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-sizing: border-box;
  box-shadow: 0 30px 90px -20px rgba(0, 0, 0, 0.95);
}

@media (min-width: 1024px) {
  .switch-modal-card {
    flex-direction: row;
    height: 740px;
    border-radius: 32px;
  }
}

/* ---------------------------------------------------------
   Left Hero Column (Mobile: 403px, Desktop: 820px × 740px)
   --------------------------------------------------------- */
.switch-modal-left {
  flex: 0 0 auto;
  width: 100%;
  height: 403px;
  background-color: #201438;
  background-image: linear-gradient(135deg, rgba(216, 4, 42, 1) 0%, rgba(32, 20, 56, 1) 77%);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  border-radius: 0 0 28px 28px;
}

/* Mobile Team Arches placed cleanly at the bottom without tint */
.switch-mobile-arches {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  pointer-events: none;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

@media (min-width: 1024px) {
  .switch-mobile-arches {
    display: none !important;
  }
}

.switch-mobile-arches-img {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  object-fit: contain;
}

@media (min-width: 1024px) {
  .switch-modal-left {
    flex: 0 0 820px;
    width: 820px;
    height: 740px;
    background-color: #201438;
    background-image: linear-gradient(135deg, rgba(216, 4, 42, 0.7) 0%, rgba(32, 20, 56, 0.7) 55%);
    position: relative;
    border-top-left-radius: 32px;
    border-bottom-left-radius: 32px;
    border-top-right-radius: 0;
  }

  .switch-desktop-arches {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 820px;
    height: 402px;
    pointer-events: none;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: flex-end;
  }

  .switch-desktop-hero-img {
    width: 820px;
    height: auto;
    max-height: 402px;
    display: block;
    object-fit: contain;
    object-position: bottom;
  }

  .switch-modal-left.step-3 .switch-desktop-arches {
    display: none !important;
  }

  .switch-desktop-step3-hero {
    position: absolute;
    left: 0;
    top: 0;
    width: 820px;
    height: 740px;
    pointer-events: none;
    z-index: 10;
    display: none;
  }

  .switch-desktop-step3-img {
    width: 820px;
    height: 740px;
    display: block;
    object-fit: cover;
  }

  .switch-modal-left.step-3 .switch-desktop-step3-hero {
    display: block !important;
  }
}

.switch-desktop-arches,
.switch-desktop-step3-hero {
  display: none;
}

@media (min-width: 1024px) {
  .switch-desktop-arches {
    display: block;
  }
}

.switch-modal-left.step-3 {
  background-image: linear-gradient(135deg, rgba(216, 4, 42, 0.7) 0%, rgba(32, 20, 56, 0.7) 55%) !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

@media (max-width: 1023px) {
  .switch-modal-left.step-3 {
    background-image: linear-gradient(135deg, rgba(216, 4, 42, 1) 0%, rgba(32, 20, 56, 1) 77%) !important;
  }
}

/* Mobile In-Hero Header Bar (Figma 707:2859 exact: Black bar with Upsimpl Logo & Clutch Badge) */
.switch-mobile-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #000000;
  padding: 14px 20px 12px 20px;
  box-sizing: border-box;
  z-index: 25;
}

@media (min-width: 1024px) {
  .switch-mobile-header {
    display: none !important;
  }
}

.switch-mobile-logo {
  display: flex;
  align-items: center;
  background: transparent;
  border: none;
  padding: 0;
  text-decoration: none;
}

.switch-mobile-logo svg {
  width: 101px;
  height: auto;
  display: block;
}

.switch-mobile-clutch {
  display: flex;
  align-items: center;
  justify-content: center;
}

.switch-mobile-clutch-svg {
  width: 76px;
  height: 36px;
  display: block;
}

/* In-Hero Mobile Headline (Figma #794:138 - 12px 20px padding, gap: 8px) */
.switch-mobile-headline {
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 20;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  .switch-mobile-headline {
    display: none !important;
  }
}

.switch-mobile-title-main {
  font-family: 'Outfit', sans-serif;
  font-size: 34px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.04;
  letter-spacing: -2px;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.switch-mobile-title-sub {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.04;
  letter-spacing: 0;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.switch-mobile-title-serif {
  display: none !important;
}

/* Desktop In-Hero Live Headline */
.switch-desktop-headline {
  display: none;
}

@media (min-width: 1024px) {
  .switch-desktop-headline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 72px 64px 0;
    display: flex !important;
    flex-direction: column;
    gap: 12px;
    z-index: 20;
    box-sizing: border-box;
    pointer-events: none;
  }

  .switch-modal-left.step-3 .switch-desktop-headline {
    display: none !important;
  }

  .switch-desktop-title-main {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(44px, 4vw, 56px);
    font-weight: 600;
    color: #ffffff;
    line-height: 1.08;
    letter-spacing: -2.5px;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  }

  .switch-desktop-title-sub {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(22px, 1.9vw, 28px);
    font-weight: 500;
    color: #ffffff;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  }
}

.switch-step3-headline {
  display: none !important;
}

/* ---------------------------------------------------------
   Right Form Column (508px × 740px)
   --------------------------------------------------------- */
.switch-modal-right {
  flex: 1 1 auto;
  background: #f5f5f5;
  color: #2b2d42;
  padding: 24px 20px 32px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.switch-modal-right::-webkit-scrollbar {
  display: none;
}

@media (min-width: 1024px) {
  .switch-modal-right {
    flex: 0 0 508px;
    width: 508px;
    height: 740px;
    padding: 56px 56px 32px;
    border-top-right-radius: 32px;
    border-bottom-right-radius: 32px;
  }
}

.switch-step-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

@media (min-width: 1024px) {
  .switch-step-container {
    justify-content: flex-start;
  }
  .switch-step-container > .switch-step-header {
    margin-bottom: 28px;
  }
}

/* Step Header & Progress */
.switch-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.switch-step-counter {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #82909e;
  letter-spacing: 0.23em;
}

.switch-progress-bars {
  display: flex;
  align-items: center;
  gap: 8px;
}

.switch-progress-bar {
  width: 50px;
  height: 3px;
  border-radius: 2px;
  background: #e3e8ee;
  transition: background 0.25s ease;
}

@media (min-width: 1024px) {
  .switch-progress-bar {
    width: 60px;
  }
}

.switch-progress-bar.active {
  background: #d8042a;
}

/* Heading: Figma Match */
.switch-step-title {
  margin: 0 0 8px 0;
  line-height: 1.25;
}

.switch-step-title-muted {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #82909e;
  letter-spacing: -0.0125em;
  display: inline;
}

.switch-step-title-dark {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #2b2d42;
  letter-spacing: -0.0125em;
  display: inline;
}

@media (min-width: 1024px) {
  .switch-step-title {
    margin: 0 0 12px 0;
    line-height: 44px;
  }
  .switch-step-title-muted {
    font-size: 38px;
    line-height: 44px;
    display: block;
  }
  .switch-step-title-dark {
    font-size: 38px;
    line-height: 44px;
    display: block;
  }
}

.switch-step-sub {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  color: #82909e;
  margin: 4px 0 24px 0;
  font-weight: 400;
}

.mobile-line-break {
  display: inline;
}

.desktop-only-break {
  display: none;
}

@media (min-width: 1024px) {
  .mobile-line-break {
    display: none;
  }
  .desktop-only-break {
    display: inline;
  }
  .switch-step2-title .switch-step-title-muted,
  .switch-step2-title .switch-step-title-dark {
    display: inline !important;
  }
}

/* Topic Selection 4 Rows Layout (Step 1) */
.switch-topic-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
  width: 100%;
}

@media (min-width: 480px) {
  .switch-topic-list {
    gap: 14px;
    margin-top: 22px;
  }
}

@media (min-width: 1024px) {
  .switch-topic-list {
    gap: 14px;
    margin-top: 24px;
  }
}

.switch-topic-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 18px;
  min-height: 68px;
  border-radius: 20px;
  border: 1.5px solid #e3e8ee;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
  box-sizing: border-box;
}

@media (min-width: 480px) {
  .switch-topic-card {
    padding: 14px 22px;
    min-height: 72px;
  }
}

@media (min-width: 1024px) {
  .switch-topic-card {
    padding: 16px 24px;
    min-height: 76px;
  }
}

.switch-topic-card-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.switch-topic-card:hover {
  border-color: #cbd5e1;
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.switch-topic-card.selected {
  border: 1.6px solid #FF3B5C;
  background: #FFF5F7;
  box-shadow: 0px 8px 24px rgba(216, 4, 42, 0.12);
}

.switch-topic-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

@media (min-width: 480px) {
  .switch-topic-img {
    width: 48px;
    height: 48px;
  }
}

.switch-topic-title {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #2b2d42;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 0;
}

@media (min-width: 1024px) {
  .switch-topic-title {
    font-size: 16px;
  }
}

/* Radio Indicator on Right */
.switch-topic-radio {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.switch-topic-card:hover .switch-topic-radio {
  border-color: #94A3B8;
}

.switch-topic-radio-inner {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #FF3B5C;
  opacity: 0;
  transform: scale(0);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.switch-topic-card.selected .switch-topic-radio {
  border-color: #FF3B5C;
}

.switch-topic-card.selected .switch-topic-radio-inner {
  opacity: 1;
  transform: scale(1);
}

/* Step 2 Form */
.switch-topic-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFF1F3;
  border: 1px solid rgba(255, 59, 92, 0.5);
  color: #4A5160;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px 8px 12px;
  border-radius: 40px;
  margin-bottom: 14px;
}

.switch-topic-tag-label {
  color: #4A5160;
}

.switch-topic-tag-title {
  color: #2B2D42;
  font-weight: 600;
}

.switch-topic-sep {
  color: #82909e;
}

.switch-topic-change {
  color: #FF3B5C;
  font-weight: 700;
  cursor: pointer;
}

/* Step 2 Form Underline Style (Figma Exact Match) */
.switch-form-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
  margin-bottom: 24px;
}

.switch-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}

.switch-label {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1818em;
  color: #82909E;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.switch-input-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  width: 100%;
}

.switch-input {
  width: 100%;
  box-sizing: border-box;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 4px 0 6px 0;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #2B2D42;
  outline: none;
  box-shadow: none;
}

.switch-input::placeholder {
  color: #82909E;
  font-weight: 400;
  opacity: 0.85;
}

.switch-field-icon {
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 8px;
}

.switch-underline {
  width: 100%;
  height: 1px;
  background-color: #CED4DA;
  transition: all 0.2s ease;
}

.switch-field.focused .switch-underline {
  height: 2px;
  background: linear-gradient(90deg, #FF3B5C 0%, #D8042A 100%);
}

/* Button Styling (Figma Exact Match: Secondary White Pill & Primary Red Pill with Dotted Arrow) */

.switch-form-note {
  font-family: 'Roboto', sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: 11px;
  line-height: 1.5;
  color: #82909E;
  letter-spacing: 0.02em;
  margin-top: 10px;
  margin-bottom: 0;
}

.switch-actions-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.switch-back-btn {
  background: #FFFFFF;
  border: 1px solid #FFFFFF;
  border-radius: 32px;
  color: #2B2D42;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0 25px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.18s ease;
  flex: 0 0 auto;
}

.switch-back-btn:hover {
  background: #fdfdfd;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.switch-primary-btn {
  flex: 1 1 auto;
  background: #D8042A;
  color: #FFFFFF !important;
  border: none;
  border-radius: 100px;
  padding: 0 28px;
  height: 64px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  box-shadow: 0px 8px 20px 0px rgba(216, 4, 42, 0.2);
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.switch-primary-btn:hover {
  background: #bf0324;
  box-shadow: 0px 10px 24px 0px rgba(216, 4, 42, 0.35);
  transform: translateY(-1px);
}

.switch-btn-icon-pill {
  width: 64px;
  height: 45px;
  border-radius: 22.5px;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  padding: 0;
}

.switch-btn-arrow-img {
  width: 64px;
  height: 45px;
  display: block;
}

.switch-btn-text {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.18em;
  text-transform: uppercase;
  color: #FFFFFF;
  letter-spacing: 0.03em;
  text-align: center;
  flex: 1 1 auto;
}

@media (min-width: 1024px) {
  .switch-thankyou-box .switch-btn-text {
    font-size: 20px;
    line-height: 30px;
  }
}

/* Step 3 Confirmation / Timeline */
.switch-thankyou-box {
  display: flex;
  flex-direction: column;
  height: 100%;
}

@media (min-width: 1024px) {
  .switch-thankyou-box {
    justify-content: flex-start;
  }
}

.switch-thankyou-icon-wrap {
  margin-bottom: 16px;
}

@media (min-width: 1024px) {
  .switch-thankyou-icon-wrap {
    margin-bottom: 24px;
  }
}

.switch-thankyou-icon {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

@media (min-width: 1024px) {
  .switch-thankyou-icon {
    width: 88px;
    height: 88px;
  }
}

.switch-name-serif {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

@media (min-width: 1024px) {
  .switch-thankyou-box .switch-step-title-dark {
    font-size: 44px;
    line-height: 52px;
  }
  .switch-thankyou-box .switch-step-sub {
    font-size: 18px;
    line-height: 28px;
    color: #4A5160;
    max-width: 396px;
    margin: 8px 0 24px 0;
  }
}

.switch-timeline-card {
  background: #ffffff;
  border: 1px solid #e3e8ee;
  border-radius: 20px;
  padding: 18px 20px 22px;
  margin: 16px 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.switch-timeline-title {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1818em;
  color: #82909e;
  margin-bottom: 0;
  text-transform: uppercase;
}

.switch-timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.4;
}

.switch-timeline-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #CFD4D9;
  flex-shrink: 0;
  margin-top: 5px;
}

.switch-timeline-dot.active {
  background: #FF3B5C;
}

.switch-timeline-bullet {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #2B2D42;
  width: 72px;
  flex-shrink: 0;
}

.switch-timeline-text {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #82909E;
  flex: 1 1 auto;
}

/* Mobile Review Footer below Card */
.switch-mobile-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 20px 32px;
  background: transparent;
}

@media (min-width: 1024px) {
  .switch-mobile-footer {
    display: none;
  }
}

.switch-mobile-footer-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0.65;
}

.switch-mobile-footer-text {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #8D99AF;
  letter-spacing: 0.0286em;
  text-align: center;
}

/* Mobile full-bleed page flow (Figma 393px match) */

/* Mobile full-bleed page flow (< 768px - Figma 393px match) */
@media (max-width: 767px) {
  .eoi-page-container {
    padding: 0;
    align-items: flex-start;
    background: #0f0f10;
  }

  .switch-modal-wrapper {
    max-width: 100%;
    gap: 0;
  }

  .switch-modal-card {
    border-radius: 0;
    box-shadow: none;
    border: none;
    background: #f5f5f5;
  }

  .switch-modal-left {
    height: 403px;
    border-radius: 0 0 28px 28px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    background-size: 100% auto !important;
    background-position: center bottom !important;
  }

  .switch-modal-right {
    border-radius: 0;
    padding: 20px 20px 32px 20px;
  }

  .switch-mobile-footer {
    background: #0a090f;
    padding: 28px 20px 40px;
  }
}

/* Tablet Portrait Centered Card (768px to 1023px, e.g. iPad portrait) */
@media (min-width: 768px) and (max-width: 1023px) {
  .eoi-page-container {
    padding: 32px 24px 48px;
    align-items: center;
    background: 
      radial-gradient(circle at 95% 0%, rgba(82, 6, 180, 0.18) 0%, rgba(82, 6, 180, 0) 100%),
      #060606;
  }

  .switch-modal-wrapper {
    max-width: 680px;
    gap: 24px;
    margin: 0 auto;
  }

  /* Show Topbar on Tablet */
  .switch-modal-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 4px;
  }

  /* Hide in-hero mobile header when tablet topbar is visible */
  .switch-mobile-header {
    display: none !important;
  }

  .switch-modal-card {
    border-radius: 28px;
    box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.8);
    background: #f5f5f5;
    overflow: hidden;
  }

  .switch-modal-left {
    height: 440px;
    border-radius: 28px 28px 0 0;
  }

  .switch-mobile-headline {
    top: 48px;
    left: 40px;
    right: 40px;
    text-align: center;
  }

  .switch-mobile-title-main {
    font-size: 38px;
  }

  .switch-mobile-title-serif {
    font-size: 42px;
  }

  .switch-mobile-arches {
    justify-content: center;
  }

  .switch-mobile-arches-img {
    max-width: 480px;
  }

  .switch-modal-right {
    padding: 36px 40px 40px;
    border-radius: 0 0 28px 28px;
  }

  .switch-step-title-muted,
  .switch-step-title-dark {
    font-size: 26px;
  }

  .switch-mobile-footer {
    display: flex;
    padding: 16px 0 0;
  }
}



/* Transform Scale for Desktop/Tablet landscape (1024px to 1360px) */
@media (min-width: 1024px) {
  .switch-modal-wrapper {
    width: 1328px;
    max-width: 1328px;
    transform-origin: top left;
  }
}


.switch-topbar-center a,
.switch-mobile-footer-text a {
  color: #8D99AF;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.switch-topbar-center a:hover,
.switch-mobile-footer-text a:hover {
  color: #FFFFFF;
}
