/* ==========================================================================
   SimXmil — shared stylesheet  (Guhya Technologies)
   One file, loaded on every page, aggressively cached by sw.js so repeat
   visits never re-fetch it. No frameworks, no build step — plain CSS,
   custom properties, and a handful of cheap (transform-only) animations.
   ========================================================================== */
:root{
  --void:#0A0C10;
  --void-2:#0D1015;
  --panel:#101317;
  --panel-2:#13171C;
  --panel-3:#0E1116;
  --bone:#F3F4F6;
  --mist:#93989F;
  --steel:#5C86D4;
  --steel-l:#82A5E4;
  --steel-d:#3D5A94;
  --silver:#C3C7CD;
  --line:rgba(255,255,255,0.08);
  --line-2:rgba(255,255,255,0.13);
  --good:#5C9E71;
  --warn:#C9A15E;
  --bad:#C4685F;
  --disp:"Söhne","Space Grotesk",Inter,-apple-system,sans-serif;
  --mono:"IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --body:Inter,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --header-h:64px;
  --maxw:1120px;
  --maxw-read:720px;
  --ease:cubic-bezier(.22,.85,.36,1);
  --radius:16px;
}
*{box-sizing:border-box; margin:0; padding:0;}
*,*::before,*::after{min-width:0;}
html{scroll-behavior:smooth; overflow-x:hidden; max-width:100%;}
html,body{height:100%;}
body{
  background:var(--void);
  color:var(--bone);
  font-family:var(--body);
  overflow-x:hidden;
  max-width:100%;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  padding-top:var(--header-h);
}
@media (prefers-reduced-motion: reduce){ *{animation:none !important; transition:none !important; scroll-behavior:auto !important;} }
img{max-width:100%; display:block;}
a{color:inherit; text-decoration:none;}
::selection{background:rgba(92,134,212,0.35); color:#fff;}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--steel-l); outline-offset:2px; border-radius:4px;}
.sr-only{position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;}
.wrap{max-width:var(--maxw); margin:0 auto; padding:0 24px; position:relative; z-index:1;}

/* ---------------- background: quiet, single soft field (no glow/orbs) ---------------- */
.bg{position:fixed; inset:0; z-index:0; pointer-events:none; overflow:hidden; background:var(--void);}
.bg-nebula{
  position:absolute; inset:-10%;
  background:
    radial-gradient(ellipse 60% 46% at 50% -8%, rgba(92,134,212,0.10), transparent 60%),
    var(--void);
  background-size:200% 200%;
  will-change:transform;
}
.bg-orb{display:none;}
.bg-scan{display:none;}

/* ---------------- fixed header ---------------- */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:100; height:var(--header-h);
  background:rgba(10,12,16,0.82); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
}
.site-header .nav{height:var(--header-h); display:flex; align-items:center; justify-content:space-between; max-width:var(--maxw); margin:0 auto; padding:0 24px;}
.brand{display:flex; align-items:center; gap:9px; font-family:var(--disp); font-weight:600; font-size:17px; white-space:nowrap; letter-spacing:-0.01em;}
.brand img{width:24px; height:24px; border-radius:6px;}
.brand-wave{display:none;}
.nav-links{display:flex; align-items:center; gap:28px;}
.nav-links a{font-family:var(--body); font-size:14px; font-weight:500; color:var(--mist); padding:6px 1px; border-bottom:1.5px solid transparent; transition:color .15s var(--ease), border-color .15s var(--ease);}
.nav-links a:hover,.nav-links a.active{color:var(--bone); border-bottom-color:var(--steel);}
.nav-cta{font-family:var(--body); font-weight:600; font-size:13.5px; padding:9px 18px; border:1px solid var(--bone); background:var(--bone); color:var(--void) !important; border-radius:100px; transition:opacity .15s var(--ease), transform .15s var(--ease);}
.nav-cta:hover{opacity:0.85; transform:translateY(-1px);}
.nav-toggle{display:none; background:none; border:0; color:var(--bone); width:34px; height:34px; cursor:pointer;}
.nav-mobile{display:none;}

/* language switcher */
.lang-switch{position:relative; margin-left:4px;}
.lang-btn{font-family:var(--body); font-size:13px; color:var(--silver); background:rgba(255,255,255,0.04); border:1px solid var(--line); padding:7px 10px; border-radius:100px; cursor:pointer; display:flex; align-items:center; gap:6px; transition:border-color .15s;}
.lang-btn:hover{border-color:var(--steel); color:var(--bone);}
.lang-menu{
  position:absolute; top:calc(100% + 8px); right:0; background:var(--panel); border:1px solid var(--line-2);
  border-radius:8px; padding:6px; min-width:190px; max-height:60vh; overflow-y:auto;
  box-shadow:0 20px 50px rgba(0,0,0,0.55); display:none;
}
.lang-menu.open{display:block; animation:popIn .15s var(--ease);}
@keyframes popIn{from{opacity:0; transform:translateY(-4px);} to{opacity:1; transform:translateY(0);}}
.lang-menu button{
  width:100%; text-align:left; background:none; border:0; color:var(--bone); font-family:var(--body);
  font-size:13.5px; padding:8px 10px; border-radius:5px; cursor:pointer; display:flex; justify-content:space-between; gap:8px;
}
.lang-menu button:hover{background:rgba(92,134,212,0.14);}
.lang-menu button.current{color:var(--steel-l);}

/* ---------------- reading progress (blog posts) ---------------- */
.read-progress{position:fixed; top:var(--header-h); left:0; height:2px; width:0%; background:var(--steel); z-index:101; transition:width .1s linear;}

/* ---------------- cookie / consent banner ---------------- */
.consent-bar{
  position:fixed; left:16px; right:16px; bottom:16px; z-index:200; max-width:640px; margin:0 auto;
  background:var(--panel); border:1px solid var(--line-2); border-radius:12px; padding:16px 18px;
  box-shadow:0 20px 60px rgba(0,0,0,0.55); display:none; gap:14px; flex-direction:column;
}
.consent-bar.show{display:flex; animation:popIn .2s var(--ease);}
.consent-bar p{font-size:13.5px; color:var(--silver); line-height:1.6;}
.consent-bar .row{display:flex; gap:10px; flex-wrap:wrap;}
.consent-bar button{font-family:var(--body); font-weight:600; font-size:13px; padding:9px 16px; border-radius:100px; cursor:pointer;}
.consent-accept{background:var(--steel); color:#070B12; border:1px solid var(--steel); font-weight:500;}
.consent-decline{background:none; color:var(--mist); border:1px solid var(--line);}
.consent-decline:hover{color:var(--bone); border-color:var(--silver);}

/* ---------------- hero ---------------- */
.hero{position:relative; min-height:52vh; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:64px 0 8px; isolation:isolate;}
.eyebrow{
  font-family:var(--body); font-size:14px; font-weight:500; color:var(--mist);
  margin-bottom:20px; display:inline-flex; align-items:center; gap:8px;
}
.eyebrow::before{content:none;}

/* ---------------- hero acoustic wave (quiet, blurred, transform-only) ---------------- */
.hero-wave{
  position:absolute; left:50%; top:52%; transform:translate(-50%,-50%);
  width:min(1200px,180%); height:240px; z-index:-1; pointer-events:none;
  filter:blur(26px); opacity:0.5; mix-blend-mode:screen;
  -webkit-mask-image:linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  mask-image:linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}
.hero-wave svg{width:200%; height:100%; display:block; animation:waveDrift 26s linear infinite;}
.hero-wave .wp1{fill:none; stroke:var(--steel); stroke-width:1.4; opacity:0.55;}
.hero-wave .wp2{fill:none; stroke:var(--steel-l); stroke-width:1; opacity:0.35;}
.hero-wave .wp3{fill:none; stroke:var(--silver); stroke-width:0.75; opacity:0.2;}
@keyframes waveDrift{from{transform:translateX(0);} to{transform:translateX(-50%);}}
@media (prefers-reduced-motion: reduce){.hero-wave svg{animation:none;}}
@media (max-width:640px){.hero-wave{height:160px; opacity:0.4;}}
h1{font-family:var(--disp); font-weight:600; font-size:clamp(34px,6vw,60px); line-height:1.06; letter-spacing:-0.02em; max-width:16ch; color:var(--bone);}
h1 .accent{color:var(--steel-l);}
.cursor{display:none;}
.lede{margin-top:20px; color:var(--mist); font-size:18px; max-width:46ch; line-height:1.6;}
.actions{display:flex; gap:12px; margin-top:32px; flex-wrap:wrap; justify-content:center;}
.btn{font-family:var(--body); font-size:15px; font-weight:600; padding:13px 26px; border-radius:100px; cursor:pointer; transition:transform .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease); display:inline-flex; align-items:center; gap:8px; border:1px solid transparent;}
.btn-primary{background:var(--bone); color:var(--void); border-color:var(--bone);}
.btn-primary:hover{transform:translateY(-2px); box-shadow:0 16px 34px -12px rgba(92,134,212,0.35), 0 10px 20px -14px rgba(0,0,0,0.5);}
.btn-ghost{border-color:var(--line-2); color:var(--bone); background:rgba(255,255,255,0.02);}
.btn-ghost:hover{border-color:var(--silver); transform:translateY(-2px); background:rgba(255,255,255,0.05);}
.text-link{margin-top:24px; font-family:var(--body); font-size:14px; font-weight:500; color:var(--mist); display:inline-flex; align-items:center; gap:6px; transition:color .15s;}
.text-link:hover{color:var(--steel-l);}

/* ---------------- open section panels (no chrome bar / no boxed-window look) ---------------- */
.term-card{
  position:relative; margin-top:64px;
  background:none; border:0; border-top:1px solid var(--line); border-radius:0; overflow:visible;
  box-shadow:none;
}
.term-card::before{content:none;}
.term-bar{display:none;}
.term-dot{display:none;}
.term-path{display:none;}
.term-body{padding:56px 0 0;}
@media (max-width:640px){.term-body{padding:40px 0 0;}}

/* .term-window — kept as a deliberate boxed "terminal" easter egg (404 page
   only), distinct from the open .term-card sections used across marketing
   pages above. */
.term-window{
  background:var(--panel); border:1px solid var(--line-2); border-radius:var(--radius); overflow:hidden;
}
.term-window .term-bar{display:flex; align-items:center; gap:10px; padding:14px 20px; border-bottom:1px solid var(--line); background:var(--panel-2);}
.term-window .term-dot{display:inline-block; width:10px; height:10px; border-radius:50%;}
.term-window .term-dot.r{background:#E5726B;}
.term-window .term-dot.y{background:#E0B767;}
.term-window .term-dot.g{background:#6FBF83;}
.term-window .term-path{font-family:var(--mono); font-size:11.5px; color:var(--mist); margin-left:8px;}
.term-window .term-body{padding:22px 24px;}

/* ---------------- feature grid ---------------- */
.feat-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:26px;}
@media (max-width:820px){.feat-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:560px){.feat-grid{grid-template-columns:1fr;}}
.feat-card{
  position:relative; background:var(--panel); border:1px solid var(--line); border-radius:var(--radius); padding:28px 26px;
  transition:background .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.feat-card:hover{background:var(--panel-2); border-color:var(--line-2); box-shadow:0 20px 40px -24px rgba(0,0,0,0.55);}
.feat-card .ic{
  width:32px; height:32px; margin-bottom:16px; color:var(--accent, var(--bone)); display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,0.06); border:1px solid var(--line-2); border-radius:8px;
  background:color-mix(in srgb, var(--accent, #ffffff) 14%, transparent);
  border-color:color-mix(in srgb, var(--accent, var(--line-2)) 38%, var(--line-2));
}
.feat-card .ic svg{width:16px; height:16px;}
.feat-card h3{font-family:var(--disp); font-size:15.5px; margin-bottom:8px; font-weight:600; letter-spacing:-0.01em;}
.feat-card p{font-size:14px; color:var(--mist); line-height:1.65;}
.feat-card, .why-card{transition:background .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);}
.feat-card:hover, .why-card:hover{transform:translateY(-3px);}

/* ---------------- "why us" reason grid ---------------- */
.why-grid{display:flex; flex-wrap:wrap; justify-content:center; gap:20px; margin-top:32px;}
.why-card{
  position:relative; flex:1 1 300px; max-width:360px; display:flex; flex-direction:column; gap:16px;
  background:var(--panel); border:1px solid var(--line); border-radius:var(--radius); padding:26px 26px 24px;
  overflow:hidden;
}
.why-card::after{
  content:""; position:absolute; inset:0 0 auto 0; height:2px;
  background:var(--accent, var(--steel)); opacity:0; transition:opacity .25s var(--ease);
}
.why-card:hover{background:var(--panel-2); border-color:var(--line-2); box-shadow:0 24px 48px -26px rgba(0,0,0,0.6);}
.why-card:hover::after{opacity:1;}
.why-card .n{
  position:absolute; top:22px; right:24px; font-family:var(--mono); font-size:11px; color:var(--mist); opacity:.55; letter-spacing:.04em;
}
.why-card .ic{
  flex-shrink:0; width:42px; height:42px; border-radius:12px;
  background:rgba(92,134,212,0.14);
  border:1px solid rgba(92,134,212,0.4);
  color:var(--accent, var(--steel-l));
  background:color-mix(in srgb, var(--accent, var(--steel)) 16%, transparent);
  border-color:color-mix(in srgb, var(--accent, var(--steel)) 40%, transparent);
  display:flex; align-items:center; justify-content:center;
}
.why-card .ic svg{width:19px; height:19px; display:block;}
.why-card h3{font-family:var(--disp); font-size:16px; font-weight:600; letter-spacing:-0.01em; margin-bottom:6px; color:var(--bone);}
.why-card p{font-size:13.5px; color:var(--mist); line-height:1.65; margin:0;}

/* ---------------- "about" at-a-glance mini cards ---------------- */
.about-grid{display:flex; flex-wrap:wrap; justify-content:center; gap:16px; margin-top:32px;}
.about-card{
  flex:1 1 210px; max-width:250px; text-align:center;
  background:var(--panel); border:1px solid var(--line); border-radius:var(--radius); padding:26px 20px 22px;
  transition:background .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.about-card:hover{background:var(--panel-2); border-color:var(--line-2); box-shadow:0 20px 40px -24px rgba(0,0,0,0.55); transform:translateY(-3px);}
.about-card .ic{
  width:40px; height:40px; margin:0 auto 14px; border-radius:11px;
  background:rgba(92,134,212,0.14); border:1px solid rgba(92,134,212,0.4); color:var(--steel-l);
  background:color-mix(in srgb, var(--accent, var(--steel)) 15%, transparent);
  border-color:color-mix(in srgb, var(--accent, var(--steel)) 40%, transparent);
  display:flex; align-items:center; justify-content:center;
}
.about-card .ic svg{width:18px; height:18px; display:block;}
.about-card h3{font-family:var(--disp); font-size:14.5px; font-weight:600; letter-spacing:-0.01em; margin-bottom:6px; color:var(--bone);}
.about-card p{font-size:12.5px; color:var(--mist); line-height:1.6; margin:0;}


/* ---------------- section headings ---------------- */
.section-title{font-family:var(--disp); font-weight:600; font-size:clamp(22px,2.8vw,30px); margin-bottom:10px; letter-spacing:-0.02em;}
.section-sub{color:var(--mist); font-size:15.5px; margin-bottom:6px; max-width:60ch; line-height:1.6;}
.cat-label{
  font-family:var(--body); font-size:13px; letter-spacing:0.01em; color:var(--bone);
  margin:56px 0 18px; display:flex; align-items:center; gap:10px; font-weight:600;
}
.cat-label svg{color:var(--mist);}
.cat-label::after{content:""; flex:1; height:1px; background:var(--line);}
.cat-label:first-child{margin-top:0;}

/* ---------------- prose (docs / legal / blog body) ---------------- */
.prose{font-size:16px;}
.prose h2{font-family:var(--disp); font-size:22px; margin:38px 0 14px; font-weight:700; scroll-margin-top:calc(var(--header-h) + 16px);}
.prose h2:first-child{margin-top:0;}
.prose h3{font-family:var(--disp); font-size:16.5px; margin:24px 0 8px; color:var(--silver); font-weight:600;}
.prose p{color:var(--mist); font-size:15px; line-height:1.85; margin-bottom:14px;}
.prose ul,.prose ol{color:var(--mist); font-size:15px; line-height:1.85; margin:0 0 16px 22px;}
.prose li{margin-bottom:5px;}
.prose a{color:var(--steel-l); border-bottom:1px solid rgba(124,158,224,0.35); transition:border-color .15s;}
.prose a:hover{border-color:var(--steel-l);}
.prose code{font-family:var(--mono); font-size:12.5px; background:rgba(231,236,245,0.06); padding:2px 6px; border-radius:4px; overflow-wrap:anywhere; word-break:break-word;}
.prose strong{color:var(--bone);}
.prose blockquote{border-left:2px solid var(--steel); padding:2px 0 2px 18px; color:var(--silver); font-style:italic; margin:18px 0;}
.updated-tag{font-family:var(--mono); font-size:11px; color:var(--mist); margin-bottom:24px; display:inline-block; border:1px solid var(--line); padding:4px 10px; border-radius:4px;}

/* ---------------- docs layout ---------------- */
.docs-layout{display:grid; grid-template-columns:220px 1fr; gap:56px; align-items:start;}
@media (max-width:900px){.docs-layout{grid-template-columns:1fr; gap:20px;}}
.docs-nav{position:sticky; top:calc(var(--header-h) + 24px); font-family:var(--body); font-size:14px; max-height:calc(100vh - var(--header-h) - 48px); overflow-y:auto;}
.docs-nav a{display:block; color:var(--mist); padding:7px 0; border-left:2px solid transparent; padding-left:12px; margin-left:-13px; transition:color .15s, border-color .15s;}
.docs-nav a:hover, .docs-nav a.active{color:var(--bone); border-left-color:var(--bone);}
.docs-nav .grp{color:var(--mist); font-size:11.5px; letter-spacing:0.06em; text-transform:uppercase; margin:20px 0 4px; font-weight:600;}
.docs-nav .grp:first-child{margin-top:0;}
@media (max-width:900px){
  .docs-nav{position:static; max-height:none; border:1px solid var(--line); border-radius:var(--radius); padding:4px 18px; margin-bottom:8px;}
  .docs-nav-toggle{display:flex !important; align-items:center; justify-content:space-between; width:100%; background:none; border:0; color:var(--bone); font-family:var(--body); font-weight:600; font-size:14.5px; padding:16px 0; cursor:pointer;}
  .docs-nav-toggle svg{transition:transform .2s var(--ease);}
  .docs-nav-body{display:none; padding-bottom:14px;}
  .docs-nav.open .docs-nav-body{display:block;}
  .docs-nav.open .docs-nav-toggle svg{transform:rotate(180deg);}
}
.docs-nav-toggle{display:none;}

/* ---------------- table ---------------- */
/* wrapped in .tbl-scroll (see prose) so a wide table scrolls horizontally
   inside its own box on narrow screens instead of pushing page content
   off the right edge of the viewport */
.tbl-scroll{width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; margin:16px 0 22px; border-radius:10px; border:1px solid var(--line);}
.tbl{width:100%; min-width:420px; border-collapse:collapse; font-size:13.5px; margin:0;}
.tbl th,.tbl td{border-bottom:1px solid var(--line); border-right:1px solid var(--line); padding:11px 14px; text-align:left; color:var(--silver); white-space:nowrap;}
.tbl td:last-child,.tbl th:last-child{border-right:0; white-space:normal;}
.tbl tr:last-child td{border-bottom:0;}
.tbl th{color:var(--bone); font-family:var(--mono); font-size:11px; text-transform:uppercase; letter-spacing:.04em; background:rgba(231,236,245,0.04);}

/* ==========================================================================
   Blog — minimalist, editorial, SEO-first reading experience
   ========================================================================== */

.cat-badge{
  display:inline-flex; align-items:center; font-family:var(--body); font-size:12.5px;
  letter-spacing:0; text-transform:none; color:var(--steel-l);
  background:none; border:0; padding:0; border-radius:0; font-weight:600;
}
.cat-badge::before{content:none;}

.blog-toolbar{display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin:26px 0 30px;}
.blog-toolbar a{font-family:var(--body); font-size:13.5px; font-weight:500; color:var(--mist); border:1px solid var(--line); padding:7px 14px; border-radius:100px; transition:border-color .15s, color .15s, background .15s;}
.blog-toolbar a:hover,.blog-toolbar a.active{color:var(--bone); border-color:var(--line-2); background:var(--panel);}

.feed-links{display:flex; gap:16px; margin:0 0 22px;}
.feed-links a{display:inline-flex; align-items:center; gap:6px; font-family:var(--body); font-size:13px; color:var(--mist); transition:color .15s;}
.feed-links a:hover{color:var(--steel-l);}

.blog-search{position:relative; margin:0 0 26px; max-width:420px;}
.blog-search input{
  width:100%; background:var(--panel); border:1px solid var(--line-2); color:var(--bone); border-radius:8px;
  padding:12px 14px 12px 40px; font-family:var(--body); font-size:14px; transition:border-color .15s;
}
.blog-search input:focus{outline:none; border-color:var(--steel);}
.blog-search svg{position:absolute; left:13px; top:50%; transform:translateY(-50%); color:var(--mist); pointer-events:none;}
.blog-search .count{font-family:var(--mono); font-size:11px; color:var(--mist); margin-top:8px;}

.page-breadcrumb{font-family:var(--mono); font-size:11.5px; color:var(--mist); margin:28px 0 4px; display:flex; align-items:center; gap:6px;}
.page-breadcrumb a{color:var(--mist); transition:color .15s;}
.page-breadcrumb a:hover{color:var(--steel-l);}

/* editorial list — OpenAI/Anthropic-blog-style: flush rows, no boxes, just dividers */
.blog-list{display:flex; flex-direction:column;}
.blog-row{
  position:relative; display:grid; grid-template-columns:130px 1fr; gap:32px; align-items:start;
  padding:32px 4px; border:0; border-top:1px solid var(--line); border-radius:0;
  background:none;
  transition:opacity .2s var(--ease);
}
.blog-list .blog-row:first-child{border-top:0;}
.blog-row:hover{opacity:0.82;}
.blog-row-date{font-family:var(--body); font-size:13.5px; color:var(--mist); padding-top:3px;}
.blog-row-date time{display:block;}
.blog-row-date .rt{display:block; margin-top:4px; color:var(--mist); opacity:.75;}
.blog-row h2{font-family:var(--disp); font-size:21px; font-weight:600; line-height:1.32; margin:8px 0 8px; color:var(--bone); letter-spacing:-0.01em;}
.blog-row p{font-size:14.5px; color:var(--mist); line-height:1.7; max-width:62ch;}
.blog-row-meta{display:flex; align-items:center; gap:10px; margin-top:14px; flex-wrap:wrap;}
@media (max-width:620px){
  .blog-row{grid-template-columns:1fr; gap:6px; padding:24px 4px;}
  .blog-row-date{display:flex; gap:8px; align-items:center;}
  .blog-row-date .rt::before{content:"· ";}
}

/* article reading column */
.article-head{padding:52px 0 0; max-width:var(--maxw-read); margin:0 auto;}
.breadcrumb{font-family:var(--body); font-size:13px; color:var(--mist); margin-bottom:22px; display:flex; align-items:center; gap:6px;}
.breadcrumb a{color:var(--mist); transition:color .15s;}
.breadcrumb a:hover{color:var(--steel-l);}
.article-title{font-family:var(--disp); font-weight:600; font-size:clamp(28px,4.6vw,44px); line-height:1.16; letter-spacing:-0.02em; margin:14px 0 18px;}
.article-dek{font-size:18px; color:var(--mist); line-height:1.6; margin-bottom:22px;}
.blog-post-meta{font-family:var(--body); font-size:13.5px; color:var(--mist); display:flex; align-items:center; gap:10px; flex-wrap:wrap; padding-bottom:26px; border-bottom:1px solid var(--line);}
.blog-post-meta .avatar{width:26px; height:26px; border-radius:50%; background:linear-gradient(135deg, var(--steel), var(--steel-d)); display:inline-flex; align-items:center; justify-content:center; font-family:var(--disp); font-size:11px; color:#fff; font-weight:700;}
.article-body{max-width:var(--maxw-read); margin:0 auto; padding-bottom:8px;}
.article-body .prose{margin-top:34px;}

/* table of contents */
.toc{max-width:var(--maxw-read); margin:30px auto 0; background:var(--panel); border:1px solid var(--line); border-radius:var(--radius); padding:20px 24px;}
.toc-title{font-family:var(--body); font-size:12px; letter-spacing:.03em; text-transform:uppercase; color:var(--mist); font-weight:600; margin-bottom:10px;}
.toc ol{list-style:none; display:flex; flex-direction:column; gap:8px;}
.toc a{font-size:14px; color:var(--mist); transition:color .15s;}

.share-row{display:flex; align-items:center; gap:10px; flex-wrap:wrap; max-width:var(--maxw-read); margin:28px auto; padding-top:22px; border-top:1px solid var(--line);}
.share-label{font-family:var(--body); font-size:12.5px; letter-spacing:.03em; text-transform:uppercase; color:var(--mist); font-weight:600; margin-right:2px;}
.share-btn{display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px; border-radius:100px; border:1px solid var(--line); color:var(--silver); background:rgba(255,255,255,0.02); transition:border-color .15s, color .15s, background .15s, transform .15s;}
.share-btn:hover{color:var(--bone); border-color:var(--line-2); background:var(--panel); transform:translateY(-2px);}
.share-btn.whatsapp:hover{color:#5C9E71; border-color:#5C9E71;}
.share-btn.copy{position:relative;}
.share-btn.copy.copied{color:#5C9E71; border-color:#5C9E71;}
.share-toast{position:absolute; bottom:calc(100% + 8px); left:50%; transform:translateX(-50%); background:var(--bone); color:var(--void); font-family:var(--body); font-size:11.5px; font-weight:600; padding:4px 9px; border-radius:6px; white-space:nowrap; opacity:0; pointer-events:none; transition:opacity .15s;}
.share-btn.copy.copied .share-toast{opacity:1;}
.toc a:hover{color:var(--steel-l);}

/* grid cards (related posts / homepage teaser) */
.blog-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:16px;}
@media (max-width:700px){.blog-grid{grid-template-columns:1fr;}}
.blog-card{
  display:flex; flex-direction:column; background:var(--panel); border:1px solid var(--line);
  border-radius:var(--radius); overflow:hidden; transition:background .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease);
  padding:26px;
}
.blog-card:hover{background:var(--panel-2); border-color:var(--line-2); box-shadow:0 20px 40px -24px rgba(0,0,0,0.55); transform:translateY(-3px);}
.blog-card-meta{font-family:var(--body); font-size:12.5px; color:var(--mist); display:flex; gap:8px; margin:12px 0 8px;}
.blog-card h2{font-family:var(--disp); font-size:17px; line-height:1.34; margin-bottom:8px; color:var(--bone); font-weight:600;}
.blog-card p{font-size:14px; color:var(--mist); line-height:1.62;}

/* homepage "from the blog" teaser strip */
.blog-teaser-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:16px; margin-top:20px;}
@media (max-width:700px){.blog-teaser-grid{grid-template-columns:1fr;}}
.blog-teaser{display:block; padding:24px 22px; border:1px solid var(--line); border-radius:var(--radius); background:var(--panel); transition:background .15s var(--ease), border-color .15s var(--ease), box-shadow .15s var(--ease), transform .15s var(--ease);}
.blog-teaser:hover{background:var(--panel-2); border-color:var(--line-2); box-shadow:0 20px 40px -24px rgba(0,0,0,0.55); transform:translateY(-3px);}
.blog-teaser h3{font-family:var(--disp); font-size:15px; color:var(--bone); margin:8px 0 6px; font-weight:600;}
.blog-teaser .meta{font-family:var(--body); font-size:12.5px; color:var(--mist);}


/* empty state */
.empty-state{text-align:center; padding:60px 20px; color:var(--mist);}

/* ==========================================================================
   Admin panel
   ========================================================================== */
.platform-grid{display:grid; grid-template-columns:repeat(4,minmax(120px,1fr)); gap:12px; width:100%; max-width:640px;}
@media (max-width:640px){.platform-grid{grid-template-columns:repeat(2,1fr);}}
.platform-tile{display:flex; flex-direction:column; align-items:center; gap:6px; text-align:center; background:var(--panel-2); border:1px solid var(--line-2); border-radius:12px; padding:16px 10px; color:var(--bone); text-decoration:none; transition:border-color .15s, transform .15s;}
a.platform-tile:hover{border-color:var(--steel); transform:translateY(-2px);}
.platform-ic{color:var(--steel-l); display:flex;}
.platform-label{font-family:var(--body); font-size:12.5px; font-weight:600;}
.platform-sub{font-family:var(--mono); font-size:10.5px; color:var(--mist);}
.platform-tile.is-soon{cursor:default; opacity:0.55;}
.platform-tile.is-soon .platform-ic{color:var(--mist);}
.platform-soon-badge{font-family:var(--mono); font-size:9.5px; letter-spacing:0.04em; text-transform:uppercase; color:var(--warn); background:rgba(201,161,94,0.12); border:1px solid rgba(201,161,94,0.3); border-radius:100px; padding:2px 8px; margin-top:2px;}
.geo-ai-summary{font-family:var(--body); font-size:12.5px; line-height:1.6; color:var(--mist); background:var(--panel-2); border:1px solid var(--line); border-left:3px solid var(--steel); border-radius:8px; padding:12px 16px; margin:8px 0 28px;}
.geo-ai-summary strong{color:var(--silver); font-weight:600;}
.admin-shell{max-width:560px; margin:0 auto; padding:60px 0 80px;}
.admin-shell.wide{max-width:840px;}
.admin-card{background:var(--panel); border:1px solid var(--line); border-radius:var(--radius); padding:36px;}
@media (max-width:600px){.admin-card{padding:26px 20px;}}
.admin-title{font-family:var(--disp); font-weight:600; font-size:22px; margin-bottom:6px; letter-spacing:-0.01em;}
.admin-sub{font-size:14px; color:var(--mist); margin-bottom:26px; line-height:1.6;}
.field{margin-bottom:18px;}
.field label{display:block; font-family:var(--body); font-size:13px; font-weight:600; letter-spacing:0; text-transform:none; color:var(--silver); margin-bottom:7px;}
.field input[type=text],.field input[type=password],.field input[type=date],.field textarea,.field select{
  width:100%; background:var(--void-2); border:1px solid var(--line-2); color:var(--bone); border-radius:8px;
  padding:11px 13px; font-family:var(--body); font-size:14px; transition:border-color .15s;
}
.field input:focus,.field textarea:focus,.field select:focus{outline:none; border-color:var(--steel);}
.field textarea{min-height:230px; font-family:var(--mono); font-size:12.5px; line-height:1.6; resize:vertical;}
.editor-tabs{display:flex; gap:4px; margin-bottom:8px;}
.editor-tab{font-family:var(--body); font-size:12.5px; font-weight:600; color:var(--mist); background:none; border:1px solid var(--line); padding:6px 14px; border-radius:100px; cursor:pointer; transition:color .15s, border-color .15s, background .15s;}
.editor-tab:hover{color:var(--bone);}
.editor-tab.active{color:var(--void); background:var(--bone); border-color:var(--bone);}
.editor-preview{min-height:230px; max-height:480px; overflow-y:auto; background:var(--void-2); border:1px solid var(--line-2); border-radius:8px; padding:18px 20px;}
.editor-preview:empty::before{content:"Nothing to preview yet — write some content first."; color:var(--mist); font-size:13.5px;}
.social-preview{margin:6px 0 22px;}
.social-preview-label{font-family:var(--body); font-size:12px; font-weight:600; color:var(--silver); margin-bottom:7px;}
.social-preview-card{display:flex; flex-direction:column; border:1px solid var(--line-2); border-radius:12px; overflow:hidden; background:var(--panel-2); max-width:420px;}
.social-preview-img{width:100%; aspect-ratio:1200/630; background:var(--panel-3); overflow:hidden;}
.social-preview-img img{width:100%; height:100%; object-fit:cover; display:block;}
.social-preview-body{padding:12px 14px;}
.social-preview-domain{font-family:var(--mono); font-size:10.5px; letter-spacing:0.04em; color:var(--mist); margin-bottom:4px;}
.social-preview-title{font-family:var(--body); font-size:14px; font-weight:600; color:var(--bone); line-height:1.3; margin-bottom:4px;}
.social-preview-desc{font-family:var(--body); font-size:12.5px; color:var(--mist); line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;}
.editor-toolbar{display:flex; flex-wrap:wrap; gap:4px; margin-bottom:8px; padding:6px; background:var(--panel-3); border:1px solid var(--line); border-radius:8px;}
.toolbar-btn{font-family:var(--body); font-size:12px; font-weight:600; color:var(--silver); background:var(--panel-2); border:1px solid var(--line-2); padding:5px 10px; border-radius:6px; cursor:pointer; transition:color .15s, border-color .15s, background .15s;}
.toolbar-btn:hover{color:var(--bone); border-color:var(--steel); background:var(--panel);}
.admin-list-row.is-editing{background:rgba(92,134,212,0.08); border-radius:8px; margin:0 -8px; padding-left:26px; padding-right:26px;}
.field .hint{font-size:12px; color:var(--mist); margin-top:6px;}
.admin-btn{width:100%; background:var(--bone); color:var(--void); border:1px solid var(--bone); font-family:var(--body); font-weight:600; font-size:14px; padding:13px; border-radius:100px; cursor:pointer; transition:opacity .15s;}
.admin-btn:hover{opacity:0.85;}
.admin-btn.secondary{background:none; color:var(--mist); border-color:var(--line-2); font-weight:500;}
.admin-btn.secondary:hover{color:var(--bone); border-color:var(--silver);}
.admin-msg{font-family:var(--body); font-size:13.5px; padding:11px 14px; border-radius:8px; margin-bottom:20px; line-height:1.6;}
.admin-msg.ok{background:rgba(92,158,113,0.1); border:1px solid rgba(92,158,113,0.35); color:#8FCBA2;}
.admin-msg.err{background:rgba(196,104,95,0.1); border:1px solid rgba(196,104,95,0.35); color:#E29A93;}
.admin-msg.info{background:rgba(201,161,94,0.1); border:1px solid rgba(201,161,94,0.35); color:#DFC28C;}
.admin-topbar{display:flex; justify-content:space-between; align-items:center; margin-bottom:24px; flex-wrap:wrap; gap:12px;}
.admin-list{border:1px solid var(--line); border-radius:var(--radius); overflow:hidden;}
.admin-list-row{display:flex; justify-content:space-between; align-items:center; gap:12px; padding:14px 18px; border-bottom:1px solid var(--line); font-size:14px;}
.admin-list-row:last-child{border-bottom:0;}
.admin-list-row .t{color:var(--bone); font-weight:500;}
.admin-list-row .m{font-family:var(--body); font-size:12.5px; color:var(--mist); margin-top:3px;}
.admin-list-row .actions{display:flex; gap:8px; flex-shrink:0;}
.admin-list-row .actions a,.admin-list-row .actions button{font-family:var(--body); font-size:12.5px; color:var(--mist); border:1px solid var(--line-2); padding:6px 12px; border-radius:100px; background:none; cursor:pointer;}
.admin-list-row .actions a:hover{color:var(--steel-l); border-color:var(--steel);}
.admin-list-row .actions button.danger:hover{color:var(--bad); border-color:var(--bad);}

/* ---------------- footer (professional, multi-column) ---------------- */
footer.site-footer{padding:64px 0 0; border-top:1px solid var(--line); margin-top:80px;}
.foot-top{display:grid; grid-template-columns:1.4fr repeat(3, 1fr); gap:32px; padding-bottom:48px;}
@media (max-width:820px){.foot-top{grid-template-columns:1fr 1fr; row-gap:36px;}}
@media (max-width:520px){.foot-top{grid-template-columns:1fr;}}
.foot-brand{display:flex; align-items:center; gap:9px; font-family:var(--disp); font-weight:600; font-size:17px; color:var(--bone); margin-bottom:12px;}
.foot-brand img{width:24px; height:24px; border-radius:6px;}
.foot-blurb{font-size:14px; color:var(--mist); line-height:1.65; max-width:32ch;}
.foot-col-title{font-family:var(--body); font-size:12.5px; font-weight:600; letter-spacing:.03em; text-transform:uppercase; color:var(--mist); margin-bottom:14px;}
.foot-col a{display:block; font-size:14.5px; color:var(--silver); padding:6px 0; transition:color .15s;}
.foot-col a:hover{color:var(--bone);}
.foot-bottom{display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; padding:24px 0 32px; border-top:1px solid var(--line);}
.foot-copy{font-family:var(--body); font-size:13px; color:var(--mist); line-height:1.7;}
.foot-copy a{color:var(--mist); border-bottom:1px dotted var(--mist);}
.foot-locale{font-family:var(--body); font-size:13px; color:var(--mist);}
/* legacy alias kept so any un-migrated markup still renders sanely */
.foot-links{display:flex; justify-content:center; gap:18px; font-family:var(--body); font-size:13px; color:var(--mist); margin-bottom:16px; flex-wrap:wrap;}
.foot-links a:hover{color:var(--bone);}

/* ---------------- PWA install prompt (mobile) ---------------- */
.pwa-install-bar{
  position:fixed; left:14px; right:14px; bottom:14px; z-index:210; max-width:480px; margin:0 auto;
  background:var(--panel); border:1px solid var(--line-2); border-radius:16px; padding:16px 16px 16px 18px;
  box-shadow:0 24px 60px rgba(0,0,0,0.55); display:none; align-items:center; gap:14px;
}
.pwa-install-bar.show{display:flex; animation:popIn .2s var(--ease);}
.pwa-install-bar img{width:38px; height:38px; border-radius:10px; flex-shrink:0;}
.pwa-install-bar .txt{flex:1; min-width:0;}
.pwa-install-bar .txt strong{display:block; font-size:14px; color:var(--bone); font-weight:600;}
.pwa-install-bar .txt span{display:block; font-size:12.5px; color:var(--mist); margin-top:2px;}
.pwa-install-bar .btns{display:flex; align-items:center; gap:8px; flex-shrink:0;}
.pwa-install-btn{font-family:var(--body); font-weight:600; font-size:13px; background:var(--bone); color:var(--void); border:0; padding:9px 16px; border-radius:100px; cursor:pointer;}
.pwa-install-dismiss{font-family:var(--body); font-size:12px; color:var(--mist); background:none; border:0; cursor:pointer; padding:9px 4px;}
@media (min-width:761px){.pwa-install-bar{display:none !important;}}

/* ---------------- print ---------------- */
@media print{
  .bg,.site-header,.nav-mobile,.consent-bar,.read-progress,.site-footer,.toc,.term-card,.blog-grid,.blog-search,.blog-toolbar,.pwa-install-bar,script{display:none !important;}
  body{padding-top:0; background:#fff; color:#111;}
  .article-title,.section-title{color:#111;}
  .prose p,.prose li,.article-dek{color:#222;}
  .prose a{color:#111; border-bottom:1px solid #999;}
  a[href^="http"]::after{content:" (" attr(href) ")"; font-size:11px; color:#555;}
  .wrap{max-width:100%;}
}

@media (max-width:760px){
  .nav-links{display:none;}
  .nav-toggle{display:flex; align-items:center; justify-content:center;}
  .nav-mobile{
    display:none; position:fixed; top:var(--header-h); left:0; right:0; background:var(--panel);
    border-bottom:1px solid var(--line); padding:14px 24px 20px; z-index:99; flex-direction:column; gap:2px;
  }
  .nav-mobile.open{display:flex;}
  .nav-mobile a{font-family:var(--body); font-weight:500; font-size:15px; color:var(--silver); padding:12px 4px; border-bottom:1px solid var(--line);}
  .nav-mobile a:last-child{border-bottom:0;}
}

/* --- Safe extras: symmetric grids + mobile (does not hide content) --- */
.why-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  justify-content: stretch;
}
.why-card{
  flex: none;
  max-width: none;
  width: 100%;
}
.about-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.about-card{
  flex: none;
  max-width: none;
  width: 100%;
}
.feat-grid-4{
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 960px){
  .why-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat-grid-4{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px){
  .why-grid,
  .about-grid,
  .feat-grid,
  .feat-grid-4,
  .blog-teaser-grid,
  .blog-grid{
    grid-template-columns: 1fr;
  }
  .hero{ min-height: auto; padding: 40px 0 28px; }
  .hero h1{ font-size: clamp(30px, 8.5vw, 42px); max-width: 100%; }
  .hero .lede{ max-width: 100%; }
  .hero .actions{ flex-direction: column; width: 100%; }
  .hero .actions .btn{ width: 100%; justify-content: center; }
  .wrap{ padding-left: 16px; padding-right: 16px; }
  .nav-links{ display: none !important; }
  .nav-toggle{ display: inline-flex !important; align-items: center; justify-content: center; }
  .nav-mobile{
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px 16px 16px;
    border-top: 1px solid var(--line);
    background: rgba(10,12,16,0.97);
  }
  .nav-mobile.open{ display: flex !important; }
  .nav-mobile a{
    display: block;
    padding: 14px 6px;
    color: var(--bone);
    font-size: 15px;
    border-bottom: 1px solid var(--line);
  }
}
@media (min-width: 641px){
  .nav-toggle{ display: none !important; }
  .nav-mobile{ display: none !important; }
}

/* ===== FINAL LAYOUT + MOBILE FIXES (v20260904b) ===== */

/* 4 cards: 3 in a row, 4th centered below */
.about-grid{
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  justify-items: stretch;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.about-grid .about-card{
  flex: none !important;
  max-width: none !important;
  width: 100% !important;
}
.about-grid .about-card:nth-child(4){
  grid-column: 2;
}

/* Why: always 3 per row (6 = 3+3) */
.why-grid{
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.why-grid .why-card{
  flex: none !important;
  max-width: none !important;
  width: 100% !important;
}

/* Pillars 4: 3 on top row, 4th centered under */
.feat-grid-4{
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.feat-grid-4 .feat-card:nth-child(4){
  grid-column: 2;
}

@media (max-width: 900px){
  .about-grid,
  .why-grid,
  .feat-grid-4{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .about-grid .about-card:nth-child(4),
  .feat-grid-4 .feat-card:nth-child(4){
    grid-column: auto;
  }
}

@media (max-width: 640px){
  /* Start content tight under header — not pushed low */
  body{ padding-top: var(--header-h); }
  .hero{
    min-height: auto !important;
    padding: 28px 0 20px !important;
  }
  .hero-wave{
    height: 90px !important;
    opacity: 0.3;
    margin-top: 8px;
  }
  .hero h1{
    font-size: clamp(28px, 8vw, 38px) !important;
    max-width: 100% !important;
  }
  .hero .lede{ font-size: 15px !important; margin-bottom: 20px !important; }
  .hero .actions{
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .hero .actions .btn{ width: 100%; justify-content: center; }

  .about-grid,
  .why-grid,
  .feat-grid,
  .feat-grid-4,
  .blog-teaser-grid,
  .blog-grid{
    grid-template-columns: 1fr !important;
  }
  .about-grid .about-card:nth-child(4),
  .feat-grid-4 .feat-card:nth-child(4){
    grid-column: auto !important;
  }

  .wrap{ padding-left: 16px; padding-right: 16px; }
  .term-card{ margin: 28px 0 !important; }
  .section-title{ font-size: 22px !important; }

  /* Mobile menu — must work */
  .nav-links{ display: none !important; }
  .nav-toggle{
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    z-index: 120;
    position: relative;
  }
  .site-header{
    height: auto;
    min-height: var(--header-h);
  }
  .site-header .nav{
    height: var(--header-h);
  }
  .nav-mobile{
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 0 16px 16px;
    border-top: 1px solid var(--line);
    background: rgba(10, 12, 16, 0.98);
  }
  .nav-mobile.open{
    display: flex !important;
  }
  .nav-mobile a{
    display: block;
    padding: 14px 8px;
    color: var(--bone) !important;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid var(--line);
  }
  .nav-mobile a:last-child{ border-bottom: 0; }
}

@media (min-width: 641px){
  .nav-toggle{ display: none !important; }
  .nav-mobile{ display: none !important; }
  .nav-links{ display: flex !important; }
}


/* GEO sections — same card language as Why / About */
.geo-facts-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.geo-faq-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.geo-faq-card{
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  padding: 0 20px;
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.geo-faq-card:hover{
  background: var(--panel-2);
  border-color: var(--line-2);
  box-shadow: 0 16px 36px -24px rgba(0,0,0,0.55);
}
.geo-faq-card summary{
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-family: var(--disp);
  font-weight: 600;
  font-size: 15.5px;
  color: var(--bone);
  letter-spacing: -0.01em;
  position: relative;
  padding-right: 28px;
}
.geo-faq-card summary::-webkit-details-marker{ display: none; }
.geo-faq-card summary::after{
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--mist);
  font-weight: 500;
  font-size: 18px;
}
.geo-faq-card[open] summary::after{ content: "–"; }
.geo-faq-card p{
  margin: 0 0 18px;
  color: var(--mist);
  font-size: 14px;
  line-height: 1.65;
}
.geo-faq-card code{
  font-family: var(--mono);
  font-size: 12px;
  background: rgba(231,236,245,0.06);
  padding: 2px 6px;
  border-radius: 4px;
}
@media (max-width: 720px){
  .geo-facts-grid,
  .geo-faq-grid{
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Mobile/tablet nav overflow fix (final, decisive — wins the cascade
   because it is last in the file and uses !important like the blocks
   above it). Root cause of the "wide menu / horizontal scroll" bug:
   the full desktop nav (brand + Features + Docs + Blog + language
   switcher + Download pill) does not actually fit in the 641–880px
   range, so it was overflowing the header instead of wrapping. The
   hamburger menu now takes over earlier, before that happens.
   ========================================================================== */
@media (max-width: 880px){
  .nav-links{ display:none !important; }
  .nav-toggle{
    display:inline-flex !important;
    align-items:center; justify-content:center;
    width:40px; height:40px; z-index:120; position:relative;
  }
  .nav-mobile.open{ display:flex !important; }
}
@media (min-width: 881px){
  .nav-toggle{ display:none !important; }
  .nav-mobile{ display:none !important; }
  .nav-links{ display:flex !important; flex-wrap:wrap; row-gap:8px; }
}
/* Header itself must never force page-level horizontal scroll even if
   its content briefly overflows during a resize/orientation change. */
.site-header, .site-header .nav{ max-width:100vw; overflow:hidden; }
.nav-mobile{ max-width:100%; overflow-x:hidden; }

/* Belt-and-suspenders: any banner/bar fixed to the viewport must never
   exceed it on very narrow phones (small older Android devices etc.). */
.pwa-install-bar, .consent-bar{ max-width:min(480px, calc(100vw - 28px)); }

/* Announcement / info banners on any page (home, announcements, etc.)
   should always size to the screen instead of keeping an intrinsic
   desktop width. */
.term-card img, .feat-card img, .why-card img, .about-card img,
.blog-card img, .blog-teaser img{ width:100%; height:auto; }

@media (max-width: 480px){
  .brand{ font-size:15.5px; gap:6px; }
  .btn{ font-size:14px; padding:12px 20px; }
}

/* ---------------- next-post link (blog articles) ---------------- */
.next-post-card{
  display:flex; align-items:center; gap:12px; max-width:var(--maxw-read); margin:22px auto 0;
  padding:18px 20px; border:1px solid var(--line); border-radius:var(--radius); background:var(--panel);
  transition:background .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.next-post-card:hover{ background:var(--panel-2); border-color:var(--line-2); transform:translateY(-2px); }
.next-post-card svg{ flex-shrink:0; margin-left:auto; color:var(--mist); }
.next-post-label{ font-family:var(--mono); font-size:11px; letter-spacing:.05em; text-transform:uppercase; color:var(--mist); flex-shrink:0; }
.next-post-title{ font-family:var(--disp); font-weight:600; font-size:14.5px; color:var(--bone); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:0; }
@media (max-width:480px){
  .next-post-title{ white-space:normal; }
}

/* ==== NAV MENU — FINAL AUTHORITATIVE RULES (append-only, must stay last) ==== */
@media (max-width: 880px){
  .nav-links{ display:none !important; }
  .nav-toggle{
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    width:40px; height:40px;
    z-index:120;
    position:relative;
  }
  .nav-mobile{
    display:none;
    position:fixed;
    top:var(--header-h);
    left:0; right:0;
    background:rgba(10,12,16,0.98);
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
    padding:8px 16px 16px;
    z-index:99;
    flex-direction:column;
    gap:0;
    max-width:100%;
    overflow-x:hidden;
  }
  .nav-mobile.open{
    display:flex !important;
  }
  .nav-mobile a{
    display:block;
    padding:14px 8px;
    color:var(--bone) !important;
    font-family:var(--body);
    font-weight:500;
    font-size:15px;
    border-bottom:1px solid var(--line);
  }
  .nav-mobile a:last-child{ border-bottom:0; }
}

@media (min-width: 881px){
  .nav-toggle{ display:none !important; }
  .nav-mobile{ display:none !important; }
  .nav-links{ display:flex !important; flex-wrap:wrap; row-gap:8px; }
}