/* Pinglo 2026 storefront redesign (design_handoff_pinglo_redesign/README.md): paper ground, ink text, Readex Pro +
 * IBM Plex Mono, blue #1A6FE0 / green #17A864 / red sun #E0453A, pure-CSS Japan art (rings, sun, Fuji, city bars).
 * Loaded last on index, plans, product, cart and checkout — it re-themes the shared components through the tokens and
 * adds the new layouts. Logical properties throughout, so RTL (default) and LTR mirror. */

:root {
  --paper: #F6F5F1;
  --ink: #262A33;
  --line: #E3E0D8;
  --line-strong: #D6D2C8;
  --divider: #EEEBE4;
  --seg: #EAE7E0;
  --red: #E0453A;
  --sky: #B3CDEE;
  --mountain: #D5E1F2;
  --blue-tint: #EAF0F9;
  --ring-faint: #DCE6F4;
  --sel-bg: #F3F7FE;
  --star: #E0A21A;
  --green-tint: #E7F5EE;

  /* existing tokens, re-pointed at the new palette */
  --blue: #1A6FE0;
  --blue-deep: #1557B3;
  --green: #17A864;
  --green-text: #0F7A48;
  --blue-50: #F3F7FE;
  --blue-100: #EAF0F9;
  --blue-200: #B3CDEE;
  --blue-soft: rgba(26, 111, 224, 0.1);
  --green-50: #E7F5EE;
  --green-100: #CFEBDD;
  --green-soft: rgba(23, 168, 100, 0.12);
  --surface-tint: #FFFFFF;
  --border: #E3E0D8;
  --border-strong: #D6D2C8;
  --text: #4A4F5C;
  --muted: #5B6070;
  --danger: #E0453A;
  --gradient-brand: linear-gradient(135deg, #1A6FE0 0%, #17A864 100%);
  --gradient-brand-soft: linear-gradient(135deg, #EAF0F9 0%, #E7F5EE 100%);
  --font-display: "Readex Pro", "Noto Sans JP", system-ui, sans-serif;
  --font-body: "Readex Pro", "Noto Sans JP", system-ui, sans-serif;
  --font-arabic: "Readex Pro", "Noto Sans JP", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --shadow-soft: 0 1px 2px rgba(38, 42, 51, 0.04);
  --shadow-raised: 0 14px 34px rgba(38, 42, 51, 0.13);
  --shadow-glow-blue: 0 10px 24px rgba(26, 111, 224, 0.22);
  --shadow-glow-green: 0 0 16px rgba(23, 168, 100, 0.35);
  --pad-x: clamp(18px, 4.4vw, 56px);
}
html[dir="rtl"] { --font-display: var(--font-arabic); --font-body: var(--font-arabic); }

body { background: var(--paper); color: var(--text); line-height: 1.7; }
h1, h2, h3, h4 { color: var(--ink); letter-spacing: -0.01em; line-height: 1.2; font-weight: 600; }
::selection { background: rgba(26, 111, 224, .18); }
.container { max-width: 1280px; padding-inline: var(--pad-x); }
section { padding-block: clamp(56px, 7vw, 96px); }
.bg-tint { background: #fff; border-block: 1px solid var(--line); }
.eyebrow { font-family: var(--font-mono); font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.eyebrow .jp { font-family: "Noto Sans JP", var(--font-body); letter-spacing: .1em; opacity: 1; }
.section-head h2 { font-size: clamp(24px, 3vw, 36px); }
.section-head p { color: var(--text); }

/* buttons */
.btn { border-radius: 14px; font-weight: 600; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: none; }
.btn-primary:hover { background: var(--blue-deep); transform: none; }
.btn-ghost-dark, .btn-ghost-light { background: #fff; color: var(--ink); border: 1px solid var(--line); font-weight: 500; }
.btn-ghost-dark:hover, .btn-ghost-light:hover { background: #fff; border-color: var(--line-strong); }
.btn-dark { background: var(--ink); color: #fff; border: none; }
.btn-dark:hover { background: #111; color: #fff; }

/* status dot pulse (hero badge, connected card, live network) */
@keyframes pgPulse { 0% { box-shadow: 0 0 0 0 rgba(23, 168, 100, .5); } 100% { box-shadow: 0 0 0 10px rgba(23, 168, 100, 0); } }
.pg-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex: none; animation: pgPulse 1.8s infinite; }
.live-dot { background: var(--green); animation: pgPulse 1.8s infinite; }

/* ---------- header ---------- */
.site-header { padding: 14px 0; background: rgba(246, 245, 241, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.site-header.scrolled { background: rgba(246, 245, 241, .94); padding: 10px 0; border-bottom-color: var(--line); box-shadow: none; }
.brand-logo { height: clamp(26px, 2.6vw, 34px); }
.site-header.scrolled .brand-logo { height: clamp(24px, 2.4vw, 30px); }
.nav-links { gap: 28px; color: var(--ink); font-size: 15px; font-weight: 500; }
.nav-links a::after { display: none; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.header-actions { gap: 10px; }
.site-header .lang-currency { gap: 6px; }
.lang-toggle-btn { border: none; background: transparent; padding: 8px 6px; font-weight: 600; font-size: 13px; color: var(--ink); }
.lang-toggle-btn:hover { background: transparent; color: var(--blue); }
.lang-toggle-btn .globe { display: none; }
.site-header .currency-select { font-family: var(--font-mono); font-weight: 600; font-size: 11px; letter-spacing: .06em; border-color: var(--line); padding-block: 6px; }
.cart-btn.cart-pill { width: auto; height: auto; gap: 8px; padding: 8px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: 14px; font-weight: 500; }
.cart-btn.cart-pill:hover { border-color: var(--line-strong); background: #fff; }
.cart-btn.cart-pill svg { display: none; }
.cart-pill .cart-count { position: static; min-width: 20px; height: 20px; line-height: 20px; font-size: 12px; background: var(--red); box-shadow: none; }
.header-actions > .btn-primary { border-radius: 999px; padding: 12px 20px; font-size: 14px; }
.nav-toggle { width: 42px; height: 42px; border-radius: 12px; background: var(--ink); color: #fff; border: none; }
.mobile-nav { background: var(--paper); }
.mobile-nav a { color: var(--ink); }
@media (max-width: 959px) {
  .header-actions > .btn-primary { display: none; }
  .site-header .lang-currency { display: flex; }
  .site-header .currency-select { display: none; }
  .cart-pill .cart-label { display: none; }
  .cart-btn.cart-pill svg { display: block; }
  .cart-btn.cart-pill { padding: 8px 10px; }
}

/* ---------- home hero ---------- */
.hero2 { position: relative; padding: calc(78px + clamp(4px, 2vw, 20px)) 0 0; background-color: var(--paper); background-image: radial-gradient(rgba(38, 42, 51, .08) 1px, transparent 1.3px); background-size: 24px 24px; container-type: inline-size; overflow: hidden; }
.hero2-grid { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(8px, 3cqw, 40px); max-width: 1280px; margin: 0 auto; padding-inline: var(--pad-x); }
.hero2-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: clamp(16px, 1.8cqw, 24px); padding-bottom: 12px; }
.status-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px 8px 14px; font: 600 11px var(--font-mono); letter-spacing: .14em; color: var(--ink); }
.hero2 h1 { margin: 0; font-size: clamp(40px, 5.2cqw, 68px); line-height: 1.12; font-weight: 600; letter-spacing: -.01em; text-wrap: balance; }
.hero2 h1 .red { color: var(--red); }
/* "اليابان من أولها لآخرها. / وإشارتك معك في كل خطوة." — each phrase on its own line, sized so it stays ~one line */
.hero2 h1 { font-size: clamp(34px, 4.1cqw, 54px); line-height: 1.2; }
.hero2 h1 > span { display: block; }
html[lang="en"] .hero2 h1 { font-size: clamp(32px, 3.7cqw, 50px); line-height: 1.12; }
.hero2-p { margin: 0; font-size: clamp(16px, 1.45cqw, 19px); line-height: 1.75; color: var(--text); max-width: 500px; text-wrap: pretty; }
.hero2-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero2-actions .btn { padding: 16px 28px; font-size: 16px; }
.hero2-actions .btn-ghost-dark { padding: 15px 24px; }
.hero2-stats { display: flex; flex-wrap: wrap; gap: clamp(18px, 2.6cqw, 36px); padding-top: 4px; }
.hero2-stats div { display: flex; flex-direction: column; gap: 2px; }
.hero2-stats strong { font-size: 22px; font-weight: 600; color: var(--ink); }
.hero2-stats span { font-size: 13px; color: var(--muted); }
.hero2-art { flex: 1 1 480px; max-width: 600px; min-width: 0; margin-inline: auto; position: relative; aspect-ratio: 1; container-type: inline-size; overflow: hidden; }
.jp-art > * { position: absolute; }
.hero2-art .r0 { left: -2%; top: -6%; width: 104%; aspect-ratio: 1; border-radius: 50%; border: .4cqw solid var(--ring-faint); }
.hero2-art .r1 { left: 7%; top: 3%; width: 86%; aspect-ratio: 1; border-radius: 50%; border: 2.4cqw solid var(--sky); }
.hero2-art .r2 { left: 17%; top: 13%; width: 66%; aspect-ratio: 1; border-radius: 50%; border: 3cqw solid var(--green); }
.hero2-art .sun { left: 30%; top: 26%; width: 40%; aspect-ratio: 1; border-radius: 50%; background: var(--red); }
.hero2-art .fuji, .hero2-art .snow { left: -10%; top: 52%; width: 120%; height: 48%; }
.hero2-art .fuji { background: var(--mountain); clip-path: polygon(41% 0, 59% 0, 100% 100%, 0 100%); }
.hero2-art .snow { background: #fff; clip-path: polygon(41% 0, 59% 0, 70.5% 28%, 64% 23%, 57% 30%, 50% 24%, 43% 30%, 36% 23%, 29.5% 28%); }
.conn-card { top: 6%; inset-inline-end: 0; background: #fff; border-radius: 18px; padding: 12px 16px; box-shadow: var(--shadow-raised); display: flex; flex-direction: column; gap: 2px; }
.conn-card .conn-l { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.conn-card .pg-dot { width: 8px; height: 8px; }
.conn-card .conn-v { font-size: 24px; font-weight: 600; color: var(--ink); }
.conn-card .conn-v small { font-size: 13px; color: var(--muted); font-weight: 500; }
.hero2-bars { display: flex; align-items: flex-end; gap: clamp(4px, .9cqw, 12px); height: 300px; padding: 0 clamp(12px, 2cqw, 24px); margin-top: clamp(-90px, -6cqw, -20px); position: relative; z-index: 2; max-width: 1280px; margin-inline: auto; }
.hero2-bars .bar { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero2-bars .bar i { display: block; width: 100%; height: 0; border-radius: 8px 8px 0 0; transition: height 1.1s cubic-bezier(.2, .8, .2, 1); }
.hero2-bars .lbl { font: 600 11px var(--font-mono); letter-spacing: .14em; color: var(--ink); white-space: nowrap; }
.hero2-bars .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.hero2-bars .dot.red { background: var(--red); }
.hero2-trust { background: #fff; border-top: 1px solid var(--line); position: relative; z-index: 3; }
.hero2-trust .inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px 28px; padding: 24px var(--pad-x); }
.hero2-trust .it { display: flex; gap: 12px; align-items: flex-start; }
.hero2-trust .sq { width: 10px; height: 10px; border-radius: 3px; margin-top: 6px; flex: none; }
.hero2-trust .it div { display: flex; flex-direction: column; gap: 2px; }
.hero2-trust strong { font-size: 15px; font-weight: 600; color: var(--ink); }
.hero2-trust span:not(.sq) { font-size: 13px; color: var(--muted); }
@media (max-width: 700px) {
  .hero2-bars { height: 200px; }
  .hero2-bars .bar i { border-radius: 5px 5px 0 0; }
  .hero2-bars .lbl { font-size: 8px; }
  .hero2-actions .btn { flex: 1 1 100%; text-align: center; }
}

/* ---------- shared: cards on paper ---------- */
.benefit-card, .step, .testi-card, .device-card, .faq-item, .status-card, .cta-banner, .prod-card, .prod-benefit, .prod-details, .compare-wrap, .summary-card, .cart-line, .checkout-form, .empty-state, .day-picker, .prod-specs, .chip, .dc-modal { border-color: var(--line); box-shadow: none; }
.benefit-card, .step, .testi-card, .device-card, .status-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.benefit-card .ic, .device-card .ic { color: var(--blue); }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.cta-banner { background: #fff; border: 1px solid var(--line); border-radius: 24px; }
.stars { color: var(--star); }
.fup-note { color: var(--muted); }
.site-footer { background: #fff; border-top: 1px solid var(--line); }
.site-footer h4 { color: var(--ink); }
.pay-icons span { font-family: var(--font-mono); font-weight: 600; font-size: 11px; letter-spacing: .08em; color: #4A4F5C; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; }
.shop-page { background: var(--paper); padding-block: calc(78px + clamp(8px, 2vw, 28px)) clamp(32px, 4vw, 56px); }
.crumbs { font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs span:last-child { color: var(--ink); font-weight: 500; }

/* product tiles (home plans section) */
.prod-card { border-radius: 24px; }
.prod-card:hover { box-shadow: var(--shadow-raised); }
.prod-card.is-featured { border: 2px solid var(--blue); box-shadow: none; }
.prod-badge { color: var(--blue); }
.art-max, .art-lite, .art-fixed, .prod-card-art { background: var(--blue-tint); color: var(--ink); }
/* four products: 4 tiles in a row on wide screens, 2×2 on tablets */
@media (min-width: 1020px) { .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; } }
@media (min-width: 1240px) { .prod-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1320px; gap: 18px; } }
.prod-card-art .pa-big, .prod-art .pa-big { color: var(--ink); }
.prod-card-art .pa-unit, .prod-art .pa-unit, .prod-card-art .pa-brand { color: var(--muted); opacity: 1; }
/* the real Pinglo logo on the tile (was the word "Pinglo"): centred in the top row, on a soft white pill so the dark
   wordmark keeps its contrast over the tile's rings */
.prod-card-art .pa-logo { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); z-index: 1; height: 30px; width: auto; padding: 6px 12px; box-sizing: border-box; background: rgba(255, 255, 255, .78); border: 1px solid rgba(26, 111, 224, .12); border-radius: 999px; box-shadow: 0 1px 2px rgba(38, 42, 51, .06); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.prod-card-art .pa-5g { background: #fff; border-color: var(--line); color: var(--green-text); }
.prod-card-art::after { border-color: var(--sky); box-shadow: 0 0 0 36px rgba(179, 205, 238, .25), 0 0 0 72px rgba(179, 205, 238, .12); }
.prod-card-art::before { content: ""; position: absolute; z-index: -1; width: 26%; aspect-ratio: 1; border-radius: 50%; background: var(--red); inset-inline-end: 12%; top: 16%; }
.prod-card-validity { background: var(--blue-tint); border-color: var(--ring-faint); color: var(--blue-deep); }
.prod-ticks li::before { background-color: var(--green-tint); border-color: #CFEBDD; }
.prod-card-price strong { color: var(--ink); }

/* ---------- plans configurator ---------- */
.pc { display: flex; flex-direction: column; gap: clamp(22px, 2.4vw, 32px); }
.pc-head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.pc-head h1 { font-size: clamp(30px, 3.8vw, 50px); line-height: 1.2; text-wrap: balance; }
.pc-head p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--text); text-wrap: pretty; }
.pc-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.pc-allow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: -8px; }
.pc-allow .cur-chip { font-family: inherit; letter-spacing: 0; text-transform: none; font-size: 14px; font-weight: 600; padding: 9px 16px; }
.pc-type { text-align: start; cursor: pointer; background: #fff; border: 2px solid var(--line); border-radius: 18px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; color: var(--ink); font: inherit; transition: border-color .2s; }
.pc-type:hover { border-color: var(--line-strong); }
.pc-type[aria-pressed="true"] { border-color: var(--blue); }
.pc-type .t { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; }
.pc-type .t i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); flex: none; }
.pc-type[aria-pressed="true"] .t i { background: var(--blue); }
.pc-type .s { font-size: 13px; color: var(--muted); }
.pc-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; }
.pc-row > strong { font-size: 15px; font-weight: 600; color: var(--ink); }
.pc-curs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pc-curs > span { font-size: 13px; color: var(--muted); margin-inline-end: 4px; }
.cur-chip { cursor: pointer; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 6px 11px; font: 600 11px var(--font-mono); letter-spacing: .06em; transition: background .2s, color .2s; }
.cur-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pc-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.pc-opt { cursor: pointer; text-align: start; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 18px; padding: 18px 16px; display: flex; flex-direction: column; gap: 14px; font: inherit; transition: background .25s, color .25s, transform .2s, border-color .2s; }
.pc-opt:hover { border-color: var(--line-strong); }
.pc-opt .top { display: flex; flex-direction: column; gap: 2px; }
.pc-opt .top b { font-size: 18px; font-weight: 600; }
.pc-opt .top small { font-size: 12px; color: var(--muted); }
.pc-opt .price { font-size: 22px; font-weight: 600; }
.pc-opt[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-3px); }
.pc-opt[aria-pressed="true"] .top small { color: rgba(255, 255, 255, .88); }
.pc-opt .pop { align-self: flex-start; font: 600 10px var(--font-mono); letter-spacing: .1em; color: var(--blue); background: var(--blue-tint); border-radius: 999px; padding: 2px 8px; }
.pc-opt[aria-pressed="true"] .pop { background: rgba(255, 255, 255, .2); color: #fff; }
.pc-bar { background: var(--ink); color: #fff; border-radius: 22px; padding: 18px 20px 18px clamp(18px, 2vw, 28px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.pc-bar .l { display: flex; flex-direction: column; gap: 2px; }
.pc-bar .l span { font-size: 13px; color: #C9CCD4; }
.pc-bar .l strong { font-size: 18px; font-weight: 600; color: #fff; }
.pc-bar .r { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.pc-bar .price { font-size: 26px; font-weight: 600; }
.pc-bar .btn { padding: 14px 24px; font-size: 15px; }
.pc-bar .btn-ghost-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.pc-bar .btn-ghost-dark:hover { border-color: #fff; background: transparent; }
.pc-foot { margin: 0; font-size: 13px; line-height: 1.6; color: var(--muted); }
.pc-qp { display: flex; flex-direction: column; gap: 14px; padding-top: 8px; }
.pc-qp h2 { font-size: clamp(22px, 2.2vw, 28px); }
.pc-qp .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.pc-qp .card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.pc-qp .n { font: 600 11px var(--font-mono); letter-spacing: .14em; color: var(--blue); }
.pc-qp .card strong { font-size: 16px; font-weight: 600; color: var(--ink); }
.pc-qp .card p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text); }

/* ---------- product ---------- */
.pd-grid { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 56px); align-items: flex-start; }
.pd-left { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.pd-right { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.pd-art { position: relative; aspect-ratio: 1 / .9; border-radius: 28px; background: var(--blue-tint); overflow: hidden; container-type: inline-size; }
.pd-art .r1 { left: 14%; top: 4%; width: 72%; aspect-ratio: 1; border-radius: 50%; border: 2.2cqw solid var(--sky); }
.pd-art .r2 { left: 24%; top: 15%; width: 52%; aspect-ratio: 1; border-radius: 50%; border: 2.6cqw solid var(--green); }
.pd-art .sun { left: 33%; top: 25%; width: 34%; aspect-ratio: 1; border-radius: 50%; background: var(--red); }
.pd-art .fuji, .pd-art .snow { left: -10%; top: 55%; width: 120%; height: 45%; }
.pd-art .fuji { background: var(--mountain); clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%); }
.pd-art .snow { background: #fff; clip-path: polygon(42% 0, 58% 0, 67.4% 26%, 62% 21%, 56% 27%, 50% 21%, 44% 27%, 38% 21%, 32.6% 26%); }
.esim-card2 { left: 23%; top: 36%; width: 54%; background: #fff; border-radius: 4.5cqw; padding: 5cqw; box-shadow: 0 30px 60px rgba(38, 42, 51, .2); transform: rotate(-5deg); display: flex; flex-direction: column; gap: 3.4cqw; }
.esim-card2 .row1 { display: flex; justify-content: space-between; align-items: center; }
.esim-card2 img { height: 7cqw; width: auto; display: block; }
.esim-card2 .mono { font: 600 2.3cqw var(--font-mono); letter-spacing: .16em; color: var(--muted); }
.esim-card2 .chipx { width: 13cqw; height: 10cqw; border-radius: 2cqw; background: #F0EDE6; border: 1px solid var(--line); }
.esim-card2 .nm { display: flex; flex-direction: column; gap: .6cqw; }
.esim-card2 .nm b { font-size: 4.2cqw; font-weight: 600; color: var(--ink); font-family: "Readex Pro", system-ui, sans-serif; }
.esim-card2 .nm span { font: 600 2.3cqw var(--font-mono); letter-spacing: .12em; color: var(--green); }
.pd-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pd-spec { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 3px; }
.pd-spec span { font-size: 12px; color: var(--muted); }
.pd-spec b { font-size: 14px; font-weight: 600; line-height: 1.45; color: var(--ink); }
.pd-intro { display: flex; flex-direction: column; gap: 10px; }
.pill-green { align-self: flex-start; background: var(--green-tint); color: var(--green-text); border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 600; }
.pd-intro h1 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.2; }
.pd-intro p { margin: 0; font-size: 16px; line-height: 1.75; color: var(--text); text-wrap: pretty; }
.pd-opts { display: flex; flex-direction: column; gap: 10px; }
.pd-opts > strong { font-size: 14px; font-weight: 600; color: var(--ink); }
.pd-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-chip { cursor: pointer; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font: 600 14px var(--font-body); transition: background .2s, color .2s, border-color .2s; }
.pd-chip:hover { border-color: var(--line-strong); }
.pd-chip[aria-checked="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.pd-chip small { font-weight: 500; opacity: .8; margin-inline-start: 4px; }
.pd-exact { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.pd-exact .stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.pd-exact .stepper button { width: 36px; height: 36px; border: none; background: var(--paper); font-size: 16px; color: var(--ink); cursor: pointer; }
.pd-exact .stepper button:disabled { opacity: .35; cursor: not-allowed; }
.pd-exact .day-value { display: inline-flex; gap: 4px; align-items: baseline; min-width: 70px; justify-content: center; padding-inline: 6px; }
.pd-exact .day-value strong { font-size: 15px; color: var(--ink); }
.pd-exact .day-value span { font-size: 13px; }
.pd-box { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.pd-box .top { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.pd-box .sum { display: flex; flex-direction: column; gap: 2px; }
.pd-box .sum > span { font-size: 13px; color: var(--muted); }
.pd-box .buy-price strong { font-size: 36px; font-weight: 600; line-height: 1.1; color: var(--ink); font-family: var(--font-body); }
.pd-box .buy-price { display: block; text-align: start; }
.qty2 { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.qty2 button { cursor: pointer; width: 42px; height: 42px; border: none; background: var(--paper); font-size: 18px; color: var(--ink); }
.qty2 strong { min-width: 44px; text-align: center; font-weight: 600; color: var(--ink); }
.pd-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pd-actions .js-buy-now { flex: 1 1 200px; padding: 16px; font-size: 16px; }
.pd-actions .js-add { flex: 1 1 160px; padding: 15px; font-size: 16px; font-weight: 500; background: #fff; color: var(--ink); border: 1px solid var(--line-strong); }
.pd-actions .js-add:hover { background: #fff; border-color: var(--ink); }
.pd-note { font-size: 12px; color: var(--muted); text-align: center; }
.pd-incl { display: flex; flex-direction: column; gap: 10px; }
.pd-incl span { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--ink); }
.pd-incl span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.pd-compat { background: var(--blue-tint); border-radius: 18px; padding: 16px 18px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.pd-compat div { display: flex; flex-direction: column; gap: 2px; }
.pd-compat strong { font-size: 15px; font-weight: 600; color: var(--ink); }
.pd-compat span { font-size: 13px; color: var(--text); }
.pd-compat .btn { padding: 10px 16px; font-size: 14px; font-weight: 500; border-radius: 12px; }
.pd-right .dc-slot { margin-top: 0; }
.pd-right .fup-note { margin: 0; text-align: start; font-size: 12.5px; }
.prod-benefits, .prod-hotspot, .prod-details, .prod-compare { margin-top: clamp(40px, 5vw, 64px); }
.prod-hotspot { background: #fff; border-color: var(--line); }
.prod-tabs button.active { color: var(--blue); border-bottom-color: var(--blue); }
.pb-ic { background: var(--blue-tint); }
.best-for { background: var(--green-tint); border-color: #CFEBDD; }
.compat-check { background: var(--blue-tint); border-color: var(--ring-faint); }

/* ---------- cart + checkout ---------- */
.co-steps { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.co-step { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px 7px 8px; font-size: 13px; font-weight: 500; }
html[dir="rtl"] .co-step { padding: 7px 8px 7px 14px; }
.co-step b { width: 22px; height: 22px; border-radius: 50%; background: var(--seg); color: var(--ink); display: grid; place-items: center; font-size: 12px; font-weight: 600; }
.co-step.done b { background: var(--green); color: #fff; }
.co-step.current { background: var(--ink); border-color: var(--ink); color: #fff; }
.co-step.current b { background: #fff; color: var(--ink); }
.page-title { font-size: clamp(28px, 3vw, 40px); color: var(--ink); }
.cart-grid { gap: clamp(20px, 3vw, 40px); }
.cart-line { background: #fff; border: 1px solid var(--line); border-radius: 22px; }
.cart-line-art { width: 64px; height: 64px; border-radius: 16px; background: var(--blue-tint); position: relative; overflow: hidden; padding: 0; }
.cart-line-art::before { content: ""; position: absolute; inset-inline-start: 14px; top: 12px; width: 36px; height: 36px; border-radius: 50%; background: var(--red); }
.cart-line-art::after { content: ""; position: absolute; left: -6px; top: 36px; width: 76px; height: 28px; background: var(--mountain); clip-path: polygon(40% 0, 60% 0, 100% 100%, 0 100%); }
.cart-line-art span { display: none; }
@media (max-width: 560px) { .cart-line-art { width: 48px; height: 48px; } .cart-line-art::before { width: 26px; height: 26px; top: 8px; inset-inline-start: 11px; } .cart-line-art::after { top: 27px; width: 60px; height: 22px; } }
.cart-line-name { color: var(--ink); }
.cart-line-total, .mini-line-total, .mini-total strong, .sum-row.total strong { color: var(--ink); font-family: var(--font-body); }
.summary-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 22px; }
.summary-card h2 { font-size: 16px; }
.sum-row { font-size: 14px; }
.sum-row .free, .sum-row .co-free { color: var(--green-text); font-weight: 500; }
.sum-row.total { border-top: 1px solid var(--divider); font-size: 18px; color: var(--ink); }
.sum-row.total strong { font-size: 18px; }
.summary-card .charge-note { color: var(--blue-deep); }
.checkout-form { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(18px, 2.4vw, 32px); }
.checkout-form label { font-size: 13px; color: var(--text); font-weight: 500; }
.checkout-form input { border: 1px solid var(--line-strong); border-radius: 12px; padding: 14px; font-size: 15px; color: var(--ink); }
.checkout-form input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.step-title { font-size: 16px; font-weight: 600; color: var(--ink); gap: 10px; }
.step-title span { border-radius: 50%; width: 24px; height: 24px; font-size: 12px; background: var(--ink); }
.co-pay-info { background: var(--sel-bg); border: 1px solid var(--ring-faint); border-radius: 14px; padding: 12px 14px; font-size: 13.5px; color: var(--text); line-height: 1.7; }
.js-pay { padding: 17px; font-size: 17px; border-radius: 14px; }
.co-secure { text-align: center; font-size: 12px; color: var(--muted); margin-top: 10px; }
.co-terms { text-align: center; font-size: 12px; color: var(--muted); margin-top: 6px; line-height: 1.7; }
.co-terms a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.summary-lines li { align-items: center; }
.summary-lines .sl-art { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-tint); position: relative; overflow: hidden; flex: none; }
.summary-lines .sl-art::before { content: ""; position: absolute; inset-inline-start: 10px; top: 8px; width: 24px; height: 24px; border-radius: 50%; background: var(--red); }
.summary-lines .sl-art::after { content: ""; position: absolute; left: -4px; top: 25px; width: 52px; height: 20px; background: var(--mountain); clip-path: polygon(40% 0, 60% 0, 100% 100%, 0 100%); }
.summary-lines li > .sl-main { display: flex; gap: 12px; align-items: flex-start; flex: 1; min-width: 0; }
.coupon-form input { border-radius: 12px; border-color: var(--line-strong); }
.coupon-form .btn { border: 1px solid var(--ink); color: var(--ink); border-radius: 12px; }
.qty-row button { border-color: var(--line); color: var(--ink); background: var(--paper); border-radius: 10px; }
.qty-row button:hover { background: #fff; border-color: var(--line-strong); }
.qty-row .qty-del { color: var(--red); }
.secure-line { color: var(--muted); }
.drawer, .toast { border-color: var(--line); }
.mini-list li { background: var(--paper); border-color: var(--line); }
.continue-link { color: var(--blue); }

@media (prefers-reduced-motion: reduce) {
  .pg-dot, .live-dot { animation: none; }
  .hero2-bars .bar i, .pc-opt, .pd-chip { transition: none; }
  .pc-opt[aria-pressed="true"] { transform: none; }
}
.pd-chip .chip-badge { position: static; background: none; color: inherit; padding: 0; font-size: 11px; font-weight: 600; opacity: .85; }
.pd-chip.chip { display: inline-flex; align-items: center; gap: 6px; }
.pd-exact .day-rate { margin: 0; font-size: 12.5px; color: var(--muted); }
.pd-box .charged { font-size: 12px; color: var(--blue-deep); }
.summary-lines .sl-main > div { display: grid; gap: 2px; justify-items: start; }
.summary-lines .sl-main > div > span { font-size: 12.5px; color: var(--muted); }
@media (min-width: 700px) { .hero2-stats { flex-wrap: nowrap; } .hero2-stats div { flex: 0 1 auto; min-width: 0; } }
.hero2-stats strong { white-space: nowrap; }
/* Arabic must never be letter-spaced (it breaks the joining between letters): mono + tracking for Latin only */
html[dir="rtl"] .eyebrow, html[dir="rtl"] .prod-card-body .eyebrow { letter-spacing: 0; font-family: var(--font-body); font-size: 13px; }
html[dir="rtl"] .eyebrow .jp { letter-spacing: .06em; }
.prod-card-art::before { inset-inline-end: auto; inset-inline-start: 9%; top: 30%; width: 20%; }
.site-header .currency-select, .pay-icons span { letter-spacing: 0; }
.pc > * { min-width: 0; max-width: 100%; }  /* a flex column must not grow to the compare table: it scrolls inside its own box */
.hero2-copy { padding-bottom: clamp(12px, 8cqw, 104px); } /* the bars rise into the hero: keep them clear of the text when the copy is the taller column (English) */

/* ---------- order page = "your eSIM is ready" (activation, 2026 design) ---------- */
.order-page { background: var(--paper); padding-block: calc(78px + clamp(8px, 2vw, 28px)) clamp(32px, 4vw, 56px); }
.order-wrap { max-width: 1280px; }
.order-card { background: none; border: none; box-shadow: none; padding: 0; display: flex; flex-direction: column; gap: 24px; }
.ac-head { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.ac-head .order-status-ic { width: 56px; height: 56px; border-radius: 50%; font-size: 26px; }
.ac-head[data-tone="ok"] .order-status-ic { background: var(--green); color: #fff; animation: pgPulse 1.8s infinite; }
.ac-head[data-tone="info"] .order-status-ic { background: #fff; border: 1px solid var(--line); }
.ac-head[data-tone="warn"] .order-status-ic { background: #FCEBEA; color: var(--red); }
.ac-title { flex: 1 1 300px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ac-head h1 { font-size: clamp(26px, 3vw, 40px); line-height: 1.2; }
.ac-head p { margin: 0; font-size: 15px; color: var(--text); }
.ac-chip { font: 600 12px var(--font-mono); letter-spacing: .12em; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; white-space: nowrap; }
.ac-timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.ac-step { display: flex; flex-direction: column; gap: 8px; }
.ac-step i { height: 6px; border-radius: 999px; background: var(--seg); }
.ac-step span { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--muted); }
.ac-step b { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); flex: none; }
.ac-step.done i, .ac-step.done b { background: var(--green); }
.ac-step.done span { color: var(--ink); }
.ac-step.current i, .ac-step.current b { background: var(--blue); }
.ac-step.current span { color: var(--ink); }
.order-facts { margin-top: 0; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; background: none; border: none; }
.order-facts div { display: inline-flex; gap: 8px; align-items: baseline; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 13px; }
.order-facts strong { color: var(--ink); font-weight: 600; text-align: start; }
.order-facts .receipt-link { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 600; background: var(--blue-tint); color: var(--blue-deep); border: 1px solid var(--ring-faint); margin: 0; }
.ac-main { display: flex; flex-wrap: wrap; gap: clamp(18px, 3vw, 32px); align-items: flex-start; }
.ac-qrcol { flex: 1 1 340px; max-width: 440px; min-width: 0; margin-inline: auto; display: flex; flex-direction: column; gap: 16px; }
.ac-qrcol .esim-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.ac-qrcol .esim-card-head { align-self: stretch; }
.ac-qrcol .esim-card h2 { font-size: 15px; font-weight: 600; color: var(--ink); }
.ac-qrcol .esim-card h2 small { color: var(--muted); font-weight: 500; }
.ac-qrcol .qr-slot { width: min(100%, 260px); }
.ac-qrcol .qr-slot img { width: 100%; height: auto; margin: 0 auto; border-radius: 18px; border: 1px solid var(--line); }
.ac-qrcol .esim-scan { margin: 0; font-size: 13px; color: var(--muted); }
.ac-qrcol .esim-card .btn { margin-top: 0; }
.ac-qrcol .usage, .ac-qrcol .esim-expiry, .ac-qrcol .topup-panel, .ac-qrcol .topup-open, .ac-qrcol details, .ac-manual { align-self: stretch; text-align: start; }
.ac-qrcol .topup-open { margin-top: 0; }
.ac-manual { display: flex; flex-direction: column; gap: 6px; }
.ac-manual .esim-label { font-size: 12px; color: var(--muted); margin: 0; }
.ac-manual .esim-code { margin: 0; align-items: center; gap: 8px; background: var(--paper); border-radius: 12px; padding: 8px 8px 8px 12px; }
.ac-manual .esim-code code { background: none; border: none; padding: 0; font: 500 12px var(--font-mono); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-manual .esim-code button { border: none; background: var(--ink); color: #fff; border-radius: 9px; padding: 8px 12px; font-size: 13px; font-weight: 600; transition: background .2s; }
.ac-manual .esim-code button.copied { background: var(--green); }
.esim-card .iccid { font-size: 11px; color: var(--muted); }
.usage-bar { background: var(--seg); }
.usage-bar span { background: var(--blue); }
.topup-panel { background: var(--sel-bg); border-color: var(--ring-faint); border-radius: 18px; }
.ac-guide { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.ac-guide-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ac-guide-head h2 { font-size: 18px; }
.ac-seg { display: flex; background: var(--seg); border-radius: 12px; padding: 4px; gap: 4px; }
.ac-seg button { cursor: pointer; border: none; background: transparent; color: var(--ink); border-radius: 9px; padding: 8px 16px; font: 600 14px var(--font-body); }
.ac-seg button[aria-selected="true"] { background: #fff; box-shadow: 0 1px 3px rgba(38, 42, 51, .12); }
.ac-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ac-steps li { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: flex; gap: 14px; align-items: flex-start; }
.ac-steps b { width: 30px; height: 30px; border-radius: 50%; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; font-size: 14px; font-weight: 600; flex: none; }
.ac-steps span { font-size: 15px; line-height: 1.6; padding-top: 3px; color: var(--ink); }
.ac-tip { background: var(--green-tint); border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.ac-tip strong { font-size: 14px; color: var(--green-text); }
.ac-tip span { font-size: 14px; line-height: 1.6; color: #23473A; }
.ac-guide .order-warn { margin: 0; background: #fff; border: 1px solid var(--line); color: var(--text); }
.ac-support { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; padding: 13px 18px; border-radius: 14px; font-size: 14px; font-weight: 500; flex-wrap: wrap; }
.ac-support:hover { background: #111; color: #fff; }
.ac-support i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.order-back { color: var(--blue); }
@media (prefers-reduced-motion: reduce) { .ac-head[data-tone="ok"] .order-status-ic { animation: none; } }
.site-header .currency-select { font-family: var(--font-body); font-size: 12px; font-weight: 500; }

/* Trip scenarios (home #trips) — replace the placeholder reviews with real use cases */
.scn-card { display: flex; flex-direction: column; gap: 10px; color: inherit; text-decoration: none; transition: border-color .2s, transform .2s; }
.scn-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.scn-card h3 { font-size: 19px; line-height: 1.45; color: var(--text); margin: 0; }
.scn-card .quote { margin: 0; flex: 1; }
.scn-tag { align-self: flex-start; font-size: 12.5px; font-weight: 500; color: var(--blue); background: rgba(26, 111, 224, .08); border-radius: 999px; padding: 4px 12px; }
.scn-pick { font-weight: 600; color: var(--blue); }

/* ---------- How it works: journey path (home #how-it-works) ----------
 * Three stations on a dashed flight route with a plane flying along it. Phones: a vertical timeline, route on the
 * inline-start side. Desktop (≥860px): a horizontal route through the three station icons. Logical props → RTL/LTR. */
.journey .section-head p { max-width: 520px; margin-inline: auto; }
.jr { position: relative; margin-top: clamp(32px, 4vw, 48px); --node: 56px; }
.jr-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; position: relative; z-index: 1; }
.jr-step { display: grid; grid-template-columns: var(--node) minmax(0, 1fr); gap: 16px; align-items: start; }
.jr-node {
  width: var(--node); height: var(--node); border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line-strong); color: var(--blue); position: relative;
  box-shadow: 0 0 0 6px #fff; /* masks the dashed route behind the icon */
}
.jr-node svg { width: 24px; height: 24px; }
.is-arrive .jr-node { background: var(--green); border-color: var(--green); color: #fff; }
.is-arrive .jr-node::before, .is-arrive .jr-node::after {
  content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 2px solid var(--green);
  animation: jr-ping 2.6s cubic-bezier(.2, .6, .3, 1) infinite; opacity: 0;
}
.is-arrive .jr-node::after { animation-delay: 1.3s; }
@keyframes jr-ping { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.75); opacity: 0; } }

.jr-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px 20px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.jr-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.jr-num { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12px; font-weight: 600; color: var(--muted); }
.jr-when { font-size: 12.5px; font-weight: 500; color: var(--blue); background: var(--blue-tint); border-radius: 999px; padding: 3px 11px; }
.is-arrive .jr-when { color: var(--green-text); background: var(--green-tint); }
.jr-card h3 { margin: 0 0 6px; font-size: 19px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.jr-card p { margin: 0; color: var(--text); font-size: 15px; line-height: 1.75; }

/* phones: a dashed connector from each station down to the next, the dashes flowing downwards */
.jr-step { position: relative; }
.jr-step:not(:last-child)::before {
  content: ""; position: absolute; inset-inline-start: calc(var(--node) / 2 - 1px); top: calc(var(--node) + 6px); bottom: -12px; width: 2px;
  background: repeating-linear-gradient(180deg, var(--blue-200) 0 7px, transparent 7px 14px); background-size: 2px 14px;
  animation: jr-flow 1.1s linear infinite;
}
@keyframes jr-flow { to { background-position: 0 14px; } }
.jr-track { display: none; }

.jr-foot { margin-top: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.jr-note { font-size: 14px; color: var(--muted); max-width: 460px; }

@media (hover: hover) { .jr-card:hover { border-color: var(--blue-200); transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(26, 42, 80, .35); } }

@media (min-width: 860px) {
  .jr { --node: 64px; }
  .jr-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
  .jr-step { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; justify-items: center; gap: 22px; text-align: center; }
  .jr-node svg { width: 26px; height: 26px; }
  .jr-card { width: 100%; height: 100%; box-sizing: border-box; padding: 24px 26px 26px; }
  .jr-meta { justify-content: center; }
  .jr-step:not(:last-child)::before { display: none; }
  .jr-track {
    display: block; position: absolute; z-index: 0; top: calc(var(--node) / 2 - 1px); height: 2px;
    inset-inline: calc((100% - 2 * clamp(20px, 3vw, 36px)) / 6); /* centre of first column → centre of last */
    background: repeating-linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 16px);
  }
  .jr-plane {
    position: absolute; top: 50%; inset-inline-start: 0; width: 22px; height: 22px; margin-inline-start: -11px; margin-top: -11px;
    color: var(--blue); background: #fff; border-radius: 50%; display: grid; place-items: center;
    animation: jr-fly-h 7s ease-in-out infinite;
  }
  .jr-plane svg { width: 16px; height: 16px; transform: rotate(90deg); }
  [dir="rtl"] .jr-plane svg { transform: rotate(-90deg); }
  @keyframes jr-fly-h { 0%, 8% { inset-inline-start: 0; opacity: 0; } 16% { opacity: 1; } 84% { opacity: 1; } 92%, 100% { inset-inline-start: 100%; opacity: 0; } }
}

@media (prefers-reduced-motion: reduce) {
  .jr-plane { animation: none; inset-inline-start: 50%; }
  .jr-step::before { animation: none; }
  .is-arrive .jr-node::before, .is-arrive .jr-node::after { animation: none; }
}

/* ---------- Pinglo icon set — "Hinomaru duotone" (js/icons.js; same SVGs inlined in the pages) ----------
 * ink outline + soft blue fill (.f) + a red sun dot (.sun) where it carries meaning. Stroke width is tuned per size. */
.pg-i { width: 24px; height: 24px; flex: none; overflow: visible; }
.pg-i .f { fill: var(--i-fill, var(--blue)); fill-opacity: var(--i-fill-o, .13); }
.pg-i .solid { fill: currentColor; stroke: none; }
.pg-i .sun { fill: var(--i-sun, var(--red)); stroke: none; }
.pg-i .slash { stroke: var(--red); stroke-width: 2; }
.pg-i .ok { fill: var(--green); stroke: none; }
.pg-i .ok-ring { fill: var(--i-ring, #fff); stroke: none; }
.pg-i .ok-m { stroke: #fff; stroke-width: 1.6; }

/* why cards: a paper tile with a hairline border; the icon lifts a touch on hover */
.benefit-card .ic, .benefit-card:nth-child(even) .ic {
  width: 54px; height: 54px; border-radius: 16px; color: var(--ink);
  background: linear-gradient(160deg, #fff 0%, var(--blue-tint) 100%); border: 1px solid var(--line);
  box-shadow: 0 1px 0 #fff inset, 0 6px 14px -10px rgba(26, 42, 80, .35);
}
.benefit-card .ic .pg-i { width: 28px; height: 28px; stroke-width: 1.5; transition: transform .25s ease; }
.benefit-card:hover .ic .pg-i { transform: translateY(-2px); }

/* devices: a real silhouette per brand + a green "compatible" badge */
.device-card .ic, .device-card:nth-child(even) .ic { width: 52px; height: 52px; color: var(--ink); margin-inline: auto; }
.device-card .ic .pg-i { width: 52px; height: 52px; stroke-width: 1.15; }
.device-card .ic .pg-i .ok-m { stroke-width: 1.3; }

/* hero trust strip: small outlined tiles instead of colour squares */
.hero2-trust .it { align-items: center; }
.hero2-trust .ti { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; color: var(--ink); background: var(--paper); border: 1px solid var(--line); }
.hero2-trust .ti .pg-i { width: 23px; height: 23px; stroke-width: 1.6; }

/* journey stations */
.jr-node { color: var(--ink); }
.jr-node .pg-i { width: 30px; height: 30px; stroke-width: 1.45; }
.is-arrive .jr-node { --i-fill: #fff; --i-fill-o: .25; --i-sun: #fff; }

/* small inline icons */
.footer-email { display: inline-flex; align-items: center; gap: 7px; }
.footer-email .pg-i { width: 17px; height: 17px; stroke-width: 1.7; }
.prod-card-validity { display: inline-flex; align-items: center; gap: 7px; }
.prod-card-validity .pg-i { width: 17px; height: 17px; stroke-width: 1.7; }
.pb-ic { color: var(--ink); }
.pb-ic .pg-i { width: 25px; height: 25px; stroke-width: 1.55; }
.prod-hotspot h2 { display: flex; align-items: center; gap: 10px; }
.prod-hotspot h2 .ph-ic { width: 30px; height: 30px; stroke-width: 1.5; color: var(--ink); }

/* ---------- Tamara (public/js/tamara.js): payment chooser on checkout, top-up button, promo line ---------- */
.pay-methods { display: grid; gap: 10px; margin: 6px 0 12px; }
.checkout-form .pay-method, .pay-method { position: relative; display: flex; margin: 0; font-weight: 400; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.pay-method:hover { border-color: var(--line-strong); }
.pay-method.is-on { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.pay-method.is-off { cursor: not-allowed; background: var(--paper); }
.pay-method.is-off .pm-top, .pay-method.is-off small { opacity: .55; }
.checkout-form .pay-method input, .pay-method input { margin-top: 4px; padding: 0; height: 18px; accent-color: var(--blue); width: 18px; height: 18px; flex: none; }
.pm-body { display: grid; gap: 4px; min-width: 0; }
.pm-body strong { color: var(--ink); font-weight: 600; font-size: 15px; }
.pm-body small { color: var(--muted); font-size: 13px; line-height: 1.6; }
.pm-body .pay-icons { margin-top: 4px; }
.pm-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pm-why { font-style: normal; font-size: 12.5px; color: #9A5B00; background: #FBF1DF; border-radius: 8px; padding: 4px 8px; justify-self: start; }
.tamara-logo { height: 22px; width: auto; border-radius: 5px; display: inline-block; vertical-align: middle; }
.tamara-logo.sm { height: 18px; }
.tamara-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; padding: 10px 12px; border: 1px dashed var(--line-strong); border-radius: 12px; font-size: 13px; color: var(--text); background: #fff; }
.tamara-promo { margin-top: 12px; }
.tamara-promo tamara-widget { display: block; }
.js-pay.is-tamara { background: var(--ink); border-color: var(--ink); }
.js-pay.is-tamara:hover { background: #11141A; }
.topup-tamara { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 8px; background: #fff; border: 1.5px solid var(--line); color: var(--ink); font-weight: 600; }
.topup-tamara:hover:not([disabled]) { border-color: var(--ink); }
.topup-tamara[disabled] { opacity: .55; cursor: not-allowed; }
