/* ==========================================================================
   erpconnect.red — main stylesheet
   Design tokens + base + layout + components, mobile-first.
   ========================================================================== */

/* ---- Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500&display=swap');

/* ---- Tokens (light default) ---- */
:root{
  --bg:#FAF8F5;
  --surface:#FFFFFF;
  --inverse:#17130F;
  --ink:#17130F;
  --muted:#4A443D;
  --subtle:#6B635A;
  --line:#E7E1D8;
  --orange-text:#B85400;
  --red-text:#9E0C24;
  --red-hover:#C8102E;
  --red-tint:#FBE8EB;
  --header:rgba(250,248,245,.92);
  --accent-orange:#EE7203;
  color-scheme:light;
}
:root[data-theme="dark"]{
  --bg:#120F0C;--surface:#1B1713;--inverse:#24201B;--ink:#F2EDE6;--muted:#C2B9AE;
  --subtle:#9A9086;--line:#2F2923;--orange-text:#F3A15A;--red-text:#C8102E;--red-hover:#FF6B7F;
  --red-tint:#3A1219;--header:rgba(18,15,12,.88);color-scheme:dark;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:#120F0C;--surface:#1B1713;--inverse:#24201B;--ink:#F2EDE6;--muted:#C2B9AE;
    --subtle:#9A9086;--line:#2F2923;--orange-text:#F3A15A;--red-text:#C8102E;--red-hover:#FF6B7F;
    --red-tint:#3A1219;--header:rgba(18,15,12,.88);color-scheme:dark;
  }
}

/* ---- Reset / base ---- */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;background:var(--bg);color:var(--ink);
  font-family:'Schibsted Grotesk',system-ui,sans-serif;
  -webkit-font-smoothing:antialiased;
  transition:background .2s,color .2s;
}
img{max-width:100%;display:block}
a{color:var(--red-text);text-decoration:none}
a:hover{color:var(--red-hover)}
input,textarea,button{font-family:inherit}
h1,h2,h3,h4,p,ol,ul{margin:0}
ul,ol{padding:0;list-style:none}
button{cursor:pointer}
.mono{font-family:'IBM Plex Mono',monospace}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---- Layout helpers ---- */
.wrap{max-width:1240px;margin:0 auto;padding:0 20px}
@media (min-width:600px){.wrap{padding:0 28px}}
.page{min-height:100vh;display:flex;flex-direction:column}
.section{padding:56px 0 64px}
@media (min-width:700px){.section{padding:72px 0 80px}}
@media (min-width:1000px){.section{padding:96px 0}}
.section-surface{background:var(--surface);border-top:1px solid var(--line)}
.section-surface.bordered-bottom{border-bottom:1px solid var(--line)}
.section-dark{background:var(--inverse);color:#fff}
#usecases,#how,#security,#docs,#pricing,#contact{scroll-margin-top:72px}

.eyebrow{
  display:flex;align-items:center;gap:10px;
  font:500 13px/1 'IBM Plex Mono',monospace;color:var(--orange-text);
  text-transform:uppercase;letter-spacing:.08em;
}
.eyebrow::before{content:"";width:18px;height:2px;background:var(--accent-orange)}
.eyebrow.on-dark{color:var(--accent-orange)}

.section-head{display:flex;flex-direction:column;gap:14px;max-width:720px}
.section-head.wide{max-width:760px}
.section-head h2{
  font-size:clamp(32px,4vw,52px);letter-spacing:-.035em;font-weight:800;line-height:1.05;
}
.section-head p{font-size:18px;line-height:1.6;color:var(--muted)}

/* ---- Grids ---- */
.grid{display:grid;gap:16px}
.grid-3{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}
.grid-4{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}
.grid-steps{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:28px}
.grid-2-wide{grid-template-columns:repeat(auto-fit,minmax(min(100%,440px),1fr));gap:56px}
.grid-2-wide.align-center{align-items:center}
.grid-pricing{grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:20px;align-items:start}
.grid-security{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header{
  position:sticky;top:0;z-index:20;background:var(--header);
  backdrop-filter:blur(10px);border-bottom:1px solid var(--line);
}
.site-header .wrap{
  height:60px;display:flex;align-items:center;gap:8px;
}
@media (min-width:980px){.site-header .wrap{gap:28px}}
.brand{display:flex;align-items:baseline;gap:10px;color:var(--ink);white-space:nowrap}
.brand-name{font-weight:800;font-size:20px;letter-spacing:-.02em}
.brand-name .red{color:var(--red-text)}
.brand-tagline{
  display:none;align-items:center;gap:5px;font-size:12px;color:var(--subtle);font-weight:500;
}
.brand-tagline::before{content:"";width:7px;height:7px;border-radius:2px;background:var(--accent-orange)}
@media (min-width:1240px){.brand-tagline{display:flex}}

.main-nav{display:none;gap:18px;margin-left:auto;font-size:14px;font-weight:500;white-space:nowrap}
@media (min-width:980px){.main-nav{display:flex}}
.main-nav a{color:var(--ink)}
.main-nav a:hover{color:var(--red-text)}

.header-tools{display:none;align-items:center;gap:6px;margin-left:auto;flex:none}
@media (min-width:980px){.header-tools{display:flex}}

.btn{
  display:inline-flex;align-items:center;justify-content:center;
  font-weight:600;font-size:16px;border-radius:10px;padding:15px 22px;border:0;
}
.btn-primary{background:var(--red-text);color:#fff}
.btn-primary:hover{background:var(--red-hover);color:#fff}
.btn-outline{background:transparent;color:var(--ink);border:1.5px solid var(--ink)}
.btn-outline:hover{background:var(--ink);color:var(--bg)}
.btn-small{padding:8px 14px;border-radius:7px;font-size:14px}
.btn-block{width:100%;text-align:center}

.lang-menu{position:relative}
.lang-toggle{
  cursor:pointer;border:0;background:transparent;color:var(--subtle);
  font:500 12px/1 'IBM Plex Mono',monospace;padding:8px;border-radius:6px;
  display:flex;align-items:center;gap:6px;
}
.lang-toggle:hover{color:var(--ink)}
.lang-toggle .caret{width:5px;height:5px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg)}
.lang-dropdown{
  position:absolute;right:0;top:calc(100% + 8px);min-width:200px;background:var(--surface);
  border:1px solid var(--line);border-radius:10px;box-shadow:0 12px 32px -12px rgba(23,19,15,.25);
  padding:6px;display:none;flex-direction:column;gap:2px;z-index:30;
}
.lang-menu.open .lang-dropdown{display:flex}
.lang-dropdown a{
  cursor:pointer;text-align:left;padding:8px 10px;border-radius:6px;display:flex;align-items:center;gap:10px;
  font-size:14px;color:var(--ink);
}
.lang-dropdown a:hover{background:var(--bg)}
.lang-dropdown a .code{font:500 11px 'IBM Plex Mono',monospace;color:var(--subtle);width:18px}
.lang-dropdown a .name{flex:1}
.lang-dropdown a .dot{width:6px;height:6px;border-radius:50%;background:transparent}
.lang-dropdown a.active .dot{background:var(--red-text)}
.lang-dropdown a.active{color:var(--ink)}
.lang-divider{height:1px;background:var(--line);margin:4px 6px}

.theme-toggle{
  cursor:pointer;border:0;background:transparent;text-align:left;padding:8px 10px;border-radius:6px;
  display:flex;align-items:center;gap:10px;font-size:14px;color:var(--ink);width:100%;
}
.theme-toggle:hover{background:var(--bg)}
.theme-dot{width:12px;height:12px;border-radius:50%;border:1.5px solid currentColor;background:linear-gradient(90deg,currentColor 50%,transparent 50%);flex:none}

.burger{
  margin-left:auto;cursor:pointer;border:0;background:transparent;width:44px;height:44px;
  margin-right:-10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:var(--ink);
}
@media (min-width:980px){.burger{display:none}}
.burger .bar{width:20px;height:2px;border-radius:1px;background:currentColor;transition:transform .2s,opacity .2s}
.burger[aria-expanded="true"] .bar1{transform:translateY(7px) rotate(45deg)}
.burger[aria-expanded="true"] .bar2{opacity:0}
.burger[aria-expanded="true"] .bar3{transform:translateY(-7px) rotate(-45deg)}

.header-cta-mobile{margin-left:auto;white-space:nowrap}
@media (min-width:980px){.header-cta-mobile{display:none}}
@media (max-width:459px){.header-cta-mobile{display:none}}

.mobile-nav{
  border-top:1px solid var(--line);background:var(--bg);max-height:calc(100vh - 60px);overflow-y:auto;display:none;
}
.mobile-nav.open{display:block}
@media (min-width:980px){.mobile-nav{display:none !important}}
.mobile-nav-links{padding:8px 20px 0;display:flex;flex-direction:column}
.mobile-nav-links a{
  padding:14px 0;border-bottom:1px solid var(--line);font-size:18px;font-weight:600;color:var(--ink);
  display:flex;justify-content:space-between;align-items:center;
}
.mobile-nav-links a:hover{color:var(--red-text)}
.mobile-nav-links a .arrow{color:var(--subtle)}
.mobile-nav-foot{padding:20px;display:flex;flex-direction:column;gap:20px}
.mobile-nav-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.mobile-lang-list{display:flex;gap:4px}
.mobile-lang-btn{
  cursor:pointer;min-width:44px;height:36px;border-radius:7px;border:1px solid var(--line);background:transparent;
  color:var(--subtle);font:500 12px 'IBM Plex Mono',monospace;
}
.mobile-lang-btn.active{border-color:var(--ink);color:var(--ink)}
.mobile-theme-toggle{
  cursor:pointer;border:0;background:transparent;display:flex;align-items:center;gap:8px;font-size:14px;
  color:var(--subtle);height:36px;
}
.by-tambien{
  display:flex;align-items:center;gap:7px;font-size:14px;color:var(--subtle);padding-top:16px;
  border-top:1px solid var(--line);
}
.by-tambien:hover{color:var(--orange-text)}
.by-tambien::before{content:"";width:8px;height:8px;border-radius:2px;background:var(--accent-orange)}
.by-tambien strong{color:var(--ink)}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  padding:48px 0 56px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,460px),1fr));
  gap:40px;align-items:center;
}
@media (min-width:700px){.hero{padding:64px 0 72px;gap:56px}}
@media (min-width:1000px){.hero{padding:88px 0 96px;gap:64px}}
.hero-copy{display:flex;flex-direction:column;gap:28px}
.hero-copy h1{font-size:clamp(36px,5.4vw,68px);line-height:1.02;letter-spacing:-.035em;font-weight:800}
.hero-copy .lead{font-size:19px;line-height:1.55;color:var(--muted);max-width:540px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}

.hero-diagram{display:flex;flex-direction:column;align-items:stretch;max-width:480px;width:100%;justify-self:end}
.diag-card{
  background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:20px 22px;
  display:flex;justify-content:space-between;align-items:center;gap:16px;
}
.diag-card .title{font-weight:700;font-size:18px}
.diag-card .sub{font-size:14px;color:var(--subtle)}
.diag-card .badge{
  font:500 11px 'IBM Plex Mono',monospace;color:var(--subtle);border:1px solid var(--line);
  border-radius:5px;padding:4px 7px;white-space:nowrap;
}
.diag-connector{display:flex;align-items:center;gap:12px;padding:0 0 0 30px;height:52px}
.diag-connector .dash{width:2px;height:100%}
.diag-connector.red .dash{background:repeating-linear-gradient(var(--red-text) 0 6px,transparent 6px 11px)}
.diag-connector.dark .dash{background:repeating-linear-gradient(var(--ink) 0 6px,transparent 6px 11px)}
.diag-connector span.label{font:500 12px 'IBM Plex Mono',monospace;color:var(--subtle)}
.diag-hero-card{
  background:var(--red-text);color:#fff;border-radius:14px;padding:24px 22px;display:flex;flex-direction:column;gap:14px;
  box-shadow:0 18px 40px -18px rgba(200,16,46,.55);
}
.diag-hero-card .name{font-weight:800;font-size:24px;letter-spacing:-.02em}
.diag-chips{display:flex;flex-wrap:wrap;gap:6px}
.diag-chips span{font:500 12px 'IBM Plex Mono',monospace;background:rgba(255,255,255,.16);border-radius:5px;padding:5px 8px}
.diag-isah{
  background:var(--inverse);color:#fff;border-radius:14px;padding:20px 22px;
  display:flex;justify-content:space-between;align-items:center;gap:16px;
}
.diag-isah .sub{color:#B9B1A6}
.diag-isah .dot{width:10px;height:10px;border-radius:50%;background:var(--accent-orange)}

/* ==========================================================================
   Roles
   ========================================================================== */
.roles-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:1px;
  background:var(--line);border:1px solid var(--line);border-radius:14px;overflow:hidden;
}
.role-card{background:var(--surface);padding:32px 28px;display:flex;flex-direction:column;gap:14px}
.role-card .role{font:500 12px 'IBM Plex Mono',monospace;text-transform:uppercase;letter-spacing:.08em;color:var(--orange-text)}
.role-card h3{font-size:22px;line-height:1.25;letter-spacing:-.015em;font-weight:700}
.role-card p{font-size:16px;line-height:1.6;color:var(--muted);flex:1}
.role-card a{font-weight:600;font-size:15px}

/* ==========================================================================
   Use cases
   ========================================================================== */
.featured-box{
  background:var(--inverse);color:#fff;border-radius:18px;padding:28px;display:flex;flex-direction:column;gap:36px;
  margin:40px 0;
}
@media (min-width:700px){.featured-box{padding:40px}}
@media (min-width:1000px){.featured-box{padding:48px}}
.featured-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:20px}
.featured-head-copy{display:flex;flex-direction:column;gap:14px;max-width:640px}
.featured-tag{
  align-self:flex-start;font:500 12px 'IBM Plex Mono',monospace;background:var(--red-text);padding:5px 9px;
  border-radius:5px;text-transform:uppercase;letter-spacing:.06em;color:#fff;
}
.featured-head h3{font-size:clamp(26px,3vw,38px);line-height:1.1;letter-spacing:-.025em;font-weight:800}
.featured-more{color:#fff;font-weight:600;border-bottom:2px solid var(--accent-orange);padding-bottom:3px;white-space:nowrap}
.featured-more:hover{color:var(--accent-orange)}
.featured-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:28px}
.featured-step{display:flex;flex-direction:column;gap:12px;border-top:2px solid var(--step-line,#5A5249);padding-top:18px}
.featured-step .label{font:500 12px 'IBM Plex Mono',monospace;text-transform:uppercase;letter-spacing:.08em;color:var(--step-label,#B9B1A6)}
.featured-step p{font-size:16px;line-height:1.6;color:#D9D2C8}
.featured-step.step-1{--step-line:var(--accent-orange);--step-label:#F3A15A}
.featured-step.step-2,.featured-step.step-3{--step-line:#C8102E;--step-label:#FF6B7F}

.usecase-card{
  background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:26px 24px;
  display:flex;flex-direction:column;gap:12px;color:var(--ink);transition:border-color .15s,transform .15s;
}
.usecase-card:hover{border-color:var(--red-text);transform:translateY(-2px);color:var(--ink)}
.usecase-card h4{font-size:19px;font-weight:700;letter-spacing:-.01em;line-height:1.25}
.usecase-card p{font-size:15px;line-height:1.6;color:var(--muted);flex:1}
.usecase-card .more{font-weight:600;font-size:14px;color:var(--red-text)}

/* ==========================================================================
   How it works
   ========================================================================== */
.how-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.how-step{display:grid;grid-template-columns:48px 1fr;gap:16px;padding:18px 0;border-top:1px solid var(--line)}
.how-step .n{font:500 14px 'IBM Plex Mono',monospace;color:var(--red-text);padding-top:3px}
.how-step .body{display:flex;flex-direction:column;gap:6px}
.how-step strong{font-size:18px;font-weight:700}
.how-step span{font-size:16px;line-height:1.55;color:var(--muted)}

.code-panel{background:var(--inverse);border-radius:14px;overflow:hidden;min-width:0}
@media (min-width:1000px){.code-panel{position:sticky;top:96px}}
.code-panel-head{display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid #2E2822}
.code-panel-head .dot{width:9px;height:9px;border-radius:50%}
.code-panel-head .dot1{background:var(--red-text)}
.code-panel-head .dot2{background:var(--accent-orange)}
.code-panel-head .dot3{background:#3A332C}
.code-panel-head .filename{margin-left:8px;font:500 12px 'IBM Plex Mono',monospace;color:#8C8378}
.code-panel-body{padding:22px 24px;font:400 13.5px/1.75 'IBM Plex Mono',monospace;overflow-x:auto}
.code-panel-body div{white-space:pre;min-height:1.75em}
.c-comment{color:#8C8378}.c-method{color:#FF6B7F}.c-text{color:#E9E3DA}.c-token{color:#F3A15A}.c-ok{color:#9FD49A}

/* ==========================================================================
   Security
   ========================================================================== */
.security-card{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:24px 22px;display:flex;flex-direction:column;gap:16px}
.security-card .num{
  width:36px;height:36px;border-radius:9px;background:var(--red-tint);color:var(--red-text);
  display:flex;align-items:center;justify-content:center;font:600 13px 'IBM Plex Mono',monospace;
}
.security-card strong{font-size:18px;font-weight:700;letter-spacing:-.01em}
.security-card span{font-size:15px;line-height:1.55;color:var(--muted)}

/* ==========================================================================
   Docs
   ========================================================================== */
.docs-copy{display:flex;flex-direction:column;gap:18px}
.docs-copy p{color:#D9D2C8}
.docs-copy .btn{align-self:flex-start;margin-top:8px;background:#fff;color:#17130F}
.docs-copy .btn:hover{background:var(--accent-orange);color:#17130F}
.docs-log{border:1px solid #3A332C;border-radius:14px;overflow:hidden}
.docs-log-title{
  padding:14px 20px;border-bottom:1px solid #3A332C;font:500 12px 'IBM Plex Mono',monospace;color:#8C8378;
  text-transform:uppercase;letter-spacing:.08em;
}
.docs-log-item{padding:16px 20px;border-bottom:1px solid #2E2822;display:flex;align-items:center;gap:14px;font-size:16px}
.docs-log-item .dot{width:6px;height:6px;border-radius:50%;background:var(--red-text);flex:none}

/* ==========================================================================
   Pricing
   ========================================================================== */
.plan-card{background:var(--surface);border:1.5px solid var(--line);border-radius:18px;padding:24px;display:flex;flex-direction:column;gap:28px}
@media (min-width:700px){.plan-card{padding:36px}}
.plan-card.featured{border-color:var(--accent-orange)}
.plan-head{display:flex;flex-direction:column;gap:10px}
.plan-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.plan-tag{font:500 11px 'IBM Plex Mono',monospace;text-transform:uppercase;letter-spacing:.06em;padding:5px 9px;border-radius:5px;background:var(--bg);color:var(--subtle)}
.plan-card.featured .plan-tag{background:var(--accent-orange);color:#17130F}
.plan-price-row{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-top:8px}
.plan-price{font-size:clamp(36px,4vw,48px);font-weight:800;letter-spacing:-.03em;line-height:1}
.plan-price-row .once{font-size:16px;color:var(--muted)}
.plan-incl{font-size:15px;color:var(--muted)}
.plan-rows{display:flex;flex-direction:column}
.plan-row{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:14px 0;border-top:1px solid var(--line)}
.plan-row .left{display:flex;flex-direction:column;gap:4px;min-width:0}
.plan-row .left .l{font-size:15px;font-weight:600}
.plan-row .left .sub{font-size:13px;color:var(--subtle);line-height:1.45}
.plan-row .right{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex:none;text-align:right}
.plan-row .right .p{font:500 15px 'IBM Plex Mono',monospace;white-space:nowrap}
.plan-row .right .u{font-size:13px;color:var(--subtle);white-space:nowrap}
.plan-cta{align-self:flex-start;font-weight:600;font-size:15px}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-copy{display:flex;flex-direction:column;gap:14px}
.contact-copy .lead{font-size:18px;line-height:1.6;color:var(--muted);max-width:460px}
.contact-info{margin-top:20px;display:flex;flex-direction:column;gap:6px;font-size:15px;color:var(--muted)}
.contact-info strong{color:var(--ink)}

.contact-form{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:20px;display:flex;flex-direction:column;gap:20px}
@media (min-width:700px){.contact-form{padding:32px}}
.form-group{display:flex;flex-direction:column;gap:10px}
.form-group .group-label{font-size:14px;font-weight:600}
.type-pills{display:flex;flex-wrap:wrap;gap:8px}
.type-pill{
  cursor:pointer;font-size:14px;font-weight:500;padding:9px 14px;border-radius:999px;border:1.5px solid var(--line);
  background:var(--surface);color:var(--ink);
}
.type-pill.active{border-color:var(--red-text);background:var(--red-text);color:#fff}
.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:16px}
.field{display:flex;flex-direction:column;gap:8px;font-size:14px;font-weight:600}
.field input,.field textarea{
  font-size:16px;padding:12px 14px;border:1.5px solid var(--line);border-radius:10px;background:var(--bg);
  outline:none;color:var(--ink);
}
.field input:focus,.field textarea:focus{border-color:var(--red-text);background:var(--surface)}
.field textarea{resize:vertical}
.honeypot-field{position:absolute;left:-9999px;top:-9999px;opacity:0;height:0;width:0;overflow:hidden}

.success-box{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:40px 32px;display:flex;flex-direction:column;gap:12px}
.success-box .dot{width:40px;height:40px;border-radius:50%;background:var(--red-text)}
.success-box strong{font-size:22px}

/* ==========================================================================
   Thank-you page
   ========================================================================== */
.thanks-section{padding:120px 0;display:flex;justify-content:center}
.thanks-box{max-width:520px;text-align:center;display:flex;flex-direction:column;gap:20px;align-items:center}
.thanks-box .dot{width:56px;height:56px;border-radius:50%;background:var(--red-text)}
.thanks-box h1{font-size:clamp(28px,4vw,40px);font-weight:800;letter-spacing:-.03em}
.thanks-box p{font-size:17px;line-height:1.6;color:var(--muted)}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{border-top:1px solid var(--line);background:var(--surface);margin-top:auto}
.footer-top{padding:48px 0 36px;display:flex;flex-direction:column;gap:36px}
.footer-row{display:flex;flex-wrap:wrap;justify-content:space-between;gap:32px;align-items:flex-start}
.footer-brand{display:flex;flex-direction:column;gap:10px}
.footer-brand .brand-name{font-size:22px}
.footer-family{display:flex;flex-direction:column;gap:12px}
.footer-family-label{font:500 12px 'IBM Plex Mono',monospace;text-transform:uppercase;letter-spacing:.08em;color:var(--subtle)}
.footer-family-links{display:flex;flex-wrap:wrap;gap:8px}
.footer-family-links a{
  font-weight:600;font-size:15px;color:var(--ink);padding:8px 12px;border:1px solid var(--line);border-radius:8px;
}
.footer-family-links a:hover{border-color:var(--red-text);color:var(--ink)}
.footer-family-links a.orange:hover{border-color:var(--accent-orange)}
.footer-bottom{
  display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;font-size:13px;color:var(--subtle);
  border-top:1px solid var(--line);padding-top:20px;
}
