/* ============================================================
   hafilatrefill.org — paper-card x glassmorph-soft
   prefix: hf-   seed: NY70HE2HUH
   Plain static, no framework, no CDN.
   ============================================================ */

:root {
  --hf-green: #5f9450;
  --hf-green-ink: #4a7a3d;
  --hf-green-soft: #eaf2e6;
  --hf-ink: #1c2620;
  --hf-ink-2: #5a655d;
  --hf-paper: #fbfaf6;
  --hf-paper-2: #f2f5f7;
  --hf-card: #ffffff;
  --hf-border: #e2e0d6;
  --hf-border-2: #d3dbe2;

  --hf-sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --hf-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;

  --hf-maxw: 1140px;
  --hf-radius: 14px;
  --hf-radius-sm: 10px;
  --hf-shadow: 0 14px 40px -18px rgba(28, 38, 32, .3);
  --hf-shadow-sm: 0 6px 18px -10px rgba(28, 38, 32, .35);
  --hf-glass: rgba(255, 255, 255, .62);
  --hf-fs-root: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--hf-sans);
  font-size: var(--hf-fs-root);
  line-height: 1.68;
  color: var(--hf-ink);
  background: var(--hf-paper);
  overflow-x: hidden;
}
body.hf-noscroll { overflow: hidden; }
body[dir="rtl"] { font-family: "Segoe UI", "Noto Naskh Arabic", "Geeza Pro", Tahoma, Arial, sans-serif; }

h1, h2, h3, h4 { font-family: var(--hf-serif); font-weight: 600; line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.01em; }
body[dir="rtl"] h1, body[dir="rtl"] h2, body[dir="rtl"] h3 { font-family: "Noto Naskh Arabic", "Segoe UI", Tahoma, serif; }
h1 { font-size: clamp(2.1rem, 5vw, 3.35rem); }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.25rem); }
h3 { font-size: clamp(1.12rem, 2vw, 1.35rem); }
p { margin: 0 0 1rem; }
a { color: var(--hf-green-ink); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--hf-green); }

.hf-wrap { max-width: var(--hf-maxw); margin: 0 auto; padding: 0 clamp(16px, 4vw, 36px); }
.hf-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--hf-green); outline-offset: 2px; border-radius: 4px; }

/* bidi safety */
a[href^="tel:"], a[href^="mailto:"], a[href*="wa.me"] { direction: ltr; unicode-bidi: isolate; }
.hf-num, .hf-amt-val { unicode-bidi: isolate; }
.hf-foot address { unicode-bidi: plaintext; }

/* ---------- announcement marquee ---------- */
.hf-annc { background: var(--hf-ink); color: var(--hf-paper); font-size: .82rem; overflow: hidden; }
.hf-annc-track { display: flex; gap: 3rem; white-space: nowrap; padding: 8px 0; width: max-content; animation: hf-marq 26s linear infinite; }
.hf-annc-track span { display: inline-flex; align-items: center; gap: 10px; letter-spacing: .02em; }
.hf-annc-track b { color: var(--hf-green); }
@keyframes hf-marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .hf-annc-track { animation: none; } }
body[dir="rtl"] .hf-annc-track { animation-direction: reverse; }

/* ---------- header (classic left logo, sticky hide) ---------- */
.hf-head { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--hf-paper) 82%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--hf-border); transition: transform .3s ease; }
.hf-head.hf-hidden { transform: translateY(-120%); }
.hf-head .hf-wrap { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.hf-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--hf-ink); }
.hf-logo svg { display: block; }
.hf-logo b { font-family: var(--hf-serif); font-size: 1.32rem; font-weight: 600; letter-spacing: -.02em; }
.hf-logo b i { color: var(--hf-green); font-style: normal; }
.hf-nav { display: flex; align-items: center; gap: 22px; margin-inline-start: auto; }
.hf-nav a { font-size: .92rem; text-decoration: none; color: var(--hf-ink-2); font-weight: 500; }
.hf-nav a:hover { color: var(--hf-green-ink); }
.hf-lang { display: inline-flex; gap: 2px; }
.hf-lang button { background: none; border: 1px solid var(--hf-border); border-radius: 8px; cursor: pointer; color: var(--hf-ink-2); font: inherit; font-size: .78rem; font-weight: 700; padding: 5px 9px; }
.hf-lang button.hf-on { background: var(--hf-green); border-color: var(--hf-green); color: #fff; }
.hf-head-cta { display: inline-flex; }
.hf-burger { display: none; width: 46px; height: 46px; border: 1px solid var(--hf-border); border-radius: 10px; background: var(--hf-card); cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 4px; }
.hf-burger span { display: block; width: 20px; height: 2px; background: var(--hf-ink); border-radius: 2px; }

/* ---------- buttons (sharp, large, icon-left) ---------- */
.hf-btn { display: inline-flex; align-items: center; gap: 9px; font-family: var(--hf-sans); font-weight: 700; font-size: .98rem; padding: 14px 24px; min-height: 52px; border-radius: 6px; border: 1.5px solid var(--hf-green); background: var(--hf-green); color: #fff; text-decoration: none; cursor: pointer; transition: background .16s ease, box-shadow .16s ease, transform .08s ease; line-height: 1.1; }
.hf-btn:hover { background: var(--hf-green-ink); color: #fff; box-shadow: var(--hf-shadow-sm); }
.hf-btn:active { transform: translateY(1px); }
.hf-btn--ghost { background: transparent; color: var(--hf-green-ink); }
.hf-btn--ghost:hover { background: var(--hf-green-soft); color: var(--hf-green-ink); }
.hf-btn--light { background: #fff; color: var(--hf-ink); border-color: var(--hf-border); }
.hf-btn--light:hover { background: var(--hf-paper-2); color: var(--hf-ink); }
.hf-btn--sm { min-height: 44px; padding: 9px 16px; font-size: .85rem; }
.hf-btn--lg { font-size: 1.05rem; padding: 16px 28px; }
.hf-btn .hf-ic { display: inline-flex; }

/* ---------- mobile drawer (CSS-driven, full screen) ---------- */
.hf-drawer-back { position: fixed; inset: 0; z-index: 90; background: rgba(28, 38, 32, .5); visibility: hidden; opacity: 0; transition: opacity .3s ease, visibility .3s ease; }
.hf-drawer-back.hf-open { visibility: visible; opacity: 1; }
.hf-drawer { position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); z-index: 95; background: var(--hf-paper); border-inline-start: 1px solid var(--hf-border); padding: 20px; transform: translateX(100%); visibility: hidden; opacity: 0; transition: transform .34s cubic-bezier(.22,.61,.36,1), visibility .34s ease, opacity .34s ease; overflow-y: auto; }
body[dir="rtl"] .hf-drawer { inset: 0 auto 0 0; border-inline-start: 0; border-inline-end: 1px solid var(--hf-border); transform: translateX(-100%); }
.hf-drawer.hf-open { transform: translateX(0); visibility: visible; opacity: 1; }
.hf-drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.hf-drawer-close { width: 42px; height: 42px; border: 1px solid var(--hf-border); border-radius: 10px; background: var(--hf-card); font-size: 1.3rem; cursor: pointer; color: var(--hf-ink); }
.hf-drawer nav { display: flex; flex-direction: column; }
.hf-drawer nav a { padding: 14px 6px; border-bottom: 1px solid var(--hf-border); text-decoration: none; color: var(--hf-ink); font-size: 1.1rem; }
.hf-drawer-foot { margin-top: 18px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* ---------- hero ---------- */
.hf-hero { position: relative; padding: clamp(34px, 6vw, 72px) 0 clamp(30px, 5vw, 56px); }
.hf-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(60% 55% at 82% 8%, rgba(95,148,80,.16), transparent 60%),
  radial-gradient(45% 45% at 6% 96%, rgba(95,148,80,.10), transparent 60%); }
.hf-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 52px); align-items: center; }
.hf-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--hf-green-ink); background: var(--hf-green-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.hf-hero h1 { margin-bottom: 16px; }
.hf-hero h1 .hf-num-led { color: var(--hf-green); }
.hf-lede { font-size: 1.12rem; color: var(--hf-ink-2); max-width: 54ch; }
.hf-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hf-trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; font-size: .84rem; color: var(--hf-ink-2); }
.hf-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hf-trust svg { color: var(--hf-green); }

/* glass balance widget (glassmorph accent) */
.hf-glass { background: var(--hf-glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.75); box-shadow: var(--hf-shadow); border-radius: 20px; padding: 22px; }
.hf-balance h3 { margin: 0 0 4px; font-size: 1.1rem; }
.hf-balance .hf-bal-sub { font-size: .84rem; color: var(--hf-ink-2); margin: 0 0 16px; }
.hf-card-visual { background: linear-gradient(135deg, var(--hf-green), var(--hf-green-ink)); color: #fff; border-radius: 14px; padding: 18px; margin-bottom: 16px; position: relative; overflow: hidden; }
.hf-card-visual::after { content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255,255,255,.12); }
body[dir="rtl"] .hf-card-visual::after { right: auto; left: -30px; }
.hf-card-visual .hf-cv-chip { width: 34px; height: 26px; border-radius: 5px; background: rgba(255,255,255,.85); margin-bottom: 24px; }
.hf-card-visual .hf-cv-label { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.hf-card-visual .hf-cv-num { font-family: var(--hf-serif); font-size: 1.15rem; letter-spacing: .12em; }
.hf-bal-row { display: flex; gap: 10px; }
.hf-bal-field { flex: 1; }
.hf-bal-result { display: none; margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: var(--hf-green-soft); border: 1px solid #cfe0c6; }
.hf-bal-result.hf-show { display: block; }
.hf-bal-result .hf-amt-val { font-family: var(--hf-serif); font-size: 1.9rem; color: var(--hf-green-ink); font-weight: 600; }
.hf-bal-result small { display: block; color: var(--hf-ink-2); font-size: .8rem; }

/* ---------- sections ---------- */
.hf-sec { padding: clamp(38px, 6vw, 76px) 0; }
.hf-sec--tint { background: var(--hf-paper-2); border-top: 1px solid var(--hf-border); border-bottom: 1px solid var(--hf-border); }
.hf-sec-label { writing-mode: vertical-rl; text-orientation: mixed; position: absolute; left: 0; top: 0; font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--hf-ink-2); opacity: .55; }
.hf-sec-head { max-width: 60ch; margin-bottom: 32px; }
.hf-sec-head .hf-kick { font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--hf-green-ink); margin: 0 0 8px; }

/* steps */
.hf-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; counter-reset: st; }
.hf-step { background: var(--hf-card); border: 1px solid var(--hf-border); border-radius: var(--hf-radius); padding: 24px; position: relative; box-shadow: var(--hf-shadow-sm); }
.hf-step .hf-stnum { counter-increment: st; font-family: var(--hf-serif); font-size: 2rem; color: var(--hf-green); }
.hf-step .hf-stnum::before { content: counter(st, upper-roman); }
.hf-step h3 { margin: 8px 0 6px; }
.hf-step p { margin: 0; color: var(--hf-ink-2); font-size: .95rem; }

/* amount chips (display on home) */
.hf-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.hf-chip { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-height: 60px; min-width: 100px; padding: 10px 18px; border: 1px solid var(--hf-border); border-radius: var(--hf-radius-sm); background: var(--hf-card); text-decoration: none; color: var(--hf-ink); box-shadow: var(--hf-shadow-sm); transition: transform .12s ease, border-color .12s ease, background .12s ease; }
.hf-chip:hover { transform: translateY(-2px); border-color: var(--hf-green); background: var(--hf-green-soft); color: var(--hf-ink); }
.hf-chip b { font-family: var(--hf-serif); font-size: 1.5rem; }
.hf-chip span { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--hf-ink-2); }

/* feature cards */
.hf-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.hf-fcard { background: var(--hf-card); border: 1px solid var(--hf-border); border-radius: var(--hf-radius); padding: 24px; box-shadow: var(--hf-shadow-sm); }
.hf-fcard .hf-ficon { width: 46px; height: 46px; border-radius: 12px; background: var(--hf-green-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; color: var(--hf-green-ink); }
.hf-fcard h3 { margin: 0 0 6px; }
.hf-fcard p { margin: 0; color: var(--hf-ink-2); font-size: .95rem; }

/* prose columns */
.hf-prose { max-width: 70ch; }
.hf-prose h2 { margin-top: 1.6em; }
.hf-prose ul, .hf-prose ol { padding-inline-start: 22px; }
.hf-prose li { margin-bottom: .5em; }

/* callout */
.hf-callout { border-inline-start: 4px solid var(--hf-green); background: var(--hf-green-soft); border-radius: 0 12px 12px 0; padding: 16px 20px; margin: 22px 0; }
body[dir="rtl"] .hf-callout { border-radius: 12px 0 0 12px; }

/* postcard quote */
.hf-quote { background: var(--hf-card); border: 1px dashed var(--hf-border-2); border-radius: var(--hf-radius); padding: 22px 24px; box-shadow: var(--hf-shadow-sm); font-family: var(--hf-serif); font-size: 1.15rem; color: var(--hf-ink); }

/* band */
.hf-band { background: linear-gradient(135deg, var(--hf-green), var(--hf-green-ink)); color: #fff; }
.hf-band h2 { color: #fff; }
.hf-band .hf-wrap { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; padding: 46px 0; }
.hf-band p { color: rgba(255,255,255,.9); margin: 0; max-width: 46ch; }
.hf-band .hf-btn { background: #fff; color: var(--hf-green-ink); border-color: #fff; }
.hf-band .hf-btn:hover { background: var(--hf-paper-2); }

/* ---------- forms ---------- */
.hf-form { display: grid; gap: 20px; }
.hf-field { display: grid; gap: 7px; }
.hf-field label { font-weight: 700; font-size: .92rem; }
.hf-field .hf-hint { font-size: .78rem; color: var(--hf-ink-2); }
.hf-input, .hf-select { font: inherit; font-size: 1rem; padding: 13px 14px; min-height: 50px; border: 1px solid var(--hf-border-2); border-radius: var(--hf-radius-sm); background: #fff; color: var(--hf-ink); width: 100%; }
.hf-input:focus, .hf-select:focus { outline: 3px solid var(--hf-green); outline-offset: 1px; border-color: var(--hf-green); }
.hf-input.hf-invalid, .hf-select.hf-invalid { border-color: #c0392b; background: #fdf3f2; }
.hf-err { color: #c0392b; font-size: .8rem; font-weight: 700; min-height: 1em; }
.hf-input-wrap { position: relative; }
.hf-input-suffix { position: absolute; inset-inline-end: 14px; top: 50%; transform: translateY(-50%); color: var(--hf-ink-2); font-weight: 700; pointer-events: none; }
body[dir="rtl"] .hf-input, body[dir="rtl"] .hf-select { text-align: right; }

.hf-amounts { display: flex; flex-wrap: wrap; gap: 12px; }
.hf-amount { position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-height: 54px; min-width: 96px; padding: 8px 16px; border: 1.5px solid var(--hf-border-2); border-radius: var(--hf-radius-sm); background: #fff; cursor: pointer; transition: background .12s ease, color .12s ease, border-color .12s ease; }
.hf-amount input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.hf-amount b { font-family: var(--hf-serif); font-size: 1.4rem; }
.hf-amount span { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--hf-ink-2); }
.hf-amount.is-on, .hf-amount:has(input:checked) { background: var(--hf-green); border-color: var(--hf-green); color: #fff; }
.hf-amount.is-on span, .hf-amount:has(input:checked) span { color: rgba(255,255,255,.85); }

.hf-summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border: 1px dashed var(--hf-border-2); border-radius: var(--hf-radius-sm); background: var(--hf-paper-2); }
.hf-summary .hf-total { font-family: var(--hf-serif); font-size: 1.8rem; color: var(--hf-green-ink); font-weight: 600; }

.hf-form-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 44px); align-items: start; }
.hf-form-card { background: var(--hf-card); border: 1px solid var(--hf-border); border-radius: var(--hf-radius); box-shadow: var(--hf-shadow); padding: clamp(20px, 3vw, 32px); }
.hf-aside-card { background: var(--hf-paper-2); border: 1px solid var(--hf-border); border-radius: var(--hf-radius); padding: 22px; }
.hf-aside-card h3 { margin-top: 0; }
.hf-aside-card ul { padding-inline-start: 18px; margin: 0; }
.hf-aside-card li { margin-bottom: 9px; font-size: .92rem; }

/* faq */
.hf-faq details { background: var(--hf-card); border: 1px solid var(--hf-border); border-radius: var(--hf-radius-sm); margin-bottom: 12px; padding: 2px 4px; box-shadow: var(--hf-shadow-sm); }
.hf-faq summary { cursor: pointer; list-style: none; padding: 16px 44px 16px 18px; font-weight: 700; position: relative; }
body[dir="rtl"] .hf-faq summary { padding: 16px 18px 16px 44px; }
.hf-faq summary::-webkit-details-marker { display: none; }
.hf-faq summary::after { content: "+"; position: absolute; inset-inline-end: 16px; top: 13px; font-size: 1.4rem; color: var(--hf-green); }
.hf-faq details[open] summary::after { content: "–"; }
.hf-faq .hf-faq-a { padding: 0 18px 16px; color: var(--hf-ink-2); }
.hf-faq .hf-faq-a p { margin: 0; }

/* page head */
.hf-phead { padding: clamp(26px, 5vw, 52px) 0 clamp(16px, 3vw, 28px); border-bottom: 1px solid var(--hf-border); background: var(--hf-paper-2); }
.hf-phead .hf-kick { font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--hf-green-ink); margin: 0 0 8px; }

/* contact grid */
.hf-contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.hf-contact-grid .hf-fcard p { margin: 0; }

/* ---------- footer (asymmetric) ---------- */
.hf-foot { background: var(--hf-ink); color: #c7cfc8; }
.hf-foot .hf-wrap { padding: 50px 0 26px; }
.hf-foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.hf-foot h4 { color: #fff; font-family: var(--hf-sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.hf-foot ul { list-style: none; margin: 0; padding: 0; }
.hf-foot li { margin-bottom: 9px; }
.hf-foot a { color: #c7cfc8; font-size: .9rem; text-decoration: none; }
.hf-foot a:hover { color: #fff; text-decoration: underline; }
.hf-foot .hf-foot-logo b { font-family: var(--hf-serif); font-size: 1.3rem; color: #fff; }
.hf-foot .hf-foot-logo b i { color: var(--hf-green); font-style: normal; }
.hf-foot-blurb { font-size: .9rem; max-width: 40ch; margin: 12px 0; }
.hf-foot address { font-style: normal; font-size: .86rem; line-height: 1.7; }
.hf-foot-hours { font-size: .84rem; margin-top: 10px; }
.hf-pay-logos { display: flex; gap: 8px; margin-top: 14px; }
.hf-pay-logos span { border: 1px solid #3a463d; border-radius: 6px; padding: 4px 8px; font-size: .66rem; font-weight: 800; letter-spacing: .06em; color: #e6ebe6; }
.hf-foot-bar { border-top: 1px solid #303a33; margin-top: 30px; padding-top: 18px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .8rem; }
.hf-foot-seal { display: inline-flex; align-items: center; gap: 8px; }
.hf-foot-seal svg { color: var(--hf-green); }

/* cookie banner */
.hf-cookie { position: fixed; inset-inline: 16px; bottom: 16px; z-index: 80; max-width: 680px; margin: 0 auto; background: var(--hf-card); border: 1px solid var(--hf-border); border-radius: var(--hf-radius); box-shadow: var(--hf-shadow); padding: 16px 18px; display: none; gap: 14px; align-items: center; flex-wrap: wrap; }
.hf-cookie.hf-show { display: flex; }
.hf-cookie p { margin: 0; font-size: .86rem; flex: 1 1 260px; }

/* scroll top + progress */
.hf-top { position: fixed; inset-inline-end: 18px; bottom: 18px; z-index: 70; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--hf-green); background: var(--hf-green); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease, transform .15s ease; box-shadow: var(--hf-shadow-sm); }
.hf-top.hf-show { opacity: 1; visibility: visible; }
.hf-top:hover { transform: translateY(-3px); }
.hf-progress { position: fixed; top: 0; inset-inline-start: 0; height: 3px; width: 0; background: var(--hf-green); z-index: 100; transition: width .1s linear; }

/* text size widget */
.hf-textsize { display: inline-flex; gap: 4px; }
.hf-textsize button { width: 30px; height: 30px; border: 1px solid #3a463d; background: none; color: inherit; border-radius: 6px; cursor: pointer; font: inherit; font-size: .8rem; }

/* reveal */
.hf-reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.hf-reveal.hf-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .hf-reveal { opacity: 1; transform: none; transition: none; } .hf-head { transition: none; } }

/* overlay spinner */
.hf-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(251,250,246,.94); display: none; align-items: center; justify-content: center; }
.hf-overlay.hf-show { display: flex; }
.hf-spinner { width: 54px; height: 54px; border: 4px solid var(--hf-border); border-top-color: var(--hf-green); border-radius: 50%; animation: hf-spin .8s linear infinite; }
@keyframes hf-spin { to { transform: rotate(360deg); } }

.hf-noscript { background: var(--hf-green); color: #fff; text-align: center; padding: 10px; font-size: .85rem; }

/* responsive */
@media (max-width: 900px) {
  .hf-hero-grid { grid-template-columns: 1fr; }
  .hf-form-grid { grid-template-columns: 1fr; }
  .hf-foot-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .hf-nav > a, .hf-nav .hf-lang, .hf-head-cta { display: none; }
  .hf-burger { display: inline-flex; }
  .hf-nav { margin-inline-start: auto; }
}
@media (max-width: 560px) {
  :root { --hf-fs-root: 17px; }
  .hf-foot-top { grid-template-columns: 1fr; }
  .hf-band .hf-wrap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 360px) {
  .hf-btn { width: 100%; justify-content: center; }
  .hf-hero-cta .hf-btn { width: 100%; }
}
