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

/* ---- 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;
  --band:#F0E9DE;
  --header:rgba(250,248,245,.92);
  --accent-orange:#EE7203;
  color-scheme:light;
}
:root[data-theme="dark"]{
  --bg:#120F0C;--surface:#27211A;--inverse:#24201B;--ink:#F2EDE6;--muted:#C2B9AE;
  --subtle:#9A9086;--line:#453B31;--orange-text:#F3A15A;--red-text:#C8102E;--red-hover:#FF6B7F;
  --red-tint:#3A1219;--header:rgba(18,15,12,.88);--band:#24201B;color-scheme:dark;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:#120F0C;--surface:#27211A;--inverse:#24201B;--ink:#F2EDE6;--muted:#C2B9AE;
    --subtle:#9A9086;--line:#453B31;--orange-text:#F3A15A;--red-text:#C8102E;--red-hover:#FF6B7F;
    --red-tint:#3A1219;--header:rgba(18,15,12,.88);--band:#24201B;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(--band);color:var(--ink)}
#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.on-dark{color:var(--orange-text)}

.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}

/* ==========================================================================
   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}
.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)}
.main-nav a.active{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.active{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-block:48px 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-block:64px 72px;gap:56px}}
@media (min-width:1000px){.hero{padding-block:88px 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-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);
}
.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}

/* ==========================================================================
   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}
.c-key{color:#F3A15A}.c-str{color:#9FD49A}.c-punc{color:#B9B1A6}

/* ==========================================================================
   Security
   ========================================================================== */

/* ==========================================================================
   Docs
   ========================================================================== */
.docs-copy{display:flex;flex-direction:column;gap:18px}
.docs-copy p{color:var(--muted)}
.docs-copy .btn{align-self:flex-start;margin-top:8px}
.docs-log{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--surface)}
.docs-log-title{
  padding:14px 20px;border-bottom:1px solid var(--line);font:500 12px 'IBM Plex Mono',monospace;color:var(--subtle);
  text-transform:uppercase;letter-spacing:.08em;
}
.docs-log-item{padding:16px 20px;border-bottom:1px solid var(--line);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}

.docs-shot-wrap{margin-top:48px}
.docs-shot-frame{border-radius:14px;overflow:hidden;border:1px solid var(--line);box-shadow:0 20px 60px rgba(23,19,15,.18)}
.docs-shot-bar{display:flex;gap:6px;padding:12px 16px;background:#E7E1D8}
.docs-shot-bar span{width:10px;height:10px;border-radius:50%;background:#FFFFFF}
.docs-shot-body{position:relative}
.docs-shot-img{width:100%;display:block}
.docs-shot-scrollbar{position:absolute;top:2px;right:2px;bottom:2px;width:8px}
.docs-shot-scrollbar-thumb{position:absolute;left:0;right:0;height:28%;top:calc((100% - 28%) * 0.25);border-radius:4px;background:rgba(0,0,0,.28)}
/* Dark site theme: the bar follows the same rule as the design tokens above, the screenshot itself stays as-is */
:root[data-theme="dark"] .docs-shot-bar{background:#201B16}
:root[data-theme="dark"] .docs-shot-bar span{background:#3A332C}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .docs-shot-bar{background:#201B16}
  :root:not([data-theme="light"]) .docs-shot-bar span{background:#3A332C}
}

/* ==========================================================================
   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-block:48px 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;
}

/* ---- Utilities (replace one-off inline styles so CSP style-src stays strict) ---- */
.u-pad-y-lg{padding-top:56px;padding-bottom:56px}
.u-stack-0{display:flex;flex-direction:column;gap:0}
.u-stack-32{display:flex;flex-direction:column;gap:32px}
.u-stack-40{display:flex;flex-direction:column;gap:40px}
.u-stack-44{display:flex;flex-direction:column;gap:44px}
.u-align-start{align-items:start}
.u-self-start{align-self:flex-start}
.u-fs-20{font-size:20px}
.section-title-hero{font-size:clamp(28px,3.2vw,40px);letter-spacing:-.03em;font-weight:800;line-height:1.1}
.text-orange{color:var(--accent-orange)}
/* Back-to-top button with scroll progress ring */
.to-top{position:fixed;right:clamp(14px,2.5vw,28px);bottom:clamp(14px,2.5vw,28px);z-index:60;width:52px;height:52px;padding:0;border:0;border-radius:50%;background:var(--surface);color:var(--red-text);box-shadow:0 4px 16px rgba(23,19,15,.18);cursor:pointer;opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .25s,transform .25s,visibility .25s,color .15s}
.to-top.is-visible{opacity:1;visibility:visible;transform:none}
.to-top:hover{color:var(--red-hover)}
.to-top:focus-visible{outline:3px solid var(--red-text);outline-offset:3px}
.to-top svg{display:block;width:100%;height:100%;transform:rotate(-90deg)}
.to-top circle{fill:none;stroke-width:3}
.to-top-track{stroke:var(--line)}
.to-top-bar{stroke:currentColor;stroke-linecap:round}
.to-top-arrow{fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;transform:rotate(90deg);transform-origin:25px 25px}
@media (prefers-reduced-motion:reduce){.to-top{transition:none}}

/* ==========================================================================
   Security infographic: the road of a request
   ========================================================================== */
.sec-flow{display:flex;flex-direction:column;gap:20px}
.sec-path{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr;gap:0}
.sec-step{position:relative;display:grid;grid-template-columns:52px 1fr;gap:16px;padding-bottom:28px;align-content:start}
.sec-step:last-child{padding-bottom:0}
.sec-icon{width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--red-tint);color:var(--red-text);flex:none;position:relative;z-index:1}
.sec-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sec-body{display:flex;flex-direction:column;gap:6px;padding-top:4px;min-width:0}
.sec-body strong{font-size:18px;font-weight:700;letter-spacing:-.01em}
.sec-body span{font-size:15px;line-height:1.55;color:var(--muted)}
.sec-body .sec-n{font:500 12px 'IBM Plex Mono',monospace;color:var(--red-text);letter-spacing:.06em}
.sec-start .sec-icon{background:var(--surface);color:var(--ink);border:1.5px solid var(--ink)}
.sec-end .sec-icon{background:var(--inverse);color:var(--accent-orange)}
.sec-end .sec-body strong{color:var(--ink)}
/* connector: dashed line that "flows" towards Isah */
.sec-step:not(:last-child)::after{content:"";position:absolute;left:25px;top:56px;bottom:4px;width:2px;background:repeating-linear-gradient(to bottom,var(--red-text) 0 6px,transparent 6px 12px);background-size:2px 12px;animation:sec-flow-v 1s linear infinite}
@keyframes sec-flow-v{to{background-position:0 12px}}
@keyframes sec-flow-h{to{background-position:12px 0}}
.sec-log{display:grid;grid-template-columns:52px 1fr;gap:16px;align-items:start;border:1.5px dashed var(--line);border-radius:14px;padding:18px 20px;background:var(--surface)}
.sec-log .sec-icon{background:var(--bg);color:var(--subtle);border:1px solid var(--line)}
@media (min-width:980px){
  .sec-path{grid-template-columns:repeat(5,1fr);gap:24px}
  .sec-step{grid-template-columns:1fr;gap:16px;padding-bottom:0}
  .sec-step:not(:last-child)::after{left:60px;right:-16px;top:25px;bottom:auto;width:auto;height:2px;background:repeating-linear-gradient(to right,var(--red-text) 0 6px,transparent 6px 12px);background-size:12px 2px;animation-name:sec-flow-h}
  .sec-body{padding-top:0}
}
@media (prefers-reduced-motion:reduce){.sec-step::after{animation:none !important}}

/* ==========================================================================
   Landing pages (SEO / SEA): /isah-api/, /isah-integratie/, /use-cases/ ...
   ========================================================================== */
.breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding-top:20px;font-size:14px;color:var(--subtle)}
.breadcrumb a{color:var(--subtle)}
.breadcrumb a:hover{color:var(--red-text)}
.breadcrumb .sep{color:var(--line)}
.breadcrumb [aria-current]{color:var(--ink);font-weight:600}
.lp-hero{padding-block:32px 56px}
@media (min-width:1000px){.lp-hero{padding-block:48px 88px}}
.lp-h1{font-size:clamp(32px,4.4vw,56px)!important}
.qa-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:16px}
.qa-item{background:var(--bg);border:1px solid var(--line);border-left:3px solid var(--red-text);border-radius:12px;padding:24px 26px;display:flex;flex-direction:column;gap:10px}
.qa-item h3{font-size:19px;font-weight:700;letter-spacing:-.01em;line-height:1.3}
.qa-item p{font-size:16px;line-height:1.65;color:var(--muted)}
.check-list{display:flex;flex-direction:column}
.check-list li{position:relative;padding:15px 0 15px 36px;border-top:1px solid var(--line);font-size:17px;line-height:1.55}
.check-list li:last-child{border-bottom:1px solid var(--line)}
.check-list li::before{content:"";position:absolute;left:4px;top:19px;width:16px;height:9px;border-left:2.5px solid var(--red-text);border-bottom:2.5px solid var(--red-text);transform:rotate(-45deg)}
.usecase-card h3{font-size:19px;font-weight:700;letter-spacing:-.01em;line-height:1.25}
.usecase-card p a{text-decoration:underline;text-underline-offset:2px}
.link-card{text-decoration:none}
.link-card:hover{border-color:var(--red-text);color:var(--ink)}
.link-card .more{font-weight:600;font-size:15px;color:var(--red-text)}
.faq-list{max-width:860px;display:flex;flex-direction:column}
.faq-item{border-top:1px solid var(--line);padding:24px 0;display:flex;flex-direction:column;gap:10px}
.faq-item:last-child{border-bottom:1px solid var(--line)}
.faq-item h3{font-size:20px;font-weight:700;letter-spacing:-.01em;line-height:1.3}
.faq-item p{font-size:17px;line-height:1.65;color:var(--muted)}
.faq-item p a,.qa-item p a,.section-head p a,.how-step span a{text-decoration:underline;text-underline-offset:2px}
.compare-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:14px;background:var(--bg)}
.compare{width:100%;border-collapse:collapse;font-size:15px;line-height:1.5;min-width:640px}
.compare th,.compare td{text-align:left;padding:14px 18px;border-top:1px solid var(--line);vertical-align:top}
.compare thead th{border-top:0;font:500 12px 'IBM Plex Mono',monospace;text-transform:uppercase;letter-spacing:.08em;color:var(--subtle)}
.compare tbody th{font-weight:700;width:20%}
.compare td{color:var(--muted)}
.compare td:last-child{color:var(--ink);font-weight:500}
.contact-copy .hero-actions{margin-top:8px}
.footer-links{display:flex;flex-direction:column;gap:6px;font-size:15px}
.footer-links a{color:var(--ink)}
.footer-links a:hover{color:var(--red-text)}
.summary-box{max-width:860px;background:var(--bg);border:1px solid var(--line);border-left:4px solid var(--red-text);border-radius:12px;padding:28px 30px;display:flex;flex-direction:column;gap:12px}
.summary-box h2{font:500 13px/1 'IBM Plex Mono',monospace;text-transform:uppercase;letter-spacing:.08em;color:var(--orange-text)}
.summary-box p{font-size:20px;line-height:1.6;color:var(--ink)}
.grid-home{grid-template-columns:1fr}
@media (min-width:620px){.grid-home{grid-template-columns:repeat(2,1fr)}.grid-home>:first-child{grid-column:1/-1}}
@media (min-width:1000px){.grid-home{grid-template-columns:repeat(3,1fr)}.grid-home>:first-child{grid-column:auto}}
