:root {
  font-family: Inter, 'Segoe UI', Arial, sans-serif;
  color: #e8edf7;
  background: #070c16;
  font-synthesis: none;
  --muted: #a6b2c8;
  --blue: #78a5ff;
  --line: #29374e;
  --panel: #101b2c;
  --amber: #ffd08a;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: #9abbff;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  background: #2867d5;
  color: white;
  border: 1px solid #5086e2;
  padding: 0.72rem 1rem;
  border-radius: 9px;
  cursor: pointer;
  font-weight: 650;
  min-height: 44px;
}
button:hover {
  background: #3478ee;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button + button {
  margin-left: 0.5rem;
}
input,
select,
textarea {
  background: #081322;
  color: #edf3ff;
  border: 1px solid #526079;
  border-radius: 8px;
  padding: 0.75rem;
  width: 100%;
  min-width: 0;
}
textarea {
  resize: vertical;
}
label {
  display: grid;
  gap: 0.5rem;
  color: #d6e0f1;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
input[type='number'] {
  appearance: textfield;
}
form > button {
  margin-top: 0.6rem;
}
h1,
h2,
p {
  overflow-wrap: anywhere;
}
h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 0.7rem 0 1rem;
}
h2 {
  font-size: 1.15rem;
  margin-top: 0;
}
p,
li {
  line-height: 1.6;
}
small {
  display: block;
  color: var(--muted);
}
:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}
.skip {
  position: absolute;
  top: -70px;
  left: 1rem;
  background: #fff;
  color: #000;
  padding: 1rem;
  z-index: 10;
}
.skip:focus {
  top: 1rem;
}
.brand-word {
  font-size: 1.2rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  color: white;
  text-decoration: none;
}
.brand-word span {
  color: var(--blue);
}
.eyebrow {
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  color: var(--blue);
}
.muted {
  color: var(--muted);
  font-size: 0.9rem;
}
.landing {
  max-width: 1300px;
  margin: auto;
  padding: 2rem 6%;
}
.hero {
  padding: 6rem 0 3rem;
  max-width: 820px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
}
.lead {
  font-size: 1.2rem;
  color: #bfcae0;
  max-width: 640px;
}
.capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 2rem 0;
}
.capabilities span,
.badge {
  display: inline-block;
  font-size: 0.7rem;
  border: 1px solid #526080;
  border-radius: 20px;
  padding: 0.4rem 0.6rem;
  color: #d8e5ff;
}
.login-card {
  max-width: 520px;
  padding: 1.8rem;
  border: 1px solid var(--line);
  background: #101b2cd9;
  border-radius: 16px;
}
.public-info {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
  max-width: 750px;
}
footer {
  padding: 2rem 4%;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}
.workspace {
  display: grid;
  grid-template-columns: 225px minmax(0, 1fr);
  min-height: 90vh;
}
aside {
  border-right: 1px solid var(--line);
  padding: 2rem 1.2rem;
  background: #0a1220;
}
aside nav {
  display: grid;
  gap: 0.4rem;
  margin: 2rem 0;
}
aside nav button {
  text-align: left;
  background: none;
  border-color: transparent;
  color: #b8c5db;
}
aside nav button[aria-current='page'] {
  background: #183257;
  color: white;
  border-color: #315883;
}
.sidebar-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 3rem;
}
.workspace-body {
  min-width: 0;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding: 1.3rem 2.5rem;
}
header strong {
  display: block;
  margin-top: 0.4rem;
}
.user-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  overflow-wrap: anywhere;
}
.user-menu button {
  background: transparent;
  border-color: #526079;
}
.workspace main {
  padding: 2.5rem;
  max-width: 1400px;
  margin: auto;
}
.page-heading {
  margin-bottom: 2rem;
}
.page-heading p:not(.eyebrow) {
  color: var(--muted);
  max-width: 750px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.stats article,
.panel {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 14px;
  padding: 1.5rem;
}
.stats span {
  color: var(--muted);
  font-size: 0.85rem;
}
.stats strong {
  display: block;
  font-size: 2.2rem;
  margin-top: 1rem;
}
.two-col,
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
}
.panel {
  margin-bottom: 1.2rem;
}
.record-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1rem;
}
.record-grid > .panel {
  margin: 0 0 1rem;
}
.callout,
.demo {
  padding: 1rem;
  border: 1px solid #a67735;
  background: #302515;
  color: #ffe0ac;
  border-radius: 10px;
  margin: 1rem 0;
  font-size: 0.9rem;
}
.ribbon {
  margin: 0;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  padding: 0.7rem 2.5rem;
}
.empty {
  border: 1px dashed #50607a;
  border-radius: 12px;
  padding: 2rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.onboarding {
  max-width: 650px;
  margin: 4rem auto;
  padding: 1.5rem;
}
.onboarding progress { display: block; width: 100%; height: .55rem; margin: 1.25rem 0; accent-color: #a6ff4d; }
.onboarding-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.onboarding .onboarding-top .locale-choice { position: static; max-width: none; margin: 0; }
.onboarding dl { display: grid; grid-template-columns: minmax(8rem, 1fr) 2fr; gap: .65rem 1rem; overflow-wrap: anywhere; }
.onboarding dt { color: var(--muted); }
@media (max-width: 430px) {
  .onboarding { margin: 1rem auto; padding: 1rem; }
  .onboarding dl { grid-template-columns: 1fr; gap: .25rem; }
  .onboarding dd { margin: 0 0 .8rem; }
}
.feedback:not(:empty) {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: #16304a;
  color: white;
  border: 1px solid #78a5ff;
  max-width: calc(100% - 2rem);
  width: max-content;
  padding: 1rem;
  border-radius: 10px;
  z-index: 20;
}
.feedback.error,
.error {
  color: #ffd2d2;
  background: #421f28;
}
.busy {
  position: fixed;
  top: 1rem;
  right: 1rem;
  padding: 0.8rem 1.3rem;
  background: #173866;
  z-index: 30;
  border-radius: 9px;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.65;
}
details {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}
summary {
  cursor: pointer;
  min-height: 32px;
}
.issue {
  padding: 0.8rem;
  border-left: 3px solid var(--amber);
  margin: 0.8rem 0;
}
.issue p {
  margin: 0.4rem 0;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.9rem;
}
th,
td {
  padding: 0.8rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
caption {
  text-align: left;
  color: var(--muted);
  padding: 0.5rem 0;
}
code {
  overflow-wrap: anywhere;
}
dialog {
  background: #111d30;
  color: #edf3ff;
  border: 1px solid #8192b3;
  border-radius: 16px;
  max-width: 650px;
  width: calc(100% - 2rem);
  max-height: 85vh;
  overflow: auto;
  padding: 2rem;
}
dialog::backdrop {
  background: #000b;
}
@media (max-width: 1000px) {
  .workspace {
    grid-template-columns: 180px minmax(0, 1fr);
  }
  .workspace main {
    padding: 1.5rem;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  header {
    padding: 1rem 1.5rem;
  }
  .user-menu span {
    max-width: 180px;
  }
  .two-col {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .workspace {
    display: block;
  }
  aside {
    padding: 1rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  aside > .muted,
  .sidebar-note {
    display: none;
  }
  aside nav {
    display: flex;
    overflow: auto;
    gap: 0.3rem;
    margin: 1rem 0 0;
    padding-bottom: 0.5rem;
  }
  aside nav button {
    white-space: nowrap;
    flex: none;
  }
  .workspace main {
    padding: 1.1rem;
  }
  header {
    padding: 1rem;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .user-menu {
    justify-content: space-between;
    width: 100%;
  }
  .user-menu span {
    max-width: 65%;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 1.1rem;
  }
  .hero {
    padding-top: 3rem;
  }
  .landing {
    padding: 1.5rem;
  }
  .login-card {
    padding: 1.2rem;
  }
  .ribbon {
    padding: 0.8rem 1rem;
  }
  .stats {
    gap: 0.7rem;
  }
  .stats article {
    padding: 1rem;
  }
  .stats span {
    font-size: 0.78rem;
  }
  .stats strong {
    font-size: 1.8rem;
  }
  .demo button {
    display: block;
    margin: 0.7rem 0 0;
    width: 100%;
  }
  dialog {
    padding: 1.3rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
/* Controlled local motion; no external video, tracking, font or image dependency. */
.entry-experience {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
  min-height: 680px;
  padding: 4rem 0;
}
.entry-copy h1 {
  font-size: clamp(3.3rem, 6vw, 6.2rem);
  line-height: 0.97;
  letter-spacing: -0.07em;
}
.entry-copy h1 > .hero-accent {
  color: #91b4ff;
}
.entry-lead {
  font-size: 1.13rem;
  color: #d2dcef;
  max-width: 590px;
}
.entry-for {
  font-size: 0.9rem;
  color: var(--muted);
}
.entry-note {
  font-size: 0.75rem;
  color: var(--muted);
  max-width: 430px;
  margin-top: 1.5rem;
}
.primary-link {
  display: inline-flex;
  gap: 2rem;
  align-items: center;
  padding: 1rem 1.2rem;
  border: 1px solid #6f9ef7;
  background: #2867d5;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 650;
  margin: 0.7rem 0.8rem 0.7rem 0;
}
.secondary-link {
  display: inline-block;
  padding: 0.8rem 0;
  font-size: 0.9rem;
}
.signal-stage {
  height: 480px;
  position: relative;
  isolation: isolate;
}
.signal-orbit {
  position: absolute;
  width: 340px;
  height: 340px;
  left: 50%;
  top: 50%;
  border: 1px solid #567cbc45;
  border-radius: 50%;
  transform: translate(-50%, -50%) rotateX(25deg);
  box-shadow: 0 0 90px #487cdb17;
}
.orbit-two {
  width: 240px;
  height: 240px;
  border-style: dashed;
  animation: orbit 30s linear infinite;
}
.signal-core {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  text-align: center;
  color: #a9bedf;
  font-size: 0.65rem;
  letter-spacing: 0.13em;
}
.signal-symbol {
  font-size: 7rem;
  line-height: 0.85;
  letter-spacing: -0.13em;
  color: #dce8ff;
  font-weight: 800;
  text-shadow: 0 0 45px #598fff5e;
}
.signal-symbol > span {
  font-size: 3rem;
  color: var(--amber);
  display: inline-block;
  transform: translateY(-2rem);
}
.signal-node {
  position: absolute;
  width: 200px;
  padding: 1rem;
  background: #0b1629;
  border: 1px solid #416699;
  border-radius: 10px;
  box-shadow: 0 12px 45px #0005;
  animation: float 8s ease-in-out infinite;
}
.signal-node small {
  font-size: 0.62rem;
  color: #8fabdc;
  letter-spacing: 0.13em;
}
.signal-node strong {
  font-size: 1.3rem;
  display: block;
  padding: 0.35rem 0;
}
.signal-node > span {
  font-size: 0.7rem;
  color: #b1bfda;
}
.node-brief {
  top: 0;
  left: 0;
}
.node-brand {
  right: -10px;
  top: 150px;
  animation-delay: -3s;
}
.node-result {
  bottom: 25px;
  left: 15px;
  border-color: #bc8a45;
  animation-delay: -5s;
}
.signal-caption {
  position: absolute;
  bottom: -15px;
  width: 100%;
  text-align: center;
  font-size: 0.57rem;
  letter-spacing: 0.12em;
  color: #99aac6;
}
.workbench {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  padding: 4rem 0;
}
.workbench-heading {
  max-width: 680px;
}
.workbench h2,
.narrative > h2,
.closing-copy h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
  letter-spacing: -0.05em;
  line-height: 1.1;
}
.workbench-heading p {
  color: var(--muted);
}
.demo-controls {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 2rem 0 1rem;
}
.demo-controls button {
  margin: 0;
  background: transparent;
  color: #d9e5fa;
  border-color: #445778;
}
.demo-controls button[aria-pressed='true'] {
  background: #1c3a63;
  border-color: #91b4ff;
}
.editorial-demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #3a506f;
  border-radius: 14px;
  overflow: hidden;
  background: #0d182a;
}
.demo-input,
.demo-output {
  padding: 2rem;
}
.demo-input {
  border-right: 1px solid #3a506f;
}
.demo-input h3,
.demo-output h3 {
  font-size: 1.7rem;
}
.demo-input p,
.demo-output p {
  color: #c0cde3;
}
dl {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 0.7rem;
  font-size: 0.8rem;
}
dt {
  color: #96aacd;
}
dd {
  margin: 0;
}
.story-evidence {
  background: #302719;
  border-left: 3px solid #d6a258;
  padding: 1rem;
  color: #f6d7a9;
  line-height: 1.6;
  font-size: 0.85rem;
}
.narrative {
  padding: 3rem 0;
}
.narrative-row {
  display: grid;
  grid-template-columns: 50px 1fr 200px;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.narrative-row > span {
  font-size: 1.4rem;
  color: #7f9bc7;
}
.narrative-row h3 {
  font-size: 1.35rem;
  margin: 0;
}
.narrative-row p {
  color: var(--muted);
  margin-bottom: 0;
  max-width: 640px;
}
.narrative-row > strong {
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  color: #a6c4ff;
}
.closing-copy {
  padding: 5rem 0;
  border-bottom: 1px solid var(--line);
  max-width: 850px;
}
.closing-copy p:not(.eyebrow) {
  color: var(--muted);
  max-width: 650px;
}
.login-zone {
  padding: 3rem 0;
}
.login-zone .login-card {
  max-width: 650px;
}
.asset > button {
  margin: 0.4rem 0.4rem 0.4rem 0;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@keyframes orbit {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@media (max-width: 1050px) {
  .entry-experience {
    gap: 1rem;
  }
  .signal-node {
    width: 165px;
  }
  .node-brand {
    right: 0;
  }
  .signal-stage {
    height: 450px;
  }
  .signal-orbit {
    width: 270px;
    height: 270px;
  }
}
@media (max-width: 750px) {
  .entry-experience {
    grid-template-columns: 1fr;
    padding: 3rem 0 0;
  }
  .entry-copy h1 {
    font-size: clamp(3.1rem, 12vw, 4.5rem);
  }
  .signal-stage {
    height: 420px;
    max-width: 460px;
    width: 100%;
    margin: 1rem auto;
  }
  .signal-node {
    width: 160px;
  }
  .node-brand {
    top: 140px;
  }
  .node-result {
    left: 0;
    bottom: 15px;
  }
  .editorial-demo {
    grid-template-columns: 1fr;
  }
  .demo-input {
    border-right: 0;
    border-bottom: 1px solid #3a506f;
  }
  .demo-input,
  .demo-output {
    padding: 1.3rem;
  }
  .narrative-row {
    grid-template-columns: 30px 1fr;
    gap: 1rem;
  }
  .narrative-row > strong {
    grid-column: 2;
  }
  .workbench {
    padding-top: 2.5rem;
  }
  .signal-caption {
    font-size: 0.5rem;
  }
  .primary-link {
    gap: 1rem;
  }
  dl {
    grid-template-columns: 80px 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .signal-node,
  .signal-orbit {
    animation: none !important;
  }
}
html[data-motion='paused'] .signal-node,
html[data-motion='paused'] .signal-orbit {
  animation: none;
}
.motion-control {
  background: transparent;
  border-color: #526079;
  font-size: 0.8rem;
  margin-top: 1rem;
}

/* Office film: a locally generated scene animated in-house. All content remains
   legible over the poster if video playback or motion is unavailable. */
.landing {
  max-width: none;
  padding: 0;
  overflow: clip;
  background:
    radial-gradient(ellipse 75% 22% at 70% 73%, #15506c55, transparent),
    linear-gradient(180deg, #0d1a2d, #111c2c 65%, #132b39);
}
.landing > .brand-word {
  position: absolute;
  z-index: 4;
  left: clamp(1.25rem, 5vw, 6rem);
  top: 1.4rem;
  font-size: 1.55rem;
  text-shadow: 0 3px 25px #000c;
}
.entry-experience {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.74fr);
  align-items: end;
  gap: 1rem;
  min-height: clamp(760px, 93svh, 980px);
  margin: 0 clamp(0px, 1.5vw, 26px);
  padding: 7rem clamp(1.25rem, 5vw, 6rem) 5.5rem;
  border-radius: 0 0 28px 28px;
  background: #13223a;
}
.office-scene,
.office-video,
.office-scene::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.office-scene {
  z-index: -1;
  background: #12283f url('/media/office-poster.webp') center / cover no-repeat;
}
.office-video {
  object-fit: cover;
  object-position: 65% center;
  filter: saturate(1.15) contrast(1.08);
  transform: scale(1.045) translate3d(var(--office-x, 0px), var(--office-y, 0px), 0);
  transition: transform 500ms ease-out;
}
.office-scene::after {
  content: '';
  background:
    linear-gradient(90deg, #081426ed 0%, #0b1b31d7 33%, #0a1a3082 59%, #08142665 100%),
    linear-gradient(0deg, #091c32ef, transparent 42%, #08142644);
}
.entry-experience::after {
  content: '';
  pointer-events: none;
  position: absolute;
  inset: auto -10% -44% 20%;
  height: 68%;
  border-radius: 50%;
  z-index: -1;
  background: radial-gradient(ellipse, #20c4d451, transparent 68%);
  animation: ambientShift 11s ease-in-out infinite alternate;
}
.entry-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 780px;
  padding-top: 1rem;
  animation: entryReveal 850ms ease-out both;
}
.entry-copy .eyebrow {
  color: #c4ef92;
  background: #102842b8;
  border: 1px solid #90c59c77;
  border-radius: 100px;
  display: inline-block;
  padding: 0.6rem 0.9rem;
  font-size: 0.73rem;
}
.entry-copy h1 {
  font-size: clamp(3.6rem, 6vw, 6.9rem);
  line-height: 0.99;
  letter-spacing: -0.065em;
  text-wrap: balance;
  text-shadow: 0 3px 30px #061526;
}
.entry-copy h1 > .hero-accent {
  background: linear-gradient(95deg, #eefbff, #7de3ed 44%, #cef992);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.locale-choice { display: flex; width: fit-content; align-items: center; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.1rem; padding: .3rem .55rem; border-radius: 9px; background: #09283fd9; color: #f0f8fa; font-size: .75rem; }
.locale-choice select { padding: .3rem; border: 1px solid #a4d6d2; border-radius: 6px; color: #fff; background: #123d52; }
.locale-choice small { width: 100%; color: #e4f3e8; }
.locale-choice select:focus-visible { outline: 3px solid #dcffae; outline-offset: 3px; }
.entry-lead {
  font-size: clamp(1.07rem, 1.7vw, 1.28rem);
  max-width: 650px;
  color: #f1f7ff;
  line-height: 1.58;
}
.entry-for {
  color: #d8e9f1;
  font-size: 0.96rem;
  max-width: 610px;
}
.entry-note {
  color: #c7d7e4;
  font-size: 0.82rem;
  max-width: 620px;
}
.entry-actions {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  flex-wrap: wrap;
}
.entry-experience .primary-link {
  background: #c3f18b;
  color: #102535;
  border: 1px solid #dbffc0;
  box-shadow: 0 12px 36px #8edd8063;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}
.entry-experience .primary-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px #8edd807d;
}
.entry-experience .primary-link:focus-visible,
.entry-experience .secondary-link:focus-visible,
.entry-experience .motion-control:focus-visible {
  outline: 3px solid #dcffae;
  outline-offset: 4px;
}
.entry-experience .secondary-link {
  color: #e3f2fa;
}
.signal-stage {
  position: relative;
  align-self: end;
  height: auto;
  width: min(100%, 460px);
  justify-self: end;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  padding: 1rem;
  border-radius: 23px;
  border: 1px solid #9ae8f185;
  background: linear-gradient(145deg, #173b59da, #10283fdd);
  box-shadow:
    0 24px 90px #030d1dbc,
    inset 0 1px #d2f7ff4f;
  backdrop-filter: blur(14px);
  animation: entryReveal 850ms 250ms ease-out both;
}
.signal-stage::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 1rem;
  height: 3px;
  width: calc(100% - 2rem);
  border-radius: 3px;
  background: linear-gradient(90deg, #b8f6a8, #7ae3ed);
  transform: scaleX(0);
  transform-origin: left;
  animation: journeyProgress 9s linear infinite;
}
.flow-overline {
  grid-column: 1 / -1;
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #d8f9f6;
  padding: 0.3rem;
}
.flow-spine {
  display: none;
}
.signal-stage .signal-node {
  position: relative;
  inset: auto;
  width: auto;
  min-height: 110px;
  padding: 0.83rem;
  background: #071629af;
  border: 1px solid #9bcfd762;
  border-radius: 13px;
  box-shadow: none;
  animation: signalJourney 9s ease-in-out infinite;
}
.signal-stage .signal-node:nth-of-type(3) { animation-delay: -7.5s; }
.signal-stage .signal-node:nth-of-type(4) { animation-delay: -6s; }
.signal-stage .signal-node:nth-of-type(5) { animation-delay: -4.5s; }
.signal-stage .signal-node:nth-of-type(6) { animation-delay: -3s; }
.signal-stage .signal-node:nth-of-type(7) { animation-delay: -1.5s; }
.signal-stage .signal-node:nth-of-type(8) { animation-delay: 0s; }
.signal-stage .signal-node::before {
  content: '';
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: #a2f5bd;
  box-shadow: 0 0 12px #85f5c9;
}
.signal-node small {
  color: #b9e4ec;
  font-size: 0.67rem;
}
.signal-node strong {
  color: #f1fcff;
  font-size: 1.15rem;
}
.signal-node > span {
  color: #daecf6;
  font-size: 0.79rem;
}
.signal-caption {
  position: static;
  grid-column: 1 / -1;
  width: auto;
  text-align: left;
  color: #dfedf8;
  font-size: 0.69rem;
  letter-spacing: 0.02em;
}
.entry-experience .motion-control {
  position: absolute;
  z-index: 2;
  right: clamp(1.25rem, 5vw, 6rem);
  bottom: 0.7rem;
  background: #0d2840d6;
  border: 1px solid #a8cce3aa;
  color: #fff;
}
.workbench,
.narrative,
.closing-copy,
.landing > .hero {
  max-width: 1300px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 5rem);
}
.workbench {
  background: linear-gradient(135deg, #142e44 0%, #102038 52%, #14353e 100%);
  border: 1px solid #648f9a66;
  border-radius: 26px;
  margin-top: 4rem;
  scroll-margin-top: 1.5rem;
}
.editorial-demo {
  background: #112c40;
  box-shadow: 0 25px 75px #020a1780;
}
.demo-controls button[aria-pressed='true'] {
  border-color: #c3f18b;
  background: #345157;
  color: #f8ffeb;
}
.landing .closing-copy {
  background: radial-gradient(circle at 88% 50%, #17647466, transparent 58%);
}
@keyframes signalJourney {
  0%,
  100% {
    border-color: #9bcfd762;
    box-shadow: inset 0 0 0 #9afed900;
  }
  9%, 18% {
    border-color: #c2fdcf;
    box-shadow:
      inset 0 0 30px #9afed929,
      0 0 23px #7af3e555;
  }
}
@keyframes ambientShift {
  to {
    transform: translateX(-18%);
    opacity: 0.55;
  }
}
@keyframes entryReveal {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes journeyProgress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
html[data-motion='paused'] .entry-experience::after,
html[data-motion='paused'] .signal-stage .signal-node,
html[data-motion='paused'] .signal-stage::before,
html[data-motion='paused'] .entry-copy,
html[data-motion='paused'] .signal-stage {
  animation: none;
}
html[data-motion='paused'] .office-video { transition: none; }
@media (max-width: 1050px) {
  .entry-experience {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 7rem;
    gap: 3rem;
  }
  .entry-copy {
    max-width: 770px;
  }
  .signal-stage {
    justify-self: stretch;
    width: 100%;
    max-width: 750px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .entry-experience .motion-control {
    bottom: 0.6rem;
  }
}
@media (max-width: 700px) {
  .landing > .brand-word {
    top: 1.05rem;
    font-size: 1.2rem;
  }
  .entry-experience {
    margin: 0;
    min-height: auto;
    padding: 5.4rem 1.2rem 4.5rem;
    gap: 2rem;
    border-radius: 0 0 18px 18px;
  }
  .entry-copy h1 {
    font-size: clamp(2.9rem, 11vw, 4.9rem);
  }
  .office-scene::after {
    background: linear-gradient(180deg, #081426e0, #071426d1 55%, #081426eb);
  }
  .office-video {
    object-position: 69% center;
  }
  .entry-actions {
    gap: 0.4rem;
  }
  .entry-lead {
    font-size: 1.06rem;
  }
  .signal-stage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0.7rem;
    gap: 0.5rem;
  }
  .signal-stage .signal-node {
    min-height: 102px;
  }
  .workbench,
  .narrative,
  .closing-copy,
  .landing > .hero {
    margin-inline: 0.7rem;
    padding-inline: 1.25rem;
  }
  .workbench {
    margin-top: 2rem;
  }
  .entry-experience .motion-control {
    right: 1rem;
  }
}
@media (max-width: 350px) {
  .entry-copy h1 {
    font-size: 2.6rem;
  }
  .signal-stage .signal-node {
    padding: 0.65rem;
  }
  .signal-node strong {
    font-size: 1rem;
  }
  .signal-node > span {
    font-size: 0.72rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .office-video {
    display: none;
    transform: none;
    transition: none;
  }
  .entry-experience::after,
  .signal-stage .signal-node,
  .signal-stage::before,
  .entry-copy,
  .signal-stage {
    animation: none !important;
  }
  .entry-experience .primary-link {
    transition: none;
  }
}
/* The story continues below the film: a readable product surface and an honest roadmap. */
.landing .narrative,
.landing .future-flow {
  max-width: 1320px;
  margin: clamp(2rem, 5vw, 5rem) auto;
  padding: clamp(1.35rem, 5vw, 5rem);
  border-radius: 30px;
  overflow: hidden;
}
.landing .narrative {
  color: #142a39;
  background: radial-gradient(circle at 75% 16%, #b9eff0 0, transparent 36%),
    linear-gradient(140deg, #eef9f5, #d9e9e8 70%, #d8e4e0);
  box-shadow: 0 28px 85px #020d1994;
}
.narrative-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .72fr);
  gap: clamp(1.4rem, 5vw, 5rem);
  align-items: center;
}
.narrative-heading h2 { margin: .7rem 0 1.2rem; }
.narrative-heading p:not(.eyebrow) { max-width: 670px; font-size: 1.12rem; line-height: 1.6; color: #344d59; }
.narrative-heading .eyebrow { color: #286c70; }
.brand-context-card {
  background: #f9fffd;
  border: 1px solid #9ac2bf;
  border-radius: 22px;
  padding: 1.4rem;
  box-shadow: 0 25px 50px #123e3440;
  transform: rotate(2deg);
}
.context-topline { display: flex; justify-content: space-between; font-size: .68rem; letter-spacing: .15em; font-weight: 800; color: #416b70; }
.context-dot { width: 9px; height: 9px; border-radius: 50%; background: #36ac8c; box-shadow: 0 0 14px #36ac8c; }
.context-avatar { display: grid; place-items: center; margin: 1.5rem 0 1rem; width: 68px; height: 68px; border-radius: 18px; color: #d7fdbb; background: #173f49; font-size: 1.6rem; font-weight: 800; }
.brand-context-card strong { display: block; font-size: 1.45rem; }
.brand-context-card p { margin: .3rem 0 1.2rem; color: #48636a; }
.brand-context-card small { display: block; margin-top: 1.2rem; color: #5c7477; }
.context-tags { display: flex; flex-wrap: wrap; gap: .45rem; }
.context-tags span { padding: .35rem .55rem; border-radius: 6px; background: #e6f3ef; font-size: .73rem; color: #285c62; }
.capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 4rem; }
.capability-card {
  min-width: 0;
  padding: 1.1rem;
  border: 1px solid #b5cac5;
  border-radius: 18px;
  background: #f9fffdc9;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.capability-card:hover { transform: translateY(-6px); box-shadow: 0 20px 38px #143c3036; }
.capability-index { font-size: .67rem; font-weight: 800; letter-spacing: .15em; color: #2d7373; }
.capability-card h3 { font-size: 1.3rem; margin: 1.2rem 0 .5rem; }
.capability-card p { color: #3a5660; line-height: 1.55; min-height: 5.5em; }
.capability-visual { height: 154px; margin-top: 1rem; padding: 1.2rem; border-radius: 12px; background: #123447; color: #f1fff9; overflow: hidden; }
.visual-brief i { display: block; height: 7px; width: 58%; border-radius: 7px; background: #6abfb8; margin: .38rem 0; }
.visual-brief i:nth-child(2) { width: 84%; background: #cfedaa; }
.visual-brief i:nth-child(3) { width: 36%; }
.visual-brief b { display: block; margin-top: 1rem; font-size: .83rem; font-weight: 500; }
.visual-guardian { display: flex; flex-direction: column; justify-content: center; gap: .4rem; background: radial-gradient(circle at right top, #648b5b, transparent 48%), #173844; }
.visual-guardian span { display: block; width: max-content; max-width: 100%; padding: .38rem .7rem; border: 1px solid #9bc6b677; border-radius: 7px; font-size: .78rem; }
.visual-guardian span:nth-child(2) { margin-left: 20%; border-color: #f3c578; color: #ffe0a7; }
.visual-guardian span:nth-child(3) { margin-left: 45%; }
.visual-decision { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .35rem; background: radial-gradient(circle at 25% 18%, #418c87, transparent 50%), #123447; }
.visual-decision span { font-size: .78rem; }
.visual-decision span:nth-child(odd) { background: #d8efdd; color: #153a39; padding: .6rem .5rem; border-radius: 8px; }
.state-chip { display: inline-block; width: fit-content; font-style: normal; font-size: .65rem; letter-spacing: .065em; font-weight: 800; border-radius: 99px; padding: .48rem .7rem; }
.state-built { color: #155c57; background: #d7f4dc; }
.state-beta { color: #704907; background: #f8e5bb; }
.state-future { color: #cbe8f5; background: #2e4d61; }
.future-flow { position: relative; border: 1px solid #477e83; background: radial-gradient(ellipse at 95% 12%, #235c63, transparent 48%), linear-gradient(140deg, #102f3e, #0f2635 70%); }
.future-flow::before { content: ''; position: absolute; top: 20%; right: -10%; width: 55%; aspect-ratio: 1; border-radius: 50%; border: 1px solid #8bd4bd30; box-shadow: 0 0 0 70px #8bd4bd10, 0 0 0 150px #8bd4bd0a; pointer-events: none; }
.future-intro { position: relative; max-width: 720px; }
.future-intro h2 { font-size: clamp(2.5rem, 5vw, 5rem); line-height: 1; letter-spacing: -.06em; }
.future-intro h2 span { color: #baf38e; }
.future-intro > p:not(.eyebrow) { font-size: 1.1rem; line-height: 1.55; color: #c3dce3; }
.future-steps { position: relative; list-style: none; padding: 0; margin: 3rem 0 0; border-top: 1px solid #8ec5bb55; }
.future-steps li { display: grid; grid-template-columns: 65px 1fr auto; align-items: center; gap: 1.3rem; padding: 1.25rem .2rem; border-bottom: 1px solid #8ec5bb55; transition: padding-left 200ms ease, background 200ms ease; }
.future-steps li:hover { padding-left: 1rem; background: #9fdac711; }
.future-number { font-size: 1.8rem; font-weight: 700; color: #a9e890; }
.future-steps strong { font-size: 1.23rem; }
.future-steps p { color: #b8d1d7; margin: .4rem 0 0; line-height: 1.45; }
.future-disclaimer { position: relative; margin: 2rem 0 0; color: #c8dbe1; font-size: .83rem; }
.landing .closing-copy { border-radius: 25px; padding-block: 4rem; }
@supports (animation-timeline: view()) {
  .capability-card, .future-steps li { animation: storyEnter linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
}
@keyframes storyEnter { from { opacity: .72; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
html[data-motion='paused'] .capability-card,
html[data-motion='paused'] .future-steps li { animation: none; transition: none; }
@media (max-width: 800px) {
  .narrative-heading { grid-template-columns: 1fr; }
  .brand-context-card { transform: none; }
  .capability-grid { grid-template-columns: 1fr; margin-top: 2rem; }
  .capability-card p { min-height: 0; }
  .future-steps li { grid-template-columns: 42px 1fr; }
  .future-steps .state-chip { grid-column: 2; }
}
@media (max-width: 700px) { .landing .narrative, .landing .future-flow { margin-inline: .7rem; border-radius: 18px; } }
@media (prefers-reduced-motion: reduce) {
  .capability-card, .future-steps li { animation: none !important; transition: none !important; }
}
/* Navigable editorial product surfaces. Static and explicitly disconnected. */
.product-surfaces { max-width: 1320px; margin: 4rem auto; padding: clamp(1rem, 3vw, 2.5rem); color: #17323f; background: linear-gradient(155deg, #e6f1ed, #bad5d7 55%, #e3eadd); border-radius: 28px; }
.surface-intro { max-width: 890px; margin-bottom: 2rem; }
.surface-intro h2 { margin: .5rem 0; font-size: clamp(2.2rem, 4vw, 4.2rem); line-height: 1.05; letter-spacing: -.045em; }
.surface-intro p { line-height: 1.6; }
.surface-nav { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.5rem; }
.surface-nav a { border: 1px solid #285768; color: #163c47; padding: .55rem .8rem; border-radius: 99px; font-weight: 700; text-decoration: none; }
.surface-nav a:hover, .surface-nav a:focus-visible { background: #173e4b; color: white; }
.surface-screen { scroll-margin-top: 1rem; margin: 1.1rem 0; padding: clamp(1rem, 2.8vw, 2.3rem); background: #f9fcf9; border: 1px solid #9ab5ac; border-radius: 20px; box-shadow: 0 20px 34px #18424b22; }
.surface-screen:target { outline: 3px solid #578e7d; outline-offset: 3px; }
.surface-screen header { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1.2rem; border-bottom: 1px solid #b4cbc8; padding-bottom: .8rem; }
.surface-screen header > span { font-size: .75rem; font-weight: 800; letter-spacing: .1em; color: #557575; }
.surface-screen h3 { margin: 0 auto 0 0; font-size: clamp(1.5rem, 3vw, 2.5rem); }
.surface-screen h4 { margin: .4rem 0; font-size: 1.3rem; }
.surface-screen p { line-height: 1.55; }
.surface-badge { padding: .4rem .7rem; border-radius: 99px; color: #fff; background: #365b69; font-size: .7rem; letter-spacing: .05em; }
.surface-grid, .surface-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.2rem; }
.surface-grid:has(> :nth-child(3)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.surface-tile { min-width: 0; border: 1px solid #abc8c1; padding: 1.25rem; border-radius: 14px; background: #eaf4f1; }
.surface-tile.featured { background: radial-gradient(circle at 90% 0%, #b4d6d2, transparent 60%), #d8ece3; }
.surface-tile small { display: block; color: #426165; font-size: .67rem; letter-spacing: .07em; font-weight: 800; }
.surface-status { border-left: 4px solid #397a78; padding: .5rem .9rem; background: #dae9e3; font-weight: 650; }
.surface-status em { display: block; font-size: .75rem; font-weight: 400; }
.surface-screen blockquote { margin: 1rem 0; padding: 1rem; border-radius: 12px; background: #e3f0e7; font-size: 1.3rem; }
.channel-grid { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.channel-grid span { padding: .55rem .75rem; border-radius: 8px; background: #d8e8e3; font-weight: 700; }
.channel-grid small { display: block; font-size: .68rem; font-weight: 400; }
.phone-preview { width: min(100%, 240px); min-height: 190px; margin: 1rem auto; padding: 1rem; border: 7px solid #1c3f4c; border-radius: 22px; background: linear-gradient(160deg, #cfddc4, #efebd4); }
.phone-preview p { margin: 2rem 0 1rem; font-size: 1.25rem; font-weight: 750; }
.calendar-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .35rem; margin: 1rem 0; }
.calendar-grid span { min-width: 0; min-height: 65px; padding: .5rem .3rem; border: 1px solid #a9c4bd; border-radius: 8px; background: white; font-size: .7rem; overflow-wrap: anywhere; }
.calendar-grid span:nth-child(-n+5) { min-height: 0; font-weight: 800; }
.demo-bars { display: flex; align-items: flex-end; gap: .8rem; min-height: 125px; border-bottom: 1px solid #608c88; }
.demo-bars i { width: 16%; height: 45px; border-radius: 6px 6px 0 0; background: #3d857b; }
.demo-bars i:nth-child(2) { height: 85px; } .demo-bars i:nth-child(3) { height: 60px; } .demo-bars i:nth-child(4) { height: 110px; } .demo-bars i:nth-child(5) { height: 75px; }
.surface-footnote { margin: 2rem 0 0; line-height: 1.6; }
@media (max-width: 800px) { .surface-grid, .surface-columns, .surface-grid:has(> :nth-child(3)) { grid-template-columns: 1fr; } .product-surfaces { margin-inline: .7rem; } }
.channel-grid button { padding: .55rem .75rem; border: 1px solid #7aa7a0; border-radius: 8px; background: #d8e8e3; color: #173b42; font: inherit; font-weight: 700; text-align: left; cursor: pointer; }
.channel-grid button[aria-pressed="true"] { color: #fff; background: #235e64; border-color: #164950; }
.channel-grid button:focus-visible { outline: 3px solid #b2da54; outline-offset: 2px; }
.channel-grid button small { display: block; font-size: .68rem; font-weight: 400; }
.surface-screen input:disabled { max-width: 100%; opacity: .85; cursor: not-allowed; }
/* Firefly film: full-bleed desktop scene, intentional mobile framing and poster fallback. */
:root {
  --za-bg-deep: #071624; --za-bg: #0b1e2d; --za-surface-dark: #102b3d;
  --za-surface-light: #f1f6f2; --za-ink: #112735;
  --za-lime: #b7ff63; --za-cyan: #69e4e1; --za-amber: #f3c969;
}
.entry-experience { background: var(--za-bg-deep); }
.office-scene { background: var(--za-bg-deep) url('/media/office-firefly-poster.webp') center / cover no-repeat; }
.office-video { object-position: 54% center; filter: saturate(1.04) contrast(1.03); }
.office-scene::after {
  background: linear-gradient(90deg, #071624f2 0%, #071624d9 29%, #07162488 56%, #07162424 100%),
              linear-gradient(0deg, #071624d9, transparent 37%);
}
html[data-media-fallback='true'] .office-video { visibility: hidden; }
.entry-experience > .locale-choice { position: absolute; top: 1.35rem; right: clamp(1.25rem, 5vw, 6rem); z-index: 5; margin: 0; padding: .38rem .6rem; border: 1px solid #69e4e177; border-radius: 12px; background: #071624d9; }
.entry-experience > .locale-choice small { display: none; }
.entry-copy { padding-top: 1rem; }
.entry-copy .eyebrow { background: #071624c9; }
.entry-copy h1 { max-width: 840px; font-size: clamp(3.6rem, 5.6vw, 6.6rem); }
.entry-copy h1 > .hero-accent { background: none; color: var(--za-lime); }
.entry-lead { max-width: 560px; font-size: clamp(1.08rem, 1.6vw, 1.25rem); }
.entry-for { max-width: 560px; }
.entry-experience .primary-link { background: var(--za-lime); border-color: var(--za-lime); box-shadow: 0 10px 30px #07162499; }
.signal-stage { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem .15rem; background: #071624d4; border-color: #69e4e177; backdrop-filter: blur(10px); }
.signal-stage .signal-node { background: transparent; border: 0; border-top: 1px solid #a8dee188; border-radius: 0; padding: .85rem .3rem .45rem; min-height: 83px; }
.signal-stage .signal-node::before { top: -.24rem; left: 0; right: auto; width: .48rem; height: .48rem; background: var(--za-cyan); }
.signal-node > span { display: block; }
.hero-media-controls { position: absolute; z-index: 3; right: clamp(1.25rem, 5vw, 6rem); bottom: .6rem; display: flex; gap: .5rem; }
.entry-experience .hero-media-controls .motion-control { position: static; min-height: 40px; white-space: nowrap; font-size: .75rem; }
.entry-experience .ambience-control { background: #071624e8; }
.entry-experience .ambience-control[aria-pressed='true'] { border-color: var(--za-lime); color: var(--za-lime); }
.entry-experience .ambience-control:focus-visible { outline: 3px solid var(--za-lime); outline-offset: 3px; }
@media (max-width: 700px) {
  .entry-experience { min-height: 800px; padding: 6.9rem 1.2rem 5rem; gap: 4rem; align-content: start; }
  .office-scene { background-image: url('/media/office-firefly-mobile-poster.webp'); background-position: center 42%; }
  .office-video { object-position: center 42%; transform: none; }
  .office-scene::after { background: linear-gradient(180deg, #071624f6 0%, #071624dd 37%, #07162422 60%, #071624a8 83%, #071624f5 100%); }
  .entry-copy { padding-top: 1rem; align-self: start; }
  .entry-copy h1 { font-size: clamp(2.65rem, 10vw, 4rem); }
  .entry-lead { max-width: 26ch; line-height: 1.42; }
  .entry-for { display: none; }
  .entry-note { font-size: .72rem; }
  .entry-experience > .locale-choice { top: 1rem; right: 1rem; padding: .2rem; }
  .entry-experience > .locale-choice span { display: none; }
  .entry-experience > .locale-choice select { min-height: 44px; min-width: 70px; }
  .signal-stage { margin-top: 4rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .signal-stage .signal-node { min-height: 80px; padding: .65rem .2rem; }
  .signal-node strong { font-size: .92rem; }
  .signal-node > span { font-size: .66rem; }
  .hero-media-controls { right: 1rem; bottom: .5rem; }
  .entry-experience .hero-media-controls .motion-control { font-size: .68rem; min-height: 44px; }
}
@media (max-width: 350px) {
  .entry-experience { padding-inline: .9rem; }
  .entry-copy h1 { font-size: 2.55rem; }
  .entry-experience .hero-media-controls .motion-control { font-size: .61rem; }
}
@media (prefers-reduced-motion: reduce) {
  .office-video { display: none; }
  .entry-experience .ambience-control { display: none; }
}
/* Product gallery: each route carries its own visual grammar rather than repeated cards. */
.product-surfaces { background: linear-gradient(180deg, #e8f1ec, #f4f8f4); }
.surface-screen { overflow: hidden; }
#surface-home { background: #102b3d; color: #f7faf8; border-color: #366376; }
#surface-home header { border-color: #588297; }
#surface-home header > span { color: #a8d6d9; }
#surface-home .surface-grid { grid-template-columns: 1.35fr .8fr; grid-template-rows: repeat(2, auto); }
#surface-home .surface-tile { background: #16394a; color: #f7faf8; border-color: #467482; }
#surface-home .surface-tile.featured { grid-row: span 2; display: flex; flex-direction: column; justify-content: center; background: radial-gradient(circle at 90% 20%, #27615a, transparent 60%), #16394a; }
#surface-home .surface-tile small { color: #b7ff63; }
#surface-home .surface-status { background: #071624; color: #d8f4ed; }
#surface-publish { background: #f1f6f2; }
#surface-publish .surface-columns { grid-template-columns: minmax(0, 1fr); }
#surface-publish .channel-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
#surface-publish .channel-grid button { min-height: 70px; border-radius: 12px; border: 1px solid #8eaead; background: white; color: #112735; font-weight: 750; cursor: pointer; }
#surface-publish .channel-grid button[aria-pressed='true'] { background: #102b3d; color: #b7ff63; border-color: #69e4e1; }
#surface-publish .channel-grid button:focus-visible { outline: 3px solid #317b86; outline-offset: 3px; }
#surface-publish .surface-tile { display: grid; grid-template-columns: minmax(230px, 1fr) minmax(0, 1fr); align-items: center; gap: 1rem; }
#surface-publish .surface-tile > small { grid-column: 1 / -1; }
.phone-preview { overflow: hidden; width: min(100%, 320px); aspect-ratio: 4 / 5; min-height: 0; border-color: #112735; background: #e5f1ec; transition: aspect-ratio 250ms ease, border-radius 250ms ease; }
.phone-preview .preview-art { display: grid; place-items: center; height: 45%; margin: .8rem -.35rem 0; background: linear-gradient(135deg, #102b3d, #24747a); color: #b7ff63; font-size: 2rem; font-weight: 800; }
.phone-preview[data-preview-shell='Instagram'] { border-radius: 15px; }
.phone-preview[data-preview-shell='Instagram'] .preview-art { background: linear-gradient(130deg, #efc36e, #32687a); }
.phone-preview[data-preview-shell='TikTok'] { aspect-ratio: 9 / 16; max-height: 420px; border-color: #080f1b; background: #0b1e2d; color: white; }
.phone-preview[data-preview-shell='TikTok'] .preview-art { height: 60%; background: linear-gradient(150deg, #225b64, #081820); }
.phone-preview[data-preview-shell='YouTube'] { aspect-ratio: 16 / 11; width: min(100%, 400px); border-radius: 12px; }
.phone-preview[data-preview-shell='YouTube'] .preview-art { height: 55%; }
.phone-preview[data-preview-shell='LinkedIn'] { aspect-ratio: 4 / 3; border-radius: 8px; background: #f6faf8; }
#surface-calendar { background: #e5f1ec; }
#surface-calendar .surface-grid { grid-template-columns: minmax(0, 1.65fr) minmax(220px, .65fr); }
#surface-calendar .calendar-board { background: white; box-shadow: 0 14px 35px #15384a18; }
#surface-calendar .calendar-grid span { min-height: 70px; border-left: 1px solid #b7cfca; border-top: 1px solid #b7cfca; }
#surface-ads { background: #0b1e2d; color: #f7faf8; border-color: #296578; }
#surface-ads header { border-color: #3e6677; }
#surface-ads header > span { color: #69e4e1; }
#surface-ads .surface-tile { background: #15384a; color: #f7faf8; border-color: #41747d; }
#surface-ads .surface-tile small { color: #b7ff63; }
#surface-ads .surface-tile.featured { background: #15384a; }
.ads-tree { list-style: none; padding: 0; margin: 1.4rem 0; }
.ads-tree li { border-left: 2px solid #69e4e1; padding: .8rem 1rem; margin-left: .5rem; background: #0b1e2d; }
.ads-tree li:nth-child(2) { margin-left: 2.2rem; }
.ads-tree li:nth-child(3) { margin-left: 3.9rem; }
.ads-tree span { display: inline-block; color: #b7ff63; margin-right: .7rem; font-size: .75rem; }
#surface-analytics { background: #f7faf8; }
#surface-analytics .surface-grid { grid-template-columns: minmax(0, 1.55fr) minmax(200px, .7fr); }
#surface-analytics .analytics-board { background: #e5f1ec; }
.analytics-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .45rem; margin-top: 1.2rem; }
.analytics-kpis span { display: grid; padding: .75rem; background: white; border-radius: 10px; font-size: .75rem; }
.analytics-kpis strong { font-size: 1.65rem; color: #15384a; }
#surface-optimize { background: linear-gradient(145deg, #e7f2eb, #edf5f4); }
#surface-optimize .surface-grid { grid-template-columns: 1.4fr .8fr; }
.creative-compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: .6rem; align-items: stretch; margin: 1.3rem 0; }
.creative-compare > div { display: grid; align-content: space-between; min-height: 135px; padding: 1rem; background: #f9fcf9; border: 1px solid #8eb5aa; border-radius: 13px; }
.creative-compare > b { align-self: center; color: #3d666b; }
.creative-compare strong { font-size: 1.1rem; color: #112735; }
@media (max-width: 850px) {
  #surface-publish .channel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #surface-calendar .surface-grid, #surface-analytics .surface-grid, #surface-optimize .surface-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  #surface-home .surface-grid, #surface-publish .surface-tile { grid-template-columns: 1fr; }
  #surface-home .surface-tile.featured { grid-row: auto; }
  #surface-publish .channel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .creative-compare { gap: .3rem; }
  .creative-compare > div { padding: .6rem; }
  .ads-tree li:nth-child(2) { margin-left: 1.2rem; }
  .ads-tree li:nth-child(3) { margin-left: 2rem; }
  .analytics-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .phone-preview { transition: none; } }
.review-filters { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.25rem 0; }
.review-filters button { min-height: 44px; padding: .65rem .85rem; border: 1px solid #709c9b; border-radius: 12px; background: #102b3d; color: #f7faf8; cursor: pointer; }
.review-filters button[aria-pressed='true'] { color: #112735; background: #b7ff63; border-color: #b7ff63; }
.review-filters button:focus-visible { outline: 3px solid #69e4e1; outline-offset: 2px; }
.review-filters span { margin-left: .4rem; font-variant-numeric: tabular-nums; }
.review-queue { display: grid; gap: 1rem; }
.review-item { min-width: 0; }
.review-item pre, .diff-content { white-space: pre-wrap; overflow-wrap: anywhere; }
.review-item header { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
.review-item header h2 { margin: 0; }
.revision-diff { margin: 1rem 0; padding: .9rem; border: 1px solid #608589; border-radius: 12px; }
.revision-diff summary { cursor: pointer; font-weight: 700; }
.diff-content { margin-top: .8rem; padding: 1rem; background: #071624; color: #f7faf8; border-radius: 10px; line-height: 1.8; }
.diff-content ins, .revision-diff ins { background: #37683c; color: #fff; text-decoration: none; }
.diff-content del, .revision-diff del { background: #874349; color: #fff; }
.campaign-toolbar { display: flex; align-items: end; flex-wrap: wrap; gap: .8rem; margin: 1rem 0 1.4rem; }
.campaign-toolbar label { display: grid; gap: .3rem; min-width: min(100%, 230px); }
.campaign-toolbar input, .campaign-toolbar select { min-height: 44px; }
.campaign-card[hidden] { display: none !important; }
.campaign-card .badge { display: inline-block; margin-bottom: .6rem; }
.campaign-card button { margin: .25rem .3rem .25rem 0; }
/* The FAQ is editorial content, followed by one contact action. */
.public-help { padding: clamp(4rem, 7vw, 7rem) clamp(1.2rem, 5vw, 5rem); background: #f3f8f5; color: #102b3a; }
.help-heading { max-width: 56rem; margin: 0 auto 2.4rem; }
.help-heading .eyebrow { color: #315c5c; }
.help-heading h2, .contact-band h2 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.1; margin: .5rem 0 1rem; }
.help-heading p { color: #466169; }
.faq-list { max-width: 68rem; margin: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; }
.faq-list details { border-top: 1px solid #aac7bc; min-width: 0; }
.faq-list details:last-child, .faq-list details:nth-last-child(2) { border-bottom: 1px solid #aac7bc; }
.faq-list summary { cursor: pointer; min-height: 60px; padding: 1.1rem 2rem 1.1rem 0; font-weight: 750; position: relative; }
.faq-list summary::after { content: '+'; position: absolute; right: .4rem; color: #23777c; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { color: #435e65; max-width: 60ch; padding: 0 1rem 1.2rem 0; margin: 0; }
.faq-list summary:focus-visible { outline: 3px solid #227b80; outline-offset: 2px; }
.contact-band { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: clamp(3.5rem, 6vw, 6rem) clamp(1.2rem, 5vw, 5rem); background: radial-gradient(circle at 95% 20%, #1c5450 0, transparent 42%), #071827; color: #f5f8f7; }
.contact-band > div { max-width: 44rem; }
.contact-band p:not(.eyebrow) { color: #d4e4e3; }
.contact-band small { display: block; color: #b6c6cc; margin-top: 1rem; line-height: 1.5; }
.contact-band .primary-link { flex: none; }
@media (max-width: 780px) { .faq-list { grid-template-columns: 1fr; } .faq-list details:nth-last-child(2) { border-bottom: 0; } .contact-band { align-items: flex-start; flex-direction: column; } .contact-band .primary-link { max-width: 100%; white-space: normal; } }
