/* Independent-label public identity, with a separate neutral admin palette. */
body[data-site-area="public"] {
  --bg: #181917;
  --bg-elev: #22231f;
  --ink: #f4eee3;
  --ink-dim: #b6b4aa;
  --ink-faint: #929288;
  --rule: #363831;
  --rule-strong: #53564b;
  --teal: #f2a080;
  --teal-dim: #be5b35;
  --teal-glow: rgba(242, 160, 128, .12);
  --label-orange: #ac4120;
  --label-paper: #f0ebdf;
  --label-black: #252620;
  --max: 1320px;
}
body[data-site-area] { background: var(--bg); color: var(--ink); }
body[data-site-area] .chrome-top {
  position: sticky;
  background: var(--bg);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body[data-site-area] .page { padding-top: 0; }
body[data-site-area] .chrome-top-inner { min-height: 76px; height: auto; padding-block: 15px; gap: 24px; align-items: center; }
body[data-site-area] .brand-tag { font-family: var(--sans); font-size: 12px; letter-spacing: .02em; text-transform: none; }
body[data-site-area] .reg-mark-brand { display: none; }
body[data-site-area] .brand { width: auto; }
body[data-site-area] .nav { display: flex; width: auto; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
body[data-site-area] .nav-link { font-family: var(--sans); font-size: 14px; letter-spacing: 0; text-transform: none; padding: 10px 12px; color: var(--ink); }
body[data-site-area] .nav-link.active::after { left: 12px; right: 12px; }
body[data-site-area] .nav-link[hidden] { display: none; }
body[data-site-area] a[href]:focus-visible,
body[data-site-area] button:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
body[data-site-area="public"] .btn { font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; border-radius: 2px; min-height: 44px; }
body[data-site-area="public"] .btn-primary { background: var(--ink); border-color: var(--ink); color: var(--bg); }
body[data-site-area="public"] .btn-primary:hover { background: var(--teal); border-color: var(--teal); color: #251d17; }
body[data-site-area="public"] .btn-teal { background: var(--teal); border-color: var(--teal); color: #251d17; }
body[data-site-area="public"] .btn-teal:hover { background: #ffc4a9; border-color: #ffc4a9; }
body[data-site-area="public"] .t-label { font-size: 12px; letter-spacing: .09em; }
body[data-site-area="public"] .t-eyebrow { font-size: 12px; }
body[data-site-area="public"][data-page="home"] .chrome-top {
  background: var(--label-orange);
  --ink-dim: #efd4c4;
  --rule: rgba(255, 239, 221, .25);
  --rule-strong: rgba(255, 239, 221, .3);
}
.label-hero { background: var(--label-orange); color: var(--label-paper); padding: clamp(32px, 5vw, 64px) 0 36px; }
.label-masthead { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.label-wordmark { width: 100%; height: auto; filter: invert(94%) sepia(12%) saturate(251%) hue-rotate(350deg); }
.label-masthead h1 { font-family: var(--sans); font-size: clamp(42px, 5.5vw, 76px); line-height: 1.02; letter-spacing: -.045em; font-weight: 500; }
.label-feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; margin-top: clamp(24px, 4vw, 48px); }
.label-illustration { width: min(100%, 290px); height: auto; justify-self: center; filter: invert(94%) sepia(12%) saturate(251%) hue-rotate(350deg); }
.label-kicker { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 16px; font: 400 12px/1.5 var(--mono); letter-spacing: .06em; }
.label-kicker .reg-mark { width: 30px; height: 30px; opacity: .9; }
.label-copy h2 { font-size: clamp(24px, 2.7vw, 36px); font-weight: 500; letter-spacing: -.035em; line-height: 1.15; }
.label-copy p { font-size: 17px; line-height: 1.6; margin-top: 15px; }
.label-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 25px; }
body[data-site-area="public"] .label-actions .btn-primary { background: var(--label-paper); border-color: var(--label-paper); color: var(--label-black); }
body[data-site-area="public"] .label-actions .btn-primary:hover { background: #fff9ef; border-color: #fff9ef; }
.label-listen { font-size: 14px; padding-block: 12px; text-underline-offset: 5px; }
.label-listen:hover { text-decoration: underline; }
.pulseq-offer { background: var(--bg); color: var(--ink); }
.pulseq-offer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px 40px; padding-block: 30px; }
.pulseq-offer-copy { flex: 1 1 300px; min-width: 0; }
.pulseq-offer-copy .t-label { color: var(--teal); }
.pulseq-offer h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.15; font-weight: 500; letter-spacing: -.035em; margin-top: 8px; }
.pulseq-offer p { font-size: 16px; line-height: 1.5; color: var(--ink-dim); margin-top: 8px; }
.pulseq-offer .btn { flex: 0 0 auto; justify-content: center; }
@media (max-width: 600px) {
  .pulseq-offer-inner { gap: 20px; padding-block: 26px; }
  .pulseq-offer-copy { flex-basis: 100%; }
  .pulseq-offer .btn { width: 100%; }
}
.label-collection { background: var(--label-paper); color: var(--label-black); padding: 34px 0 0; }
.label-collection-head { display: flex; justify-content: space-between; gap: 24px; align-items: center; margin-bottom: 26px; }
.label-collection-head h2 { font-size: 17px; font-weight: 500; }
.label-collection-head > a { font-size: 14px; text-decoration: underline; text-underline-offset: 5px; }
.label-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.label-product { min-width: 0; display: block; padding-bottom: 28px; }
.label-product-image { aspect-ratio: 1.7; padding: 12px; background: #dcd7ca; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.label-product-image img { width: 100%; height: 100%; object-fit: contain; }
.label-product-number { font: 400 12px/1.5 var(--mono); letter-spacing: .05em; color: #646458; }
.label-product h3 { display: flex; justify-content: space-between; gap: 12px; font-size: clamp(20px, 2.3vw, 29px); letter-spacing: -.03em; font-weight: 500; margin: 7px 0; }
.label-product h3 span { transition: transform .15s; }
.label-product:hover h3 span { transform: translate(3px, -3px); }
.label-product:hover h3 { text-decoration: underline; text-underline-offset: 5px; }
.label-product p { font-size: 15px; color: #646458; }
body[data-site-area="public"] .label-collection a:focus-visible { outline-color: var(--label-black); }
.label-compatibility { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; border-top: 1px solid #c4bfb1; padding: 20px 0; font-size: 12px; color: #5b5e51; }
body[data-site-area="public"] #listen { scroll-margin-top: 100px; }
body[data-site-area="public"] .flagship,
body[data-site-area="public"] .home-laika,
body[data-site-area="public"] .principles,
body[data-site-area="public"] .whats-next { padding-block: clamp(48px, 7vw, 88px); }
body[data-site-area="public"] .home-laika { background: #20211d; }
body[data-site-area="public"] .section-head { margin-bottom: 32px; padding-bottom: 24px; gap: 40px; }
body[data-site-area="public"] .section-title { font-size: clamp(38px, 5vw, 64px); }
body[data-site-area="public"] .plugin-stage { padding: 0; background: transparent; border: 0; }
body[data-site-area="public"] .plugin-stage::before,
body[data-site-area="public"] .plugin-stage::after { display: none; }
body[data-site-area="public"] .plugin-stage-label {
  border: 0;
  border-bottom: 1px solid var(--rule);
}
body[data-site-area="public"] .plugin-caption {
  border: 0;
  border-top: 1px solid var(--rule);
}
body[data-site-area="public"] .home-laika-copy h3 { font-size: clamp(36px, 4.5vw, 62px); }
body[data-site-area="public"] .next-card.shipped:hover { background: #252720; }
body[data-site-area="public"] .cta-strip-inner::before { display: none; }
body[data-site-area="public"] footer { padding-top: 56px; }
body[data-site-area="public"] .foot-logo-xl { max-width: 460px; }
body[data-site-area="public"] .foot-col h5 { font-size: 12px; }
body[data-site-area="public"] .foot-col a { font-size: 14px; }

/* Admin always owns its palette, including direct links and invitation screens.
   Body-level tokens also cover dialogs appended outside #page-admin. */
body[data-site-area="admin"], #page-admin {
  color-scheme: dark;
  --bg: #181a1d;
  --bg-elev: #22252a;
  --ink: #eff1f4;
  --ink-dim: #b2b7c0;
  --ink-faint: #949ba6;
  --rule: #34383f;
  --rule-strong: #4c535e;
  --teal: #bdc8d8;
  --teal-dim: #8f9fb4;
  --teal-glow: transparent;
  --amber: #e5b75e;
  --serif: var(--sans);
}
body[data-site-area="admin"] .admin-chrome { background: #1c1f23; top: 76px; backdrop-filter: none; }
body[data-site-area="admin"] .admin-tab.on { background: #30353c; border-color: #697584; }
body[data-site-area="admin"] .nav-link.admin-link { opacity: 1; }
body[data-site-area="admin"] .admin-user .dot { box-shadow: none; }
body[data-site-area="admin"] .btn-teal { background: var(--teal); border-color: var(--teal); color: #181a1d; }
body[data-site-area="admin"] .btn-teal:hover { background: #d7e0eb; border-color: #d7e0eb; }
body[data-site-area="admin"] .t-label { font-size: 11px; letter-spacing: .09em; }
body[data-site-area="admin"] footer,
body[data-site-area="admin"] .tweaks { display: none; }
/* Retain semantic colour for status; general selections stay neutral. */
body[data-site-area="admin"] .metric .delta.up,
body[data-site-area="admin"] .kpi-delta.up,
body[data-site-area="admin"] .sys-row.sys-ok .sys-status-chip,
body[data-site-area="admin"] .status-chip.status-paid,
body[data-site-area="admin"] .status-chip.status-sent,
body[data-site-area="admin"] .status-chip.status-active { color: #83c9a4; }
body[data-site-area="admin"] .ord-row.active { background: #282d34; }

@media (max-width: 900px) {
  body[data-site-area] .brand-tag { display: none; }
  body[data-site-area="public"] .home-laika-grid { grid-template-columns: 1fr; }
  .label-masthead h1 { font-size: clamp(36px, 5.5vw, 54px); }
  .label-feature { gap: 30px; }
  .label-products { gap: 20px; }
}
@media (max-width: 600px) {
  body[data-site-area] .chrome-top-inner { min-height: 72px; gap: 14px; }
  body[data-site-area] .brand-logo { width: 68px; flex-basis: 68px; height: auto; }
  body[data-site-area] .nav { gap: 0; }
  body[data-site-area] .nav-link { padding: 10px 8px; font-size: 13px; }
  .label-masthead, .label-feature { grid-template-columns: 1fr; gap: 26px; }
  .label-wordmark { max-width: 340px; }
  .label-masthead h1 { font-size: clamp(40px, 9vw, 58px); }
  .label-feature { margin-top: 18px; }
  .label-illustration { width: 210px; justify-self: start; }
  .label-copy { padding-bottom: 10px; }
  .label-products { grid-template-columns: 1fr; gap: 24px; }
  .label-product { border-bottom: 1px solid #c4bfb1; }
  .label-product:last-child { border-bottom: 0; }
  .label-product h3 { font-size: 27px; }
  .label-collection-head { align-items: flex-start; }
  .label-compatibility { justify-content: flex-start; gap: 10px 20px; }
  body[data-site-area="admin"] .admin-chrome { position: static; }
  body[data-site-area="admin"] .chrome-top { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-site-area] .page { animation: none; }
  .label-product h3 span { transition: none; }
}
