/* eSIM Japan section — scoped to .pseo-esim, built on the site tokens of global.css. */
.pseo-esim{max-width:1120px;margin:auto;padding:45px 28px 110px;--esim-card:var(--white)}
.pseo-esim .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.pseo-esim h2{font-family:Georgia,serif;font-weight:500;font-size:clamp(28px,3.4vw,40px);line-height:1.08;letter-spacing:-.035em;margin:0 0 14px}
.pseo-esim h3{font-size:19px;letter-spacing:-.02em;margin:0}
.pseo-esim h4{font-size:12px;letter-spacing:.12em;text-transform:uppercase;margin:0 0 8px;color:var(--muted)}
.pseo-esim section,.pseo-esim aside,.pseo-esim nav.esim-related{margin-top:64px}
.pseo-esim .esim-muted{color:var(--muted);font-size:14px;line-height:1.6}
.pseo-esim .esim-kicker{display:block;color:var(--red);font-size:11px;letter-spacing:.15em;font-weight:900;text-transform:uppercase;margin:0 0 12px;font-family:Inter,system-ui,sans-serif}
.pseo-esim .esim-link{color:var(--red);font-weight:800;font-size:14px;text-underline-offset:3px}
.pseo-esim a.button{text-align:center}
.pseo-esim .button:hover{background:var(--red-dark)}

/* Hero */
.esim-hero{max-width:880px;margin:0 auto;text-align:center}
.esim-hero h1{margin:14px 0 18px}
.esim-intro{font-size:19px;line-height:1.65;color:#4f5d63;margin:0 auto 22px;max-width:760px}
.esim-trust{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;font-size:12px;font-weight:800;color:var(--ink);margin:0 0 8px}
.esim-trust span:not([aria-hidden]){background:var(--white);border:1px solid var(--line);border-radius:30px;padding:6px 12px}
.esim-disclosure{font-size:12px;color:var(--muted);line-height:1.55;max-width:680px;margin:10px auto 0}
.esim-disclosure a{color:var(--muted)}
.esim-warning{margin:18px auto 0;max-width:680px;background:#fff4e5;border:1px solid var(--gold);border-radius:12px;padding:12px 16px;font-size:13px;line-height:1.5}

/* Quick picks */
.esim-glance{margin-top:46px!important}
.esim-glance>h2{font-family:Inter,system-ui,sans-serif;font-size:11px;font-weight:900;letter-spacing:.15em;text-transform:uppercase;color:var(--red);text-align:center}
.esim-picks{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}
.esim-pick{position:relative;background:var(--esim-card);border:1px solid var(--line);border-radius:16px;padding:24px 22px 22px;display:flex;flex-direction:column;gap:8px;box-shadow:0 10px 30px rgba(8,19,27,.05)}
.esim-pick:first-child{border-color:var(--red);box-shadow:var(--shadow)}
.esim-pick-label{align-self:flex-start;background:var(--night);color:#fff;font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;border-radius:20px;padding:5px 10px}
.esim-pick:first-child .esim-pick-label{background:var(--red)}
.esim-pick h3{font-family:Georgia,serif;font-weight:500;font-size:26px;letter-spacing:-.03em}
.esim-pick-plan{margin:0;color:var(--muted);font-size:13px;line-height:1.5}
.esim-pick-price{margin:4px 0 10px;display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.esim-pick-price b{font-size:30px;letter-spacing:-.03em}
.esim-pick-price small{color:var(--muted);font-weight:700}
.esim-pick .button,.esim-pick .esim-link{margin-top:auto}
.esim-logo{width:44px;height:44px;border-radius:50%;background:var(--night);color:#fff;display:grid;place-items:center;font-family:Georgia,serif;font-size:21px;flex:none}
.esim-pick .esim-logo{position:absolute;top:20px;inset-inline-end:20px;width:38px;height:38px;font-size:18px;background:var(--paper);color:var(--night);border:1px solid var(--line)}
.esim-logo-lg{width:64px;height:64px;font-size:30px;background:var(--red)}

/* Tables */
.esim-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--line);border-radius:14px;background:var(--esim-card);margin-top:18px}
.esim-table{width:100%;border-collapse:collapse;font-size:13.5px;min-width:860px}
.esim-duel-table{min-width:520px}
.esim-table th,.esim-table td{padding:13px 14px;border-bottom:1px solid var(--line);text-align:start;white-space:nowrap}
.esim-table thead th{background:var(--night);color:#fff;font-size:11px;letter-spacing:.06em;text-transform:uppercase;position:relative}
.esim-table thead th[data-sort]{cursor:pointer;user-select:none}
.esim-table thead th[data-sort]::after{content:'↕';opacity:.45;margin-inline-start:6px}
.esim-table thead th[aria-sort=ascending]::after{content:'↑';opacity:1}
.esim-table thead th[aria-sort=descending]::after{content:'↓';opacity:1}
.esim-table tbody tr:last-child td,.esim-table tbody tr:last-child th{border-bottom:0}
.esim-table tbody tr:nth-child(even){background:#faf8f3}
.esim-table tbody th{font-weight:800;color:var(--muted);font-size:12px}
.esim-table .is-yes{color:#1f7a5c;font-weight:800}
.esim-table .is-no{color:var(--red-dark);font-weight:800}
.esim-table .is-unknown,.esim-specs .is-unknown{color:var(--muted)}
.esim-mini-cta{display:inline-block;background:var(--red);color:#fff;text-decoration:none;font-weight:900;font-size:12px;border-radius:8px;padding:8px 11px}
.esim-mini-cta:hover{background:var(--red-dark)}

/* Ranking */
.esim-rank-list{list-style:none;padding:0;margin:22px 0 0;display:grid;gap:16px}
.esim-rank-card{background:var(--esim-card);border:1px solid var(--line);border-radius:16px;padding:22px 24px}
.esim-rank-card:first-child{border-color:var(--night)}
.esim-rank-head{display:flex;align-items:center;gap:14px}
.esim-rank-pos{font-family:Georgia,serif;font-size:30px;color:var(--red);width:28px;flex:none}
.esim-rank-name{flex:1;min-width:0}
.esim-rank-name p{margin:4px 0 0;color:var(--muted);font-size:13px}
.esim-score{background:var(--night);color:#fff;border-radius:12px;padding:8px 12px;text-align:center;flex:none}
.esim-score b{font-size:24px;letter-spacing:-.03em}
.esim-score small{color:#a9b8bf;font-size:11px}
.esim-specs{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:18px 0}
.esim-specs div{background:var(--paper);border-radius:10px;padding:10px 12px}
.esim-specs dt{font-size:10px;font-weight:900;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.esim-specs dd{margin:4px 0 0;font-weight:800;font-size:14px}
.esim-specs .is-yes{color:#1f7a5c}
.esim-specs .is-no{color:var(--red-dark)}
.esim-proscons{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.esim-pros,.esim-cons{list-style:none;padding:0;margin:0;display:grid;gap:6px;font-size:14px;line-height:1.45}
.esim-pros li::before{content:'+';color:#1f7a5c;font-weight:900;margin-inline-end:8px}
.esim-cons li::before{content:'–';color:var(--red-dark);font-weight:900;margin-inline-end:8px}
.esim-rank-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:18px}

/* Review, duel */
.esim-sheet,.esim-duel{background:var(--esim-card);border:1px solid var(--line);border-radius:18px;padding:28px}
.esim-sheet-head{display:flex;gap:18px;align-items:center}
.esim-sheet-head h2{margin:0}
.esim-sheet .button{margin-top:20px}
.esim-duel h3{margin:34px 0 14px;font-family:Georgia,serif;font-weight:500;font-size:26px}
.esim-verdict{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.esim-verdict-card{background:var(--paper);border-radius:14px;padding:20px}
.esim-verdict-card h4{color:var(--ink);text-transform:none;letter-spacing:0;font-size:17px}
.esim-verdict-card p{font-size:15px;line-height:1.6;margin:0 0 10px}
.esim-verdict-card ul{margin:0 0 12px;padding-inline-start:18px;font-size:14px;line-height:1.7}
.esim-verdict-card a{color:var(--red);font-weight:800;font-size:13px}

/* Context */
.esim-context{max-width:780px}
.esim-context p{font-family:Georgia,serif;font-size:18px;line-height:1.78;margin:0 0 18px}
.esim-guides{margin-top:22px;background:var(--esim-card);border:1px solid var(--line);border-radius:14px;padding:18px 20px}
.esim-guides h3{font-size:13px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-bottom:10px}
.esim-guides ul{margin:0;padding-inline-start:18px;line-height:1.9}
.esim-guides a{color:var(--red)}

/* Estimator */
.esim-estimator{display:grid;grid-template-columns:1.1fr 1.2fr .9fr;gap:26px;background:var(--night);color:#fff;border-radius:22px;padding:34px}
.esim-estimator h2{color:#fff}
.esim-est-copy p{color:#a9b8bf;line-height:1.6;font-size:14px}
.esim-est-form{display:grid;gap:14px;align-content:start}
.esim-field{display:grid;gap:8px;border:0;padding:0;margin:0}
.esim-field>span,.esim-field legend{font-size:11px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:#a9b8bf;padding:0}
.esim-estimator input[type=number]{background:var(--night2);color:#fff;border:1px solid #2c4350;border-radius:10px;padding:11px 12px;font:inherit;font-weight:800;width:100%;box-sizing:border-box}
.esim-radio{display:flex;gap:10px;align-items:flex-start;background:var(--night2);border:1px solid #2c4350;border-radius:12px;padding:10px 12px;cursor:pointer;margin-bottom:6px}
.esim-radio:has(input:checked){border-color:var(--red)}
.esim-radio input{accent-color:var(--red);margin-top:3px}
.esim-radio span{display:grid;gap:2px}
.esim-radio small{color:#a9b8bf;font-size:12px}
.esim-check{display:flex;gap:10px;align-items:center;font-size:13px;color:#dfe7ea}
.esim-check input{accent-color:var(--red);width:17px;height:17px}
.esim-assumptions summary{background:transparent;color:#a9b8bf;border:1px dashed #2c4350;border-radius:10px;padding:9px 12px;font-size:12px;font-weight:800}
.esim-assume-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
.esim-assume-grid label{display:grid;gap:6px;font-size:11px;color:#a9b8bf}
.esim-est-result{background:var(--paper);color:var(--ink);border-radius:16px;padding:22px;align-self:start;display:grid;gap:4px}
.esim-est-result strong{font-family:Georgia,serif;font-weight:500;font-size:44px;letter-spacing:-.04em;margin-bottom:14px}
.esim-est-result p{margin:0 0 14px;font-size:14px;line-height:1.5}

/* Install, VPN, calculator CTA */
.esim-steps{list-style:none;padding:0;margin:20px 0 0;display:grid;grid-template-columns:repeat(4,1fr);gap:14px;counter-reset:none}
.esim-steps li{background:var(--esim-card);border:1px solid var(--line);border-radius:14px;padding:20px}
.esim-step-n{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--red);color:#fff;font-family:Georgia,serif;font-size:17px}
.esim-steps p{font-size:14px;line-height:1.6;margin:12px 0 0}
.esim-note{margin-top:16px;font-size:13px;color:var(--muted);border-inline-start:3px solid var(--gold);padding-inline-start:12px}
.esim-vpn{display:flex;justify-content:space-between;align-items:center;gap:20px;border:1px solid var(--line);border-radius:14px;padding:18px 22px;background:var(--esim-card)}
.esim-vpn h2{font-family:Inter,system-ui,sans-serif;font-size:15px;font-weight:900;letter-spacing:0;margin:0 0 4px}
.esim-vpn p{margin:0;color:var(--muted);font-size:13px;line-height:1.5}
.pseo-esim .esim-calc{position:static;display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px 30px;padding:30px 34px}
.pseo-esim .esim-calc .eyebrow{grid-column:1/-1;margin:0}
.pseo-esim .esim-calc h2{color:#fff;font-size:30px;margin:0}
.pseo-esim .esim-calc p{grid-column:1;margin:0;font-size:14px}
.pseo-esim .esim-calc .button{grid-column:2;grid-row:2/4}

/* FAQ (same look as the calculator FAQ) */
.esim-faq .faq-list{display:grid;gap:10px}
.esim-faq .faq-list details{background:var(--white);border:1px solid var(--line);border-radius:14px;padding:0 20px}
.esim-faq .faq-list summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:19px 0;font-weight:850;font-size:15px;border:0;border-radius:0;background:none}
.esim-faq .faq-list summary span{color:var(--red);font-size:22px;transition:transform .2s}
.esim-faq .faq-list details[open] summary span{transform:rotate(45deg)}
.esim-faq .faq-list details p{margin:0 0 20px;color:var(--muted);line-height:1.65;font-size:15px}

/* Method, related */
.esim-method{border-top:1px solid var(--line);padding-top:30px}
.esim-method h2{font-size:26px}
.esim-method p,.esim-method li{font-size:14px;line-height:1.65;color:#4f5d63}
.esim-related-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:22px}
.esim-related h3{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-bottom:10px}
.esim-related ul{list-style:none;padding:0;margin:0;display:grid;gap:7px}
.esim-related a{color:var(--ink);text-decoration:none;font-size:14px;border-bottom:1px solid var(--line)}
.esim-related a:hover{color:var(--red);border-color:var(--red)}

/* Mobile sticky bar */
.esim-sticky{display:none}
@media(max-width:900px){
 .pseo-esim{padding:30px 16px 120px}
 .esim-intro{font-size:16px}
 .pseo-esim section,.pseo-esim aside,.pseo-esim nav.esim-related{margin-top:48px}
 .esim-estimator{grid-template-columns:1fr;padding:24px 18px}
 .esim-steps{grid-template-columns:1fr 1fr}
 .esim-proscons,.esim-verdict{grid-template-columns:1fr}
 .esim-rank-card{padding:18px 16px}
 .esim-rank-head{flex-wrap:wrap}
 .esim-sheet,.esim-duel{padding:20px 16px}
 .pseo-esim .esim-calc{grid-template-columns:1fr;padding:24px}
 .pseo-esim .esim-calc .button{grid-column:1;grid-row:auto}
 .esim-vpn{flex-direction:column;align-items:flex-start}
 .esim-sticky{display:flex;position:fixed;inset-inline:0;bottom:0;z-index:40;align-items:center;justify-content:space-between;gap:12px;
  background:var(--night);color:#fff;padding:10px 16px calc(10px + env(safe-area-inset-bottom));padding-inline:max(16px,env(safe-area-inset-left)) max(16px,env(safe-area-inset-right));
  box-shadow:0 -10px 30px rgba(8,19,27,.25);transform:translateY(110%);transition:transform .25s}
 .esim-sticky.is-visible{transform:none}
 .esim-sticky span{display:grid;min-width:0}
 .esim-sticky small{font-size:10px;color:#a9b8bf;letter-spacing:.1em;text-transform:uppercase;font-weight:900}
 .esim-sticky b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .esim-sticky .button{padding:11px 14px;font-size:13px;flex:none}
}
@media(max-width:520px){.esim-steps{grid-template-columns:1fr}.esim-assume-grid{grid-template-columns:1fr 1fr}.esim-pick-price b{font-size:26px}}
[dir=rtl] .pseo-esim .breadcrumb{direction:rtl}
[dir=rtl] .esim-pros li::before,[dir=rtl] .esim-cons li::before{display:inline-block}
