/* ============================================================
   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_bg:       #0c0c0c;--fe_r-lg:     6px;--fe_white:    #fafafa;--fe_surface:  #141414;--fe_amber-dk: #d97706;--fe_r:        4px;--fe_border:   #2d2d2d;--fe_amber:    #f59e0b;--fe_bd-thick: 3px;--fe_text:     #d4d4d8;--fe_card:     #1c1c1c;--fe_muted:    rgba(161,161,170,1);--fe_shadow:   0 4px 20px rgba(0,0,0,.6);--fe_border-hv:rgb(245,158,11);--fe_amber-lt: #fcd34d}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after {margin: 0;padding: 0;box-sizing: border-box}
html { scroll-behavior: smooth; }
body {font-family: 'IBM Plex Sans', sans-serif;line-height: 1.6;min-height: 100vh;color: var(--fe_text);font-size: 16px;background: var(--fe_bg);isolation:auto;outline-offset:0}
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;font-family: 'IBM Plex Sans', sans-serif;font-weight: 700;color: var(--fe_white)}
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%;max-width: 1160px;margin: 0 auto}
.fe-section   { padding: 72px 0; }

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

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

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

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

/* ── Buttons ─────────────────────────────────────────────────── */
.fe-btn {font-weight: 600;transition: all .2s;cursor: pointer;text-decoration: none !important;font-family: 'IBM Plex Mono', monospace;text-transform: uppercase;display: inline-flex;border-radius: var(--fe_r);align-items: center;letter-spacing: .06em;gap: 8px;padding: 13px 24px;border: none;font-size: .88rem}
.fe-btn--primary {background: var(--fe_amber);color: #000}
.fe-btn--primary:hover {background: var(--fe_amber-lt);transform: translateY(-1px)}
.fe-btn--outline {background: transparent;color: var(--fe_text);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 {grid-template-columns: repeat(3, 1fr);display: grid;gap: 2px;border: var(--fe_bd-thick) solid var(--fe_border);background: var(--fe_border)}
.fe-feat-card {background: var(--fe_card);transition: background .2s;padding: 28px 22px}
.fe-feat-card:hover { background: var(--fe_surface); }
.fe-feat-card__num {text-transform: uppercase;color: var(--fe_amber);font-family: 'IBM Plex Mono', monospace;margin-bottom: 14px;font-size: .72rem;letter-spacing: .12em}
.fe-feat-card__icon {font-size: 1.6rem;margin-bottom: 14px}
.fe-feat-card__title {margin-bottom: 10px;font-weight: 700;font-size: 1.05rem;color: var(--fe_white)}
.fe-feat-card__text {color: var(--fe_muted);font-size: .88rem;line-height: 1.65}

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

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

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

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

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

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

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

/* ── 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 {border-top: 1px solid var(--fe_border);background: var(--fe_surface);flex-direction: column;gap: 12px;padding: 16px 20px;display: none}
  .fe-nav__mobile.is-open { display: flex; }
  .fe-nav__mobile a {color: var(--fe_text);padding: 8px 0;border-bottom: 1px solid var(--fe_border);font-size: .92rem}
}
@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']){position:relative;z-index:1;overflow:visible}
: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']){word-break:break-word;overflow-wrap:anywhere}
@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;gap:16px !important;grid-template-columns:1fr !important;align-items:start !important}
  :where([class*='footer__summary'],[class*='footer__bottom']){gap:10px;text-align:left;flex-direction:column;align-items:flex-start;display:flex}
  :where([class*='footer__brand']){clear:both;max-height:110px;float:none !important;max-width:110px;margin-bottom:12px}
}
