/* tastemaker: macro=search-first-hub · nav=two-tier-utility · hero=fullbleed-photo-search · footer=compact-columns
   mood=technical (locked identity: Gridworx design system, platform/design-system/tokens.css; modern look wins on conflicts) · contrast: text 16.9:1, accent-on-white 6.0:1, white-on-accent 6.0:1
   Photos: Unsplash (images.unsplash.com, hotlinked as Unsplash's guidelines ask). Icons: Lucide (ISC). */

/* ------------------------------------------------------------------ tokens: the portal's brand contract names */
:root {
  --ink: #0b1b3f;            /* Gridworx navy: text, dark surfaces */
  --accent: #2b46e8;         /* Gridworx blue: the one action colour */
  --accent-hover: #1f38cf;
  --accent-soft: #8fa1ff;    /* accent on dark */
  --accent-tint: #e7ecff;
  --bg: #f5f8fe;
  --bg-raised: #ffffff;
  --bg-panel: #eef3fe;
  --border: #dee6fb;
  --border-strong: #b9c7ee;
  --text: var(--ink);
  --text-dim: #3a4a70;
  --text-faint: #5b6890;    /* the token #7c89a6 is 3.6:1; this one is 5.2:1 */
  --urgent: #d92c20;
  --urgent-tint: #fdecea;
  --ok: #0e8a5f;
  --ok-tint: #e3f5ee;
  --amber: #b45309;
  --accent-line: rgba(43, 70, 232, .3);

  --font-sans: "Inter", "Segoe UI Variable Text", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Mono", ui-monospace, monospace;
  --font-display: var(--font-mono);  /* titles in bold mono, as the Gridworx site and decks */

  --r-xs: 6px; --r-sm: 8px; --r: 10px; --r-lg: 14px; --r-pill: 999px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px; --s8: 32px; --s10: 40px;
  --s12: 48px; --s16: 64px; --s20: 80px; --s24: 96px; --s32: 128px;
  --wrap: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-card: 0 2px 10px rgba(11, 27, 63, .04);
  --shadow-float: 0 24px 60px -12px rgba(11, 27, 63, .28), 0 2px 6px rgba(11, 27, 63, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.55 var(--font-sans); letter-spacing: -0.006em; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--s6)); margin-inline: auto; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--font-mono); letter-spacing: 0; }
svg.lucide { width: 1em; height: 1em; stroke-width: 1.75; flex: none; }

/* ------------------------------------------------------------------ header: utility row + main row */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--border); color: var(--ink); }
.hdr-util { font-size: 13px; color: var(--text-dim); }
.hdr-util .wrap { display: flex; align-items: center; gap: var(--s5); height: 38px; }
.hdr-util a:hover { color: var(--ink); }
.netstat { display: inline-flex; align-items: center; gap: 7px; margin-right: auto; color: var(--text-dim); }
.netstat i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(14, 138, 95, .18); }
.netstat.warn i { background: var(--amber); box-shadow: 0 0 0 3px rgba(180, 83, 9, .2); }
.pill-urgent { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: var(--r-xs); background: var(--urgent); color: #fff !important; font-weight: 600; }
.pill-urgent:hover { background: #b9241a; }
.hdr-main .wrap { display: flex; align-items: center; gap: var(--s8); height: 64px; border-top: 1px solid var(--border); }
.logo { display: inline-flex; align-items: baseline; font: 700 19px var(--font-mono); letter-spacing: -0.5px; white-space: nowrap; color: var(--ink); }
.logo::before { content: "//"; color: var(--accent); }
.logo::after { content: "_"; color: var(--accent); animation: blink 1.1s steps(1) infinite; }
.nav { display: flex; gap: var(--s1); margin-left: auto; }
.nav { gap: var(--s5); }
.nav a, .hdr .btn { white-space: nowrap; }
.nav a { padding: 21px 0 19px; border-bottom: 2px solid transparent; font-size: 15px; font-weight: 500; color: var(--text-dim); transition: color .18s var(--ease), border-color .18s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a[aria-current] { color: var(--ink); border-bottom-color: var(--accent); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: var(--r-sm); border: 1px solid transparent; font-weight: 600; font-size: 15px; cursor: pointer; transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease); white-space: nowrap; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border-color: var(--border-strong); background: var(--bg-raised); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--border-strong); border-radius: var(--r-sm); background: transparent; font-size: 20px; cursor: pointer; align-items: center; justify-content: center; }

/* the header over the landing photo: transparent, white */
.hdr.on-photo { position: absolute; inset: 0 0 auto; background: transparent; backdrop-filter: none; border: 0; color: #fff; }
.hdr.on-photo .hdr-util, .hdr.on-photo .netstat { color: rgba(255, 255, 255, .78); }
.hdr.on-photo .hdr-util a:hover { color: #fff; }
.hdr.on-photo .hdr-main .wrap { border-top-color: rgba(255, 255, 255, .16); }
.hdr.on-photo .logo { color: #fff; }
.hdr.on-photo .logo::before, .hdr.on-photo .logo::after { color: var(--accent-soft); }
.hdr.on-photo .nav a { color: rgba(255, 255, 255, .86); }
.hdr.on-photo .nav a:hover { color: #fff; }
.hdr.on-photo .nav a[aria-current] { color: #fff; border-bottom-color: var(--accent-soft); }
.hdr.on-photo .menu-btn { border-color: rgba(255, 255, 255, .22); border-radius: var(--r-pill); background: rgba(255, 255, 255, .1); color: #fff; }

@media (max-width: 1180px) {
  .nav, .hdr-main .btn-ghost, .hdr-util .u-hide { display: none; }
  .menu-btn { display: inline-flex; }
  .hdr-main .wrap { gap: var(--s3); }
}
@media (max-width: 560px) {
  .hdr-main .btn-primary { display: none; }
  .hdr-util .wrap { gap: var(--s3); }
}

/* mobile menu sheet */
.sheet { position: fixed; inset: 0; z-index: 80; background: var(--bg-raised); padding: var(--s5) var(--s6) var(--s10); overflow: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s; }
.sheet.open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
.sheet-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s6); }
.sheet nav a { display: flex; align-items: center; justify-content: space-between; padding: var(--s4) 0; border-bottom: 1px solid var(--border); font-size: 22px; font-weight: 400; letter-spacing: -0.02em; }

/* ------------------------------------------------------------------ search (shared by the landing and page headers) */
.gxs { position: relative; width: 100%; }
.gxs-field { position: relative; display: flex; align-items: center; gap: var(--s3); height: 72px; padding: 0 10px 0 var(--s6); border-radius: var(--r-lg); background: rgba(255, 255, 255, .97); color: var(--ink); box-shadow: var(--shadow-float); }
.gxs-field > svg.lucide { font-size: 24px; color: var(--accent); }
.gxs input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: 400 21px var(--font-sans); letter-spacing: -0.02em; color: var(--ink); }
.gxs input::placeholder { color: transparent; }
.gxs-ph { position: absolute; left: calc(var(--s6) + 24px + var(--s3)); right: 90px; pointer-events: none; font-size: 21px; letter-spacing: -0.02em; color: #7a86a6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gxs-ph b { font-weight: 400; color: var(--ink); opacity: .55; }
.gxs-ph .caret { display: inline-block; width: 1.5px; height: 1.05em; margin-left: 1px; vertical-align: -0.15em; background: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.gxs.has-value .gxs-ph { display: none; }
.gxs-go { width: 52px; height: 52px; border-radius: var(--r-sm); border: 0; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; cursor: pointer; transition: background-color .18s var(--ease), transform .18s var(--ease); }
.gxs-go:hover { background: var(--accent-hover); }
.gxs-go:active { transform: scale(.96); }

.gxs-panel { position: absolute; top: calc(100% + 10px); left: 0; right: 0; z-index: 40; max-height: min(62vh, 560px); overflow: auto; padding: var(--s2); border-radius: var(--r-lg); background: #fff; color: var(--ink); box-shadow: var(--shadow-float); opacity: 0; transform: translateY(-6px); visibility: hidden; transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s .18s; }
.gxs.open .gxs-panel { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.gxs-group { padding: var(--s2) var(--s3) var(--s1); font: 500 11px var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); }
.gxs-item { display: flex; align-items: center; gap: var(--s4); padding: 10px var(--s3); border-radius: var(--r-sm); cursor: pointer; }
.gxs-item .ic { width: 40px; height: 40px; border-radius: var(--r-sm); display: inline-flex; align-items: center; justify-content: center; background: var(--bg-panel); color: var(--accent); font-size: 19px; flex: none; }
.gxs-item.urgent .ic { background: var(--urgent-tint); color: var(--urgent); }
.gxs-item .t { font-size: 16px; font-weight: 450; letter-spacing: -0.01em; }
.gxs-item .t mark { background: none; color: var(--accent); font-weight: 600; }
.gxs-item .h { font-size: 13px; color: var(--text-faint); }
.gxs-item .go { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-faint); white-space: nowrap; }
.gxs-item .tag { font: 600 11px var(--font-mono); padding: 2px 8px; border-radius: var(--r-pill); background: var(--accent-tint); border: 1px solid var(--accent-line); color: var(--accent); }
.gxs-item[aria-selected="true"] { background: var(--bg-panel); }
.gxs-item[aria-selected="true"] .go::after { content: "↵"; font-family: var(--font-mono); color: var(--accent); }
.gxs-answer { margin: var(--s1) var(--s1) var(--s2); padding: var(--s4) var(--s5); border-radius: var(--r); background: var(--bg-panel); }
.gxs-answer .q { font-size: 13px; color: var(--text-faint); margin-bottom: 2px; }
.gxs-answer .a { font-size: 17px; letter-spacing: -0.015em; }
.gxs-answer a { display: inline-flex; gap: 6px; align-items: center; margin-top: var(--s2); font-size: 14px; color: var(--accent); font-weight: 500; }
.gxs-zip { display: flex; align-items: center; gap: var(--s4); margin: var(--s1) var(--s1) var(--s2); padding: var(--s4) var(--s5); border-radius: var(--r); background: var(--ok-tint); }
.gxs-zip.no { background: #fff4e5; }
.gxs-zip .ic { font-size: 22px; color: var(--ok); }
.gxs-zip.no .ic { color: var(--amber); }
.gxs-empty { padding: var(--s6) var(--s4); text-align: center; color: var(--text-dim); }

/* compact variant inside page headers */
.gxs.compact .gxs-field { height: 54px; padding: 0 7px 0 var(--s5); border-radius: var(--r); box-shadow: 0 1px 0 var(--border), 0 0 0 1px var(--border); }
.gxs.compact .gxs-field:focus-within { box-shadow: 0 0 0 1px var(--accent), 0 0 0 4px rgba(43, 70, 232, .14); }
.gxs.compact input, .gxs.compact .gxs-ph { font-size: 16px; }
.gxs.compact .gxs-ph { left: calc(var(--s5) + 20px + var(--s3)); right: 70px; }
.gxs.compact .gxs-field > svg.lucide { font-size: 20px; }
.gxs.compact .gxs-go { width: 40px; height: 40px; font-size: 18px; }

/* ------------------------------------------------------------------ landing */
.land { position: relative; min-height: 100svh; display: flex; flex-direction: column; color: #fff; isolation: isolate; overflow: hidden; background: var(--ink); }
.land-bg { position: absolute; inset: 0; z-index: -2; }
.land-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; transform-origin: 50% 62%; will-change: transform;
  animation: reveal 2.4s var(--ease) both, drift 60s linear both; } /* ambient: a steady zoom into the towers, then it holds */
@keyframes reveal { from { opacity: .4; filter: saturate(.7) brightness(.8); } to { opacity: 1; filter: none; } }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.35); } }
.land::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(120% 70% at 50% 46%, rgba(11, 27, 63, .15), rgba(11, 27, 63, .5) 75%),
  linear-gradient(180deg, rgba(11, 27, 63, .12) 0%, rgba(11, 27, 63, .05) 30%, rgba(11, 27, 63, .1) 60%, rgba(11, 27, 63, .75) 100%); }
.land-center { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 150px 0 var(--s20); }
.land-center .wrap { max-width: 880px; }
.land h1 { margin: 0 0 var(--s8); font: 700 clamp(34px, 5.4vw, 68px)/1.04 var(--font-display); letter-spacing: -0.04em; text-align: center; text-wrap: balance; }
.land h1 em { font-style: normal; color: var(--accent-soft); }
.land .gxs-panel { max-height: min(52vh, 520px); }
.gxs.open { z-index: 30; }
[data-search], .gxs { position: relative; z-index: 2; }
.land-foot { display: flex; justify-content: space-between; gap: var(--s4); padding: var(--s5) 0; font-size: 12.5px; color: rgba(255, 255, 255, .6); }
.land-foot a:hover { color: #fff; }
.land-foot nav { display: flex; gap: var(--s5); }

/* entrance */
.rise { animation: rise .7s var(--ease) backwards; } /* backwards: no opacity left on the element afterwards, so backdrop blur reaches the photo */
.rise.d1 { animation-delay: .12s; } .rise.d2 { animation-delay: .24s; } .rise.d3 { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------ inner pages */
.crumbs { display: flex; gap: var(--s2); font-size: 13px; color: var(--text-faint); margin-bottom: var(--s4); }
.crumbs a:hover { color: var(--accent); }
.crumbs span::before { content: "/"; margin-right: var(--s2); color: var(--border); }
.page-head { padding: var(--s12) 0 var(--s10); }
.page-head-grid { display: grid; grid-template-columns: 1fr 440px; gap: var(--s10); align-items: end; }
.display { margin: 0; font: 700 clamp(30px, 4vw, 50px)/1.06 var(--font-display); letter-spacing: -0.04em; text-wrap: balance; }
.lede { margin: var(--s4) 0 0; max-width: 46ch; font-size: 18px; color: var(--text-dim); letter-spacing: -0.012em; }
.eyebrow::before { content: "/"; opacity: .55; }
.eyebrow { font: 600 12px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--s3); }
.photo-band { position: relative; height: 340px; border-radius: var(--r-lg); overflow: hidden; }
.photo-band img { width: 100%; height: 100%; object-fit: cover; }
.photo-band figcaption { position: absolute; left: var(--s5); bottom: var(--s5); display: flex; gap: var(--s2); }
.glass { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: var(--r-pill); font-size: 13.5px; background: rgba(255, 255, 255, .86); backdrop-filter: blur(10px); color: var(--ink); }
.glass b { font-weight: 600; }
.section { padding: var(--s16) 0; }
.section-tight { padding: var(--s10) 0; }
main { counter-reset: sec; }
.h2 { margin: 0 0 var(--s6); font: 700 26px/1.2 var(--font-display); letter-spacing: -0.035em; }
.h2::before { counter-increment: sec; content: "/" counter(sec, decimal-leading-zero); margin-right: .6em; font-size: .55em; vertical-align: .3em; color: var(--accent); letter-spacing: .04em; }
.h3 { margin: 0; font-weight: 500; font-size: 18px; letter-spacing: -0.015em; }

/* tabs */
.tabs { display: flex; gap: var(--s8); border-bottom: 1px solid var(--border); overflow-x: auto; overflow-y: hidden; margin-bottom: var(--s6); }
.tabs button { height: 48px; padding: 0 2px; margin-bottom: -1px; border: 0; border-bottom: 2px solid transparent; background: transparent; font-size: 15px; font-weight: 500; color: var(--text-dim); cursor: pointer; white-space: nowrap; transition: color .18s var(--ease), border-color .18s var(--ease); }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); }

/* task tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.tile { position: relative; display: flex; flex-direction: column; gap: var(--s2); min-height: 188px; padding: var(--s6); border-radius: var(--r); background: var(--bg-raised); border: 1px solid var(--border); box-shadow: var(--shadow-card); transition: border-color .2s var(--ease), transform .2s var(--ease), background-color .2s var(--ease); }
.tile .ic { width: 44px; height: 44px; border-radius: var(--r-sm); display: inline-flex; align-items: center; justify-content: center; background: var(--bg-panel); color: var(--accent); font-size: 21px; margin-bottom: auto; }
.tile .t { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; margin-top: var(--s5); }
.tile .h { font-size: 14px; color: var(--text-faint); }
.tile .arrow { position: absolute; top: var(--s6); right: var(--s6); width: 34px; height: 34px; border-radius: var(--r-xs); display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border-strong); color: var(--text-dim); transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.tile .badge { position: absolute; top: calc(var(--s6) + 5px); right: calc(var(--s6) + 44px); font: 600 11px var(--font-mono); padding: 3px 9px; border-radius: var(--r-pill); background: var(--accent-tint); border: 1px solid var(--accent-line); color: var(--accent); }
@media (hover: hover) {
  .tile:hover { border-color: var(--accent); transform: translateY(-2px); }
  .tile:hover .arrow { background: var(--accent); border-color: var(--accent); color: #fff; }
}
.tile.photo { color: #fff; border: 0; overflow: hidden; isolation: isolate; }
.tile.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.tile.photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 27, 63, .05) 30%, rgba(11, 27, 63, .8)); }
.tile.photo .h { color: rgba(255, 255, 255, .8); }
.tile.photo .ic { background: rgba(255, 255, 255, .16); color: #fff; backdrop-filter: blur(8px); }
.tile.photo .arrow { border-color: rgba(255, 255, 255, .4); color: #fff; }
@media (hover: hover) { .tile.photo:hover img { transform: scale(1.04); } }
.span-2 { grid-column: span 2; }
.tab-panel[hidden] { display: none; }

/* steps rail */
.rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.rail li { list-style: none; position: relative; padding: var(--s6) var(--s6) 0 0; }
.rail li::before { counter-increment: step; content: "/" counter(step, decimal-leading-zero); display: block; font: 600 13px var(--font-mono); color: var(--accent); margin-bottom: var(--s3); }
.rail li::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--border); }
.rail li:first-child::after { background: var(--accent); }
.rail .t { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.rail .h { font-size: 14px; color: var(--text-faint); margin-top: 2px; }
.rail .dur { display: inline-block; margin-top: var(--s3); font: 500 12px var(--font-mono); padding: 3px 8px; border-radius: var(--r-pill); background: var(--bg-panel); color: var(--text-dim); }
.rail-wrap { padding: 0; margin: 0; }

/* fact strip */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border); border-radius: var(--r); background: var(--bg-raised); }
.facts > div { padding: var(--s5) var(--s6); }
.facts > div + div { border-left: 1px solid var(--border); }
.facts .k { font-size: 13px; color: var(--text-faint); display: flex; align-items: center; gap: 6px; }
.facts .v { font: 700 22px var(--font-mono); letter-spacing: -0.03em; margin-top: 2px; }

/* doc chips */
.docs { display: flex; flex-wrap: wrap; gap: var(--s2); }
.docs a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: var(--r-sm); background: var(--bg-raised); border: 1px solid var(--border); font-size: 14px; transition: border-color .18s var(--ease), color .18s var(--ease); }
.docs a span { font: 500 11px var(--font-mono); color: var(--text-faint); }
.docs a:hover { border-color: var(--accent); color: var(--accent); }

/* contact card */
.contact { display: flex; align-items: center; gap: var(--s5); padding: var(--s5) var(--s6); border-radius: var(--r); background: var(--ink); color: #fff; }
.contact .avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); display: inline-flex; align-items: center; justify-content: center; font: 500 18px var(--font-mono); flex: none; }
.contact .n { font-weight: 500; }
.contact .r { font-size: 13.5px; color: #b9c7ee; }
.contact .acts { margin-left: auto; display: flex; gap: var(--s2); flex-wrap: wrap; }
.contact .btn-ghost { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #fff; }
.contact .btn-ghost:hover { background: #fff; color: var(--ink); }

/* accordion */
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--s4); padding: var(--s5) 0; cursor: pointer; font-size: 17px; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 24px var(--font-mono); color: var(--accent); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 var(--s5); max-width: 62ch; color: var(--text-dim); }

/* footer */
.ftr { margin-top: var(--s16); background: var(--ink); color: #b9c7ee; font-size: 14px; }
.ftr .wrap { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--s8); padding: var(--s12) 0 var(--s8); }
.ftr .logo { color: #fff; }
.ftr .logo::before, .ftr .logo::after { color: var(--accent-soft); }
.ftr h4 { margin: 0 0 var(--s3); font: 500 11px var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: #7f90c4; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.ftr a:hover { color: #fff; }
.ftr .em { margin-top: var(--s4); display: grid; gap: 4px; }
.ftr .em b { color: #fff; font-weight: 500; font-family: var(--font-mono); }
.ftr-legal { border-top: 1px solid rgba(255, 255, 255, .1); }
.ftr-legal .wrap { display: flex; justify-content: space-between; padding: var(--s5) 0; grid-template-columns: none; font-size: 12.5px; }

/* toast */
.toast { position: fixed; left: 50%; bottom: var(--s6); z-index: 90; transform: translate(-50%, 20px); opacity: 0; display: flex; align-items: center; gap: var(--s3); padding: 12px 18px; border-radius: var(--r); background: var(--ink); color: #fff; font-size: 14px; box-shadow: var(--shadow-float); transition: opacity .2s var(--ease), transform .2s var(--ease); pointer-events: none; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast svg { color: var(--accent-soft); }

/* responsive */
@media (max-width: 1020px) {
  .page-head-grid { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .rail { grid-template-columns: repeat(2, 1fr); row-gap: var(--s6); }
  .ftr .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .gxs-field { height: 60px; padding-left: var(--s4); }
  .gxs input, .gxs-ph { font-size: 17px; }
  .gxs-ph { left: calc(var(--s4) + 24px + var(--s3)); right: 70px; }
  .gxs-go { width: 44px; height: 44px; }
  .gxs-item .go { display: none; }
  .tiles { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .tile { min-height: 150px; }
  .rail { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .facts > div + div { border-left: 0; border-top: 1px solid var(--border); }
  .contact { flex-wrap: wrap; }
  .contact .acts { margin-left: 0; width: 100%; }
  .photo-band { height: 220px; }
  .section { padding: var(--s12) 0; }
  .land-foot { flex-direction: column; align-items: center; }
  .ftr .wrap { grid-template-columns: 1fr; }
  .ftr-legal .wrap { flex-direction: column; gap: var(--s2); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.gxs input::-webkit-search-cancel-button, .gxs input::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.tabs { scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }

/* the Gridworx site's hero: a faint blueprint grid and a blue glow behind the page title */
.page-head { position: relative; isolation: isolate; }
.page-head::before { content: ""; position: absolute; inset: -1px 0 0; max-height: 440px; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 70% at 50% 0%, rgba(43, 70, 232, .07), transparent 70%),
    linear-gradient(var(--border) 1px, transparent 1px) 0 0 / 59px 59px,
    linear-gradient(90deg, var(--border) 1px, transparent 1px) 0 0 / 59px 59px;
  -webkit-mask-image: radial-gradient(80% 100% at 50% 0%, #000 35%, transparent 80%); mask-image: radial-gradient(80% 100% at 50% 0%, #000 35%, transparent 80%); }
.hdr { box-shadow: var(--shadow-card); }
.hdr.on-photo { box-shadow: none; }

/* ------------------------------------------------------------------ glass over the landing photo */
/* the main row is a floating pill in the style of the landing chips: light white fill, thin white edge, light blur */
.hdr.on-photo { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 0; box-shadow: none; }
.hdr.on-photo .hdr-main .wrap { height: 60px; margin-top: 4px; padding: 0 8px 0 24px; border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .1); backdrop-filter: blur(10px) saturate(1.3); -webkit-backdrop-filter: blur(10px) saturate(1.3); }
.hdr.on-photo .hdr-util .wrap { border: 0; }
.hdr.on-photo .nav { gap: 0; }
.hdr.on-photo .nav a { padding: 0 11px; height: 40px; display: inline-flex; align-items: center; border: 0; border-radius: var(--r-pill); transition: background-color .18s var(--ease), color .18s var(--ease); }
.hdr.on-photo .nav a:hover { background: rgba(255, 255, 255, .14); }
.hdr.on-photo .btn { height: 42px; border-radius: var(--r-pill); }
.hdr.on-photo .btn-ghost, .hdr.on-photo .btn-primary { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); color: #fff; }
.hdr.on-photo .btn-primary { background: #fff; border-color: #fff; color: var(--ink); backdrop-filter: none; -webkit-backdrop-filter: none; }
.hdr.on-photo .btn-ghost:hover { background: rgba(255, 255, 255, .22); }
.hdr.on-photo .btn-primary:hover { background: var(--accent-tint); border-color: var(--accent-tint); }
.hdr.on-photo .pill-urgent { box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }

.gxs.frost .gxs-field { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .32); color: #fff; backdrop-filter: blur(22px) saturate(1.5); -webkit-backdrop-filter: blur(22px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 24px 60px -18px rgba(11, 27, 63, .55); transition: background-color .2s var(--ease), border-color .2s var(--ease); }
/* the entrance runs on the glass bar itself: an ancestor with opacity < 1 would cut the backdrop blur off from the photo until the animation ends */
.gxs.frost .gxs-field { animation: rise .7s var(--ease) .12s backwards; }
.gxs.frost .gxs-field:focus-within { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .55); }
.gxs.frost .gxs-field > svg.lucide { color: #fff; }
.gxs.frost input { color: #fff; caret-color: var(--accent-soft); }
.gxs.frost .gxs-ph { color: rgba(255, 255, 255, .72); }
.gxs.frost .gxs-ph b { color: #fff; opacity: .9; }
.gxs.frost .gxs-ph .caret { background: var(--accent-soft); }
/* the dropdown is the same glass as the bar; a faint navy under the white keeps white text readable over the bright clouds */
.gxs.frost .gxs-panel { color: #fff; border: 1px solid rgba(255, 255, 255, .26);
  background: linear-gradient(rgba(255, 255, 255, .1), rgba(255, 255, 255, .06)), rgba(11, 27, 63, .3);
  backdrop-filter: blur(28px) saturate(1.5); -webkit-backdrop-filter: blur(28px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 24px 60px -18px rgba(11, 27, 63, .6); }
.gxs.frost .gxs-group { color: rgba(255, 255, 255, .62); }
.gxs.frost .gxs-item .ic { background: rgba(255, 255, 255, .12); color: #fff; }
.gxs.frost .gxs-item.urgent .ic { background: rgba(217, 44, 32, .85); color: #fff; }
.gxs.frost .gxs-item .h { color: rgba(255, 255, 255, .72); }
.gxs.frost .gxs-item .t mark { color: var(--accent-soft); }
.gxs.frost .gxs-item .tag { background: rgba(143, 161, 255, .16); border-color: rgba(143, 161, 255, .45); color: #dfe5ff; }
.gxs.frost .gxs-item:hover, .gxs.frost .gxs-item[aria-selected="true"] { background: rgba(255, 255, 255, .14); }
.gxs.frost .gxs-item[aria-selected="true"] .go::after { color: var(--accent-soft); }
.gxs.frost .gxs-answer { background: rgba(255, 255, 255, .1); }
.gxs.frost .gxs-answer .q { color: rgba(255, 255, 255, .7); }
.gxs.frost .gxs-answer a, .gxs.frost .gxs-zip a { color: var(--accent-soft) !important; }
.gxs.frost .gxs-zip { background: rgba(14, 138, 95, .28); }
.gxs.frost .gxs-zip.no { background: rgba(180, 83, 9, .3); }
.gxs.frost .gxs-zip .ic, .gxs.frost .gxs-zip.no .ic { color: #fff; }
.gxs.frost .gxs-empty { color: rgba(255, 255, 255, .8); }
.gxs.frost .gxs-empty a { color: var(--accent-soft) !important; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .gxs.frost .gxs-field, .hdr.on-photo .hdr-main .wrap { background: rgba(11, 27, 63, .6); }
}
.gxs.frost .gxs-panel { scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .3) transparent; }
.gxs.frost .gxs-panel::-webkit-scrollbar { width: 8px; }
.gxs.frost .gxs-panel::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .3); border-radius: 8px; }

/* ------------------------------------------------------------------ the operator website: components of the built pages */
/* media picker on the new-connection tile */
.tile.picker { cursor: default; }
@media (hover: hover) { .tile.picker:hover { transform: none; } .tile.picker:hover img { transform: none; } }
.picker .media { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s4); }
.picker .media button { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .12); color: #fff; font: 500 14.5px var(--font-sans); cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background-color .18s var(--ease), color .18s var(--ease); }
.picker .media button[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.picker .media button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.picker-go { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: var(--s5); }
.picker-go .btn[aria-disabled] { opacity: .5; pointer-events: none; }
.btn-glass { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); color: #fff; }
.btn-glass:hover { background: rgba(255, 255, 255, .24); }
.picker-note { font-size: 13.5px; color: rgba(255, 255, 255, .85); }

/* the change matrix: one row per medium */
.matrix { display: grid; gap: var(--s2); }
.mrow { display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap; padding: var(--s4) var(--s5); border-radius: var(--r); background: var(--bg-raised); border: 1px solid var(--border); box-shadow: var(--shadow-card); }
.mk { display: inline-flex; align-items: center; gap: 10px; min-width: 150px; font-weight: 600; font-size: 16px; }
.mk svg { color: var(--accent); font-size: 18px; }
.macts { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }

/* facts: more columns, a hint line */
.facts.facts-5 { grid-template-columns: repeat(5, 1fr); }
.facts.facts-3 { grid-template-columns: repeat(3, 1fr); }
.facts.facts-2 { grid-template-columns: repeat(2, 1fr); }
.facts .h { font-size: 12.5px; color: var(--text-faint); margin-top: 2px; }
.fine { margin: var(--s4) 0 0; font-size: 14px; color: var(--text-dim); }
.fine a, .prose a { color: var(--accent); }
.cta-row { display: flex; align-items: center; gap: var(--s5); flex-wrap: wrap; justify-content: space-between; padding: var(--s5) var(--s6); border-radius: var(--r); background: var(--bg-raised); border: 1px solid var(--border); }
.cta-row > span { max-width: 62ch; color: var(--text-dim); }
.cta-row b { color: var(--ink); font-weight: 600; }

/* lists of links to forms (Alle Anträge, Installateure) */
.linklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s2); }
.linklist a { display: flex; align-items: center; gap: var(--s4); padding: var(--s4) var(--s5); border-radius: var(--r); background: var(--bg-raised); border: 1px solid var(--border); transition: border-color .18s var(--ease); }
.linklist a:hover { border-color: var(--accent); }
.linklist .ic { width: 38px; height: 38px; border-radius: var(--r-sm); display: inline-flex; align-items: center; justify-content: center; background: var(--bg-panel); color: var(--accent); font-size: 18px; flex: none; }
.linklist .t { font-weight: 600; }
.linklist .h { font-size: 13.5px; color: var(--text-faint); }
.linklist .go { margin-left: auto; color: var(--text-faint); }
.group-h { margin: var(--s10) 0 var(--s4); font: 600 12px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.group-h::before { content: "/"; opacity: .55; }
.group-h:first-child { margin-top: 0; }

/* a small form on a website page */
.sform { display: grid; gap: var(--s4); max-width: 560px; }
.sform label, .sform legend { font-size: 14px; color: var(--text-dim); }
.sform .fl { display: grid; gap: 6px; }
.sform input, .sform select, .sform textarea { min-height: 48px; padding: 0 var(--s4); border-radius: var(--r-sm); border: 1px solid var(--border-strong); background: #fff; font: 400 16px var(--font-sans); color: var(--ink); }
.sform textarea { min-height: 110px; padding: 12px var(--s4); resize: vertical; }
.sform input:focus, .sform select:focus, .sform textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(43, 70, 232, .16); }
.sform .err { font-size: 13px; color: var(--urgent); }
.result-box { padding: var(--s5) var(--s6); border-radius: var(--r); border: 1px solid var(--border); background: var(--bg-raised); }
.result-box.ok { border-color: rgba(14, 138, 95, .3); background: var(--ok-tint); }
.result-box.warn { border-color: rgba(180, 83, 9, .3); background: #fff4e5; }
.result-box b { font-weight: 600; }

/* plain text pages (legal, FAQ answers) */
.prose { max-width: 70ch; color: var(--text-dim); }
.prose h2 { color: var(--ink); font: 700 20px var(--font-mono); letter-spacing: -0.03em; margin: var(--s10) 0 var(--s3); }
.prose h3 { color: var(--ink); font-size: 16px; font-weight: 600; margin: var(--s6) 0 var(--s2); }
.faq-group { margin-top: var(--s12); }
.faq-group:first-child { margin-top: 0; }

@media (max-width: 1020px) { .facts.facts-5 { grid-template-columns: repeat(3, 1fr); } .linklist { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .facts.facts-5, .facts.facts-3, .facts.facts-2 { grid-template-columns: 1fr 1fr; }
  .facts.facts-5 > div + div, .facts.facts-3 > div + div { border-left: 0; }
  .macts { margin-left: 0; }
}

/* chips on a tile: Online, duration */
.tile .meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--s3); }
.tile .meta span { font: 600 11.5px var(--font-mono); padding: 3px 8px; border-radius: var(--r-pill); background: var(--bg-panel); color: var(--text-dim); }
.tile.photo .meta span { background: rgba(255, 255, 255, .16); color: #fff; backdrop-filter: blur(8px); }
.faq a { color: var(--accent); }
/* several small links inside one tile */
.tile .minilinks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--s3); }
.tile .minilinks a { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--border-strong); font-size: 13.5px; font-weight: 500; transition: border-color .18s var(--ease), color .18s var(--ease); }
.tile .minilinks a:hover { border-color: var(--accent); color: var(--accent); }
@media (hover: hover) { div.tile:hover { transform: none; } }
.tile .minilinks.glass-links a { border-color: rgba(255, 255, 255, .4); color: #fff; background: rgba(255, 255, 255, .12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.tile .minilinks.glass-links a:hover { background: #fff; color: var(--ink); }
.gxs.lookup input::placeholder { color: #7a86a6; }
.linklist a[aria-disabled] { pointer-events: none; }
.facts .v { overflow-wrap: anywhere; }
