/*
 * Cobar brand foundation for the public site.
 *
 * These are the APP's token names and values from web/src/styles/tokens.css,
 * so the site and the product cannot drift apart silently.
 * tests/test_marketing_design_system.py fails if a value here disagrees with tokens.css.
 * The app's dark block is keyed on [data-theme="dark"]; the site has no theme
 * switch, so the same values apply through the device preference instead.
 *
 * Foundation = what is true of Cobar anywhere. Marketing-only roles, scale and
 * treatments live in marketing.css and are built from these names.
 * Nothing here changes the authenticated app: the app never loads this file.
 */
:root {
  color-scheme: light;

  /* Brand constants: the same in both appearances. Use them for authored
   * artwork grounds and for documents (an email is paper in any theme). */
  --brand-paper: #f5f1e8;
  --brand-ink: #1f1b16;
  --brand-copper: #b86a33;

  --paper: #f5f1e8;
  --paper-elev: #ede6d4;
  --ink: #1f1b16;
  --steel: #6b655a;
  --copper: #b86a33;
  --copper-deep: #7c4a22;
  --copper-pale: #d4b89a;
  --copper-wash: #f2e7d5;
  --copper-press: #633a1a;
  --fill-primary: #7c4a22;
  --fill-primary-hover: #633a1a;
  --fill-primary-fg: #f5f1e8;
  --rule: #d9cdb5;
  --rule-soft: #ebe3d2;
  --bg-card: #fbf5e9;

  --font-sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --fs-mono: 11px;
  --tr-mono: 0.08em;

  --s-1: 2px;
  --s-2: 4px;
  --s-3: 8px;
  --s-4: 12px;
  --s-5: 18px;
  --s-6: 24px;
  --s-7: 36px;
  --s-8: 56px;

  --r-1: 3px;
  --r-3: 6px;
  --r-pill: 12px;

  --ease-out: 120ms ease-out;
  --ease-stage: 350ms cubic-bezier(0.2, 0.9, 0.3, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --paper: #1c1917;
    --paper-elev: #26211a;
    --ink: #ece5d8;
    --steel: #a69d8e;
    --copper: #d59560;
    --copper-deep: #dfa771;
    --copper-pale: #5a4426;
    --copper-wash: #2f2619;
    --copper-press: #e9bc8f;
    --fill-primary: #d59560;
    --fill-primary-hover: #dfa771;
    --fill-primary-fg: #1f1b16;
    --rule: #3a332a;
    --rule-soft: #2c261f;
    --bg-card: #221e18;
  }
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fonts/IBMPlexSans-VariableFont_wdth_wght.woff2?v=d9d7692110dd")
    format("woff2");
  font-weight: 100 700;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/IBMPlexMono-Regular.woff2?v=83766b7da0cd") format("woff2");
  font-weight: 400;
  font-display: swap;
}
/* Colour tokens live in foundation.css (shared values) and marketing.css (roles). */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
a:hover {
  text-decoration-thickness: 2px;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--copper-text);
  outline-offset: 5px;
}
::selection {
  background: var(--copper-pale);
  color: #1f1b16;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 500;
}
h1,
h2 {
  letter-spacing: -0.055em;
  line-height: 1.04;
}
h2 {
  font-size: clamp(34px, 4.2vw, 62px);
}
h3 {
  font-size: 19px;
  letter-spacing: -0.025em;
  line-height: 1.25;
}
p {
  max-width: 75ch;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
svg {
  flex-shrink: 0;
}
button {
  color: inherit;
}
button[hidden],
[hidden] {
  display: none !important;
}
.wrap {
  width: min(1328px, calc(100% - 112px));
  margin: auto;
}
.section {
  padding: 112px 0;
}
.eyebrow,
.mono {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.035em;
}
.eyebrow {
  margin-bottom: 24px;
  text-transform: uppercase;
  color: var(--steel);
}
.copper {
  color: var(--copper);
}
.muted {
  color: var(--steel);
}
.icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  background: var(--surface);
  padding: 12px;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--ground);
  border-bottom: 1px solid var(--bench-soft);
}
.header-inner {
  width: min(1440px, calc(100% - 80px));
  height: 86px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  letter-spacing: -0.065em;
  font-size: 32px;
  line-height: 1;
  font-weight: 600;
  min-height: 44px;
}
.site-header nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}
.site-header nav a,
.sign-in {
  font-size: 13px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.site-header nav a:hover,
.sign-in:hover {
  color: var(--copper-text);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.button {
  min-height: 48px;
  display: inline-flex;
  gap: 22px;
  justify-content: center;
  align-items: center;
  padding: 12px 20px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  border-radius: 3px;
  border: 1px solid transparent;
  transition:
    background 0.2s,
    transform 0.2s;
}
.primary {
  background: var(--fill);
  color: var(--fill-fg);
}
.primary:after {
  content: "↗";
  font-size: 18px;
  font-weight: 400;
}
.primary:hover {
  background: var(--ink);
  color: var(--ground);
  transform: translateY(-2px);
}
.menu-button {
  border: 1px solid var(--bench);
  background: none;
  border-radius: 3px;
  padding: 8px 10px;
  min-height: 44px;
  min-width: 44px;
  font-family: var(--mono);
  font-size: 11px;
}
.text-link {
  font-size: 14px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border-bottom: 1px solid var(--bench);
  width: fit-content;
}


/* The landscape becomes a material language, not a separate banner. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.wrap {
  width: min(1328px, calc(100% - 104px));
}
.section {
  padding: 120px 0;
}
.site-header {
  background: var(--ground);
}
.header-inner {
  height: 80px;
}
.button {
  border-radius: 2px;
}
.primary {
  background: var(--ink);
  color: var(--ground);
}
.primary:hover {
  background: var(--fill);
  color: var(--fill-fg);
}
.menu-button {
  display: none;
}
/* Product is a full-size working surface. */
.product {
  padding-top: 110px;
  padding-bottom: 95px;
}
.product-heading,
.gallery-heading {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 100px;
  align-items: end;
  margin-bottom: 48px;
}
.product-heading h2 {
  font-size: clamp(45px, 5.5vw, 78px);
}
.product-heading > p {
  max-width: 390px;
  color: var(--steel);
  font-size: 17px;
}
.product-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 46px;
  margin-top: 44px;
}
.product-notes > div {
  display: grid;
  grid-template-columns: 25px 1fr;
  column-gap: 12px;
}
.product-notes .mono {
  color: var(--steel);
  padding-top: 2px;
}
.product-notes h3 {
  font-size: 17px;
}
.product-notes p {
  color: var(--steel);
  font-size: 13px;
  margin-top: 9px;
  grid-column: 2;
}
/* Readable work, each format given its own composition. */
.work-card {
  min-width: 0;
}
.work-email,
.work-ads,
.work-audit {
  grid-column: span 7;
}
.work-article,
.work-report,
.work-local {
  grid-column: span 5;
}
.work-meta {
  font: 11px/1.5 var(--mono);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 0 0 14px;
  color: var(--steel);
}
.work-caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 15px;
  padding-top: 18px;
  flex-wrap: wrap;
}
.work-caption > h3 {
  font-size: 18px;
}
.sample-details > summary {
  list-style: none;
  font-size: 13px;
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.sample-details > summary::-webkit-details-marker {
  display: none;
}
.sample-details .sample-content {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--bench);
  margin-top: 16px;
}
.work-caption:has(.sample-details[open]) {
  display: block;
}
.sample-content {
  font-size: 15px;
}
.sample-kicker {
  font: 11px/1.6 var(--mono);
  letter-spacing: 0.035em;
  text-transform: uppercase;
}
.sample-email {
  background: #f5f1e8;
  color: #1f1b16;
}
.sample-brand {
  padding: 20px 26px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 13px;
  font-weight: 500;
}
.email-picture {
  position: relative;
  background: #b86a33;
  color: #1f1b16;
  min-height: 230px;
  overflow: hidden;
}
.email-picture h3 {
  padding: 28px 30px;
  font-size: clamp(36px, 3.6vw, 56px);
  position: relative;
  z-index: 1;
  line-height: 1.03;
  letter-spacing: -0.045em;
  font-weight: 500;
}
.email-preheader {
  font-size: 14px;
  padding: 0 28px;
  margin: 24px 0 20px;
}
.email-body {
  padding: 0 28px;
  font-size: 14px;
  line-height: 1.75;
}
.email-body p + p {
  margin-top: 14px;
}
.sample-cta {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  margin: 0 28px 26px;
  padding: 11px 16px;
  background: #1f1b16;
  color: #f5f1e8;
  font-size: 12px;
}
.email-body + .sample-cta {
  margin-top: 24px;
}
.work-email .sample-email {
  box-shadow: 0 6px 30px #1f1b161a;
  transform: rotate(-3deg);
  transition: transform 0.4s;
}
.work-email .email-picture {
  min-height: 190px;
}
.work-email:hover .sample-email {
  transform: rotate(0deg) translateY(-5px);
}
.sample-article {
  padding: 36px 32px;
}
.sample-article h3 {
  font-size: 37px;
  line-height: 1.03;
  font-weight: 450;
  margin: 28px 0 20px;
}
.sample-article > p:not(.sample-kicker) {
  font-size: 14px;
  color: var(--steel);
  line-height: 1.65;
}
.sample-ad {
  position: relative;
  background: #1f1b16;
  color: #f5f1e8;
  height: 100%;
  padding: 36px;
  overflow: hidden;
}
.sample-ad h3 {
  position: relative;
  z-index: 2;
  font-size: clamp(48px, 5vw, 76px);
  margin-top: 24px;
  line-height: 1;
  font-weight: 450;
}
.sample-ad .sample-cta {
  margin: 45px 0 0;
  position: relative;
  z-index: 2;
  background: #f5f1e8;
  color: #1f1b16;
}
.sample-reading {
  padding: 30px;
}
.sample-reading h3 {
  font-size: 36px;
  margin: 20px 0 26px;
}
.sample-reading h4 {
  font-weight: 500;
  font-size: 19px;
  margin: 28px 0 12px;
  letter-spacing: -0.02em;
}
.sample-reading p {
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.8;
}
.sample-disclaimer {
  font: 11px/1.7 var(--mono);
  color: var(--steel);
  padding: 16px 30px;
  border-bottom: 1px solid var(--bench);
}
.sample-disclaimer:last-child {
  border: 0;
  border-top: 1px solid var(--bench);
  margin-top: 24px;
}
.sample-dialog {
  color: var(--ink);
  background: var(--ground);
  border: 1px solid var(--bench);
  padding: 0;
  width: min(780px, calc(100% - 48px));
  max-height: calc(100dvh - 60px);
  overscroll-behavior: contain;
  box-shadow: 0 30px 100px #1f1b1640;
}
.sample-dialog::backdrop {
  background: #1f1b16a6;
  backdrop-filter: blur(5px);
}
.sample-dialog-header {
  position: sticky;
  z-index: 3;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 30px;
  background: var(--ground);
  border-bottom: 1px solid var(--bench);
}
.sample-dialog-header .eyebrow {
  margin-bottom: 6px;
}
.sample-dialog-header h2 {
  font-size: 27px;
}
.dialog-close {
  border: 1px solid var(--bench);
  background: var(--surface);
  min-height: 44px;
  padding: 8px 12px;
  font-size: 13px;
}
.dialog-close span {
  font-size: 20px;
  padding-left: 12px;
}
.sample-dialog-body {
  padding: 0 20px 20px;
}
.sample-dialog .sample-email {
  margin: 10px 30px 30px;
  border: 1px solid var(--bench);
}
.sample-dialog .email-picture {
  min-height: 270px;
}
.sample-dialog .email-picture h3 {
  font-size: 58px;
}
body.dialog-open {
  overflow: hidden;
}
/* A different pace after the work. */
@keyframes enter-up {
  from {
    transform: translateY(25px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes place-work {
  from {
    transform: translateY(-18px) rotate(12deg);
    opacity: 0;
  }
  to {
    transform: translateY(0) rotate(8deg);
    opacity: 1;
  }
}
@media (max-width: 1150px) {
  .wrap {
    width: calc(100% - 72px);
  }
  .header-inner {
    width: calc(100% - 48px);
    gap: 20px;
  }
  .site-header nav {
    gap: 16px;
  }
  .site-header nav a {
    font-size: 12px;
  }
  .nav-actions {
    gap: 12px;
  }
  .nav-actions .button {
    padding: 10px 14px;
    font-size: 12px;
  }
  .brand {
    font-size: 29px;
  }
  .product-heading,
  .gallery-heading,
  .proof-layout,
  .data-layout,
  .split {
    gap: 55px;
  }
  .work-meta {
    font-size: 11px;
    flex-direction: column;
    gap: 4px;
  }
  .sample-article,
  .sample-report,
  .sample-audit,
  .sample-ad,
  .sample-local {
    padding: 28px;
  }
  .sample-article h3 {
    font-size: 33px;
  }
}
@media (max-width: 900px) {
  .nav-actions .sign-in {
    display: none;
  }
  .product-heading,
  .gallery-heading {
    gap: 40px;
  }
  .product-heading > p {
    font-size: 15px;
  }
  .product-notes {
    gap: 22px;
  }
  .product-notes > div {
    display: block;
  }
  .product-notes h3 {
    font-size: 16px;
    margin-top: 12px;
  }
  .work-card {
    grid-column: span 1;
  }
  .work-email .email-picture h3 {
    font-size: 34px;
  }
  .work-email .email-preheader {
    font-size: 12px;
    padding: 0 18px;
  }
  .work-email .sample-brand {
    font-size: 11px;
    padding: 18px;
  }
  .sample-article,
  .sample-report,
  .sample-audit,
  .sample-ad,
  .sample-local {
    padding: 24px;
  }
  .work-caption {
    gap: 2px;
  }
}
@media (max-width: 700px) {
  html {
    scroll-padding-top: 90px;
  }
  .wrap {
    width: calc(100% - 40px);
  }
  .section {
    padding: 72px 0;
  }
  .header-inner {
    width: calc(100% - 36px);
    height: 70px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .brand {
    font-size: 29px;
  }
  .brand svg {
    width: 30px;
    height: 30px;
  }
  .menu-button {
    display: block;
    margin-left: auto;
    order: 3;
    font-size: 11px;
    border: 0;
  }
  .nav-actions {
    margin-left: auto;
    gap: 0;
  }
  .nav-actions .button,
  .nav-actions .sign-in {
    display: none;
  }
  .site-header nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    padding: 18px 20px 25px;
    margin: 0;
    background: var(--ground);
    border-bottom: 1px solid var(--bench);
    flex-direction: column;
    gap: 0;
  }
  .site-header nav a {
    font-size: 16px;
    min-height: 48px;
  }
  .menu-button[aria-expanded="true"] ~ nav {
    display: flex;
  }
  .menu-button[hidden] ~ nav {
    display: flex;
    position: static;
    flex-basis: 100%;
    order: 4;
    padding: 0 0 14px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px 20px;
    border: 0;
  }
  .header-inner:has(.menu-button[hidden]) {
    height: auto;
    min-height: 70px;
  }
  .product-heading,
  .gallery-heading {
    grid-template-columns: 1fr;
    gap: 23px;
    margin-bottom: 32px;
  }
  .product-heading h2,
  .gallery-heading h2 {
    font-size: 49px;
  }
  .product-heading .eyebrow,
  .gallery-heading .eyebrow {
    margin-bottom: 18px;
  }
  .product-heading > p {
    font-size: 15px;
    max-width: 430px;
  }
  .product-notes {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 30px;
  }
  .product-notes > div {
    display: grid;
    grid-template-columns: 25px 1fr;
  }
  .product-notes h3 {
    margin-top: 0;
    font-size: 17px;
  }
  .product-notes p {
    margin-top: 6px;
    font-size: 13px;
  }
  .work-meta {
    flex-direction: row;
    font-size: 11px;
    gap: 15px;
  }
  .work-email .email-picture {
    min-height: 180px;
  }
  .work-email .email-picture h3 {
    font-size: 39px;
    padding: 25px 23px;
  }
  .work-caption {
    gap: 12px;
    padding-top: 10px;
  }
  .work-caption > h3 {
    font-size: 17px;
  }
  .sample-article,
  .sample-report,
  .sample-audit,
  .sample-ad,
  .sample-local {
    padding: 30px;
  }
  .sample-article h3 {
    font-size: 39px;
  }
  .sample-ad {
    height: 395px;
  }
  .sample-ad h3 {
    font-size: 65px;
  }
  .sample-dialog {
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
  }
  .sample-dialog-header {
    padding: 18px;
    gap: 12px;
  }
  .sample-dialog-header h2 {
    font-size: 23px;
  }
  .sample-dialog-body {
    padding: 0 0 10px;
  }
  .sample-disclaimer {
    padding: 16px 20px;
  }
  .sample-reading {
    padding: 20px;
  }
  .sample-reading h3 {
    font-size: 31px;
  }
  .sample-dialog .sample-email,
  .sample-dialog .expanded-ad {
    margin: 0 14px 20px;
  }
  .sample-dialog .email-picture {
    min-height: 200px;
  }
  .sample-dialog .email-picture h3 {
    font-size: 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
/* These same four pieces settle into one continuous board. No content swaps. */
/* A material interlude: one foundation, many forms. */
.brand-world {
  position: relative;
  overflow: clip;
}

/* Reused app-derived product illustration */
.window { position: relative; background: var(--surface); border: 1px solid var(--bench); border-radius: 10px; box-shadow: var(--shadow-lift); }
.win-bar { height: 40px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 14px; background: var(--sediment); border-bottom: 1px solid var(--bench); border-radius: 10px 10px 0 0; }
.win-dots { display: flex; gap: 7px; }
.win-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--bench); display: block; }
.win-url { font-family: var(--mono); font-size: 11.5px; color: var(--steel); background: var(--ground); border: 1px solid var(--bench); border-radius: 12px; padding: 2px 16px; }
.win-tag { justify-self: end; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel); }
.win-body { display: grid; grid-template-columns: 196px minmax(0, 1fr) 404px; }
.rail { background: var(--surface); border-right: 1px solid var(--bench-soft); padding: 16px 10px; display: flex; flex-direction: column; gap: 2px; border-radius: 0 0 0 10px; }
.rail-brand { display: flex; align-items: center; gap: 10px; padding: 2px 8px 16px; font-weight: 600; letter-spacing: -0.01em; font-size: 14.5px; }
.rail-item { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 10px; border-radius: 3px; font-size: 13.5px; color: var(--steel); }
.rail-item .icon { width: 16px; height: 16px; }
.rail-item.is-on { background: var(--copper-wash); color: var(--ink); font-weight: 500; }
.rail-count { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--copper-text); font-weight: 600; }
.q { background: var(--ground); padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 14px; }
.q-head { display: flex; align-items: baseline; justify-content: space-between; }
.q-count { font-size: 13px; color: var(--steel); }
.tier { background: var(--surface); border: 1px solid var(--bench); border-radius: 6px; }
.tier-head { position: relative; display: flex; align-items: baseline; gap: 10px; padding: 12px 16px 10px; border-bottom: 1px solid var(--bench); }
.tier-num { font-family: var(--mono); font-size: 14px; color: var(--steel); width: 22px; }
.tier-title { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.tier-title em { font-style: normal; color: var(--steel); font-weight: 400; }
.qcols { display: grid; grid-template-columns: 132px minmax(0, 1fr) 46px 66px; gap: 12px; align-items: center; padding: 6px 16px; border-bottom: 1px solid var(--bench-soft); font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--steel); }
.qcols span:nth-child(3), .qcols span:nth-child(4) { text-align: right; }
.qrow { position: relative; display: grid; grid-template-columns: 132px minmax(0, 1fr) 46px 66px; gap: 12px; align-items: center; min-height: 54px; padding: 8px 16px; border-bottom: 1px solid var(--bench-soft); }
.qrow:last-child { border-bottom: 0; border-radius: 0 0 6px 6px; }
.qrow.is-open { background: var(--copper-wash); }
.acct { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 12.5px; font-weight: 500; }
.acct-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.amark { width: 22px; height: 22px; border-radius: 4px; display: grid; place-items: center; font-family: var(--mono); font-size: 11px; font-weight: 600; color: #f5f1e8; flex: none; }
.what { min-width: 0; }
.what-title { font-size: 13px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.what-meta { font-family: var(--mono); font-size: 11px; color: var(--steel); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.due { font-family: var(--mono); font-size: 11px; color: var(--steel); text-align: right; }
.due.is-strong { color: var(--ink); font-weight: 600; }
.do { display: flex; justify-content: flex-end; }
.panel { background: var(--surface); border-left: 1px solid var(--bench); padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; border-radius: 0 0 10px 0; }
.panel-title { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.doc { background: var(--ground); border: 1px solid var(--bench); border-radius: 4px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.doc-k { font-family: var(--mono); font-size: 11px; color: var(--steel); }
.doc-subject { font-size: 14px; font-weight: 600; margin-top: -4px; }
.doc-pre { font-size: 12px; color: var(--steel); }
.doc-hero { height: 76px; border-radius: 3px; background: var(--sediment); overflow: hidden; }
.doc-hero svg { display: block; width: 100%; height: 100%; }
.bars { display: flex; flex-direction: column; gap: 6px; }
.bar { display: block; height: 6px; border-radius: 3px; background: var(--bench); }
.bar.ink { background: var(--ink); opacity: 0.82; height: 8px; }
.bar.t { height: 11px; }
.bar.cu { background: var(--copper-pale); }
.w95 { width: 95%; } .w85 { width: 85%; } .w75 { width: 75%; } .w60 { width: 60%; } .w45 { width: 45%; } .w30 { width: 30%; }
.doc-cta { align-self: flex-start; font-size: 11.5px; font-weight: 500; padding: 5px 10px; border-radius: 3px; background: var(--ink); color: var(--ground); }
.srcs { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.chain { position: relative; display: flex; flex-direction: column; }
.chain-row { position: relative; display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 30px; }
.chain-row + .chain-row::before { content: ""; position: absolute; left: 6px; top: -9px; height: 12px; border-left: 1px dashed var(--steel); opacity: 0.6; }
.chain-name { font-size: 13px; font-weight: 500; }
.chain-state { font-family: var(--mono); font-size: 11px; color: var(--steel); }
.chain-row.is-you .chain-state { color: var(--copper-text); font-weight: 600; }
.panel-actions { margin-top: auto; display: flex; gap: 8px; justify-content: flex-end; padding-top: 14px; border-top: 1px solid var(--bench-soft); }
.pin { position: absolute; z-index: 3; width: 22px; height: 22px; border-radius: 50%; background: var(--copper); color: #fbf5e9; font-family: var(--mono); font-size: 11px; font-weight: 600; display: grid; place-items: center; box-shadow: 0 0 0 3px var(--surface); }
.legend3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 40px; }
.legend-item { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; align-items: start; }
.legend-item .pin { position: static; box-shadow: none; }
.legend-item p { margin-top: 4px; }
.is-phone .legend3 { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 28px; }


/* Keep the app-derived queue; give the opened deliverable room to read. */
.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  font-size: 12px;
  line-height: 1.25;
  border: 1px solid var(--bench);
  border-radius: 3px;
  font-weight: 500;
  white-space: nowrap;
  background: var(--surface);
  color: var(--ink);
}
.btn-primary {
  background: var(--fill);
  color: var(--fill-fg);
  border-color: var(--fill);
}
.demo {
  border: 1px solid var(--bench);
  background: var(--surface);
  box-shadow: 0 25px 60px -35px #1f1b1630;
  overflow: hidden;
}
.demo-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 14px 20px;
  background: var(--ground);
  border-bottom: 1px solid var(--bench);
}
.demo-steps {
  display: flex;
  gap: 6px;
}
.demo-steps button {
  border: 0;
  background: transparent;
  border-radius: 3px;
  padding: 10px 14px;
  min-height: 44px;
  font-size: 13px;
  color: var(--steel);
}
.demo-steps button span {
  font-family: var(--mono);
  font-size: 11px;
  margin-right: 12px;
}
.demo-steps button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--ground);
}
.play-button {
  background: none;
  border: 0;
  min-height: 44px;
  font-size: 12px;
  white-space: nowrap;
}
.play-button span {
  margin-left: 10px;
}
.window {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.win-bar {
  border-radius: 0;
  height: 42px;
}
.win-body {
  grid-template-columns: 150px minmax(0, 1fr);
  min-height: 590px;
}
.q {
  padding: 24px 22px;
}
.q-head {
  gap: 12px;
}
.q-head .eyebrow {
  margin-bottom: 6px;
}
.q-count {
  font: 11px/1.6 var(--mono);
  color: var(--steel);
}
.tier {
  border: 1px solid var(--bench);
  border-radius: 5px;
  overflow: hidden;
  background: var(--surface);
}
.tier-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--bench);
}
.tier-num {
  font: 11px/1.6 var(--mono);
  color: var(--steel);
}
.tier-title {
  font-size: 14px;
  letter-spacing: -0.01em;
  font-weight: 500;
}
.tier-title em {
  font-weight: 400;
  font-style: normal;
  color: var(--steel);
}
.qcols,
.qrow {
  grid-template-columns: 155px minmax(0, 1fr) 48px 80px;
  gap: 16px;
  padding-left: 14px;
  padding-right: 14px;
}
.qrow {
  min-height: 72px;
}
.what-title {
  font-size: 14px;
}
.acct {
  font-size: 12px;
}
.what-meta {
  font-size: 11px;
}
.amark {
  color: var(--ground);
}
.rail-item {
  font-size: 12px;
  gap: 8px;
  height: 40px;
  padding: 0 8px;
}
.rail-brand {
  font-size: 16px;
}
.rail-count {
  font-size: 11px;
}
.demo-caption {
  padding: 18px 20px;
  background: var(--ground);
  border-top: 1px solid var(--bench);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.demo-caption p {
  font-size: 12px;
  max-width: 650px;
}
.demo-caption > .mono {
  color: var(--steel);
  font-size: 11px;
  text-align: right;
  max-width: 230px;
}
.demo.is-interactive[data-state="0"] .panel {
  display: none;
}
.demo.is-interactive:not([data-state="0"]) .q {
  display: none;
}
.review-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  align-content: start;
  padding: 25px;
  gap: 25px;
  border-left: 0;
}
.review-heading {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--bench);
  padding-bottom: 18px;
  gap: 20px;
}
.review-heading .eyebrow {
  margin-bottom: 8px;
}
.review-heading h3 {
  font-size: 25px;
}
.review-back {
  border: 0;
  background: none;
  font-size: 12px;
  min-height: 44px;
  white-space: nowrap;
}
.document-label {
  margin-bottom: 15px;
  color: var(--steel);
}
.review-document .sample-email {
  box-shadow: 0 5px 18px #1f1b1610;
  border: 1px solid var(--bench);
}
.review-document .sample-brand {
  font-size: 12px;
  padding: 18px 24px;
}
.review-document .email-picture {
  min-height: 180px;
}
.review-document .email-picture h3 {
  font-size: 42px;
  padding: 25px;
}
.review-document .email-preheader {
  font-size: 13px;
  padding: 0 24px;
  margin: 20px 0;
}
.review-document .email-body {
  padding: 0 24px;
  font-size: 13px;
}
.review-document .sample-cta {
  margin-left: 24px;
  margin-right: 24px;
}
.review-context {
  padding-top: 0;
  min-width: 0;
}
.review-context > .eyebrow {
  margin-bottom: 14px;
}
.review-context h4 {
  font-size: 29px;
  line-height: 1.08;
  font-weight: 450;
  letter-spacing: -0.035em;
  margin: 0 0 20px;
}
.source-inspector {
  border-top: 1px solid var(--bench);
  border-bottom: 1px solid var(--bench);
}
.source-inspector summary {
  list-style: none;
  cursor: pointer;
  font-size: 12px;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.source-inspector summary::-webkit-details-marker {
  display: none;
}
.source-inspector summary > span {
  font-size: 18px;
}
.source-inspector[open] summary > span {
  transform: rotate(45deg);
}
.source-detail dl {
  margin: 0;
}
.source-detail dl > div {
  padding: 12px 0;
  border-top: 1px solid var(--bench-soft);
}
.source-detail dt {
  font: 11px/1.6 var(--mono);
  color: var(--steel);
  margin-bottom: 5px;
}
.source-detail dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
}
.review-record {
  padding-top: 24px;
}
.review-record .eyebrow {
  margin-bottom: 14px;
}
.review-record ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}
.review-record li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.record-node {
  width: 27px;
  height: 27px;
  border: 1px solid var(--bench);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
}
.review-record strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
}
.review-record li div > span {
  display: block;
  font-size: 11px;
  color: var(--steel);
}
.review-boundary {
  font-size: 12px;
  color: var(--steel);
  margin-top: 22px;
}
.panel-actions {
  display: flex;
  flex-direction: column-reverse;
  align-items: stretch;
  gap: 9px;
  padding-top: 20px;
  margin-top: 0;
  border: 0;
}
.changes-note {
  font-size: 12px;
  padding: 14px;
  background: var(--sediment);
  margin-top: 14px;
}
.demo[data-state="3"] .record-current .record-node {
  background: var(--ink);
  color: var(--ground);
  border-color: var(--ink);
}
.demo[data-state="3"] [data-sign-state] {
  color: var(--copper-text);
}
.demo[data-state="3"] [data-demo-next="3"] {
  background: var(--ink);
  color: var(--ground);
  border-color: var(--ink);
}
.demo .btn:hover {
  box-shadow: 0 0 0 1px var(--ink);
}
.demo:not(.is-interactive) .demo-toolbar,
.demo:not(.is-interactive) button[data-demo-next],
.demo:not(.is-interactive) [data-request-changes] {
  display: none;
}
.demo:not(.is-interactive) .win-body {
  grid-template-columns: 1fr;
}
.demo:not(.is-interactive) .rail {
  display: none;
}
.demo:not(.is-interactive) .panel {
  border-top: 1px solid var(--bench);
}
.mobile-account {
  display: none;
}
@media (max-width: 1150px) {
  .win-body {
    grid-template-columns: minmax(0, 1fr);
  }
  .rail {
    display: none;
  }
  .q {
    padding: 20px 16px;
  }
  .qcols,
  .qrow {
    grid-template-columns: 140px minmax(0, 1fr) 40px 75px;
    gap: 12px;
  }
  .review-panel {
    grid-template-columns: minmax(0, 1fr) 270px;
    padding: 22px;
    gap: 25px;
  }
}
@media (max-width: 900px) {
  .demo-toolbar {
    padding: 12px;
    gap: 8px;
  }
  .demo-steps {
    gap: 2px;
  }
  .demo-steps button {
    padding: 9px;
    font-size: 12px;
  }
  .demo-steps button span {
    margin-right: 6px;
  }
  .play-button {
    font-size: 11px;
  }
  .qcols,
  .qrow {
    grid-template-columns: 115px minmax(0, 1fr) 38px 72px;
    gap: 10px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .what-title {
    font-size: 12px;
  }
  .acct {
    font-size: 11px;
  }
  .review-panel {
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 20px;
    padding: 18px;
  }
  .review-document .email-picture h3 {
    font-size: 34px;
    padding: 20px;
  }
  .review-document .sample-brand {
    font-size: 11px;
    padding: 16px 18px;
  }
  .review-document .email-body,
  .review-document .email-preheader {
    padding: 0 18px;
    font-size: 12px;
  }
  .review-document .sample-cta {
    font-size: 11px;
    margin-left: 18px;
    margin-right: 18px;
  }
  .review-context h4 {
    font-size: 27px;
  }
}
@media (max-width: 700px) {
  .demo-toolbar {
    display: block;
    padding: 10px;
  }
  .demo-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
  }
  .demo-steps button {
    font-size: 12px;
    min-height: 44px;
    padding: 10px 8px;
    text-align: left;
  }
  .demo-steps button span {
    margin-right: 8px;
  }
  .play-button {
    width: 100%;
    display: block;
    text-align: left;
    margin-top: 7px;
    padding: 8px;
    min-height: 44px;
    font-size: 12px;
  }
  .play-button > span {
    float: right;
    margin-right: 6px;
  }
  .win-dots {
    display: none;
  }
  .win-bar {
    grid-template-columns: 1fr auto;
    padding: 0 12px;
  }
  .win-url {
    font-size: 11px;
    padding: 2px 0;
    justify-self: start;
  }
  .win-tag {
    font-size: 11px;
    letter-spacing: 0;
  }
  .win-body {
    min-height: 0;
  }
  .q {
    padding: 18px 10px;
    gap: 12px;
  }
  .q-head {
    flex-direction: column;
    align-items: start;
    gap: 0;
  }
  .q-count {
    margin-bottom: 6px;
  }
  .qrow {
    grid-template-columns: minmax(0, 1fr) 68px;
    gap: 10px;
    min-height: 80px;
    padding: 12px;
  }
  .acct,
  .qcols,
  .due {
    display: none;
  }
  .qrow .what-title {
    font-size: 13px;
    white-space: normal;
  }
  .what-meta {
    font-size: 11px;
    white-space: normal;
    margin-top: 5px;
  }
  .mobile-account {
    display: inline;
  }
  .tier-head {
    padding: 12px;
  }
  .tier-title {
    font-size: 13px;
  }
  .tier-num {
    font-size: 11px;
  }
  .review-panel {
    grid-template-columns: 1fr;
    padding: 18px;
    gap: 22px;
  }
  .review-heading {
    padding-bottom: 18px;
    gap: 12px;
  }
  .review-heading h3 {
    font-size: 21px;
  }
  .review-heading .eyebrow {
    font-size: 11px;
  }
  .review-back {
    padding: 0;
  }
  .review-document .email-picture h3 {
    font-size: 37px;
    padding: 23px;
  }
  .review-document .email-body,
  .review-document .email-preheader {
    padding: 0 20px;
    font-size: 13px;
  }
  .review-document .email-picture {
    min-height: 180px;
  }
  .review-document .sample-cta {
    margin-left: 20px;
    margin-right: 20px;
  }
  .review-context {
    border-top: 1px solid var(--bench);
    padding-top: 24px;
  }
  .review-context h4 {
    font-size: 31px;
  }
  .source-inspector summary {
    font-size: 13px;
  }
  .source-detail dd {
    font-size: 13px;
  }
  .review-record strong {
    font-size: 13px;
  }
  .review-record li div > span {
    font-size: 12px;
  }
  .panel-actions {
    flex-direction: column-reverse;
  }
  .panel-actions .btn {
    min-height: 46px;
    font-size: 13px;
  }
  .demo-caption {
    display: block;
    padding: 17px;
  }
  .demo-caption > .mono {
    display: block;
    text-align: left;
    max-width: none;
    margin-top: 12px;
  }
  .demo-caption > p {
    font-size: 12px;
    min-height: 55px;
  }
}
@media (max-width: 700px) {
  .demo.is-interactive[data-state="2"] .review-document,
  .demo.is-interactive[data-state="3"] .review-document {
    display: none;
  }
  .demo.is-interactive[data-state="2"] .review-context,
  .demo.is-interactive[data-state="3"] .review-context {
    border-top: 0;
    padding-top: 0;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .demo.is-interactive:not([data-state="0"]) .review-panel {
    animation: enter-up 0.32s ease both;
  }
  .source-inspector[open] .source-detail {
    animation: enter-up 0.25s ease both;
  }
  .record-node {
    transition:
      background 0.25s,
      color 0.25s;
  }
}
/* A single fictional brand keeps the demonstration about the reader's work. */
.single-brand-demo .qcols > span:first-child,
.single-brand-demo .acct,
.single-brand-demo .mobile-account {
  display: none;
}
.single-brand-demo .qcols,
.single-brand-demo .qrow {
  grid-template-columns: minmax(0, 1fr) 48px 80px;
}
.queue-title {
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.04em;
}
@media (max-width: 700px) {
  .single-brand-demo .qrow {
    grid-template-columns: minmax(0, 1fr) 68px;
  }
}

/* A spatial opening: one object, assembled by the reader's scroll. */
.cinematic-header {
  border-bottom: 0;
}
.cinematic-header .header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  position: relative;
}
.cinematic-header .brand {
  grid-column: 2;
  grid-row: 1;
}
.cinematic-header .menu-button {
  display: block;
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  margin: 0;
  order: initial;
  border: 0;
  padding-left: 0;
  font-size: 12px;
}
.cinematic-header .nav-actions {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  margin: 0;
}
.cinematic-header .nav-actions .button {
  display: none;
}
.cinematic-header .nav-actions .sign-in {
  display: inline-flex;
}
.cinematic-header nav {
  display: none;
  position: absolute;
  left: 0;
  top: 70px;
  width: 260px;
  padding: 20px 24px;
  background: var(--ground);
  border: 1px solid var(--bench-soft);
  flex-direction: column;
  gap: 4px;
  margin: 0;
}
.cinematic-header .menu-button[aria-expanded="true"] ~ nav {
  display: flex;
}
.cinematic-header .menu-button[hidden] ~ nav {
  display: flex;
  position: static;
  grid-column: 1 / -1;
  grid-row: 2;
  width: auto;
  flex-direction: row;
  flex-wrap: wrap;
  border: 0;
  padding: 12px 0;
  justify-content: center;
}
.cinematic-header .header-inner:has(.menu-button[hidden]) {
  height: auto;
  min-height: 80px;
}

/* Selected Material world composition. The artwork remains a single photograph. */
.home-page .cinematic-header{position:absolute;inset:0 0 auto;background:transparent;backdrop-filter:none;border:0}
.material-world{position:relative;isolation:isolate;height:min(100svh,1100px);min-height:790px;overflow:clip}
.material-art{position:absolute;inset:0;z-index:-1;pointer-events:none;transform-origin:50% 65%}
.material-art picture,.material-art img{display:block;width:100%;height:100%}
.material-art img{object-fit:cover;object-position:0% 50%;max-width:none}
.material-light{position:absolute;inset:-15%;opacity:0;background:radial-gradient(ellipse at 28% 22%,#f5f1e82e,transparent 56%);mix-blend-mode:soft-light;pointer-events:none}
.material-copy{position:relative;margin:0 auto;padding:110px 30px 130px;text-align:center;max-width:1000px}
.material-copy h1{font-size:clamp(82px,7.2vw,116px);line-height:.95;font-weight:400;letter-spacing:-.065em}
.material-copy h1>span{display:block}
.material-copy .material-support{font-size:17px;line-height:1.55;max-width:425px;margin:28px auto 0;text-wrap:pretty}
.material-action{display:inline-flex;align-items:center;justify-content:space-between;gap:40px;min-height:52px;padding:15px 22px;margin-top:23px;background:var(--ink);color:var(--ground);font-size:14px;font-weight:500;text-decoration:none}
.material-action:hover{background:var(--fill);color:var(--fill-fg)}
/* The page arrives at a piece of work through ordinary scrolling. */
.work-bridge{position:relative;padding:112px 0 100px;overflow:clip}
.bridge-work{grid-area:work;padding:0;margin:0;position:relative;transform-origin:center}
.bridge-work figcaption{display:flex;justify-content:space-between;gap:25px;align-items:center;margin-top:23px}
.bridge-work figcaption>.mono{font-size:11px;color:var(--steel);line-height:1.7}
.bridge-work figcaption .text-link{font-size:12px;white-space:nowrap}
.email-picture .campaign-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:65% 50%}
.email-picture:has(.campaign-photo)::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#1f1b1699,transparent)}
.email-picture:has(.campaign-photo) h3{color:#f5f1e8;font-weight:400}
.home-page .product{border-top:1px solid var(--bench-soft)}
/* The same material language continues beyond the opening. */
.closing-art{position:absolute;inset:0;pointer-events:none;opacity:.72}
.home-page:has(.menu-button[hidden]) .cinematic-header{position:relative;background:var(--ground)}
@media(min-width:1650px){.material-copy{padding-top:145px}}
@media(max-height:820px) and (min-width:901px){.material-world{min-height:720px}.material-art img{object-position:0% 0%}.material-copy{padding-top:90px}.material-copy h1{font-size:min(7.7vw,94px)}.material-copy .material-support{margin-top:22px;font-size:16px}.material-action{margin-top:19px}}
@media(max-width:1000px){.material-copy{padding-top:148px}.material-copy h1{font-size:clamp(74px,9.2vw,92px)}.material-world{min-height:850px}.material-art img{object-position:58% 50%}.bridge-work figcaption{align-items:start;flex-direction:column;gap:10px}}
@media(max-width:700px){.material-world{height:100svh;min-height:800px;max-height:980px}.material-art img{object-position:46% 50%}.material-copy{padding:116px 5.4% 120px}.material-copy h1{font-size:clamp(50px,14.6vw,85px);letter-spacing:-.065em;line-height:1.01}.material-copy h1>span:nth-child(2){font-size:.91em;white-space:nowrap}.material-copy .material-support{font-size:15px;line-height:1.6;max-width:285px;margin-top:27px}.material-action{margin-top:23px;min-height:50px;font-size:13px;gap:37px}.work-bridge{padding:60px 0 65px}.bridge-work figcaption{flex-direction:row;gap:15px;align-items:center}.bridge-work figcaption>.mono{font-size:11px;max-width:210px}.bridge-work figcaption .text-link{font-size:11px}
.closing-art{opacity:.4}}
@media(max-width:360px){.bridge-work figcaption{flex-direction:column;align-items:start}}
@media(prefers-reduced-motion:reduce){.material-art,.bridge-work{transform:none!important}.material-light{display:none}}

/* A natural setting, one piece of work, and room to look. */
.world-chapter {position: relative; isolation: isolate;}
.world-chapter .material-horizon {position: absolute; inset: 0; z-index: -1; isolation: isolate; overflow: clip; pointer-events: none;}
.home-page .material-art img {object-position: 50% 100%;}
/* Keep the natural lower silhouette in view without cropping into the headline. */
@media (min-width: 1001px) {
  .home-page .material-world {min-height: max(900px, 66.667vw);}
}
/* Native reading-position restoration must follow content, not moving scenery. */
.material-horizon,.closing-art {overflow-anchor: none;}
.home-page .material-copy {padding-top: 105px;}
.home-page .material-support {max-width: 420px;}
.home-page .work-bridge {margin-top: -65px; padding: 0 0 40px; overflow: clip;}
.scene-title {font-size: clamp(30px, 3.4vw, 48px); font-weight: 400; text-align: center; margin: 0 0 30px; letter-spacing: -.045em;}
.anchor-point {display: block; scroll-margin-top: 60px;}
.work-composition {position: relative; isolation: isolate; max-width: 1220px; margin-inline: auto;}
.work-scene {position: relative; z-index: 1; max-width: 1220px; margin-inline: auto;}
.work-scene .bridge-work {padding: 0; margin: 0;}
.scene-selectors {display: flex; justify-content: center; gap: 6px; margin: 0 auto 38px;}
.scene-selectors[hidden] {display: none;}
.scene-selectors button {min-height: 44px; padding: 10px 24px; border-radius: 24px; border: 1px solid transparent; background: transparent; color: var(--steel); font-size: 14px;}
.scene-selectors button[aria-selected="true"] {border-color: var(--bench); background: var(--surface); color: var(--ink); box-shadow: 0 6px 12px -10px #1f1b1640;}
.scene-selectors button:hover {color: var(--ink);}
.work-scene .scene-window {border: 1px solid var(--bench); border-radius: 13px; background: var(--surface); overflow: hidden; box-shadow: 0 16px 30px -22px #1f1b1650, 0 3px 7px -4px #1f1b1633;}
.scene-window .win-bar {background: var(--ground); height: 44px; border-bottom: 1px solid var(--bench-soft);}
.scene-window .win-body {grid-template-columns: 155px minmax(0, 1fr); min-height: 0;}
.scene-window .rail {grid-area: 1 / 1; display: flex; flex-direction: column; padding: 26px 16px; background: var(--ground); border-right: 1px solid var(--bench-soft);}
.scene-window .rail-brand {margin-bottom: 28px; font-size: 21px;}
.scene-window .rail-item {padding: 0 10px; height: 39px; font-size: 12px; gap: 10px;}
.scene-window .rail-item:nth-last-child(-n+3) {display: none;}
.scene-window .rail-item.is-on {background: var(--sediment); color: var(--ink); border: 0;}
.scene-panel {grid-area: 1 / 2; min-width: 0; padding: 24px 28px 28px; background: var(--surface);}
/* Inactive panels reserve the same footprint, without exposing their contents. */
.scene-panel[hidden] {display: block!important; visibility: hidden; pointer-events: none;}
.scene-heading {min-height: 82px; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 0 0 24px;}
.scene-heading p {font-size: 12px; color: var(--steel); margin-bottom: 5px;}
.scene-heading h3 {font-size: 21px; font-weight: 500; letter-spacing: -.025em; line-height: 1.3;}
.scene-status {flex-shrink: 0; font-size: 11px; padding: 5px 12px; border: 1px solid var(--bench); border-radius: 20px; color: var(--steel);}
.scene-content {display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 32px; align-items: start; min-height: 470px;}
.scene-artifact {min-width: 0; background: var(--ground); box-shadow: 0 18px 32px -24px #1f1b1645; border-radius: 3px; overflow: hidden;}
.scene-email .sample-brand {font-size: 11px; padding: 22px 25px;}
.scene-email .email-picture {min-height: 285px;}
.scene-email .email-picture h3 {font-size: clamp(35px, 4vw, 54px); padding: 30px; font-weight: 400;}
.scene-email .email-preheader {font-size: 13px; padding: 0 25px; margin: 23px 0 18px;}
.scene-email .sample-cta {margin: 0 25px 25px; padding: 10px 16px;}
.scene-context {padding-top: 12px;}
.scene-context-label {font-size: 13px; font-weight: 500;}
.scene-context dl {margin: 23px 0 24px;}
.scene-context dl>div+div {margin-top: 23px;}
.scene-context dt {font-size: 12px; color: var(--steel); margin-bottom: 7px;}
.scene-context dd {font-size: 14px; line-height: 1.65; margin: 0;}
.scene-review {font-size: 12px; color: var(--steel); padding-top: 14px; border-top: 1px solid var(--bench-soft); width: 100%;}
.scene-review-link {display: flex; gap: 14px; justify-content: space-between; align-items: center; min-height: 44px; font-size: 14px; color: var(--ink); text-decoration: none;}
.scene-review-link:hover {color: var(--copper-text);}
.scene-review-link>span {transition: transform 240ms ease;}
.scene-review-link:hover>span {transform: translate(2px,-2px);}
.review-return {margin-top: 20px; min-height: 44px;}
.review-return[hidden] {display: none;}
.workflow-disclosure .demo {scroll-margin-top: 35px;}
.scene-article .sample-article {padding: 36px; min-height: 470px;}
.scene-article .sample-article h3 {font-size: clamp(28px, 2.7vw, 38px); margin-block: 22px 20px;}
.scene-article .sample-article>p:not(.sample-kicker) {font-size: 13px; line-height: 1.6; margin: 0 0 12px;}
.scene-article .sample-article h4 {font-size: 14px; margin: 18px 0 7px;}
.scene-foot {display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 28px;}
.scene-foot p {font-size: 12px; color: var(--steel); line-height: 1.7;}
.scene-foot p>span {display: block; font-size: 12px;}
.scene-foot .text-link {font-size: 13px; white-space: nowrap;}
/* Deeper views are invitations, not additional chapters in the default scroll. */
.work-explorations {position: relative; max-width: 1220px; margin: 12px auto 0;}
.workflow-disclosure>summary,.work-library>summary,.question-disclosure>summary {list-style: none; min-height: 55px; padding: 16px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; cursor: pointer; font-size: 14px; border-bottom: 1px solid var(--bench-soft);}
.workflow-disclosure>summary::-webkit-details-marker,.work-library>summary::-webkit-details-marker,.question-disclosure>summary::-webkit-details-marker {display: none;}
.workflow-disclosure>summary>span,.work-library>summary>span,.question-disclosure>summary>span {font-size: 20px; font-weight: 300;}
.workflow-disclosure[open]>summary>span,.work-library[open]>summary>span,.question-disclosure[open]>summary>span {transform: rotate(45deg);}
.workflow-disclosure>summary,.work-library>summary,.question-disclosure>summary {transition: color 180ms ease;}
.workflow-disclosure>summary>span,.work-library>summary>span,.question-disclosure>summary>span {transition: transform 280ms cubic-bezier(.2,.7,.2,1);}
.workflow-disclosure>summary:hover,.work-library>summary:hover,.question-disclosure>summary:hover {color: var(--copper-text);}
.workflow-disclosure[open]>summary,.work-library[open]>summary {color: var(--ink);}
.home-page .workflow-disclosure .product {border: 0; background: transparent; padding: 30px 0;}
.workflow-disclosure .product>.wrap {width: 100%; max-width: none;}
.workflow-disclosure .product-heading,.workflow-disclosure .product-notes {display: none;}
.sample-library {display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 30px 45px; padding: 35px 0;}
.sample-library .work-card {grid-column: auto;}
.sample-library .work-meta {display: block; font-size: 11px;}
.sample-library .work-meta>span {display: block;}
.sample-library .work-meta>span+span {margin-top: 3px;}
.sample-library .work-caption {display: block; padding-top: 0;}
.sample-library .work-caption>h3 {font-size: 19px; font-weight: 400;}
.sample-library .sample-details>summary {font-size: 12px;}
.sample-library .sample-content {margin: 10px 0 0; padding: 20px;}
.sample-library:has(.sample-details[open]) {grid-template-columns: 1fr;}
/* Human judgment completes the product composition on the same ground. */
.home-page .brand-world {position: relative; overflow: visible; min-height: 0; text-align: center; padding: 56px 0 42px; background: transparent;}
.home-page .brand-world h3 {position: relative; font-size: clamp(25px, 2.8vw, 37px); font-weight: 400; letter-spacing: -.035em; line-height: 1.25; max-width: 100%; margin: 0;}
/* Separate the two existing contours so their cropped canvas edges stay offscreen. */
@media (max-height: 820px) and (min-width: 901px) {
  .home-page .material-copy {padding-top: 95px;}
}
@media (max-width: 1100px) {
  .scene-window .win-body {grid-template-columns: 110px minmax(0,1fr);}
  .scene-window .rail {padding: 25px 9px;}
  .scene-window .rail-item {padding-inline: 7px; gap: 7px; font-size: 11px;}
  .scene-panel {padding: 24px;}
  .scene-content {grid-template-columns: minmax(0,1fr) 160px; gap: 25px;}
  .scene-email .email-picture {min-height: 300px;}
  .scene-context dd {font-size: 12px;}
  .scene-article .sample-article {padding: 30px;}
}
@media (max-width: 850px) {
  .scene-window .win-body {grid-template-columns: 1fr;}
  .scene-window .rail {display: none;}
  .scene-content {grid-template-columns: minmax(0,1fr) 165px;}
  .scene-panel {grid-column: 1; padding: 26px;}
  .scene-email .email-picture h3 {font-size: 43px;}
  .scene-email .email-picture {min-height: 320px;}
  .sample-library {grid-template-columns: repeat(2,minmax(0,1fr));}
}
@media (max-width: 700px) {
  .home-page .material-copy {padding-top: 142px;}
  .home-page .material-support {max-width: 280px;}
  .home-page .work-bridge {margin-top: -35px; padding: 0 0 20px;}
  .scene-title {font-size: 32px; max-width: 260px; margin: 0 auto 22px; line-height: 1.1;}
  .scene-selectors {gap: 0; margin-bottom: 28px;}
  .scene-selectors button {font-size: 13px; padding: 9px 20px;}
  .work-scene .scene-window {border-radius: 10px; box-shadow: 0 12px 24px -20px #1f1b1650;}
  .scene-window .win-bar {height: 40px; padding-inline: 16px;}
  .scene-window .win-tag {font-size: 11px;}
  .scene-panel {padding: 18px;}
  .scene-heading {padding-bottom: 20px; gap: 12px;}
  .scene-heading p {font-size: 11px;}
  .scene-heading h3 {font-size: 17px;}
  .scene-status {padding: 3px 8px; font-size: 11px;}
  .scene-content {display: flex; flex-direction: column; gap: 0; min-height: 0;}
  .scene-context {display: contents;}
  .scene-context-label {display: none;}
  .scene-context dl {order: -1; margin: 0 0 18px;}
  .scene-context dl>div:not(:first-child) {display: none;}
  .scene-context dt {font-size: 11px; margin-bottom: 4px;}
  .scene-context dd {font-size: 13px; line-height: 1.5;}
  .scene-review {margin-top: 18px; min-height: 59px;}
  .scene-review-label {display: flex; min-height: 44px; align-items: center;}
  .scene-email .sample-brand {padding: 20px; font-size: 11px;}
  .scene-email .email-picture {min-height: 255px;}
  .scene-email .email-picture h3 {font-size: 37px; padding: 24px 20px;}
  .scene-email .email-preheader {font-size: 12px; padding-inline: 20px; margin-block: 20px 15px;}
  .scene-email .sample-cta {margin: 0 20px 20px; font-size: 11px;}
  .scene-article .sample-article {min-height: 445px; padding: 26px 22px;}
  .scene-article .sample-article h3 {font-size: 34px; margin-block: 28px 23px;}
  .scene-article .sample-article>p:not(.sample-kicker) {font-size: 14px;}
  .scene-foot {margin-top: 32px; align-items: start; gap: 14px;}
  .scene-foot p {font-size: 12px; max-width: 205px;}
  .scene-foot p>span {font-size: 12px; margin-top: 4px;}
  .scene-foot .text-link {font-size: 12px;}
  .work-explorations {margin-top: 15px;}
  .sample-library {gap: 30px; padding: 25px 0; grid-template-columns: 1fr;}
  .home-page .brand-world {padding: 40px 0 26px;}
  .home-page .brand-world h3 {font-size: 28px; text-align: center; max-width: 290px; margin-inline: auto;}
}
@media (max-width: 360px) {
  .scene-selectors button {padding-inline: 15px;}
  .scene-panel {padding: 13px;}
  .scene-email .email-picture h3 {font-size: 32px;}
  .scene-foot {display: block;}
  .scene-foot p {max-width: none;}
  .scene-foot .text-link {margin-top: 10px;}
}
@media (prefers-reduced-motion: reduce) {
  .scene-panel * {animation: none!important; transition: none!important;}
  .workflow-disclosure>summary>span,.work-library>summary>span,.question-disclosure>summary>span {transition: none;}
}
@keyframes work-arrival {
  from {transform: translateY(8px); opacity: .75;}
  to {transform: translateY(0); opacity: 1;}
}
@media (prefers-reduced-motion: no-preference) {
  .scene-panel.is-arriving .scene-artifact {animation: work-arrival 420ms cubic-bezier(.2,.7,.2,1) both;}
}
:root[data-motion-preference="still"] .scene-panel * {animation: none!important;}

/* Finished artifacts retain their own composition within the product frame. */
.scene-email .email-body {padding-inline: 25px; font-size: 13px; line-height: 1.6;}
.scene-email .email-body + .sample-cta {margin-top: 20px;}
.scene-ads .sample-ad {min-height: 430px; height: auto;}
.scene-ads .sample-ad h3 {font-size: clamp(48px, 4.8vw, 66px);}
.scene-ads .sample-ad .sample-cta {margin-top: 100px;}
.sample-ad .ad-photograph {position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%;}
.sample-ad::after {content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,#1f1b1670,transparent 80%); pointer-events: none;}
.sample-ad .sample-kicker {position: relative; z-index: 2; color: #f5f1e8;}
.ad-copy {padding: 24px 30px; font-size: 14px; line-height: 1.6; background: var(--ground); color: var(--ink);}
.ad-copy p + p {margin-top: 9px;}
.article-continue {display: none;}
.sample-dialog .sample-ad {min-height: 400px; height: auto;}
.sample-dialog .sample-ad .sample-cta {margin-top: 110px;}
@media (max-width: 700px) {
  .scene-heading {align-items: start; flex-direction: column; gap: 10px; min-height: 106px;}
  .scene-article .sample-article>p:not(.sample-kicker) {font-size: 13px;}
  .scene-article .sample-article h3 {font-size: 30px;}
  .scene-article .sample-article {padding-bottom: 10px;}
  .scene-article .sample-article h4:nth-of-type(2),.scene-article .sample-article h4:nth-of-type(2) ~ * {display: none;}
  .article-continue {display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 44px; margin: 0 22px 18px; font-size: 13px; text-underline-offset: 4px;}
  .scene-email .email-body {padding-inline: 20px;}
  .scene-ads .sample-ad {min-height: 350px; padding: 26px;}
  .scene-ads .sample-ad h3 {font-size: 45px;}
  .scene-ads .sample-ad .sample-cta {margin-top: 75px;}
  .ad-copy {padding: 22px; font-size: 13px;}
}
@media (prefers-reduced-motion: reduce) {
  .closing-wing picture {transform: none!important;}
}

/*
 * Cobar marketing layer: roles, scale and the few components the public site
 * really uses. Built only from foundation.css names. Rules: MARKETING-SYSTEM.md.
 *
 * Loaded after the older page styles so these definitions win. When a page
 * section is moved onto the system, delete its local overrides rather than
 * stacking another one on top.
 */

/* ── Roles ─────────────────────────────────────────────────────────────── */
:root {
  /* Ground: paper in light. In dark it is the brand ink, not the app's
   * #1c1917, because every authored ink artwork was lit on #1f1b16. */
  --m-ground: var(--paper);
  --m-raised: var(--bg-card);
  --m-inset: var(--paper-elev);
  --m-fg: var(--ink);
  --m-fg-muted: var(--steel);          /* 5.13:1 light · 6.39:1 dark */
  --m-accent-text: var(--copper-deep); /* 6.51:1 light · 8.07:1 dark */
  --m-line: var(--rule);               /* hairlines: decorative, not a boundary */
  --m-line-soft: var(--rule-soft);
  --m-line-control: #8f8270;           /* control boundary: 3.33:1 (non-text AA) */
  --m-document: var(--brand-paper);    /* sample work is a document in any theme */
  --m-document-fg: var(--brand-ink);

  /* Type: one display, one title, one statement, then reading sizes. */
  --m-display: clamp(52px, 6.6vw, 104px);
  --m-headline: clamp(44px, 5.4vw, 76px); /* the closing invitation; never a second hero */
  --m-title: clamp(32px, 3.4vw, 48px);
  --m-statement: clamp(26px, 2.5vw, 36px);
  --m-heading: 21px;
  --m-lead: 17px;
  --m-body: 16px;
  --m-ui: 14px;
  --m-small: 13px;
  --m-meta: var(--fs-mono);            /* 11px floor, mono, uppercase */
  --m-track-display: -0.06em;
  --m-track-title: -0.045em;
  --m-track-statement: -0.035em;

  /* Space: the foundation's eight steps, plus two marketing steps. */
  --m-space-9: 80px;
  --m-space-10: 120px;
  --m-section: clamp(64px, 8vw, 120px);

  /* Shape */
  --m-r-control: var(--r-1);  /* 3px: buttons, sample documents */
  --m-r-frame: var(--r-3);    /* 6px: product frames */
  --m-r-chip: var(--r-pill);  /* 12px: status chips only */

  /* Depth. Every authored image is lit from the upper left, so CSS shadows
   * fall down and to the right. Two levels only. */
  --m-shadow-frame: 10px 16px 40px -30px rgb(31 27 22 / 0.34);
  --m-shadow-object: 14px 22px 44px -28px rgb(31 27 22 / 0.42),
    2px 3px 6px -3px rgb(31 27 22 / 0.18);

  /* Motion */
  --m-ease: cubic-bezier(0.2, 0.9, 0.3, 1);
  --m-quick: 120ms;
  --m-settle: 420ms;

  /* Older page styles read these names; they now resolve to the roles. */
  --ground: var(--m-ground);
  --surface: var(--m-raised);
  --sediment: var(--m-inset);
  --bench: var(--m-line);
  --bench-soft: var(--m-line-soft);
  --copper-text: var(--m-accent-text);
  --fill: var(--fill-primary);
  --fill-fg: var(--fill-primary-fg);
  --ok: var(--m-accent-text);
  --mark-bar: var(--m-fg);
  --sans: var(--font-sans);
  --mono: var(--font-mono);
  --shadow-lift: var(--m-shadow-object);
  --shadow-card: var(--m-shadow-frame);
}
@media (prefers-color-scheme: dark) {
  :root {
    --m-ground: var(--brand-ink);
    --m-raised: #26211a;
    --m-inset: #2c261f;
    --m-line-control: #7a6d5b;         /* 3.40:1 on the ink ground */
    --m-shadow-frame: 10px 16px 40px -26px rgb(0 0 0 / 0.6);
    --m-shadow-object: 14px 22px 44px -26px rgb(0 0 0 / 0.7),
      2px 3px 6px -3px rgb(0 0 0 / 0.4);
  }
}

/* ── Type roles ────────────────────────────────────────────────────────── */
.m-display {
  font-size: var(--m-display);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: var(--m-track-display);
}
.m-headline {
  font-size: var(--m-headline);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: var(--m-track-title);
}
.m-title {
  font-size: var(--m-title);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: var(--m-track-title);
}
.m-statement {
  font-size: var(--m-statement);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: var(--m-track-statement);
}
.m-lead {
  font-size: var(--m-lead);
  line-height: 1.55;
  text-wrap: pretty;
}
.eyebrow,
.m-meta {
  font-family: var(--font-mono);
  font-size: var(--m-meta);
  letter-spacing: var(--tr-mono);
  text-transform: uppercase;
}

/* ── Controls ──────────────────────────────────────────────────────────── */
/* One primary per view: the brand's filled control, same as the app. */
.button.primary,
.material-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-7);
  min-height: 48px;
  padding: var(--s-4) var(--s-6);
  border: 0;
  border-radius: var(--m-r-control);
  background: var(--fill-primary);
  color: var(--fill-primary-fg);
  font-size: var(--m-ui);
  font-weight: 500;
  text-decoration: none;
  transform: none;
  transition: background-color var(--m-quick) ease-out;
}
.button.primary:hover,
.material-action:hover {
  background: var(--fill-primary-hover);
  color: var(--fill-primary-fg);
  transform: none;
}
.button.primary::after {
  content: "↗";
  font-size: var(--m-ui);
  font-weight: 400;
}
.material-action > span,
.button.primary::after {
  transition: transform var(--m-quick) ease-out;
}
.material-action:hover > span,
.button.primary:hover::after {
  transform: translate(2px, -2px);
}

/* Secondary action: a quiet text link, never a second filled button. */
.text-link {
  gap: var(--s-3);
  border-bottom: 1px solid var(--m-line-control);
  color: var(--m-fg);
  transition: color var(--m-quick) ease-out, border-color var(--m-quick) ease-out;
}
.text-link:hover {
  color: var(--m-accent-text);
  border-color: currentColor;
  text-decoration: none;
}

/* Tabs: selection is an underline, never a filled pill. */
.scene-selectors {
  gap: var(--s-6);
  margin-bottom: var(--s-7);
}
.scene-selectors button,
.scene-selectors button[aria-selected="true"] {
  min-height: 44px;
  padding: 0 var(--s-1);
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--m-fg-muted);
  font-size: var(--m-ui);
  transition: color var(--m-quick) ease-out, border-color var(--m-quick) ease-out;
}
.scene-selectors button:hover {
  color: var(--m-fg);
}
.scene-selectors button[aria-selected="true"] {
  color: var(--m-fg);
  border-bottom-color: currentColor;
}

/* Status chip: the app's pill, outlined, never filled with colour. */
.scene-status {
  border: 1px solid var(--m-line);
  border-radius: var(--m-r-chip);
  padding: var(--s-2) var(--s-4);
  color: var(--m-fg-muted);
  font-size: var(--m-meta);
}

/* ── Product frame ─────────────────────────────────────────────────────── */
/* A recognisable app window: outlined, lit like the artwork, 6px corners. */
.work-scene .scene-window {
  border: 1px solid var(--m-line);
  border-radius: var(--m-r-frame);
  background: var(--m-raised);
  box-shadow: var(--m-shadow-frame);
}
.scene-window .win-bar,
.scene-window .rail {
  background: var(--m-ground);
}
.scene-window .rail-item.is-on {
  background: var(--m-inset);
}
.scene-panel {
  background: var(--m-raised);
}
.scene-heading h3 {
  font-size: var(--m-heading);
  font-weight: 500;
  letter-spacing: -0.02em;
}
/* The work itself is an object resting on the frame. It keeps the theme
 * ground; a piece that is paper by nature (the email) paints its own paper. */
.scene-artifact {
  background: var(--m-ground);
  border-radius: var(--m-r-control);
  box-shadow: var(--m-shadow-object);
}
.scene-context-label {
  font-family: var(--font-mono);
  font-size: var(--m-meta);
  font-weight: 400;
  letter-spacing: var(--tr-mono);
  text-transform: uppercase;
  color: var(--m-fg-muted);
}
.scene-context dt {
  font-size: var(--m-small);
  color: var(--m-fg-muted);
}
.scene-context dd {
  font-size: var(--m-ui);
}
.scene-foot p,
.scene-foot p > span {
  font-size: var(--m-small);
}

/* ── Hero: the material world ──────────────────────────────────────────── */
/* The type sits on clear paper; the terraces sweep beneath the action.
 * Crops were chosen by rendering, not arithmetic: see MARKETING-SYSTEM.md. */
.material-copy h1 {
  font-size: var(--m-display);
  line-height: 0.96;
  letter-spacing: var(--m-track-display);
}
.material-copy .material-support,
.home-page .material-support {
  font-size: var(--m-lead);
  line-height: 1.55;
  max-width: 400px;
  margin-top: var(--s-6);
}
.material-action {
  min-height: 52px;
  margin-top: var(--s-6);
}
@media (min-width: 1001px) {
  .home-page .material-world {
    min-height: max(960px, 72vw);
  }
  .home-page .material-art img {
    object-position: 0% 100%;
  }
  .home-page .material-copy {
    padding-top: 120px;
  }
}
@media (max-width: 700px) {
  .home-page .material-world {
    height: clamp(760px, 230vw, 900px);
    min-height: 0;
    max-height: none;
  }
  .home-page .material-art img {
    object-position: 55% 100%;
  }
  .home-page .material-copy {
    padding: 100px 6% 0;
  }
  .material-copy h1 {
    font-size: clamp(44px, 13.4vw, 68px);
  }
  .material-copy h1 > span:nth-child(2) {
    font-size: 1em;
  }
  .material-copy .material-support,
  .home-page .material-support {
    font-size: var(--m-body);
    max-width: 300px;
  }
  .home-page .work-bridge {
    margin-top: -40px;
  }
}

/* ── Product section ───────────────────────────────────────────────────── */
.scene-title {
  font-size: var(--m-title);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: var(--m-track-title);
  margin-bottom: var(--s-7);
}
/* The principle is one statement; the human half carries the weight. */
.home-page .brand-world h3 {
  font-size: var(--m-statement);
  line-height: 1.2;
  letter-spacing: var(--m-track-statement);
  color: var(--m-fg);
}

/* ── Disclosure ────────────────────────────────────────────────────────── */
/* Optional depth stays one click away: a full-width row, a hairline, a plus
 * that turns into a close mark. Native <details>, so it works without script. */
.m-disclosure > summary,
.workflow-disclosure > summary,
.work-library > summary,
.question-disclosure > summary {
  list-style: none;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--m-line-soft);
  font-size: var(--m-body);
  cursor: pointer;
}
.m-disclosure > summary::-webkit-details-marker {
  display: none;
}
.m-disclosure > summary > span,
.workflow-disclosure > summary > span,
.work-library > summary > span,
.question-disclosure > summary > span {
  font-size: var(--m-heading);
  font-weight: 300;
  transition: transform var(--m-settle) var(--m-ease);
}
.m-disclosure[open] > summary > span {
  transform: rotate(45deg);
}
.m-disclosure > summary:hover {
  color: var(--m-accent-text);
}
@media (prefers-reduced-motion: reduce) {
  .m-disclosure > summary > span {
    transition: none;
  }
}

/* ── Link row ──────────────────────────────────────────────────────────── */
/* A destination shown as a row, so it lines up with the disclosures around it. */
.m-row {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--m-line-soft);
  font-size: var(--m-body);
  text-decoration: none;
  color: var(--m-fg);
}
.m-row-action {
  display: inline-flex;
  gap: var(--s-3);
  font-size: var(--m-ui);
  color: var(--m-fg-muted);
  transition: color var(--m-quick) ease-out;
}
.m-row:hover .m-row-action {
  color: var(--m-accent-text);
}

/* ── Closing: the clearing ─────────────────────────────────────────────── */
/* A distinct authored scene frames one invitation. The proof line belongs
 * to the action it supports, so it sits directly beneath it. */
.home-page .closing {
  position: relative;
  overflow: clip;
  display: flex;
  align-items: center;
  min-height: clamp(640px, 47vw, 940px);
  padding: var(--m-space-9) 0 var(--m-space-10);
  background: var(--m-ground);
  text-align: center;
}
.closing > .wrap {
  position: relative;
  z-index: 1;
}
.home-page .closing h2 {
  font-size: var(--m-headline);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: var(--m-track-title);
}
.closing-actions {
  display: flex;
  justify-content: center;
  margin-top: var(--s-7);
}
.closing-proof {
  margin: var(--s-5) auto 0;
  max-width: 34ch;
  font-size: var(--m-small);
  line-height: 1.55;
  color: var(--m-fg-muted);
}
.home-page .closing-art {
  position: absolute;
  inset: 0;
  opacity: 1;
  pointer-events: none;
}
.closing-art picture,
.closing-art img {
  display: block;
  width: 100%;
  height: 100%;
}
.closing-art img {
  object-fit: contain;
}
/* Two halves of one clearing image, pushed apart so their cut edges stay offscreen. */
.closing-wing {
  position: absolute;
  width: max(1600px, calc(100vw + 120px));
  aspect-ratio: 3 / 2;
}
.closing-wing-left {
  left: min(-220px, calc(40vw - 816px));
  bottom: 0;
  clip-path: inset(0 50% 0 0);
}
.closing-wing-right {
  right: min(-60px, calc(50vw - 740px));
  bottom: clamp(-330px, -17vw, -200px);
  clip-path: inset(0 0 0 50%);
}

/* ── End matter: data, questions, place ────────────────────────────────── */
/* One column on the product's measure, rows like the disclosures above. */
.end-matter {
  max-width: 1220px;
  padding-block: var(--s-8) var(--m-space-9);
}
.end-matter > .m-row {
  border-top: 1px solid var(--m-line-soft);
}
/* What Cobar is and how it uses Google data. Plain text, open on the page, so a
 * reader (and Google's brand review) never has to click to find the purpose. It
 * borrows the security page's detail section, so it takes that page's measures. */
.purpose-detail {
  padding-bottom: var(--s-6);
}
.purpose-detail ul {
  margin: 0 0 var(--s-5);
  padding-left: var(--s-6);
}
.purpose-detail li {
  font-size: var(--m-body);
  line-height: 1.65;
}
.purpose-detail li + li {
  margin-top: var(--s-3);
}
.purpose-detail strong {
  font-weight: 500;
}
.question-disclosure .faq-list {
  padding-bottom: var(--s-4);
}
.faq-list details {
  border-bottom: 1px solid var(--m-line-soft);
  margin-left: var(--s-7);
}
.faq-list details:last-child {
  border-bottom: 0;
}
.faq-list summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: var(--s-6);
  min-height: 52px;
  align-items: center;
  font-size: var(--m-ui);
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary span {
  font-size: var(--m-body);
  transition: transform var(--m-settle) var(--m-ease);
}
.faq-list details[open] summary span {
  transform: rotate(45deg);
}
.faq-list details > p {
  padding: 0 var(--s-7) var(--s-5) 0;
  font-size: var(--m-ui);
  line-height: 1.7;
  color: var(--m-fg-muted);
}
.place-colophon {
  margin-top: var(--s-6);
  font-size: var(--m-small);
  color: var(--m-fg-muted);
}
.place-colophon a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--m-fg);
  text-decoration-color: var(--m-line-control);
}
.place-colophon a:hover {
  color: var(--m-accent-text);
}

@media (max-width: 1100px) {
  .closing-wing {
    width: 1100px;
  }
  .closing-wing-left {
    left: -220px;
    bottom: 0;
  }
  .closing-wing-right {
    right: -220px;
    bottom: 0;
  }
}
@media (max-width: 700px) {
  .home-page .closing {
    align-items: start;
    min-height: 700px;
    padding: var(--s-8) 0 360px;
  }
  .home-page .closing-art {
    inset: 300px 0 0;
  }
  .closing-wing {
    width: 900px;
  }
  .closing-wing-left {
    left: -260px;
    bottom: 0;
  }
  .closing-wing-right {
    right: -140px;
    bottom: -60px;
  }
  .end-matter {
    padding-block: var(--s-7) var(--s-8);
  }
  .faq-list details {
    margin-left: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .faq-list summary span {
    transition: none;
  }
}

/* ── Masthead (every page) ─────────────────────────────────────────────── */
/* Menu at the left, the mark centred, Sign in at the right. Transparent over
 * the homepage artwork; a quiet sticky bar with a hairline on inner pages. */
.cinematic-header .header-inner {
  width: 91.6%;
  max-width: none;
  height: 90px;
}
.cinematic-header .brand {
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -1.8px;
}
.cinematic-header .brand svg {
  width: 32px;
  height: 32px;
}
.cinematic-header .menu-button {
  font-size: var(--m-small);
}
.cinematic-header .menu-button::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 8px;
  margin-right: 14px;
  border-block: 1px solid currentColor;
}
.cinematic-header .sign-in::after {
  content: "↗";
  margin-left: 16px;
}
.inner-page .cinematic-header {
  position: sticky;
  top: 0;
  background: var(--m-ground);
  border-bottom: 1px solid var(--m-line-soft);
}
@media (max-width: 700px) {
  .cinematic-header .header-inner {
    width: 88%;
    height: 76px;
  }
  .cinematic-header .brand {
    font-size: 29px;
    gap: 6px;
    letter-spacing: -1.4px;
  }
  .cinematic-header .brand svg {
    width: 26px;
    height: 26px;
  }
  .cinematic-header .menu-button,
  .cinematic-header .sign-in {
    font-size: 12px;
  }
  .cinematic-header .menu-button::before {
    display: none;
  }
  .cinematic-header .sign-in::after {
    margin-left: 9px;
  }
}

/* ── Inner pages: title block ──────────────────────────────────────────── */
/* Security, privacy, terms and 404 open the same way: meta label, headline,
 * lead, then status. The headline role is shared with the closing. */
.inner-page,
.purpose-detail {
  --m-aside: 240px;
  --m-aside-gap: var(--m-space-9);
  --m-measure: 68ch;
}
.legal-hero {
  padding-block: var(--m-space-9) var(--s-8);
}
.legal-hero h1 {
  margin: var(--s-5) 0 var(--s-6);
  font-size: var(--m-headline);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: var(--m-track-title);
}
.lede {
  max-width: 60ch;
  font-size: var(--m-lead);
  line-height: 1.6;
  text-wrap: pretty;
}
.legal-hero .mono {
  margin-top: var(--s-6);
  color: var(--m-fg-muted);
}
/* Review status is a notice, not a card: outlined, no colour edge. */
.draft-notice {
  max-width: var(--m-measure);
  margin-top: var(--s-6);
  padding: var(--s-5) var(--s-6);
  background: var(--m-raised);
  border: 1px solid var(--m-line);
  border-radius: var(--m-r-control);
}
.draft-notice strong {
  font-size: var(--m-ui);
  font-weight: 500;
}
.draft-notice p {
  margin-top: var(--s-2);
  font-size: var(--m-small);
  color: var(--m-fg-muted);
}

/* ── Legal documents ───────────────────────────────────────────────────── */
/* A contents column and one reading column on a fixed measure. */
.legal-layout {
  display: grid;
  grid-template-columns: var(--m-aside) minmax(0, 1fr);
  column-gap: var(--m-aside-gap);
  padding-bottom: var(--m-space-9);
}
.legal-toc > summary {
  display: none;
}
.legal-toc nav {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  padding-top: var(--s-6);
}
.legal-toc nav a {
  display: flex;
  align-items: center;
  min-height: 36px;
  font-size: var(--m-small);
  color: var(--m-fg-muted);
  text-decoration: none;
}
.legal-toc nav a:hover {
  color: var(--m-accent-text);
}
.legal-content section {
  padding: var(--s-7) 0 var(--s-5);
  border-top: 1px solid var(--m-line-soft);
}
.legal-content h2 {
  margin-bottom: var(--s-5);
  font-size: var(--m-heading);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.legal-content p,
.legal-content li {
  max-width: var(--m-measure);
  font-size: var(--m-body);
  line-height: 1.65;
}
.legal-content p {
  margin-bottom: var(--s-5);
}
.legal-content ul {
  margin: 0 0 var(--s-5);
  padding-left: var(--s-6);
}
.legal-content li + li {
  margin-top: var(--s-3);
}
/* Links inside running text stay inline, so lines never jump. */
.legal-content a,
.security-detail p a {
  color: inherit;
  text-decoration-color: var(--m-line-control);
  text-underline-offset: 4px;
}
.legal-content a:hover,
.security-detail p a:hover {
  color: var(--m-accent-text);
  text-decoration-color: currentColor;
}
/* Fields awaiting a legal decision: visible on purpose until publication. */
.ph {
  padding: 1px 4px;
  background: var(--copper-wash);
  outline: 1px solid var(--copper-pale);
  border-radius: 2px;
  color: var(--m-accent-text);
}

/* ── Security page ─────────────────────────────────────────────────────── */
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-7) var(--s-8);
  padding-bottom: var(--m-space-9);
}
.security-grid article {
  padding-top: var(--s-6);
  border-top: 1px solid var(--m-line-soft);
}
.security-grid .icon {
  margin-bottom: var(--s-5);
  color: var(--m-accent-text);
}
.security-grid h2 {
  margin-bottom: var(--s-4);
  font-size: var(--m-heading);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.security-grid p {
  font-size: var(--m-ui);
  line-height: 1.65;
  color: var(--m-fg-muted);
}
/* Detail sections share the legal grid: the heading in the aside column. */
.security-detail {
  padding-bottom: var(--m-space-9);
}
.security-detail section {
  display: grid;
  grid-template-columns: var(--m-aside) minmax(0, 1fr);
  column-gap: var(--m-aside-gap);
  align-items: start;
  padding: var(--s-7) 0 var(--s-5);
  border-top: 1px solid var(--m-line-soft);
}
.security-detail section > h2 {
  grid-column: 1;
  grid-row: 1 / span 12;
  font-size: var(--m-heading);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.security-detail section > :not(h2) {
  grid-column: 2;
  max-width: var(--m-measure);
}
.security-detail p {
  margin-bottom: var(--s-5);
  font-size: var(--m-body);
  line-height: 1.65;
}
.security-detail > p {
  padding: var(--s-6) 0 0 calc(var(--m-aside) + var(--m-aside-gap));
  border-top: 1px solid var(--m-line-soft);
  max-width: none;
  color: var(--m-fg-muted);
}
.security-detail section > a {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  justify-self: start;
  min-height: 44px;
  margin-bottom: var(--s-5);
  border-bottom: 1px solid var(--m-line-control);
  font-size: var(--m-ui);
  text-decoration: none;
}
.security-detail section > a:hover {
  color: var(--m-accent-text);
  border-color: currentColor;
}
.security-detail dl {
  margin: 0 0 var(--s-5);
}
.security-detail dl > div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: var(--s-6);
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--m-line-soft);
  font-size: var(--m-ui);
}
.security-detail dt {
  font-weight: 500;
}
.security-detail dd {
  margin: 0;
  color: var(--m-fg-muted);
}

@media (max-width: 1100px) {
  .inner-page,
  .purpose-detail {
    --m-aside: 180px;
    --m-aside-gap: var(--s-8);
  }
  .security-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .legal-hero {
    padding-block: var(--s-8) var(--s-7);
  }
  .legal-layout,
  .security-detail section {
    grid-template-columns: minmax(0, 1fr);
  }
  .legal-toc {
    margin-bottom: var(--s-6);
  }
  .legal-toc > summary {
    display: flex;
    border-top: 1px solid var(--m-line-soft);
  }
  .legal-toc nav {
    position: static;
    padding: var(--s-3) 0 var(--s-5);
  }
  .legal-toc nav a {
    min-height: 44px;
    font-size: var(--m-ui);
  }
  .security-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s-6);
  }
  .security-detail section > h2 {
    grid-row: auto;
    margin-bottom: var(--s-5);
  }
  .security-detail section > :not(h2) {
    grid-column: 1;
  }
  .security-detail > p {
    padding-left: 0;
  }
  .security-detail dl > div {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: var(--s-4);
  }
}

/* ── Footer (every page) ───────────────────────────────────────────────── */
/* The same lockup as the masthead, the tagline, then three link columns on
 * a regular grid. A soft hairline separates it from the page. */
.site-footer {
  padding-block: var(--s-8) var(--s-6);
  border-top: 1px solid var(--m-line-soft);
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: var(--s-8);
  padding-bottom: var(--s-8);
}
.site-footer .brand {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -1.5px;
}
.site-footer .brand svg {
  width: 28px;
  height: 28px;
}
.footer-top > div > p {
  margin-top: var(--s-4);
  font-size: var(--m-small);
  color: var(--m-fg-muted);
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-6);
}
.footer-links .eyebrow {
  margin-bottom: var(--s-3);
  color: var(--m-fg-muted);
}
.footer-links a {
  display: flex;
  align-items: center;
  width: fit-content;
  min-height: 36px;
  font-size: var(--m-ui);
  text-decoration: none;
  color: var(--m-fg);
  transition: color var(--m-quick) ease-out;
}
.footer-links a:hover,
.footer-bottom a:hover {
  color: var(--m-accent-text);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid var(--m-line-soft);
  font-size: var(--m-small);
  color: var(--m-fg-muted);
}
.footer-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  transition: color var(--m-quick) ease-out;
}
@media (max-width: 1100px) {
  .footer-top {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s-7);
  }
}
@media (max-width: 700px) {
  .site-footer {
    padding-top: var(--s-7);
  }
  .site-footer .brand {
    font-size: 27px;
    letter-spacing: -1.3px;
  }
  .site-footer .brand svg {
    width: 24px;
    height: 24px;
  }
  .footer-top {
    padding-bottom: var(--s-7);
  }
  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: var(--s-6);
  }
  .footer-links a {
    min-height: 44px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
}
