/* ==========================================================================
   Raja 132° — raja132-dz.com
   Single stylesheet shared by every page. Brand tokens are locked; see brand-spec.md
   Sections: fonts · tokens · base · layout · header · buttons · hero · breadcrumbs
             toc · prose · tables · figures · cards · callouts · author · faq
             footer · sticky cta · utilities · responsive
   ========================================================================== */

/* ---------------------------------------------------------------- 1. fonts */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/barlow-condensed-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/barlow-condensed-latin-ext-700.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/barlow-condensed-latin-800.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-condensed-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------- 2. tokens */

:root {
  /* locked brand values */
  --accent: #e50f05;
  --accent-2: #f98f00;
  --brand-ink: #3e0202;
  --brand-white: #ffffff;

  /* derived surfaces (oklch) */
  --bg: oklch(98.4% 0.004 40);
  --surface: #ffffff;
  --surface-alt: oklch(96.5% 0.008 45);
  --fg: #3e0202;
  --muted: oklch(46% 0.03 28);
  --border: oklch(90% 0.012 40);
  --border-strong: oklch(82% 0.02 35);
  --accent-tint: oklch(96.4% 0.018 29.5);
  --accent-hover: oklch(51% 0.24 29.5);
  --accent-press: oklch(46% 0.22 29.5);
  --focus: oklch(58.23% 0.234 29.5);

  /* type */
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;

  /* rhythm */
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgb(62 2 2 / 0.06), 0 4px 12px rgb(62 2 2 / 0.05);
  --shadow-md: 0 10px 30px rgb(62 2 2 / 0.10);
  --shadow-lg: 0 18px 50px rgb(62 2 2 / 0.16);
  --header-h: 68px;
}

/* ----------------------------------------------------------------- 3. base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 0.6em;
  letter-spacing: -0.005em;
}

h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.5rem);
}

h2 {
  font-size: clamp(1.65rem, 3.4vw, 2.35rem);
}

h3 {
  font-size: clamp(1.25rem, 2.3vw, 1.6rem);
}

p {
  margin: 0 0 1.1em;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--accent-hover);
}

ul,
ol {
  margin: 0 0 1.2em;
  padding-left: 1.35em;
}

li {
  margin-bottom: 0.45em;
}

strong {
  font-weight: 700;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --------------------------------------------------------------- 4. layout */

.container {
  width: 100%;
  max-width: calc(1280px + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container-narrow {
  max-width: calc(880px + var(--gutter) * 2);
}

.section {
  padding-block: clamp(2.2rem, 5vw, 3rem);
}
.section:first-of-type {
  padding-bottom: 0 !important;
}

.section-alt {
  background: var(--surface-alt);
  border-block: 1px solid var(--border);
  padding-left: 25px;
  padding-right: 25px;
  margin-left: -25px;
  margin-right: -5px;
}

.section-surface {
  background: var(--surface);
  border-block: 1px solid var(--border);
  padding-left: 25px;
  padding-right: 25px;
  margin-left: -25px;
  margin-right: -5px;
}

.section-head {
  max-width: 62ch;
  margin-bottom: clamp(1.4rem, 3vw, 2rem);
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted);
  max-width: 68ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  margin: 0 0 1rem;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 200;
  border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
  left: 0;
  color: #fff;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* --------------------------------------------------------------- 5. header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.75rem);
  min-height: var(--header-h);
  padding-block: 0.55rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--fg);
  flex: 0 0 auto;
}

.brand img {
  width: 90px;
  height: auto;
}

.brand-name {
  display: none;
}

.brand:hover {
  color: var(--fg);
}

.primary-nav {
  margin-left: auto;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(0.35rem, 1.1vw, 0.95rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav li {
  margin: 0;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.3rem 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--fg);
  text-decoration: none;
  border-radius: 8px;
  border-bottom: 2px solid transparent;
}

.primary-nav a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.primary-nav a[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  cursor: pointer;
  color: var(--fg);
}

.nav-toggle:hover {
  background: var(--surface-alt);
}

.nav-toggle-bars {
  position: relative;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, top 0.2s ease;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

/* -------------------------------------------------------------- 6. buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.7rem 1.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.btn-sm {
  min-height: 44px;
  padding: 0.45rem 0.95rem;
  font-size: 1rem;
}

.btn-lg {
  min-height: 54px;
  padding: 0.85rem 1.9rem;
  font-size: 1.25rem;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

.btn-primary:active {
  background: var(--accent-press);
  border-color: var(--accent-press);
  color: #fff;
}

.btn-ghost {
  background: var(--surface);
  color: var(--fg);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  background: var(--accent-tint);
  border-color: var(--accent);
  color: var(--fg);
}

.btn-ghost:active {
  background: oklch(93% 0.03 29.5);
  border-color: var(--accent-press);
  color: var(--fg);
}

.btn-outline {
  background: var(--surface);
  color: var(--accent);
  border-color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-outline:active {
  background: var(--accent-press);
  border-color: var(--accent-press);
  color: #fff;
}

.btn-block {
  width: 100%;
}

.text-link {
  font-weight: 600;
  color: var(--accent);
}

.text-link:hover {
  color: var(--accent-hover);
}

/* ----------------------------------------------------------------- 7. hero */

.hero {
  position: relative;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding-block: clamp(2rem, 5vw, 3.5rem);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -180px;
  top: -180px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle at center, oklch(96.4% 0.035 45) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}

.hero-copy h1 {
  margin-bottom: 0.5em;
}

.hero-copy .lede {
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-facts li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--muted);
}

.hero-facts li::before {
  content: "";
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: inset 0 0 0 4px var(--surface);
}

.hero-media {
  position: relative;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  border-radius: var(--radius-lg);
  padding: clamp(0.9rem, 2vw, 1.35rem);
  box-shadow: var(--shadow-lg);
  max-width: max-content;
  margin: 0 auto;
}

.hero-media img {
  width: 100%;
  max-height: 380px;
  object-fit: contain;
  border-radius: var(--radius);
  background: var(--surface);
}

.hero-media .media-link {
  display: block;
  border-radius: var(--radius);
  transition: transform 0.22s ease;
}

.hero-media .media-link:hover {
  transform: translateY(-3px);
}

.hero-badge {
  position: absolute;
  left: clamp(1.4rem, 3vw, 2rem);
  bottom: clamp(1.4rem, 3vw, 2rem);
  margin: 0;
  background: var(--surface);
  color: var(--fg);
  border-radius: 12px;
  padding: 0.55rem 0.95rem;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

.hero-badge strong {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
  line-height: 1;
}

/* ----------------------------------------------------------- 8. breadcrumbs */
.breadcrumbs {
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
}

.breadcrumbs nav {
  padding-block: 0.85rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
  color: var(--muted);
}

.breadcrumbs li {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.breadcrumbs li + li::before {
  content: "-";
  color: var(--muted);
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.breadcrumbs [aria-current="page"] {
  color: var(--fg);
  font-weight: 600;
}

/* ------------------------------------------------------ 8b. inner page head */

.page-head {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding-block: clamp(1.9rem, 4vw, 3rem);
}

.page-head h1 {
  margin-bottom: 0.4em;
  max-width: 34ch;
}

.page-head .lede {
  margin-bottom: 0;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.4rem 0 0;
}

/* ------------------------------------------------------------------ 9. toc */

.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 0 0 clamp(1.75rem, 3.5vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}

.toc > summary {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 52px;
  padding: 0.75rem 1.15rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  list-style: none;
}

.toc > summary::-webkit-details-marker {
  display: none;
}

.toc > summary::after {
  content: "";
  margin-left: auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--fg);
  border-bottom: 2px solid var(--fg);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.toc[open] > summary::after {
  transform: rotate(-135deg);
}

.toc > summary:hover {
  background: var(--surface-alt);
  border-radius: var(--radius);
}

.toc ol {
  margin: 0;
  padding: 0.25rem 1.15rem 1.15rem 2.6rem;
  columns: 2;
  column-gap: 2rem;
}

.toc li {
  margin-bottom: 0.35rem;
  break-inside: avoid;
}

.toc a {
  color: var(--fg);
  text-decoration: none;
  font-weight: 600;
}

.toc a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* --------------------------------------------------------------- 10. prose */

.prose {
  max-width: 78ch;
}

.prose h2 {
  margin-top: 2.2em;
  padding-top: 0.2em;
  border-top: 2px solid var(--border);
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.prose h2:first-child {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
}

.prose h3 {
  margin-top: 1.6em;
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.prose h2 + p,
.prose h3 + p {
  margin-top: 0;
}

.prose ul,
.prose ol {
  padding-left: 1.4em;
}

/* -------------------------------------------------------------- 11. tables */

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.98rem;
}

caption {
  caption-side: top;
  text-align: left;
  padding: 0.85rem 1rem 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

th,
td {
  padding: 0.7rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

thead th {
  background: var(--surface-alt);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--fg);
  white-space: nowrap;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

tbody th {
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

/* ------------------------------------------------------------- 12. figures */

figure {
  margin: 0 0 1.5rem;
}

figure img {
  width: auto;
  max-width: 100%;
  margin-inline: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-alt);
}

figcaption {
  margin-top: 0.6rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.figure-link {
  display: block;
  border-radius: var(--radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.figure-link:hover {
  transform: translateY(-2px);
}

.figure-inline {
  max-width: 100%;
}

/* --------------------------------------------------------------- 13. cards */

.grid {
  margin: 30px 0;
  display: grid;
  gap: clamp(1rem, 2.2vw, 1.5rem);
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.1rem, 2.2vw, 1.6rem);
  box-shadow: var(--shadow-sm);
}

.card h3 {
  margin-bottom: 0.45rem;
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

.card-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg);
  background: var(--accent-2);
  border-radius: 6px;
  padding: 0.15rem 0.55rem;
  margin-bottom: 0.65rem;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 3.1rem;
  margin-bottom: 1.1rem;
  min-height: 2.2rem;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
}

.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  position: relative;
  padding-left: 1.9rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--accent-2);
  border-bottom: 3px solid var(--accent-2);
  transform: rotate(-45deg);
}

/* ------------------------------------------------------------ 14. callouts */

.callout {
  background: var(--accent-tint);
  border: 1px solid oklch(88% 0.045 29.5);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  margin: 0 0 1.5rem;
}

.callout h3 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.callout p:last-child {
  margin-bottom: 0;
}

.callout-neutral {
  background: var(--surface-alt);
  border-color: var(--border-strong);
}

.bonus-banner {
  background: var(--brand-ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.bonus-banner h2,
.bonus-banner h3 {
  color: #fff;
  margin-bottom: 0.3rem;
  margin-top: 0;
}

.bonus-banner p {
  margin: 0;
  color: oklch(88% 0.02 30);
  max-width: 46ch;
}

.bonus-banner .btn-primary {
  box-shadow: none;
}

/* -------------------------------------------------------------- 15. author */

.author-box {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.1rem, 2.4vw, 1.6rem);
  /* margin: clamp(2rem, 4vw, 3rem) 0; */
  box-shadow: var(--shadow-sm);
}

.author-avatar {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: 0.02em;
}

.author-box h2,
.author-name {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  font-size: 1.4rem;
  margin: 0 0 0.15rem;
}

.author-role {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}

.author-box p {
  margin-bottom: 0.6rem;
  font-size: 0.98rem;
}

.author-box p:last-child {
  margin-bottom: 0;
}

.author-meta {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

/* ----------------------------------------------------------------- 16. faq */

.faq {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.faq summary {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 54px;
  padding: 0.85rem 1.15rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.22rem;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  margin-left: auto;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--accent);
}

.faq details[open] summary::after {
  content: "–";
}

.faq summary:hover {
  background: var(--surface-alt);
  border-radius: var(--radius);
}

.faq .faq-answer {
  padding: 10px 1.15rem 1.15rem;
}

.faq .faq-answer p:last-child {
  margin-bottom: 0;
}

/* -------------------------------------------------------------- 17. footer */

.site-footer {
  background: var(--brand-ink);
  color: oklch(92% 0.012 30);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent-2);
  text-decoration: underline;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding-block: clamp(2.2rem, 4.5vw, 3.2rem);
}

.footer-logo img {
  display: block;
  max-width: 180px;
  margin-bottom: 20px;
}

.footer-brand h2 {
  color: #fff;
  font-size: 1.4rem;
  margin: 0.9rem 0 0.5rem;
}

.footer-col h3 {
  color: #fff;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.5rem;
  font-size: 0.96rem;
}

.footer-desc {
  font-size: 0.96rem;
  color: oklch(88% 0.015 30);
  margin-bottom: 1rem;
  max-width: 42ch;
}

.pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.pay-row li {
  margin: 0;
}

.pay-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.3rem 0.75rem;
  background: oklch(30% 0.06 28);
  border: 1px solid oklch(42% 0.05 28);
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.03em;
  color: #fff;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  padding: 0;
  margin: 0 0 1rem;
  list-style: none;
}

.trust-row li {
  margin: 0;
}

.trust-row a {
  display: block;
  border-radius: 8px;
}

.trust-row img {
  height: 44px;
  width: auto;
  border-radius: 8px;
  background: #fff;
}

.trust-row a:hover img {
  outline: 2px solid var(--accent-2);
}

.footer-contact {
  font-size: 0.96rem;
  margin: 0;
}

.footer-contact strong {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid oklch(35% 0.05 28);
  padding-block: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  color: oklch(82% 0.02 30);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-legal li {
  margin: 0;
}

.age-mark {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
}

/* ---------------------------------------------------------- 18. sticky cta */

.sticky-cta {
  position: fixed;
  right: clamp(0.75rem, 2vw, 1.5rem);
  bottom: clamp(0.75rem, 2vw, 1.5rem);
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 0.5rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}

.sticky-cta.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sticky-cta .btn {
  min-height: 40px;
  padding: 0 10px;
  border-radius: 999px;
}

.sticky-cta-close {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--fg);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.sticky-cta-close:hover {
  background: var(--surface-alt);
  color: var(--fg);
}

@media (max-width: 820px) {
  .sticky-cta {
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 0;
    border-inline: 0;
    border-bottom: 0;
    padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
    gap: 0.6rem;
    justify-content: stretch;
  }

  .sticky-cta .btn {
    flex: 1 1 0;
    border-radius: 10px;
  }

  .sticky-cta-close {
    order: -1;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }
}

body.has-sticky-cta {
  padding-bottom: 66px;
}

/* --------------------------------------------------------- 18b. content rail */

.content-main,
.content-aside {
  min-width: 0;
}

.aside-inner {
  display: grid;
  margin-top: 30px;
  gap: clamp(0.9rem, 1.5vw, 1.15rem);
}

.aside-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow-sm);
}

.aside-eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.3rem;
}

.aside-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.15;
  margin: 0 0 0.5rem;
}

.aside-text {
  font-size: 0.94rem;
  color: var(--muted);
  margin: 0 0 0.9rem;
}

.aside-actions {
  display: grid;
  gap: 0.55rem;
}

.aside-note {
  margin: 0.85rem 0 0;
  font-size: 0.79rem;
  line-height: 1.5;
  color: var(--muted);
}

.aside-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 0.75rem;
  margin: 1rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
}

.aside-facts dt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.aside-facts dd {
  margin: 0.1rem 0 0;
  font-size: 0.88rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.aside-links ul {
  display: grid;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.aside-links li {
  margin: 0;
}

.aside-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fg);
  text-decoration: none;
}

.aside-links a:hover {
  background: var(--accent-tint);
  color: var(--fg);
}

.aside-links a[aria-current="page"],
.aside-links a[aria-current="page"]:hover {
  color: var(--accent-hover);
}

@media (min-width: 700px) and (max-width: 1080px) {
  .aside-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1081px) {
  .content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(288px, 24vw, 320px);
    gap: clamp(1.5rem, 2.5vw, 2.25rem);
  }

  .content-main .container {
    padding-inline: 0;
  }

  /* the 880px measure of .container-narrow survives the loss of its gutter */
  .content-main .container-narrow:not(.prose) {
    max-width: 880px;
  }

  .aside-inner {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
    /* a rail taller than the viewport stays reachable instead of being clipped */
    max-height: calc(100vh - var(--header-h) - 3rem);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  /* the rail carries the desktop call to action, so the floating pill retires */
  .sticky-cta {
    display: none;
  }

  body.has-sticky-cta {
    padding-bottom: 0;
  }
}

/* below the two-column band the sticky bar owns the call to action: the rail
   keeps its facts and links but drops the buttons to avoid competing */
@media (max-width: 1080px) {
  .aside-actions {
    display: none;
  }
}

/* ------------------------------------------------------------ 19. utilities */

.stack > * + * {
  margin-top: 1rem;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.center {
  text-align: center;
}

.center .lede,
.center .section-head {
  margin-inline: auto;
}

.nowrap {
  white-space: nowrap;
}

/* ----------------------------------------------------------- 20. responsive */

@media (max-width: 1151px) {
  main {
    overflow-x: hidden;
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aside-links {
    display: none;
  }

  .section-alt {
    padding-left: 20px;
    padding-right: 20px;
    margin-left: -20px;
    margin-right: -20px;
  }

  .section-surface {
    padding-left: 20px;
    padding-right: 20px;
    margin-left: -20px;
    margin-right: -20px;
  }

  .primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    display: none;
    padding: 0.5rem var(--gutter) 1rem;
    margin: 0;
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .primary-nav a {
    width: 100%;
    min-height: 48px;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    font-size: 1.15rem;
  }

  .primary-nav a:hover {
    border-bottom-color: var(--border);
    color: var(--accent);
  }

  .primary-nav li:last-child a {
    border-bottom: 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-actions .btn-ghost {
    display: none;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }



  .hero-media img {
    max-height: 300px;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  body {
    font-size: 16px;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .toc ol {
    columns: 1;
    padding-left: 2rem;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }

  .author-box {
    flex-direction: column;
  }

  .bonus-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .bonus-banner .btn {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .brand-name {
    display: none;
  }

  .header-actions .btn-primary {
    padding-inline: 0.85rem;
  }
}

/* --------------------------------------------------------------- 21. motion */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}


.payments-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 10px;
  justify-content: space-between;
  margin-bottom: 20px;
}
.payment-item img {
  display: block;
  box-shadow: none;
  margin: 0 !important;
  border-radius: 0;
  border: none;
  max-width: 70px;
  max-height: 30px;
}
.footer-icons {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  align-items: center;
  gap: 10px;
}
.footer-icons .pay-icon {
  display: flex;
  align-items: center;
}
.footer-icons .pay-icon span {
  width: 30px;
  height: 30px;
  margin-left: 5px;
  font-size: 12px;
  border-radius: 100%;
  border: 1px solid #fff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-icons .pay-icon img {
  filter: brightness(100);
}
.main-title {
  display: flex;
  align-items: center;
}

.main-title .__right {
  margin-left: 60px;
  flex: 0 0 240px;
}
@media (max-width:800px) {
  .breadcrumbs ol {
    font-size: 14px;
  }
  .breadcrumbs nav {
    padding-block: 0.5rem;
  }

  .prose ul, .prose ol {
    padding-left: 0;
    padding-right: 0;
  }

  .payments-grid {
    gap: 16px;
  }
  .payment-item img {
    max-width: 65px;
    max-height: 30px;
  }

  .table-wrap {
    overflow-x: scroll;
  }

      .main-title .__right {
    margin-left: 20px;
    flex: 0 0 220px;
  }
}
@media (max-width:639.98px) {
      .main-title {
    flex-direction: column;
  }

  .main-title .__right {
    margin-left: 0;
    flex: inherit;
  }
  .main-title .__right img {
    width: 300px !important;
  }
}