/* ---------- Fonts (self-hosted Geist, variable) ---------- */
@font-face{font-family:"Geist";font-style:normal;font-weight:100 900;font-display:swap;src:url(/fonts/geist-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Geist";font-style:normal;font-weight:100 900;font-display:swap;src:url(/fonts/geist-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Geist Mono";font-style:normal;font-weight:100 900;font-display:swap;src:url(/fonts/geist-mono-symbols.woff2) format("woff2");unicode-range:U+2000-2001,U+2004-2008,U+200A,U+23B8-23BD,U+2500-259F}
@font-face{font-family:"Geist Mono";font-style:normal;font-weight:100 900;font-display:swap;src:url(/fonts/geist-mono-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Geist Mono";font-style:normal;font-weight:100 900;font-display:swap;src:url(/fonts/geist-mono-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* ---------- Tokens ---------- */
:root{
  --bg:#fafaf9;--surface:#fff;--sunken:#f3f3f1;
  --ink:#0c0c0d;--ink-2:#3d3d42;--muted:#66666c;
  --line:#e4e4e0;--line-strong:#cfcfca;
  --agent:#0c7636;--agent-soft:#e6f4eb;
  --dots:#d9d9d4;
  --radius:8px;--radius-sm:4px;
  --sans:"Geist",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  --mono:"Geist Mono",ui-monospace,"SF Mono",Menlo,Consolas,monospace;
  --pad:64px;--sec:96px;--header-h:72px;
}

/* ---------- Base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:400 16px/24px var(--sans);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overflow-x:hidden}
p,h1,h2,h3,ol,ul{margin:0}
a{color:var(--ink-2);text-decoration:none;-webkit-tap-highlight-color:transparent}
a:hover{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
a:focus-visible,button:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--ink);outline-offset:2px;border-radius:2px}
[id]{scroll-margin-top:calc(var(--header-h) + 8px)}
svg{display:block}
[hidden]{display:none !important}

.skip{position:absolute;left:-9999px;top:8px;z-index:100;padding:8px 12px;background:var(--ink);color:#fff;border-radius:var(--radius-sm)}
.skip:focus{left:8px;color:#fff}

.wrap{max-width:1200px;margin:0 auto;padding:0 var(--pad)}
.wrap.narrow{max-width:800px}

.c-ink{color:var(--ink)}.c-ink2{color:var(--ink-2)}.c-muted{color:var(--muted)}.c-agent{color:var(--agent)}.fw5{font-weight:500}
.label{font:500 12px/16px var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.h2{max-width:24ch;font-size:36px;line-height:44px;font-weight:500;letter-spacing:-.025em;text-wrap:balance}
.h2-xl{max-width:18ch;font-size:56px;line-height:60px;letter-spacing:-.035em}
.h3{font-size:20px;line-height:28px;font-weight:500;letter-spacing:-.01em}
.dot{flex:none;width:6px;height:6px;border-radius:50%;background:var(--agent)}
.live-label{display:inline-flex;align-items:center;gap:8px}

/* ---------- Animations ---------- */
.ws-in{animation:wsIn 360ms ease-out both}
.ws-live{animation:wsPulse 1.6s ease-in-out infinite}
.ws-caret{animation:wsBlink 1s steps(1) infinite;color:var(--agent)}
.ws-flow{animation:wsFlow 900ms linear infinite}
@keyframes wsIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes wsPulse{0%,100%{opacity:1}50%{opacity:.35}}
@keyframes wsBlink{0%{opacity:1}50%{opacity:0}}
@keyframes wsFlow{from{transform:translateY(-6px);opacity:0}20%{opacity:1}to{transform:translateY(20px);opacity:0}}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .ws-in,.ws-live,.ws-caret,.ws-flow{animation:none}
}

/* ---------- Header ---------- */
.site-header{position:sticky;top:0;z-index:50;border-bottom:1px solid var(--line);background:rgba(250,250,249,.82);-webkit-backdrop-filter:saturate(180%) blur(12px);backdrop-filter:saturate(180%) blur(12px)}
.header-inner{min-height:var(--header-h);display:flex;align-items:center;justify-content:space-between;gap:12px 32px}
.logo{display:inline-flex;align-items:center;gap:10px;font-family:var(--sans);font-size:18px;line-height:24px;letter-spacing:-.02em;white-space:nowrap;text-decoration:none}
.logo-mark{flex:0 0 auto;display:block;width:24px;height:24px;fill:none}
.logo-mark .m{stroke:#0c0c0d;stroke-width:1.8;stroke-linejoin:round}
.logo-mark .d{fill:#0c0c0d}
.logo-mark .d-acc{fill:#0c7636}
.logo-text{display:inline-flex;align-items:baseline;gap:5px}
.logo:hover{text-decoration:none}
.logo-main{font-weight:600;color:#0c0c0d}
.logo-sub{font-weight:400;color:#3d3d42}
.logo:focus-visible{outline:2px solid #0c0c0d;outline-offset:2px;border-radius:2px}
.main-nav{display:flex;gap:8px 32px;font-size:14px;line-height:20px}
.lang{display:flex;gap:2px;padding:2px;background:var(--sunken);border:1px solid var(--line);border-radius:var(--radius-sm);font:400 12px/16px var(--mono);letter-spacing:.08em}
.lang>*{padding:6px 10px;border-radius:var(--radius-sm);color:var(--muted)}
.lang [aria-current]{background:var(--surface);color:var(--ink)}
.lang a:hover{text-decoration:none}

/* ---------- Sections ---------- */
.sec{padding:var(--sec) 0;border-top:1px solid var(--line)}
.sec-head{text-align:center;display:flex;flex-direction:column;align-items:center;gap:16px}
.sec-sub{max-width:56ch;font-size:18px;line-height:28px;color:var(--ink-2);text-wrap:balance}
.h2-xl+.sec-sub{margin-top:4px}

/* ---------- Hero ---------- */
.hero{padding:160px 0 128px}
.hero-inner{display:flex;flex-direction:column;align-items:center;text-align:center}
.display{max-width:20ch;font-size:76px;line-height:80px;font-weight:500;letter-spacing:-.04em;text-wrap:balance}
.lede{margin-top:28px;max-width:60ch;font-size:20px;line-height:30px;text-wrap:balance}

/* ---------- Textured feature cards ---------- */
.tex-card{margin-top:48px;border:1px solid var(--line);border-radius:var(--radius);padding:48px;background-color:var(--bg);background-image:radial-gradient(var(--dots) 1px,transparent 1.2px);background-size:18px 18px}
.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;min-width:0}
.panel-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;padding:14px 20px;border-bottom:1px solid var(--line)}
.panel-title{display:inline-flex;align-items:center;gap:10px;font-size:14px;line-height:20px;font-weight:500}

/* horizontal 3-step row under a card */
.steps-row{margin-top:40px;padding:0;list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:32px}
.steps-row li{display:flex;flex-direction:column;gap:8px;padding-top:20px;border-top:1px solid var(--line-strong)}
.steps-row p,.steps p{color:var(--ink-2)}

/* vertical step list beside a card */
.steps{flex:2 1 300px;min-width:0;padding:0;list-style:none;display:flex;flex-direction:column}
.steps li{padding:28px 0;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:8px}
.steps li:first-child{padding-top:0;border-top:0}
.steps li:last-child{padding-bottom:0}

/* ---------- Assistant chat mock ---------- */
.chat{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.chat-top{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px 24px;padding:10px 16px;border-bottom:1px solid var(--line);background:var(--bg)}
.chat-tabs{display:flex;flex-wrap:wrap;gap:4px}
.chat-tabs button{min-height:36px;padding:6px 14px;border:1px solid transparent;border-radius:var(--radius-sm);background:transparent;color:var(--ink-2);font:500 14px/20px var(--sans);cursor:pointer;transition:background .15s,color .15s,border-color .15s;-webkit-tap-highlight-color:transparent}
.chat-tabs button:hover{color:var(--ink)}
.chat-tabs button[aria-selected="true"]{background:var(--surface);color:var(--ink);border-color:var(--line-strong)}
.chat-body{display:flex;flex-wrap:wrap;min-height:500px}
.chat-side{flex:0 0 220px;padding:20px 12px;border-right:1px solid var(--line);background:var(--bg);display:flex;flex-direction:column;gap:2px}
.chat-side .label{padding:0 10px 10px}
.chat-side span:not(.label){padding:7px 10px;border-radius:var(--radius-sm);font-size:14px;line-height:20px;color:var(--ink-2)}
.chat-side .is-on{background:var(--line);color:var(--ink) !important;font-weight:500}
.chat-main{flex:999 1 420px;min-width:0;display:flex;flex-direction:column}
.chat-conv{padding:16px 24px;border-bottom:1px solid var(--line);display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px}
.chat-conv-title{font-weight:500}
.chat-conv-sub{font-size:14px;line-height:20px;color:var(--muted)}

.thread{flex:1 1 auto;padding:20px 24px;display:flex;flex-direction:column;gap:18px}
.msg{position:relative;display:flex;gap:12px;align-items:flex-start}
.av{flex:none;width:32px;height:32px;border-radius:var(--radius-sm);border:1px solid var(--line);background:var(--sunken);color:var(--ink);display:flex;align-items:center;justify-content:center;font:500 12px/16px var(--mono)}
.msg.is-agent .av{border-color:var(--agent);background:var(--agent-soft);color:var(--agent)}
.msg-c{min-width:0;display:flex;flex-direction:column;gap:4px}
.msg-h{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px}
.msg-who{font-size:14px;line-height:20px;font-weight:500}
.msg.is-agent .msg-who{color:var(--agent)}
.msg-t{font:400 12px/16px var(--mono);color:var(--muted)}
.msg p{max-width:62ch;font-size:15px;line-height:22px}
.mem{align-self:flex-start;margin-top:2px;padding:2px 8px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--bg);font:400 12px/16px var(--mono);color:var(--ink-2)}
/* messages not yet "sent" keep their space so the card never jumps */
.msg.is-pending>*{visibility:hidden}
.typing{position:absolute;left:44px;top:6px;display:none;align-items:center;gap:8px;font:400 12px/16px var(--mono);color:var(--agent);visibility:visible !important}
.msg.is-typing .typing{display:inline-flex}

.mail{padding:24px;display:flex;flex-direction:column;gap:10px}
.badge-agent{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;padding:2px 8px;border:1px solid var(--agent);border-radius:var(--radius-sm);background:var(--agent-soft);font:400 12px/16px var(--mono);color:var(--agent)}
.mail-row{display:flex;gap:12px;font-size:15px;line-height:22px}
.mail-row:first-of-type{padding-top:6px}
.mail-row>span:first-child{flex:none;width:64px;color:var(--muted)}
.mail-subj{padding-bottom:12px;border-bottom:1px solid var(--line)}
.mail p{max-width:64ch;font-size:15px;line-height:24px}
.mail .mail-subj+p{margin-top:8px}
.mail .mem{margin-top:12px}

/* ---------- Operations hub ---------- */
.hub{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr) minmax(0,1fr);gap:32px;align-items:center}
.hub-col{display:flex;flex-direction:column;gap:16px}
.sys{position:relative;display:flex;flex-direction:column;gap:6px;padding:16px 18px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);transition:background .3s,border-color .3s}
.sys-name{display:flex;align-items:center;justify-content:space-between;gap:8px;font-weight:500}
.sys-name .dot{opacity:0;transition:opacity .3s}
.sys-desc{font-size:14px;line-height:20px;color:var(--ink-2)}
.wire{position:absolute;top:50%;width:32px;height:1px;background:var(--line-strong);transition:background .3s}
[data-side="left"] .wire{right:-33px}
[data-side="right"] .wire{left:-33px}
.sys.is-on{background:var(--agent-soft);border-color:var(--agent)}
.sys.is-on .wire{background:var(--agent)}
.sys.is-on .dot,.sys.is-touched .dot{opacity:1}

.task{padding:16px 20px 8px;display:flex;flex-direction:column;gap:4px}
.task-title{font-size:18px;line-height:26px;font-weight:500}
.task-steps{padding:8px 12px 16px;list-style:none;display:flex;flex-direction:column;gap:2px}
.task-steps li{display:flex;gap:12px;align-items:flex-start;padding:8px;border-radius:var(--radius-sm);transition:background .3s}
.ring{flex:none;margin-top:3px;width:14px;height:14px;border-radius:50%;border:1px solid var(--line-strong);background:var(--surface);transition:background .3s,border-color .3s}
.ts-c{min-width:0;display:flex;flex-direction:column;gap:2px}
.ts-t{font-size:14px;line-height:20px;color:var(--muted)}
.ts-s{font:400 12px/16px var(--mono);color:var(--muted)}
.task-steps .is-on{background:var(--agent-soft)}
.task-steps .is-on .ring{border-color:var(--agent)}
.task-steps .is-done .ring{border-color:var(--agent);background:var(--agent)}
.task-steps .is-on .ts-t,.task-steps .is-done .ts-t{color:var(--ink)}
.hub-note{margin-top:32px;text-align:center;font-size:14px;line-height:20px;color:var(--muted)}

/* ---------- Architecture ---------- */
.arch-card{margin-top:56px;display:flex;flex-wrap:wrap;align-items:center;gap:48px}
.panel.arch{flex:3 1 560px;padding:24px}
.arch-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 24px;padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid var(--line)}
.arch-head .live-label{gap:6px}
.layers{display:flex;flex-direction:column}
.conn{position:relative;width:1px;height:20px;margin-left:36px;background:var(--line-strong);transition:background .3s}
.conn.on{background:var(--agent)}
.conn .ws-flow{position:absolute;left:-2px;top:0;width:5px;height:5px;border-radius:50%;background:var(--agent)}
.layer{display:flex;flex-wrap:wrap;align-items:center;gap:10px 20px;padding:14px 20px;border:1px solid var(--line);background:var(--surface);border-radius:var(--radius);transition:background .3s,border-color .3s}
.layer.on{border-color:var(--agent);background:var(--agent-soft)}
.layer-name{flex:1 1 200px;max-width:240px;display:flex;align-items:center;gap:12px;min-width:0}
.layer-n{flex:none;width:24px;font:400 12px/16px var(--mono);color:var(--muted);transition:color .3s}
.layer.done .layer-n,.layer.on .layer-n{color:var(--agent)}
.layer-title{font-weight:500;color:var(--ink)}
.layer-name .dot{opacity:0;transition:opacity .3s}
.layer.on .layer-name .dot{opacity:1}
.chips{flex:999 1 260px;min-width:0;display:flex;flex-wrap:wrap;gap:6px}
.layer-detail{display:none}
.chip{padding:4px 8px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--bg);color:var(--ink-2);font:400 12px/16px var(--mono)}

/* ---------- FAQ ---------- */
.faq{margin-top:48px;border-top:1px solid var(--line)}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:24px;min-height:44px;padding:20px 0;font-size:18px;line-height:28px;font-weight:500;color:var(--ink);-webkit-tap-highlight-color:transparent}
.faq summary::-webkit-details-marker{display:none}
.faq .plus{flex:none;width:16px;height:16px;fill:none;stroke:var(--ink-2);stroke-width:1.5;stroke-linecap:round;transition:transform .2s}
.faq details[open] .plus{transform:rotate(45deg)}
.faq details p{padding:0 40px 24px 0;max-width:64ch;color:var(--ink-2)}
.faq details[open] p{animation:wsIn 240ms ease-out both}

/* ---------- Contact ---------- */
.contact{display:flex;flex-direction:column;align-items:center;text-align:center;gap:16px}
.contact-big{font:400 24px/32px var(--mono);letter-spacing:-.01em}
.contact-big a{color:var(--ink);white-space:nowrap}
.contact-links{margin-top:32px;display:flex;flex-wrap:wrap;justify-content:center;gap:16px 48px}

/* ---------- Footer ---------- */
.site-footer{border-top:1px solid var(--line);padding:64px 0 40px;padding-bottom:max(40px,env(safe-area-inset-bottom))}
.foot-grid{display:grid;grid-template-columns:minmax(0,2fr) repeat(3,minmax(0,1fr));gap:40px 32px}
.foot-brand{display:flex;flex-direction:column;gap:16px;max-width:420px;font-size:14px;line-height:20px;color:var(--ink-2)}
.foot-nav{display:flex;flex-direction:column;gap:10px;font-size:14px;line-height:20px;overflow-wrap:anywhere}
.foot-nav a[href^="mailto:"]{white-space:nowrap}
.foot-bottom{margin-top:56px;padding-top:24px;border-top:1px solid var(--line);display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;font-size:14px;line-height:20px}

/* ---------- Responsive ---------- */
@media (max-width:1024px){
  :root{--pad:40px}
  .display{font-size:56px;line-height:60px;letter-spacing:-.035em}
  .foot-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .foot-brand{grid-column:1/-1}
}

@media (max-width:900px){
  /* chat: no room for the sidebar beside the thread, so the channel list becomes one row above it */
  .chat-body{min-height:0}
  .chat-side{flex-basis:100%;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:2px;padding:10px 12px;border-right:0;border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:none;white-space:nowrap}
  .chat-side::-webkit-scrollbar{display:none}
  .chat-side .label{display:none}
  .chat-side span:not(.label){flex:none;padding:4px 8px;font-size:13px}

  /* hub: the six systems become a compact grid of name chips above the agent panel,
     so the highlighted system stays on screen next to the active step */
  .hub{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .hub-col{display:contents}
  .hub .panel{grid-column:1/-1;order:1;margin-top:8px}
  .wire,.sys-desc{display:none}
  .sys{justify-content:center;min-height:52px;padding:8px 10px}
  .sys-name{font-size:13px;line-height:18px;align-items:flex-start}
  .sys-name .dot{margin-top:6px}
}

@media (max-width:720px){
  :root{--pad:20px;--sec:64px;--header-h:60px}

  /* header: brand + lang on row 1, scrollable nav on row 2 */
  .header-inner{display:grid;grid-template-columns:1fr auto;grid-template-areas:"brand lang" "nav nav";gap:0 8px;padding-top:12px}
  .logo{grid-area:brand;justify-self:start;gap:8px}
  .lang{grid-area:lang}
  .main-nav{grid-area:nav;margin:0 calc(var(--pad) * -1);padding:2px var(--pad) 0;gap:24px;overflow-x:auto;scrollbar-width:none;white-space:nowrap}
  .main-nav::-webkit-scrollbar{display:none}
  .main-nav a{padding:12px 0}
  [id]{scroll-margin-top:112px}

  /* header slides away while scrolling down, comes back on scroll up (main.js) */
  .site-header{transition:transform .25s ease}
  .site-header.is-tucked{transform:translateY(-100%)}

  /* bigger hit areas without changing the look */
  .lang>*{position:relative}
  .lang>*::after{content:"";position:absolute;inset:-8px -1px}
  .contact-big a{display:inline-block;padding:10px 0}
  .foot-nav{gap:0}
  .foot-nav .label{margin-bottom:2px}
  .foot-nav a{padding:12px 0}

  .hero{padding:64px 0}
  .display{font-size:clamp(32px,9.6vw,40px);line-height:1.1;letter-spacing:-.03em}
  .lede{margin-top:24px;font-size:17px;line-height:26px}
  .h2{font-size:28px;line-height:36px}
  .h2-xl{font-size:36px;line-height:40px}
  .sec-sub{font-size:17px;line-height:26px}

  .tex-card{margin-top:32px;padding:12px;background-size:14px 14px}
  .arch-card{margin-top:32px;gap:32px}
  .arch-card .steps{padding:8px 8px 12px}
  .steps-row{margin-top:32px;gap:24px}

  /* chat: app tabs and channel list each stay on one row (scroll sideways if needed) */
  .chat-top{padding:6px 8px}
  .chat-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin:0 -8px;padding:0 8px}
  .chat-tabs::-webkit-scrollbar{display:none}
  .chat-tabs button{flex:none;min-height:44px;padding:6px 10px}
  .chat-side{padding:8px}
  .mem,.badge-agent{font-family:var(--sans)}
  .chat-conv{padding:12px 16px}
  .thread{padding:16px;gap:16px}
  .msg{gap:10px}
  .av{width:28px;height:28px;font-size:11px}
  .typing{left:38px;top:4px}
  .mail{padding:16px}
  .mail-row>span:first-child{width:56px}

  .hub-note{margin-top:20px;padding:0 8px 4px}
  .task{padding:14px 16px 6px}
  .task-steps{padding:6px 8px 12px}

  .panel.arch{padding:16px}
  .arch-head{padding-bottom:16px;margin-bottom:16px}
  /* layers become one-line rows; the active layer's chips show in a fixed box below */
  .layer{padding:10px 14px;gap:10px}
  .conn{height:12px;margin-left:26px}
  .layer-name{flex-basis:100%;max-width:none}
  .layer .chips{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
  .layer-detail{display:flex;flex-direction:column;gap:8px;margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}
  .layer-detail .chips{flex:none}

  .faq{margin-top:32px}
  .faq summary{font-size:17px;line-height:26px;padding:18px 0}
  .faq details p{padding-right:0}

  .contact-big{font-size:clamp(14px,4.9vw,24px);line-height:1.35}
  .contact-links{margin-top:24px;flex-direction:column;gap:12px}

  .site-footer{padding-top:48px}
  .foot-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
  .foot-bottom{margin-top:40px}
}

@media (max-width:520px){
  .hub{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* narrow phones (360px Android, iPhone SE): the full wordmark plus the language switch
   would force the page wider than the screen, so keep just "Welsoft" */
@media (max-width:379px){
  .logo-sub{display:none}
}

@media (prefers-reduced-motion:reduce){
  .site-header{transition:none}
}
