/* cx-core.com and product subdomains. Colours: brand/cx-boje.css (Norman, palette P1), loaded before this file. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; min-height: 100%; }   /* the ground is laid out over html: never shorter than the window */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) { .hero-tiles .t { transition: none; } }
/* Liquid Glass (D2, Hrvoje 14.11.): a soft coloured ground under the whole page, in the family's colours.
   Set on body, it propagates to the canvas and is laid out over the whole page height. */
body {
  margin: 0; color: var(--cx-ink);
  background:
    radial-gradient(45% 18% at 85% 4%, color-mix(in srgb, #2fc06b 45%, transparent), transparent 70%),
    radial-gradient(40% 16% at 5% 26%, color-mix(in srgb, #8b5cf6 38%, transparent), transparent 70%),
    radial-gradient(45% 18% at 95% 50%, color-mix(in srgb, #0e9fcf 36%, transparent), transparent 70%),
    radial-gradient(40% 16% at 10% 74%, color-mix(in srgb, #e8641c 26%, transparent), transparent 70%),
    radial-gradient(50% 18% at 80% 96%, color-mix(in srgb, #2fc06b 34%, transparent), transparent 70%),
    #eef1f4;
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--cx-accent); }
a:hover { text-decoration-thickness: 2px; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(1080px, 100% - 48px); margin-inline: auto; }

/* header */
.top { border-bottom: 0; position: relative; z-index: 40; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 96px; gap: 16px; }
/* the web logo file has no padding: img height = tile height (64 px, 00 and core ~7 px) */
.top .brand { display: block; flex: none; }
.top .brand img { height: 64px; width: auto; max-width: none; }   /* never squeezed: the tile must stay readable */
/* navigation: four plain links, "Products" drops down a glass panel with the products (Contact is no button, Hrvoje 14.11.) */
.nav-desk { display: flex; align-items: center; gap: 28px; }
.nav-desk > a, .dd > summary { color: var(--cx-ink); text-decoration: none; font-weight: 500; }
.nav-desk > a:hover, .dd > summary:hover { color: var(--cx-accent); }
.dd { position: relative; }
.dd > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  -webkit-user-select: none; user-select: none; }
.dd > summary::-webkit-details-marker { display: none; }
.dd > summary .chev { transition: transform .15s ease; }
.dd[open] > summary .chev { transform: rotate(180deg); }
.dd > summary:focus-visible, .dd-panel a:focus-visible { outline: 2px solid var(--cx-accent); outline-offset: 3px; border-radius: 8px; }
.dd-panel {
  position: absolute; right: 0; top: calc(100% + 10px); width: 380px; padding: 10px;
  background: color-mix(in srgb, #ffffff 82%, transparent);
  -webkit-backdrop-filter: blur(30px) saturate(1.6); backdrop-filter: blur(30px) saturate(1.6);
  border: 1px solid color-mix(in srgb, #ffffff 80%, transparent); border-radius: 22px;
  box-shadow: 0 18px 50px rgba(29, 36, 51, .16);
}
/* the panel hangs from the whole nav, so its right edge lines up with the Contact link (= the content edge) */
.nav-desk { position: relative; }
.nav-desk .dd { position: static; }
.nav-desk .dd-panel { left: auto; right: 0; }
.dd-panel ul { list-style: none; margin: 0; padding: 0; }
.dd-row { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 8px 10px;
  border-radius: 14px; color: var(--cx-ink); text-decoration: none; }
.dd-row:hover { background: color-mix(in srgb, var(--cx-ink) 6%, transparent); }
.dd-row img { width: 52px; height: 52px; display: block; }
.dd-name { font-weight: 600; line-height: 1.25; }
.dd-name small { display: block; font-weight: 400; font-size: .82rem; color: var(--cx-muted); }
.dd-row.is-here { background: color-mix(in srgb, var(--cx-ink) 5%, transparent); }
.here { font-size: .78rem; font-weight: 600; color: var(--cx-muted); white-space: nowrap; }
.dd-link { display: block; font-weight: 600; text-decoration: none; color: var(--cx-ink); padding: 12px 10px; border-top: 1px solid var(--cx-line); }
.dd-h { margin: 6px 10px 4px; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--cx-muted); }
.nav-mob { display: none; }
@media (prefers-color-scheme: dark) {
  .dd-panel { background: color-mix(in srgb, #151b28 86%, transparent); border-color: rgba(255, 255, 255, .1); box-shadow: 0 18px 50px rgba(0, 0, 0, .45); }
}

/* hero */
.hero { padding: 72px 0 64px; }
.hero .wrap { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
/* a block of the periodic table: 00 core spans two rows, the products 01-04 beside it */
.hero-tiles {
  --s: clamp(72px, 8.4vw, 116px); --g: calc(var(--s) * .09);
  flex: none; display: grid; gap: var(--g);
  grid-template-columns: calc(2 * var(--s) + var(--g)) var(--s) var(--s); grid-template-rows: var(--s) var(--s);
}
.hero-tiles > :first-child { grid-row: span 2; }   /* the <picture> holding 00 (the class sits on its img) */
.hero-tiles picture, .hero-tiles img { display: block; width: 100%; height: 100%; }
.hero-tiles .t { display: block; border-radius: 22%; transition: transform .18s ease; }
.hero-tiles .t:hover { transform: translateY(-3px); }
.hero-tiles .t:focus-visible { outline: 2px solid var(--cx-accent); outline-offset: 3px; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 20px; max-width: 18ch; }
.hero p { font-size: 1.2rem; color: var(--cx-muted); margin: 0 0 32px; max-width: 46ch; }
/* one button for the whole site (Hrvoje 14.11., Kai #1102): glass like the tiles, a rounded rectangle (not a pill),
   a thin rim and a soft shadow, so it also stands out on the white form card. No primary/secondary: all the same. */
.btn {
  --rim: color-mix(in srgb, var(--cx-ink) 16%, transparent);
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px;
  color: var(--cx-ink); text-decoration: none; font-weight: 600; border-radius: 14px;
  background: linear-gradient(180deg, color-mix(in srgb, #ffffff 94%, transparent), color-mix(in srgb, #f3f5f8 72%, transparent));
  -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid var(--rim);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 1px 2px rgba(29, 36, 51, .08), 0 6px 18px rgba(29, 36, 51, .09);
  transition: color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.btn:hover { color: var(--cx-accent); border-color: color-mix(in srgb, var(--cx-accent) 50%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 1px 2px rgba(29, 36, 51, .08), 0 10px 24px rgba(29, 36, 51, .13); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--cx-accent); outline-offset: 3px; }
.btn[hidden] { display: none; }   /* "display: inline-flex" above would otherwise show a hidden button (Copy on http) */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (prefers-color-scheme: dark) {
  .btn {
    --rim: rgba(255, 255, 255, .16);
    background: linear-gradient(180deg, color-mix(in srgb, #2c3549 82%, transparent), color-mix(in srgb, #1b2232 74%, transparent));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 6px 18px rgba(0, 0, 0, .35);
  }
  .btn:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 10px 24px rgba(0, 0, 0, .45); }
}

/* sections */
section.band, section.band.alt { padding: 18px 0; background: transparent; border-top: 0; }
/* every block (and the legal and product pages) is a frosted glass panel on the ground */
section.band > .wrap, .doc > .wrap, .solo > .wrap {
  background: color-mix(in srgb, #ffffff 58%, transparent);
  -webkit-backdrop-filter: blur(28px) saturate(1.5); backdrop-filter: blur(28px) saturate(1.5);
  border: 1px solid color-mix(in srgb, #ffffff 75%, transparent); border-radius: 30px;
  box-shadow: 0 10px 40px rgba(29, 36, 51, .08); padding: 44px 44px 48px;
}
h2 { font-size: 1.6rem; letter-spacing: -0.01em; margin: 0 0 28px; }
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--cx-glass-card); border: 1px solid var(--cx-line); border-radius: 14px; padding: 24px; }
.card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--cx-muted); }

/* how we work: three numbered steps on a thin line (numbers like the element numbers of the tiles) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: none; }
.steps li { position: relative; padding-top: 22px; border-top: 2px solid var(--cx-line); }
.steps li::before { content: ""; position: absolute; top: -2px; left: 0; width: 48px; height: 2px; background: var(--cx-accent); }
.step-n { display: block; color: var(--cx-accent); font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  font-variant-numeric: tabular-nums; margin-bottom: 10px; }
.steps h3 { margin: 0 0 6px; font-size: 1.15rem; }
.steps p { margin: 0; color: var(--cx-muted); }

/* who we are: a short lead and the team's seven roles, each a small cell like an element of the periodic table */
.who-lead { max-width: 62ch; margin: 0 0 28px; font-size: 1.08rem; }
.roles { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.roles li { background: var(--cx-glass-card); border: 1px solid var(--cx-line); border-radius: 16px; padding: 18px 18px 20px; }
.role-tile { display: block; width: 64px; height: 64px; margin-bottom: 14px; }
.roles h3 { margin: 0 0 6px; font-size: 1rem; }
/* the invitation cell: the whole card is the link, tinted in the core colour, its cell filled */
.roles li.role-you { padding: 0; border-color: color-mix(in srgb, var(--cx-accent) 45%, transparent);
  background: color-mix(in srgb, var(--cx-accent) 9%, var(--cx-glass-card)); }
.role-you a { display: block; height: 100%; padding: 18px 18px 20px; border-radius: 16px; color: inherit; text-decoration: none; }
.role-you a:hover { background: color-mix(in srgb, var(--cx-accent) 8%, transparent); }
.role-you a:focus-visible { outline: 2px solid var(--cx-accent); outline-offset: 3px; }
.role-you a { position: relative; }
.role-go { position: absolute; top: 18px; right: 18px; color: var(--cx-accent); font-weight: 600; font-size: 1.1rem; }
.roles p { margin: 0; color: var(--cx-muted); font-size: .95rem; }
@media (max-width: 1000px) { .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .roles { grid-template-columns: 1fr; } }

/* product tiles */
.products { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.product {
  display: flex; flex-direction: column; gap: 14px; background: var(--cx-glass-card); border: 1px solid var(--cx-line);
  border-radius: 16px; padding: 22px; color: inherit; text-decoration: none;
}
.product:hover { border-color: var(--cx-accent); }
.product .ph { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.product .ph picture { flex: none; }   /* a wider badge ("Coming soon") must not squeeze the tile */
.product img { width: 88px; height: 88px; max-width: none; }
.product h3 { margin: 0; font-size: 1.1rem; }
.product p { margin: 0; color: var(--cx-muted); flex: 1; }
.product .go { color: var(--cx-accent); font-weight: 600; font-size: .95rem; }
/* product badge. Not ".status": that class is the contact panels' (display: none until shown) */
.badge {
  display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .02em; color: var(--cx-muted);
  border: 1px solid var(--cx-line); border-radius: 999px; padding: 2px 10px; white-space: nowrap;
}
/* preview: can be tried now, so it carries the product's colour */
.badge.preview { color: var(--cx-accent); border-color: color-mix(in srgb, var(--cx-accent) 45%, transparent); }

/* contact (Norman): the address is the main element; option B adds the form card */
.contact { scroll-margin-top: 16px; }
.contact h2 { margin-bottom: 12px; }
.contact .lead { color: var(--cx-muted); margin: 0 0 28px; max-width: 44ch; }

/* the address: big, it is the whole point of the section */
.mail { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.mail a {
  color: var(--cx-ink); text-decoration: none; font-weight: 500; letter-spacing: -0.01em;
  font-size: 1.3rem; line-height: 1.3;
  /* a quiet underline in the accent that grows on hover, instead of the default link underline */
  background: linear-gradient(var(--cx-accent), var(--cx-accent)) 0 100% / 100% 1.5px no-repeat;
  padding-bottom: 3px; overflow-wrap: anywhere;
}
.mail a:hover { background-size: 100% 3px; }
.mail a .arr { color: var(--cx-accent); font-weight: 500; margin-left: .3em; }

/* "Copy" only appears when the browser can copy (contact.js removes [hidden]) */
/* "Copy" is the site's glass button (.btn, Hrvoje via Kai #1109), a bit narrower beside the address */
.copy-btn { font-family: inherit; font-size: .95rem; line-height: 1; cursor: pointer; padding: 0 18px;
  -webkit-appearance: none; appearance: none; }
.copy-btn.done { border-color: var(--cx-accent); color: var(--cx-accent); }

/* not on .btn: the 6 px radius would replace the button's 14 px while it has keyboard focus. :where() keeps the
   specificity as it was, so the fields' own focus ring (outline: none) still wins */
.contact :focus-visible:where(:not(.btn)) { outline: 2px solid var(--cx-accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- option B: e-mail on the left, form on the right ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: start; }

.form-card {
  background: var(--cx-glass-card); border: 1px solid var(--cx-line); border-radius: 16px; padding: 28px;
}
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field textarea {
  /* explicit font properties: the "font: … inherit" shorthand is invalid and leaves 13.33px, which makes iOS zoom */
  font-family: inherit; font-size: max(16px, 1rem); line-height: 1.5; color: var(--cx-ink);
  background: var(--cx-bg); border: 1px solid var(--cx-field); border-radius: 10px; padding: 11px 14px; width: 100%;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--cx-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--cx-accent) 28%, transparent);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--cx-error); }

/* screen-reader only (the "Copied" announcement) */
.sr { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* what happens next: three small numbered steps under the address */
.next { margin-top: 40px; }
.next h3 { margin: 0 0 14px; font-size: 1.05rem; }
.next ol { list-style: none; margin: 0; padding: 0; counter-reset: n; display: grid; gap: 12px; }
.next li { counter-increment: n; display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: baseline; color: var(--cx-muted); }
.next li::before { content: counter(n, decimal-leading-zero); color: var(--cx-accent); font-weight: 600; font-size: .9rem;
  font-variant-numeric: tabular-nums; }

/* honeypot: off screen, not display:none (some bots skip hidden fields) */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 6px; }
.form-foot .btn { font: inherit; font-weight: 600; cursor: pointer; -webkit-appearance: none; appearance: none; }
.form-foot .btn[disabled] { opacity: .6; cursor: progress; }
.form-foot .btn[disabled]:hover { color: var(--cx-ink); border-color: var(--rim); }
.note { color: var(--cx-muted); font-size: .9rem; margin: 0; }
.note a { color: var(--cx-muted); }

.form-error { color: var(--cx-error); font-weight: 500; margin: -4px 0 14px; }
.nw { white-space: nowrap; }

/* after sending: the panel replaces the form. Without JS the server redirects to #sent / #error and :target shows it */
.status { display: none; }
.status:target, .status.show { display: block; }
.status:focus { outline: none; }   /* focused by the script or by #sent/#error, not by the visitor */
.contact:has(#sent:target) form, .contact.sent form { display: none; }
.status h3 { margin: 0 0 6px; font-size: 1.2rem; display: flex; align-items: center; gap: 10px; }
.status p { margin: 0; color: var(--cx-muted); }
.status .tick {
  width: 28px; height: 28px; border-radius: 50%; background: var(--cx-accent); color: var(--cx-bg);
  display: inline-grid; place-items: center; font-size: 16px; font-weight: 700; flex: none;
}
#error { margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--cx-line); }
#error h3 { color: var(--cx-error); }

:root { --cx-error: #b42318; }
@media (prefers-color-scheme: dark) { :root { --cx-error: #ff8f85; } }

/* short pages (product subdomains): the ground's percentage sizes squash into stripes on one screen, so fixed sizes */
body:has(.solo) {
  background:
    radial-gradient(560px 440px at 88% 8%, color-mix(in srgb, #2fc06b 40%, transparent), transparent 70%),
    radial-gradient(520px 420px at 6% 34%, color-mix(in srgb, #8b5cf6 34%, transparent), transparent 70%),
    radial-gradient(560px 440px at 96% 78%, color-mix(in srgb, #0e9fcf 32%, transparent), transparent 70%),
    radial-gradient(520px 420px at 14% 96%, color-mix(in srgb, #e8641c 24%, transparent), transparent 70%),
    #eef1f4;
}
@media (prefers-color-scheme: dark) {
  body:has(.solo) {
    background:
      radial-gradient(560px 440px at 88% 8%, color-mix(in srgb, #2fc06b 28%, transparent), transparent 70%),
      radial-gradient(520px 420px at 6% 34%, color-mix(in srgb, #8b5cf6 28%, transparent), transparent 70%),
      radial-gradient(560px 440px at 96% 78%, color-mix(in srgb, #0e9fcf 24%, transparent), transparent 70%),
      radial-gradient(520px 420px at 14% 96%, color-mix(in srgb, #e8641c 16%, transparent), transparent 70%),
      #0b0f17;
  }
}

/* glass in dark mode: a deep ground, darker panels */
:root { --cx-glass-card: color-mix(in srgb, #ffffff 70%, transparent); }
@media (prefers-color-scheme: dark) {
  :root { --cx-glass-card: color-mix(in srgb, #1b2232 70%, transparent); }
  body {
    background:
      radial-gradient(45% 18% at 85% 4%, color-mix(in srgb, #2fc06b 30%, transparent), transparent 70%),
      radial-gradient(40% 16% at 5% 26%, color-mix(in srgb, #8b5cf6 30%, transparent), transparent 70%),
      radial-gradient(45% 18% at 95% 50%, color-mix(in srgb, #0e9fcf 26%, transparent), transparent 70%),
      radial-gradient(40% 16% at 10% 74%, color-mix(in srgb, #e8641c 18%, transparent), transparent 70%),
      radial-gradient(50% 18% at 80% 96%, color-mix(in srgb, #2fc06b 24%, transparent), transparent 70%),
      #0b0f17;
  }
  section.band > .wrap, .doc > .wrap, .solo > .wrap {
    background: color-mix(in srgb, #141a26 62%, transparent); border-color: rgba(255, 255, 255, .09); box-shadow: none;
  }
}

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .form-card { padding: 22px 18px; border-radius: 14px; }
  .form-foot .btn { width: 100%; text-align: center; }
}

/* footer */
footer { border-top: 0; padding: 28px 0 40px; color: var(--cx-muted); font-size: .92rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
footer a { color: var(--cx-muted); }
footer a:hover { color: var(--cx-ink); }
footer .copy { margin-left: auto; }

/* legal pages */
.doc { padding: 56px 0 72px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: 2rem; letter-spacing: -0.01em; margin: 0 0 12px; }
.doc h2 { font-size: 1.3rem; margin: 36px 0 12px; }
.doc p, .doc li { color: var(--cx-ink); }
.doc .lang { margin: 0 0 28px; font-size: .95rem; }
.doc .lang a { color: var(--cx-muted); }
.doc ul { padding-left: 1.2em; }

/* product coming-soon page */
.solo { min-height: calc(100vh - 260px); display: flex; align-items: center; padding: 24px 0 64px; }
.solo .wrap { max-width: 640px; text-align: center; }
.solo img.mark { width: 160px; height: 160px; margin: 0 auto 24px; }
.solo h1 { font-size: 2.2rem; margin: 0 0 12px; letter-spacing: -0.01em; }
.solo p { color: var(--cx-muted); font-size: 1.15rem; margin: 0 0 14px; }
.solo .soon-big { color: var(--cx-accent); font-weight: 600; font-size: 1.15rem; }
.solo .links { margin-top: 28px; display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
/* a product site with the early-access form: the intro no longer fills the screen, so the form's heading shows on the
   first screen; the form panel has the intro's width */
.solo.has-form { min-height: 0; padding-bottom: 18px; }
.early > .wrap { max-width: 640px; }
.early .lead { max-width: none; }

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 760px) {
  .hero .wrap { flex-direction: column-reverse; align-items: flex-start; gap: 24px; }
  .hero-tiles { --s: min(84px, calc((100vw - 48px - 30px) / 4)); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .top .wrap { min-height: 84px; }
  .top .brand img { height: 56px; }
  .hero { padding: 56px 0 48px; }
  section.band, section.band.alt { padding: 12px 0; }
  section.band > .wrap, .doc > .wrap, .solo > .wrap { padding: 28px 20px 30px; border-radius: 22px; width: calc(100% - 24px); }
  footer .copy { margin-left: 0; width: 100%; }
  .actions .btn { flex: 1 1 auto; text-align: center; }
}

/* phones: one "Menu" with the products and the two links; the panel spans the screen under the header */
@media (max-width: 760px) {
  .nav-desk { display: none; }
  .nav-mob { display: block; position: static; }
  /* "Menu" is the site's glass button (.btn, Hrvoje via Kai #1109); these beat the ".dd > summary" link look */
  .nav-mob > summary { min-height: 48px; padding: 0 18px; font-weight: 600; gap: 8px; }
  .nav-mob > summary:focus-visible { border-radius: 14px; }
  .nav-mob .dd-panel { left: 0; right: 0; width: auto; top: calc(100% - 6px);
    background: color-mix(in srgb, #ffffff 94%, transparent); }   /* more solid: the hero text would show through */
  /* narrow rows: tile | name, the badge under the name; no domain line (it broke into pieces) */
  .nav-mob .dd-row { grid-template-columns: 52px 1fr; row-gap: 4px; }
  .nav-mob .dd-row img, .nav-mob .dd-row picture { grid-row: span 2; }
  .nav-mob .dd-row .badge, .nav-mob .dd-row .here { grid-column: 2; justify-self: start; }
  .nav-mob .dd-name small { display: none; }
  .top .wrap { position: relative; }   /* the menu panel aligns with the page's content edges */
}
@media (max-width: 760px) and (prefers-color-scheme: dark) {
  /* after the phone rule above, or its light panel wins in dark mode */
  .nav-mob .dd-panel { background: color-mix(in srgb, #151b28 95%, transparent); }
}
