/* Symphonix company site. Plain CSS, no build step.
   Direction A, "concert hall": light, quiet paper; deep ink; one teal accent.
   The memorable element is the score (five staff lines with agents as notes). Everything else stays quiet. */

:root {
  --paper: #F4F6F5;
  --surface: #FFFFFF;
  --ink: #13223A;
  --ink-2: #364457;
  --ink-3: #5A6777;
  --line: #D9E0DE;
  --staff: #BFCCC8;
  --teal: #0E6E66;
  --teal-deep: #0A5650;
  --teal-wash: #E3EEEB;
  --night: #13223A;
  --night-2: #1B2D48;
  --night-text: #D5DEE2;
  --night-muted: #9DB0BB;
  --teal-night: #6CC5B8;
  --error: #B42318;
  --success: #0E6E66;

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 6px;
  --container: 76rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

html, body { overflow-x: clip; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.no-scroll { overflow: hidden; }

h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
img { display: block; max-width: 100%; }
strong { color: var(--ink); font-weight: 600; }

::selection { background: var(--teal-wash); color: var(--ink); }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 2px; }

.icon {
  display: inline-block;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Layout ---------- */

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 768px) { .container { padding: 0 2rem; } }

.section { padding: 5rem 0; }
.section--surface { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--border { border-top: 1px solid var(--line); }
/* kept for inner pages */
.section--tint { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { max-width: 40rem; margin-bottom: 3rem; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--tight { margin-bottom: 2.5rem; }

.eyebrow { margin-bottom: 0.75rem; font-size: 0.9375rem; font-weight: 500; color: var(--teal); }
.eyebrow--sky { color: var(--teal); }

.h1, .h2, .hero__title, .p-hero__title {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.012em;
  font-optical-sizing: auto;
}

.h2 { font-size: clamp(2rem, 3.4vw, 2.75rem); line-height: 1.1; }

.lead { margin-top: 1rem; font-size: 1.1875rem; line-height: 1.55; color: var(--ink-3); max-width: 38rem; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: 1.5rem; }
.grid--wide { gap: 2rem; }

@media (min-width: 768px) {
  .section { padding: 7.5rem 0; }
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.25rem;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn--primary { background: var(--teal); color: #fff; }
.btn--primary:hover { background: var(--teal-deep); }
.btn--primary:disabled { opacity: 0.7; cursor: default; }

.btn--secondary { border: 1px solid var(--ink); color: var(--ink); background: transparent; }
.btn--secondary:hover { background: var(--ink); color: var(--paper); }

.btn--ghost { padding: 0.5rem 0.9rem; color: var(--ink-2); }
.btn--ghost:hover { color: var(--teal); }

.btn--block { width: 100%; }

/* ---------- Header ---------- */

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
.header.is-solid {
  background: rgba(244, 246, 245, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}

.header__bar { display: flex; align-items: center; justify-content: space-between; height: 4.25rem; }

.brand { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--ink); }
.brand__mark { width: 2.1rem; height: 2.1rem; }
.brand__word { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.01em; line-height: 1; }

.header__logo { display: flex; align-items: center; gap: 1rem; }
.header__tagline {
  display: none;
  padding-left: 1rem;
  border-left: 1px solid var(--line);
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-3);
}
@media (min-width: 1180px) { .header__tagline { display: block; } }

.header__nav, .header__actions { display: none; align-items: center; }
.header__nav { gap: 0.25rem; }
.header__actions { gap: 0.5rem; }

.header__menu-btn { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: var(--ink); }

.mobile-menu { display: none; border-top: 1px solid var(--line); background: var(--paper); }
.mobile-menu.is-open { display: block; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 0.25rem; padding-top: 1rem; padding-bottom: 1.25rem; }
.mobile-menu .btn--ghost { justify-content: flex-start; text-align: left; font-size: 1.0625rem; }
.mobile-menu .lang { padding: 0.5rem 0; }
.mobile-menu .btn--primary { margin-top: 0.5rem; }

@media (min-width: 768px) {
  .header__bar { height: 5rem; }
  .header__nav, .header__actions { display: flex; }
  .header__menu-btn, .mobile-menu, .mobile-menu.is-open { display: none; }
}

/* ---------- Language switcher ---------- */

.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 0.375rem;
  min-height: 44px; padding: 0.5rem 0.75rem; border-radius: var(--radius);
  font-size: 0.875rem; font-weight: 500; color: var(--ink-2);
}
.lang__btn:hover { color: var(--teal); }
.lang__code { font-weight: 600; }
.lang__chev { transition: transform 0.2s ease; }
.lang.is-open .lang__chev { transform: rotate(180deg); }
.lang__list {
  display: none; position: absolute; right: 0; top: 100%; z-index: 50;
  width: 11rem; margin-top: 0.5rem; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 32px -12px rgba(19, 34, 58, 0.25);
}
.lang.is-open .lang__list { display: block; }
.mobile-menu .lang__list { left: 0; right: auto; }
.lang__option {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; min-height: 44px; padding: 0.625rem 1rem;
  font-size: 0.9375rem; text-align: left; color: var(--ink-2);
}
.lang__option:hover { background: var(--paper); }
.lang__option[aria-selected="true"] { color: var(--ink); font-weight: 600; }
.lang__option .icon { color: var(--teal); }

/* ---------- Hero: the score ---------- */

.hero { position: relative; padding-top: 8.5rem; overflow: hidden; }
.hero__content { position: relative; }
.hero__title { max-width: 17ch; font-size: clamp(2.5rem, 5.6vw, 4.75rem); line-height: 1.03; }
.hero__sub { max-width: 34rem; margin-top: 1.5rem; font-size: 1.1875rem; line-height: 1.55; color: var(--ink-3); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }

.score { position: relative; margin-top: 2.5rem; height: 11rem; }
.score svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
.score__staff line { stroke: var(--staff); stroke-width: 1; }
.score__bar { stroke: var(--ink); stroke-width: 1.5; }
.score__note { fill: var(--teal); }
.score__note--rest { fill: var(--paper); stroke: var(--ink-3); stroke-width: 1.5; }
.score__note--alert { fill: var(--paper); stroke: var(--teal); stroke-width: 2; }
.score__caption {
  position: absolute; right: 0; bottom: -2.25rem;
  font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--ink-3);
}
.score__key { display: inline-flex; align-items: center; gap: 0.4rem; margin-left: 1.1rem; }
.score__key::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--teal); }
.score__key--rest::before { background: var(--paper); border: 1.5px solid var(--ink-3); }

/* The one orchestrated moment: notes settle onto the staff, then the bar line is drawn. */
/* Notes are visible by default; the entrance only runs once JS adds .score--play, so any context that cannot animate shows the final score. */
.score--play .score__note { animation: settle 0.7s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i, 0) * 45ms + 0.25s); transform-box: fill-box; transform-origin: center; }
.score__bar { stroke-dasharray: 220; }
.score--play .score__bar { animation: draw 0.9s ease-out 1.4s both; }
@keyframes settle { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes draw { from { stroke-dashoffset: 220; } to { stroke-dashoffset: 0; } }

@media (min-width: 768px) {
  .hero { padding-top: 9.5rem; }
  .score { height: 14rem; margin-top: 3rem; }
}

/* ---------- Problem: heading beside a column of rows ---------- */

.split { display: grid; gap: 2.5rem; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 5rem; align-items: start; }
  .split__head { position: sticky; top: 7rem; }
}

.rows > li { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; padding: 1.75rem 0; border-top: 1px solid var(--line); }
.rows > li:last-child { border-bottom: 1px solid var(--line); }
.rows .icon { color: var(--teal); margin-top: 0.2rem; }
.rows__title { font-size: 1.125rem; font-weight: 600; color: var(--ink); margin-bottom: 0.35rem; }
.rows__body { color: var(--ink-3); }

/* ---------- Products ---------- */

.products { display: grid; gap: 1.5rem; }
@media (min-width: 960px) { .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; } }

.product { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); overflow: hidden; }
.product__text { padding: 2rem 2rem 1.5rem; flex-grow: 1; }
.product__name { font-family: var(--serif); font-weight: 500; font-size: 1.85rem; line-height: 1.15; color: var(--ink); }
.product__tagline { margin-top: 0.35rem; font-size: 1rem; color: var(--teal); font-weight: 500; }
.product__desc { margin-top: 1rem; color: var(--ink-3); }
.product__terms { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.product__terms li { padding: 0.3rem 0.7rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.875rem; color: var(--ink-2); background: var(--surface); }
.product__more { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 1.5rem; font-weight: 500; color: var(--teal); }
.product__more:hover { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; }
.product__visual { border-top: 1px solid var(--line); background: var(--surface); padding: 1.25rem 1.25rem 0; }
.product__visual svg { display: block; width: 100%; height: auto; }

/* UI illustrations (placeholders until real screenshots exist) */
.ui-frame { fill: var(--paper); stroke: var(--line); }
.ui-bar { fill: var(--surface); stroke: var(--line); }
.ui-dot { fill: var(--staff); }
.ui-text { fill: var(--ink); font-family: var(--sans); font-size: 11px; font-weight: 500; }
.ui-text--muted { fill: var(--ink-3); font-weight: 400; }
.ui-node { fill: var(--surface); stroke: var(--ink); stroke-width: 1.2; }
.ui-node--accent { stroke: var(--teal); stroke-width: 1.6; }
.ui-wire { fill: none; stroke: var(--ink-3); stroke-width: 1.2; }
.ui-ok { fill: var(--teal); }
.ui-warn { fill: #C98A12; }
.ui-off { fill: var(--staff); }
.ui-btn { fill: var(--ink); }
.ui-btn-text { fill: var(--paper); font-family: var(--sans); font-size: 11px; font-weight: 600; }
.ui-row { fill: var(--surface); stroke: var(--line); }

/* ---------- How it works: three movements ---------- */

.movements { display: grid; gap: 2.5rem; counter-reset: mvt; }
@media (min-width: 900px) {
  .movements { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; position: relative; padding-top: 2.5rem; }
  .movements::before { content: ""; position: absolute; left: 0; right: 0; top: 0.75rem; border-top: 1px solid var(--staff); }
}
.step { position: relative; }
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; margin-bottom: 1.25rem;
  border-radius: 50%; background: var(--teal); color: #fff;
  font-family: var(--serif); font-size: 1.15rem; font-weight: 500;
}
@media (min-width: 900px) { .step__num { position: absolute; top: -2.75rem; margin: 0; } .step { padding-top: 0.5rem; } }
.step__caption { font-size: 0.9375rem; font-weight: 500; color: var(--teal); }
.step__title { margin-top: 0.25rem; font-family: var(--serif); font-weight: 500; font-size: 2rem; line-height: 1.15; color: var(--ink); }
.step__body { margin-top: 0.75rem; color: var(--ink-3); }
.step__list { margin-top: 1.25rem; border-top: 1px solid var(--line); }
.step__list li { padding: 0.55rem 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; color: var(--ink-2); }

/* ---------- Runs inside your organization (night band) ---------- */

.night { background: var(--night); color: var(--night-text); }
.night .h2 { color: #fff; }
.night .lead { color: var(--night-muted); }
.env { display: grid; gap: 3rem; }
@media (min-width: 900px) { .env { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 5rem; } }
.env__list { display: grid; gap: 0; }
@media (min-width: 640px) { .env__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; } }
.env__item { padding: 1.5rem 0; border-top: 1px solid rgba(213, 222, 226, 0.18); }
.env__item .icon { color: var(--teal-night); margin-bottom: 0.75rem; }
.env__title { font-size: 1.0625rem; font-weight: 600; color: #fff; }
.env__body { margin-top: 0.35rem; color: var(--night-muted); font-size: 1rem; }
.night :focus-visible { outline-color: var(--teal-night); }

/* ---------- Build: a quiet 2x2 ---------- */

.quad { display: grid; border-top: 1px solid var(--line); }
@media (min-width: 768px) { .quad { grid-template-columns: repeat(2, minmax(0, 1fr)); } .quad > :nth-child(odd) { border-right: 1px solid var(--line); padding-right: 2.5rem; } .quad > :nth-child(even) { padding-left: 2.5rem; } }
.quad__item { display: flex; gap: 1rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.quad__item .icon { color: var(--teal); margin-top: 0.2rem; }
.card__title { font-size: 1.125rem; font-weight: 600; color: var(--ink); margin-bottom: 0.35rem; }
.card__body { color: var(--ink-3); }

/* ---------- Control: the quote carries the section ---------- */

.control { display: grid; gap: 3rem; }
@media (min-width: 900px) { .control { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 5rem; align-items: start; } }
.control__quote {
  font-family: var(--serif); font-weight: 400; font-style: italic;
  font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.15; color: var(--ink);
  padding-left: 1.25rem; border-left: 3px solid var(--teal);
  margin-top: 2rem;
}
.control__list > li { display: flex; gap: 1rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.control__list > li:last-child { border-bottom: 1px solid var(--line); }
.control__list .icon { color: var(--teal); margin-top: 0.2rem; }

/* ---------- Who it's for ---------- */

.audience { display: grid; gap: 0; border-top: 1px solid var(--ink); }
@media (min-width: 768px) { .audience { grid-template-columns: repeat(2, minmax(0, 1fr)); } .audience > :first-child { border-right: 1px solid var(--line); padding-right: 2.5rem; } .audience > :last-child { padding-left: 2.5rem; } }
.audience__item { padding: 2rem 0; }
.audience__item .icon { color: var(--teal); margin-bottom: 1rem; }
.audience__title { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; line-height: 1.2; color: var(--ink); margin-bottom: 0.6rem; }

/* ---------- Scroll reveal (kept subtle; most sections no longer use it) ---------- */

.reveal { opacity: 0; transition: opacity 0.6s ease-out; }
.reveal.is-visible { opacity: 1; }
.no-js .reveal { opacity: 1; }

/* ---------- Contact ---------- */

.contact { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .contact { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 5rem; } }
.contact .form, .contact .form-result { max-width: none; margin: 0; }

.form { max-width: 36rem; margin: 0 auto; }
.form__row { display: grid; gap: 1.25rem; }
.form > * + * { margin-top: 1.25rem; }
@media (min-width: 768px) { .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.form__label { display: block; margin-bottom: 0.4rem; font-size: 0.9375rem; font-weight: 500; color: var(--ink); }
.form__input {
  display: block; width: 100%; min-height: 48px; padding: 0.75rem 0.9rem;
  border: 1px solid #B9C4C1; border-radius: var(--radius);
  background: var(--surface); font: inherit; font-size: 1rem; color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  scroll-margin-top: 7rem;
}
.form__input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-wash); }
textarea.form__input { resize: vertical; }
.form__hp { display: none; }
.form__input[aria-invalid="true"] { border-color: var(--error); }
.form__input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px #FBE4E2; }
.form__error { margin-top: 0.375rem; font-size: 0.875rem; color: var(--error); }
.form__error[hidden] { display: none; }

.card { padding: 2rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.form-result { max-width: 36rem; margin: 0 auto; text-align: center; }
.form-result[hidden], .form[hidden] { display: none; }
.form-result__icon { display: flex; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem; margin: 0 auto 1.25rem; border-radius: 50%; }
.form-result--ok .form-result__icon { background: var(--teal-wash); color: var(--teal); }
.form-result--err .form-result__icon { background: #FBE4E2; color: var(--error); }
.form-result__title { margin-bottom: 0.5rem; font-family: var(--serif); font-weight: 500; font-size: 1.5rem; color: var(--ink); }
.form-result__body { margin-bottom: 1.5rem; color: var(--ink-3); }

.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Footer ---------- */

.footer { padding: 4rem 0 2rem; background: var(--surface); border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 2rem; }
.footer__brand { grid-column: 1 / -1; max-width: 22rem; }
.footer__logo { display: inline-flex; }
.footer__tagline { margin-top: 0.75rem; font-family: var(--serif); font-style: italic; color: var(--ink-3); }
.footer__desc { margin-top: 0.75rem; font-size: 0.9375rem; color: var(--ink-3); }
.footer__cta { margin-top: 1.5rem; }
.footer__heading { margin-bottom: 0.75rem; font-size: 0.9375rem; font-weight: 600; color: var(--ink); }
.footer__col li + li { margin-top: 0.15rem; }
.footer__link { display: inline-flex; align-items: center; min-height: 36px; font-size: 0.9375rem; color: var(--ink-3); }
.footer__link:hover { color: var(--teal); }
.footer__bottom {
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  font-size: 0.875rem; color: var(--ink-3); text-align: center;
}
.footer__bottom-right { display: flex; align-items: center; gap: 1rem; }
.footer__bottom .footer__link { font-size: 0.875rem; }
.lang--up .lang__list { top: auto; bottom: 100%; margin-top: 0; margin-bottom: 0.5rem; }
@media (min-width: 768px) {
  .footer { padding-top: 5rem; }
  .footer__grid { grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); gap: 3rem; }
  .footer__brand { grid-column: auto; }
  .footer__bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ---------- Inner pages (about, platform, privacy, 404): light theme, same tokens ---------- */

.p-hero { position: relative; overflow: hidden; padding: 9rem 0 5rem; border-bottom: 1px solid var(--line); }
.p-hero__glow { display: none; }
.p-hero .container { position: relative; }
.p-hero__back { margin-left: -0.9rem; margin-bottom: 2.5rem; }
.p-hero__inner { max-width: 52rem; }
.kicker { margin-bottom: 1rem; font-size: 0.9375rem; font-weight: 500; color: var(--teal); }
.kicker--sky { color: var(--teal); margin-bottom: 0.75rem; }
.p-hero__title { font-size: clamp(2.4rem, 5vw, 3.75rem); line-height: 1.08; }
.p-hero__body { max-width: 46rem; margin-top: 1.5rem; font-size: 1.1875rem; line-height: 1.6; color: var(--ink-3); }
.p-hero .btn--primary { margin-top: 2.25rem; }
@media (min-width: 768px) { .p-hero { padding: 11rem 0 6rem; } }

.p-suites-head { max-width: 46rem; margin-bottom: 3rem; }
.p-suites { display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .p-suites { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; } }
.card--studio, .card--monitoring { border-top: 3px solid var(--teal); }
.suite__kicker { font-size: 0.9375rem; font-weight: 500; color: var(--teal); }
.card--monitoring .suite__kicker { color: var(--teal); }
.suite__title { margin-top: 0.75rem; font-family: var(--serif); font-weight: 500; font-size: 2rem; line-height: 1.15; color: var(--ink); }
.suite__tagline { margin-top: 0.5rem; font-size: 1.0625rem; color: var(--ink-3); }
.features { display: grid; gap: 0.9rem 2rem; margin-top: 1.75rem; }
.features li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.9875rem; color: var(--ink-2); }
.features__num {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 1.5rem; height: 1.5rem; border-radius: 50%;
  background: var(--teal-wash); font-size: 0.75rem; font-weight: 600; color: var(--teal);
}
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.card--center { text-align: center; }
.card--row { display: flex; gap: 1.25rem; }
.card__icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 2.75rem; height: 2.75rem; border-radius: 8px; background: var(--teal-wash); color: var(--teal); }

.p-hero--about { padding-bottom: 2rem; }
.about-hero { max-width: 46rem; margin: 0 auto; text-align: center; }
.about-hero__mark { display: block; width: 4rem; height: auto; margin: 0 auto 1.75rem; }
.about-hero .p-hero__title { margin-left: auto; margin-right: auto; }
.about-hero__subtitle { margin-top: 1rem; font-size: 1.1875rem; font-weight: 500; color: var(--teal); }
.section--story { padding-top: 3rem; }
.story { max-width: 42rem; margin: 0 auto; }
.story__p { font-size: 1.0625rem; line-height: 1.75; color: var(--ink-2); }
.story__p + .story__p { margin-top: 1.25rem; }
.story__p--lead { font-family: var(--serif); font-size: 1.4rem; line-height: 1.5; color: var(--ink); }
.story__quote {
  margin: 2.5rem 0; padding: 0.25rem 0 0.25rem 1.25rem; border-left: 3px solid var(--teal);
  font-family: var(--serif); font-style: italic; font-size: 1.6rem; line-height: 1.35; color: var(--ink);
}
.story__quote strong { font-weight: 600; }
.story__h2 { margin-bottom: 1.5rem; }
.story__p--closing { margin-top: 2rem !important; padding-top: 2rem; border-top: 1px solid var(--line); color: var(--ink); }
.about-cta__inner { max-width: 42rem; margin: 0 auto; text-align: center; }
.about-cta .lead { margin: 1rem auto 2rem; }
@media (min-width: 768px) { .p-hero--about { padding: 10rem 0 2rem; } }

.p-hero--legal { padding-bottom: 3rem; }
.legal__updated { margin-top: 1rem; font-size: 0.9375rem; color: var(--ink-3); }
.section--legal { padding-top: 3rem; }
.legal { max-width: 44rem; }
.legal__h2 { margin: 2.5rem 0 0.75rem; font-family: var(--serif); font-weight: 500; font-size: 1.5rem; line-height: 1.25; color: var(--ink); }
.legal__h2:first-child { margin-top: 0; }
.legal__p { line-height: 1.7; color: var(--ink-2); }
.legal__p + .legal__p { margin-top: 0.875rem; }
.legal__contact { margin-top: 2.5rem; }

.card[id], #studio, #monitoring, .quad__item[id], .control__list li[id] { scroll-margin-top: 6rem; }
.card:target, .quad__item:target, .control__list li:target { background: var(--teal-wash); transition: background-color 0.6s; }

.p-hero--404 { min-height: 100vh; display: flex; align-items: center; }
.p-hero--404 .container { width: 100%; }
.nf { margin: 0 auto; text-align: center; }
.nf__code { margin: 0 0 1rem; font-family: var(--serif); font-size: clamp(5rem, 18vw, 9rem); font-weight: 500; line-height: 1; color: var(--teal); }
.nf .p-hero__body { margin-left: auto; margin-right: auto; }
.nf__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 2.5rem; }
.nf__actions .btn--primary { margin-top: 0; }

.p-hero--platform { border-bottom: 0; }

.anchor { display: block; height: 0; }

/* ---------- Motion preference ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Platform page: the feature lists are not a sequence, so no numbers; hairline rows instead. */
.features { gap: 0 2rem; }
.features li { padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.features__num { display: none; }
.suite__visual { margin: 1.5rem -2rem 0; padding: 1.25rem 1.25rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.suite__visual svg { display: block; width: 100%; height: auto; }
.card--studio, .card--monitoring { border-top-width: 1px; border-top-color: var(--line); }
.p-suites .card { padding: 2rem; }
.about-cta { border-top: 1px solid var(--line); }

@media print {
  .reveal, .score__note { opacity: 1 !important; transform: none !important; animation: none !important; }
  .score__bar { stroke-dashoffset: 0 !important; animation: none !important; }
  .header { position: static; }
}

/* "What changes": the old pain, struck through and quiet, above what replaces it. */
.rows__before { font-size: 0.9375rem; color: var(--ink-3); margin-bottom: 0.25rem; }
.rows__label { display: inline-block; margin-right: 0.4rem; padding: 0.05rem 0.5rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.8125rem; color: var(--ink-3); background: var(--surface); }

/* About: founders. A photo replaces the initials by putting an <img> inside .founder__photo. */
.team { max-width: 60rem; margin: 0 auto; }
.founders { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
@media (min-width: 768px) { .founders { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; } }
.founder { display: flex; gap: 1.25rem; align-items: flex-start; padding: 1.75rem; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.founder__photo { flex-shrink: 0; display: grid; place-items: center; width: 5.5rem; height: 5.5rem; border-radius: 50%; overflow: hidden; background: var(--teal-wash); color: var(--teal); font-family: var(--serif); font-size: 1.6rem; font-weight: 500; }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; }
.founder__name { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; line-height: 1.2; color: var(--ink); }
.founder__role { margin-top: 0.15rem; font-size: 0.9375rem; font-weight: 500; color: var(--teal); }
.founder__bio { margin-top: 0.75rem; color: var(--ink-2); line-height: 1.65; }
.founder__link { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.9rem; font-size: 0.9375rem; font-weight: 500; color: var(--teal); }
.founder__link[hidden] { display: none; }
.team__closing { max-width: 42rem; margin-left: auto; margin-right: auto; }

/* Security band: the heading carries the section; the self-hosted point leads. */
.night .eyebrow { color: var(--teal-night); }
.env__heading { font-size: clamp(2.4rem, 4.6vw, 3.6rem); line-height: 1.05; }
@media (min-width: 640px) { .env__item--lead { grid-column: 1 / -1; } }
.env__item--lead .env__title { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; line-height: 1.2; }
.env__item--lead .env__body { font-size: 1.0625rem; color: var(--night-text); max-width: 36rem; }

/* product headline */
.product__tagline { margin-top: 0.6rem; font-family: var(--serif); font-size: 1.35rem; font-weight: 500; line-height: 1.25; color: var(--teal); }
.product__name { font-size: 1.05rem; font-family: var(--sans); font-weight: 600; color: var(--ink-3); }

/* product bullets: longer lines read better as a compact list than as chips */
.product__terms { display: block; margin-top: 1.25rem; border-top: 1px solid var(--line); }
.product__terms li { display: flex; gap: 0.6rem; align-items: baseline; padding: 0.5rem 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; font-size: 0.9375rem; color: var(--ink-2); }
.product__terms li::before { content: ""; flex-shrink: 0; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--teal); transform: translateY(-0.1rem); }

/* real product screenshots */
.product__visual, .suite__visual { padding: 1rem; }
.shot { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 10px 30px -18px rgba(19, 34, 58, 0.35); background: #fff; }
.shot-link { display: block; cursor: zoom-in; }
.shot-link:hover .shot { border-color: var(--teal); }
/* both card screenshots share one frame so the cards line up; click opens the full image */
.shot { aspect-ratio: 11 / 5; object-fit: cover; object-position: left top; }

/* Screenshot option A: one readable focus area per product, on a teal-wash mat, bleeding off the card edge.
   Teal-wash, not paper: the light-grey screenshots would melt into a paper-coloured mat. */
.product__visual, .suite__visual { background: var(--teal-wash); padding: 1.75rem 0 0 1.75rem; border-top: 1px solid var(--line); overflow: hidden; }
.shot { aspect-ratio: 6 / 5; object-fit: cover; object-position: left top; border: 1px solid #C3D3CF; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; box-shadow: -10px -6px 30px -22px rgba(19, 34, 58, 0.45); }

/* ---------- Mobile fixes (mobile audit, 2026-11-12) ---------- */

/* 1. Rhythm: shorter sections and heads on phones */
@media (max-width: 767px) {
  .section { padding: 3.5rem 0; }
  .section-head { margin-bottom: 2rem; }
  .lead, .hero__sub { font-size: 1.0625rem; }
  #build { padding-top: 0; }                       /* #connect and #build share a background: no 160px dead gap */
  .step__title { font-size: 1.625rem; }
  .movements { gap: 2rem; }
  .rows > li, .quad__item, .control__list > li { padding: 1.25rem 0; }
  .audience__item { padding: 1.5rem 0; }
  .contact { gap: 1.5rem; }
  .section-head--tight { margin-bottom: 0; }
}

/* 2. Header: keep "Book a demo" reachable on every scroll position */
@media (max-width: 767px) {
  .header__actions { display: flex; margin-left: auto; margin-right: 0.25rem; }
  .header__actions .lang { display: none; }
  .header__actions .btn--primary { min-height: 40px; padding: 0.5rem 0.9rem; font-size: 0.875rem; }
  .header__bar { gap: 0.25rem; }
  .brand__word { font-size: 1.3rem; }
}
@media (max-width: 359px) { .header__actions { display: none; } }

/* 3. Phone menu: full-height sheet, inline language list (no popover over the CTA) */
@media (max-width: 767px) {
  .mobile-menu.is-open { min-height: calc(100dvh - 4.25rem); overflow-y: auto; }
  .mobile-menu .btn--ghost { min-height: 48px; font-size: 1.125rem; }
  .mobile-menu .lang__list { position: static; width: auto; margin-top: 0.25rem; box-shadow: none; }
}

/* 4. Hero: the score legend is clipped by .hero{overflow:hidden} at every width */
.hero { padding-bottom: 3rem; }
@media (max-width: 767px) {
  .hero { padding-top: 7rem; }
  .score { height: 8.5rem; margin-top: 2rem; }
}

/* 5. Product cards: fewer insets, screenshot cropped to a readable detail */
@media (max-width: 639px) {
  .product__text { padding: 1.5rem 1.25rem 1.25rem; }
  /* Phones get a purpose-made crop shown whole in a framed mat (no bleed, nothing cut off). */
  .product__visual, .suite__visual { padding: 1.25rem; overflow: visible; }
  .product__visual picture, .suite__visual picture { display: block; }
  .product__visual .shot, .suite__visual .shot,
  .product:first-child .product__visual .shot { width: 100%; max-width: none; height: auto; aspect-ratio: auto; object-fit: contain; border: 1px solid #C3D3CF; border-radius: 8px; box-shadow: 0 12px 28px -20px rgba(19, 34, 58, 0.5); }
  .product__terms li:nth-child(n+3) { display: none; }  /* 2 bullets on phones; the full list is on /platform */
}
.product__more { min-height: 44px; }
/* tablet: text beside the image instead of a 700px-tall screenshot */
@media (min-width: 640px) and (max-width: 959px) {
  .product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .product__visual { border-top: 0; border-left: 1px solid var(--line); }
  .product__visual .shot { height: 100%; aspect-ratio: auto; }
}

/* 6. Security band: icon beside the text, like the other row lists */
@media (max-width: 767px) {
  .night.section { padding: 3.5rem 0; }
  .env { gap: 2rem; }
  .env__item { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); column-gap: 0.875rem; padding: 1.25rem 0; }
  .env__item .icon { grid-row: 1 / span 2; margin: 0.15rem 0 0; }
  .env__item--lead .env__title { font-size: 1.375rem; }
}

/* 7. Long lists (How it works, Platform features): first few items + "Show all" on phones/tablets */
.list-toggle { display: none; }
@media (max-width: 899px) {
  .is-collapsible[data-collapse="3"]:not(.is-expanded) > li:nth-child(n+4),
  .is-collapsible[data-collapse="6"]:not(.is-expanded) > li:nth-child(n+7) { display: none; }
  .list-toggle { display: inline-flex; align-items: center; min-height: 44px; margin-top: 0.25rem; font-size: 0.9375rem; font-weight: 500; color: var(--teal); }
  .step__list li { padding: 0.45rem 0; }
}

/* 8. Tap targets in the footer */
@media (max-width: 767px) {
  .footer { padding-top: 3rem; }
  .footer__link { min-height: 44px; }
  .footer__col li + li { margin-top: 0; }
  .footer__cta { display: none; }                  /* the form is directly above */
}

/* 9. "Build it easily" repeats the Studio card; skip it on phones */
@media (max-width: 767px) { #build { display: none; } }
