/* Shared navigation and waitlist identity. The landing page owns their HTML. */
:is(.masthead,.notify){
  color-scheme: light dark;
  --font-label:"Archivo", system-ui, sans-serif;
  --font-data:"JetBrains Mono", ui-monospace, monospace;
  --paper:oklch(99.2% 0.004 85);
  --line:oklch(88.5% 0.009 85);
  --line-control:oklch(62% 0.012 85);
  --ink:oklch(24.5% 0.022 258);
  --ink-2:oklch(45.5% 0.02 258);
  --ink-3:oklch(51% 0.018 258);
  --route:oklch(47% 0.1 236);
  --route-solid:oklch(36% 0.078 236);
  --route-on-solid:var(--paper);
  --t-body:0.875rem;
  --t-sub:1.1875rem;
  --w-bold:600;
  --wd-norm:100;
  --s2:8px; --s3:12px; --s4:16px; --s5:24px;
  --radius:6px;
  --shadow:0 1px 2px oklch(24.5% 0.022 258 / 0.06), 0 8px 24px oklch(24.5% 0.022 258 / 0.06);
}
@media (prefers-color-scheme: dark){
  :is(.masthead,.notify){
    --paper:oklch(17.5% 0.014 258);
    --line:oklch(31% 0.018 258); --line-control:oklch(52% 0.02 258);
    --ink:oklch(94% 0.008 258); --ink-2:oklch(76% 0.014 258); --ink-3:oklch(68% 0.014 258);
    --route:oklch(74% 0.105 232); --route-solid:oklch(62% 0.1 234); --route-on-solid:oklch(15% 0.02 258);
    --shadow:0 1px 2px oklch(0% 0 0 / 0.4), 0 10px 30px oklch(0% 0 0 / 0.35);
  }
}
:root[data-theme="dark"] :is(.masthead,.notify){
  --paper:oklch(17.5% 0.014 258);
  --line:oklch(31% 0.018 258); --line-control:oklch(52% 0.02 258);
  --ink:oklch(94% 0.008 258); --ink-2:oklch(76% 0.014 258); --ink-3:oklch(68% 0.014 258);
  --route:oklch(74% 0.105 232); --route-solid:oklch(62% 0.1 234); --route-on-solid:oklch(15% 0.02 258);
  --shadow:0 1px 2px oklch(0% 0 0 / 0.4), 0 10px 30px oklch(0% 0 0 / 0.35);
}
:root[data-theme="light"] :is(.masthead,.notify){
  --paper:oklch(99.2% 0.004 85);
  --line:oklch(88.5% 0.009 85); --line-control:oklch(62% 0.012 85);
  --ink:oklch(24.5% 0.022 258); --ink-2:oklch(45.5% 0.02 258); --ink-3:oklch(51% 0.018 258);
  --route:oklch(47% 0.1 236); --route-solid:oklch(36% 0.078 236); --route-on-solid:oklch(99.2% 0.004 85);
  --shadow:0 1px 2px oklch(24.5% 0.022 258 / 0.06), 0 8px 24px oklch(24.5% 0.022 258 / 0.06);
}
.masthead,.notify { font-family:"Inter",system-ui,sans-serif; font-size:14px; line-height:1.6; font-weight:400; letter-spacing:normal; }
.masthead *,.notify * { box-sizing:border-box; }
.masthead { position:sticky; top:0; z-index:20; background:var(--paper); background:color-mix(in oklab,var(--paper) 88%,transparent); backdrop-filter:blur(10px); border-bottom:1px solid var(--line); }
.masthead__in { max-width:1560px; margin:0 auto; padding:0 clamp(20px,4vw,64px); display:flex; align-items:center; gap:24px; height:60px; }
.masthead .wordmark { display:inline-flex; align-items:center; gap:9px; flex-shrink:0; font-family:"Archivo",system-ui,sans-serif; font-variation-settings:"wdth" 125; font-size:15px; font-weight:600; letter-spacing:.01em; line-height:1.6; color:var(--ink); text-decoration:none; }
.masthead .brand-icon { display:block; width:32px; height:32px; flex-shrink:0; }
.masthead__nav { display:flex; align-items:center; gap:24px; margin-left:auto; }
.masthead__nav a { font-family:"Archivo",system-ui,sans-serif; font-variation-settings:"wdth" 84; font-size:12px; line-height:1.6; letter-spacing:.06em; text-transform:uppercase; font-weight:600; color:var(--ink-2); text-decoration:none; white-space:nowrap; }
.masthead__nav a:hover,.masthead__nav a[aria-current] { color:var(--route); }
.masthead .btn { display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; gap:8px; font-family:"Archivo",system-ui,sans-serif; font-variation-settings:"wdth" 100; font-size:14px; font-weight:600; line-height:1.35; letter-spacing:.01em; padding:8px 16px; border-radius:6px; border:1px solid transparent; text-decoration:none; cursor:pointer; white-space:nowrap; background:var(--route); color:var(--route-on-solid); }
.masthead .btn:hover { background:var(--route-solid); }
.masthead :focus-visible,.notify :focus-visible { outline:2px solid var(--route); outline-offset:4px; }
/* Keep every destination available on narrow screens without a second menu model. */
@media(max-width:1199px) {
 .masthead__in { height:100px; display:grid; grid-template-columns:1fr auto; grid-template-rows:60px 40px; gap:0 16px; }
 .masthead__nav { grid-column:1 / -1; grid-row:2; width:100%; margin:0; gap:24px; overflow-x:auto; overflow-y:hidden; scrollbar-width:none; height:40px; padding:4px 3px 8px; }
 .masthead__nav::-webkit-scrollbar { display:none; }
 .masthead .btn { grid-column:2; grid-row:1; }
}
@media(max-width:480px) { .masthead .btn { font-size:12px; padding-inline:10px; } .masthead__in { column-gap:12px; } }
@media(max-width:359px) { .masthead .wordmark { font-size:13px; gap:7px; } .masthead .brand-icon { width:28px; height:28px; } }
.notify{
  border:1px solid var(--line); border-radius:var(--radius); background:var(--paper);
  color:var(--ink); padding:0; width:min(560px, calc(100vw - 2 * var(--s4)));
  box-shadow:var(--shadow);
}
.notify::backdrop{ background:oklch(15% 0.02 258 / 0.62); backdrop-filter:blur(3px); }
.notify__head{
  display:flex; align-items:flex-start; gap:var(--s4);
  padding:var(--s5) var(--s5) var(--s4); border-bottom:1px solid var(--line);
}
.notify__title{
  font-family:var(--font-label); font-variation-settings:"wdth" var(--wd-norm);
  font-size:var(--t-sub); font-weight:var(--w-bold); color:var(--ink);
}
.notify__sub{ font-size:var(--t-body); color:var(--ink-2); margin-top:var(--s2); }
.notify__x{
  margin-left:auto; background:transparent; border:1px solid var(--line-control);
  border-radius:4px; color:var(--ink-2); font-family:var(--font-data); font-size:var(--t-body);
  line-height:1; padding:var(--s2) var(--s3); cursor:pointer;
}
.notify__x:hover{ color:var(--ink); border-color:var(--ink-3); }
.notify__body{ padding:var(--s4) var(--s5) var(--s5); }
.notify__fallback{ font-size:var(--t-body); color:var(--ink-3); margin-top:var(--s3); }


.notify p { margin:0; }
.notify .notify__sub { margin-top:8px; }
.notify .notify__fallback { margin-top:12px; }
.notify a { color:var(--route); text-decoration:underline; text-underline-offset:3px; }
@media print { .masthead,.notify { display:none; } }
