@font-face {
  font-family: "Manrope";
  src: url("./assets/Manrope.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: optional;
}
:root {
  font-family: "Manrope", "Avenir Next", "PingFang TC", "Microsoft JhengHei", sans-serif;
  color: var(--ink);
  background: var(--surface);
  font-synthesis: none;
  --blue: #245bff;
  --blue-hover: #1848d4;
  --ink: #151825;
  --muted: #535e73;
  --line: #e2e5ee;
  --surface: #ffffff;
  --canvas: #f5f7fa;
  --tint: #edf1ff;
  --danger: #b02c42;
  --content-width: 1120px;
  --page-spacing: clamp(24px, 3vw, 40px);
  --page-title-size: clamp(28px, calc(23px + 1.1vw), 38px);
}
* { box-sizing: border-box; }
body { margin: 0; }
body:has(> .site-footer) { display: flex; flex-direction: column; min-block-size: 100vh; }
body:has(> .site-footer) > main { flex: 1 0 auto; }
button, input, select, textarea { font: inherit; }
button, a, input, textarea, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; }
a { color: var(--blue); text-underline-offset: 4px; }
button, a, input, textarea { transition: color 160ms ease-out, background-color 160ms ease-out, border-color 160ms ease-out; }
button:disabled { cursor: wait; background: #dfe5fb; color: #405177; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
::selection { background: #dbe3ff; color: #162b79; }
input, textarea { caret-color: var(--blue); }
input::placeholder, textarea::placeholder { color: #657083; opacity: 1; }
html { scrollbar-color: #b5bed6 var(--surface); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #b5bed6; border: 2px solid var(--surface); border-radius: 8px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: var(--page-title-size); font-weight: 750; line-height: 1.25; letter-spacing: -.025em; text-wrap: balance; }
#page-title:focus { outline: 0; }
h2 { font-size: 20px; line-height: 1.5; font-weight: 650; }
h3 { font-weight: 650; }
p { line-height: 1.65; }
.container { width: calc(100% - 80px); max-width: 1160px; margin-inline: auto; }
.icon { width: 20px; height: 20px; flex: 0 0 auto; vertical-align: middle; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 10; left: 16px; top: -90px; padding: 12px 20px; background: white; border: 2px solid var(--blue); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.preview-strip { background: #eaf0ff; color: #40528e; font-size: 12px; }
.preview-strip .container { padding-block: 6px; }
.site-header { background: white; }
.header-inner { min-height: 74px; display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-size: 23px; font-weight: 750; color: var(--blue); white-space: nowrap; }
.brand-mark { width: 32px; height: 34px; display: grid; place-items: center; font-size: 27px; font-weight: 750; background: var(--blue); color: white; border-radius: 7px; }
.brand-description { padding-left: 13px; margin-left: 4px; border-left: 1px solid var(--line); color: var(--muted); font-size: 13px; font-weight: 500; }
.header-inner nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.header-inner nav a { color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: none; padding-block: 14px; }
.header-inner nav a:hover { color: var(--blue); }
.header-inner nav :is(#rewards-link, [data-shop-header] #campaign-link) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--blue-hover);
  font-weight: 700;
  white-space: nowrap;
}
.header-inner nav :is(#rewards-link, [data-shop-header] #campaign-link):hover { background: #dfe7ff; }
.header-tools { display: flex; align-items: center; gap: 14px; }
.currency-label { font-size: 12px; color: var(--muted); }
.language-button { display: inline-flex; align-items: center; min-height: 38px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 20px; color: var(--blue); background: white; font-size: 12px; font-weight: 600; text-decoration: none; }
.language-button:hover { background: var(--tint); }
main { min-height: calc(100vh - 235px); outline: 0; }
.storefront-stage {
  --blue: #1d5ff6;
  --storefront-control-font: "GT Walsheim", "Manrope", "Avenir Next", "PingFang TC", "Microsoft JhengHei", sans-serif;
  background: var(--canvas);
}
body:has(.storefront-stage, .checkout) { background: var(--canvas); }
.storefront {
  --plan-columns: 4;
  --plan-grid-gap: 20px;
  --plan-grid-max-width: 1280px;
  max-width: 1280px;
  padding-block: 38px 64px;
}
.store-intro { text-align: center; }
.store-intro h1 { font-size: clamp(44px, 6.5vw, 84px); line-height: 1.16; font-weight: 800; letter-spacing: -.035em; }
.store-intro > p:first-of-type { max-width: 65ch; margin: 22px auto 0; font-size: 24px; line-height: 1.6; color: var(--muted); text-wrap: balance; }
.number-benefits { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 20px 0 0; padding: 0; list-style: none; }
.number-benefits li { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); font-size: 15px; font-weight: 650; line-height: 1.6; }
.number-benefits .icon { width: 18px; height: 18px; color: var(--blue); }
.bootstrap-status { margin-top: 18px; text-align: center; font-size: 13px; color: var(--muted); }
.bootstrap-status a { display: inline-block; margin-top: 8px; }
.bootstrap-status a[hidden] { display: none; }
.store-tabs {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  margin: 32px auto 0;
  padding: 8px;
  border: 1px solid #f3f5f7;
  border-radius: 999px;
  background: #fff;
  zoom: .8;
}
.store-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 40px;
  padding: 8px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #3c434d;
  font: 400 18px/20px var(--storefront-control-font);
  letter-spacing: .2px;
}
/* Reserve the bold label width so the tabs stay in place when selection changes. */
.store-tabs button > span { white-space: nowrap; }
.store-tabs button > span::after {
  content: attr(data-tab-label);
  display: block;
  height: 0;
  overflow: hidden;
  visibility: hidden;
  font-weight: 700;
}
.store-tabs button:hover:not(:disabled) { color: #000; }
.store-tabs button[aria-selected="true"] { color: #000; font-weight: 700; background: #f3f5f7; }
.store-tabs button:disabled { cursor: wait; }
.store-tabs .icon { flex: none; width: 24px; height: 24px; }
.store-panel[hidden] { display: none; }
.store-panel:focus-visible { outline: 3px solid var(--blue); outline-offset: 8px; border-radius: 16px; }
.plan-grid {
  display: grid;
  grid-template-columns: repeat(var(--plan-columns), minmax(0, 1fr));
  gap: var(--plan-grid-gap);
  max-width: var(--plan-grid-max-width);
  margin-inline: auto;
}
.restored-choice { color: var(--muted); font-size: 13px; margin-top: 16px; }
.plan-card { display: flex; flex-direction: column; min-width: 0; container-type: inline-size; padding: 28px 24px; border: 1px solid #e1e2e9; border-radius: 30px; background: var(--surface); box-shadow: 0 8px 30px #26346606; }
.plan-card.is-selected { outline: 5px solid #d0ddff; outline-offset: 4px; }
.plan-card-heading { display: flex; align-items: center; gap: 12px; }
.plan-esim-mark {
  flex: none;
  margin-inline-start: auto;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}
.plan-card h3 { margin: 0; font-size: 24px; letter-spacing: -.025em; line-height: 1.35; font-weight: 800; }
.plan-description { color: var(--muted); font-size: 15px; line-height: 1.65; margin-top: 8px; min-height: 3.3em; text-wrap: balance; }
.plan-features { padding: 0; margin: 20px 0 16px; list-style: none; display: grid; gap: 10px; }
.plan-features li { display: flex; align-items: center; gap: 8px; font-size: 15px; line-height: 1.5; }
.plan-features li:first-child { min-height: 3em; }
.plan-features .icon { width: 18px; height: 18px; color: var(--muted); }
.plan-features .not-included { color: var(--muted); }
.plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 9px; min-block-size: 54.2px; padding-block-start: 8px; color: var(--blue); font-variant-numeric: tabular-nums; line-height: 1.1; }
.plan-current-price { position: relative; display: inline-flex; align-items: baseline; white-space: nowrap; }
.plan-price .price-symbol { font-size: 28px; font-weight: 800; margin-inline-end: 1px; }
.plan-price strong { font-size: 42px; font-weight: 800; letter-spacing: -.035em; }
.plan-price .plan-price-status { align-self: center; font-size: 16px; letter-spacing: normal; }
.plan-promotion {
  --promotion-background: #c51b0c;
  position: absolute;
  inset-inline-start: 0;
  inset-block-end: calc(100% + 1px);
  padding: 2px 7px;
  border-radius: 6px;
  background-color: var(--promotion-background);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}
.plan-promotion[data-promotion="limitedTime"] {
  --promotion-background: #fef3c7;
  color: #92400e;
}
.plan-promotion::after {
  content: '';
  position: absolute;
  inset-inline-start: 6px;
  inset-block-start: calc(100% - 1px);
  border: 3px solid transparent;
  border-top-color: var(--promotion-background);
  border-inline-start: 0;
}
.plan-original-price { color: var(--muted); font-size: 13px; line-height: 1.45; white-space: nowrap; }
@media (min-width: 1001px) {
  @container (max-width: 236px) {
    .plan-price:has(.plan-original-price) { column-gap: 6px; }
    .plan-price:has(.plan-original-price) strong { font-size: 30px; }
    .plan-price:has(.plan-original-price) .price-symbol { font-size: 21px; }
    .plan-price:has(.plan-original-price) .price-period { font-size: 12px; margin-inline-start: 4px; }
    .plan-original-price { font-size: 12px; }
  }
}
.price-period { font-size: 14px; margin-left: 6px; }
.first-purchase { margin-top: 10px; color: var(--muted); font-size: 15px; }
.pricing-explanation { color: var(--muted); font-size: 14px; line-height: 1.75; margin: 28px auto; max-width: 900px; text-align: center; }
.storefront:has(.plans-layer[hidden]) .pricing-explanation { display: none; }
.info-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 432px;
  padding: 24px 28px;
  margin: 24px auto 0;
  border: 1px solid #e1e2e9;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 8px 30px #26346606;
}
.info-card-heading { display: flex; align-items: center; gap: 10px; }
.info-icon { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 10px; background: #f5f7ff; color: var(--blue); }
.info-icon .icon { width: 20px; height: 20px; }
.info-card h2 { font-size: 22px; line-height: 1.3; font-weight: 800; text-wrap: balance; }
.info-description, .requirements-list { font-size: 16px; line-height: 1.55; text-wrap: pretty; }
.info-description { color: var(--muted); }
.number-assignment-options { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.number-assignment-option + .number-assignment-option { border-block-start: 1px solid var(--line); padding-block-start: 14px; }
.number-assignment-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) fit-content(55%);
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}
.number-assignment-heading h3 { font-size: 17px; line-height: 1.4; font-weight: 750; }
.number-preference-price {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 4px 6px;
  flex-wrap: wrap;
  text-align: end;
  font-variant-numeric: tabular-nums;
}
.number-preference-price strong { color: var(--blue); font-size: 18px; font-weight: 800; line-height: 1.2; }
.number-preference-price span { color: var(--muted); font-size: 13px; }
.info-note { padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; line-height: 1.75; }
.requirements-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.requirements-list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: start; gap: 10px; }
.requirements-list .icon { width: 20px; height: 20px; margin-block-start: .15em; color: var(--blue); }
.registration-note { margin-top: auto; }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 11px 18px; border: 0; border-radius: 24px; font-size: 14px; font-weight: 650; text-decoration: none; line-height: 1.5; }
.primary { color: white; background: var(--blue); }
.primary:hover:not(:disabled) { background: var(--blue-hover); }
.primary:active:not(:disabled) { background: #2038a9; }
.button .icon { width: 17px; height: 17px; }
.plan-action {
  width: 100%;
  min-height: 48px;
  padding-inline: 12px;
  margin-top: 24px;
  border-radius: 999px;
  font: 700 16px/1.25 var(--storefront-control-font);
}
.plan-action:disabled { cursor: not-allowed; background: #e9ecf6; color: #596174; }
.plan-availability { font-size: 12px; color: var(--muted); margin-top: 8px; line-height: 1.6; }
.address-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-help { font-size: 12px; color: var(--muted); line-height: 1.6; }
@media (max-width:680px) { .address-fields { grid-template-columns: 1fr; } }
.site-footer { background: white; }
.footer-inner { padding-block: 27px; display: flex; gap: 32px; align-items: center; justify-content: flex-end; }
.footer-inner .policy-footer-links { justify-content: flex-end; }
.footer-inner p { color: var(--muted); font-size: 11px; max-width: 55ch; }
.checkout { padding-top: 30px; padding-bottom: 64px; }
.checkout-navigation { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; text-decoration: none; min-height: 40px; }
.back-link .icon { width: 17px; height: 17px; }
.purchase-steps { display: flex; align-items: center; justify-content: center; gap: 26px; list-style: none; margin: 0; padding: 0; color: var(--muted); font-size: 12px; }
.purchase-steps li { display: flex; align-items: center; gap: 7px; }
.purchase-steps li > span { width: 23px; height: 23px; display: grid; place-items: center; background: #e7eaf3; border-radius: 50%; font-size: 11px; font-variant-numeric: tabular-nums; }
.purchase-steps li[aria-current] { color: #2643a7; font-weight: 600; }
.purchase-steps li[aria-current] > span { background: var(--blue); color: white; }
.purchase-steps li.completed > span { background: #e1e8ff; color: var(--blue); }
.purchase-steps .icon { width: 14px; height: 14px; }
.checkout-heading { margin-top: 22px; margin-bottom: 30px; }
.checkout-heading h1 { font-size: 36px; }
.checkout-heading p { color: var(--muted); font-size: 14px; margin-top: 8px; }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 350px); gap: 32px; }
.checkout-form { padding: 30px; background: var(--surface); border-radius: 18px; }
.checkout-form fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
.form-section > h2 { font-size: 18px; }
.form-section > p { margin-top: 5px; color: var(--muted); font-size: 14px; }
.form-section + .form-section, .city-service + .form-section { border-top: 1px solid var(--line); margin-top: 25px; padding-top: 25px; }
.esim-order-notes ul { display: grid; gap: 10px; padding-inline-start: 1.2em; color: var(--muted); font-size: 14px; line-height: 1.7; }
.contact-fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { color: #3b4354; font-size: 14px; font-weight: 550; }
.optional { margin-left: 8px; color: var(--muted); font-size: 11px; font-weight: 400; }
.field input, .field textarea { width: 100%; padding: 12px 14px; background: white; border: 1px solid #cbd1df; border-radius: 9px; font-size: 14px; line-height: 1.5; color: var(--ink); }
.field textarea { resize: vertical; min-height: 96px; }
.field input[aria-invalid], .field textarea[aria-invalid] { border-color: var(--danger); }
.field-error { font-size: 12px; color: var(--danger); line-height: 1.5; }
.field-error:empty { display: none; }
.delivery-fields { display: grid; gap: 20px; margin-top: 22px; }
.form-error { font-size: 12px; color: var(--danger); margin-top: 20px; }
.form-error:empty { display: none; }
.order-summary { align-self: start; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 8px 28px #2634660b; }
.summary-payment { margin-top: 16px; }
.summary-top { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.summary-top h2 { font-size: 17px; }
.text-link { font-size: 13px; font-weight: 550; }
.summary-plan { display: flex; gap: 14px; align-items: center; margin-top: 26px; margin-bottom: 24px; }
.summary-icon { width: 42px; height: 46px; display: grid; place-items: center; color: var(--blue); }
.summary-icon .icon { width: 31px; height: 31px; }
.summary-plan h3 { font-size: 25px; line-height: 1.4; letter-spacing: -.02em; }
.summary-plan p { color: var(--muted); font-size: 12px; margin-top: 3px; }
.price-breakdown { display: grid; gap: 14px; margin: 0; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 14px; }
.price-breakdown > div { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.price-breakdown dt { color: var(--muted); }
.price-breakdown dd { margin: 0; font-weight: 550; font-variant-numeric: tabular-nums; }
.price-breakdown > .summary-allowance { align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.summary-allowance dt { flex: none; }
.summary-allowance dd { margin-inline-start: auto; text-align: right; font-size: 13px; font-weight: 400; line-height: 1.5; }
.summary-allowance dd > span { white-space: nowrap; }
.summary-total { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: baseline; margin-top: 20px; }
.summary-total > span { font-size: 14px; font-weight: 600; }
.summary-total strong { font-size: 31px; letter-spacing: -.03em; color: var(--blue); font-variant-numeric: tabular-nums; white-space: nowrap; }
.summary-total small { font-size: 10px; letter-spacing: 0; margin-left: 5px; font-weight: 500; }
.renewal-note { grid-column: 1 / -1; color: var(--muted); font-size: 14px; margin-top: 8px; }
.delivery-note { font-size: 11px; color: var(--muted); margin-top: 8px; }
.purchase-action { width: 100%; margin-top: 16px; }
.support-shortcut {
  position: fixed; z-index: 8; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding-inline: 16px;
  border: 1px solid #d9e1fa; border-radius: 999px; background: var(--surface); color: #244bd0;
  box-shadow: 0 5px 18px #2036671a; font-size: 14px; font-weight: 650; text-decoration: none;
}
.support-shortcut:hover { border-color: #b9c9f7; background: #f5f7ff; }
html:has(.support-shortcut) { scroll-padding-bottom: 70px; }
@media (min-width: 681px) {
  body:has(.support-shortcut) .footer-inner { padding-inline-end: 72px; }
}
@media (max-width: 700px) {
  .support-shortcut { right: max(4px, env(safe-area-inset-right)); width: 44px; padding-inline: 0; font-size: 11px; }
  body:has(.support-shortcut) .number-main,
  body:has(.support-shortcut) .checkout {
    --support-space: calc(48px + max(4px, env(safe-area-inset-right)));
    width: calc(100% - 14px - var(--support-space));
    margin-inline: 14px var(--support-space);
  }
}
.payment-note { font-size: 14px; text-align: center; color: var(--muted); margin-top: 12px; }
.order-recovery { display: grid; gap: 8px; margin-top: 16px; font-size: 12px; }
.order-recovery button { min-height: 44px; border: 0; border-radius: 8px; background: var(--tint); color: var(--blue); padding: 8px; }
.city-service { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; }
.city-service summary { cursor: pointer; font-weight: 600; padding-block: 4px; }
.city-service > p { color: var(--muted); font-size: 14px; margin-top: 10px; line-height: 1.75; }
.city-service > label { display: flex; align-items: start; gap: 8px; margin-top: 16px; line-height: 1.6; cursor: pointer; }
.city-service input { accent-color: var(--blue); margin-top: 3px; width: 16px; height: 16px; }
.city-service .field { margin-top: 18px; }
.city-service select { width: 100%; min-width: 0; font: inherit; padding: 12px; background: white; color: var(--ink); border: 1px solid #cbd1df; border-radius: 9px; }
.city-service select:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.loading-dot { height: 12px; width: 12px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: loading 700ms linear infinite; }
@keyframes loading { to { transform: rotate(360deg); } }
.complete { max-width: 720px; padding-block: 35px 65px; }
.complete-heading { text-align: center; margin-top: 38px; }
.success-mark { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 20px; border-radius: 50%; background: #e5ecff; color: var(--blue); }
.success-mark .icon { width: 26px; height: 26px; }
.complete-heading h1 { font-size: 34px; }
.complete-heading p { font-size: 13px; color: var(--muted); margin-top: 10px; }
.receipt { background: white; padding: 30px; border-radius: 18px; margin-top: 28px; }
.receipt-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.receipt-heading h2 { font-size: 18px; }
.receipt-heading > span { color: var(--blue); font-size: 12px; }
.receipt-details { display: grid; gap: 15px; margin: 23px 0; font-size: 13px; }
.receipt-details > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; }
.receipt-details dt { color: var(--muted); }
.receipt-details dd { margin: 0; text-align: right; overflow-wrap: anywhere; white-space: pre-line; }
.order-number { font-variant-numeric: tabular-nums; }
.receipt-total { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }
.receipt-total strong { color: var(--blue); font-size: 28px; font-variant-numeric: tabular-nums; }
.receipt-total small { font-size: 11px; }
.next-step { padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--line); }
.next-step h3 { font-size: 15px; }
.next-step p { font-size: 12px; color: var(--muted); margin-top: 8px; max-width: 65ch; }
.next-step .demo-delivery-note { margin-top: 14px; color: #4b5d8e; }
.complete-actions { display: flex; align-items: center; justify-content: center; gap: 26px; margin-top: 26px; }
@media (max-width: 1100px) {
  .container { width: calc(100% - 56px); }
  .plan-card { padding: 24px 20px; }
  .storefront { --plan-grid-gap: 16px; }
  .plan-description { min-height: 4.95em; }
  .checkout-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; }
  .contact-fields { grid-template-columns: 1fr; }
}
@media (max-width: 1000px) {
  .storefront { --plan-columns: 2; --plan-grid-max-width: 820px; --plan-grid-gap: 24px; }
  .plan-card { padding: 28px; }
  .plan-card h3 { font-size: 28px; }
  .plan-description { font-size: 17px; min-height: 3.3em; }
  .plan-features li { font-size: 16px; }
}
@media (min-width: 681px) and (max-width: 1000px) {
  :lang(en) .plan-card h3 { font-size: clamp(21px, 2.8vw, 26px); }
}
@media (max-width: 900px) {
  .plan-card { padding: 26px; }
  .plan-description { min-height: 3.3em; }
  .plan-features li { font-size: 16px; }
  .header-inner { gap: 22px; }
  .brand-description { display: none; }
  .checkout-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; }
  .checkout-form { padding: 25px; }
  .order-summary { padding: 23px; }
  .footer-inner { align-items: flex-start; }
}
@media (max-width: 1023px) {
  .store-tabs {
    gap: 4px;
    margin-top: 24px;
    padding: 5px;
    zoom: .9;
  }
  .store-tabs button { min-width: 0; min-height: 49px; padding-inline: 6px; font-size: 16px; }
  .store-tabs .icon { width: 18px; height: 18px; }
}
@media (max-width: 680px) {
  .container { width: calc(100% - 36px); }
  .preview-strip { font-size: 12px; }
  .header-inner { min-height: 64px; gap: 0 10px; flex-wrap: wrap; padding-block: 10px; }
  .brand { font-size: 21px; gap: 8px; min-height: 44px; }
  .brand-mark { width: 28px; height: 30px; font-size: 24px; }
  .header-inner nav { gap: clamp(8px, 3.5vw, 20px); order: 3; flex-basis: 100%; margin-left: 0; }
  .header-inner nav a { font-size: 12px; }
  .header-inner nav :is(#rewards-link, [data-shop-header] #campaign-link) { min-height: 44px; padding-inline: 10px; }
  .header-tools { gap: 0; margin-left: auto; }
  .currency-label { display: none; }
  .language-button { padding-inline: 11px; min-height: 36px; }
  .storefront { --plan-columns: 1; --plan-grid-gap: 18px; padding-block: 24px 36px; }
  .store-intro h1 { font-size: clamp(28px, 8vw, 36px); line-height: 1.3; }
  .store-intro > p:first-of-type { font-size: 16px; max-width: 32ch; margin: 12px auto 0; text-wrap: pretty; }
  .number-benefits { gap: 8px 14px; margin-top: 16px; }
  .number-benefits li { gap: 5px; font-size: 13px; }
  .number-benefits .icon { width: 16px; height: 16px; }
  .pricing-explanation { margin-block: 24px 22px; text-align: left; line-height: 1.8; text-wrap: pretty; }
  .info-card { padding: 20px; gap: 16px; margin-block-start: 20px; }
  .info-note { padding-top: 16px; margin-top: 4px; }
  .registration-note { margin-top: 4px; }
  .plan-card { padding: 22px; border-radius: 26px; }
  .plan-card.is-selected { outline-width: 3px; outline-offset: 3px; }
  .plan-card h3 { font-size: 22px; text-wrap: balance; }
  .plan-description { font-size: 16px; line-height: 1.65; min-height: 0; margin-top: 10px; text-wrap: pretty; }
  .plan-features { gap: 10px; margin: 16px 0 14px; }
  .plan-features li:first-child { min-height: 0; }
  .plan-features li { font-size: 16px; gap: 10px; align-items: flex-start; }
  .plan-features .icon { width: 20px; height: 20px; margin-top: 2px; }
  .plan-price strong { font-size: 40px; }
  .plan-price .price-symbol { font-size: 27px; }
  .first-purchase { margin-top: 8px; }
  .plan-action { margin-top: 18px; }
  .first-purchase, .price-period { font-size: 15px; }
  .button { font-size: 15px; min-height: 48px; }
  .language-button { min-height: 44px; font-size: 13px; }
  .header-inner nav a { font-size: 14px; min-height: 44px; }
  .footer-inner { flex-direction: column; align-items: flex-end; gap: 14px; padding-block: 22px; }
  body:has(.support-shortcut) .footer-inner { padding-inline-end: calc(38px + env(safe-area-inset-right)); }
  .footer-inner p { font-size: 12px; }
  .checkout { padding-top: 20px; padding-bottom: 40px; }
  .checkout-navigation { flex-direction: column; align-items: flex-start; gap: 16px; }
  .purchase-steps { gap: 15px; font-size: 11px; }
  .purchase-steps li { gap: 5px; }
  .purchase-steps li > span { width: 21px; height: 21px; }
  .checkout-heading { margin-top: 24px; margin-bottom: 22px; }
  .checkout-heading h1 { font-size: 28px; }
  .checkout-heading p { font-size: 15px; }
  .checkout-grid { grid-template-columns: 1fr; gap: 20px; }
  .checkout-form { padding: 23px; border-radius: 16px; }
  .form-section > h2 { font-size: 17px; }
  .field input, .field textarea { font-size: 16px; }
  .field label { font-size: 15px; }
  .form-section > p, .field-error, .price-breakdown, .renewal-note, .payment-note { font-size: 14px; }
  .order-summary { padding: 25px; border-radius: 16px; }
  .complete { padding-block: 24px 40px; }
  .complete > .purchase-steps { justify-content: flex-start; }
  .complete-heading { margin-top: 28px; }
  .complete-heading h1 { font-size: 27px; }
  .complete-heading p { font-size: 12px; }
  .receipt { padding: 24px; }
  .receipt-details > div { grid-template-columns: 85px minmax(0, 1fr); gap: 15px; }
  .receipt-details { font-size: 12px; }
  .complete-actions { flex-direction: column; gap: 18px; }
  .complete-actions .button { width: 100%; }
}
@media (max-width: 359px) {
  .header-inner nav { gap: 8px; }
  .header-inner nav a { font-size: 13px; }
  .header-inner nav :is(#rewards-link, [data-shop-header] #campaign-link) { padding-inline: 8px; }
  .store-tabs { gap: 2px; padding: 4px; }
  .store-tabs button { gap: 3px; padding-inline: 4px; font-size: 14px; }
  .store-tabs .icon { width: 16px; height: 16px; }
  .plan-card { padding: 20px; }
  .info-card { padding-inline: 16px; }
  .plan-card-heading { gap: 10px; }
  .plan-card h3 { font-size: 20px; }
  .info-card h2 { font-size: 20px; }
  .number-assignment-heading h3, .number-preference-price strong { font-size: 16px; }
  .number-preference-price span { font-size: 12px; }
}
@media (min-width: 1001px) {
  html:has(.site-header) { scrollbar-gutter: stable; }
  .header-inner {
    max-width: clamp(1160px, 78vw, 1460px);
    min-height: clamp(56px, calc(56px + (100vh - 720px) * .05), 78px);
  }
  main:has(> .storefront-stage, > .checkout) { min-height: 0; }

  body:has(.storefront-stage, .checkout) {
    --storefront-room: clamp(0px, 100vh - 720px, 440px);
  }
  body:has(.storefront-stage, .checkout) .footer-inner {
    max-width: clamp(1160px, 78vw, 1460px);
    padding-block: calc(6px + var(--storefront-room) * .025);
    gap: 16px;
  }
  main:has(> .storefront-stage, > .checkout), .storefront-stage, .storefront, .plans-layer:not([hidden]) {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
  }
  .storefront {
    --plan-grid-max-width: clamp(1120px, 74vw, 1360px);
    --plan-grid-gap: calc(34px + var(--storefront-room) * .02);
    max-width: clamp(1280px, 82vw, 1560px);
    padding-block: calc(12px + var(--storefront-room) * .08) calc(8px + var(--storefront-room) * .021);
  }
  .store-intro h1 { font-size: min(56px, clamp(34px, 3vw, 40px) + var(--storefront-room) * .05); line-height: 1.2; }
  .store-intro > p:first-of-type {
    max-width: none;
    margin-top: calc(4px + var(--storefront-room) * .022);
    font-size: calc(16px + var(--storefront-room) * .012);
    line-height: 1.5;
  }
  .number-benefits { margin-top: calc(8px + var(--storefront-room) * .026); }
  .number-benefits li { font-size: calc(15px + var(--storefront-room) * .005); }
  .pricing-explanation {
    max-width: none;
    margin-block: calc(7px + var(--storefront-room) * .023) calc(6px + var(--storefront-room) * .02);
  }
  .checkout { max-width: clamp(1120px, 74vw, 1360px); }
  .plan-grid {
    flex: 1 0 auto;
    width: 100%;
  }
  .plan-card {
    justify-content: center;
    padding: calc(14px + var(--storefront-room) * .04) calc(16px + var(--storefront-room) * .022);
    border-radius: 22px;
  }
  .plan-esim-mark { font-size: calc(13px + var(--storefront-room) * .006); }
  .storefront .plan-card h3 { font-size: calc(18px + var(--storefront-room) * .011); line-height: 1.3; }
  :lang(en) .plan-card-heading { gap: 8px; }
  :lang(en) .storefront .plan-card h3 { font-size: clamp(14px, calc((100cqw - 48px) * .1), 21px); }
  .plan-description {
    margin: calc(12px + var(--storefront-room) * .024) 0 calc(18px + var(--storefront-room) * .026);
    min-height: 3em;
    font-size: calc(14px + var(--storefront-room) * .006);
    line-height: 1.5;
    text-wrap: pretty;
  }
  .plan-features {
    margin: 0 0 calc(12px + var(--storefront-room) * .016);
    gap: calc(8px + var(--storefront-room) * .026);
  }
  .plan-features li { font-size: calc(14px + var(--storefront-room) * .006); }
  .plan-features li:first-child { min-height: 0; }
  :lang(en) .plan-features li:first-child { min-height: 3em; }
  @container (max-width: 196px) {
    .plan-features li:first-child,
    :lang(en) .plan-features li:nth-child(2) { min-height: 3em; }
  }
  .plan-price { min-block-size: calc(42px + var(--storefront-room) * .025); }
  .plan-price .price-symbol { font-size: calc(23px + var(--storefront-room) * .016); }
  .plan-price strong { font-size: calc(32px + var(--storefront-room) * .022); }
  .plan-price .plan-price-status { font-size: 16px; }
  .first-purchase { margin-top: calc(3px + var(--storefront-room) * .014); font-size: calc(14px + var(--storefront-room) * .003); }
  .plan-action {
    margin-top: calc(24px + var(--storefront-room) * .04);
    min-height: calc(44px + var(--storefront-room) * .022);
    font-size: 14.4px;
    line-height: 16px;
  }
  .checkout {
    --checkout-copy-size: calc(14px + var(--storefront-room) * .006);
    padding-block: calc(8px + var(--storefront-room) * .052) calc(12px + var(--storefront-room) * .038);
  }
  .checkout-heading {
    margin-block: calc(4px + var(--storefront-room) * .024) calc(10px + var(--storefront-room) * .044);
  }
  .checkout-heading h1 { font-size: calc(27px + var(--storefront-room) * .023); }
  .checkout-heading p { margin-top: 6px; }
  .checkout-grid {
    grid-template-columns: minmax(0, 1fr) clamp(300px, 34%, 420px);
    gap: calc(20px + var(--storefront-room) * .032);
    min-block-size: clamp(410px, calc(350px + (100vh - 720px) * .78), 748px);
  }
  .checkout .order-summary {
    padding: calc(16px + var(--storefront-room) * .04) calc(18px + var(--storefront-room) * .04);
  }
  .checkout .order-summary[aria-labelledby="summary-title"] {
    display: flex;
    flex-direction: column;
    min-block-size: calc(380px + var(--storefront-room) * .37);
  }
  .checkout .summary-top h2 { font-size: calc(17px + var(--storefront-room) * .01); }
  .checkout :is(.checkout-heading p, .price-breakdown) {
    font-size: var(--checkout-copy-size);
  }
  .checkout .summary-plan { margin-block: calc(6px + var(--storefront-room) * .017) calc(8px + var(--storefront-room) * .02); gap: 8px; }
  .checkout .summary-plan > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; }
  .checkout .summary-plan p { margin: 0; }
  .checkout .summary-icon, .checkout .summary-icon .icon { width: 26px; height: 26px; }
  .checkout .summary-plan h3 { font-size: calc(20px + var(--storefront-room) * .014); }
  .checkout .price-breakdown {
    flex: 1 0 auto;
    grid-auto-rows: minmax(min-content, 1fr);
    gap: calc(4px + var(--storefront-room) * .026);
    padding-block: calc(8px + var(--storefront-room) * .03);
  }
  .checkout .summary-allowance { align-items: center; }
  .checkout .order-summary .reward-option { margin: 8px 0 0; gap: 4px; }
  .checkout .order-summary .referral-ticket { min-height: 44px; }
  .checkout .order-summary .referral-ticket :is(.referral-ticket-label, .referral-ticket-amount) { min-height: 34px; }
  .checkout .summary-total { margin-top: calc(8px + var(--storefront-room) * .02); }
  .checkout .summary-total strong { grid-area: 1 / 2 / 3; align-self: center; font-size: calc(28px + var(--storefront-room) * .027); }
  .checkout .summary-total .renewal-note { grid-area: 2 / 1; margin: 0; }
  .checkout .summary-payment { margin-top: calc(15px + var(--storefront-room) * .016); }
  .checkout .summary-payment .policy-notice {
    margin: 0 !important;
    font-size: calc(13px + var(--storefront-room) * .003) !important;
    line-height: 1.5 !important;
  }
  .checkout .purchase-action {
    margin-top: calc(8px + var(--storefront-room) * .022);
    min-height: calc(44px + var(--storefront-room) * .027);
    font-size: calc(13px + var(--storefront-room) * .007);
  }
}

@media (min-width: 1200px) and (min-height: 1200px) {
  .checkout { margin-block: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

.language-picker{position:relative;flex:none;z-index:6}
.language-picker summary{list-style:none;cursor:pointer;white-space:nowrap}
.language-picker summary::-webkit-details-marker{display:none}
.language-picker summary::after{content:"";display:inline-block;width:.4em;height:.4em;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:translateY(-.18em) rotate(45deg);margin-inline-start:.55em}
.language-picker[open] summary::after{transform:rotate(225deg)}
.language-options{position:absolute;inset-inline-end:0;top:calc(100% + .35rem);min-width:8.5rem;background:#fff;border:1px solid #d8deeb;border-radius:12px;padding:.3rem;box-shadow:0 8px 24px #13224720}
.language-options a{display:block;padding:.55rem .85rem;border-radius:8px;color:#172238;text-decoration:none;white-space:nowrap}
.language-options a:hover,.language-options a:focus-visible,.language-options a[aria-current=true]{background:#edf2ff;color:#204dd3}

:root:lang(ja){font-family:"Manrope","Hiragino Sans","Yu Gothic",Meiryo,sans-serif}
:root:lang(ko){font-family:"Manrope","Apple SD Gothic Neo","Malgun Gothic",sans-serif;word-break:keep-all;overflow-wrap:anywhere}
