/*
Theme Name: Byte-Wave
Theme URI: https://byte-wave.ch
Author: Byte-Wave GmbH
Author URI: https://byte-wave.ch
Description: One-page marketing theme for Byte-Wave GmbH — IT infrastructure & software development for Swiss SMEs. Bilingual (DE/EN) content toggle and a light/dark theme toggle, both client-side.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: byte-wave
*/

/* ---------- Reset & base ---------- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
img{max-width:100%;display:block}
a{color:inherit}
button{font:inherit}

:root{
  --c-bg:#0E1420; --c-bg-alt:rgba(255,255,255,0.014); --c-header:rgba(14,20,32,0.74);
  --c-surface:#121B29; --c-input:#0E1725; --c-footer:#0B111C;
  --c-border-1:rgba(255,255,255,0.06); --c-border-2:rgba(255,255,255,0.08); --c-border-2b:rgba(255,255,255,0.09);
  --c-border-3:rgba(255,255,255,0.12); --c-border-4:rgba(255,255,255,0.16);
  --c-tag-bg:rgba(255,255,255,0.04); --c-tag-border:rgba(255,255,255,0.07);
  --c-heading-strong:#F2F6FB; --c-heading:#EAF0F7; --c-body-base:#E9EEF6;
  --c-body:#A6B3C6; --c-body-muted:#94A2B8; --c-body-soft:#C4CFDE;
  --c-nav-text:#AEBACD; --c-tag-text:#8FA0B6; --c-note:#7D8AA0;
  --c-mono:#6B7A92; --c-mono-2:#5C6A80; --c-location:#9FB3C6;
  --c-accent-text:#336699; --c-accent:#336699; --c-accent-hover:#4A80AD;
  --c-label:#B4C0D2; --c-pattern:rgba(255,255,255,0.03);
  --c-shadow-lg:rgba(0,0,0,0.5); --c-shadow-sm:rgba(0,0,0,0.4);
}
html[data-theme="light"]{
  --c-bg:#F3F5F8; --c-bg-alt:rgba(10,20,40,0.03); --c-header:rgba(255,255,255,0.82);
  --c-surface:#FFFFFF; --c-input:#F0F2F6; --c-footer:#EAEDF1;
  --c-border-1:rgba(10,20,40,0.08); --c-border-2:rgba(10,20,40,0.12); --c-border-2b:rgba(10,20,40,0.13);
  --c-border-3:rgba(10,20,40,0.16); --c-border-4:rgba(10,20,40,0.22);
  --c-tag-bg:rgba(10,20,40,0.045); --c-tag-border:rgba(10,20,40,0.12);
  --c-heading-strong:#0E1420; --c-heading:#151C2C; --c-body-base:#1E2635;
  --c-body:#4A5568; --c-body-muted:#5A6678; --c-body-soft:#3D4A5C;
  --c-nav-text:#4A5568; --c-tag-text:#5A6678; --c-note:#5A6678;
  --c-mono:#67748A; --c-mono-2:#8894A6; --c-location:#3D4A5C;
  --c-label:#3D4A5C; --c-pattern:rgba(10,20,40,0.05);
  --c-shadow-lg:rgba(20,30,50,0.18); --c-shadow-sm:rgba(20,30,50,0.12);
}

body{
  font-family:'Hanken Grotesk',system-ui,-apple-system,sans-serif;
  -webkit-font-smoothing:antialiased;
  background:var(--c-bg); color:var(--c-body-base);
  min-height:100vh; overflow-x:hidden;
  transition:background .2s ease,color .2s ease;
  padding-top:88px; /* compensates .site-header now being position:fixed */
}
::selection{background:var(--c-accent);color:#fff}
.mono{font-family:'IBM Plex Mono',monospace}
.wrap{max-width:1180px;margin:0 auto;padding-left:32px;padding-right:32px}
@media (max-width:640px){.wrap{padding-left:20px;padding-right:20px}}

/* language toggle: both languages sit in the DOM, CSS hides the inactive one */
html[data-lang="de"] [data-lang="en"]{display:none}
html[data-lang="en"] [data-lang="de"]{display:none}

/* ---------- Header / nav ---------- */
.site-header{
  position:fixed;top:0;left:0;right:0;z-index:60;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  background:var(--c-header);border-bottom:1px solid var(--c-border-1);
  transition:transform .25s ease;
  will-change:transform;
  transform:translate3d(0,0,0);
}
.site-header.header-hidden{transform:translate3d(0,-100%,0)}
/* WordPress's own admin toolbar is ALSO position:fixed;top:0 with a much
   higher z-index, so when logged in it sits on top of and visually covers
   the upper portion of our fixed header — looking exactly like the header
   "only half" reappears. Only affects the logged-in admin view; ordinary
   visitors never see the toolbar. Push our header down below it instead. */
body.admin-bar .site-header{top:32px}
@media (max-width:782px){body.admin-bar .site-header{top:46px}}
@media (prefers-reduced-motion:reduce){.site-header{transition:none}}
.site-header .wrap{padding-top:15px;padding-bottom:15px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:flex;align-items:center;gap:11px;text-decoration:none}
.brand img{width:48px;height:48px}
.brand .name{display:flex;align-items:baseline;gap:6px}
.brand .name b{color:var(--c-heading);font-weight:700;font-size:18px;letter-spacing:-0.02em}
.brand .name span{font-size:11px;color:var(--c-mono)}

.main-nav{display:flex;gap:30px;align-items:center}
.nav-item{position:relative}
.nav-link{display:flex;align-items:center;gap:5px;color:var(--c-nav-text);text-decoration:none;font-size:15px;font-weight:500;transition:color .15s}
.nav-link:hover{color:var(--c-accent)}
.nav-caret{font-size:9px;color:var(--c-mono);transition:transform .2s}
.nav-item.open .nav-caret{transform:rotate(180deg)}

.dropdown{position:absolute;top:100%;left:50%;transform:translateX(-50%);padding-top:16px;visibility:hidden;pointer-events:none}
.nav-item.open .dropdown{visibility:visible;pointer-events:auto}
.dropdown-panel{
  min-width:250px;background:var(--c-surface);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);
  border:1px solid var(--c-border-2b);border-radius:16px;padding:6px;box-shadow:0 24px 50px var(--c-shadow-lg);
  opacity:0;transform:translateY(-8px) scale(.97);transition:opacity .22s cubic-bezier(.16,1,.3,1),transform .22s cubic-bezier(.16,1,.3,1);
}
.nav-item.open .dropdown-panel{opacity:1;transform:translateY(0) scale(1)}
.dropdown-eyebrow{padding:10px 14px 8px;font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--c-mono)}
.dropdown-link{display:flex;align-items:center;gap:12px;padding:10px 12px;margin:0 6px 6px;border-radius:12px;text-decoration:none;transition:background .15s}
.dropdown-link:hover{background:rgba(51,102,153,0.1)}
.dropdown-link .icon{width:42px;height:42px;flex:none}
.dropdown-link .icon img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 6px 10px rgba(0,0,0,.25))}
.dropdown-link .title{color:var(--c-heading);font-size:14.5px;font-weight:700;display:block}
.dropdown-link .desc{color:var(--c-mono);font-size:12px;display:block}

.header-actions{display:flex;align-items:center;gap:14px}
.icon-btn{display:flex;align-items:center;gap:6px;border:1px solid var(--c-border-3);background:transparent;border-radius:999px;padding:6px 12px;cursor:pointer;font-size:12px;color:var(--c-nav-text)}
.seg{display:flex;gap:2px;border:1px solid var(--c-border-3);border-radius:999px;padding:3px}
.seg button{border:none;cursor:pointer;font-size:12px;font-weight:600;padding:6px 12px;border-radius:999px;transition:all .15s;background:transparent;color:var(--c-body-muted)}
.seg button.active{background:var(--c-accent);color:#fff}
.btn{display:inline-flex;align-items:center;gap:9px;padding:10px 18px;border-radius:9px;background:var(--c-accent);color:#fff;font-weight:700;font-size:14px;text-decoration:none;transition:background .15s;border:none;cursor:pointer;font-family:inherit}
.btn:hover{background:var(--c-accent-hover)}
.btn-lg{padding:15px 26px;border-radius:11px;font-size:16px}
.btn-outline{display:inline-flex;align-items:center;padding:15px 26px;border-radius:11px;background:var(--c-surface);color:var(--c-body-base);font-weight:600;font-size:16px;text-decoration:none;border:1px solid var(--c-border-4);transition:border-color .15s}
.btn-outline:hover{border-color:rgba(51,102,153,.55)}

.nav-toggle{display:none;border:1px solid var(--c-border-3);background:transparent;border-radius:8px;padding:8px 10px;cursor:pointer;color:var(--c-nav-text)}

/* ---------- CH flag ---------- */
.ch-flag{width:13px;height:13px;flex:none;display:inline-block;border-radius:1px;object-fit:contain}
.ch-flag.lg{width:14px;height:14px}

/* ---------- Hero ---------- */
.hero{position:relative;overflow:hidden;background:radial-gradient(900px 600px at 80% 40%, rgba(51,102,153,.16), transparent 65%), var(--c-bg)}
.hero-dots{position:absolute;inset:0;pointer-events:none}
.hero-fade-x{position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg, var(--c-bg) 0%, color-mix(in srgb, var(--c-bg) 82%, transparent) 32%, transparent 62%)}
.hero-fade-y{position:absolute;left:0;right:0;bottom:0;height:90px;pointer-events:none;background:linear-gradient(0deg, var(--c-bg), transparent)}
.hero .wrap{position:relative;padding-top:110px;padding-bottom:150px;min-height:620px;display:flex;align-items:center}
.hero-copy{max-width:620px}
.eyebrow-pill{display:inline-flex;align-items:center;gap:9px;font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--c-accent-text);border:1px solid rgba(51,102,153,.28);border-radius:999px;padding:7px 14px;background:rgba(51,102,153,.06)}
.hero h1{font-size:clamp(40px,5vw,62px);font-weight:800;line-height:1.04;letter-spacing:-.03em;margin:26px 0 0;color:var(--c-heading-strong)}
.hero .tagline{display:block;font-size:20px;font-weight:600;letter-spacing:-.01em;margin-top:10px;color:var(--c-accent-text)}
.hero .sub{font-size:19px;line-height:1.6;color:var(--c-body);margin:24px 0 0;max-width:540px}
.hero .cta-row{display:flex;flex-wrap:wrap;gap:14px;margin-top:36px}
.hero .note{display:flex;align-items:center;gap:10px;margin-top:32px;color:var(--c-note);font-size:14px}
.dot{width:7px;height:7px;border-radius:50%;background:var(--c-accent);display:inline-block}

/* ---------- Tech marquee ---------- */
.trust{border-top:1px solid var(--c-border-1);border-bottom:1px solid var(--c-border-1);background:var(--c-bg-alt);padding:30px 0}
.trust-label{text-align:center;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--c-mono);margin-bottom:22px}
.marquee-mask{width:100%;overflow:hidden;-webkit-mask-image:linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);mask-image:linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent)}
.marquee-track{display:flex;width:max-content;animation:logoMarquee 42s linear infinite;gap:22px}
@keyframes logoMarquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.marquee-item{width:116px;flex:none;display:flex;flex-direction:column;align-items:center;gap:7px}
.marquee-logo{width:116px;height:56px;border-radius:10px;background:#EDEFF2;display:flex;align-items:center;justify-content:center;padding:10px}
.marquee-logo img{max-width:100%;max-height:100%;object-fit:contain}
.marquee-item span{font-size:10.5px;color:var(--c-tag-text);text-align:center;white-space:nowrap}
@media (prefers-reduced-motion:reduce){.marquee-track{animation:none}}

/* ---------- Section shells ---------- */
/* Offsets anchor-jump targets so the fixed header doesn't cover their top
   (e.g. clicking "Leistungen" in the nav) — matches the fixed header's height. */
#services,#products,#about,#why,#contact{scroll-margin-top:88px}
.section{max-width:1180px;margin:0 auto;padding:110px 32px}
.section-alt{background:var(--c-bg-alt);border-top:1px solid var(--c-border-1);border-bottom:1px solid var(--c-border-1)}
.section-head{max-width:720px;margin:0 auto 60px;text-align:center}
.section-head .eyebrow{font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:var(--c-accent-text)}
.section-head h2{font-size:clamp(29px,3.4vw,42px);font-weight:800;letter-spacing:-.02em;line-height:1.1;margin:16px 0 0;color:var(--c-heading-strong)}
.section-head p{color:var(--c-body-muted);font-size:17px;line-height:1.6;margin:16px 0 0}
@media (max-width:640px){.section,.section-alt>.section{padding-top:72px;padding-bottom:72px}}

/* ---------- Services ---------- */
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.service-card{position:relative;background:var(--c-surface);border:1px solid var(--c-border-2);border-radius:16px;padding:30px 28px 32px;transition:border-color .18s, transform .18s}
.service-card:hover{border-color:rgba(51,102,153,.45);transform:translateY(-4px)}
.service-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}
.service-n{font-size:13px;color:var(--c-accent-text);letter-spacing:.1em}
.service-icon{width:38px;height:38px;border-radius:10px;background:rgba(51,102,153,.1);border:1px solid rgba(51,102,153,.25);display:flex;align-items:center;justify-content:center;color:var(--c-accent-text);font-size:16px}
.service-card h3{font-size:20px;font-weight:700;letter-spacing:-.01em;line-height:1.25;color:var(--c-heading);margin-bottom:12px}
.service-card p{color:var(--c-body-muted);font-size:15px;line-height:1.62}
.tag-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.tag{font-size:11.5px;color:var(--c-tag-text);background:var(--c-tag-bg);border:1px solid var(--c-tag-border);padding:5px 11px;border-radius:7px}

/* ---------- Products ---------- */
.product-wrap{display:flex;justify-content:center;flex-wrap:wrap;gap:28px}
.product-card{position:relative;display:flex;flex-direction:column;width:100%;max-width:280px;border-radius:22px;box-shadow:0 26px 50px rgba(0,0,0,.35);transition:transform .18s;text-decoration:none;color:inherit}
.product-card:hover{transform:translateY(-4px)}
.product-top{position:relative;z-index:2;overflow:hidden;border-radius:22px 22px 0 0;box-shadow:0 14px 24px rgba(0,0,0,.32);padding:32px 24px 18px;display:flex;flex-direction:column;align-items:center;text-align:center}
.product-top img{width:92px;height:92px;filter:drop-shadow(0 12px 22px rgba(0,0,0,.28))}
.product-top h3{margin:18px 0 0;font-size:21px;font-weight:800;letter-spacing:.01em;color:var(--c-heading-strong)}
.product-bottom{position:relative;z-index:1;flex:1 1 auto;border-radius:0 0 22px 22px;padding:18px 24px 24px}
.product-bottom p{font-size:14px;line-height:1.55}

.product-card-typewave .product-top{background:linear-gradient(180deg, color-mix(in srgb, var(--c-surface) 35%, transparent) 0%, var(--c-surface) 72%), url('assets/backgrounds/about_wave.png') center 40%/cover no-repeat, var(--c-surface)}
.product-card-typewave .product-bottom{background:#1560A8}
.product-card-typewave .product-bottom p{color:#F3DEC0}

.product-card-youml .product-top{background:linear-gradient(180deg, color-mix(in srgb, var(--c-surface) 35%, transparent) 0%, var(--c-surface) 72%), url('assets/backgrounds/uml.png') center/cover no-repeat, var(--c-surface)}
.product-card-youml .product-bottom{background:#8000AC}
.product-card-youml .product-bottom p{color:#FFFFFF}

.product-card-audiotray .product-top{background:linear-gradient(180deg, color-mix(in srgb, var(--c-surface) 25%, transparent) 0%, var(--c-surface) 78%), radial-gradient(circle at 50% 30%, rgba(128,128,128,.28), transparent 70%), var(--c-surface)}
.product-card-audiotray .product-bottom{background:#757575}
.product-card-audiotray .product-bottom p{color:#FFFFFF}

/* ---------- Legal pages ---------- */
.legal-page h1{font-size:clamp(32px,4vw,46px);font-weight:800;letter-spacing:-.02em;color:var(--c-heading-strong)}
.legal-page .legal-updated{color:var(--c-body-muted);font-size:14px;margin:10px 0 48px}
.legal-page h2{font-size:21px;font-weight:800;letter-spacing:-.01em;color:var(--c-heading-strong);margin:40px 0 14px}
.legal-page h2:first-of-type{margin-top:0}
.legal-page p{color:var(--c-body);font-size:16px;line-height:1.7;margin:0 0 14px;max-width:760px}
.legal-page ul{margin:0 0 14px 20px;color:var(--c-body);font-size:16px;line-height:1.7;max-width:760px}
.legal-page li{margin-bottom:6px}
.legal-page a{color:var(--c-accent-text)}

/* ---------- About ---------- */
.about-grid{display:grid;grid-template-columns:.92fr 1.08fr;gap:64px;align-items:center}
.about-copy h2{font-size:clamp(28px,3.2vw,40px);font-weight:800;letter-spacing:-.02em;line-height:1.12;margin:16px 0 0;color:var(--c-heading-strong)}
.about-copy .eyebrow{font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:var(--c-accent-text)}
.about-copy>p{color:var(--c-body);font-size:17px;line-height:1.66;margin:22px 0 0}
.points{display:flex;flex-direction:column;gap:13px;margin-top:28px}
.point{display:flex;align-items:flex-start;gap:12px}
.point .check{flex:none;width:22px;height:22px;border-radius:6px;background:rgba(51,102,153,.12);border:1px solid rgba(51,102,153,.3);color:var(--c-accent-text);display:flex;align-items:center;justify-content:center;font-size:13px;margin-top:1px}
.point span:last-child{color:var(--c-body-soft);font-size:15.5px;line-height:1.5}
.location-chip{display:inline-flex;align-items:center;gap:10px;margin-top:30px;padding:11px 16px;border-radius:10px;background:rgba(51,102,153,.06);border:1px solid rgba(51,102,153,.18);color:var(--c-location);font-size:14px}

.founders{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.founder-card{background:var(--c-surface);border:1px solid var(--c-border-2);border-radius:16px;padding:26px 24px;transition:border-color .18s}
.founder-card:hover{border-color:rgba(51,102,153,.4)}
.founder-photo{width:100%;aspect-ratio:1;border-radius:14px;object-fit:cover;display:block}
.founder-card h3{font-size:19px;font-weight:700;color:var(--c-heading);margin:20px 0 3px;letter-spacing:-.01em}
.founder-role{font-size:11.5px;color:var(--c-accent-text);letter-spacing:.06em;text-transform:uppercase}
.founder-focus{color:var(--c-note);font-size:13px;margin-top:2px}
.founder-bio{color:var(--c-body-muted);font-size:14px;line-height:1.6;margin-top:16px;padding-top:16px;border-top:1px solid var(--c-tag-border)}

/* ---------- Why Byte-Wave (comparison) ---------- */
/* Neutral colours map to the site tokens so the block follows the theme
   toggle; the red/amber accents come from the comparison design. */
.bw-scope{--bw-surface:var(--c-surface);--bw-sunken:var(--c-input);--bw-line:var(--c-border-2);--bw-ink:var(--c-heading);--bw-muted:var(--c-body-muted);--bw-red:#d52b1e;--bw-red-strong:#b3231a;--bw-red-text:#ff6b5e;--bw-amber-soft:#3a3120;--bw-positive:#4cc38a;--bw-partial:#e5b440;--bw-negative:#8b919c;--bw-shadow-card:0 1px 2px rgba(0,0,0,.4);--bw-shadow-raised:0 2px 4px rgba(0,0,0,.5),0 16px 40px rgba(0,0,0,.45)}
html[data-theme="light"] .bw-scope{--bw-red-text:#b3231a;--bw-amber-soft:#fbeec6;--bw-positive:#1d7a4f;--bw-partial:#8a6100;--bw-negative:#6b7180;--bw-shadow-card:0 1px 2px rgba(22,24,29,.06),0 4px 16px rgba(22,24,29,.04);--bw-shadow-raised:0 2px 4px rgba(22,24,29,.06),0 16px 40px rgba(22,24,29,.10)}
.bw-scope{container-type:inline-size;color:var(--bw-ink)}
.bw-head{max-width:720px;margin:0 auto 48px;text-align:center}
.bw-eyebrow{margin:0 0 12px;font-size:12px;line-height:16px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--bw-red-text)}
.bw-h2{margin:0 0 16px;font-size:clamp(28px,4vw,36px);line-height:1.17;font-weight:800;letter-spacing:-.015em;text-wrap:balance;color:var(--c-heading-strong)}
.bw-lead{margin:0;font-size:18px;line-height:28px;color:var(--bw-muted);text-wrap:pretty}
.bw-grid{display:grid;gap:24px;grid-template-columns:1fr;align-items:start}
.bw-grid>.bw-card--featured{order:-1}
.bw-card{position:relative;display:flex;flex-direction:column;gap:16px;padding:32px 24px;background:var(--bw-surface);border:1px solid var(--bw-line);border-radius:20px;box-shadow:var(--bw-shadow-card)}
@container (min-width:900px){
  .bw-grid{grid-template-columns:1fr 1.12fr 1fr;align-items:stretch}
  .bw-grid>.bw-card--featured{order:0;margin-block:-16px}
  .bw-card{padding:32px}
}
.bw-card--featured{border:2px solid var(--bw-red);box-shadow:var(--bw-shadow-raised)}
.bw-badge{position:absolute;top:0;left:50%;transform:translate(-50%,-50%);display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;background:var(--bw-red);color:#fff;font-size:12px;line-height:16px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
.bw-badge svg{width:12px;height:12px}
/* All three illustrations share one scale (same desk size), bottom-aligned
   so the headings below line up across the cards. */
.bw-anim{height:210px;display:flex;align-items:flex-end;justify-content:center}
.bw-anim>div{width:calc(var(--w) * .4px);max-width:100%;aspect-ratio:var(--w)/var(--h)}
.bw-anim svg{display:block}
.bw-card h3{margin:0;font-size:22px;line-height:28px;font-weight:700;color:var(--c-heading-strong)}
.bw-card .bw-sub{margin:-8px 0 0;font-size:14px;line-height:22px;color:var(--bw-muted)}
.bw-card--featured .bw-sub{color:var(--bw-ink)}
.bw-list{list-style:none;margin:8px 0 0;padding:16px 0 0;border-top:1px solid var(--bw-line);display:grid;gap:12px;font-size:15px;line-height:22px}
.bw-list li{display:grid;grid-template-columns:20px 1fr;gap:12px;align-items:start}
.bw-list svg{width:20px;height:20px;margin-top:1px}
.bw-list .is-pro svg{color:var(--bw-positive)}
.bw-list .is-con svg{color:var(--bw-negative)}
.bw-list .is-con{color:var(--bw-muted)}
.bw-facts{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0}
.bw-fact{padding:12px 16px;border-radius:12px;background:var(--bw-amber-soft)}
.bw-fact dt{font-size:26px;line-height:30px;font-weight:800}
.bw-fact dd{margin:2px 0 0;font-size:13px;line-height:18px;color:var(--bw-ink)}
.bw-cta{margin-top:auto;padding-top:16px}
.bw-button{display:inline-flex;width:100%;justify-content:center;align-items:center;min-height:48px;padding:12px 20px;border-radius:12px;background:var(--bw-red);color:#fff;font-weight:700;font-size:16px;line-height:24px;text-decoration:none;transition:background .15s}
.bw-button:hover{background:var(--bw-red-strong)}
.bw-button:focus-visible,.bw-table-scroll:focus-visible{outline:2px solid var(--bw-red-text);outline-offset:2px}
.bw-matrix{margin-top:110px}
.bw-table-scroll{overflow-x:auto;border:1px solid var(--bw-line);border-radius:20px;background:var(--bw-surface);box-shadow:var(--bw-shadow-card)}
.bw-table{width:100%;min-width:640px;border-collapse:collapse;font-size:14px;line-height:20px}
.bw-table th,.bw-table td{padding:16px;text-align:left;vertical-align:top;border-bottom:1px solid var(--bw-line)}
.bw-table tr:last-child>*{border-bottom:0}
.bw-table thead th{font-size:16px;line-height:22px;font-weight:700;background:var(--bw-sunken);color:var(--c-heading-strong)}
.bw-table thead th:first-child{color:var(--bw-muted);font-size:12px;letter-spacing:.08em;text-transform:uppercase}
.bw-table tbody th{width:24%;font-weight:600}
.bw-table .is-featured{background:var(--bw-amber-soft)}
.bw-table thead .is-featured{background:var(--bw-red);color:#fff}
.bw-rate{display:grid;grid-template-columns:20px 1fr;gap:8px;align-items:start}
.bw-rate svg{width:20px;height:20px}
.bw-rate.is-yes svg{color:var(--bw-positive)}
.bw-rate.is-part svg{color:var(--bw-partial)}
.bw-rate.is-no svg{color:var(--bw-negative)}
.bw-rate.is-no{color:var(--bw-muted)}
.bw-table .is-featured .bw-rate.is-no{color:var(--bw-ink)}
.bw-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (max-width:640px){.bw-matrix{margin-top:72px}}

/* ---------- Contact ---------- */
.contact{background:radial-gradient(900px 480px at 20% 110%, rgba(51,102,153,.1), transparent 60%), var(--c-bg-alt);border-top:1px solid var(--c-border-1)}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:start}
.contact-info h2{font-size:clamp(29px,3.4vw,42px);font-weight:800;letter-spacing:-.02em;line-height:1.1;margin:16px 0 0;color:var(--c-heading-strong)}
.contact-info .eyebrow{font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:var(--c-accent-text)}
.contact-info>p{color:var(--c-body);font-size:17px;line-height:1.64;margin:18px 0 0;max-width:440px}
.contact-list-title{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--c-mono);margin-bottom:14px}
.contact-list{margin-top:38px;display:flex;flex-direction:column;gap:2px}
.contact-row{display:flex;align-items:center;gap:13px;padding:14px 0;border-top:1px solid var(--c-tag-border);color:var(--c-body-soft);font-size:16px;text-decoration:none}
a.contact-row{color:var(--c-heading);transition:color .15s}
a.contact-row:hover{color:var(--c-accent)}
.contact-row .glyph{color:var(--c-accent);font-size:14px}

.contact-card{background:var(--c-surface);border:1px solid var(--c-border-2b);border-radius:18px;padding:34px;box-shadow:0 24px 60px var(--c-shadow-sm)}
.field{display:flex;flex-direction:column;gap:8px;margin-bottom:20px}
.field label{font-size:13.5px;font-weight:600;color:var(--c-label)}
.field input,.field textarea{width:100%;padding:13px 15px;border-radius:10px;background:var(--c-input);border:1px solid var(--c-border-3);color:var(--c-body-base);font-size:15px;font-family:inherit;outline:none;transition:border-color .15s}
.field input:focus,.field textarea:focus{border-color:var(--c-accent)}
.field textarea{resize:vertical;min-height:110px}
.form-submit{margin-top:4px;width:100%;padding:15px;border-radius:11px}
.hp-field{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.form-note{margin-top:14px;font-size:13px;color:var(--c-mono)}
.form-note.is-error{color:#D8232A}

.success-panel{text-align:center;padding:40px 12px}
.success-check{width:60px;height:60px;border-radius:50%;background:rgba(51,102,153,.12);border:1px solid rgba(51,102,153,.35);display:flex;align-items:center;justify-content:center;margin:0 auto;color:var(--c-accent);font-size:28px}
.success-panel h3{font-size:22px;font-weight:700;color:var(--c-heading);margin:22px 0 8px}
.success-panel p{color:var(--c-body-muted);font-size:15px;line-height:1.6;max-width:340px;margin:0 auto}

/* ---------- Footer ---------- */
.site-footer{border-top:1px solid var(--c-tag-border);background:var(--c-footer)}
.site-footer .wrap{padding:40px 32px;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.footer-brand{display:flex;align-items:center;gap:12px}
.footer-brand img{width:30px;height:30px}
.footer-brand .col{display:flex;flex-direction:column}
.footer-brand-name{display:flex;align-items:center;gap:8px}
.footer-brand b{color:var(--c-heading);font-weight:700;font-size:15px;letter-spacing:-.01em}
.footer-brand span{font-size:11px;color:var(--c-mono-2)}
.footer-links{display:flex;align-items:center;gap:24px;flex-wrap:wrap}
.footer-links a{color:var(--c-tag-text);text-decoration:none;font-size:14px;transition:color .15s}
.footer-links a:hover{color:var(--c-accent)}
.footer-links .rights{color:var(--c-mono-2);font-size:13px}

/* ---------- Responsive ---------- */
@media (max-width:980px){
    .about-grid{grid-template-columns:1fr}
  .contact-grid{grid-template-columns:1fr}
  .services-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:760px){
  .main-nav,.header-actions .seg,.header-actions .icon-btn{display:none}
  .nav-toggle{display:inline-flex}
  .header-actions .btn{padding:9px 14px;font-size:13px}
  .site-header.menu-open .main-nav{
    display:flex;position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:flex-start;
    gap:4px;background:var(--c-surface);border-bottom:1px solid var(--c-border-2);padding:14px 20px 20px;
  }
  .site-header.menu-open .dropdown{position:static;transform:none;padding-top:6px;visibility:visible;pointer-events:auto}
  .site-header.menu-open .dropdown-panel{opacity:1;transform:none;box-shadow:none;border:none;background:transparent;padding-left:0}
  .site-header.menu-open .nav-caret{display:none}
  .site-header.menu-open .header-actions .seg,
  .site-header.menu-open .header-actions .icon-btn{display:flex;margin-top:10px}
  .services-grid,.founders{grid-template-columns:1fr}
}
@media (max-width:480px){
  .site-header .wrap{padding-top:12px;padding-bottom:12px}
  .brand .name span{display:none}
  body{padding-top:82px}
}
