/* China eSIM by GenaMind — one stylesheet, no external requests.
   Palette follows the app: signal green on cool neutrals, a deep green-black hero. */
:root {
	--ink: #0b1114; --muted: #55646c; --line: #e2e8ea; --soft: #f3f6f6; --bg: #fff;
	--brand: #00a67e; --brand-d: #007a5c; --brand-l: #2bd9a3; --hero: #061110;
	--r: 20px; --max: 1160px;
	--shadow: 0 1px 2px rgba(10, 20, 25, .06), 0 14px 36px -14px rgba(10, 20, 25, .2);
	--font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Hiragino Sans", "Noto Sans", "Noto Sans Thai", "Noto Sans Khmer", "Noto Sans KR", "Noto Sans JP", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font: 400 16px/1.6 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
html[lang="th"] body, html[lang="km"] body { line-height: 1.75; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.025em; margin: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.narrow { width: min(100% - 40px, 820px); }
.center { text-align: center; margin-top: 28px; }
.small { font-size: .85rem; }
.ic { flex: none; } .ic.sm { width: 18px; height: 18px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 10px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--brand-l); outline-offset: 3px; border-radius: 8px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; font-weight: 650; border: 1px solid transparent; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; white-space: nowrap; font-family: inherit; }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 9px 16px; font-size: .92rem; }
.btn { padding: 11px 20px; }
.btn-lg { padding: 15px 26px; font-size: 1.04rem; }
.btn-brand { background: var(--brand); color: #fff; box-shadow: 0 8px 24px -10px rgba(0, 166, 126, .8); }
.btn-brand:hover { background: #00b88c; }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .22); }
.btn-ghost:hover { background: rgba(255, 255, 255, .15); }
.btn-outline { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-d); }
.btn-light { background: #fff; color: #062a21; }
.btn-light:hover { background: #eafff7; }

/* header */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(6, 17, 16, .78); -webkit-backdrop-filter: saturate(1.5) blur(16px); backdrop-filter: saturate(1.5) blur(16px); border-bottom: 1px solid rgba(255, 255, 255, .07); color: #fff; }
.hd-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand img { border-radius: 9px; }
.brand-t { display: flex; flex-direction: column; line-height: 1.1; }
.brand-t b { font-size: 1.08rem; letter-spacing: -.02em; }
.brand-t small { font-size: .7rem; color: #8fe9cb; letter-spacing: .08em; text-transform: uppercase; margin-top: 3px; }
.nav { display: flex; gap: 6px; margin-left: 16px; }
.nav a { padding: 8px 14px; border-radius: 999px; color: #cfdcd7; font-weight: 550; font-size: .95rem; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.hd-end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.menu { display: none; background: transparent; border: 1px solid rgba(255, 255, 255, .22); color: #fff; border-radius: 12px; width: 42px; height: 42px; align-items: center; justify-content: center; cursor: pointer; }
.lang { position: relative; }
.lang summary { list-style: none; display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; color: #dfe9e5; cursor: pointer; font-size: .92rem; font-weight: 550; }
.lang summary::-webkit-details-marker { display: none; }
.lang[open] summary { background: rgba(255, 255, 255, .1); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); background: #0d1b18; border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; padding: 8px; min-width: 190px; box-shadow: 0 24px 60px -20px #000; display: grid; }
.lang-menu a { padding: 9px 12px; border-radius: 10px; color: #dfe9e5; font-size: .95rem; }
.lang-menu a:hover { background: rgba(255, 255, 255, .08); }
.lang-menu a[aria-current] { color: var(--brand-l); font-weight: 700; }

/* hero */
.hero { background:
	radial-gradient(900px 520px at 78% -8%, rgba(43, 217, 163, .30), transparent 62%),
	radial-gradient(700px 480px at -4% 108%, rgba(0, 166, 126, .20), transparent 60%), var(--hero);
	color: #fff; padding: 76px 0 120px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; }
.eyebrow { font-size: .8rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-l); margin: 0 0 18px; }
.eyebrow.dark { color: var(--brand-d); }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); font-weight: 800; letter-spacing: -.035em; }
.lead { font-size: 1.14rem; color: #b8cbc4; max-width: 34em; margin: 22px 0 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.note { margin: 20px 0 0; color: #7f9a91; font-size: .95rem; }
.hero-art { position: relative; display: flex; justify-content: flex-start; min-height: 540px; }
.phone { width: min(280px, 62vw); aspect-ratio: 9 / 18.6; border-radius: 40px; border: 9px solid #101a18; background: #000; box-shadow: 0 40px 80px -30px #000, 0 0 0 1.5px rgba(255, 255, 255, .1) inset; overflow: hidden; position: relative; }
.phone::before { content: ""; position: absolute; top: 9px; left: 50%; width: 82px; height: 22px; transform: translateX(-50%); background: #000; border-radius: 14px; z-index: 2; }
/* the status-bar strip under the notch: the screenshots are of the page only, so the notch must not sit on top of them */
.phone { display: flex; flex-direction: column; padding-top: 34px; background: #f1f3f4; }
.phone img { flex: 1; min-height: 0; width: 100%; object-fit: cover; object-position: top; }
.hero-art .phone { transform: rotate(-3deg); }
.phone-2 { position: absolute; right: 0; top: 96px; width: min(226px, 50vw); transform: rotate(4deg); }
@media (max-width: 1180px) and (min-width: 981px) { .hero-art .phone { width: 250px; } .phone-2 { width: 200px; } }

/* facts */
.facts { margin-top: -62px; position: relative; z-index: 3; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.facts-grid li { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: flex; gap: 14px; box-shadow: var(--shadow); }
.facts-grid h3 { font-size: 1rem; letter-spacing: -.01em; margin-bottom: 4px; }
.facts-grid p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.45; }
.fi { width: 44px; height: 44px; border-radius: 13px; background: #e3f8f1; color: var(--brand-d); display: grid; place-items: center; flex: none; }

/* sections */
.sec { padding: 96px 0; }
.sec.soft { background: var(--soft); }
.sec-hd { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.sec-hd.left { text-align: left; margin: 0 0 28px; }
.sec-hd h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; }
.sec-hd p:last-child { color: var(--muted); margin: 14px 0 0; font-size: 1.06rem; }
.fine { color: var(--muted); font-size: .88rem; margin-top: 22px; }

/* plans */
.plans-group { margin-bottom: 36px; }
.plans-group h3 { font-size: 1.3rem; margin-bottom: 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.plans-group h3 small { font-size: .95rem; color: var(--muted); font-weight: 450; letter-spacing: 0; }
.plans-group[hidden] { display: none; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--shadow); transition: transform .2s, border-color .2s; }
.plan:hover { transform: translateY(-3px); border-color: #9be0cb; }
.plan .k { font-size: .82rem; font-weight: 700; color: var(--brand-d); letter-spacing: .06em; text-transform: uppercase; }
.plan .gb { font-size: 2.6rem; font-weight: 800; letter-spacing: -.04em; line-height: 1.1; margin-top: 6px; }
.plan .gb small { font-size: 1.1rem; font-weight: 650; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.plan .d { color: var(--muted); }
.plan .p { margin-top: 14px; font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.plan .s { color: var(--muted); font-size: .92rem; margin-bottom: 16px; }
.plan .btn { margin-top: auto; }
.plans-msg { color: var(--muted); text-align: center; }
.plans-msg[hidden] { display: none; }

/* a notice above the plans */
.notice { margin: 0 0 24px; padding: 14px 18px; border-radius: 16px; background: #fff6e8; border: 1px solid #f6dcae; color: #5c3b00; font-weight: 550; }
.notice[hidden] { display: none; }

/* how it works */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.how li { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); }
.how .big { display: block; font-size: 3.2rem; font-weight: 800; color: var(--brand); letter-spacing: -.05em; line-height: 1; margin-bottom: 14px; }
.how h3 { font-size: 1.25rem; margin-bottom: 8px; }
.how p { margin: 0; color: var(--muted); }

/* split + features */
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.split-art { display: flex; justify-content: center; }
.split-art .phone { transform: rotate(-2deg); }
.feats { display: grid; gap: 18px; }
.feats li { display: grid; grid-template-columns: 44px 1fr; gap: 4px 16px; }
.feats .fi { grid-row: span 2; }
.feats h3 { font-size: 1.1rem; letter-spacing: -.01em; align-self: end; }
.feats p { margin: 0; color: var(--muted); }

/* install */
.tabs { display: inline-flex; gap: 4px; padding: 5px; background: var(--soft); border: 1px solid var(--line); border-radius: 999px; margin: 0 auto 26px; position: relative; left: 50%; transform: translateX(-50%); }
.tab { border: 0; background: transparent; padding: 10px 24px; border-radius: 999px; font: 650 .98rem var(--font); color: var(--muted); cursor: pointer; }
.tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .1); }
.panel { max-width: 780px; margin: 0 auto; }
.panel[hidden] { display: none; }
.steps { display: grid; gap: 12px; counter-reset: st; }
.steps li { display: grid; grid-template-columns: 38px 1fr; gap: 16px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.steps .n { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.callouts { max-width: 780px; margin: 18px auto 0; display: grid; gap: 10px; }
.callout { display: flex; gap: 14px; align-items: flex-start; margin: 0; padding: 14px 18px; border-radius: 16px; background: #eef7ff; border: 1px solid #cfe5fb; color: #0f3558; }
.callout b { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #1d6fc4; color: #fff; display: grid; place-items: center; font-size: .85rem; }
.callout.warn { background: #fff6e8; border-color: #f6dcae; color: #5c3b00; }
.callout.warn b { background: #d98200; }

/* checks / faq */
.checks { display: grid; gap: 12px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.sec.soft .checks li, .doc .checks li { background: #fff; }
.ck { color: var(--brand); margin-top: 2px; }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; transition: border-color .2s; }
.faq details[open] { border-color: #9be0cb; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 28px 20px 0; font-weight: 650; font-size: 1.04rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--brand); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* about + band */
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.about h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 800; margin-bottom: 16px; }
.about p { color: var(--muted); font-size: 1.06rem; }
.link { color: var(--brand-d); font-weight: 650; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); }
.contact h3 { margin-bottom: 14px; }
.contact a { color: var(--brand-d); font-weight: 600; }
.contact p { margin: 0 0 8px; }
.contact .small { margin-top: 14px; color: var(--muted); }
.band { background: linear-gradient(135deg, #00a67e, #006e53); color: #fff; padding: 64px 0; }
.band-in { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.band h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
.band p { margin: 8px 0 0; color: #d4f6e9; font-size: 1.08rem; }

/* footer */
.ft { background: #050d0c; color: #a9bdb6; padding: 64px 0 36px; }
.ft-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.ft .brand { color: #fff; margin-bottom: 14px; }
.ft h3 { color: #fff; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.ft li { margin-bottom: 10px; }
.ft a:hover { color: #fff; }
.ft-brand p { max-width: 24em; }
.ft-base { border-top: 1px solid rgba(255, 255, 255, .09); margin-top: 44px; padding-top: 24px; font-size: .9rem; }
.ft-base p { margin: 0 0 6px; } .ft-base .small { color: #6f8982; }

/* document pages */
.doc { background: #fff; }
.doc-main { padding: 64px 0 96px; }
.doc-main h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 14px; }
.doc-main h2 { font-size: 1.4rem; margin: 40px 0 14px; letter-spacing: -.015em; }
.lead-d { font-size: 1.15rem; color: var(--muted); }
.legal p { color: #2b3940; max-width: 70ch; }
.doc .steps { margin-bottom: 8px; }

/* motion + responsive */
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media (max-width: 980px) {
	.hero { padding: 48px 0 100px; }
	.hero-in { grid-template-columns: 1fr; }
	.hero-art { min-height: 440px; order: 2; justify-content: center; }
	.facts-grid { grid-template-columns: 1fr 1fr; }
	.how { grid-template-columns: 1fr; }
	.split { grid-template-columns: 1fr; gap: 36px; }
	.about { grid-template-columns: 1fr; gap: 28px; }
	.ft-grid { grid-template-columns: 1fr 1fr; }
	.menu { display: inline-flex; }
	.nav { position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; background: #0a1613; padding: 12px 20px 20px; margin: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); display: none; }
	.nav.open { display: flex; }
	.nav a { padding: 14px 12px; font-size: 1.05rem; }
	.hd-cta { display: none; }
}
@media (max-width: 560px) {
	.sec { padding: 68px 0; }
	.wrap { width: min(100% - 32px, var(--max)); }
	.facts-grid { grid-template-columns: 1fr; }
	.ft-grid { grid-template-columns: 1fr; gap: 28px; }
	.btn-lg { width: 100%; }
	.cta-row { flex-direction: column; }
	.phone-2 { display: none; }
	.hero-art { min-height: 0; }
	.hero-art .phone { transform: none; }
	.lang summary span { display: none; }
	.brand-t small { display: none; }
	.hd-in { gap: 10px; }
}
