/* ==========================================================================
   TSR Watermark Image — static rebuild
   Modern responsive stylesheet. No frameworks, no external fonts, no CDN.
   Mobile-first: base rules are phone-sized, media queries scale upward.
   ========================================================================== */

:root {
  --ink:        #0f172a;
  --ink-2:      #1e293b;
  --muted:      #5b6b82;
  --muted-2:    #7c8ba1;
  --line:       #e3e8ef;
  --line-soft:  #eef2f7;
  --bg:         #ffffff;
  --bg-soft:    #f6f9fc;
  --bg-deep:    #0b1626;
  --brand:      #2563eb;
  --brand-dark: #1a49c4;
  --brand-soft: #eff5ff;
  --accent:     #06b6d4;
  --ok:         #15a34a;
  --warn:       #b45309;

  --radius:     14px;
  --radius-sm:  9px;
  --shadow:     0 1px 2px rgba(15,23,42,.05), 0 8px 24px -12px rgba(15,23,42,.18);
  --shadow-lg:  0 2px 4px rgba(15,23,42,.06), 0 24px 48px -20px rgba(15,23,42,.28);

  --wrap:       1180px;
  --gutter:     20px;
  --header-h:   62px;

  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  overflow-x: hidden;               /* belt & braces: never scroll sideways */
  /* some legacy pages join words with &nbsp; (the Arabic string list has 310 of
     them), which makes a whole sentence one unbreakable run. Let it break. */
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; border: 0; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.22; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(1.75rem, 1.25rem + 2.2vw, 2.75rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.35rem, 1.1rem + 1.1vw, 1.9rem);  letter-spacing: -.015em; }
h3 { font-size: clamp(1.12rem, 1rem + .5vw, 1.3rem); }
h4 { font-size: 1.02rem; }
p  { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
li { margin: .3em 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
table { border-collapse: collapse; }
center { display: block; text-align: center; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* legacy inline junk that fought the layout */
font { font-size: inherit !important; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- layout primitives ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding: clamp(38px, 6vw, 76px) 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: clamp(26px, 4vw, 46px) 0; }
.section-head { max-width: 760px; margin: 0 auto clamp(24px, 4vw, 46px); text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--brand); margin-bottom: .6em;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.5em; border-radius: 999px; border: 1px solid transparent;
  font-weight: 650; font-size: 1rem; line-height: 1.2; cursor: pointer;
  text-align: center; transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -10px rgba(37,99,235,.9); }
.btn--primary:hover { background: var(--brand-dark); }
.btn--buy { background: var(--ok); color: #fff; box-shadow: 0 8px 20px -10px rgba(21,163,74,.9); }
.btn--buy:hover { background: #12833c; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--bg-soft); }
.btn--onDark { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.28); }
.btn--onDark:hover { background: rgba(255,255,255,.18); }
.btn--sm { padding: .6em 1.1em; font-size: .92rem; }
.btn--xs { padding: .42em .95em; font-size: .82rem; font-weight: 600; }
.btn--block { display: flex; width: 100%; }

/* ==========================================================================
   Header / navigation
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; gap: 12px;
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: auto; flex: none; }
.brand__name {
  font-weight: 800; color: var(--ink); letter-spacing: -.02em;
  font-size: 1.05rem; line-height: 1.15;
}
.brand__name span { display: block; font-weight: 500; font-size: .72rem; color: var(--muted); letter-spacing: .02em; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; padding: 0 9px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 10px var(--gutter) 20px;
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
}
.nav.is-open { display: block; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav a {
  display: block; padding: 11px 4px; color: var(--ink-2); font-weight: 550;
  border-bottom: 1px solid var(--line-soft);
}
.nav a:hover { color: var(--brand); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--brand); font-weight: 700; }
.nav__cta { display: grid; gap: 10px; margin-top: 16px; }

.lang-switch { display: flex; gap: 4px; margin-top: 14px; }
.lang-switch a {
  border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px;
  font-size: .8rem; font-weight: 700; letter-spacing: .04em; color: var(--muted);
}
.lang-switch a:hover { background: var(--bg-soft); color: var(--brand); text-decoration: none; }
.lang-switch a[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

@media (min-width: 940px) {
  .nav-toggle { display: none; }
  .nav {
    display: flex !important; align-items: center; gap: 4px;
    position: static; padding: 0; border: 0; box-shadow: none;
    background: transparent; max-height: none; overflow: visible;
  }
  .nav ul { display: flex; align-items: center; gap: 2px; }
  .nav a { border: 0; padding: 8px 12px; border-radius: 8px; font-size: .95rem; }
  .nav a:hover { background: var(--bg-soft); }
  .nav__cta { display: flex; gap: 8px; margin: 0 0 0 12px; }
  .nav__cta .btn { padding: .55em 1.15em; font-size: .92rem; }
  .lang-switch { margin: 0 0 0 12px; }
  .lang-switch a { padding: 5px 9px; font-size: .74rem; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(6,182,212,.30), transparent 60%),
    radial-gradient(700px 380px at 5% 110%, rgba(37,99,235,.42), transparent 62%),
    linear-gradient(160deg, #0d1b2f 0%, var(--bg-deep) 55%, #060f1c 100%);
}
.hero__inner {
  display: grid; gap: clamp(28px, 4vw, 48px);
  padding: clamp(40px, 6vw, 78px) 0 clamp(44px, 6vw, 82px);
  align-items: center;
}
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero h1 b, .hero h1 strong { color: #fff; font-weight: 800; }
.hero__lede { font-size: clamp(1.02rem, .95rem + .4vw, 1.22rem); color: #c3d2e6; margin-bottom: .4em; }
.hero__note { color: #93a7c2; font-size: .95rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 16px; }
.hero__actions .btn { flex: 1 1 190px; }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; color: #9fb2ca; font-size: .88rem; }
/* the money-back guarantee: plain text, not a pill/button */
.hero__guarantee { color: #dbe7f6; font-weight: 600; }
.hero__media {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.85);
  border: 1px solid rgba(255,255,255,.12);
  background: #050b14;
}
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); }
}

/* ---------- carousel (hero + testimonials) ---------- */
.carousel { position: relative; }
.carousel__track { position: relative; }
.carousel__slide {
  display: none; margin: 0;
  animation: fadeIn .45s ease;
}
.carousel__slide.is-active { display: block; }
/* only the hero's screenshot slides fill the frame — scoping this matters, because an
   unscoped `.carousel__slide img` outranks `.quote__avatar` and stretched it to a smear */
.hero__media .carousel__slide img { width: 100%; }
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
.carousel__dots {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 7px;
  padding: 12px; margin: 0; list-style: none;
}
.carousel__dot {
  width: 9px; height: 9px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 0; background: rgba(255,255,255,.32);
}
.carousel__dot.is-active { background: #fff; transform: scale(1.25); }
.carousel--light .carousel__dot { background: #cbd5e1; }
.carousel--light .carousel__dot.is-active { background: var(--brand); }

/* ==========================================================================
   Cards / feature grids
   ========================================================================== */
.grid { display: grid; gap: clamp(16px, 2.4vw, 26px); }
/* grid/flex items default to min-width:auto, which lets wide children (tables,
   long words) push the track wider than the viewport. Force them to shrink. */
.grid > *, .page__grid > *, .reasons > *, .card, .hero__inner > * { min-width: 0; }
.card > *, .page__main > * { max-width: 100%; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (min-width: 620px) { .grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 720px) { .grid--3 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 980px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
}

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(18px, 2.4vw, 26px); box-shadow: var(--shadow);
}
/* rows of icons: inline so they sit next to each other, and so any text-align on the
   original wrapper still applies (the reset makes bare images display:block) */
.icon-row { margin: 0 0 1.2em; }
.icon-row img { display: inline-block; vertical-align: middle; margin: 0 5px; }
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }
.card--flat { box-shadow: none; }

/* reasons-to-use tabs (was jQuery on the old site) */
.reasons { display: grid; gap: 22px; }
@media (min-width: 900px) { .reasons { grid-template-columns: minmax(0,.95fr) minmax(0,1.15fr); align-items: start; } }
.reasons__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.reasons__btn {
  display: block; width: 100%; text-align: left; cursor: pointer;
  background: #fff; border: 1px solid var(--line); border-left: 4px solid transparent;
  border-radius: var(--radius-sm); padding: 14px 16px; font: inherit; color: var(--ink-2);
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.reasons__btn:hover { background: var(--bg-soft); }
.reasons__btn[aria-selected="true"] {
  border-left-color: var(--brand); background: var(--brand-soft); box-shadow: var(--shadow);
}
.reasons__btn b { display: block; color: var(--ink); }
.reasons__btn .caption { color: var(--muted); font-size: .93rem; }
.reasons__panel { display: none; }
.reasons__panel.is-active { display: block; }
.reasons__panel img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }

/* ---------- testimonials ---------- */
/* Phone: avatar centred above the quote. From 640px up: avatar left, stars/quote/name
   stacked to its right — the arrangement the original site used. */
.quote {
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  text-align: center; max-width: 880px; margin: 0 auto; padding: 8px 0 0;
}
.quote__avatar {
  width: 96px; height: 96px; flex: none;
  border-radius: 50%; object-fit: cover;
  border: 4px solid #fff; box-shadow: var(--shadow);
}
.quote__body { min-width: 0; }
.quote__stars { width: 104px; height: auto; margin: 0 auto .7em; }
.quote__text { font-size: clamp(1rem, .96rem + .35vw, 1.14rem); color: var(--ink-2); margin: 0 0 .7em; }
.quote__name { color: var(--muted); font-size: .93rem; font-weight: 600; }
.quote__name a { font-weight: 600; }

@media (min-width: 640px) {
  .quote { flex-direction: row; align-items: flex-start; text-align: left; gap: 26px; }
  .quote__stars { margin: 0 0 .7em; }
}

/* white surface so the logos' baked-in white JPEG backgrounds disappear into it */
.logos-strip {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 2.6vw, 30px); box-shadow: var(--shadow);
  margin: clamp(28px, 4vw, 46px) auto 0; max-width: 900px;
}
.logos-strip__title {
  text-align: center; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 1.4em;
}
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 34px; padding: 0; margin: 0; list-style: none; }
.logos img { max-height: 30px; width: auto; opacity: .68; filter: grayscale(1); transition: opacity .15s ease, filter .15s ease; }
.logos a:hover img { opacity: 1; filter: none; }

/* ==========================================================================
   Inner page shell (main + sidebar)
   ========================================================================== */
.page { padding: clamp(28px, 4vw, 54px) 0 clamp(40px, 6vw, 72px); }
.page__grid { display: grid; gap: clamp(24px, 3vw, 40px); align-items: start; }
@media (min-width: 1000px) {
  .page__grid { grid-template-columns: minmax(0,1fr) 300px; }
  .page__aside { position: sticky; top: calc(var(--header-h) + 20px); }
}
.page__main { min-width: 0; }             /* lets wide children shrink instead of overflowing */
.page__main > :first-child { margin-top: 0; }
.page__main h1 { margin-bottom: .5em; }
.page__main h2 { margin-top: 1.7em; }
.page__main h3 { margin-top: 1.4em; }
.page__main img { border-radius: var(--radius-sm); }
.page__main table { margin: 1.2em 0; }
/* the old pages had a lot of empty <p>/<h2>/<h3> left by the CMS */
.page__main p:empty, .page__main h2:empty, .page__main h3:empty, .page__main h4:empty { display: none; }

.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 1.2em; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }

/* sidebar buy widget */
.buybox {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.buybox__head { background: var(--bg-deep); color: #fff; padding: 18px 20px; text-align: center; }
.buybox__head strong { display: block; font-size: 1.06rem; }
.buybox__head span { color: #9fb2ca; font-size: .86rem; }
.buybox__body { padding: 18px 20px 22px; }
.buybox__prices { margin: 0 0 14px; padding: 0; list-style: none; }
/* each edition: name on its own line, then price and its own Buy now button.
   Two rows keeps it readable in a 300px sidebar where name+price+button won't fit. */
.buybox__plan {
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 3px 10px;
  padding: 12px 0; border-top: 1px solid var(--line-soft);
}
.buybox__plan:first-child { border-top: 0; padding-top: 4px; }
.buybox__plan-name { grid-column: 1 / -1; font-size: .9rem; font-weight: 600; color: var(--ink); }
.buybox__plan-price { font-size: 1.05rem; font-weight: 800; color: var(--ink); }
.buybox__icons { display: flex; justify-content: center; gap: 12px; margin-bottom: 14px; }
.buybox__icons img { height: 26px; width: auto; opacity: .8; }
.buybox__note { text-align: center; font-size: .85rem; color: var(--muted); margin: 12px 0 0; }
.buybox__seal { margin: 14px auto 0; max-width: 150px; }

/* in-page sub navigation (old .helpSupportNavigation) */
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.6em; padding: 0; list-style: none; }
.subnav a {
  display: inline-block; padding: .45em 1em; border-radius: 999px;
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-2);
  font-size: .9rem; font-weight: 550;
}
.subnav a:hover { background: var(--brand-soft); border-color: #cfe0ff; color: var(--brand); text-decoration: none; }
.subnav a[aria-current="page"] { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ==========================================================================
   Tables — scroll on tablet, stack into cards on phones
   ========================================================================== */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.4em 0; }

.dtable { width: 100%; min-width: 100%; font-size: .95rem; background: #fff; }
.dtable th, .dtable td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.dtable thead th { background: var(--bg-soft); font-weight: 700; color: var(--ink); white-space: nowrap; }
.dtable tbody tr:hover { background: #fbfdff; }
.dtable img { display: inline-block; }

/* comparison / pricing matrix */
.compare { width: 100%; font-size: .93rem; background: #fff; }
.compare th, .compare td { padding: 11px 12px; border-bottom: 1px solid var(--line-soft); text-align: center; }
/* thead is two rows: plan names, then prices. Names top-align so every column's first
   line sits on the same baseline even when one name wraps; prices align by row. */
.compare thead th { border-bottom: 0; vertical-align: top; }
.compare thead tr.compare__names th { padding-bottom: 2px; }
.compare thead tr.compare__prices th { padding-top: 0; border-bottom: 2px solid var(--line); }
.compare th[scope="row"], .compare td:first-child { text-align: left; }
.compare tbody th[scope="row"] { font-weight: 500; color: var(--ink-2); }
.compare tbody th[scope="row"] strong { color: var(--ink); font-weight: 700; }
/* plan name on its own line and slightly larger than the price beneath it */
.compare .compare__plan {
  display: block; font-size: 1.06rem; font-weight: 800; color: var(--ink);
  line-height: 1.25; margin-bottom: 2px;
}
.compare .compare__price {
  display: block; font-size: .94rem; font-weight: 700; color: var(--muted);
  line-height: 1.3;
}
.compare .compare__price small { display: block; font-size: .72rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.compare tr.compare__group th {
  background: var(--bg-deep); color: #fff; text-align: left; font-size: .8rem;
  letter-spacing: .1em; text-transform: uppercase; padding: 10px 12px; border: 0;
}
.compare tbody tr:hover { background: #fbfdff; }
.compare img { display: inline-block; width: 18px; height: auto; }
.compare .yes, .compare .no { font-size: 1.05rem; line-height: 1; }
.compare .yes { color: var(--ok); }
.compare .no  { color: #cbd5e1; }
.compare .compare__note { font-size: .78rem; color: var(--muted); line-height: 1.4; }

/* phone: turn every data row into a labelled card */
@media (max-width: 760px) {
  .compare, .compare thead, .compare tbody, .compare tr, .compare th, .compare td { display: block; }
  .compare thead { display: none; }
  .compare tbody tr {
    border: 1px solid var(--line); border-radius: var(--radius-sm);
    margin-bottom: 12px; background: #fff; overflow: hidden;
  }
  .compare tbody tr:hover { background: #fff; }
  .compare tbody th[scope="row"] {
    background: var(--bg-soft); border-bottom: 1px solid var(--line);
    padding: 12px 14px; text-align: left;
  }
  .compare tbody td {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    text-align: right; padding: 10px 14px; border-bottom: 1px solid var(--line-soft);
  }
  .compare tbody td::before {
    content: attr(data-label);
    font-weight: 650; color: var(--muted); text-align: left; font-size: .86rem; flex: 1 1 auto;
  }
  /* the value may wrap, but must never push the row wider than the card */
  .compare tbody td > * { flex: 0 1 auto; min-width: 0; }
  .compare tbody td .compare__note { text-align: right; }
  .compare tr.compare__group { border: 0; margin: 22px 0 10px; }
  .compare tr.compare__group th { border-radius: var(--radius-sm); }
  .compare tbody tr.compare__plans,
  .compare tbody tr.compare__pricing,
  .compare tbody tr.compare__cta { border: 0; }
  .compare tbody tr.compare__plans th,
  .compare tbody tr.compare__pricing th,
  .compare tbody tr.compare__cta th { display: none; }
  .compare tbody tr.compare__plans td,
  .compare tbody tr.compare__pricing td,
  .compare tbody tr.compare__cta td { border: 0; }
  .compare tbody tr.compare__cta td::before { content: attr(data-label); }
}

/* the phone-friendly plan cards shown instead of the wide pricing table */
.plans { display: grid; gap: 18px; }
@media (min-width: 620px) { .plans { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1040px) { .plans { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.plan {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 20px; box-shadow: var(--shadow);
}
.plan--featured { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft), var(--shadow-lg); }
.plan__tag {
  align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--brand); background: var(--brand-soft);
  padding: .35em .8em; border-radius: 999px; margin-bottom: 10px;
}
.plan__name { font-size: 1.1rem; font-weight: 800; color: var(--ink); margin: 0 0 4px; }
.plan__price { font-size: 1.9rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; margin: 0 0 2px; }
.plan__price small { font-size: .8rem; font-weight: 600; color: var(--muted); }
.plan__list { list-style: none; margin: 16px 0 22px; padding: 0; font-size: .93rem; }
.plan__list li { display: flex; gap: .6em; align-items: flex-start; padding: 5px 0; color: var(--ink-2); }
.plan__list li::before { content: "✓"; color: var(--ok); font-weight: 800; flex: none; }
.plan__list li.is-off { color: var(--muted-2); }
.plan__list li.is-off::before { content: "–"; color: #cbd5e1; }
.plan__cta { margin-top: auto; }

/* ==========================================================================
   Gallery + lightbox
   ========================================================================== */
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); margin: 1.4em 0 2em; padding: 0; list-style: none; }
.gallery a { display: block; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); box-shadow: var(--shadow); }
.gallery a:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.gallery a { transition: transform .15s ease, box-shadow .15s ease; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(6,12,22,.92);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 86dvh; width: auto; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  color: #fff; width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  font-size: 1.3rem; line-height: 1; display: flex; align-items: center; justify-content: center;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.24); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav--prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__caption { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #cbd5e1; font-size: .85rem; padding: 0 70px; }

/* ==========================================================================
   Version history
   ========================================================================== */
.versions { display: grid; gap: 14px; padding: 0; margin: 1.4em 0; list-style: none; }
@media (min-width: 760px)  { .versions { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1100px) { .versions { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.versions > li {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px 18px; margin: 0; box-shadow: var(--shadow);
}
.vhHeader {
  display: block; font-weight: 800; color: var(--ink); font-size: .96rem;
  padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid var(--line-soft);
}
.versions ul { margin: 0; padding-left: 1.1em; font-size: .91rem; color: var(--muted); }
.versions ul li { margin: .35em 0; }

/* ==========================================================================
   FAQ / accordions
   ========================================================================== */
.faq { display: grid; gap: 10px; margin: 1.4em 0; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 18px;
}
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer; padding: 15px 0; font-weight: 650; color: var(--ink); list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.35rem; color: var(--brand); font-weight: 400; flex: none; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq__body { padding: 0 0 16px; border-top: 1px solid var(--line-soft); margin-top: -1px; padding-top: 14px; color: var(--ink-2); }
.faq__body > :last-child { margin-bottom: 0; }

/* ==========================================================================
   Contact (the old ASP.NET form is a mailto block in the static build)
   ========================================================================== */
.contact-cta {
  display: grid; gap: 18px; align-items: center; text-align: center;
  background: var(--brand-soft); border: 1px solid #d6e4ff;
  border-radius: var(--radius); padding: clamp(22px, 3vw, 34px);
  margin: 1.6em 0;
}
.contact-cta h3 { margin: 0; }
.contact-cta p { margin: 0; color: var(--muted); }
.contact-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.contact-cta code { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: .15em .5em; font-size: .93em; }

/* the help pages carry a real "contact us" block after the article body */
.contact-block { margin-top: 2.6rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.contact-block h3 { margin-bottom: .8em; }
.contact-block ol { padding-left: 1.2em; }
.contact-block li { margin: .5em 0; }
.contact-block .mail { font-weight: 600; }

/* ==========================================================================
   Articles
   ========================================================================== */
.article__meta { color: var(--muted); font-size: .9rem; margin-bottom: 1.6em; }
.prose { font-size: 1.04rem; }
.prose img { border-radius: var(--radius-sm); box-shadow: var(--shadow); margin: 1.4em 0; }
.prose .articleimage1 { float: none; width: 100%; margin: 0 0 1.4em; }
@media (min-width: 700px) {
  .prose .articleimage1 { float: right; width: 320px; margin: .3em 0 1.2em 1.8em; }
}
.prose .articleimage2 { width: 100%; }
@media (min-width: 700px) { .prose .articleimage2 { width: calc(50% - 10px); display: inline-block; vertical-align: top; margin: 0 4px 1.2em 0; } }

.article-list { display: grid; gap: 12px; padding: 0; margin: 1.6em 0; list-style: none; }
.article-list a {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px 18px; color: var(--ink); font-weight: 600; box-shadow: var(--shadow);
}
.article-list a:hover { border-color: var(--brand); text-decoration: none; box-shadow: var(--shadow-lg); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--bg-deep); color: #9fb2ca; padding: clamp(38px, 5vw, 60px) 0 28px; margin-top: auto; }
.site-footer a { color: #cbd9ea; }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; gap: 28px; }
@media (min-width: 700px)  { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: .5em 0; font-size: .93rem; }
.site-footer__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.site-footer__brand img { width: 34px; }
.site-footer__brand strong { color: #fff; font-size: 1.05rem; }
.site-footer__blurb { font-size: .92rem; max-width: 42ch; }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 34px; padding-top: 20px; font-size: .86rem;
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.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;
}
.text-center { text-align: center; }
.muted { color: var(--muted); }
.stack > * + * { margin-top: 1rem; }
.notice {
  border-left: 4px solid var(--brand); background: var(--brand-soft);
  padding: 14px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 1.4em 0;
}
.notice p:last-child { margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

@media print {
  .site-header, .site-footer, .page__aside, .hero__actions, .nav-toggle { display: none !important; }
  body { color: #000; }
}

/* ==========================================================================
   Long-form articles — code samples, quotes, data tables, CTA rows
   ========================================================================== */
.prose h2 { margin-top: 1.9em; }
.prose h3 { margin-top: 1.5em; }

.prose pre.code {
  margin: 1.4em 0; padding: 16px 18px; overflow-x: auto;
  background: #0f2233; color: #e6f0f7; border-radius: var(--radius-sm);
  font-size: .88rem; line-height: 1.55; -webkit-overflow-scrolling: touch;
}
.prose pre.code code { background: none; color: inherit; padding: 0; font-size: inherit; white-space: pre; }
.prose :not(pre) > code {
  background: var(--bg-soft); border: 1px solid var(--line-soft); border-radius: 4px;
  padding: 1px 5px; font-size: .9em; word-break: break-word;
}

.prose blockquote {
  margin: 1.5em 0; padding: 4px 0 4px 20px;
  border-left: 4px solid var(--brand); color: var(--ink-2);
  font-size: 1.06rem; font-style: italic;
}
.prose blockquote strong { font-style: normal; }

/* row-labelled data tables inside articles */
.dtable th[scope="row"] {
  text-align: left; font-weight: 650; color: var(--ink);
  border-bottom: 1px solid var(--line); background: var(--bg-soft);
}
.dtable td, .dtable th { min-width: 0; overflow-wrap: break-word; }

@media (max-width: 700px) {
  /* stack each row into its own labelled card rather than scrolling sideways */
  .table-scroll { overflow-x: visible; }
  .dtable, .dtable thead, .dtable tbody, .dtable tr, .dtable th, .dtable td { display: block; }
  .dtable thead { display: none; }
  .dtable tbody tr {
    border: 1px solid var(--line); border-radius: var(--radius-sm);
    margin-bottom: 12px; background: #fff; overflow: hidden;
  }
  .dtable tbody tr:hover { background: #fff; }
  .dtable th[scope="row"] { padding: 11px 14px; }
  .dtable tbody td {
    display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
    text-align: right; padding: 9px 14px; border-bottom: 1px solid var(--line-soft);
  }
  .dtable tbody td:last-child { border-bottom: 0; }
  .dtable tbody td::before {
    content: attr(data-label);
    font-weight: 650; color: var(--muted); text-align: left;
    font-size: .84rem; flex: 1 1 auto; min-width: 0;
  }
  .dtable tbody td:empty { display: none; }
}

.article-back { margin-top: 2.4em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.prose .muted.small { font-size: .92rem; color: var(--muted); }
