/* ==========================================================================
   IPTV Canada – global stylesheet ("soft modern" theme)
   Palette: Blue (DodgerBlue #1E90FF) · White · Black
   1. Tokens & reset      2. Typography & layout   3. Header & navigation
   4. Buttons             5. Sections & cards      6. Pricing
   7. FAQ & testimonials  8. Blog                  9. Checkout & thank-you
   10. Footer            11. Utilities & motion
   ========================================================================== */

/* 1. Tokens & reset ------------------------------------------------------- */
:root {
  /* Brand colours */
  --primary: #1E90FF;          /* DodgerBlue: fills, borders, icons */
  --primary-ink: #0A6ACF;      /* deeper DodgerBlue for text/links on white (5.3:1) */
  --primary-soft: #EEF6FF;     /* soft DodgerBlue tint */
  --primary-softer: #F7FBFF;
  --primary-deep: #0A4F9E;     /* deepest blue for accents (7.9:1 on white) */
  --secondary: var(--black);   /* strong accent: hovers, badges */
  --secondary-ink: var(--primary-deep);
  --secondary-soft: #E3F0FF;   /* slightly stronger blue tint */
  --white: #FFFFFF;
  --black: #000000;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-ink) 100%);
  --gradient-soft: linear-gradient(135deg, #EEF6FF 0%, #F9FCFF 100%);

  /* Neutrals (tints of black) */
  --ink: #0B0B0F;              /* headings */
  --text: #2B2F38;             /* body copy – softer than pure black, 13:1 on white */
  --muted: #5F6574;            /* secondary text, 5.9:1 on white */
  --line: rgba(0, 0, 0, .08);
  --line-strong: rgba(0, 0, 0, .14);
  --bg: var(--white);
  --bg-alt: var(--primary-softer);
  --field: #F6F8FB;

  /* Legacy aliases used in templates */
  --brand: var(--primary);
  --brand-dark: var(--primary-ink);
  --brand-soft: var(--primary-soft);
  --dark: var(--black);
  --success: var(--secondary-ink);

  /* Shape & depth */
  --radius: 22px;
  --radius-sm: 14px;
  --radius-lg: 32px;
  --shadow: 0 1px 2px rgba(11, 11, 15, .04), 0 8px 28px rgba(30, 144, 255, .07);
  --shadow-lg: 0 2px 6px rgba(11, 11, 15, .04), 0 24px 60px rgba(30, 144, 255, .14);
  --shadow-pink: 0 20px 50px rgba(30, 144, 255, .2);

  /* Layout */
  --container: 1180px;
  --prose: 720px;
  --header-h: 76px;
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* soft wash at the top of inner pages */
body:not(.home) {
  background:
    radial-gradient(900px 420px at 12% -140px, rgba(30, 144, 255, .12), transparent 70%),
    radial-gradient(800px 380px at 92% -160px, rgba(10, 106, 207, .08), transparent 70%),
    var(--bg);
  background-repeat: no-repeat;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-ink); text-decoration-thickness: 1.5px; text-underline-offset: .2em; transition: color .2s var(--ease); }
a:hover { color: var(--primary-deep); }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--secondary-soft); color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }
hr { border: 0; height: 1px; background: var(--line); margin: 3rem 0; }
table { border-collapse: collapse; width: 100%; font-size: 1rem; }
th, td { padding: .85rem 1.1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--primary-softer); color: var(--ink); font-weight: 650; }
tr:last-child td { border-bottom: 0; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; background: var(--field); padding: .15em .45em; border-radius: 8px; }
blockquote { margin: 2rem 0; padding: 1.2rem 1.5rem; border-radius: var(--radius-sm); background: var(--primary-softer); border: 1px solid var(--line); }
blockquote > :last-child { margin-bottom: 0; }

/* 2. Typography & layout -------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.18; letter-spacing: -.022em; margin: 0 0 .55em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem); font-weight: 700; letter-spacing: -.03em; }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.4vw, 2.35rem); font-weight: 700; margin-top: 2.4em; }
h3 { font-size: 1.28rem; font-weight: 650; margin-top: 1.8em; }
h4 { font-size: 1.08rem; font-weight: 650; }
p, ul, ol, dl { margin: 0 0 1.2em; }
p { text-wrap: pretty; }
ul, ol { padding-left: 1.3em; }
li + li { margin-top: .45em; }
li::marker { color: var(--primary); }
strong { color: var(--ink); font-weight: 650; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.content { padding-block: 56px 96px; }
.content > :first-child, .content > .breadcrumbs + * { margin-top: 0; }
.content--prose { max-width: calc(var(--prose) + 48px); }
.content--wide > p, .content--wide > ul, .content--wide > ol, .content--wide > h2, .content--wide > h3, .content--wide > .faq-list, .content--wide > .table-wrap { max-width: 820px; }
.content h1:first-child { margin-bottom: .35em; }
.content h1:first-child + p { font-size: 1.25rem; line-height: 1.6; color: var(--muted); max-width: 760px; }

.lead { font-size: 1.22rem; line-height: 1.65; color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: .4em; font-size: .8rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--secondary-ink); background: var(--secondary-soft); padding: .35rem .85rem; border-radius: 999px; margin-bottom: 1rem; }

figure { margin: 2.5rem 0; }
figure img { border-radius: var(--radius); box-shadow: var(--shadow); }
figcaption { font-size: .92rem; color: var(--muted); margin-top: .75rem; text-align: center; }
.table-wrap { overflow-x: auto; margin: 2rem 0; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); box-shadow: var(--shadow); }
.table-wrap td:first-child, .table-wrap th:first-child { white-space: nowrap; }

/* 3. Header & navigation -------------------------------------------------- */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: #fff; }

/* The frosted blur sits on a ::before layer: a backdrop-filter on the header itself would make it
   the containing block of the fixed mobile menu and squash the menu to a few pixels */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .92); }
@supports (backdrop-filter: blur(12px)) { .site-header::before { background: rgba(255, 255, 255, .72); backdrop-filter: saturate(180%) blur(16px); } }
body.nav-open .site-header::before { background: var(--white); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; letter-spacing: -.025em; }
.brand:hover { color: var(--ink); }
.brand img { width: 40px; height: 40px; border-radius: 12px; box-shadow: 0 6px 16px rgba(30, 144, 255, .25); }
.brand strong { color: var(--primary); font-weight: 700; }

.nav-toggle { margin-left: auto; display: none; width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--white); cursor: pointer; position: relative; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { position: absolute; left: 12px; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; content: ""; transition: transform .25s var(--ease), top .25s var(--ease); }
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { left: 0; top: -6px; }
.nav-toggle-bar::after { left: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { top: 0; transform: rotate(-45deg); }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list li { margin: 0; position: relative; }
.nav-list a, .sub-toggle { display: block; padding: .5rem .8rem; color: var(--text); text-decoration: none; font-size: .95rem; font-weight: 550; border-radius: 999px; background: none; border: 0; cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease); }
.nav-list a:hover, .sub-toggle:hover { color: var(--ink); background: var(--primary-soft); }
.nav-list a[aria-current="page"], .has-sub.is-active > .sub-toggle { color: var(--primary-ink); background: var(--primary-soft); font-weight: 650; }
.sub-toggle::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .6; }
.sub-menu { position: absolute; top: calc(100% + 8px); left: -8px; min-width: 290px; list-style: none; margin: 0; padding: 10px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); display: none; }
.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.sub-menu li + li { margin-top: 2px; }
.sub-menu a { font-weight: 500; border-radius: 12px; padding: .55rem .9rem; }
.has-sub:hover > .sub-menu, .has-sub:focus-within > .sub-menu, .sub-toggle[aria-expanded="true"] + .sub-menu { display: block; }
.nav-cta { white-space: nowrap; }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  /* Full-screen panel under the header; dvh keeps the last links above the phone's browser toolbar */
  .site-nav { position: fixed; top: var(--header-h); right: 0; bottom: 0; left: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); z-index: 49; background: var(--white); flex-direction: column; align-items: stretch; gap: 16px; padding: 20px 24px 36px; overflow-y: auto; display: none; border-top: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-list a, .sub-toggle { padding: .85rem 1rem; font-size: 1.08rem; width: 100%; text-align: left; border-radius: 14px; }
  .sub-menu { position: static; display: none; box-shadow: none; border: 0; background: var(--primary-softer); padding: 6px; margin-top: 4px; }
  .sub-menu::before { display: none; }
  .has-sub:hover > .sub-menu, .has-sub:focus-within > .sub-menu { display: none; }
  .sub-toggle[aria-expanded="true"] + .sub-menu { display: block; }
  .nav-cta { justify-content: center; }
  body.nav-open { overflow: hidden; }
}

/* 4. Buttons -------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85rem 1.6rem; border: 0; border-radius: 999px; background: var(--black); color: var(--white); font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; box-shadow: 0 8px 22px rgba(0, 0, 0, .18); transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.btn:hover { background: var(--primary-ink); color: var(--white); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(10, 106, 207, .3); }
.btn:active { transform: translateY(0); }
/* every non-WhatsApp button is black with white text */
.btn-ghost { background: var(--black); color: var(--white); }
.btn-ghost:hover { background: var(--primary-ink); color: var(--white); }
.btn-sm { padding: .6rem 1.15rem; font-size: .92rem; }
.btn-lg { padding: 1.05rem 2rem; font-size: 1.08rem; }
.btn-block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
p > .btn { margin-top: .3rem; }
.card .btn + .btn, .cta-box .btn + .btn { margin-left: 8px; }

/* 5. Sections & cards ----------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; padding: 72px 0 88px;
  background:
    radial-gradient(640px 420px at 88% 8%, rgba(30, 144, 255, .14), transparent 70%),
    radial-gradient(720px 480px at 4% 96%, rgba(30, 144, 255, .18), transparent 70%),
    linear-gradient(180deg, var(--primary-softer) 0%, var(--white) 100%);
}
.hero h1 { font-size: clamp(2.3rem, 1.6rem + 3vw, 3.8rem); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-media { margin: 0; position: relative; }
.hero-media::before { content: ""; position: absolute; inset: 22px -18px -18px 22px; border-radius: var(--radius-lg); background: var(--gradient); opacity: .22; filter: blur(2px); }
.hero-media img { position: relative; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero .checklist--inline { margin-top: 1.4rem; }
.hero .btn-row { margin-top: 1.8rem; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } .hero { padding: 48px 0 64px; } }

.section { padding: 96px 0; }
.section--alt { background: var(--primary-softer); }
.section--dark { background: var(--gradient-soft); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head h2, .section-head h1 { margin-top: 0; }
.section-head p { color: var(--muted); font-size: 1.15rem; line-height: 1.65; }
.section-head--left { margin-inline: 0; text-align: left; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; margin: 2rem 0 2.5rem; padding: 0; list-style: none; }
.grid > li { margin: 0; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card > :first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }
.card h2 { font-size: 1.3rem; margin-top: 0; }
.card h3 { font-size: 1.15rem; margin: 0 0 .5em; }
.card p { font-size: 1rem; line-height: 1.7; color: var(--text); }
.card-icon { display: inline-grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px; font-size: 1.55rem; background: var(--gradient-soft); border: 1px solid var(--line); border-radius: 18px; }
.card.is-featured { position: relative; border: 2px solid transparent; background: linear-gradient(var(--white), var(--white)) padding-box, var(--gradient) border-box; box-shadow: var(--shadow-pink); }
.card.is-featured h3 small { display: block; font-size: .78rem; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; color: var(--secondary-ink); margin-top: 4px; }
.steps { counter-reset: step; }
.steps .card { position: relative; }
.steps .card::after { counter-increment: step; content: counter(step); position: absolute; top: 22px; right: 24px; font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; line-height: 1; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .35; }

.checklist, .crosslist { list-style: none; padding: 0; }
.checklist li, .crosslist li { position: relative; padding-left: 2em; }
.checklist li::before, .crosslist li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.3em; height: 1.3em; border-radius: 50%; background: var(--primary-soft) no-repeat center / 60%; }
.checklist li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%230A6ACF' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M3 8.5l3.2 3L13 4.5'/%3E%3C/svg%3E"); }
.crosslist li::before { background-color: var(--field); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%235F6574' stroke-width='2.4' stroke-linecap='round' d='M4.5 4.5l7 7m0-7l-7 7'/%3E%3C/svg%3E"); }
.crosslist li { color: var(--muted); }
.checklist--inline { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.checklist--inline li + li { margin-top: 0; }

.cta-box { position: relative; overflow: hidden; margin: 64px auto 0; padding: 48px 36px; text-align: center; border-radius: var(--radius-lg); background: var(--gradient-soft); border: 1px solid var(--line); box-shadow: var(--shadow); }
.cta-box::before, .cta-box::after { content: ""; position: absolute; width: 280px; height: 280px; border-radius: 50%; filter: blur(10px); z-index: 0; pointer-events: none; }
.cta-box::before { background: rgba(30, 144, 255, .16); left: -90px; bottom: -120px; }
.cta-box::after { background: rgba(10, 106, 207, .1); right: -90px; top: -120px; }
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2, .cta-box h3 { margin-top: 0; }
.cta-box p { color: var(--text); max-width: 60ch; margin-inline: auto; }
.cta-box .checklist--inline { justify-content: center; }
.cta-box .btn-row { justify-content: center; }
.note { padding: 18px 22px; border: 1px solid rgba(30, 144, 255, .3); background: var(--secondary-soft); border-radius: var(--radius-sm); }
.note > :last-child { margin-bottom: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin: 0 0 80px; }
.split:last-child { margin-bottom: 0; }
.split--reverse .split-media { order: 2; }
.split-media { margin: 0; }
.split-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.split-copy h3 { font-size: clamp(1.45rem, 1.15rem + 1vw, 2rem); margin-top: 0; }
.split-copy p { color: var(--text); }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 24px; margin-bottom: 56px; } .split--reverse .split-media { order: 0; } }

/* 6. Pricing -------------------------------------------------------------- */
.pricing { margin: 0 0 8px; }
.device-switch { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; width: fit-content; max-width: 100%; margin: 0 auto 40px; padding: 6px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); }
.device-btn { padding: .6rem 1.2rem; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: .95rem; text-decoration: none; transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease); }
.device-btn:hover { background: var(--primary-soft); color: var(--ink); }
.device-btn[aria-pressed="true"] { background: var(--black); color: var(--white); box-shadow: 0 6px 16px rgba(0, 0, 0, .2); }
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: stretch; }
@media (max-width: 1080px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .price-grid { grid-template-columns: 1fr; } }
.price-card { position: relative; display: flex; flex-direction: column; padding: 34px 26px 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price-card.is-popular { border: 2px solid transparent; background: linear-gradient(var(--white), var(--white)) padding-box, var(--gradient) border-box; box-shadow: var(--shadow-pink); }
.price-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); margin: 0; padding: .3rem 1rem; background: var(--black); color: var(--white); border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 6px 16px rgba(0, 0, 0, .2); }
.price-title { margin: 0 0 .5rem; font-size: 1.1rem; font-weight: 650; text-align: center; color: var(--muted); }
.price-old { margin: 0; text-align: center; color: var(--muted); font-size: .95rem; }
.price-new { margin: 0; text-align: center; font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--ink); line-height: 1.15; letter-spacing: -.03em; }
.price-new small { font-size: .9rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price-meta { margin: .4rem auto 1.2rem; text-align: center; font-size: .85rem; color: var(--secondary-ink); font-weight: 600; background: var(--secondary-soft); padding: .25rem .8rem; border-radius: 999px; width: fit-content; }
.price-card .checklist { font-size: .95rem; flex: 1; padding-top: 1rem; border-top: 1px solid var(--line); }
.price-card .checklist li + li { margin-top: .5em; }
/* WhatsApp buttons: green with white text (5:1 contrast) */
.btn.btn-whatsapp { background: #0B8043; color: var(--white); white-space: nowrap; box-shadow: 0 8px 22px rgba(11, 128, 67, .28); }
.btn.btn-whatsapp:hover { background: #086B37; color: var(--white); box-shadow: 0 12px 28px rgba(11, 128, 67, .35); }
.price-card .btn-whatsapp { margin-top: 1.2rem; }
.btn svg { flex: none; }
.reseller-pricing .checklist li { line-height: 1.55; }
.guarantee { margin: .9rem 0 0; font-size: .85rem; color: var(--muted); text-align: center; }
.pricing.is-updating .price-new, .pricing.is-updating .price-old { opacity: .35; }
.price-new, .price-old { transition: opacity .2s var(--ease); }

/* 7. FAQ & testimonials --------------------------------------------------- */
.faq-list { display: grid; gap: 12px; margin: 2rem 0 2.5rem; }
.faq-list + .faq-list { margin-top: -1.25rem; }
.faq { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: 0 1px 2px rgba(11, 11, 15, .03); transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease); }
.faq:hover { border-color: rgba(30, 144, 255, .35); }
.faq summary { position: relative; padding: 20px 64px 20px 24px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; line-height: 1.5; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%230A6ACF' stroke-width='2' stroke-linecap='round' d='M8 3.5v9M3.5 8h9'/%3E%3C/svg%3E") no-repeat center / 14px; transition: transform .3s var(--ease), background-color .3s var(--ease); }
.faq[open] { border-color: rgba(30, 144, 255, .4); box-shadow: var(--shadow); }
.faq[open] summary::after { transform: rotate(45deg); background-color: var(--secondary-soft); }
.faq > div { padding: 0 24px 8px; color: var(--text); font-size: 1.02rem; }
.testimonial { margin: 0; display: flex; flex-direction: column; justify-content: space-between; }
.testimonial p { font-size: 1.02rem; }
.testimonial footer { font-weight: 650; color: var(--ink); }
.stars { color: var(--secondary-ink); letter-spacing: 2px; margin-left: 6px; }

/* 8. Blog ----------------------------------------------------------------- */
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 28px; font-size: .9rem; color: var(--muted); }
.breadcrumbs li + li { margin-top: 0; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--muted); opacity: .6; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--primary-ink); }
.breadcrumbs [aria-current] { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 40ch; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 36px; }
.chips li + li { margin-top: 0; }
.chips a { display: inline-block; padding: .45rem 1rem; border: 1px solid var(--line); background: var(--white); border-radius: 999px; color: var(--text); text-decoration: none; font-size: .92rem; font-weight: 550; transition: all .25s var(--ease); }
.chips a:hover, .chips a[aria-current="page"] { border-color: transparent; color: var(--primary-ink); background: var(--primary-soft); }

.post-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.post-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-card-media { display: block; overflow: hidden; }
.post-card-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0; transition: transform .6s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.04); }
.post-card-body { padding: 22px 24px 26px; }
.post-card-body p:last-child { margin: 0; font-size: .98rem; line-height: 1.65; color: var(--muted); }
.post-card-title { font-size: 1.2rem; line-height: 1.35; margin: .5rem 0 .55rem; }
.post-card-title a { color: var(--ink); text-decoration: none; }
.post-card-title a:hover { color: var(--primary-ink); }
.post-card-title a::after { content: ""; position: absolute; inset: 0; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: .88rem; color: var(--muted); margin: 0; }
.tag { display: inline-block; padding: .2rem .7rem; background: var(--secondary-soft); color: var(--secondary-ink); border-radius: 999px; font-size: .78rem; font-weight: 650; text-decoration: none; position: relative; z-index: 1; }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination a { min-width: 46px; padding: .6rem 1rem; text-align: center; border: 1px solid var(--line); background: var(--white); border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 600; transition: all .25s var(--ease); }
.pagination a:hover { background: var(--primary-soft); border-color: transparent; color: var(--primary-ink); }
.pagination a[aria-current="page"] { border-color: var(--black); background: var(--black); color: var(--white); }

.article-header { margin-bottom: 32px; }
.article-header h1 { margin: .7rem 0 .5rem; font-size: clamp(2rem, 1.5rem + 2.2vw, 3rem); }
.byline { color: var(--muted); font-size: .95rem; margin: 0; }
.article-hero { margin: 0 0 40px; }
.article-hero img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.toc { margin: 0 0 40px; padding: 20px 26px; background: var(--primary-softer); border: 1px solid var(--line); border-radius: var(--radius); }
.toc summary { font-weight: 650; color: var(--ink); cursor: pointer; }
.toc ol { margin: .9rem 0 0; padding: 0; list-style: none; font-size: 1rem; }
.toc li { padding-left: 1rem; border-left: 2px solid var(--line); }
.toc li + li { margin-top: .35em; }
.toc li:hover { border-left-color: var(--primary); }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--primary-ink); text-decoration: underline; }
.article-body { font-size: 1.15rem; line-height: 1.8; }
.article-body h2 { margin-top: 2.2em; }
.article-body img { margin-inline: auto; }
.article-body > p img { margin-block: 1.5rem; border-radius: var(--radius); }
.article-body a { text-decoration-color: rgba(10, 106, 207, .35); }
.article-body a:hover { text-decoration-color: currentColor; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.post-nav a { display: block; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); color: var(--ink); text-decoration: none; font-weight: 600; line-height: 1.45; box-shadow: var(--shadow); transition: all .25s var(--ease); }
.post-nav a:hover { border-color: rgba(30, 144, 255, .4); transform: translateY(-2px); }
.post-nav span { display: block; font-size: .82rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.post-nav-next { grid-column: 2; text-align: right; }
@media (max-width: 640px) { .post-nav { grid-template-columns: 1fr; } .post-nav-next { grid-column: auto; text-align: left; } }

/* 9. Checkout & thank-you ------------------------------------------------- */
.checkout, .thanks { padding-top: 8px; }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 900px) { .checkout-grid { grid-template-columns: 1fr; } }
.checkout-aside { display: grid; gap: 20px; }
.checkout-aside h2, .pay-card h2 { font-size: 1.22rem; margin: 0 0 .6rem; }
.order-form { padding: 36px; }
.order-form:hover, .checkout-aside .card:hover, .pay-card:hover { transform: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .order-form { padding: 22px; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: .75rem 1rem; border: 1.5px solid transparent; border-radius: var(--radius-sm); background: var(--field); transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease); }
.field textarea { min-height: 112px; resize: vertical; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: #8A90A0; }
.field input:hover, .field select:hover, .field textarea:hover { background: #F0F3F8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--white); border-color: var(--primary); box-shadow: 0 0 0 4px rgba(30, 144, 255, .15); }
.field input:user-invalid, .field select:user-invalid { border-color: var(--primary-deep); }
.label-optional { font-weight: 500; color: var(--muted); }
.field-help { margin: 0; font-size: .85rem; color: var(--muted); }
/* New customer / renewal choice cards */
.choice-group { margin: 0; padding: 0; border: 0; min-width: 0; }
.choice-group legend { padding: 0; margin-bottom: 8px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.choice-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 640px) { .choice-options { grid-template-columns: 1fr; } }
.choice { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1.5px solid transparent; border-radius: var(--radius-sm); background: var(--field); cursor: pointer; transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease); }
.choice:hover { background: #F0F3F8; }
.choice input { width: 20px; height: 20px; min-height: 20px; margin: 2px 0 0; padding: 0; flex: none; accent-color: var(--primary-ink); }
.choice input:focus { box-shadow: none; }
.choice:has(input:focus-visible) { outline: 3px solid var(--primary); outline-offset: 3px; }
.choice:has(input:checked) { background: var(--primary-soft); border-color: var(--primary); }
.choice-body { display: flex; flex-direction: column; gap: 2px; }
.choice-body strong { font-size: .98rem; color: var(--ink); }
.choice-body small { font-size: .85rem; color: var(--muted); line-height: 1.4; }
.field--check { flex-direction: row; align-items: flex-start; gap: 12px; }
.field--check input { width: 22px; min-height: 22px; height: 22px; margin-top: 3px; accent-color: var(--primary); flex: none; }
.field--check label { font-weight: 500; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { margin-bottom: 24px; padding: 16px 20px; border: 1.5px solid var(--black); background: var(--secondary-soft); border-radius: var(--radius-sm); color: var(--ink); }
.alert ul { margin: 0; }
.alert p { margin: 0 0 .3rem; }
.order-summary { margin: 28px 0 18px; padding: 22px 24px; border-radius: var(--radius); background: var(--gradient-soft); border: 1px solid var(--line); }
.order-summary h2 { font-size: 1.08rem; margin: 0 0 .8rem; }
.order-summary dl, .pay-details { margin: 0; }
.order-summary dl > div, .pay-details > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.order-summary dt, .pay-details dt { color: var(--muted); }
.order-summary dd, .pay-details dd { margin: 0; font-weight: 650; color: var(--ink); text-align: right; }
.order-total { border-bottom: 0 !important; font-size: 1.25rem; }
.order-total dd { color: var(--primary-ink); }
.order-summary-note { margin: .7rem 0 0; font-size: .9rem; color: var(--secondary-ink); font-weight: 600; }
.pay-note { display: flex; align-items: center; gap: 16px; margin: 0 0 20px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--primary-softer); border: 1px solid var(--line); font-size: .95rem; }
.pay-note img { width: 85px; flex: none; }
.pay-note p { margin: 0; }
.form-note { margin: 14px 0 0; font-size: .92rem; color: var(--muted); text-align: center; }
.steps-list { padding-left: 1.2em; margin: 0; }
.progress { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; padding: 0; counter-reset: p; }
.progress li { margin: 0; padding: .4rem 1rem; background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .92rem; }
.progress li::before { counter-increment: p; content: counter(p) ". "; color: var(--primary-ink); }
.pay-card { padding: 34px; }
.pay-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.pay-details code { font-size: 1rem; background: transparent; padding: 0; color: var(--ink); word-break: break-all; }
.copy-btn { margin-left: 8px; padding: .3rem .8rem; font-size: .8rem; font-weight: 650; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white); cursor: pointer; transition: all .2s var(--ease); }
.copy-btn:hover { border-color: var(--primary); color: var(--primary-ink); background: var(--primary-soft); }
.copy-btn.is-copied { background: var(--black); border-color: var(--black); color: var(--white); }
.pay-card .note { margin-top: 20px; margin-bottom: 0; }
.trust { margin-top: 48px; }

/* 10. Footer -------------------------------------------------------------- */
.site-footer { position: relative; background: var(--black); color: rgba(255, 255, 255, .72); padding: 80px 0 28px; font-size: .98rem; border-radius: var(--radius-lg) var(--radius-lg) 0 0; margin-top: 24px; }
.site-footer::before { content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: min(420px, 60%); height: 3px; border-radius: 0 0 4px 4px; background: var(--gradient); }
.site-footer .brand { color: var(--white); }
.site-footer .brand:hover { color: var(--white); }
.site-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.site-footer a:hover { color: var(--primary); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.7fr 1.2fr; gap: 40px; }
.footer-title.footer-title--spaced { margin-top: 30px; }
.footer-links--cols { columns: 2; column-gap: 24px; }
.footer-links--cols li { break-inside: avoid; margin: 0 0 .6em; }
.footer-links--cols li + li { margin-top: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { margin: 18px 0; max-width: 40ch; line-height: 1.7; }
.footer-title { font-size: .8rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--white); margin: 0 0 16px; }
.footer-links, .social { list-style: none; padding: 0; margin: 0; }
.footer-links li + li { margin-top: .6em; }
.social { display: flex; flex-wrap: wrap; gap: 8px; }
.social li + li { margin-top: 0; }
.social a { display: inline-block; padding: .4rem .95rem; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; font-size: .86rem; transition: all .25s var(--ease); }
.social a:hover { border-color: var(--primary); color: var(--primary); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .86rem; }
.footer-bottom p { margin: 0; }

/* Slim cookie bar (shown by main.js until dismissed) */
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 10px 18px calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line-strong); box-shadow: 0 -8px 24px rgba(0, 0, 0, .08); font-size: .9rem; line-height: 1.45; color: var(--ink); }
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; }
.cookie-short { display: none; }
@media (max-width: 640px) { .cookie-short { display: inline; } }
.cookie-bar a { color: var(--primary-ink); font-weight: 600; }
.cookie-bar .btn { flex: none; min-height: 38px; padding: .45rem 1.1rem; font-size: .88rem; }
body.has-cookie-bar { padding-bottom: 64px; }
body.nav-open .cookie-bar { display: none; }
@media (max-width: 640px) {
  .cookie-bar { gap: 12px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)) 16px; font-size: .84rem; justify-content: space-between; }
  .cookie-long { display: none; }
  body.has-cookie-bar { padding-bottom: 64px; }
}

/* 11. Utilities & motion -------------------------------------------------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.error-page { text-align: left; padding-block: 96px; }
@media (max-width: 640px) {
  body { font-size: 1.06rem; }
  .container { padding-inline: 18px; }
  .section { padding: 64px 0; }
  .content { padding-block: 36px 64px; }
  .card { padding: 22px; }
  .cta-box { padding: 36px 22px; border-radius: var(--radius); }
  .article-body { font-size: 1.08rem; }
  .site-footer { border-radius: var(--radius) var(--radius) 0 0; }
}
@media (hover: none) {
  .card:hover, .price-card:hover, .post-card:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .cta-box, .post-nav, .toc, .cookie-bar { display: none !important; }
  body { color: #000; background: #fff; }
}

/* 12. Admin (/admin) ------------------------------------------------------ */
.admin .header-inner { justify-content: space-between; }
.admin-tag { display: inline-block; margin-left: 6px; padding: .1rem .55rem; border-radius: 999px; background: var(--black); color: var(--white); font-size: .72rem; font-weight: 650; letter-spacing: .04em; vertical-align: middle; }
.admin-actions { display: flex; align-items: center; gap: 10px; }
.admin-actions form { margin: 0; }
.admin-main { max-width: 1320px; padding-top: 40px; }
.admin-login { max-width: 480px; margin: 40px auto; padding: 36px; }
.admin-login:hover, .admin-stats .card:hover, .admin-empty:hover { transform: none; }
.admin-login h1 { font-size: 1.8rem; }
.admin-form { grid-template-columns: 1fr; gap: 16px; margin-top: 20px; }
.admin-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.admin-head h1 { margin: 0 0 .2em; }
.admin-head .lead { margin: 0; font-size: 1.05rem; }
.admin-stats { margin: 24px 0; }
.admin-stats .card { padding: 20px 22px; }
.stat-label { margin: 0; font-size: .9rem; color: var(--muted); }
.stat-value { margin: .2rem 0 0; font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; color: var(--ink); line-height: 1.2; }
.stat-value small { font-size: .9rem; color: var(--muted); }
.admin-filter { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; margin: 0 0 20px; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.admin-filter .field { flex: 1 1 220px; }
.admin-table { margin-top: 0; }
.admin-table table { font-size: .95rem; min-width: 1180px; }
.admin-table td { line-height: 1.5; }
.admin-table small { color: var(--muted); }
.admin-table code { font-size: .85rem; }
.status-form { display: flex; align-items: center; gap: 8px; margin: 0; }
.status-select { min-height: 40px; padding: .35rem .7rem; border-radius: 10px; border: 1.5px solid var(--line-strong); background: var(--white); font-size: .9rem; font-weight: 600; }
.status--pending-payment { border-color: var(--black); }
.status--paid { border-color: var(--primary); background: var(--primary-soft); }
.status--activated { border-color: var(--primary-ink); background: var(--primary); color: var(--black); }
.status--cancelled { color: var(--muted); background: var(--field); }
.type-badge { display: inline-block; margin-top: 6px; padding: .15rem .6rem; border-radius: 999px; font-size: .78rem; font-weight: 650; background: var(--field); color: var(--ink); border: 1px solid var(--line-strong); }
.type-badge--renewal { background: var(--black); color: var(--white); border-color: var(--black); }
.type-badge--new { background: var(--primary-soft); color: var(--primary-deep); border-color: var(--primary); }
.order-note { max-width: 280px; margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .9rem; }
.admin-empty { text-align: center; color: var(--muted); }
.admin-count { margin-top: 12px; font-size: .9rem; color: var(--muted); }
