/* ============================================================
   FERRO THEME — fe- prefix
   Palette: Amber #f59e0b, Zinc #18181b | IBM Plex Mono + IBM Plex Sans
   Signature: star rating, score breakdown table, industrial thick borders
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {--fe_surface:  #141414;--fe_muted:    #a1a1aa;--fe_amber-lt: #fcd34d;--fe_shadow:   0 4px 20px rgba(0,0,0,.6);--fe_bd-thick: 3px;--fe_r-lg:     6px;--fe_text:     #d4d4d8;--fe_bg:       #0c0c0c;--fe_border-hv:#f59e0b;--fe_amber:    #f59e0b;--fe_r:        4px;--fe_amber-dk: #d97706;--fe_card:     #1c1c1c;--fe_border:   #2d2d2d;--fe_white:    rgb(250,250,250)}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after {padding: 0;margin: 0;box-sizing: border-box}
html { scroll-behavior: smooth; }
body {background: var(--fe_bg);font-size: 16px;line-height: 1.6;color: var(--fe_text);min-height: 100vh;font-family: 'IBM Plex Sans', sans-serif;user-select:auto;isolation:auto}
img {max-width: 100%;height: auto;display: block}
a {text-decoration: none;color: var(--fe_amber)}
a:hover { text-decoration: underline; }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 {line-height: 1.15;color: var(--fe_white);font-weight: 700;font-family: 'IBM Plex Sans', sans-serif}
h5, h6, .fe-mono { font-family: 'IBM Plex Mono', monospace; }
h1 { font-size: clamp(2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.65rem); }
p  { color: var(--fe_text); }

/* ── Layout ─────────────────────────────────────────────────── */
.fe-container {padding: 0 20px;width: 100%;margin: 0 auto;max-width: 1160px}
.fe-section   { padding: 72px 0; }

/* ── Nav ────────────────────────────────────────────────────── */
.fe-nav {z-index: 100;background: var(--fe_bg);position: sticky;border-bottom: var(--fe_bd-thick) solid var(--fe_amber);top: 0}
.fe-nav__inner {align-items: center;max-width: 1160px;margin: 0 auto;justify-content: space-between;display: flex;height: 60px;padding: 0 20px}
.fe-nav__logo {font-size: 1.3rem;color: var(--fe_white);letter-spacing: .08em;font-weight: 600;font-family: 'IBM Plex Mono', monospace}
.fe-nav__logo span { color: var(--fe_amber); }
.fe-nav__links {list-style: none;gap: 26px;display: flex}
.fe-nav__links a {font-size: .82rem;text-transform: uppercase;letter-spacing: .06em;font-family: 'IBM Plex Mono', monospace;transition: color .2s;color: var(--fe_muted)}
.fe-nav__links a:hover {color: var(--fe_amber);text-decoration: none}
.fe-nav__cta {padding: 8px 18px;font-size: .82rem;border-radius: var(--fe_r);font-weight: 600;background: var(--fe_amber);text-transform: uppercase;font-family: 'IBM Plex Mono', monospace;color: #000 !important;transition: background .2s;letter-spacing: .08em}
.fe-nav__cta:hover {text-decoration: none;background: var(--fe_amber-lt)}
.fe-burger {cursor: pointer;background: none;border: none;gap: 5px;padding: 4px;display: none;flex-direction: column}
.fe-burger span {height: 2px;display: block;width: 22px;transition: all .3s;background: var(--fe_text)}
.fe-nav__mobile { display: none; }

/* ── Hero ────────────────────────────────────────────────────── */
.fe-hero {padding: 64px 0 56px;border-bottom: var(--fe_bd-thick) solid var(--fe_border);background: var(--fe_surface)}
.fe-hero__inner {display: grid;gap: 48px;grid-template-columns: 1fr 400px;align-items: start}
.fe-hero__tag {font-size: .72rem;text-transform: uppercase;margin-bottom: 18px;display: inline-flex;letter-spacing: .08em;padding: 4px 12px;border: 1px solid var(--fe_border);font-family: 'IBM Plex Mono', monospace;align-items: center;gap: 6px;background: var(--fe_card);color: var(--fe_amber);border-radius: var(--fe_r)}
.fe-hero__h1 { margin-bottom: 16px; }
.fe-hero__h1 em {color: var(--fe_amber);font-style: normal}
.fe-hero__lead {margin-bottom: 28px;font-size: 1rem;max-width: 460px;color: var(--fe_muted)}
.fe-hero__actions {gap: 12px;flex-wrap: wrap;display: flex}

/* Star rating block */
.fe-star-block {border: 1px solid var(--fe_border);align-items: center;padding: 12px 16px;border-radius: var(--fe_r);margin-bottom: 18px;background: var(--fe_card);display: flex;gap: 10px}
.fe-star-block__stars {letter-spacing: 3px;font-size: 1.3rem;color: var(--fe_amber)}
.fe-star-block__num {color: var(--fe_white);font-size: 1.4rem;font-weight: 600;font-family: 'IBM Plex Mono', monospace}
.fe-star-block__label {font-size: .78rem;color: var(--fe_muted)}

/* Score breakdown table (signature) */
.fe-score-table {box-shadow: var(--fe_shadow);overflow: hidden;background: var(--fe_card);border: var(--fe_bd-thick) solid var(--fe_border);border-radius: var(--fe_r-lg)}
.fe-score-table__head {align-items: center;display: flex;padding: 12px 18px;background: var(--fe_amber);justify-content: space-between}
.fe-score-table__head h3 {letter-spacing: .06em;font-size: 1rem;font-family: 'IBM Plex Mono', monospace;font-weight: 700;text-transform: uppercase;color: #000}
.fe-score-table__overall {color: rgb(0,0,0);font-size: 1.4rem;font-family: 'IBM Plex Mono', monospace;font-weight: 700}
.fe-score-rows { padding: 10px 0; }
.fe-score-row {align-items: center;padding: 10px 18px;border-bottom: 1px solid var(--fe_border);display: grid;grid-template-columns: 130px 1fr 44px;gap: 12px}
.fe-score-row:last-child { border-bottom: none; }
.fe-score-row__name {font-family: 'IBM Plex Mono', monospace;letter-spacing: .06em;font-size: .78rem;color: var(--fe_muted);text-transform: uppercase}
.fe-score-row__bar {position: relative;height: 6px;border-radius: var(--fe_r);background: var(--fe_border)}
.fe-score-row__fill {background: var(--fe_amber);border-radius: var(--fe_r);height: 100%}
.fe-score-row__val {font-size: .88rem;text-align: right;color: var(--fe_white);font-weight: 600;font-family: 'IBM Plex Mono', monospace}
.fe-score-table__footer {border-top: var(--fe_bd-thick) solid var(--fe_border);padding: 14px 18px}

/* ── Buttons ─────────────────────────────────────────────────── */
.fe-btn {padding: 13px 24px;text-transform: uppercase;cursor: pointer;display: inline-flex;gap: 8px;letter-spacing: .06em;border-radius: var(--fe_r);text-decoration: none !important;font-size: .88rem;font-weight: 600;border: none;transition: all .2s;align-items: center;font-family: 'IBM Plex Mono', monospace}
.fe-btn--primary {color: rgba(0,0,0,1);background: var(--fe_amber)}
.fe-btn--primary:hover {background: var(--fe_amber-lt);transform: translateY(-1px)}
.fe-btn--outline {color: var(--fe_text);background: transparent;border: var(--fe_bd-thick) solid var(--fe_border)}
.fe-btn--outline:hover {color: var(--fe_amber);border-color: var(--fe_amber)}
.fe-btn--sm {font-size: .78rem;padding: 8px 16px}
.fe-btn--full {justify-content: center;width: 100%}

/* ── Feature Cards ───────────────────────────────────────────── */
.fe-features { background: var(--fe_bg); }
.fe-features__head { margin-bottom: 44px; }
.fe-features__head h2 { margin-bottom: 8px; }
.fe-features__head p { color: var(--fe_muted); }
.fe-features__grid {border: var(--fe_bd-thick) solid var(--fe_border);gap: 2px;background: var(--fe_border);display: grid;grid-template-columns: repeat(3, 1fr)}
.fe-feat-card {transition: background .2s;background: var(--fe_card);padding: 28px 22px}
.fe-feat-card:hover { background: var(--fe_surface); }
.fe-feat-card__num {font-size: .72rem;text-transform: uppercase;letter-spacing: .12em;font-family: 'IBM Plex Mono', monospace;color: var(--fe_amber);margin-bottom: 14px}
.fe-feat-card__icon {font-size: 1.6rem;margin-bottom: 14px}
.fe-feat-card__title {font-weight: 700;font-size: 1.05rem;margin-bottom: 10px;color: var(--fe_white)}
.fe-feat-card__text {line-height: 1.65;color: var(--fe_muted);font-size: .88rem}

/* ── Star review row ─────────────────────────────────────────── */
.fe-reviews {background: var(--fe_surface);border-bottom: var(--fe_bd-thick) solid var(--fe_border);border-top: var(--fe_bd-thick) solid var(--fe_border)}
.fe-reviews__head { margin-bottom: 28px; }
.fe-reviews__grid {grid-template-columns: repeat(3, 1fr);background: var(--fe_border);gap: 2px;display: grid}
.fe-review-card {padding: 22px 20px;background: var(--fe_card)}
.fe-review-card__stars {color: var(--fe_amber);margin-bottom: 10px;letter-spacing: 2px;font-size: .95rem}
.fe-review-card__text {font-size: .9rem;margin-bottom: 14px;line-height: 1.6;color: var(--fe_muted);font-style: italic}
.fe-review-card__author {color: var(--fe_amber);font-size: .75rem;font-family: 'IBM Plex Mono', monospace;letter-spacing: .06em;text-transform: uppercase}

/* ── FAQ ─────────────────────────────────────────────────────── */
.fe-faq { background: var(--fe_bg); }
.fe-faq__head { margin-bottom: 40px; }
.fe-faq__head p {color: var(--fe_muted);margin-top: 8px}
.fe-faq__list {border: var(--fe_bd-thick) solid var(--fe_border);display: flex;gap: 0;flex-direction: column}
.fe-faq-item {transition: background .15s;border-bottom: 1px solid var(--fe_border)}
.fe-faq-item:last-child { border-bottom: none; }
.fe-faq-item:focus-within { background: var(--fe_surface); }
.fe-faq-item__q {font-size: .95rem;gap: 16px;text-align: left;font-weight: 600;color: var(--fe_white);background: none;width: 100%;display: flex;justify-content: space-between;cursor: pointer;padding: 18px 20px;align-items: center;font-family: 'IBM Plex Sans', sans-serif;border: none}
.fe-faq-item__q:hover { color: var(--fe_amber); }
.fe-faq-item__mark {font-family: 'IBM Plex Mono', monospace;color: var(--fe_amber);flex-shrink: 0;font-size: .75rem;transition: transform .3s}
.fe-faq-item[data-open] .fe-faq-item__mark { transform: rotate(45deg); }
.fe-faq-item__a {transition: max-height .35s ease, padding .35s;padding: 0 20px;overflow: hidden;max-height: 0}
.fe-faq-item[data-open] .fe-faq-item__a {padding: 0 20px 18px;max-height: 400px}
.fe-faq-item__a p {color: var(--fe_muted);font-size: .9rem;line-height: 1.7}

/* ── Payments ────────────────────────────────────────────────── */
.fe-payments { background: var(--fe_surface); }
.fe-payments__head { margin-bottom: 36px; }
.fe-payments__head p {color: var(--fe_muted);margin-top: 8px}
.fe-pay-grid {gap: 2px;grid-template-columns: repeat(5, 1fr);display: grid;background: var(--fe_border);border: var(--fe_bd-thick) solid var(--fe_border)}
.fe-pay-card {text-align: center;background: var(--fe_card);transition: background .2s;padding: 20px 14px}
.fe-pay-card:hover { background: var(--fe_surface); }
.fe-pay-card__icon {font-size: 1.8rem;margin-bottom: 8px}
.fe-pay-card__name {font-family: 'IBM Plex Mono', monospace;font-weight: 600;text-transform: uppercase;font-size: .75rem;letter-spacing: .06em;color: var(--fe_text)}
.fe-pay-card__time {color: var(--fe_muted);margin-top: 4px;font-size: .7rem}

/* ── CTA ─────────────────────────────────────────────────────── */
.fe-cta-section {text-align: center;background: var(--fe_surface);padding: 72px 0;border-top: var(--fe_bd-thick) solid var(--fe_amber)}
.fe-cta-section h2 { margin-bottom: 14px; }
.fe-cta-section p {font-size: 1rem;margin-bottom: 28px;color: var(--fe_muted)}
.fe-cta-section .fe-btn--primary {font-size: .95rem;padding: 15px 32px}

/* ── Footer ─────────────────────────────────────────────────── */
.fe-footer {padding: 54px 0 28px;background: rgba(0,0,0,1);border-top: var(--fe_bd-thick) solid var(--fe_border)}
.fe-footer__grid {display: grid;grid-template-columns: 1.5fr 1fr 1fr 1fr;gap: 40px;margin-bottom: 44px}
.fe-footer__brand {letter-spacing: .06em;font-size: 1.3rem;color: var(--fe_white);font-weight: 600;font-family: 'IBM Plex Mono', monospace;margin-bottom: 14px}
.fe-footer__brand span { color: var(--fe_amber); }
.fe-footer__desc {line-height: 1.65;font-size: .85rem;color: var(--fe_muted)}
.fe-footer__col h4 {font-weight: 600;letter-spacing: .1em;color: var(--fe_muted);margin-bottom: 14px;font-size: .68rem;font-family: 'IBM Plex Mono', monospace;text-transform: uppercase}
.fe-footer__col ul {flex-direction: column;gap: 8px;display: flex;list-style: none}
.fe-footer__col ul a {font-size: .88rem;color: var(--fe_muted);transition: color .2s}
.fe-footer__col ul a:hover {color: var(--fe_amber);text-decoration: none}
.fe-footer__bottom {display: flex;flex-wrap: wrap;border-top: 1px solid var(--fe_border);justify-content: space-between;align-items: center;gap: 12px;padding-top: 22px}
.fe-footer__copy {color: var(--fe_muted);font-size: .8rem}
.fe-footer__warn {max-width: 500px;font-size: .75rem;text-align: right;color: var(--fe_muted)}

/* ── Sticky CTA ─────────────────────────────────────────────── */
.sf-sticky-cta {bottom: 0;transform: translateY(100%);right: 0;position: fixed;transition: transform .4s cubic-bezier(.22,1,.36,1);background: var(--fe_amber);border-top: var(--fe_bd-thick) solid var(--fe_amber-dk);z-index: 200;left: 0}
.sf-sticky-cta.is-visible { transform: translateY(0); }
.sf-sticky-cta__inner {margin: 0 auto;padding: 12px 20px;justify-content: space-between;gap: 16px;max-width: 1160px;display: flex;align-items: center}
.sf-sticky-cta__text {color: #000;font-weight: 600;letter-spacing: .06em;text-transform: uppercase;font-size: .88rem;font-family: 'IBM Plex Mono', monospace}
.sf-sticky-cta__text span { text-decoration: underline; }
.sf-sticky-cta__actions {gap: 12px;align-items: center;display: flex}
.sf-sticky-cta__close {background: none;font-size: 1.1rem;padding: 4px;cursor: pointer;border: none;color: rgba(0,0,0,.6)}
.sf-sticky-cta__close:hover { color: #000; }

/* ── Legal / inner ───────────────────────────────────────────── */
.fe-page-hero {background: var(--fe_surface);border-bottom: var(--fe_bd-thick) solid var(--fe_border);padding: 50px 0 40px}
.fe-page-hero__tag {margin-bottom: 10px;letter-spacing: .1em;font-family: 'IBM Plex Mono', monospace;font-weight: 600;text-transform: uppercase;font-size: .72rem;color: var(--fe_amber)}
.fe-content {margin: 0 auto;max-width: 780px}
.fe-content h2 {padding-left: 14px;font-size: 1.5rem;margin: 36px 0 12px;border-left: var(--fe_bd-thick) solid var(--fe_amber)}
.fe-content p  {color: var(--fe_muted);margin-bottom: 16px}
.fe-content ul, .fe-content ol { margin: 0 0 16px 22px; }
.fe-content li {color: var(--fe_muted);margin-bottom: 8px}

/* ── Login ───────────────────────────────────────────────────── */
.fe-login-wrap {justify-content: center;display: flex;align-items: center;padding: 60px 20px;min-height: 80vh}
.fe-login-card {border-top: var(--fe_bd-thick) solid var(--fe_amber);width: 100%;padding: 44px 40px;max-width: 440px;border: var(--fe_bd-thick) solid var(--fe_border);border-radius: var(--fe_r-lg);background: var(--fe_surface)}
.fe-login-card h2 {margin-bottom: 8px;text-align: center}
.fe-login-card__sub {font-size: .9rem;margin-bottom: 28px;text-align: center;color: var(--fe_muted)}
.fe-form {flex-direction: column;gap: 16px;display: flex}
.fe-form label {margin-bottom: 6px;color: var(--fe_muted);font-family: 'IBM Plex Mono', monospace;letter-spacing: .08em;display: block;text-transform: uppercase;font-size: .75rem;font-weight: 600}
.fe-form input {transition: border-color .2s;background: var(--fe_card);font-size: .9rem;color: var(--fe_white);padding: 12px 14px;width: 100%;font-family: 'IBM Plex Mono', monospace;border: 1.5px solid var(--fe_border);border-radius: var(--fe_r)}
.fe-form input:focus {outline: none;border-color: var(--fe_amber)}
.fe-form__hint {font-size: .78rem;text-align: center;margin-top: 4px;color: var(--fe_muted)}

/* ── Mobile ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .fe-hero__inner { grid-template-columns: 1fr; }
  .fe-features__grid { grid-template-columns: repeat(2, 1fr); }
  .fe-reviews__grid { grid-template-columns: 1fr; }
  .fe-pay-grid { grid-template-columns: repeat(3, 1fr); }
  .fe-footer__grid { grid-template-columns: 1fr 1fr; }
  .fe-nav__links { display: none; }
  .fe-nav__cta { display: none; }
  .fe-burger { display: flex; }
  .fe-nav__mobile {gap: 12px;padding: 16px 20px;border-top: 1px solid var(--fe_border);display: none;background: var(--fe_surface);flex-direction: column}
  .fe-nav__mobile.is-open { display: flex; }
  .fe-nav__mobile a {border-bottom: 1px solid var(--fe_border);padding: 8px 0;font-size: .92rem;color: var(--fe_text)}
}
@media (max-width: 540px) {
  .fe-features__grid { grid-template-columns: 1fr; }
  .fe-pay-grid { grid-template-columns: repeat(2, 1fr); }
  .fe-footer__grid { grid-template-columns: 1fr; }
  .fe-login-card { padding: 28px 22px; }
}

/* siteforge-footer-overlap-guard: stable mobile footer layout + sticky CTA clearance */
:where(footer,[class*='-footer']){overflow:visible;position:relative;z-index:1}
:where([class*='footer__grid'],[class*='footer__strip'],[class*='footer__bar']){min-width:0}
:where([class*='footer__grid'],[class*='footer__strip'],[class*='footer__bar'])>*{min-width:0;max-width:100%}
:where([class*='footer__brandblock'],[class*='footer__summary'],[class*='footer__meta'],[class*='footer__copy'],[class*='footer__warn'],[class*='linkstack']){overflow-wrap:anywhere;word-break:break-word}
@media(max-width:760px){
  .sf-has-sticky-cta :where([class*='-shell']),.sf-has-sticky-cta main{padding-bottom:calc(140px + env(safe-area-inset-bottom,0px)) !important}
  .sf-has-sticky-cta main~footer,.sf-has-sticky-cta :where(footer,[class$='-footer']){padding-bottom:calc(112px + env(safe-area-inset-bottom,0px)) !important}
  :where([class*='footer__grid'],[class*='footer__strip'],[class*='footer__bar']){display:grid !important;grid-template-columns:1fr !important;align-items:start !important;gap:16px !important}
  :where([class*='footer__summary'],[class*='footer__bottom']){text-align:left;gap:10px;display:flex;flex-direction:column;align-items:flex-start}
  :where([class*='footer__brand']){max-height:110px;margin-bottom:12px;clear:both;float:none !important;max-width:110px}
}
