/* ============================================================
   eSIM2Go — Editorial pages (blog index, article, legal)
   Requires core.css.
   ============================================================ */

/* ---------- Masthead ---------- */

.masthead { position: relative; padding: 150px 0 60px; overflow: hidden; border-bottom: 1px solid var(--line-strong); background: var(--canvas); }
.masthead-grid { display: grid; grid-template-columns: 160px 1fr minmax(260px, 360px); gap: 60px; align-items: end; }
.masthead h1 { margin: 22px 0 0; font-size: clamp(52px, 6vw, 104px); font-weight: 700; line-height: .92; letter-spacing: -.075em; }
.masthead h1 em { color: var(--blue); font-style: normal; }
.masthead > .page-grid > .masthead-grid > p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.7; }
.masthead-stats { display: flex; gap: 44px; margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--line-strong); }
.masthead-stats div { min-width: 90px; }
.masthead-stats strong, .masthead-stats span { display: block; }
.masthead-stats strong { font-size: 19px; letter-spacing: -.04em; }
.masthead-stats span { margin-top: 4px; color: var(--ink-faint); font-size: 8px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- Category filter rail ---------- */

.filter-rail { display: flex; align-items: center; gap: 1px; overflow-x: auto; border-bottom: 1px solid var(--line); background: var(--line); scrollbar-width: thin; }
.filter-rail a { flex: 0 0 auto; padding: 16px 22px; color: var(--ink-soft); background: var(--canvas); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; transition: color .2s ease, background .2s ease; }
.filter-rail a:hover { color: var(--ink); background: var(--surface-solid); }
.filter-rail a.active { color: #fff; background: var(--ink); }

/* ---------- Article index ---------- */

.journal { padding: 0 0 110px; }
.journal-lead { display: grid; grid-template-columns: 1.15fr .85fr; border-bottom: 1px solid var(--line-strong); }
.journal-lead .lead-media { position: relative; min-height: 460px; overflow: hidden; background: var(--canvas-2); border-right: 1px solid var(--line-strong); }
.journal-lead .lead-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.journal-lead:hover .lead-media img { transform: scale(1.03); }
.journal-lead .lead-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 4vw, 64px); }
.lead-flag { display: flex; align-items: center; gap: 13px; color: var(--orange); font-size: 8px; font-weight: 800; letter-spacing: .16em; }
.lead-flag i { width: 40px; height: 1px; background: var(--line-strong); }
.journal-lead h2 { margin: 24px 0 0; font-size: clamp(30px, 3vw, 46px); font-weight: 700; line-height: 1.06; letter-spacing: -.055em; }
.journal-lead p { margin: 20px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.72; }
.entry-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 26px; color: var(--ink-faint); font-size: 8px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.entry-meta em { font-style: normal; opacity: .45; }
.journal-lead .action-text { margin-top: 26px; color: var(--blue); }

.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-left: 1px solid var(--line-strong); }
.journal-entry { display: flex; flex-direction: column; min-height: 430px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); transition: background .2s ease; }
.journal-entry:hover { background: var(--surface-solid); }
.entry-media { position: relative; height: 200px; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--canvas-2); }
.entry-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.journal-entry:hover .entry-media img { transform: scale(1.05); }
.entry-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--ink-faint); background: var(--canvas-2); font-size: 32px; }
.entry-category { position: absolute; top: 0; left: 0; padding: 8px 13px; color: #fff; background: var(--ink); font-size: 7px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.entry-body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.entry-body h3 { margin: 0; font-size: 19px; line-height: 1.22; letter-spacing: -.04em; }
.entry-body p { margin: 12px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.66; }
.entry-body .entry-meta { margin-top: auto; padding-top: 20px; }
.entry-arrow { display: flex; align-items: center; justify-content: space-between; padding: 15px 24px; border-top: 1px solid var(--line); color: var(--blue); font-size: 9px; font-weight: 800; }

.journal-empty { padding: 90px 20px; border-bottom: 1px solid var(--line-strong); color: var(--ink-faint); text-align: center; font-size: 13px; }

/* ---------- Pagination ---------- */

.pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1px; margin-top: 60px; }
.pagination a, .pagination span { min-width: 46px; min-height: 46px; display: grid; place-items: center; padding: 0 14px; color: var(--ink-soft); border: 1px solid var(--line); font-size: 10px; font-weight: 800; }
.pagination a:hover { color: #fff; border-color: var(--blue); background: var(--blue); }
.pagination .current { color: #fff; border-color: var(--ink); background: var(--ink); }
.pagination .ellipsis { border-color: transparent; }

/* ---------- Article ---------- */

.article-head { padding: 148px 0 56px; border-bottom: 1px solid var(--line-strong); background: var(--canvas); }
.article-head-grid { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 60px; }
.article-head h1 { max-width: 940px; margin: 26px 0 0; font-size: clamp(38px, 4.3vw, 72px); font-weight: 700; line-height: 1.02; letter-spacing: -.065em; }
.article-head > .page-grid > .article-head-grid > div > p { max-width: 720px; margin: 24px 0 0; color: var(--ink-soft); font-size: 15px; line-height: 1.72; }
.article-byline { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 20px; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-faint); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.article-byline b { color: var(--ink); }
.article-cover { position: relative; height: clamp(280px, 40vw, 520px); overflow: hidden; border-bottom: 1px solid var(--line-strong); background: var(--canvas-2); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(48px, 6vw, 110px); padding: 76px 0 110px; }
.article-body { min-width: 0; max-width: 760px; }
.article-body > * { margin: 0; }
.article-body > * + * { margin-top: 26px; }
.article-body .article-intro { padding-left: 20px; border-left: 2px solid var(--blue); color: var(--ink); font-size: 19px; line-height: 1.62; letter-spacing: -.015em; }
.article-body p { color: var(--ink-soft); font-size: 15px; line-height: 1.78; }
.article-body h2 { margin-top: 62px; font-size: clamp(27px, 2.6vw, 38px); font-weight: 700; line-height: 1.12; letter-spacing: -.05em; }
.article-body h3 { margin-top: 46px; font-size: 21px; font-weight: 700; letter-spacing: -.035em; }
.article-body h4 { margin-top: 34px; font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.article-body a:not(.article-cta a) { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.article-body strong { color: var(--ink); }
.article-body ul { padding: 0; list-style: none; }
.article-body ul li { position: relative; padding: 9px 0 9px 26px; color: var(--ink-soft); font-size: 14px; line-height: 1.7; }
.article-body ul li::before { content: ""; position: absolute; top: 19px; left: 2px; width: 9px; height: 1px; background: var(--orange); }
.article-steps { padding: 0; border-top: 1px solid var(--line-strong); list-style: none; counter-reset: step; }
.article-steps li { position: relative; padding: 20px 0 20px 56px; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: 14px; line-height: 1.7; counter-increment: step; }
.article-steps li::before { content: counter(step, decimal-leading-zero); position: absolute; top: 21px; left: 0; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: -.02em; }
.article-table-wrap { overflow-x: auto; border: 1px solid var(--line-strong); }
.article-cta { display: grid; gap: 16px; padding: 34px; color: #fff; background: var(--blue); }
.article-cta b { font-size: 23px; line-height: 1.15; letter-spacing: -.045em; }
.article-cta p { color: rgba(255, 255, 255, .78) !important; font-size: 13px !important; }
.article-cta a { min-height: 54px; display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 20px; color: #101114; background: var(--acid); font-size: 10px; font-weight: 800; text-decoration: none !important; }
.article-faq { margin-top: 62px; }
.article-faq > b { display: block; margin-bottom: 8px; color: var(--ink-faint); font-size: 8px; font-weight: 800; letter-spacing: .18em; }

.article-aside { position: sticky; top: 108px; align-self: start; }
.aside-card { padding: 26px; border: 1px solid var(--line-strong); background: var(--surface); }
.aside-card > span { color: var(--orange); font-size: 8px; font-weight: 800; letter-spacing: .16em; }
.aside-card h3 { margin: 16px 0 10px; font-size: 20px; line-height: 1.15; letter-spacing: -.045em; }
.aside-card p { margin: 0 0 20px; color: var(--ink-soft); font-size: 12px; line-height: 1.65; }
.aside-card a.aside-cta { min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 18px; color: #fff; background: var(--blue); font-size: 9px; font-weight: 800; transition: background .2s ease; }
.aside-card a.aside-cta:hover { background: #3568ff; }
.aside-toc { margin-top: 22px; padding: 22px 0 0; border-top: 1px solid var(--line); }
.aside-toc > b { display: block; margin-bottom: 12px; color: var(--ink-faint); font-size: 8px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.aside-toc a { display: block; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: 11px; line-height: 1.4; }
.aside-toc a:hover { color: var(--blue); }
.aside-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.aside-tags a { padding: 7px 11px; color: var(--ink-soft); border: 1px solid var(--line); font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.aside-tags a:hover { color: var(--blue); border-color: var(--blue); }

.related-section { padding: 0 0 110px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
.related-grid a { min-height: 190px; display: flex; flex-direction: column; padding: 24px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); transition: color .2s ease, background .2s ease; }
.related-grid a:hover { color: #fff; background: var(--blue); }
.related-grid span { color: var(--ink-faint); font-size: 8px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.related-grid a:hover span { color: rgba(255, 255, 255, .65); }
.related-grid b { margin: auto 0 0; font-size: 16px; line-height: 1.25; letter-spacing: -.035em; }

/* ---------- Legal pages ---------- */

body[data-page="legal"] { background: color-mix(in srgb,var(--blue) 3%,var(--canvas)); }
body[data-page="legal"] .masthead { padding: 92px 0 42px; border-bottom: 0; background: transparent; }
body[data-page="legal"] .masthead::before { content: ""; position: absolute; top: -260px; right: -180px; width: 720px; height: 720px; border: 1px solid color-mix(in srgb,var(--blue) 10%,transparent); border-radius: 50%; box-shadow: 0 0 0 90px color-mix(in srgb,var(--blue) 2.5%,transparent),0 0 0 180px color-mix(in srgb,var(--blue) 1.5%,transparent); pointer-events: none; }
body[data-page="legal"] .masthead > .page-grid { position: relative; overflow: hidden; padding: clamp(32px,5vw,68px); border: 1px solid var(--line); border-radius: 34px; background: var(--surface-solid); box-shadow: 0 30px 85px rgba(22,36,78,.09); }
body[data-page="legal"] .masthead-grid { grid-template-columns: 140px minmax(0,1fr) minmax(280px,380px); gap: clamp(28px,5vw,72px); }
body[data-page="legal"] .section-index { width: fit-content; align-self: start; padding: 10px 13px; border-radius: 999px; color: var(--blue); background: var(--blue-tint); font-size: 10px; font-weight: 850; letter-spacing: .12em; }
body[data-page="legal"] .masthead h1 { font-size: clamp(54px,6.3vw,96px); }
body[data-page="legal"] .masthead > .page-grid > .masthead-grid > p { font-size: 16px; line-height: 1.72; }
body[data-page="legal"] .masthead-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 50px; padding-top: 0; border: 0; }
body[data-page="legal"] .masthead-stats div { min-height: 112px; display: flex; justify-content: center; flex-direction: column; padding: 20px; border: 1px solid var(--line); border-radius: 19px; background: var(--canvas); }
body[data-page="legal"] .masthead-stats div:first-child { color: #0b1020; border-color: #c9ff45; background: #c9ff45; }
body[data-page="legal"] .masthead-stats strong { font-size: clamp(20px,2.2vw,30px); }
body[data-page="legal"] .masthead-stats span { font-size: 10px; }
.legal-layout { display: grid; grid-template-columns: 290px minmax(0,1fr); gap: clamp(38px,5vw,76px); padding: 40px 0 110px; }
.legal-nav { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); overflow: auto; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface-solid); box-shadow: 0 18px 45px rgba(22,36,78,.06); }
.legal-nav > b { display: block; margin-bottom: 14px; color: var(--blue); font-size: 10px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.legal-nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: 12px; line-height: 1.4; }
.legal-nav a:hover { color: var(--blue); }
.legal-body { min-width: 0; max-width: 930px; }
.legal-body section { padding: clamp(25px,3vw,38px); border: 1px solid var(--line); border-radius: 24px; background: var(--surface-solid); box-shadow: 0 14px 38px rgba(22,36,78,.04); }
.legal-body section + section { margin-top: 14px; }
.legal-body h2 { margin: 0 0 20px; font-size: clamp(27px,2.6vw,38px); font-weight: 700; line-height: 1.12; letter-spacing: -.05em; }
.legal-body h3 { margin: 31px 0 13px; font-size: 19px; font-weight: 700; letter-spacing: -.03em; }
.legal-body p { margin: 0 0 17px; color: var(--ink-soft); font-size: 15px; line-height: 1.78; }
.legal-body ul { margin: 0 0 16px; padding: 0; list-style: none; }
.legal-body li { position: relative; padding: 10px 0 10px 31px; color: var(--ink-soft); font-size: 15px; line-height: 1.65; }
.legal-body li::before { content: "✓"; position: absolute; top: 10px; left: 0; width: 21px; height: 21px; display: grid; place-items: center; border-radius: 7px; color: var(--blue); background: var(--blue-tint); font-size: 10px; font-weight: 900; }
.legal-body a { color: var(--blue); font-weight: 720; text-decoration: underline; text-underline-offset: 3px; }
.legal-note { margin-bottom: 14px; padding: 27px 28px; border: 1px solid color-mix(in srgb,var(--blue) 28%,var(--line)); border-radius: 22px; background: linear-gradient(135deg,var(--blue-tint),var(--surface-solid)); }
.legal-note p { font-size: 16px; }
.legal-note p:last-child { margin-bottom: 0; }

/* ---------- Payment status ---------- */

.status-page { min-height: 100vh; display: grid; place-items: center; padding: 30px; }
.status-card { width: min(500px, 100%); border: 1px solid var(--line-strong); background: var(--surface-solid); box-shadow: var(--shadow); }
.status-bar { height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border-bottom: 1px solid var(--line); font-size: 8px; font-weight: 800; letter-spacing: .14em; }
.status-bar-tools { display: flex; align-items: center; gap: 12px; }
.status-language { position: relative; }
.status-language select { min-width: 64px; height: 32px; padding: 0 24px 0 10px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: var(--canvas); font: 800 9px var(--font); letter-spacing: .05em; cursor: pointer; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; }
.status-body { padding: 40px 34px; text-align: center; }
.status-mark { width: 74px; height: 74px; display: grid; place-items: center; margin: 0 auto 26px; border: 1px solid var(--line-strong); color: var(--blue); font-size: 30px; }
.status-mark.ok { color: #fff; border-color: var(--green); background: var(--green); }
.status-mark.bad { color: #fff; border-color: var(--danger); background: var(--danger); }
.status-body h1 { margin: 0; font-size: 30px; line-height: 1.08; letter-spacing: -.055em; }
.status-body > p { margin: 16px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.7; }
.status-reference { display: grid; grid-template-columns: minmax(0,1fr) 42px; gap: 12px; align-items: center; margin: 24px 0 0; padding: 13px 13px 13px 16px; border: 1px solid var(--line); border-radius: 15px; color: var(--ink); background: var(--canvas); text-align: left; }
.status-reference span { min-width: 0; display: grid; gap: 4px; }
.status-reference small { color: var(--ink-faint); font-size: 8px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.status-reference strong { overflow: hidden; font: 700 11px var(--mono); text-overflow: ellipsis; }
.copy-control { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 12px; color: var(--blue); background: var(--surface-solid); cursor: pointer; transition: color .2s ease,border-color .2s ease,background .2s ease,transform .2s ease; }
.copy-control:hover { border-color: var(--blue); transform: translateY(-1px); }
.copy-control i,.field-copy i { position: relative; width: 15px; height: 17px; display: block; border: 1.7px solid currentColor; border-radius: 3px; }
.copy-control i::before,.field-copy i::before { content: ""; position: absolute; top: -4px; left: 3px; width: 7px; height: 5px; border: 1.7px solid currentColor; border-radius: 3px; background: inherit; }
.copy-control i::after,.field-copy i::after { content: ""; position: absolute; left: 3px; right: 3px; top: 7px; height: 1.5px; border-radius: 2px; background: currentColor; box-shadow: 0 4px 0 currentColor; opacity: .72; }
.copy-control.copied { color: #fff; border-color: var(--green); background: var(--green); }
.copy-control.copied i { width: 14px; height: 8px; border: 0; border-bottom: 2px solid currentColor; border-left: 2px solid currentColor; border-radius: 0; transform: rotate(-45deg) translate(1px,-1px); }
.copy-control.copied i::before,.copy-control.copied i::after { display: none; }
.field-copy { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 11px; color: var(--blue); background: var(--surface-solid); cursor: pointer; }
.field-copy.copied { color: #fff; border-color: var(--green); background: var(--green); }
.field-copy.copied i { width: 14px; height: 8px; border: 0; border-bottom: 2px solid currentColor; border-left: 2px solid currentColor; border-radius: 0; transform: rotate(-45deg); }
.field-copy.copied i::before,.field-copy.copied i::after { display: none; }
.status-actions { display: grid; gap: 1px; margin-top: 26px; background: var(--line); }
.status-actions a { min-height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; font-size: 10px; font-weight: 800; }
.status-actions a.primary { color: #fff; background: var(--blue); }
.status-actions a.secondary { color: var(--ink); background: var(--surface-solid); }
.status-actions a[hidden] { display: none; }
.status-hint { margin: 20px 0 0; color: var(--ink-faint); font-size: 10px; }
.status-reconcile { display: grid; gap: 10px; margin-top: 23px; padding: 18px; border: 1px solid var(--line); background: var(--canvas); text-align: left; }
.status-reconcile[hidden] { display: none; }
.status-reconcile label { color: var(--ink-soft); font-size: 11px; font-weight: 750; line-height: 1.45; }
.status-reconcile > div { display: grid; grid-template-columns: 1fr auto; gap: 7px; }
.status-reconcile input { min-width: 0; height: 45px; padding: 0 13px; border: 1px solid var(--line-strong); color: var(--ink); background: var(--surface-solid); font: 600 12px var(--font); outline: none; }
.status-reconcile input:focus { border-color: var(--blue); }
.status-reconcile button { min-height: 45px; padding: 0 15px; border: 0; color: #fff; background: var(--blue); font: 800 10px var(--font); cursor: pointer; }
.status-reconcile button:disabled { opacity: .6; cursor: wait; }
.status-reconcile p { min-height: 14px; margin: 0; color: var(--danger); font-size: 10px; line-height: 1.45; }
.status-spinner { width: 26px; height: 26px; border: 2px solid var(--line-strong); border-top-color: var(--blue); border-radius: 50%; animation: status-spin .8s linear infinite; }
@keyframes status-spin { to { transform: rotate(360deg); } }

/* ---------- Private support order registry ---------- */

.support-console-page { min-height:100vh; padding:clamp(22px,4vw,58px) 0 80px; background:color-mix(in srgb,var(--blue) 4%,var(--canvas)); }
.support-console { display:grid; gap:22px; }
.support-console-head { display:flex; align-items:center; justify-content:space-between; padding:18px 21px; border:1px solid var(--line); border-radius:22px; background:var(--surface-solid); }
.support-console-head > span { color:var(--ink-faint); font-size:9px; font-weight:850; letter-spacing:.15em; }
.support-console-hero { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(280px,.7fr); gap:40px; align-items:end; padding:clamp(28px,5vw,68px); border-radius:32px; color:#fff; background:linear-gradient(135deg,#0b1124,#13213d); overflow:hidden; }
.support-console-hero small { color:var(--acid); font-size:10px; font-weight:850; letter-spacing:.15em; }
.support-console-hero h1 { margin:13px 0 0; font-size:clamp(40px,6vw,78px); line-height:.92; letter-spacing:-.065em; }
.support-console-hero h1 em { color:var(--acid); font-style:normal; }
.support-console-hero p { margin:0; color:#aeb7ca; font-size:15px; line-height:1.7; }
.support-console-form { display:grid; grid-template-columns:.75fr 1.25fr auto; gap:12px; padding:18px; border:1px solid var(--line); border-radius:24px; background:var(--surface-solid); }
.support-console-form label { display:grid; gap:7px; min-width:0; }
.support-console-form label span { color:var(--ink-faint); font-size:8px; font-weight:850; letter-spacing:.14em; text-transform:uppercase; }
.support-console-form input { min-width:0; height:54px; padding:0 17px; border:1px solid var(--line-strong); border-radius:14px; color:var(--ink); background:var(--canvas); font:650 13px var(--font); outline:none; }
.support-console-form input:focus { border-color:var(--blue); box-shadow:0 0 0 4px color-mix(in srgb,var(--blue) 10%,transparent); }
.support-console-form button { align-self:end; height:54px; display:flex; align-items:center; gap:34px; padding:0 22px; border:0; border-radius:14px; color:var(--navy); background:var(--acid); font:850 12px var(--font); cursor:pointer; }
.support-console-state { min-height:20px; margin:0; color:var(--ink-soft); font-size:13px; }
.support-order-results { display:grid; gap:14px; }
.support-order-card { padding:24px; border:1px solid var(--line); border-radius:25px; background:var(--surface-solid); box-shadow:0 18px 50px rgba(30,49,100,.06); }
.support-order-title { display:flex; justify-content:space-between; gap:20px; align-items:start; }
.support-order-title small { color:var(--blue); font-size:8px; font-weight:850; letter-spacing:.14em; }
.support-order-title h2 { margin:6px 0 0; font:800 20px var(--mono); word-break:break-all; }
.support-order-status { padding:9px 12px; border-radius:999px; color:var(--green); background:color-mix(in srgb,var(--green) 10%,var(--surface-solid)); font-size:10px; font-weight:800; }
.support-order-card dl { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1px; margin:22px 0 0; background:var(--line); }
.support-order-card dl > div { min-width:0; padding:16px; background:var(--canvas); }
.support-order-card dt { color:var(--ink-faint); font-size:8px; font-weight:850; letter-spacing:.1em; text-transform:uppercase; }
.support-order-card dd { margin:7px 0 0; overflow:hidden; font:650 12px var(--mono); text-overflow:ellipsis; }
.support-order-events { display:grid; gap:7px; margin-top:18px; padding-top:17px; border-top:1px solid var(--line); }
.support-order-events > small { color:var(--blue); font-size:8px; font-weight:850; letter-spacing:.14em; }
.support-order-events > span { display:grid; grid-template-columns:minmax(0,1fr) auto auto; gap:15px; align-items:center; padding:9px 12px; border-radius:10px; background:var(--canvas); font:650 10px var(--mono); }
.support-order-events i { color:var(--green); font-style:normal; }
.support-order-events time { color:var(--ink-faint); }
@media(max-width:760px){.support-console-hero{grid-template-columns:1fr}.support-console-form{grid-template-columns:1fr}.support-console-form button{justify-content:space-between}.support-order-card dl{grid-template-columns:1fr 1fr}.support-order-title{display:grid}.support-order-status{justify-self:start}}

/* ---------- Private order delivery ---------- */

.delivery-page { background: color-mix(in srgb,var(--blue) 3%,var(--canvas)); }
.delivery-main { min-height: 100vh; padding: calc(var(--nav-h) + 52px) 0 90px; }
.delivery-shell { display: grid; gap: 18px; }
.delivery-heading { display: grid; grid-template-columns: 76px minmax(0,1fr) auto; gap: 22px; align-items: center; padding: 28px; border: 1px solid var(--line); border-radius: 28px; background: var(--surface-solid); box-shadow: 0 25px 70px rgba(30,49,100,.08); }
.delivery-success { width: 76px; height: 76px; display: grid; place-items: center; border-radius: 23px; color: var(--navy); background: var(--acid); box-shadow: 0 14px 34px color-mix(in srgb,var(--acid) 24%,transparent); font-size: 29px; font-weight: 900; }
.delivery-heading small,.delivery-card-label small,.delivery-plan small,.delivery-private small { color: var(--blue); font-size: 9px; font-weight: 850; letter-spacing: .14em; }
.delivery-heading h1 { margin: 5px 0 3px; font-size: clamp(34px,4vw,58px); line-height: .98; letter-spacing: -.06em; }
.delivery-heading p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.delivery-order { align-self: start; display: grid; grid-template-columns: minmax(0,1fr) 42px; gap: 12px; align-items: center; min-width: 270px; padding: 11px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); background: var(--canvas); }
.delivery-order > span { min-width: 0; display: grid; gap: 5px; }
.delivery-order small { color: var(--ink-faint); font-size: 8px; }
.delivery-order code { overflow: hidden; font: 700 10px var(--mono); text-overflow: ellipsis; white-space: nowrap; }
.delivery-plan { display: grid; grid-template-columns: 64px minmax(0,1fr) auto; gap: 18px; align-items: center; padding: 23px 28px; border: 1px solid var(--line); border-radius: 24px; background: color-mix(in srgb,var(--blue) 4%,var(--surface-solid)); }
.delivery-flag { font-size: 43px; filter: drop-shadow(0 7px 8px rgba(20,30,60,.12)); }
.delivery-plan h2 { margin: 3px 0; font-size: 25px; letter-spacing: -.04em; }
.delivery-plan p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.delivery-plan > strong { color: var(--blue); font-size: 31px; letter-spacing: -.05em; }
.delivery-install { display: grid; grid-template-columns: minmax(340px,.78fr) minmax(0,1.22fr); gap: 18px; }
.delivery-qr-card,.delivery-quick-card { padding: clamp(25px,3vw,42px); border: 1px solid var(--line); border-radius: 30px; background: var(--surface-solid); box-shadow: 0 24px 65px rgba(30,49,100,.07); }
.delivery-card-label { display: flex; align-items: center; gap: 10px; }
.delivery-card-label > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; color: #fff; background: var(--blue); font-size: 8px; font-weight: 900; }
.delivery-qr-frame { aspect-ratio: 1; display: grid; place-items: center; max-width: 410px; margin: 27px auto; padding: 20px; border: 1px solid var(--line); border-radius: 25px; background: #fff; }
.delivery-qr-frame img { width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; }
.delivery-qr-pending { width: 100%; height: 100%; display: grid; place-items: center; color: var(--ink-faint); background: repeating-conic-gradient(#0c1326 0 25%,#fff 0 50%) 50%/18px 18px; }
.delivery-qr-pending b { padding: 22px; color: var(--navy); background: #fff; font-size: 25px; }
.delivery-qr-card h3 { margin: 0; font-size: 22px; letter-spacing: -.035em; }
.delivery-qr-card > p,.delivery-quick-card > p { margin: 9px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.65; }
.delivery-quick-card h2 { margin: 34px 0 8px; font-size: clamp(32px,3.2vw,48px); letter-spacing: -.055em; }
.delivery-platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-top: 28px; }
.delivery-platform { min-height: 86px; display: grid; grid-template-columns: 40px 1fr auto; gap: 13px; align-items: center; padding: 0 20px; border-radius: 20px; }
.delivery-platform svg { width: 36px; height: 36px; fill: currentColor; }
.delivery-platform span { display: grid; gap: 2px; }
.delivery-platform small { font-size: 8px; font-weight: 800; letter-spacing: .12em; opacity: .62; }
.delivery-platform b { font-size: 19px; }
.delivery-platform i { font-style: normal; font-size: 18px; }
.delivery-platform.ios { color: #fff; background: #050607; }
.delivery-platform.android { color: #05150c; background: #3ddc84; }
.delivery-fields { display: grid; grid-template-columns: 1.25fr .75fr; gap: 10px; margin-top: 13px; }
.delivery-fields > div { min-width: 0; display: grid; grid-template-columns: 1fr auto; gap: 5px 10px; padding: 16px 17px; border: 1px solid var(--line); border-radius: 17px; background: var(--canvas); }
.delivery-fields small { grid-column: 1/-1; color: var(--ink-faint); font-size: 8px; font-weight: 850; letter-spacing: .14em; }
.delivery-fields b { overflow: hidden; text-overflow: ellipsis; font-family: var(--mono); font-size: 11px; }
.delivery-fields button { border: 0; color: var(--blue); background: none; cursor: pointer; }
.delivery-fields .field-copy { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 11px; color: var(--blue); background: var(--surface-solid); }
.delivery-fields .field-copy.copied { color: #fff; border-color: var(--green); background: var(--green); }
.delivery-private { display: grid; grid-template-columns: 62px minmax(0,1fr) auto; gap: 18px; align-items: center; padding: 24px; border: 1px solid color-mix(in srgb,var(--green) 35%,var(--line)); border-radius: 25px; background: color-mix(in srgb,var(--green) 8%,var(--surface-solid)); }
.delivery-private-icon { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 19px; color: var(--navy); background: var(--acid); font-size: 25px; }
.delivery-private h3 { margin: 3px 0; overflow: hidden; color: var(--ink); font-family: var(--mono); font-size: 15px; text-overflow: ellipsis; }
.delivery-private p { margin: 0; color: var(--ink-soft); font-size: 12px; }
.delivery-private > b { padding: 12px 15px; border-radius: 12px; color: var(--green); background: var(--surface-solid); font-size: 10px; }
.delivery-note { display: grid; grid-template-columns: 55px 1fr; gap: 17px; align-items: center; padding: 24px 28px; border: 1px solid color-mix(in srgb,#f09a28 34%,var(--line)); border-radius: 23px; background: color-mix(in srgb,#f09a28 7%,var(--surface-solid)); }
.delivery-note > span { width: 55px; height: 55px; display: grid; place-items: center; border-radius: 17px; color: #9d5300; background: #ffe9c9; font-size: 21px; font-weight: 900; }
.delivery-note h3 { margin: 0 0 4px; font-size: 18px; }
.delivery-note p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.6; }

@media (max-width:800px) {
  .delivery-main { padding-top: calc(var(--nav-h) + 25px); }
  .delivery-heading { grid-template-columns: 58px 1fr; padding: 21px; }
  .delivery-success { width: 58px; height: 58px; border-radius: 17px; }
  .delivery-order { display: none; }
  .delivery-install { grid-template-columns: 1fr; }
  .delivery-plan { grid-template-columns: 48px 1fr; padding: 20px; }
  .delivery-plan > strong { grid-column: 2; }
  .delivery-private { grid-template-columns: 52px 1fr; padding: 19px; }
  .delivery-private-icon { width: 52px; height: 52px; }
  .delivery-private > b { grid-column: 2; width: fit-content; }
}
@media (max-width:540px) {
  .delivery-platforms,.delivery-fields { grid-template-columns: 1fr; }
  .delivery-platform { min-height: 72px; }
  .delivery-qr-card,.delivery-quick-card { padding: 22px; border-radius: 24px; }
}

/* ============================================================
   Premium editorial system — blog index and article
   ============================================================ */

body[data-page="blog"],
body[data-page="article"] { background: color-mix(in srgb,var(--blue) 2.4%,var(--canvas)); }

body[data-page="blog"] .masthead { padding: 112px 0 54px; border: 0; background: transparent; }
.blog-masthead::before { content: ""; position: absolute; top: -340px; right: -170px; width: 820px; height: 820px; border: 1px solid color-mix(in srgb,var(--blue) 11%,transparent); border-radius: 50%; box-shadow: 0 0 0 92px color-mix(in srgb,var(--blue) 2.6%,transparent),0 0 0 184px color-mix(in srgb,var(--blue) 1.4%,transparent); pointer-events: none; }
.blog-masthead .page-grid { position: relative; z-index: 1; }
.blog-masthead .masthead-grid { grid-template-columns: 185px minmax(0,1.15fr) minmax(290px,.48fr); gap: clamp(30px,5vw,76px); align-items: center; }
.blog-masthead .section-index,
.article-head .section-index { width: fit-content; display: inline-flex; align-items: center; gap: 9px; padding: 10px 14px; border: 1px solid color-mix(in srgb,var(--blue) 22%,var(--line)); border-radius: 999px; color: var(--blue); background: var(--surface-solid); box-shadow: 0 10px 30px rgba(36,88,255,.07); font-size: 9px; font-weight: 850; letter-spacing: .13em; }
.blog-masthead .section-index i,
.article-head .section-index i { width: 7px; height: 7px; display: block; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px color-mix(in srgb,var(--green) 10%,transparent); }
.blog-masthead h1 { max-width: 850px; margin-top: 18px; font-size: clamp(58px,6.3vw,102px); font-weight: 750; line-height: .91; }
.masthead-note { align-self: end; display: grid; grid-template-columns: 45px 1fr; gap: 15px; padding: 20px; border: 1px solid var(--line); border-radius: 22px; background: color-mix(in srgb,var(--surface-solid) 86%,transparent); box-shadow: 0 18px 55px rgba(30,49,100,.07); backdrop-filter: blur(14px); }
.masthead-note > span { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: var(--blue); font-size: 10px; font-weight: 850; }
.blog-masthead .masthead-note p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.65; }
.blog-masthead .masthead-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 50px; padding: 8px; border: 1px solid var(--line); border-radius: 24px; background: color-mix(in srgb,var(--surface-solid) 83%,transparent); box-shadow: 0 20px 60px rgba(30,49,100,.07); backdrop-filter: blur(15px); }
.blog-masthead .masthead-stats > div { min-height: 88px; display: grid; grid-template-columns: 43px 1fr; gap: 13px; align-items: center; padding: 15px; border-radius: 17px; background: color-mix(in srgb,var(--canvas) 72%,var(--surface-solid)); }
.blog-masthead .masthead-stats > div:first-child { background: linear-gradient(135deg,color-mix(in srgb,var(--acid) 28%,var(--surface-solid)),var(--surface-solid)); }
.blog-masthead .masthead-stats i { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 13px; color: var(--blue); background: var(--surface-solid); font-size: 15px; font-style: normal; font-weight: 900; box-shadow: 0 9px 25px rgba(36,88,255,.1); }
.blog-masthead .masthead-stats p { margin: 0; }
.blog-masthead .masthead-stats strong { font-size: 21px; }
.blog-masthead .masthead-stats span { font-size: 8px; }

.filter-rail { position: sticky; z-index: 20; top: var(--nav-h-scrolled); gap: 0; border: 0; background: color-mix(in srgb,var(--canvas) 90%,transparent); backdrop-filter: blur(18px); }
.filter-track { display: flex; align-items: center; gap: 8px; overflow-x: auto; padding-top: 13px; padding-bottom: 13px; scrollbar-width: none; }
.filter-track::-webkit-scrollbar { display: none; }
.filter-label { flex: 0 0 auto; margin-right: 5px; color: var(--ink-faint); font-size: 9px; font-weight: 850; letter-spacing: .15em; }
.filter-rail a { min-height: 42px; display: grid; place-items: center; padding: 0 17px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface-solid); font-size: 9px; letter-spacing: .07em; }
.filter-rail a:hover { color: var(--blue); border-color: color-mix(in srgb,var(--blue) 30%,var(--line)); background: var(--surface-solid); }
.filter-rail a.active { color: #fff; border-color: var(--blue); background: var(--blue); box-shadow: 0 10px 26px rgba(36,88,255,.18); }

.journal { padding: 28px 0 110px; }
.journal-shell { display: grid; gap: 16px; }
.journal-lead { overflow: hidden; grid-template-columns: 1.08fr .92fr; border: 1px solid var(--line); border-radius: 34px; background: var(--surface-solid); box-shadow: 0 30px 85px rgba(24,41,86,.09); }
.journal-lead .lead-media { min-height: 510px; border: 0; }
.journal-lead .lead-media::after,
.entry-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 58%,rgba(7,12,25,.24)); pointer-events: none; }
.journal-lead .lead-media img { filter: saturate(.86) contrast(1.02); }
.journal-lead .lead-copy { position: relative; padding: clamp(34px,5vw,74px); }
.journal-lead .lead-copy::after { content: "01"; position: absolute; top: 28px; right: 30px; color: color-mix(in srgb,var(--blue) 14%,transparent); font-size: 76px; font-weight: 900; letter-spacing: -.08em; }
.lead-flag { position: relative; z-index: 1; color: var(--blue); font-size: 9px; }
.journal-lead h2 { position: relative; z-index: 1; font-size: clamp(34px,3.5vw,53px); }
.journal-lead p { position: relative; z-index: 1; max-width: 620px; font-size: 14px; }
.entry-meta { font-size: 9px; }
.journal-lead .action-text { position: relative; z-index: 1; min-height: 54px; display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding: 0 18px; border: 1px solid color-mix(in srgb,var(--blue) 28%,var(--line)); border-radius: 15px; background: var(--blue-tint); font-size: 10px; font-weight: 850; }
.journal-lead .action-text i { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; color: #fff; background: var(--blue); font-style: normal; }
.journal-grid { grid-template-columns: repeat(3,1fr); gap: 14px; border: 0; }
.journal-entry { overflow: hidden; min-height: 490px; border: 1px solid var(--line); border-radius: 26px; background: var(--surface-solid); box-shadow: 0 16px 48px rgba(24,41,86,.055); transition: transform .25s ease,box-shadow .25s ease,border-color .25s ease; }
.journal-entry:hover { border-color: color-mix(in srgb,var(--blue) 28%,var(--line)); background: var(--surface-solid); box-shadow: 0 26px 65px rgba(24,41,86,.11); transform: translateY(-5px); }
.entry-media { height: 235px; border: 0; }
.entry-media img { filter: saturate(.84) contrast(1.03); }
.entry-category { z-index: 2; top: 14px; left: 14px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.42); border-radius: 999px; color: #fff; background: rgba(9,15,31,.62); backdrop-filter: blur(12px); }
.entry-body { padding: 25px 25px 20px; }
.entry-body h3 { font-size: 22px; line-height: 1.17; }
.entry-body p { display: -webkit-box; overflow: hidden; font-size: 13px; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.entry-arrow { margin: 0 13px 13px; padding: 13px 13px 13px 16px; border: 1px solid var(--line); border-radius: 14px; background: color-mix(in srgb,var(--blue) 4%,var(--surface-solid)); }
.entry-arrow b { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; color: #fff; background: var(--blue); }
.pagination { gap: 7px; }
.pagination a,.pagination span { min-width: 46px; border-radius: 13px; background: var(--surface-solid); }
.pagination .current { border-color: var(--blue); background: var(--blue); }

.article-head { position: relative; overflow: hidden; padding: 118px 0 56px; border: 0; background: transparent; }
.article-head::before { content: ""; position: absolute; top: -370px; right: -230px; width: 880px; height: 880px; border: 1px solid color-mix(in srgb,var(--blue) 11%,transparent); border-radius: 50%; box-shadow: 0 0 0 95px color-mix(in srgb,var(--blue) 2.4%,transparent),0 0 0 190px color-mix(in srgb,var(--blue) 1.2%,transparent); }
.article-head .page-grid { position: relative; z-index: 1; }
.article-breadcrumbs { margin-bottom: 34px; }
.article-head-grid { grid-template-columns: minmax(0,.9fr) minmax(420px,.72fr); gap: clamp(42px,6vw,90px); align-items: center; }
.article-head h1 { max-width: 900px; margin-top: 23px; font-size: clamp(45px,5vw,77px); font-weight: 760; line-height: .98; }
.article-head > .page-grid > .article-head-grid > div > p { max-width: 760px; margin-top: 25px; font-size: 16px; }
.article-byline { gap: 10px; margin-top: 32px; padding-top: 0; border: 0; }
.article-byline > * { min-height: 36px; display: inline-flex; align-items: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-solid); }
.article-cover { position: relative; height: min(560px,52vw); min-height: 440px; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 32px; background: var(--surface-solid); box-shadow: 0 32px 85px rgba(20,36,78,.14); transform: rotate(1deg); }
.article-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 64%,rgba(6,11,25,.55)); pointer-events: none; }
.article-cover img { filter: saturate(.84) contrast(1.03); }
.article-cover figcaption { position: absolute; z-index: 2; right: 20px; bottom: 18px; left: 20px; display: flex; justify-content: space-between; color: #fff; font-size: 9px; font-weight: 850; letter-spacing: .11em; }
.article-layout { grid-template-columns: minmax(0,820px) minmax(280px,340px); justify-content: center; gap: clamp(45px,6vw,90px); padding-top: 55px; }
.article-body { max-width: 820px; }
.article-body .article-intro { padding: 25px 28px; border: 1px solid color-mix(in srgb,var(--blue) 24%,var(--line)); border-left: 5px solid var(--blue); border-radius: 20px; background: linear-gradient(135deg,var(--blue-tint),var(--surface-solid)); font-size: 20px; }
.article-body p { font-size: 17px; line-height: 1.82; }
.article-body h2 { padding-top: 14px; font-size: clamp(32px,3vw,44px); }
.article-body h3 { font-size: 25px; }
.article-body ul { display: grid; gap: 9px; }
.article-body ul li { padding: 14px 16px 14px 48px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface-solid); font-size: 15px; }
.article-body ul li::before { content: "✓"; top: 13px; left: 14px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 8px; color: var(--blue); background: var(--blue-tint); font-size: 11px; font-weight: 900; }
.article-steps { display: grid; gap: 10px; border: 0; }
.article-steps li { min-height: 78px; padding: 20px 20px 20px 72px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface-solid); font-size: 15px; }
.article-steps li::before { top: 17px; left: 16px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: var(--blue); }
.article-table-wrap { border-color: var(--line); border-radius: 19px; background: var(--surface-solid); }
.article-cta { overflow: hidden; gap: 17px; padding: 35px; border-radius: 24px; background: linear-gradient(135deg,#0b1020,#14203c 70%,#182a22); box-shadow: 0 24px 65px rgba(11,16,32,.18); }
.article-cta a { border-radius: 14px; }
.article-faq .faq-list details { border-radius: 18px; background: var(--surface-solid); }
.article-faq .faq-list summary { min-height: 76px; padding: 18px 68px 18px 20px; font-size: 16px; }
.article-faq .faq-list summary::after { top: 15px; right: 16px; border-radius: 13px; }
.article-faq .faq-list p { margin: 0 20px 20px; font-size: 15px; }
.aside-card { overflow: hidden; padding: 27px; border-color: var(--line); border-radius: 25px; background: var(--surface-solid); box-shadow: 0 20px 58px rgba(20,36,78,.08); }
.aside-card > span { display: inline-flex; align-items: center; gap: 9px; color: var(--green); }
.aside-card > span i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px color-mix(in srgb,var(--green) 10%,transparent); }
.aside-card h3 { margin-top: 20px; font-size: 27px; }
.aside-card p { font-size: 13px; }
.aside-card a.aside-cta { min-height: 57px; border-radius: 15px; font-size: 10px; box-shadow: 0 13px 30px rgba(36,88,255,.18); }
.aside-toc a { padding: 11px 0; }
.aside-tags a { border-radius: 999px; background: var(--canvas); }
.related-section { padding-top: 18px; }
.related-grid { gap: 12px; border: 0; }
.related-grid a { overflow: hidden; min-height: 220px; padding: 22px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface-solid); box-shadow: 0 14px 44px rgba(20,36,78,.05); }
.related-grid a:hover { border-color: var(--blue); transform: translateY(-3px); }
.related-thumb { height: 90px; overflow: hidden; margin: -22px -22px 17px; }
.related-thumb img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); }
.related-grid b { font-size: 18px; }

.editorial-final { position: relative; overflow: hidden; color: #fff; background: linear-gradient(135deg,#0b1020,#14203c 60%,#17271e); }
.editorial-final::before { content: ""; position: absolute; top: -190px; right: -80px; width: 560px; height: 560px; border: 1px solid rgba(201,255,69,.14); border-radius: 50%; box-shadow: 0 0 0 65px rgba(201,255,69,.025),0 0 0 130px rgba(21,87,255,.025); }
.editorial-final .page-grid { position: relative; z-index: 1; }
.editorial-final .country-final-copy h2 em { color: var(--acid); }
.editorial-final { padding: clamp(72px,8vw,120px) 0; }
.editorial-final .country-final-grid { display: grid; grid-template-columns: 190px minmax(0,1fr) minmax(220px,290px); gap: clamp(35px,5vw,75px); align-items: end; }
.editorial-final .final-coords { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; align-items: center; color: rgba(255,255,255,.55); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.editorial-final .final-coords b { color: #fff; font-size: 9px; }
.editorial-final .final-coords i { grid-column: 1/-1; height: 1px; background: rgba(255,255,255,.16); }
.editorial-final .country-final-copy > span { color: var(--acid); font-size: 9px; font-weight: 850; letter-spacing: .18em; }
.editorial-final .country-final-copy h2 { margin: 22px 0 0; font-size: clamp(48px,5vw,78px); line-height: .94; letter-spacing: -.065em; }
.editorial-final .country-final-copy p { max-width: 620px; margin: 22px 0 0; color: rgba(255,255,255,.68); font-size: 14px; line-height: 1.7; }
.editorial-final .country-final-grid > a { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 20px; border-radius: 16px; color: #0b1020; background: var(--acid); font-size: 10px; font-weight: 850; box-shadow: 0 16px 45px rgba(201,255,69,.14); }
.editorial-final .country-final-grid > a b { font-size: 18px; }

:root[data-theme="dark"] body[data-page="blog"],
:root[data-theme="dark"] body[data-page="article"] { background: var(--canvas); }
:root[data-theme="dark"] .masthead-note,
:root[data-theme="dark"] .journal-lead,
:root[data-theme="dark"] .journal-entry,
:root[data-theme="dark"] .article-cover,
:root[data-theme="dark"] .aside-card,
:root[data-theme="dark"] .related-grid a { box-shadow: 0 24px 68px rgba(0,0,0,.24); }

/* ---------- RTL ---------- */

[dir="rtl"] .article-body .article-intro { padding-right: 20px; padding-left: 0; border-right: 2px solid var(--blue); border-left: 0; }
[dir="rtl"] .article-body ul li, [dir="rtl"] .legal-body li { padding-right: 26px; padding-left: 0; }
[dir="rtl"] .article-body ul li::before, [dir="rtl"] .legal-body li::before { right: 2px; left: auto; }
[dir="rtl"] .article-steps li { padding-right: 56px; padding-left: 0; }
[dir="rtl"] .article-steps li::before { right: 0; left: auto; }
[dir="rtl"] .legal-note { border-right: 2px solid var(--blue); border-left: 0; }
[dir="rtl"] .journal-lead .lead-media { border-right: 0; border-left: 1px solid var(--line-strong); }
[dir="rtl"] .entry-category { right: 0; left: auto; }

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .masthead-grid, .article-head-grid { grid-template-columns: 110px 1fr; }
  .masthead-grid > p { grid-column: 2; }
  .journal-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: minmax(0, 1fr) 260px; }
  body[data-page="legal"] .masthead-grid { grid-template-columns: 110px 1fr; }
  body[data-page="legal"] .masthead-grid > p { grid-column: 2; }
  .legal-layout { grid-template-columns: 240px minmax(0,1fr); }
  .blog-masthead .masthead-grid { grid-template-columns: 145px minmax(0,1fr); }
  .blog-masthead .masthead-note { grid-column: 2; }
  .article-head-grid { grid-template-columns: minmax(0,1fr) minmax(360px,.72fr); }
  .editorial-final .country-final-grid { grid-template-columns: 160px 1fr; }
  .editorial-final .country-final-grid > a { grid-column: 2; width: min(360px,100%); }
}

@media (max-width: 850px) {
  .masthead { padding: 116px 0 44px; }
  .masthead-grid, .article-head-grid { grid-template-columns: 1fr; gap: 22px; }
  .masthead-grid > p { grid-column: 1; }
  .masthead-stats { gap: 26px; justify-content: space-between; }
  .journal-lead { grid-template-columns: 1fr; }
  .journal-lead .lead-media { min-height: 260px; border-right: 0; border-bottom: 1px solid var(--line-strong); }
  .journal-grid, .related-grid { grid-template-columns: 1fr; }
  .article-head { padding: 112px 0 40px; }
  .article-layout { grid-template-columns: 1fr; padding-top: 52px; }
  .article-aside { position: static; }
  .legal-layout { grid-template-columns: 1fr; padding-top: 44px; }
  body[data-page="legal"] .masthead { padding-top: 54px; }
  body[data-page="legal"] .masthead-grid { grid-template-columns: 1fr; }
  body[data-page="legal"] .masthead-grid > p { grid-column: 1; }
  .legal-nav { position: static; max-height: none; display: flex; gap: 8px; overflow-x: auto; padding: 12px; }
  .legal-nav > b { display: none; }
  .legal-nav a { flex: 0 0 auto; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--canvas); }
  body[data-page="blog"] .masthead { padding-top: 92px; }
  .blog-masthead .masthead-grid { grid-template-columns: 1fr; }
  .blog-masthead .masthead-note { grid-column: 1; }
  .blog-masthead .masthead-stats { grid-template-columns: 1fr 1fr 1fr; margin-top: 28px; }
  .blog-masthead .masthead-stats > div { grid-template-columns: 36px 1fr; min-height: 72px; padding: 11px; }
  .blog-masthead .masthead-stats i { width: 36px; height: 36px; }
  .article-cover { height: min(520px,78vw); min-height: 350px; transform: none; }
  .editorial-final .country-final-grid { grid-template-columns: 1fr; }
  .editorial-final .country-final-grid > a { grid-column: 1; }
}

@media (max-width: 520px) {
  .journal-lead .lead-copy, .entry-body { padding: 22px; }
  .article-body .article-intro { font-size: 17px; }
  .article-cta { padding: 26px 22px; }
  .status-body { padding: 32px 22px; }
  body[data-page="legal"] .masthead > .page-grid { padding: 25px 20px; border-radius: 24px; }
  body[data-page="legal"] .masthead-stats { grid-template-columns: 1fr; margin-top: 34px; }
  body[data-page="legal"] .masthead-stats div { min-height: 86px; }
  .legal-layout { padding-top: 24px; }
  .legal-body section { padding: 24px 19px; border-radius: 20px; }
  .legal-body p,.legal-body li { font-size: 14px; }
  .blog-masthead h1 { font-size: clamp(49px,15vw,68px); }
  .blog-masthead .masthead-stats { grid-template-columns: 1fr; }
  .filter-track { padding-right: 18px; padding-left: 18px; }
  .filter-label { display: none; }
  .journal { padding-top: 16px; }
  .journal-lead { border-radius: 24px; }
  .journal-lead .lead-media { min-height: 235px; }
  .journal-lead .lead-copy::after { font-size: 54px; }
  .journal-entry { min-height: 455px; border-radius: 22px; }
  .entry-media { height: 215px; }
  .article-head h1 { font-size: clamp(39px,12vw,58px); }
  .article-cover { min-height: 300px; border-radius: 23px; }
  .article-body p { font-size: 16px; }
  .article-body ul li { padding-left: 46px; }
  .editorial-final { padding: 64px 0; }
  .editorial-final .country-final-copy h2 { font-size: 48px; }
  .editorial-final .country-final-grid > a { width: 100%; }
}
