/* =====================================================================
   clearrecharge.org  ·  main.css
   Style: newspaper-grid (dominant) + editorial-zine (accent)
   Class prefix: cr-  (RSCSS, fixed)
   Structure: @layer reset, tokens, base, layout, components, utils
   Palette shifted from #00a9ce / #9b42b8 / #ffffff by seed 69SQ7R3C5X
   ================================================================== */

@layer reset, tokens, base, layout, components, utils;

/* ------- reset -------- */
@layer reset {
  *,*::before,*::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
  body { margin: 0; }
  h1,h2,h3,h4,h5,h6,p,figure,blockquote,dl,dd { margin: 0; }
  ul,ol { margin: 0; padding: 0; list-style: none; }
  img,svg,video { display: block; max-width: 100%; height: auto; }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; cursor: pointer; background: none; border: 0; padding: 0; color: inherit; }
  input, select, textarea { font: inherit; color: inherit; }
  :focus-visible { outline: 2px solid var(--cy); outline-offset: 3px; }
}

/* ------- tokens -------- */
@layer tokens {
  :root {
    --cy:        #0e93b7;    /* primary — teal-cyan (shifted from #00a9ce) */
    --cy-dk:    #08627a;
    --cy-tint:  #cfeaf1;
    --vio:       #8d3cb0;    /* accent — violet (shifted from #9b42b8) */
    --vio-dk:   #5b2374;
    --vio-tint: #ecdbf4;
    --paper:     #faf7ef;    /* warm newsprint paper */
    --paper-2:  #f0ead8;
    --ink:       #0b1220;    /* deep blue-black */
    --ink-2:    #333a48;
    --ink-3:    #6a7080;
    --hair:      rgba(11,18,32,.12);
    --hair-2:    rgba(11,18,32,.24);
    --rule:      #cfc9b8;

    --ff-h: "Fraunces", Georgia, "Times New Roman", serif;
    --ff-b: "Newsreader", "Iowan Old Style", Georgia, serif;
    --ff-s: "Inter", -apple-system, "Helvetica Neue", sans-serif;
    --ff-m: "IBM Plex Mono", ui-monospace, "Courier New", monospace;
    --ff-a: "Amiri", "Noto Naskh Arabic", "Traditional Arabic", serif;

    /* type scale — minor 2nd (1.067) */
    --sz-1: .8125rem;
    --sz0:  .875rem;
    --sz1:  1rem;
    --sz2:  1.125rem;
    --sz3:  1.3rem;
    --sz4:  1.55rem;
    --sz5:  2.05rem;
    --sz6:  2.75rem;
    --sz7:  3.7rem;
    --sz8:  4.85rem;

    --gap-1: 6px;
    --gap-2: 10px;
    --gap-3: 16px;
    --gap-4: 24px;
    --gap-5: 36px;
    --gap-6: 56px;
    --gap-7: 88px;

    --r-sm: 2px;
    --r-md: 4px;
    --shadow-soft: 0 1px 0 var(--hair), 0 8px 24px -18px rgba(11,18,32,.35);
    --shadow-lift: 0 2px 0 var(--hair), 0 14px 40px -20px rgba(11,18,32,.4);

    --max: 1220px;
    --nar: 780px;
    --col: 68ch;
  }
  [dir="rtl"] { --ff-h: "Amiri", "Noto Naskh Arabic", serif; }
}

/* ------- base ------- */
@layer base {
  html { font-family: var(--ff-b); color: var(--ink); background: var(--paper); font-size: 17px; }
  @media (max-width: 600px) { html { font-size: 16px; } }
  body {
    line-height: 1.35;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    background-image: radial-gradient(rgba(11,18,32,.045) 1px, transparent 1px);
    background-size: 22px 22px;
    background-attachment: fixed;
  }

  h1,h2,h3,h4 { font-family: var(--ff-h); font-style: italic; font-weight: 700; line-height: 1.05; }
  h1 { font-size: var(--sz7); letter-spacing: -0.03em; }
  h2 { font-size: var(--sz5); letter-spacing: -0.02em; }
  h3 { font-size: var(--sz3); letter-spacing: -0.01em; }
  h4 { font-size: var(--sz2); }
  @media (max-width: 720px) {
    h1 { font-size: var(--sz6); }
    h2 { font-size: var(--sz4); }
  }
  p { max-width: var(--col); }
  strong { font-weight: 700; }
  em { font-style: italic; }
  code { font-family: var(--ff-m); font-size: .92em; background: var(--paper-2); padding: 0 .3em; border-radius: 2px; }
  hr { border: 0; height: 1px; background: var(--rule); margin: var(--gap-4) 0; }

  a { color: var(--cy-dk); text-decoration: underline; text-decoration-style: wavy; text-decoration-thickness: 1px; text-underline-offset: 4px; }
  a:hover { color: var(--vio); }

  ::selection { background: var(--vio); color: var(--paper); }

  .sr { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
}

/* ------- layout ------- */
@layer layout {
  .cr-wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gap-4); }
  .cr-wrap.-nar { max-width: var(--nar); }

  .cr-grid12 {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--gap-3);
  }
  @media (max-width: 720px) {
    .cr-grid12 { grid-template-columns: repeat(6, 1fr); gap: var(--gap-2); }
  }

  .cr-section { padding-block: var(--gap-6); position: relative; }
  .cr-section + .cr-section { border-top: 1px solid var(--rule); }

  .cr-torn::before {
    /* torn-paper divider (editorial-zine accent) */
    content: "";
    display: block;
    height: 12px;
    background:
      radial-gradient(circle at 6px 0, transparent 5px, var(--paper) 6px) top left / 12px 12px repeat-x;
    margin-top: calc(-1 * var(--gap-6));
    margin-bottom: var(--gap-5);
    border-top: 1px dashed var(--hair-2);
  }
}

/* ------- components ------- */
@layer components {

  /* --- top announcement bar --- */
  .cr-anno { background: var(--ink); color: var(--paper); font-family: var(--ff-m); font-size: var(--sz-1); letter-spacing: .1em; text-transform: uppercase; }
  .cr-anno > .cr-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 32px; padding-block: 6px; gap: var(--gap-3); }
  .cr-anno .close { padding: 4px 8px; opacity: .7; }
  .cr-anno .close:hover { opacity: 1; }
  .cr-anno.-off { display: none; }

  /* --- header --- */
  .cr-hdr { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 1px solid var(--rule); }
  .cr-hdr > .cr-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: var(--gap-3); }
  .cr-hdr .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
  .cr-hdr .brand > svg { width: 42px; height: 42px; }
  .cr-hdr .brand > .word {
    font-family: var(--ff-h); font-style: italic; font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1;
    display: flex; flex-direction: column;
  }
  .cr-hdr .brand > .word > small { font-family: var(--ff-m); font-style: normal; font-weight: 400; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); margin-top: 2px; }

  .cr-nav { display: flex; align-items: center; gap: var(--gap-3); }
  .cr-nav > a { font-family: var(--ff-s); font-size: .92rem; text-decoration: none; padding: 8px 4px; color: var(--ink); }
  .cr-nav > a:hover { color: var(--cy-dk); text-decoration: underline; text-decoration-style: wavy; }
  .cr-nav > .cta { background: var(--ink); color: var(--paper); padding: 10px 16px; font-weight: 600; }
  .cr-nav > .cta:hover { background: var(--vio); color: var(--paper); text-decoration: none; }
  .cr-nav .sw { display: flex; gap: 4px; padding-left: 10px; margin-left: 10px; border-left: 1px solid var(--rule); font-family: var(--ff-m); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
  .cr-nav .sw > a { padding: 4px 6px; color: var(--ink-3); text-decoration: none; }
  .cr-nav .sw > a.-on { color: var(--ink); font-weight: 700; border-bottom: 2px solid var(--vio); }
  @media (max-width: 900px) {
    .cr-nav { display: none; }
  }

  .cr-burger { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--hair-2); }
  .cr-burger:hover { background: var(--paper-2); }
  @media (max-width: 900px) { .cr-burger { display: inline-flex; } }

  /* --- CSS-driven bottom-sheet mobile menu --- */
  .cr-sheet {
    position: fixed; inset: 0; z-index: 50;
    background: rgba(11,18,32,.55);
    visibility: hidden;
    opacity: 0;
    transition: opacity .22s ease, visibility 0s linear .22s;
  }
  .cr-sheet:target,
  .cr-sheet.-on {
    visibility: visible;
    opacity: 1;
    transition: opacity .22s ease, visibility 0s;
  }
  .cr-sheet > .sh-body {
    position: absolute; left: 0; right: 0; bottom: 0;
    background: var(--paper);
    padding: var(--gap-4);
    border-top: 3px solid var(--ink);
    transform: translateY(100%);
    transition: transform .28s cubic-bezier(.2,.8,.25,1);
    max-height: 85vh; overflow-y: auto;
  }
  .cr-sheet:target > .sh-body,
  .cr-sheet.-on > .sh-body { transform: translateY(0); }
  .cr-sheet .close-x { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--hair-2); }
  .cr-sheet .sh-body > ul { display: flex; flex-direction: column; gap: 2px; margin-top: 40px; }
  .cr-sheet .sh-body > ul > li > a { display: block; padding: 14px 4px; font-family: var(--ff-h); font-style: italic; font-size: 1.35rem; border-bottom: 1px dashed var(--hair); }
  .cr-sheet .sh-body .cta { display: block; margin-top: 16px; padding: 14px 16px; background: var(--ink); color: var(--paper); text-align: center; font-weight: 700; }
  body.cr-nos { overflow: hidden; }

  /* --- hero (split_left_right, question, animated_svg, 2 CTAs, transparent hero, split-color bg) --- */
  .cr-hero { position: relative; overflow: hidden; background: linear-gradient(90deg, var(--paper) 0 55%, var(--cy-tint) 55% 100%); }
  @media (max-width: 900px) { .cr-hero { background: var(--paper); } }
  .cr-hero > .cr-wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--gap-5); align-items: end; padding-block: var(--gap-6) var(--gap-7); }
  @media (max-width: 900px) { .cr-hero > .cr-wrap { grid-template-columns: 1fr; padding-block: var(--gap-5); } }
  .cr-hero .dateline { font-family: var(--ff-m); font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); border-top: 2px solid var(--ink); padding-top: 8px; margin-bottom: var(--gap-4); }
  .cr-hero .dateline > span { color: var(--vio); }
  .cr-hero h1 { font-size: clamp(2.4rem, 6.5vw, 4.85rem); }
  .cr-hero h1 > .amp { color: var(--vio); font-style: italic; }
  .cr-hero h1 > .cy { color: var(--cy-dk); }
  .cr-hero .lede { margin-top: var(--gap-4); font-size: var(--sz2); line-height: 1.55; max-width: 55ch; color: var(--ink-2); }
  .cr-hero .lede > b { color: var(--ink); font-weight: 600; }
  .cr-hero .ctas { display: flex; gap: var(--gap-3); margin-top: var(--gap-4); flex-wrap: wrap; }
  .cr-hero .ctas .btn-x { padding: 14px 22px; font-weight: 700; font-family: var(--ff-s); text-decoration: none; border-radius: var(--r-sm); }
  .cr-hero .ctas .btn-x.-primary { background: var(--ink); color: var(--paper); border: 2px solid var(--ink); }
  .cr-hero .ctas .btn-x.-primary:hover { background: var(--vio); border-color: var(--vio); }
  .cr-hero .ctas .btn-x.-ghost { border: 2px solid var(--ink); color: var(--ink); background: transparent; }
  .cr-hero .ctas .btn-x.-ghost:hover { background: var(--ink); color: var(--paper); }
  .cr-hero .bilingual { margin-top: var(--gap-4); font-family: var(--ff-a); font-size: 1.5rem; color: var(--ink-2); direction: rtl; text-align: right; }
  [dir="rtl"] .cr-hero .bilingual { direction: ltr; text-align: left; font-family: var(--ff-h); font-style: italic; }

  .cr-hero .art { position: relative; padding: var(--gap-4); }
  .cr-hero .art > svg { width: 100%; height: auto; max-width: 460px; margin-inline: auto; }

  /* animated svg parts */
  @keyframes cr-flow { 0% { stroke-dashoffset: 220; } 100% { stroke-dashoffset: 0; } }
  @keyframes cr-pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
  @keyframes cr-slide { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
  .cr-hero .art .flow { stroke-dasharray: 6 10; animation: cr-flow 3.2s linear infinite; }
  .cr-hero .art .pip { animation: cr-pulse 1.8s ease-in-out infinite; }
  .cr-hero .art .num { animation: cr-slide 4s ease-in-out infinite; }
  @media (prefers-reduced-motion: reduce) {
    .cr-hero .art .flow, .cr-hero .art .pip, .cr-hero .art .num { animation: none; }
  }

  /* --- section headings & dateline eyebrow --- */
  .cr-shead { display: flex; flex-direction: column; gap: 10px; margin-bottom: var(--gap-4); }
  .cr-shead .eye { font-family: var(--ff-m); font-size: .76rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); display: flex; align-items: center; gap: 10px; }
  .cr-shead .eye::before { content: ""; width: 28px; height: 2px; background: var(--vio); }
  .cr-shead .kick { font-family: var(--ff-s); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cy-dk); font-weight: 700; }
  .cr-shead h2 { color: var(--ink); max-width: 22ch; }

  /* --- newspaper 3-col preset-showcase --- */
  .cr-preset {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gap-3); margin-top: var(--gap-4);
  }
  @media (max-width: 900px) { .cr-preset { grid-template-columns: repeat(3, 1fr); } }
  @media (max-width: 480px) { .cr-preset { grid-template-columns: repeat(2, 1fr); } }
  .cr-preset > .chip {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 22px 12px; border: 1.5px dashed var(--ink); background: var(--paper);
    text-align: center; text-decoration: none; color: var(--ink);
    transition: transform .12s ease, background .2s, border-color .2s;
    min-height: 92px;
  }
  .cr-preset > .chip .fig { font-family: var(--ff-m); font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; }
  .cr-preset > .chip .fig::after { content: " AED"; font-size: .72rem; letter-spacing: .16em; color: var(--ink-3); font-weight: 400; margin-left: 4px; }
  .cr-preset > .chip .tag { margin-top: 6px; font-family: var(--ff-m); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
  .cr-preset > .chip:hover { background: var(--cy-tint); transform: translateY(-2px); border-color: var(--cy-dk); }
  .cr-preset > .chip.-hot { background: var(--vio); border-color: var(--vio); color: var(--paper); }
  .cr-preset > .chip.-hot .tag { color: var(--vio-tint); }
  .cr-preset > .chip.-hot .fig::after { color: var(--vio-tint); }

  /* --- 12-col newspaper layout for "what-is" --- */
  .cr-whatis { display: grid; grid-template-columns: 4fr 6fr 2fr; gap: var(--gap-4); align-items: start; }
  @media (max-width: 900px) { .cr-whatis { grid-template-columns: 1fr; } }
  .cr-whatis .col1 h2 { font-size: var(--sz5); }
  .cr-whatis .col2 { border-inline: 1px solid var(--rule); padding-inline: var(--gap-4); }
  @media (max-width: 900px) { .cr-whatis .col2 { border-inline: 0; padding-inline: 0; border-top: 1px solid var(--rule); padding-top: var(--gap-3); } }
  .cr-whatis .col2 p { font-size: var(--sz1); margin-bottom: 12px; }
  .cr-whatis .col3 .pull { font-family: var(--ff-h); font-style: italic; font-size: 1.35rem; line-height: 1.2; letter-spacing: -.01em; border-top: 3px solid var(--vio); padding-top: 10px; color: var(--ink); }
  .cr-whatis .col3 .attr { display: block; margin-top: 8px; font-family: var(--ff-m); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); font-style: normal; }

  /* --- steps / how-it-works --- */
  .cr-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: var(--gap-4); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
  @media (max-width: 900px) { .cr-steps { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 600px) { .cr-steps { grid-template-columns: 1fr; } }
  .cr-steps > .st { padding: var(--gap-4); border-right: 1px solid var(--rule); }
  .cr-steps > .st:last-child { border-right: 0; }
  @media (max-width: 900px) { .cr-steps > .st { border-bottom: 1px solid var(--rule); } .cr-steps > .st:nth-child(2n) { border-right: 0; } .cr-steps > .st:nth-last-child(-n+2) { border-bottom: 0; } }
  @media (max-width: 600px) { .cr-steps > .st { border-right: 0; border-bottom: 1px solid var(--rule); } .cr-steps > .st:last-child { border-bottom: 0; } }
  .cr-steps > .st .n { font-family: var(--ff-h); font-style: italic; font-weight: 700; font-size: 3.4rem; color: var(--vio); line-height: 1; letter-spacing: -.04em; }
  .cr-steps > .st h3 { margin-top: 10px; font-size: 1.25rem; }
  .cr-steps > .st p { margin-top: 8px; font-size: .95rem; color: var(--ink-2); }

  /* --- use-cases (3) --- */
  .cr-uc { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-4); margin-top: var(--gap-4); }
  @media (max-width: 900px) { .cr-uc { grid-template-columns: 1fr; } }
  .cr-uc > .card {
    padding: var(--gap-4); border: 1.5px dashed var(--ink); background: var(--paper); position: relative;
  }
  .cr-uc > .card .emo { font-size: 1.8rem; line-height: 1; }
  .cr-uc > .card h3 { margin-top: 10px; }
  .cr-uc > .card p { margin-top: 10px; font-size: .95rem; color: var(--ink-2); max-width: none; }

  /* --- testimonials — speech bubbles (editorial-zine accent) --- */
  .cr-quo { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-4); margin-top: var(--gap-4); }
  @media (max-width: 900px) { .cr-quo { grid-template-columns: 1fr; } }
  .cr-quo > .bub {
    position: relative;
    background: var(--paper);
    border: 2px solid var(--ink);
    padding: var(--gap-4);
  }
  .cr-quo > .bub::after {
    content: "";
    position: absolute; left: 32px; bottom: -14px;
    width: 24px; height: 24px;
    background: var(--paper);
    border-right: 2px solid var(--ink);
    border-bottom: 2px solid var(--ink);
    transform: rotate(45deg);
  }
  .cr-quo > .bub.-v { background: var(--vio); color: var(--paper); border-color: var(--vio); }
  .cr-quo > .bub.-v::after { background: var(--vio); border-color: var(--vio); }
  .cr-quo > .bub.-c { background: var(--cy-tint); }
  .cr-quo > .bub > blockquote { font-family: var(--ff-h); font-style: italic; font-size: 1.2rem; line-height: 1.35; }
  .cr-quo > .bub > .who { margin-top: var(--gap-3); font-family: var(--ff-m); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: currentColor; opacity: .8; padding-top: 10px; border-top: 1px dashed currentColor; }

  /* --- faq teaser --- */
  .cr-faq details {
    border-bottom: 1px solid var(--rule);
    padding: var(--gap-3) 0;
  }
  .cr-faq details[open] summary::after { transform: rotate(45deg); }
  .cr-faq summary {
    display: flex; align-items: baseline; justify-content: space-between;
    font-family: var(--ff-h); font-style: italic; font-size: 1.2rem;
    cursor: pointer; list-style: none;
  }
  .cr-faq summary::-webkit-details-marker { display: none; }
  .cr-faq summary::after {
    content: "+"; font-family: var(--ff-m); font-size: 1.6rem; font-style: normal; color: var(--vio); font-weight: 300;
    transition: transform .2s ease; line-height: 1;
  }
  .cr-faq .a { padding-top: 10px; color: var(--ink-2); font-size: .98rem; }
  .cr-faq .a p + p { margin-top: 10px; }

  /* --- contact strip --- */
  .cr-cstrip { background: var(--ink); color: var(--paper); }
  .cr-cstrip > .cr-wrap { display: grid; grid-template-columns: 1.4fr .6fr .6fr; gap: var(--gap-4); align-items: center; padding-block: var(--gap-5); }
  @media (max-width: 900px) { .cr-cstrip > .cr-wrap { grid-template-columns: 1fr; } }
  .cr-cstrip h2 { color: var(--paper); }
  .cr-cstrip .item { font-family: var(--ff-m); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; }
  .cr-cstrip .item > a { color: var(--paper); text-decoration: underline; text-decoration-style: wavy; text-decoration-thickness: 1px; text-underline-offset: 4px; font-family: var(--ff-h); font-style: italic; font-size: 1.6rem; letter-spacing: -.01em; text-transform: none; }
  .cr-cstrip .item > a:hover { color: var(--cy-tint); }
  .cr-cstrip .item > small { display: block; color: var(--ink-3); margin-bottom: 4px; }

  /* --- forms --- */
  .cr-form { display: grid; gap: var(--gap-3); }
  .cr-field { display: flex; flex-direction: column; gap: 6px; }
  .cr-field > label { font-family: var(--ff-m); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
  .cr-field > input,
  .cr-field > textarea,
  .cr-field > select {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--ink);
    background: var(--paper);
    font: inherit;
    border-radius: var(--r-sm);
  }
  .cr-field > input:focus,
  .cr-field > textarea:focus,
  .cr-field > select:focus { border-color: var(--vio); outline-offset: 0; }
  .cr-field > .hint { font-family: var(--ff-s); font-size: .78rem; color: var(--ink-3); }
  .cr-field > .err { font-family: var(--ff-s); font-size: .8rem; color: #a01722; font-weight: 600; }

  /* preset-chips form widget */
  .cr-amounts {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 4px;
  }
  @media (max-width: 600px) { .cr-amounts { grid-template-columns: repeat(3, 1fr); } }
  .cr-amounts > label {
    position: relative; display: flex; align-items: center; justify-content: center;
    min-height: 52px; padding: 10px 8px;
    border: 1.5px dashed var(--ink); background: var(--paper);
    font-family: var(--ff-m); font-weight: 700; text-align: center; cursor: pointer;
    transition: background .16s, transform .12s ease, border-color .16s;
    user-select: none;
  }
  .cr-amounts > label > input { position: absolute; opacity: 0; pointer-events: none; }
  .cr-amounts > label:hover { background: var(--cy-tint); }
  .cr-amounts > label:has(input:checked),
  .cr-amounts > label.is-on {
    background: var(--vio); border-color: var(--vio); color: var(--paper); transform: translateY(-2px);
  }

  .cr-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 22px;
    font-family: var(--ff-s); font-weight: 700; font-size: 1rem;
    background: var(--ink); color: var(--paper);
    border: 2px solid var(--ink); border-radius: var(--r-sm);
    text-decoration: none; cursor: pointer;
    transition: background .16s, color .16s, border-color .16s, transform .1s;
  }
  .cr-btn:hover { background: var(--vio); border-color: var(--vio); color: var(--paper); }
  .cr-btn:active { transform: translateY(1px); }
  .cr-btn.-ghost { background: transparent; color: var(--ink); }
  .cr-btn.-ghost:hover { background: var(--ink); color: var(--paper); }
  .cr-btn.-block { display: flex; width: 100%; justify-content: center; }
  .cr-btn.-lg { padding: 18px 26px; font-size: 1.1rem; }

  /* honeypot */
  .cr-hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

  /* --- side-drawer modal (thanks) --- */
  .cr-modal {
    position: fixed; inset: 0; z-index: 60;
    background: rgba(11,18,32,.55);
    display: flex; justify-content: flex-end;
    visibility: hidden; opacity: 0;
    transition: opacity .22s ease, visibility 0s linear .22s;
  }
  .cr-modal.-on { visibility: visible; opacity: 1; transition: opacity .22s ease, visibility 0s; }
  .cr-modal > .m-body {
    width: min(440px, 100%); background: var(--paper);
    padding: var(--gap-5); overflow-y: auto;
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.2,.8,.25,1);
    border-left: 3px solid var(--vio);
  }
  .cr-modal.-on > .m-body { transform: translateX(0); }
  .cr-modal .close-x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--hair-2); background: var(--paper); }
  [dir="rtl"] .cr-modal { justify-content: flex-start; }
  [dir="rtl"] .cr-modal > .m-body { border-left: 0; border-right: 3px solid var(--vio); transform: translateX(-100%); }
  [dir="rtl"] .cr-modal.-on > .m-body { transform: translateX(0); }

  /* --- toast --- */
  .cr-toast-holder { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 70; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
  .cr-toast { background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: var(--r-sm); font-family: var(--ff-s); font-size: .92rem; box-shadow: var(--shadow-lift); animation: cr-toast-in .28s ease-out both; }
  .cr-toast.-err { background: #a01722; }
  @keyframes cr-toast-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

  /* --- confetti canvas overlay --- */
  .cr-confetti { position: fixed; inset: 0; pointer-events: none; z-index: 65; }

  /* --- mouse trail dot --- */
  .cr-trail { position: fixed; width: 8px; height: 8px; border-radius: 50%; background: var(--vio); opacity: .5; pointer-events: none; z-index: 100; mix-blend-mode: multiply; transition: transform .06s linear; }
  @media (prefers-reduced-motion: reduce), (hover: none) { .cr-trail { display: none; } }

  /* --- side dots scroll progress --- */
  .cr-progress { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 30; display: flex; flex-direction: column; gap: 10px; }
  .cr-progress > a { width: 8px; height: 8px; border-radius: 50%; background: var(--hair-2); transition: background .2s, transform .2s; }
  .cr-progress > a:hover { background: var(--vio); transform: scale(1.4); }
  .cr-progress > a.-on { background: var(--ink); }
  [dir="rtl"] .cr-progress { right: auto; left: 18px; }
  @media (max-width: 900px) { .cr-progress { display: none; } }

  /* --- footer --- */
  .cr-ft { background: var(--paper); border-top: 3px double var(--ink); padding-block: var(--gap-5) var(--gap-4); }
  .cr-ft > .cr-wrap { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--gap-4); }
  @media (max-width: 900px) { .cr-ft > .cr-wrap { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 480px) { .cr-ft > .cr-wrap { grid-template-columns: 1fr; } }
  .cr-ft .brand-col > svg { width: 46px; height: 46px; }
  .cr-ft .brand-col p { font-size: .92rem; color: var(--ink-2); margin-top: 12px; max-width: 42ch; }
  .cr-ft .col > h4 { font-family: var(--ff-m); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; font-style: normal; margin-bottom: 10px; }
  .cr-ft .col ul { display: flex; flex-direction: column; gap: 6px; }
  .cr-ft .col a { font-size: .95rem; text-decoration: none; color: var(--ink); }
  .cr-ft .col a:hover { color: var(--vio); text-decoration: underline; text-decoration-style: wavy; }
  .cr-ft .legal { margin-top: var(--gap-4); padding-top: var(--gap-3); border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: var(--gap-3); justify-content: space-between; align-items: center; font-family: var(--ff-m); font-size: .74rem; letter-spacing: .1em; color: var(--ink-3); }
  .cr-ft .legal .flag > svg { width: 20px; height: 12px; display: inline-block; vertical-align: middle; margin-right: 6px; }
  .cr-ft .legal .satirical { font-style: italic; font-family: var(--ff-h); font-size: .82rem; letter-spacing: 0; color: var(--ink-3); text-transform: none; }

  /* --- KV list (contact / about) --- */
  .cr-kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; font-size: 1rem; }
  .cr-kv > dt { font-family: var(--ff-m); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); padding-top: 4px; }
  .cr-kv > dd { color: var(--ink); }
  [dir="rtl"] .cr-kv > dt { direction: ltr; text-align: right; }

  /* --- OSM map card --- */
  .cr-map { border: 2px solid var(--ink); border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 16/10; }
  .cr-map > iframe { width: 100%; height: 100%; border: 0; }

  /* --- breadcrumbs --- */
  .cr-crumbs { font-family: var(--ff-m); font-size: .78rem; letter-spacing: .1em; color: var(--ink-3); text-transform: uppercase; padding: var(--gap-3) 0; }
  .cr-crumbs a { color: var(--ink); text-decoration: none; }
  .cr-crumbs a:hover { color: var(--vio); text-decoration: underline; text-decoration-style: wavy; }
  .cr-crumbs .sep { margin: 0 6px; color: var(--vio); }

  /* --- callouts / TL;DR --- */
  .cr-tldr { border-left: 4px solid var(--vio); background: var(--vio-tint); padding: var(--gap-3) var(--gap-4); margin: var(--gap-4) 0; font-family: var(--ff-s); font-size: .95rem; }
  [dir="rtl"] .cr-tldr { border-left: 0; border-right: 4px solid var(--vio); }
  .cr-tldr > b { display: block; font-family: var(--ff-m); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--vio-dk); margin-bottom: 6px; }

  /* --- article prose --- */
  .cr-prose h2 { margin-top: var(--gap-5); }
  .cr-prose h3 { margin-top: var(--gap-4); }
  .cr-prose p { margin-top: 14px; }
  .cr-prose ul, .cr-prose ol { margin-top: 14px; padding-inline-start: 22px; }
  .cr-prose ul { list-style: disc; }
  .cr-prose ol { list-style: decimal; }
  .cr-prose li { margin-top: 8px; max-width: var(--col); }
  .cr-prose img, .cr-prose figure { margin: var(--gap-4) 0; }

  /* --- WhatsApp float --- */
  .cr-wa {
    position: fixed; right: 20px; bottom: 20px; z-index: 45;
    width: 54px; height: 54px; background: #25d366;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; box-shadow: 0 4px 14px rgba(0,0,0,.22);
    color: white;
  }
  .cr-wa:hover { transform: scale(1.05); }
  [dir="rtl"] .cr-wa { right: auto; left: 20px; }

  /* --- language switch (footer form) --- */
  .cr-lg-sw { display: inline-flex; gap: 4px; font-family: var(--ff-m); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
  .cr-lg-sw a { padding: 4px 8px; border: 1px solid var(--hair-2); text-decoration: none; color: var(--ink); }
  .cr-lg-sw a.-on { background: var(--ink); color: var(--paper); }

  /* --- RTL fixes for hero split-bg --- */
  [dir="rtl"] .cr-hero { background: linear-gradient(-90deg, var(--paper) 0 55%, var(--cy-tint) 55% 100%); }
  @media (max-width: 900px) { [dir="rtl"] .cr-hero { background: var(--paper); } }
}

/* ------- utils ------- */
@layer utils {
  .mt-0 { margin-top: 0 !important; }
  .mt-1 { margin-top: var(--gap-1) !important; }
  .mt-2 { margin-top: var(--gap-2) !important; }
  .mt-3 { margin-top: var(--gap-3) !important; }
  .mt-4 { margin-top: var(--gap-4) !important; }
  .mt-5 { margin-top: var(--gap-5) !important; }
  .t-c { text-align: center !important; }
  .t-r { text-align: right !important; }
  .hide-lt-md { }
  @media (max-width: 900px) { .hide-lt-md { display: none !important; } }
  .hide-gt-md { display: none !important; }
  @media (max-width: 900px) { .hide-gt-md { display: inline-flex !important; } }
}
