/* Selected website direction: Porcelain. Loaded after the existing site styles. */
html[data-mx-theme="porcelain"] {
  --bg: #f4f7fb;
  --ink: #07111b;
  --ink-2: #0f1728;
  --text: #0f1728;
  --muted: #516078;
  --primary: #2463ff;
  --primary-2: #104ac9;
  --line: #dce4ef;
  --line-strong: #bdcde2;
  --surface-blue: #edf3ff;
  --radius-lg: 24px;
  --radius-md: 24px;
  --radius-sm: 16px;
  --shadow-sm: 0 6px 20px #15336208;
  --shadow-lg: 0 12px 36px #1533620d;
  --transition: 180ms ease;
  font-family: "Manrope", "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: 16px;
  line-height: 1.625;
  color-scheme: light;
}
html[data-mx-theme="porcelain"] body {
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", "Noto Sans SC", "PingFang SC", sans-serif;
}
.mx-site { background: var(--bg); padding-top: 88px; }
.mx-site :is(h1, h2, h3, h4, input, select, textarea, button) {
  font-family: inherit;
}
.mx-site :is(h1, h2, h3, h4) { font-weight: 700; color: var(--ink); text-wrap: balance; }
.mx-site :is(p, li) { line-height: 1.625; }
.mx-site :is(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--primary-2);
  outline-offset: 4px;
}
.mx-site :is(a, button):active { transform: translateY(1px); }
.mx-nav {
  height: 88px;
  max-width: 1280px;
  gap: 24px;
  padding: 0 24px;
  color: var(--ink);
}
.mx-nav::before, .mx-nav.is-scrolled::before {
  height: 88px;
  background: #fff;
  border-bottom: 1px solid #e5ebf3;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.mx-brand { flex: 0 0 auto; }
.mx-brand img { width: 152px; filter: none; }
.mx-nav nav { gap: 22px; font-size: 14px; font-weight: 500; color: #34435b; }
.mx-nav nav a { min-height: 48px; white-space: nowrap; }
.mx-nav nav a[aria-current="page"] { color: var(--primary-2); text-decoration-color: var(--primary); }
.mx-nav-actions { flex: 0 0 auto; gap: 12px; }
.mx-lang-toggle {
  height: 48px;
  padding: 0 12px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: #34435b;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.mx-lang-toggle span { display: none; }
.mx-lang-toggle strong { font-size: 14px; font-weight: 600; }
.mx-lang-toggle:hover { background: var(--surface-blue); }
.mx-nav-cta, .mx-porcelain-primary, .mx-form button, .mx-inline-form button, .mx-support-preview a, .mx-button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 56px;
  height: auto;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: var(--primary);
  color: #fff;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.mx-nav-cta { min-height: 48px; padding: 10px 20px; font-size: 14px; border-radius: 14px; }
.mx-nav-cta:hover, .mx-porcelain-primary:hover, .mx-form button:hover, .mx-inline-form button:hover, .mx-support-preview a:hover, .mx-button-primary:hover {
  color: #fff;
  background: var(--primary-2);
  box-shadow: none;
  transform: translateY(-1px);
}
.mx-nav :is(a, button):focus-visible { color: var(--primary-2); background: var(--surface-blue); }
.mx-nav .mx-nav-cta:focus-visible { color: #fff; background: var(--primary-2); }
.mx-home[data-porcelain-ready] {
  max-width: 1280px;
  min-height: calc(100svh - 88px);
  padding: 88px 24px 104px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: 32px;
}
.mx-home .mx-hero-copy { text-align: left; }
.mx-home .mx-launch-state {
  min-height: 0;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 22px;
  font-weight: 600;
  color: var(--primary-2);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.mx-home h1, html[lang="zh-Hans"] .mx-home h1 {
  max-width: 640px;
  font-size: 64px;
  line-height: 72px;
  font-weight: 700;
  letter-spacing: -.025em;
}
html[lang="zh-Hans"] .mx-home h1 { letter-spacing: 0; }
.mx-home .mx-hero-copy > p {
  max-width: 440px;
  margin: 24px 0 0;
  color: #516078;
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
  word-break: normal;
  overflow-wrap: normal;
}
.mx-porcelain-primary { margin-top: 32px; transition: background var(--transition), transform var(--transition); }
.mx-porcelain-primary .material-symbols-outlined { font-size: 22px; }
.mx-home .mx-local-trust {
  display: block;
  max-width: 440px;
  margin-top: 18px;
  font-size: 13px;
  line-height: 22px;
  color: #516078;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.mx-porcelain-artwork { width: 100%; margin: 0; }
.mx-porcelain-artwork img { display: block; width: 112%; max-width: 112%; height: auto; margin-left: -6%; }
.mx-porcelain-entries, .mx-porcelain-coverage { max-width: 1280px; margin: 0 auto; padding: 0 24px 80px; }
.mx-porcelain-entries .mx-hero-routes { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; gap: 24px; }
.mx-porcelain-entries .mx-link-panel { min-height: 184px; padding: 32px 124px 32px 32px; border-radius: 24px; border-color: var(--line); }
.mx-porcelain-entries .mx-link-panel > span { color: var(--primary-2); font-size: 14px; font-weight: 600; }
.mx-porcelain-entries .mx-link-panel strong { font-size: 24px; line-height: 32px; font-weight: 700; }
.mx-porcelain-entries .mx-link-panel p { max-width: 360px; font-size: 15px; line-height: 24px; margin: 0; color: #516078; }
.mx-porcelain-entries .mx-route-icon { width: 72px; height: 72px; right: 32px; }
.mx-porcelain-entries .mx-route-icon img { border-radius: 16px; }
.mx-porcelain-coverage-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.mx-porcelain-coverage h2 { font-size: 32px; line-height: 40px; }
.mx-porcelain-coverage-link { display: inline-flex; align-items: center; gap: 16px; min-height: 48px; color: var(--primary-2); font-weight: 600; }
.mx-porcelain-coverage .mx-home-map .mx-hero-visual { aspect-ratio: auto; height: 580px; min-height: 0; border: 1px solid var(--line); }
.mx-porcelain-coverage .mx-map-note { margin: 16px 0 0; color: #516078; font-size: 14px; line-height: 22px; }
.mx-page-shell, .mx-legal-doc-shell { max-width: 1280px; padding: 72px 24px 96px; }
.mx-page-hero { max-width: 880px; margin-bottom: 48px; }
.mx-page-hero h1 { font-size: 52px; line-height: 1.2; letter-spacing: -.025em; }
html[lang="zh-Hans"] .mx-page-hero h1 { letter-spacing: 0; }
.mx-page-hero > p { max-width: 680px; margin-top: 24px; font-size: 16px; line-height: 26px; color: #516078; }
.mx-page-hero .mx-section-label, .mx-section-label { color: var(--primary-2); font-size: 14px; line-height: 22px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.mx-page-grid { margin-top: 40px; }
.mx-two-column, .mx-two-column-reverse { gap: 40px; }
.mx-porcelain-go > .mx-form { grid-column: 2; grid-row: 1; }
.mx-porcelain-go > div { grid-column: 1; grid-row: 1; }
.mx-site :is(.mx-card, .mx-category, .mx-contact-card, .mx-form, .mx-inline-form, .mx-flow-panel, .mx-flow-switch, .mx-zone-panel, .mx-support-card, .mx-support-preview, .mx-legal-item, .mx-legal-doc-card, .mx-search-landing-card, .mx-search-landing-actions),
.mx-mini-grid article, .mx-check-list li, .mx-step-list-horizontal li, .mx-legal-list a {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.mx-site :is(.mx-card, .mx-contact-card, .mx-form, .mx-inline-form, .mx-zone-panel, .mx-support-preview) { border-radius: 24px; padding: 28px; }
.mx-card { min-height: 160px; }
.mx-site :is(.mx-card, .mx-contact-card, .mx-support-card, .mx-legal-item):hover { transform: translateY(-1px); border-color: #b4c8ed; box-shadow: none; }
.mx-contact-card::after, .mx-legal-list a::after, .mx-legal-item::after, .mx-support-card::after { display: none; }
.mx-site :is(.mx-card h3, .mx-mini-grid h3, .mx-form h3, .mx-zone-panel h3) { font-size: 20px; line-height: 28px; font-weight: 700; }
.mx-site :is(.mx-card p, .mx-mini-grid p, .mx-check-list li, .mx-step-list li) { color: #516078; font-size: 15px; line-height: 24px; font-weight: 400; }
.mx-mini-grid { gap: 16px; margin-top: 24px; }
.mx-mini-grid article { padding: 24px; }
.mx-check-list { gap: 12px; }
.mx-check-list li::before { box-shadow: none; width: 6px; height: 6px; top: 22px; }
.mx-category { min-height: 112px; border-radius: 16px; }
.mx-category strong { font-size: 14px; line-height: 22px; font-weight: 600; }
.mx-category:hover, .mx-category.is-active, .mx-category:focus-visible { color: var(--primary-2); border-color: var(--primary); background: #edf3ff; box-shadow: none; transform: none; }
.mx-category::after { display: none; }
.mx-form { gap: 20px; }
.mx-form label, .mx-inline-form label { color: #34435b; font-size: 14px; line-height: 22px; font-weight: 500; }
.mx-form :is(input, select), .mx-inline-form input {
  min-height: 52px;
  min-width: 0;
  padding: 12px 14px;
  color: var(--text);
  background: #fff;
  border: 1px solid #bdcde2;
  border-radius: 12px;
  font-size: 16px;
  line-height: 24px;
  box-shadow: none;
}
.mx-form .mx-consent, .mx-inline-form .mx-consent { grid-template-columns: 20px minmax(0, 1fr) !important; gap: 12px !important; font-size: 14px !important; line-height: 22px; }
.mx-consent input { width: 20px; min-height: 20px; height: 20px; margin: 2px 0 0; padding: 0; }
.mx-consent a { font-weight: 600; color: var(--primary-2); text-decoration: underline; text-underline-offset: 3px; }
.mx-form-status { font-size: 14px; line-height: 22px; font-weight: 500; }
.mx-form button:disabled, .mx-inline-form button:disabled { background: #dce4ef; color: #516078; opacity: 1; }
.mx-form button.is-confirmed, .mx-inline-form button.is-confirmed { background: #0b7551; color: #fff; }
.mx-support-card { border-radius: 20px; min-height: 170px; }
.mx-support-card strong { color: var(--ink); font-size: 20px; line-height: 28px; font-weight: 700; }
.mx-support-card p { font-size: 15px; line-height: 24px; }
.mx-support-card:hover, .mx-support-card.is-active { background: #edf3ff; border-color: var(--primary); }
.mx-contact-card strong { font-size: 22px; line-height: 30px; font-weight: 700; overflow-wrap: anywhere; }
.mx-legal-doc-card { padding: 40px; }
.mx-legal-doc-card :is(p, li) { font-size: 16px; line-height: 1.75; }
.mx-footer { max-width: none; gap: 24px; padding: 48px max(24px, calc((100vw - 1232px) / 2)); border-color: var(--line); }
.mx-footer p { font-size: 14px; line-height: 22px; color: #516078; }
.mx-footer-links { font-size: 14px; font-weight: 500; gap: 12px 24px; }
.mx-footer img { width: 144px; }
/* Standalone account and payment-return pages retain their existing content. */
html[data-mx-theme="porcelain"] body:not(:has(.mx-site)) :is(main, header, footer) { color: var(--text); }
html[data-mx-theme="porcelain"] body:not(:has(.mx-site)) h1 { font-family: inherit; font-size: clamp(32px, 4vw, 48px); line-height: 1.2; }
html[data-mx-theme="porcelain"] body:not(:has(.mx-site)) main { border-radius: 24px; }
html[data-mx-theme="porcelain"] .stripe-connect-return a { background: var(--primary); border-radius: 16px; font-weight: 600; }
@media (min-width: 761px) and (max-width: 1100px) {
  .mx-nav { gap: 20px; }
  .mx-nav nav { gap: 16px; font-size: 13px; }
  .mx-nav-cta { display: none; }
  .mx-home h1, html[lang="zh-Hans"] .mx-home h1 { font-size: 52px; line-height: 60px; }
  .mx-home[data-porcelain-ready] { gap: 24px; padding-top: 64px; padding-bottom: 80px; }
  .mx-porcelain-entries .mx-link-panel { padding: 28px 104px 28px 28px; }
  .mx-porcelain-entries .mx-route-icon { right: 24px; width: 64px; height: 64px; }
}
@media (max-width: 1040px) {
  .mx-porcelain-go > .mx-form, .mx-porcelain-go > div { grid-column: auto; grid-row: auto; }
}
@media (max-width: 760px) {
  .mx-site { padding-top: 72px; }
  .mx-nav, .mx-nav::before, .mx-nav.is-scrolled::before { height: 72px; }
  .mx-nav { padding-inline: 24px; gap: 12px; }
  .mx-brand img { width: 128px; }
  .mx-nav-actions { gap: 8px; }
  .mx-nav-cta { display: none; }
  .mx-lang-toggle { min-width: 48px; padding: 0 10px; height: 48px; }
  .mx-nav-menu-toggle { width: 48px; height: 48px; border-radius: 14px; border-color: var(--line); color: #34435b; background: #fff; }
  .mx-nav-menu-toggle:hover { color: var(--primary-2); background: var(--surface-blue); }
  .mx-nav [data-mobile-navigation] { top: 72px; max-height: calc(100dvh - 72px); padding: 24px; gap: 8px; background: #fff; border: 1px solid var(--line); box-shadow: none; }
  .mx-nav nav a { min-height: 52px; color: #34435b; font-weight: 500; }
  .mx-nav nav a[aria-current="page"] { background: var(--surface-blue); color: var(--primary-2); }
  .mx-nav.is-menu-open nav a:focus { color: var(--primary-2); background: var(--surface-blue); outline-color: var(--primary-2); }
  .mx-nav nav .mx-mobile-nav-cta, .mx-nav nav .mx-mobile-nav-cta[aria-current="page"] { color: #fff; background: var(--primary); border-radius: 16px; font-weight: 600; }
  .mx-nav.is-menu-open::after { top: 72px; }
  .mx-home[data-porcelain-ready] { grid-template-columns: 1fr; gap: 20px; min-height: 0; padding: 36px 24px 32px; }
  .mx-home .mx-launch-state { margin-bottom: 16px; font-size: 13px; line-height: 22px; }
  .mx-home h1, html[lang="zh-Hans"] .mx-home h1 { max-width: none; font-size: 36px; line-height: 44px; font-weight: 700; }
  .mx-home .mx-hero-copy > p { margin-top: 16px; font-size: 16px; line-height: 26px; }
  .mx-porcelain-primary { margin-top: 24px; }
  .mx-home .mx-local-trust { margin-top: 16px; font-size: 12px; line-height: 20px; }
  .mx-porcelain-artwork { max-width: 520px; justify-self: center; }
  .mx-porcelain-artwork img { width: 100%; max-width: 100%; margin: 0; }
  .mx-porcelain-entries, .mx-porcelain-coverage { padding: 0 24px 56px; }
  .mx-porcelain-entries .mx-hero-routes { grid-template-columns: 1fr; gap: 16px; }
  .mx-porcelain-entries .mx-link-panel { min-height: 168px; padding: 24px 88px 24px 24px; }
  .mx-porcelain-entries .mx-link-panel strong { font-size: 20px; line-height: 28px; }
  .mx-porcelain-entries .mx-route-icon { width: 52px; height: 52px; right: 20px; }
  .mx-porcelain-entries .mx-route-icon img { border-radius: 12px; }
  .mx-porcelain-coverage h2 { font-size: 28px; line-height: 36px; }
  .mx-porcelain-coverage-heading { gap: 16px; margin-bottom: 20px; }
  .mx-porcelain-coverage-link { font-size: 14px; gap: 8px; }
  .mx-porcelain-coverage .mx-home-map .mx-hero-visual { height: 380px; }
  .mx-page-shell, .mx-legal-doc-shell { padding: 40px 24px 64px; }
  .mx-page-hero { margin-bottom: 32px; }
  .mx-page-hero h1, html[lang="zh-Hans"] .mx-page-hero h1 { font-size: 36px; line-height: 44px; word-break: normal; }
  .mx-page-hero > p { margin-top: 16px; }
  .mx-page-grid { margin-top: 32px; }
  .mx-two-column, .mx-two-column-reverse { gap: 28px; }
  .mx-site :is(.mx-card, .mx-contact-card, .mx-form, .mx-inline-form, .mx-zone-panel, .mx-support-preview) { padding: 24px; }
  .mx-card { min-height: 0; }
  .mx-mini-grid article { padding: 24px; }
  .mx-form :is(input, select) { max-width: 100%; }
  .mx-legal-doc-card { padding: 24px; }
  .mx-footer { padding: 36px 24px; }
  .mx-legal-static { padding-top: 126px; }
  .mx-legal-static .mx-nav nav { top: 72px; background: #fff; border-color: var(--line); box-shadow: none; }
}
@media (max-width: 359px) {
  .mx-nav { padding-inline: 20px; }
  .mx-brand img { width: 112px; }
  .mx-home[data-porcelain-ready], .mx-page-shell, .mx-legal-doc-shell { padding-left: 20px; padding-right: 20px; }
  .mx-porcelain-entries, .mx-porcelain-coverage { padding-left: 20px; padding-right: 20px; }
  .mx-porcelain-entries .mx-link-panel { padding: 24px; padding-right: 76px; }
  .mx-porcelain-entries .mx-route-icon { width: 44px; height: 44px; right: 16px; }
  .mx-porcelain-coverage-heading { flex-wrap: wrap; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .mx-site *, .mx-site *::before, .mx-site *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
