/* Polski-VPN.pl — English pages.
   Builds on /styles-v3.css (shared with the Polish site). Only EN additions live here. */

:root {
  --promo-h: 0px !important;            /* EN has no promo bar */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ok: #027a48;
  --ok-bg: #ecfdf3;
  --ok-border: #abefc6;
  --warn: #b54708;
  --warn-bg: #fffaeb;
  --warn-border: #fedf89;
  --prose: 62ch;
}

/* ── Browser surfaces ─────────────────────────────────── */
html { scrollbar-color: #c3cad5 transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible { outline-offset: 2px; border-radius: 10px; }
a { text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
.tnum, .plan__facts dd, .facts-table td { font-variant-numeric: tabular-nums; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; font-weight: 600; font-size: 0.9rem;
  padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── Buttons: press feedback, hover only with a pointer ─ */
.btn { transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease, transform 160ms var(--ease-out); }
.btn:active { transform: scale(0.97); }
@media (hover: none) {
  .btn--primary:hover, .btn--outline:hover, .btn--whatsapp:hover { transform: none; }
}

/* WhatsApp green darkened for 4.5:1 with white text */
.en .btn--whatsapp { background: #15803d; border-color: #15803d; color: #fff; }
.en .btn--whatsapp:hover { background: #166534; border-color: #166534; }

.en p, .en li, .en dd { text-wrap: pretty; }

/* Inline links inside running text */
.en main p a, .en main td a, .en main li a, .en main dd a {
  color: var(--accent-deep); text-decoration: underline; text-decoration-color: rgba(29, 78, 216, 0.35);
  transition: text-decoration-color 0.15s ease;
}
.en main p a:hover, .en main td a:hover, .en main li a:hover { text-decoration-color: currentColor; }

/* ── Header: language switch ───────────────────────────── */
.lang-switch {
  display: inline-flex; align-items: center; padding: 3px;
  border: 1px solid var(--border); border-radius: 10px; background: #fff;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em;
}
.lang-switch a, .lang-switch span { padding: 5px 9px; border-radius: 7px; line-height: 1; }
.lang-switch a { color: var(--muted-2); transition: color 0.15s ease, background-color 0.15s ease; }
.lang-switch a:hover { color: var(--text); background: var(--bg-2); }
.lang-switch [aria-current] { background: var(--accent-bg); color: var(--accent-deep); }

/* ── First screen ──────────────────────────────────────── */
.en-hero { padding-top: calc(var(--header-h) + clamp(40px, 6vw, 76px)); padding-bottom: clamp(56px, 7vw, 88px); }
.en-hero .hero__title { font-size: clamp(2.2rem, 4.6vw, 3.45rem); max-width: 15ch; text-wrap: balance; }
.en-hero .hero__sub { max-width: 50ch; }

.offer-line {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px;
  margin-top: 26px; padding: 12px 16px;
  background: #fff; border: 1px solid var(--accent-border); border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  width: fit-content;
}
.offer-line__price strong { font-family: var(--font-display); font-size: 1.22rem; letter-spacing: -0.01em; color: var(--text); }
.offer-line__terms { color: var(--muted); font-size: 0.92rem; }
.en-hero .hero__cta { margin-top: 22px; }

/* IP card */
.ipcard {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 26px 26px 20px;
  max-width: 440px;
  width: 100%;
  justify-self: end;
  text-align: left;
}
.ipcard__title { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--text); margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }

.ipcard__row { display: flex; align-items: center; gap: 14px; padding: 4px 0; }
.ipcard__code, .checkline__code {
  flex: none; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 10px;
  background: #fff; border: 1px solid var(--border-2);
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: 0.04em;
  color: var(--text-2);
}
.ipcard__code--pl { border-color: var(--border); }
.ipcard__code--pl .icon--flag { width: 30px; height: 20px; }
.ipcard__place { display: flex; flex-direction: column; min-width: 0; }
.ipcard__label { font-size: 0.78rem; font-weight: 600; color: var(--muted-2); }
.ipcard__country {
  font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; color: var(--text);
  line-height: 1.3; overflow-wrap: anywhere;
}
.ipcard__sub { font-family: var(--font); font-weight: 500; font-size: 0.86rem; color: var(--muted-2); }

.ipcard__verdict { font-size: 0.9rem; color: var(--muted); margin: 12px 2px 0; min-height: 3em; }

.ipcard__arrow { display: flex; align-items: center; gap: 10px; margin: 14px 0; color: var(--muted-2); font-size: 0.78rem; font-weight: 600; }
.ipcard__arrow::before, .ipcard__arrow::after { content: ""; flex: 1; height: 1px; background: var(--border); }

.ipcard__row--target .ipcard__code { background: var(--ok-bg); border-color: var(--ok-border); }
.ipcard__row--target .ipcard__label { color: var(--ok); }

.ipcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.ipcard__note { font-size: 0.78rem; color: var(--muted-2); }

/* States shared by the card row and the inline check */
[data-state="abroad"] .ipcard__code, [data-state="abroad"].checkline .checkline__code { background: var(--warn-bg); border-color: var(--warn-border); color: var(--warn); }
[data-state="poland"] .ipcard__code, [data-state="poland"].checkline .checkline__code { background: var(--ok-bg); border-color: var(--ok-border); color: var(--ok); }

/* The one authored moment: the looked-up country resolves into focus */
[data-ip-country], [data-ip-code] { transition: opacity 280ms var(--ease-out), filter 280ms var(--ease-out); }
[data-state="loading"] [data-ip-country], [data-state="loading"] [data-ip-code] { opacity: 0.45; filter: blur(4px); }
[data-state="loading"] .ipcard__code, [data-state="loading"] .checkline__code { animation: ip-pulse 1.1s ease-in-out infinite; }
@keyframes ip-pulse { 50% { background: var(--bg-2); } }

/* ── Sections ─────────────────────────────────────────── */
.section--tint { background: var(--bg-2); border-block: 1px solid var(--border); }
.section__head--left { text-align: left; margin-inline: 0; max-width: 760px; }
.section__head h2 { text-wrap: balance; }

/* Tables */
.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-xs); }
.table-scroll:focus-visible { outline-offset: 2px; }
.facts-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.facts-table th, .facts-table td { padding: 15px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.facts-table tbody tr:last-child th, .facts-table tbody tr:last-child td { border-bottom: 0; }
.facts-table thead th { font-size: 0.78rem; font-weight: 600; color: var(--muted-2); background: var(--bg-2); white-space: nowrap; }
.facts-table tbody th { font-weight: 600; color: var(--text); }
.facts-table tbody th .icon { display: inline-block; vertical-align: -3px; margin-right: 9px; color: var(--accent); font-size: 1.05rem; }
.facts-table tbody th small { display: block; font-weight: 500; color: var(--muted-2); font-size: 0.8rem; }
.facts-table td { color: var(--text-2); }
.devices-table { min-width: 720px; }
.devices-table tbody th { width: 27%; }
.services-table { min-width: 820px; }
.services-table tbody th { width: 18%; }
@media (min-width: 861px) {
  .glance-table tbody th, .sport-table tbody th { white-space: nowrap; }
  .glance-table tbody th small { white-space: normal; }
}

/* Setup */
.setup { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.setup__text h2 { margin-bottom: 28px; }
.steps { counter-reset: step; display: grid; gap: 22px; }
.steps li { counter-increment: step; position: relative; padding-left: 52px; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: -2px;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
}
.steps h3 { font-size: 1.06rem; margin-bottom: 4px; }
.steps p { color: var(--muted); font-size: 0.95rem; max-width: 52ch; }
.setup__visual img { width: 100%; height: auto; }

.glossary {
  grid-column: 1 / -1;
  border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff;
  padding: 20px 22px; box-shadow: var(--shadow-xs);
}
.glossary h3 { font-size: 1rem; margin-bottom: 12px; }
.glossary dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px 22px; }
.glossary dl div { display: flex; flex-direction: column; }
.glossary dt { font-weight: 700; color: var(--text); }
.glossary dd { color: var(--muted); font-size: 0.9rem; }

/* IP check section */
.check-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.check-grid .section__head { margin-bottom: 26px; }
.check-grid .checkline { margin-bottom: 0; }
@media (max-width: 1024px) { .check-grid { grid-template-columns: minmax(0, 1fr); } }
.checkline {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 16px 18px; box-shadow: var(--shadow-sm); margin-bottom: 30px;
}
.checkline__text { flex: 1; font-weight: 600; color: var(--text); min-width: 0; }
.checklist { counter-reset: tip; display: grid; gap: 14px; }
.checklist li { counter-increment: tip; position: relative; padding-left: 40px; color: var(--text-2); }
.checklist li::before {
  content: counter(tip); position: absolute; left: 0; top: 1px;
  width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  background: var(--accent-bg); color: var(--accent-deep); font-weight: 700; font-size: 0.82rem;
}

/* Plans */
.plans--four { grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plans--four .plan { padding: 28px 22px 22px; }
.plans--four .plan--featured { transform: none; }
.plans--four .plan--featured:hover { transform: translateY(-3px); }
.plan__billing { margin: 2px 0 0; }
.plan__pricebox .plan__price { margin-top: 18px; }
.plans--four .plan__desc { min-height: 1.5em; }
.plan__facts { flex: 1; margin: 18px 0 22px; border-top: 1px solid var(--border); }
.plan__facts div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 0.89rem; }
.plan__facts dt { color: var(--muted-2); }
.plan__facts dd { color: var(--text); font-weight: 600; text-align: right; }
@media (hover: none) { .plan:hover, .plans--four .plan--featured:hover { transform: none; } }

.plans__more { text-align: center; margin-top: 26px; color: var(--text-2); font-size: 0.95rem; }

.buyinfo { display: grid; grid-template-columns: 1fr 1.3fr; gap: 20px; margin-top: 36px; }
.buyinfo__col { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px 24px; }
.buyinfo__col h3 { font-size: 1rem; margin-bottom: 12px; }
.buyinfo__col p { color: var(--text-2); font-size: 0.93rem; margin-bottom: 10px; }
.buyinfo__small { color: var(--muted) !important; font-size: 0.86rem !important; margin-bottom: 0 !important; }
.tick-list li { position: relative; padding-left: 26px; margin-bottom: 8px; color: var(--text-2); font-size: 0.93rem; }
.tick-list li::before {
  content: ""; position: absolute; left: 2px; top: 0.42em; width: 12px; height: 7px;
  border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg);
}
.code-chip {
  display: inline-block; font-weight: 700; letter-spacing: 0.04em; font-size: 0.88rem;
  color: var(--accent-deep); background: var(--accent-bg); border: 1px dashed var(--accent-border);
  border-radius: 7px; padding: 3px 9px; vertical-align: 1px;
  transition: background-color 0.15s ease, transform 160ms var(--ease-out);
}
.code-chip:hover { background: #e3ecff; }
.code-chip:active { transform: scale(0.97); }

.field-guide { margin-top: 20px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; }
.field-guide summary, .faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-weight: 600; color: var(--text); padding: 16px 20px;
}
.field-guide summary::-webkit-details-marker, .faq-item summary::-webkit-details-marker { display: none; }
.field-guide summary::after, .faq-item summary::after {
  content: ""; flex: none; width: 9px; height: 9px; margin-right: 4px;
  border-right: 2px solid var(--muted-2); border-bottom: 2px solid var(--muted-2);
  transform: rotate(45deg) translateY(-3px); transition: transform 200ms var(--ease-out);
}
.field-guide[open] summary::after, .faq-item[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.field-guide dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 28px; padding: 4px 20px 20px; }
.field-guide dl div { display: flex; flex-direction: column; border-top: 1px solid var(--border); padding-top: 10px; }
.field-guide dt { font-weight: 700; color: var(--text); font-size: 0.92rem; }
.field-guide dd { color: var(--muted); font-size: 0.9rem; }

/* Services notes + guides */
.notes-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 22px; }
.notes-row p { color: var(--text-2); font-size: 0.93rem; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-2); }
.guides { margin-top: 48px; }
.guides__title { font-size: 1.15rem; margin-bottom: 14px; }
.guides__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.guide-link {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: #fff; box-shadow: var(--shadow-xs);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 200ms var(--ease-out);
}
.guide-link > .icon { font-size: 1.4rem; color: var(--accent); }
.guide-link span { flex: 1; display: flex; flex-direction: column; }
.guide-link strong { color: var(--text); font-family: var(--font-display); font-weight: 600; }
.guide-link small { color: var(--muted); font-size: 0.86rem; }
.guide-link__arrow { color: var(--muted-2); transition: transform 200ms var(--ease-out), color 0.15s ease; }
@media (hover: hover) and (pointer: fine) {
  .guide-link:hover { border-color: var(--accent-border); box-shadow: var(--shadow-md); transform: translateY(-2px); }
  .guide-link:hover .guide-link__arrow { transform: translateX(3px); color: var(--accent); }
}

/* FAQ (native details) */
.faq-list { display: grid; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.faq-item[open] { border-color: var(--border-2); box-shadow: var(--shadow-sm); }
.faq-item > div { padding: 0 20px 18px; }
.faq-item p { color: var(--muted); font-size: 0.94rem; }

/* Close + footer */
.en-close { padding: clamp(64px, 8vw, 100px) 0; }
.en-close__cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.footer__col a[hreflang="pl"]::after { content: ""; }
.footer__lang a { color: var(--muted); text-decoration: underline; text-underline-offset: 0.2em; }

/* ── Guide pages (Read mode) ──────────────────────────── */
.guide-hero { padding: calc(var(--header-h) + clamp(36px, 5vw, 64px)) 0 clamp(28px, 4vw, 44px); background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%); border-bottom: 1px solid var(--border); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.85rem; color: var(--muted-2); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--border-2); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--border-2); }
.guide-hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 700; letter-spacing: -0.03em; max-width: 22ch; text-wrap: balance; }
.guide-hero__lede { color: var(--text-2); font-size: clamp(1.02rem, 1.4vw, 1.14rem); max-width: 62ch; margin-top: 16px; }
.guide-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; color: var(--muted-2); font-size: 0.86rem; }
.guide-meta a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--border-2); }

.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 40px); padding: clamp(32px, 4vw, 48px) 0 clamp(64px, 8vw, 96px); }
.toc { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 32px; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px 20px; background: #fff; }
.toc h2 { flex-basis: 100%; margin-bottom: 0 !important; }
.toc__links { flex: 1 1 520px; columns: 3 190px; column-gap: 28px; }
.toc__links a { break-inside: avoid; }
.toc h2 { font-family: var(--font); font-size: 0.82rem; font-weight: 600; color: var(--muted-2); margin-bottom: 10px; letter-spacing: 0; }
.toc a:not(.btn) { display: block; font-size: 0.89rem; color: var(--muted); padding: 6px 0; border-top: 1px solid var(--bg-2); transition: color 0.15s ease; }
.toc a:not(.btn):hover { color: var(--accent-deep); }
.toc__cta { flex: 0 0 auto; width: auto !important; }

.prose { min-width: 0; color: var(--text-2); font-size: 1.02rem; line-height: 1.7; }
.prose > * + * { margin-top: 1.05em; }
/* Text keeps a readable measure; boxes, pictures and tables use the whole column */
.prose > :is(p, ul, ol:not(.howto), h2, h3, h4, dl, blockquote) { max-width: var(--prose); }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin-top: 2.2em; scroll-margin-top: calc(var(--header-h) + 16px); }
.prose h3 { font-size: 1.14rem; margin-top: 1.7em; }
.prose h2 + p, .prose h3 + p, .prose h2 + .table-scroll, .prose h3 + ol, .prose h3 + ul { margin-top: 0.6em; }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose ol { list-style: decimal; padding-left: 1.4em; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--muted-2); }
.prose strong { color: var(--text); }
.prose a { color: var(--accent-deep); text-decoration: underline; text-decoration-color: rgba(29, 78, 216, 0.35); }
.prose a:hover { text-decoration-color: currentColor; }
.prose a.btn { text-decoration: none; }
.prose a.btn--primary { color: #fff; }
.prose a.btn--outline { color: var(--text-2); }
.prose .table-scroll { max-width: none; }
.prose .facts-table { font-size: 0.9rem; }
.prose kbd, .prose .ui {
  font-family: var(--font); font-size: 0.86em; font-weight: 600; color: var(--text);
  background: var(--bg-2); border: 1px solid var(--border-2); border-bottom-width: 2px;
  border-radius: 6px; padding: 1px 6px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.wide { max-width: none; }

/* Commands in device guides */
.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.86em; color: var(--text); background: var(--bg-2);
  border: 1px solid var(--border); border-radius: 6px; padding: 1px 5px;
}
.prose pre {
  margin: 0.7em 0; padding: 12px 14px; overflow-x: auto;
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius);
}
.prose pre code { display: block; padding: 0; border: 0; background: none; font-size: 0.85rem; line-height: 1.55; white-space: pre; }

/* Screenshots in guides */
.prose .shot { margin: 0.9em 0 0.3em; }
.prose .shot img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--border); background: var(--bg-2); }
.prose .shot--portrait { max-width: 520px; }
.prose .shot--narrow { max-width: 340px; }

.answer-box {
  border: 1px solid var(--accent-border); background: var(--accent-bg);
  border-radius: var(--radius-lg); padding: 18px 20px; color: var(--text-2);
}
.answer-box strong { color: var(--text); }
.callout { border: 1px solid var(--border); background: var(--bg-2); border-radius: var(--radius); padding: 14px 18px; font-size: 0.95rem; }
.callout--warn { border-color: var(--warn-border); background: var(--warn-bg); }
.status { display: inline-block; font-size: 0.8rem; font-weight: 600; color: var(--muted-2); }

.howto { counter-reset: howto; list-style: none !important; padding-left: 0 !important; }
.howto > li { counter-increment: howto; position: relative; padding-left: 48px; }
.howto > li + li { margin-top: 1.4em; }
.howto > li::before {
  content: counter(howto); position: absolute; left: 0; top: 0;
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
}
.howto h3 { margin-top: 0; font-size: 1.08rem; }

/* Screenshot slots: hidden in production, shown with ?draft for the owner */
.shot-slot { display: none; }
html[data-draft] .shot-slot {
  display: grid; place-items: center; text-align: center; gap: 6px;
  aspect-ratio: 16 / 9; max-width: 560px; padding: 20px;
  border: 2px dashed var(--accent-border); border-radius: var(--radius-lg); background: var(--accent-bg);
  color: var(--accent-deep); font-size: 0.9rem; font-weight: 600;
}
html[data-draft] .shot-slot small { display: block; font-weight: 500; color: var(--muted); }

.guide-cta {
  margin-top: 2.4em; padding: 22px 24px; border-radius: var(--radius-lg);
  border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.guide-cta p { margin: 0; color: var(--text-2); }
.guide-cta strong { font-family: var(--font-display); font-size: 1.1rem; color: var(--text); display: block; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1100px) {
  .nav { gap: 18px; }
  .plans--four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .en-hero .hero__inner { text-align: left; }
  .en-hero .hero__cta, .en-hero .hero__assurances { justify-content: flex-start; }
  .en-hero .hero__sub { margin-inline: 0; }
  .ipcard { justify-self: start; max-width: 560px; }
  .setup { grid-template-columns: 1fr; }
  .setup__visual { max-width: 520px; margin-inline: auto; }
  .guide-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .header__cta { display: none; }
  .buyinfo, .notes-row, .guides__grid { grid-template-columns: 1fr; }
  .plans--four .plan--featured { order: 0; }
  .field-guide dl { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .plans--four { grid-template-columns: 1fr; }
  .offer-line { width: 100%; }
  .checkline { flex-wrap: wrap; }
  .checkline .btn { width: 100%; }
  .ipcard { padding: 20px 18px 16px; }
  .ipcard__foot .btn { width: 100%; }
  .en-close__cta .btn { width: 100%; }
  .facts-table th, .facts-table td { padding: 12px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  [data-state="loading"] [data-ip-country], [data-state="loading"] [data-ip-code] { filter: none; }
  [data-state="loading"] .ipcard__code, [data-state="loading"] .checkline__code { animation: none; }
  .btn:active, .code-chip:active { transform: none; }
}

/* Tables become stacked rows on tablets and phones */
@media (max-width: 860px) {
  .table-scroll { overflow: visible; }
  .devices-table, .services-table { min-width: 0; }
  .facts-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .facts-table tbody tr { display: block; padding: 14px 16px; border-bottom: 1px solid var(--border); }
  .facts-table tbody tr:last-child { border-bottom: 0; }
  .facts-table tbody th, .facts-table td { display: block; width: auto !important; padding: 0; border: 0; }
  .facts-table tbody th { margin-bottom: 8px; font-size: 1rem; }
  .facts-table td { padding: 4px 0 0; }
  .facts-table td::before { content: attr(data-label); display: block; font-size: 0.75rem; font-weight: 600; color: var(--muted-2); }
}
.ipcard__code--pl .icon--flag { outline: 1px solid var(--border-2); outline-offset: 0; border-radius: 3px; }
.facts-table caption:not(.visually-hidden) { caption-side: top; text-align: left; padding: 14px 18px; font-family: var(--font-display); font-weight: 600; color: var(--text); background: #fff; border-bottom: 1px solid var(--border); }
.words-table tbody th { width: 40%; }

/* ── Guides: Polish-link marker, sources, related, hub ── */
.prose :is(p, li, td) a[hreflang="pl"]::after {
  content: "(in Polish)"; display: inline-block; margin-left: 0.3em;
  color: var(--muted-2); font-size: 0.82em; font-weight: 500;
}
.kv-table tbody th { width: 30%; }

.sources { margin-top: 3em; padding-top: 1.6em; border-top: 1px solid var(--border); font-size: 0.92rem; }
.prose .sources h2 { font-size: 1.12rem; margin-top: 0; }
.sources p { color: var(--muted); }
.prose .sources ol { padding-left: 1.4em; }
.sources li { color: var(--muted-2); }
.prose .sources li a { color: var(--text-2); text-decoration-color: var(--border-2); }
.sources li span { display: block; font-size: 0.84rem; color: var(--muted-2); }

.related { margin-top: 2.6em; }
.prose .related h2 { font-size: 1.2rem; margin-top: 0; }
.guide-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--border); }
.prose .guide-list { list-style: none; padding-left: 0; margin-top: 0.8em; }
.guide-list li { border-bottom: 1px solid var(--border); }
.prose .guide-list li + li { margin-top: 0; }
.guide-list a, .en .guide-list a, .en .guide-list a:hover {
  position: relative; display: grid; gap: 2px; padding: 14px 36px 14px 0;
  color: var(--text-2); text-decoration: none;
}
.guide-list a strong { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--text); transition: color 0.15s ease; }
.guide-list a span { font-size: 0.92rem; color: var(--muted); }
.guide-list a::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 8px; height: 8px;
  border-top: 2px solid var(--muted-2); border-right: 2px solid var(--muted-2);
  transform: translateY(-50%) rotate(45deg);
  transition: transform 200ms var(--ease-out), border-color 0.15s ease;
}
@media (hover: hover) {
  .guide-list a:hover strong { color: var(--accent-deep); }
  .guide-list a:hover::after { transform: translate(3px, -50%) rotate(45deg); border-color: var(--accent); }
}
.related__all { margin-top: 14px; font-size: 0.95rem; font-weight: 600; }

.hub { padding: 0 0 clamp(64px, 8vw, 96px); }
.hub-jump { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 22px; }
.hub-jump a {
  padding: 8px 14px; border: 1px solid var(--border-2); border-radius: 999px; background: #fff;
  color: var(--text-2); font-size: 0.92rem; font-weight: 500; text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.hub-jump a:hover { border-color: var(--accent-border); color: var(--accent-deep); }
.hub-section {
  display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 16px 56px;
  padding: clamp(28px, 4vw, 44px) 0; border-bottom: 1px solid var(--border);
  scroll-margin-top: calc(var(--header-h) + 8px);
}
.hub-section__head h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.hub-section__head p { margin-top: 8px; color: var(--muted); font-size: 0.96rem; max-width: 36ch; }
.hub .guide-list { border-top: 0; }
.hub .guide-list li:first-child a { padding-top: 2px; }
.hub-check {
  margin-top: clamp(32px, 4vw, 48px); display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap; padding: 22px 24px; border: 1px solid var(--border);
  border-radius: var(--radius-lg); background: var(--bg-2);
}
.hub-check h2 { font-size: 1.15rem; }
.hub-check p { color: var(--muted); margin-top: 4px; font-size: 0.95rem; }

/* Home page: four ways into the guides */
.guides__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; margin-bottom: 14px; }
.guides__head .guides__title { margin-bottom: 0; }
.guides__all { font-weight: 600; font-size: 0.95rem; color: var(--accent-deep); }
.guides__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.guides__start { margin-top: 16px; color: var(--muted); font-size: 0.95rem; }

@media (max-width: 1100px) {
  .guides__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hub-section { grid-template-columns: minmax(0, 1fr); }
  .kv-table td::before { display: none; }
}
@media (max-width: 600px) {
  .guides__grid--4 { grid-template-columns: minmax(0, 1fr); }
}

.hub-check h2 { text-wrap: balance; }

/* Real product screenshot inside a guide */
.guide-shot { max-width: 520px; margin-top: 1.4em; }
.guide-shot img { width: 100%; height: auto; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-2); }

/* ── December 2026 brief: guide column, offer, plans in guides, captions, striped tables ── */
/* Guides: one centred column of about 760 px with a shared left edge.
   Text keeps a readable measure (--prose); answers, pictures, tables, callouts and plans use the full column. */
.en-guide:not(.en-hub) .guide-hero .container,
.en-guide .guide-layout { width: min(760px, 100% - 40px); }
.prose .howto > li > :is(p, ul, ol) { max-width: var(--prose); }
/* No extra indent for pictures and callouts inside numbered steps: they start at the column edge */
.prose .howto > li > :is(.shot, .callout, .table-scroll) { margin-left: -48px; }
.prose .howto > li > .shot:not(.shot--portrait):not(.shot--narrow),
.prose .howto > li > :is(.callout, .table-scroll) { width: calc(100% + 48px); max-width: none; }
.prose .shot figcaption, .guide-shot figcaption { margin-top: 8px; font-size: 0.86rem; line-height: 1.5; color: var(--muted); }
.prose .shot + .callout { margin-top: 0.8em; }
.anchor-alias { display: block; height: 0; scroll-margin-top: calc(var(--header-h) + 8px); }

/* Offer right after the answer */
.offer-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 14px 20px; flex-wrap: wrap;
  padding: 16px 18px; border: 1px solid var(--accent-border); border-radius: var(--radius-lg); background: #fff;
}
.offer-strip p { margin: 0; flex: 1 1 300px; color: var(--text-2); font-size: 0.97rem; }
.offer-strip strong { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--text); }
.offer-strip__actions { display: flex; align-items: center; gap: 10px 18px; flex-wrap: wrap; }
.prose .offer-strip__link { font-weight: 600; font-size: 0.95rem; }

/* Plans inside every guide */
.guide-plans { margin-top: 2.6em; padding: clamp(18px, 3vw, 26px); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-2); scroll-margin-top: calc(var(--header-h) + 16px); }
.prose .guide-plans h2 { margin-top: 0; }
.guide-plans > p { margin-top: 6px; color: var(--muted); font-size: 0.95rem; }
.guide-plans__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.gplan { position: relative; display: flex; flex-direction: column; padding: 20px 18px 18px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; }
.gplan--featured { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.prose .gplan h3 { margin: 0; font-size: 1.05rem; }
.gplan__desc { margin-top: 2px; color: var(--muted-2); font-size: 0.85rem; }
.gplan__price { margin-top: 10px; font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; letter-spacing: -0.02em; color: var(--text); font-variant-numeric: tabular-nums; }
.gplan .plan__facts { flex: 1; margin: 12px 0 16px; }
.gplan .plan__facts div { font-size: 0.82rem; }
.gplan .plan__badge { top: -11px; }
.prose .guide-plans__more { margin-top: 14px; font-size: 0.92rem; }

/* Comparison tables: a light background on every other row */
.facts-table tbody tr:nth-child(even) { background: #f8fafc; }

@media (max-width: 760px) {
  .guide-plans__grid { grid-template-columns: minmax(0, 1fr); }
  .offer-strip__actions, .offer-strip__actions .btn { width: 100%; }
}

/* Home page: app screenshot on the first screen, Windows screenshot in setup, six guide groups */
.en-hero .hero-shot { margin: 0; justify-self: center; width: 100%; max-width: 520px; }
.en-hero .hero-shot img { display: block; width: 100%; height: auto; }
.setup__visual--app { justify-self: center; width: 100%; max-width: 340px; margin: 0; }
.setup__visual--app img { display: block; width: 100%; height: auto; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.setup__visual--app figcaption { margin-top: 10px; font-size: 0.86rem; line-height: 1.5; color: var(--muted); }
.guides__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .guides__grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1024px) { .en-hero .hero-shot { justify-self: center; max-width: 440px; } }
@media (max-width: 600px) {
  .guides__grid--3 { grid-template-columns: minmax(0, 1fr); }
  .en-hero .hero-shot { justify-self: center; max-width: 320px; }
}

/* Contents list inside the article, after the answer and the offer */
.prose .toc { margin-top: 1.4em; }
.prose .toc h2 { margin-top: 0; font-family: var(--font); font-size: 0.82rem; font-weight: 600; color: var(--muted-2); letter-spacing: 0; }
.prose .toc a:not(.btn) { text-decoration: none; }
.prose .toc + h2 { margin-top: 1.8em; }
