:root {
  color-scheme: light;
  --paper: #fbfefd;
  --wash: #eef7f5;
  --wash-strong: #e2f1ef;
  --surface: #ffffff;
  --surface-warm: #fff6ef;
  --ink: #1f2a2d;
  --muted: #587073;
  --soft: #dcece8;
  --line: #cfe2df;
  --accent: #0b7480;
  --accent-dark: #075a63;
  --rose: #a85b58;
  --gold: #a97742;
  --shadow: 0 22px 58px rgba(42, 87, 90, 0.14);
  --shadow-soft: 0 14px 34px rgba(42, 87, 90, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11, 116, 128, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(169, 119, 66, 0.045) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 62%);
}

a {
  color: var(--accent-dark);
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--rose);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(11, 116, 128, 0.34);
  outline-offset: 3px;
}

img {
  max-width: 100%;
}

.site-header,
.site-footer,
main {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.workbench-page main {
  width: min(1800px, calc(100% - clamp(24px, 4vw, 72px)));
}

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 18px;
}

.brand {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 850;
  text-decoration: none;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}

nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 760;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--ink);
}

main {
  position: relative;
  z-index: 1;
}

h1,
h2,
h3,
p,
li,
a,
span {
  overflow-wrap: anywhere;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 850px;
  font-size: clamp(2.5rem, 5.6vw, 5rem);
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.65rem);
}

h3 {
  font-size: 1.18rem;
}

p {
  margin: 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.lede {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
}

.note {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--rose);
  font-weight: 740;
}

.catalog-hero {
  max-width: 810px;
  padding: 76px 0 62px;
}

.section {
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 26px;
}

.section-heading .eyebrow {
  margin: 0;
}

.app-card {
  display: grid;
  gap: 22px;
  padding: clamp(18px, 3vw, 28px);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.app-card-main {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  color: var(--ink);
  text-decoration: none;
}

.app-card-main img,
.app-lockup img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22%;
  box-shadow: 0 18px 46px rgba(11, 116, 128, 0.18);
}

.app-card-main .app-card-preview {
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
  object-position: left top;
}

.card-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.card-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 850;
  line-height: 1;
}

.card-description {
  display: block;
  max-width: 760px;
  margin-top: 10px;
  color: var(--muted);
}

.app-card-links,
.actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.colour-of-day-mini {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
}

.colour-of-day-swatch {
  display: block;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(31, 42, 45, 0.24);
  border-radius: 11px;
}

.colour-of-day-mini small,
.colour-of-day-mini em {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-style: normal;
}

.colour-of-day-mini strong { display: block; }
.colour-of-day-mini a { font-weight: 760; }
.colour-of-day-feature { max-width: 760px; margin-inline: auto; }

.colour-sheet-controls {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) repeat(2, minmax(150px, auto)) auto;
  align-items: end;
  gap: 14px;
  margin-bottom: 24px;
}

.colour-sheet-controls label { display: grid; gap: 6px; font-weight: 760; }
.colour-sheet-controls input, .colour-sheet-controls select { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font: inherit; }
.colour-sheet-controls span { color: var(--muted); font-weight: 700; }
.colour-sheet { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.colour-sheet-entry { display: grid; gap: 6px; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.colour-sheet-swatch { display: block; height: 116px; border: 1px solid rgba(31, 42, 45, 0.22); border-radius: 7px; }
.colour-sheet-entry span, .colour-sheet-entry small { color: var(--muted); font-size: 0.82rem; }
.css-reference { position: relative; display: inline-flex; align-items: center; gap: 7px; cursor: help; }
.css-reference i { width: 14px; height: 14px; flex: 0 0 14px; border: 1px solid rgba(31, 42, 45, 0.28); border-radius: 50%; }
.css-reference b { display: inline-grid; width: 16px; height: 16px; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: 0.68rem; }
.css-reference-tooltip { position: absolute; z-index: 4; bottom: calc(100% + 9px); left: 0; display: none; width: min(330px, 76vw); padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink) !important; box-shadow: var(--shadow-soft); font-size: 0.76rem !important; line-height: 1.4; }
.css-reference-tooltip strong { display: block; margin-bottom: 3px; color: var(--ink); }
.css-reference-method { display: block; color: var(--muted) !important; }
.css-reference-neighbours { display: grid; gap: 4px; margin-top: 8px; }
.css-reference-neighbours span { display: flex; align-items: center; gap: 6px; color: var(--ink) !important; }
.css-reference-neighbours i { width: 12px; height: 12px; flex: 0 0 12px; }
.css-reference-neighbours code { color: var(--muted); font-size: 0.72rem; }
.css-reference:hover .css-reference-tooltip, .css-reference:focus .css-reference-tooltip { display: block; }

@media (max-width: 600px) {
  .colour-of-day-mini { grid-template-columns: 42px minmax(0, 1fr); }
  .colour-of-day-mini a { grid-column: 1 / -1; }
  .colour-of-day-swatch { width: 42px; height: 42px; }
  .colour-sheet-controls { grid-template-columns: 1fr; align-items: start; }
}

.app-card-links a,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 760;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.button,
.button.active {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(7, 90, 99, 0.16);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--line);
  color: var(--accent-dark);
  box-shadow: none;
}

.button:hover,
.app-card-links a:hover {
  background: var(--rose);
  border-color: var(--rose);
  color: #ffffff;
  transform: translateY(-1px);
}

.button.secondary:hover {
  background: var(--wash);
  border-color: var(--accent);
  color: var(--accent-dark);
}

.store-badges {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.availability-badge-group {
  display: inline-grid;
  gap: 6px;
  justify-items: start;
}

.review-status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border: 1px solid rgba(169, 119, 66, 0.32);
  border-radius: 999px;
  background: rgba(255, 246, 239, 0.9);
  color: #7c4d1f;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 176px;
  min-height: 52px;
  padding: 8px 14px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 6px;
  background: #101515;
  color: #ffffff;
  font-weight: 780;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(31, 42, 45, 0.16);
  transition: filter 180ms ease, transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

a.store-badge:hover,
a.store-badge:focus,
button.store-badge:hover,
button.store-badge:focus {
  color: #ffffff;
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.download-badge-button {
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.page-pill-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.page-pill-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--accent-dark);
  font-size: 0.88rem;
  font-weight: 820;
  text-decoration: none;
}

.page-pill-links a:hover,
.page-pill-links a:focus-visible {
  border-color: rgba(11, 116, 128, 0.34);
  background: var(--wash);
}

.store-badge.app-store-badge {
  opacity: 1;
}

.store-badge[aria-disabled="true"] {
  opacity: 0.84;
}

.store-badge.testflight-badge {
  background: #114c7d;
  border-color: #0d3d65;
}

.store-badge.desktop-badge {
  background: #24323f;
  border-color: #18242e;
}

.store-badge.stable-badge {
  background: #426643;
  border-color: #335433;
}

.store-badge.docker-badge {
  background: #0f6674;
  border-color: #0b5260;
}

.store-badge svg,
.store-badge-icon {
  width: 22px;
  height: 22px;
  max-width: 22px;
  max-height: 22px;
  flex: 0 0 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.store-badge .apple-icon {
  fill: currentColor;
  stroke: none;
}

.store-badge span {
  display: grid;
  gap: 1px;
  min-width: 0;
  line-height: 1;
}

.store-badge small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.68rem;
  font-weight: 700;
}

.store-badge strong {
  color: #ffffff;
  font-size: 1.08rem;
  font-weight: 850;
}

.app-hero,
.document-hero {
  position: relative;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.app-hero {
  min-height: min(760px, calc(100vh - 90px));
  padding: clamp(58px, 8vw, 90px) 0 clamp(58px, 8vw, 84px);
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
  align-items: center;
  gap: clamp(26px, 5vw, 72px);
}

.document-hero {
  padding: clamp(46px, 7vw, 76px) 0 42px;
}

.hero-artwork {
  position: absolute;
  top: 8%;
  right: -20px;
  width: min(46vw, 580px);
  min-width: 340px;
  height: auto;
  opacity: 0.28;
  filter: saturate(1.05);
}

.hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.hero-copy .actions,
.document-hero .actions {
  margin-top: 14px;
}

.app-lockup {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
}

.compact-lockup {
  grid-template-columns: 74px minmax(0, 1fr);
}

.app-lockup .eyebrow {
  margin-bottom: 10px;
}

.hero-phone {
  position: relative;
  z-index: 1;
  width: min(300px, 100%);
  transform: rotate(1.5deg);
}

.workbench-hero {
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1fr);
  min-height: auto;
  padding: clamp(42px, 5vw, 68px) 0 clamp(34px, 5vw, 54px);
}

.workbench-hero .app-lockup {
  grid-template-columns: clamp(112px, 11vw, 148px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 3vw, 28px);
}

.workbench-hero h1 {
  max-width: 900px;
  font-size: clamp(3rem, 5.4vw, 5.5rem);
  line-height: 0.96;
  overflow-wrap: normal;
  word-break: normal;
}

.workbench-hero .hero-pitch {
  max-width: 760px;
  margin-top: clamp(12px, 1.6vw, 20px);
  color: var(--ink);
  font-size: clamp(1.45rem, 2.25vw, 2.15rem);
  font-weight: 780;
  line-height: 1.16;
}

.workbench-mark {
  align-self: start;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  margin-top: clamp(34px, 3vw, 44px);
  border: 1px solid rgba(11, 116, 128, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  color: #ffffff;
  box-shadow: 0 18px 46px rgba(31, 42, 45, 0.2);
  overflow: hidden;
}

.workbench-mark img {
  display: block;
  width: 92%;
  height: 92%;
  object-fit: contain;
}

.desktop-frame {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 8px;
  border: 1px solid rgba(207, 226, 223, 0.95);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.desktop-frame > img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 7px;
  background: #f7fbfa;
}

.hero-desktop {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  transform: rotate(0.7deg);
}

.screenshot-desktop {
  width: min(620px, 100%);
  justify-self: end;
}

.screenshot-desktop figcaption {
  padding: 0 4px 4px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 720;
  text-align: center;
}

.download-warning-note {
  max-width: 620px;
  margin: 14px 0 0;
  color: #6d302d;
  font-size: 0.96rem;
  font-weight: 780;
}

.feature-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 50px);
  align-items: start;
  padding-top: 8px;
}

.section-index {
  position: sticky;
  top: 16px;
  z-index: 3;
  padding: 16px 12px;
  max-height: calc(100vh - 32px);
  overflow: auto;
  border: 1px solid rgba(207, 226, 223, 0.84);
  border-radius: 12px;
  background: rgba(251, 254, 253, 0.82);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.section-index nav {
  display: grid;
  gap: 8px;
  justify-content: stretch;
}

.section-index a {
  display: block;
  padding: 9px 10px;
  border-left: 3px solid transparent;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 760;
  overflow-wrap: normal;
  text-decoration: none;
  white-space: nowrap;
  word-break: keep-all;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.section-index a:hover,
.section-index a:focus-visible {
  border-left-color: var(--accent);
  color: var(--ink);
  background: var(--wash);
}

.feature-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 5vw, 46px);
  min-width: 0;
  padding-bottom: clamp(36px, 7vw, 76px);
}

.story-block {
  position: relative;
  padding: clamp(34px, 5vw, 58px) clamp(18px, 3.5vw, 34px);
  border: 1px solid rgba(207, 226, 223, 0.72);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.93), rgba(238, 247, 245, 0.62)),
    radial-gradient(circle at 92% 8%, rgba(168, 91, 88, 0.08), transparent 36%);
  box-shadow: var(--shadow-soft);
}

.split-block {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.72fr);
  align-items: start;
  gap: clamp(22px, 4vw, 42px);
}

.story-block p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.03rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.workflow-card,
.trust-banner,
.future-screenshots article {
  --hover-lift: 0px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 38px rgba(42, 87, 90, 0.09);
  transform: translateY(var(--hover-lift));
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.feature-card {
  position: relative;
  display: grid;
  align-content: start;
  min-width: 0;
  min-height: 188px;
  width: 100%;
  padding: 20px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.82) 58%, rgba(238, 247, 245, 0.7)),
    var(--surface);
}

.feature-card::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -24px;
  width: 58%;
  aspect-ratio: 1;
  background-image: var(--feature-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.22;
  filter: saturate(0.95);
  pointer-events: none;
}

.feature-card:hover,
.workflow-card:hover,
.trust-banner:hover {
  --hover-lift: -2px;
  border-color: rgba(11, 116, 128, 0.26);
  box-shadow: 0 18px 44px rgba(42, 87, 90, 0.14);
}

.feature-icon {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--wash-strong);
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.feature-card h3,
.workflow-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
}

.feature-card p,
.workflow-card p,
.trust-banner span,
.future-screenshots span {
  position: relative;
  z-index: 1;
  color: var(--muted);
}

.section-kicker {
  max-width: 850px;
  margin-top: 12px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
}

.feature-grid-visual {
  align-items: stretch;
  grid-template-columns: 1fr;
}

.visual-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto minmax(0, 1fr);
  align-items: start;
  gap: 0;
  min-width: 0;
  min-height: 0;
  width: 100%;
  padding: clamp(22px, 3vw, 30px);
}

.visual-feature > * {
  min-width: 0;
}

.visual-feature::after {
  display: none;
}

.visual-feature p {
  margin-bottom: 8px;
}

.visual-feature .feature-carousel {
  grid-column: 1;
  grid-row: auto;
  align-self: start;
  width: 100%;
  height: clamp(460px, 46vw, 690px);
  margin-top: 16px;
}

.visual-feature .carousel-viewport {
  height: 100%;
}

.visual-feature .carousel-slide:not([hidden]) {
  display: grid;
  grid-template-rows: minmax(0, 1fr) 48px;
  height: 100%;
}

.visual-feature .carousel-slide img {
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
}

.visual-feature .carousel-slide figcaption {
  display: flex;
  align-items: center;
}

.license-actions {
  margin-top: 18px;
}

.feature-pullquote {
  margin: 2px 0 12px;
  padding: 10px 12px;
  border-left: 3px solid var(--accent);
  background: rgba(255, 246, 239, 0.78);
  color: var(--accent-dark);
  font-size: 0.92rem;
  font-weight: 850;
}

.license-duck-art {
  position: relative;
  display: inline-grid;
  grid-template-columns: minmax(104px, 148px) minmax(0, max-content);
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: 100%;
  margin-top: clamp(22px, 5vw, 48px);
  padding: 10px 12px;
  border: 1px solid rgba(180, 207, 203, 0.72);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.68);
}

.license-duck-art img {
  grid-row: 1 / span 2;
  width: 100%;
  height: auto;
  opacity: 0.94;
}

.license-duck-art span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid rgba(180, 207, 203, 0.96);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 10px 22px rgba(31, 42, 45, 0.08);
}

.license-duck-art span:nth-of-type(1) {
  grid-column: 2;
  grid-row: 1;
}

.license-duck-art span:nth-of-type(2) {
  grid-column: 2;
  grid-row: 2;
}

.feature-carousel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.workflow-carousel {
  align-self: stretch;
  width: min(980px, 100%);
  min-height: clamp(350px, 35vw, 430px);
  justify-self: end;
}

.carousel-viewport {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(180, 207, 203, 0.95);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88), 0 12px 28px rgba(31, 42, 45, 0.08);
}

.carousel-slide {
  margin: 0;
}

.carousel-slide[hidden] {
  display: none;
}

.carousel-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  object-position: top center;
}

.workflow-carousel .carousel-slide img {
  object-position: var(--workflow-object-position, top left);
}

.workflow-carousel .carousel-viewport {
  height: 100%;
}

.workflow-carousel .carousel-slide:not([hidden]) {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  height: 100%;
}

.workflow-carousel .carousel-slide img {
  height: 100%;
  aspect-ratio: auto;
  transform: scale(var(--workflow-image-zoom, 1));
  transform-origin: var(--workflow-image-origin, center);
}

.workflow-carousel .carousel-slide figcaption {
  position: relative;
  z-index: 1;
}

.workflow-focus-trace {
  --workflow-image-zoom: 1.18;
  --workflow-image-origin: 55% 45%;
}

.workflow-focus-agent {
  --workflow-image-zoom: 1.14;
  --workflow-image-origin: 52% 44%;
}

.workflow-focus-backlog {
  --workflow-image-zoom: 1.32;
  --workflow-image-origin: 50% 48%;
}

.workflow-focus-kanban {
  --workflow-image-zoom: 1.28;
  --workflow-image-origin: 50% 46%;
}

.workflow-focus-call {
  --workflow-image-zoom: 1.16;
  --workflow-image-origin: 55% 45%;
}

.workflow-focus-pr {
  --workflow-image-zoom: 1.12;
  --workflow-image-origin: 53% 44%;
}

.ai-demo-slide {
  background: #f8fbfa;
}

.ai-demo {
  display: grid;
  grid-template-rows: auto 1fr;
  aspect-ratio: 16 / 9;
  min-height: 360px;
  padding: clamp(16px, 2.4vw, 30px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(238, 247, 245, 0.68)),
    #f8fbfa;
}

.ai-demo-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ai-demo-topbar span:last-child {
  padding: 7px 10px;
  border: 1px solid rgba(207, 226, 223, 0.95);
  border-radius: 999px;
  background: #ffffff;
  color: var(--muted);
  text-transform: none;
}

.ai-chat {
  display: grid;
  align-content: center;
  gap: 18px;
  min-height: 0;
}

.ai-message {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  max-width: 92%;
}

.assistant-message {
  max-width: 100%;
}

.ai-avatar {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--accent-dark);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
}

.user-message .ai-avatar {
  background: #587073;
}

.ai-message > div {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(207, 226, 223, 0.9);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(31, 42, 45, 0.08);
}

.assistant-message > div {
  border-color: rgba(199, 117, 67, 0.32);
  background: #fffaf6;
}

.ai-message strong {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 0.86rem;
}

.ai-message p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.9rem, 1.25vw, 1rem);
}

.compact-demo {
  padding: clamp(14px, 2vw, 22px);
}

.visual-feature .ai-demo,
.visual-feature .demo-screen {
  min-height: 0;
  height: 100%;
  aspect-ratio: auto;
  padding: 12px;
}

.visual-feature .mini-app-chrome {
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.66rem;
}

.visual-feature .mini-app-chrome span:last-child {
  padding: 4px 8px;
}

.visual-feature .scanner-recommendations {
  gap: 8px;
}

.visual-feature .scanner-recommendations article {
  padding: 8px;
}

.visual-feature .scanner-recommendations p {
  font-size: 0.68rem;
  line-height: 1.28;
}

.visual-feature .scanner-recommendations b {
  margin-bottom: 5px;
  font-size: 0.68rem;
}

.visual-feature .ai-chat {
  gap: 10px;
}

.visual-feature .ai-message {
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 8px;
}

.visual-feature .ai-avatar {
  width: 32px;
  height: 32px;
}

.visual-feature .ai-message > div {
  padding: 8px;
}

.visual-feature .ai-message strong {
  margin-bottom: 4px;
  font-size: 0.7rem;
}

.visual-feature .ai-message p {
  font-size: 0.68rem;
  line-height: 1.25;
}

.visual-feature .compact-demo .ai-demo-topbar {
  margin-bottom: 8px;
  font-size: 0.66rem;
}

.visual-feature .ai-evidence-grid,
.visual-feature .ai-timeline {
  gap: 7px;
  margin-top: 9px;
}

.visual-feature .ai-evidence-grid span,
.visual-feature .ai-timeline span {
  padding: 6px;
  font-size: 0.62rem;
  line-height: 1.2;
}

.demo-screen {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  aspect-ratio: 16 / 9;
  min-height: 360px;
  padding: clamp(16px, 2.4vw, 28px);
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(238, 247, 245, 0.72)),
    #f8fbfa;
}

.mini-app-chrome {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mini-app-chrome span:last-child {
  padding: 6px 10px;
  border: 1px solid rgba(207, 226, 223, 0.9);
  border-radius: 999px;
  background: #ffffff;
  color: var(--muted);
  text-transform: none;
}

.scanner-recommendations,
.report-grid {
  display: grid;
  gap: 12px;
  min-height: 0;
}

.scanner-recommendations article,
.report-chart,
.report-table {
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(207, 226, 223, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(31, 42, 45, 0.06);
}

.report-grid h4 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 0.8rem;
}

.scanner-recommendations p,
.report-chart p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.scanner-recommendations {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: center;
}

.scanner-recommendations b {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

.scanner-recommendations .risk-high {
  border-color: rgba(168, 91, 88, 0.34);
  background: #fff6ef;
}

.trace-node-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-content: center;
  gap: 12px 18px;
}

.trace-node-map::before {
  content: "";
  position: absolute;
  inset: 18% 7%;
  background:
    linear-gradient(38deg, transparent 48%, rgba(88, 112, 115, 0.28) 49%, rgba(88, 112, 115, 0.28) 51%, transparent 52%),
    linear-gradient(-24deg, transparent 48%, rgba(199, 117, 67, 0.24) 49%, rgba(199, 117, 67, 0.24) 51%, transparent 52%);
  pointer-events: none;
}

.node {
  position: relative;
  z-index: 1;
  min-height: 46px;
  padding: 10px;
  border: 1px solid rgba(207, 226, 223, 0.9);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(31, 42, 45, 0.08);
}

.node.error {
  border-color: rgba(168, 91, 88, 0.45);
  background: #fff6ef;
  color: #6d302d;
}

.node.tool,
.node.fix {
  border-color: rgba(11, 116, 128, 0.24);
  background: var(--wash-strong);
}

.node.decision {
  background: #fffaf2;
}

.report-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: minmax(76px, 0.72fr) auto;
}

.report-table {
  grid-column: 1 / -1;
}

.report-demo {
  grid-template-rows: auto auto minmax(0, 1fr);
}

.report-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 12px;
}

.report-kpis span {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 7px 10px;
  border: 1px solid rgba(207, 226, 223, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
}

.report-kpis small,
.report-kpis em {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.64rem;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-kpis b {
  color: var(--ink);
  font-size: 0.94rem;
}

.report-kpis em {
  color: var(--accent-dark);
  font-weight: 820;
}

.report-kpis .kpi-error {
  border-color: rgba(168, 91, 88, 0.4);
  background: #fff6ef;
}

.report-kpis .kpi-error em {
  color: #7a3936;
}

.report-chart {
  display: grid;
  align-content: start;
  padding: 9px;
}

.chart-legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: -3px 0 5px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 760;
}

.chart-legend b {
  color: var(--accent-dark);
}

.line-chart {
  display: block;
  width: 100%;
  height: auto;
  min-height: 72px;
  overflow: visible;
}

.chart-grid path {
  fill: none;
  stroke: rgba(88, 112, 115, 0.16);
  stroke-width: 1;
}

.chart-area {
  stroke: none;
}

.chart-line {
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.chart-points circle {
  fill: #ffffff;
  stroke: var(--accent);
  stroke-width: 3;
}

.chart-labels text {
  fill: var(--muted);
  font-size: 10px;
  font-weight: 760;
  text-anchor: middle;
}

.report-chart.error {
  border-color: rgba(168, 91, 88, 0.42);
  background: #fff6ef;
}

.vertical-bars {
  display: flex;
  align-items: end;
  justify-content: space-around;
  gap: 8px;
  min-height: 82px;
  padding: 8px 6px 0;
  border-bottom: 1px solid rgba(88, 112, 115, 0.22);
  background:
    repeating-linear-gradient(0deg, transparent 0 23px, rgba(88, 112, 115, 0.1) 24px),
    #f8fbfa;
}

.vertical-bars > span {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: min(38px, 18%);
  height: var(--bar-height);
  min-height: 24px;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #1592a0, #0b6873);
  color: #ffffff;
  writing-mode: vertical-rl;
}

.vertical-bars > span:nth-child(2) {
  background: linear-gradient(180deg, #6d8c91, #4d6c71);
}

.vertical-bars > span:nth-child(3) {
  background: linear-gradient(180deg, #d0935d, #ad6e39);
}

.vertical-bars > span:nth-child(4) {
  background: linear-gradient(180deg, #79a56b, #557d49);
}

.vertical-bars b {
  padding: 5px 0;
  font-size: 0.56rem;
  writing-mode: horizontal-tb;
}

.vertical-bars i {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  color: var(--muted);
  font-size: 0.53rem;
  font-style: normal;
  font-weight: 760;
  transform: translateX(-50%);
  white-space: nowrap;
  writing-mode: horizontal-tb;
}

.horizontal-bars {
  display: grid;
  gap: 5px;
  min-height: 82px;
  padding: 3px 2px;
}

.horizontal-bars > span {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
}

.horizontal-bars i {
  color: var(--muted);
  font-size: 0.57rem;
  font-style: normal;
  font-weight: 820;
  text-align: right;
}

.horizontal-bars b {
  display: flex;
  align-items: center;
  width: var(--bar-width);
  min-width: 44px;
  min-height: 15px;
  padding: 1px 5px;
  border-radius: 3px 6px 6px 3px;
  background: linear-gradient(90deg, rgba(11, 116, 128, 0.68), #0b7480);
  color: #ffffff;
  font-size: 0.54rem;
}

.report-table div {
  display: grid;
  grid-template-columns: 1fr 0.55fr 0.55fr;
  gap: 8px;
  padding: 4px 0;
  border-top: 1px solid rgba(207, 226, 223, 0.7);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 760;
}

.typewriter-copy::after {
  content: "";
  display: inline-block;
  width: 0.5em;
  height: 1em;
  margin-left: 2px;
  border-right: 2px solid var(--accent);
  vertical-align: -0.15em;
  animation: caret-blink 850ms steps(1) infinite;
}

.typewriter-copy.is-typed::after {
  display: none;
}

.ai-evidence-grid,
.ai-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.typewriter-complete .ai-evidence-grid,
.typewriter-complete .ai-timeline {
  opacity: 1;
  transform: none;
}

.ai-evidence-grid span,
.ai-timeline span {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(207, 226, 223, 0.88);
  border-radius: 8px;
  background: #ffffff;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.ai-evidence-grid b,
.ai-timeline b {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.carousel-slide figcaption {
  padding: 10px 12px 11px;
  border-top: 1px solid rgba(207, 226, 223, 0.82);
  background: #ffffff;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 730;
}

.carousel-control {
  position: absolute;
  top: calc(50% - 20px);
  z-index: 3;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(31, 42, 45, 0.82);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(31, 42, 45, 0.18);
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.carousel-control svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.carousel-control:hover {
  background: rgba(31, 42, 45, 0.94);
  transform: translateY(-1px);
}

.carousel-prev {
  left: 12px;
}

.carousel-next {
  right: 12px;
}

.carousel-open {
  position: absolute;
  inset: 0 0 28px;
  z-index: 2;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.carousel-dots button {
  width: 28px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(88, 112, 115, 0.32);
  cursor: pointer;
  transition: width 160ms ease, background 160ms ease;
}

.carousel-dots button.is-active {
  width: 42px;
  background: var(--accent-dark);
}

.license-float {
  position: fixed;
  top: 118px;
  right: max(18px, calc((100vw - 1360px) / 2));
  z-index: 4;
  display: grid;
  gap: 7px;
  width: min(300px, calc(100vw - 36px));
  padding: 16px;
  border: 1px solid rgba(168, 91, 88, 0.34);
  border-radius: 8px;
  background: rgba(255, 246, 239, 0.94);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.license-float strong {
  color: #6d302d;
}

.license-float span {
  color: #58423a;
  font-size: 0.9rem;
  font-weight: 690;
  line-height: 1.42;
}

.license-float a {
  color: var(--accent-dark);
  font-size: 0.88rem;
  font-weight: 840;
}

.license-float.is-hidden {
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

.trust-stack,
.note-grid {
  display: grid;
  gap: 12px;
}

.note-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#important-notes .note-grid {
  grid-template-columns: 1fr;
}

#important-notes .trust-banner {
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(14px, 3vw, 28px);
  min-height: 0;
  padding: clamp(16px, 2.4vw, 22px);
}

#important-notes .trust-banner strong {
  font-size: 1.02rem;
}

#important-notes .trust-banner span {
  font-size: 0.98rem;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.download-card {
  color: inherit;
  text-decoration: none;
}

.download-action-card {
  width: 100%;
  min-height: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.download-modal[hidden] {
  display: none;
}

.download-modal,
.license-modal,
.carousel-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: clamp(12px, 2vw, 28px);
}

.carousel-modal[hidden] {
  display: none;
}

.license-modal[hidden] {
  display: none;
}

.download-modal-backdrop,
.license-modal-backdrop,
.carousel-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 42, 45, 0.46);
  backdrop-filter: blur(7px);
}

.carousel-modal-backdrop {
  background: rgba(17, 24, 27, 0.58);
  backdrop-filter: blur(10px);
}

.download-modal-panel {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  padding: clamp(22px, 4vw, 30px);
  border: 1px solid rgba(168, 91, 88, 0.42);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.download-modal-panel h2 {
  padding-right: 34px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.download-modal-panel p:not(.eyebrow) {
  margin-top: 14px;
  color: var(--muted);
}

.download-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
}

.download-modal-close svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.download-modal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.license-modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr);
  width: min(920px, 96vw);
  max-height: calc(100vh - 28px);
  padding: clamp(20px, 3vw, 28px);
  overflow: hidden;
  border: 1px solid rgba(207, 226, 223, 0.92);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.license-modal-panel h2 {
  padding-right: 42px;
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
}

.license-source {
  margin: 10px 0 16px;
  color: var(--muted);
  font-size: 0.93rem;
}

.license-source a {
  color: var(--accent-dark);
  font-weight: 820;
}

.license-text {
  min-height: 0;
  margin: 0;
  padding: 16px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fbfa;
  color: var(--ink);
  font: 0.88rem/1.55 Consolas, "Liberation Mono", Menlo, monospace;
  white-space: pre-wrap;
}

.carousel-modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(1840px, 98vw);
  max-height: calc(100vh - 20px);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(207, 226, 223, 0.92);
  border-radius: 8px;
  background: #fbfefd;
  box-shadow: var(--shadow);
}

.carousel-modal-story-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  padding: 20px 68px 18px 24px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(238, 247, 245, 0.74)),
    #ffffff;
}

.carousel-modal-story-copy {
  display: grid;
  gap: 7px;
  min-width: 0;
  max-width: 1280px;
}

.carousel-modal-story-header .eyebrow {
  margin: 0;
}

.carousel-modal-story-header h2 {
  margin: 0;
  padding: 0;
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.carousel-modal-story-header p:not(.eyebrow) {
  max-width: 1100px;
  color: var(--muted);
  font-size: clamp(0.9rem, 1.05vw, 1.04rem);
}

.carousel-modal-series-controls {
  display: grid;
  grid-template-columns: minmax(180px, 1fr);
  grid-template-rows: 34px auto 34px;
  align-items: center;
  gap: 6px;
  min-width: 190px;
}

.carousel-modal-series-controls button {
  display: inline-grid;
  place-items: center;
  width: 100%;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(11, 116, 128, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent-dark);
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.carousel-modal-series-controls button:hover,
.carousel-modal-series-controls button:focus-visible {
  border-color: var(--accent);
  background: var(--accent-dark);
  color: #ffffff;
  transform: translateY(-1px);
}

.carousel-modal-series-controls button[hidden] {
  display: none;
}

.carousel-modal-series-controls svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.carousel-modal-series-controls span {
  display: grid;
  gap: 2px;
  color: var(--ink);
  text-align: center;
}

.carousel-modal-series-controls b {
  font-size: 0.82rem;
}

.carousel-modal-series-controls small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 760;
  white-space: nowrap;
}

.carousel-modal-figure {
  position: relative;
  display: grid;
  gap: 0;
  min-height: 0;
  margin: 0;
  overflow: auto;
}

.workbench-page .carousel-modal-figure {
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
}

.workbench-page .carousel-modal-figure > :is(img, .carousel-modal-html) {
  grid-row: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
}

.workbench-page .carousel-modal-figure > img {
  object-fit: contain;
}

.workbench-page .carousel-modal-figure > .carousel-modal-html {
  overflow: auto;
}

.workbench-page .carousel-modal-figure > figcaption {
  grid-row: 2;
}

.workbench-page .carousel-modal-html > :is(.ai-demo, .demo-screen) {
  height: 100%;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
}

.carousel-modal-figure img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 220px);
  height: auto;
  border-block: 1px solid var(--line);
  background: #f7fbfa;
  object-fit: contain;
}

.carousel-modal-figure img[hidden] {
  display: none;
}

.carousel-modal-html {
  border-block: 1px solid var(--line);
  background: #f7fbfa;
}

.carousel-modal-html[hidden] {
  display: none;
}

.carousel-modal-html .ai-demo {
  max-height: calc(100vh - 220px);
}

.carousel-modal-html .demo-screen {
  max-height: calc(100vh - 220px);
}

.carousel-modal-nav {
  position: absolute;
  top: 0;
  bottom: 48px;
  z-index: 4;
  display: grid;
  align-items: center;
  width: clamp(58px, 6vw, 86px);
  padding: 12px;
  border: 0;
  color: #ffffff;
  opacity: 0.9;
  cursor: pointer;
  transition: opacity 160ms ease;
}

.carousel-modal-nav svg {
  width: 46px;
  height: 46px;
  padding: 9px;
  border-radius: 999px;
  background: rgba(31, 42, 45, 0.66);
  box-shadow: 0 18px 34px rgba(31, 42, 45, 0.22);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: translateX(var(--modal-arrow-offset, 0));
  transition: background 160ms ease, transform 160ms ease;
}

.carousel-modal-nav:hover,
.carousel-modal-nav:focus-visible {
  opacity: 1;
}

.carousel-modal-nav:hover svg,
.carousel-modal-nav:focus-visible svg {
  background: rgba(31, 42, 45, 0.84);
  transform: translateX(0);
}

.carousel-modal-prev {
  left: 0;
  justify-items: start;
  --modal-arrow-offset: -8px;
  background: linear-gradient(90deg, rgba(31, 42, 45, 0.42), rgba(31, 42, 45, 0.18) 44%, transparent);
}

.carousel-modal-next {
  right: 0;
  justify-items: end;
  --modal-arrow-offset: 8px;
  background: linear-gradient(270deg, rgba(31, 42, 45, 0.42), rgba(31, 42, 45, 0.18) 44%, transparent);
}

.carousel-modal-figure figcaption {
  padding: 12px 22px 14px;
  background: #ffffff;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 760;
}

.carousel-modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  padding: 14px 22px;
  border-top: 1px solid rgba(207, 226, 223, 0.72);
  background: #ffffff;
}

.trust-banner {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 18px;
}

.trust-banner strong,
.future-screenshots strong {
  color: var(--ink);
  font-size: 1.02rem;
}

.warning-banner {
  border-color: rgba(168, 91, 88, 0.42);
  background: linear-gradient(135deg, #fff6ef, #ffffff 72%);
}

.warning-banner strong {
  color: #6d302d;
}

@keyframes caret-blink {
  50% {
    opacity: 0;
  }
}

.workflow-stack {
  display: grid;
  gap: 24px;
}

.workflow-card {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(220px, 0.78fr);
  align-items: center;
  gap: clamp(18px, 4vw, 34px);
  padding: clamp(18px, 3vw, 26px);
  overflow: hidden;
}

.workbench-page .workflow-card.wide-workflow {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.workbench-page .workflow-card.wide-workflow > div:first-child {
  max-width: 1120px;
}

.workbench-page .workflow-carousel,
.workbench-page .workflow-card.wide-workflow .workflow-carousel {
  height: clamp(460px, 46vw, 690px);
  min-height: 0;
}

.workbench-page .workflow-card.wide-workflow .workflow-carousel {
  width: 100%;
  justify-self: stretch;
}

.workbench-page .workflow-card.wide-workflow .workflow-carousel .carousel-viewport,
.workbench-page .workflow-card.wide-workflow .workflow-carousel .carousel-slide:not([hidden]) {
  height: 100%;
}

.workbench-page .workflow-card.wide-workflow .workflow-carousel .carousel-slide img {
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  transform: none;
}

.workbench-page .feature-carousel {
  grid-template-rows: minmax(0, 1fr) auto;
}

.workbench-page .carousel-viewport {
  height: 100%;
}

.workbench-page .carousel-slide:not([hidden]) {
  display: grid;
  grid-template-rows: minmax(0, 1fr) minmax(48px, auto);
  height: 100%;
  min-height: 0;
}

.workbench-page .carousel-slide > img {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: top center;
  transform: none;
}

.workbench-page .carousel-slide > :is(.ai-demo, .demo-screen) {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
}

.workflow-beats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.workflow-beats span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(207, 226, 223, 0.92);
  border-radius: 999px;
  background: rgba(238, 247, 245, 0.78);
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 850;
}

.browser-path {
  display: grid;
  gap: 7px;
  margin-top: 18px;
}

.browser-path span {
  padding: 9px 11px;
  border: 1px solid rgba(207, 226, 223, 0.95);
  border-radius: 8px;
  background: rgba(238, 247, 245, 0.82);
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 880;
  text-align: center;
}

.browser-path i {
  position: relative;
  color: var(--muted);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 760;
  text-align: center;
}

.browser-path i::before {
  content: "↓";
  margin-right: 6px;
  color: var(--accent);
}

.browser-chat-demo .ai-chat {
  align-content: start;
  gap: 10px;
}

.browser-chat-demo .ai-message {
  grid-template-columns: 34px minmax(0, 1fr);
}

.browser-chat-demo .ai-avatar {
  width: 34px;
  height: 34px;
}

.browser-chat-demo .ai-message > div {
  padding: 11px 13px;
}

.browser-chat-demo .ai-message p {
  font-size: clamp(0.78rem, 1.05vw, 0.91rem);
}

.checkout-annotation-demo {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 0;
  padding: 0;
  color: #25313a;
  background: #e9edef;
}

.checkout-browser-chrome {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  border-bottom: 1px solid #d3dade;
  background: #f6f8f8;
  color: #66747a;
  font-size: 0.66rem;
}

.checkout-browser-chrome > span {
  display: flex;
  gap: 5px;
}

.checkout-browser-chrome i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #9ba7ac;
}

.checkout-browser-chrome i:nth-child(2) {
  background: #b8a878;
}

.checkout-browser-chrome i:nth-child(3) {
  background: #7ca18b;
}

.checkout-browser-chrome b {
  overflow: hidden;
  padding: 5px 10px;
  border: 1px solid #d3dade;
  border-radius: 999px;
  background: #ffffff;
  font-weight: 720;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-browser-chrome em {
  padding: 4px 8px;
  border-radius: 999px;
  background: #dfe8e4;
  color: #466356;
  font-style: normal;
  font-weight: 820;
}

.checkout-page {
  min-height: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(130, 161, 146, 0.13), transparent 34%),
    #fafbfa;
}

.checkout-page > header {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto auto auto minmax(140px, 1fr);
  align-items: center;
  gap: 18px;
  padding: 14px 22px;
  border-bottom: 1px solid #dce2df;
  background: rgba(255, 255, 255, 0.94);
  color: #6b7772;
  font-size: 0.66rem;
}

.checkout-page > header strong {
  color: #29453a;
  font: 850 1rem/1 Georgia, serif;
}

.checkout-page > header b {
  color: #29453a;
}

.checkout-page > header em {
  justify-self: end;
  color: #587067;
  font-style: normal;
  font-weight: 760;
}

.checkout-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.42fr);
  gap: clamp(18px, 3vw, 34px);
  width: min(960px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(18px, 3vw, 34px) 0;
}

.checkout-form,
.checkout-summary {
  min-width: 0;
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid #dce2df;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 30px rgba(37, 49, 58, 0.08);
}

.checkout-form {
  display: grid;
  align-content: start;
  gap: 10px;
}

.checkout-form > small,
.checkout-summary > small {
  color: #6a7d74;
  font-size: 0.6rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.checkout-form h4 {
  margin: 0;
  color: #253b32;
  font-size: clamp(1rem, 1.7vw, 1.35rem);
}

.checkout-form > p {
  color: #718079;
  font-size: 0.67rem;
}

.checkout-form label {
  position: relative;
  display: grid;
  gap: 4px;
  color: #4c5d55;
  font-size: 0.62rem;
  font-weight: 780;
}

.checkout-form input {
  width: 100%;
  min-width: 0;
  height: 34px;
  padding: 7px 9px;
  border: 1px solid #cfd9d4;
  border-radius: 6px;
  background: #ffffff;
  color: #2f4038;
  font: inherit;
}

.annotated-checkout-field {
  margin: 2px -5px 0;
  padding: 7px 5px 6px;
  border: 2px solid #d27038;
  border-radius: 8px;
  background: #fff8f3;
  box-shadow: 0 0 0 3px rgba(210, 112, 56, 0.13);
}

.annotated-checkout-field input {
  border-color: #c75e4f;
}

.checkout-field-error {
  color: #a64138;
  font-size: 0.57rem;
}

.checkout-annotation-pin {
  position: absolute;
  top: -15px;
  right: -15px;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 3px solid #ffffff;
  border-radius: 999px;
  background: #ca642f;
  color: #ffffff;
  font-size: 0.67rem;
  box-shadow: 0 8px 18px rgba(91, 48, 27, 0.24);
}

.checkout-field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.checkout-form > button {
  min-height: 35px;
  border: 0;
  border-radius: 6px;
  background: #29483b;
  color: #ffffff;
  font: inherit;
  font-size: 0.7rem;
  font-weight: 800;
}

.checkout-summary {
  display: grid;
  align-content: start;
  gap: 13px;
}

.checkout-summary div,
.checkout-summary > strong {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e2e6e4;
  color: #617068;
  font-size: 0.66rem;
}

.checkout-summary > strong {
  padding-top: 3px;
  border-bottom: 0;
  color: #293c34;
}

.checkout-annotations {
  position: absolute;
  top: 74px;
  right: 18px;
  z-index: 3;
  display: grid;
  gap: 9px;
  width: min(310px, 34%);
  padding: 13px;
  border: 1px solid #e1a580;
  border-radius: 9px;
  background: #fffaf6;
  color: #3d332e;
  box-shadow: 0 22px 46px rgba(74, 49, 35, 0.22);
}

.checkout-annotations > header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.checkout-annotations header div {
  display: grid;
  gap: 2px;
}

.checkout-annotations header b {
  font-size: 0.75rem;
}

.checkout-annotations header span,
.checkout-annotations article > span,
.checkout-annotations footer {
  color: #8a6858;
  font-size: 0.55rem;
  font-weight: 820;
}

.checkout-annotations header em {
  padding: 3px 6px;
  border-radius: 999px;
  background: #f4d8c6;
  color: #87401e;
  font-size: 0.52rem;
  font-style: normal;
  font-weight: 900;
}

.checkout-annotations article {
  padding: 9px;
  border: 1px solid #edd1bf;
  border-radius: 7px;
  background: #ffffff;
}

.checkout-annotations article p {
  margin-top: 4px;
  color: #4f4038;
  font-size: 0.64rem;
  line-height: 1.35;
}

.checkout-annotations footer {
  padding-top: 2px;
  text-align: right;
}

.screenshot-gallery {
  display: grid;
  grid-template-columns: minmax(0, 230px);
  justify-content: end;
  gap: 14px;
  max-width: 100%;
}

.multi-gallery {
  grid-template-columns: repeat(3, minmax(130px, 1fr));
}

.phone-frame {
  justify-self: center;
  width: min(280px, 100%);
  aspect-ratio: 9 / 16;
  margin: 0;
  padding: 8px;
  border: 1px solid rgba(207, 226, 223, 0.95);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone-frame > img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 17px;
  background: #f7fbfa;
  object-fit: cover;
  object-position: top center;
}

.screenshot-card.phone-frame {
  width: min(230px, 100%);
  aspect-ratio: auto;
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 7px;
  border-radius: 22px;
}

.screenshot-card.phone-frame > img {
  height: auto;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
}

.screenshot-card figcaption {
  padding: 0 5px 4px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 720;
  text-align: center;
}

.future-screenshots {
  margin-top: 18px;
}

.future-screenshots article {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 18px;
}

.top-notice {
  padding: clamp(22px, 4vw, 34px) 0 0;
}

.payment-safety-banner {
  max-width: 100%;
}

.activity-widget-story {
  overflow: hidden;
}

.activity-widget-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(260px, 0.7fr);
  gap: clamp(22px, 5vw, 48px);
  align-items: center;
}

.story-copy {
  display: grid;
  gap: 14px;
}

.activity-preview-stack {
  position: relative;
  display: grid;
  gap: 14px;
  justify-items: center;
  padding: clamp(14px, 3vw, 24px);
  border-radius: 24px;
  background:
    radial-gradient(circle at 25% 10%, rgba(11, 116, 128, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(238, 247, 245, 0.92), rgba(255, 246, 239, 0.72));
}

.widget-preview,
.live-activity-preview {
  width: min(100%, 330px);
  display: grid;
  gap: 7px;
  padding: 18px;
  border: 1px solid rgba(207, 226, 223, 0.92);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.live-activity-preview {
  width: min(86%, 280px);
  margin-left: auto;
  border-radius: 999px;
  padding: 14px 18px;
}

.preview-kicker {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.widget-preview strong,
.live-activity-preview strong {
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.05;
}

.widget-preview > span:not(.preview-kicker),
.live-activity-preview > span:not(.preview-kicker) {
  color: var(--muted);
}

.preview-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.preview-actions span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--wash-strong);
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 820;
}

.scroll-focus-enabled .scroll-focus-card {
  opacity: calc(0.58 + (var(--scroll-focus, 1) * 0.42));
  filter:
    saturate(calc(0.82 + (var(--scroll-focus, 1) * 0.18)))
    blur(var(--scroll-blur, 0px));
  transform: translateY(var(--hover-lift, 0px)) scale(var(--scroll-scale, 1));
  will-change: opacity, filter, transform;
}

.scroll-focus-enabled .scroll-focus-card:hover,
.scroll-focus-enabled .scroll-focus-card:focus-within {
  --scroll-focus: 1 !important;
  --scroll-scale: 1 !important;
  --scroll-blur: 0px !important;
  opacity: 1;
  filter: none;
}

.document-page {
  width: min(880px, calc(100% - 40px));
}

.document-content {
  margin-inline: auto;
}

.document-screenshot {
  margin: 0 auto 34px;
  width: min(270px, 100%);
}

.support-content {
  display: grid;
  grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: start;
  padding-top: 54px;
}

.support-content .note-grid {
  grid-template-columns: 1fr;
}

@media (min-width: 981px) {
  .product-hero,
  .top-notice {
    margin-left: 240px;
  }

  .product-hero {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
    gap: clamp(24px, 4vw, 54px);
  }

  .section-index {
    position: fixed;
    top: 112px;
    left: max(20px, calc((100vw - 1120px) / 2));
    width: 190px;
  }

  .section-index .eyebrow {
    padding-inline: 10px;
  }

  .feature-story {
    grid-column: 2;
  }

  .workbench-page .product-hero,
  .workbench-page .top-notice {
    margin-left: clamp(210px, 15vw, 240px);
  }

  .workbench-page .product-hero {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
    gap: clamp(28px, 3.2vw, 48px);
  }

  .workbench-page .workbench-hero {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.44fr);
  }

  .workbench-page .workbench-hero .app-lockup {
    grid-template-columns: clamp(100px, 8vw, 132px) minmax(0, 1fr);
    gap: clamp(18px, 2.4vw, 26px);
  }

  .workbench-page .workbench-hero h1 {
    max-width: 900px;
    font-size: clamp(3.2rem, 4.6vw, 5.4rem);
    line-height: 0.96;
  }

  .workbench-page .workbench-mark {
    margin-top: 0;
  }

  .workbench-page .hero-desktop {
    width: min(680px, 100%);
    justify-self: end;
  }

  .workbench-page .feature-layout {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: clamp(18px, 2.5vw, 32px);
  }

  .workbench-page .section-index {
    left: max(18px, calc((100vw - 1800px) / 2 + 12px));
    width: 190px;
  }
}

@media (max-width: 1240px) {
  .visual-feature {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .visual-feature .feature-carousel {
    grid-column: 1;
    grid-row: auto;
    height: clamp(420px, 52vw, 590px);
    margin-top: 14px;
  }

}

.reading-block {
  padding-bottom: 64px;
  color: var(--muted);
  font-size: 1.04rem;
}

.reading-block p,
.reading-block ul,
.reading-block ol {
  margin: 0 0 20px;
}

.reading-block h2 {
  margin: 34px 0 12px;
  color: var(--ink);
  font-size: 1.35rem;
}

.reading-block ul,
.reading-block ol {
  padding-left: 1.2em;
}

.reading-block li + li {
  margin-top: 8px;
}

.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 36px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
}

@media (max-width: 980px) {
  .workbench-page main {
    width: min(1120px, calc(100% - 32px));
  }

  .product-hero,
  .feature-layout,
  .split-block,
  .activity-widget-layout,
  .workflow-card,
  .workflow-card.wide-workflow,
  .workbench-hero,
  .support-content {
    grid-template-columns: 1fr;
  }

  .hero-phone {
    width: min(270px, 100%);
    transform: none;
  }

  .section-index {
    position: sticky;
    top: 0;
    z-index: 3;
    margin-inline: 0;
    padding: 10px 0;
    background: rgba(251, 254, 253, 0.96);
    border-block: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
  }

  .section-index .eyebrow {
    margin-bottom: 8px;
  }

  .section-index nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .section-index a {
    flex: 0 0 auto;
    border-left: 0;
    border-bottom: 3px solid transparent;
    background: var(--surface);
    border-radius: 6px;
  }

  .section-index a:hover,
  .section-index a:focus-visible {
    border-bottom-color: var(--accent);
  }

  .feature-grid,
  .note-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .activity-preview-stack {
    justify-items: start;
  }

  .screenshot-gallery {
    justify-content: start;
  }

  .hero-desktop,
  .screenshot-desktop {
    justify-self: start;
    transform: none;
  }

.download-grid {
    grid-template-columns: 1fr;
  }

  .license-float {
    position: sticky;
    top: 62px;
    width: auto;
    margin: 16px 0 0;
  }
}

.install-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.install-steps article {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.install-steps article > span {
  display: grid;
  place-items: center;
  align-self: start;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--accent-dark);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
}

.install-steps strong {
  color: var(--ink);
}

.install-steps p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.install-steps .install-warning {
  border-color: rgba(199, 117, 67, 0.4);
  background: linear-gradient(135deg, #fffaf6, #ffffff 76%);
}

@media (max-width: 760px) {
  .workbench-page main,
  .site-header,
  .site-footer,
  main,
  .document-page {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .report-kpis,
  .install-steps {
    grid-template-columns: 1fr;
  }

  .report-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .report-table {
    grid-column: 1;
  }

  nav {
    justify-content: flex-start;
  }

  .catalog-hero {
    padding: 48px 0 42px;
  }

  .app-card-main {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 16px;
  }

  .app-card-links a,
  .button,
  .store-badge {
    width: 100%;
  }

  .app-hero {
    min-height: auto;
    padding: 38px 0 46px;
  }

  .document-hero {
    padding: 38px 0 34px;
  }

  .hero-artwork {
    top: 8px;
    right: -34px;
    width: 520px;
    min-width: 0;
    opacity: 0.2;
  }

  .app-lockup,
  .compact-lockup {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 14px;
  }

  .workbench-hero .app-lockup {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
  }

  .workbench-hero h1 {
    font-size: clamp(2.4rem, 10vw, 3.3rem);
    line-height: 0.98;
  }

  .workbench-hero .hero-pitch {
    margin-top: 10px;
    font-size: clamp(1.15rem, 5vw, 1.55rem);
    line-height: 1.2;
  }

  .workbench-mark {
    margin-top: 10px;
  }

  .actions {
    align-items: stretch;
  }

  .actions .button {
    flex: 1 1 150px;
    width: auto;
  }

  .license-duck-art {
    grid-template-columns: minmax(94px, 130px) minmax(0, 1fr);
    width: 100%;
    max-width: 360px;
  }

  .license-duck-art span {
    width: 100%;
    min-width: 0;
    font-size: 0.66rem;
  }

  .store-badges {
    align-items: stretch;
    gap: 10px;
  }

  .store-badges .store-badge {
    flex: 1 1 170px;
    min-width: 0;
    width: auto;
  }

  .feature-grid,
  .note-grid {
    grid-template-columns: 1fr;
  }

  #important-notes .trust-banner {
    grid-template-columns: 1fr;
  }

  .visual-feature {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .visual-feature .feature-carousel {
    grid-column: 1;
    grid-row: auto;
    height: 330px;
    margin-top: 6px;
  }

  .workbench-page .workflow-carousel,
  .workbench-page .workflow-card.wide-workflow .workflow-carousel {
    height: 330px;
  }

  .workflow-card {
    margin-inline: -4px;
  }

  .story-block {
    border-radius: 16px;
  }

  .carousel-control {
    width: 32px;
    height: 32px;
  }

  .carousel-modal-nav {
    bottom: 44px;
    padding: 12px;
    opacity: 0.82;
  }

  .carousel-modal-story-header {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px 54px 16px 18px;
  }

  .carousel-modal-series-controls {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    grid-template-rows: auto;
    width: 100%;
    min-width: 0;
  }

  .carousel-modal-series-controls button {
    width: 38px;
    height: 38px;
  }

  .carousel-modal-series-controls small {
    white-space: normal;
  }

  .carousel-modal-nav svg {
    width: 38px;
    height: 38px;
    padding: 8px;
  }

  .carousel-slide figcaption {
    font-size: 0.8rem;
  }

  .ai-demo {
    min-height: 520px;
  }

  .ai-message {
    max-width: 100%;
  }

  .ai-evidence-grid,
  .ai-timeline {
    grid-template-columns: 1fr;
  }

  .license-float {
    top: 58px;
  }

  .screenshot-gallery,
  .multi-gallery {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 2px 12px;
    scroll-snap-type: x mandatory;
  }

  .screenshot-card.phone-frame {
    flex: 0 0 min(230px, 78vw);
    scroll-snap-align: start;
  }

  .phone-frame {
    width: min(260px, 100%);
  }

  .support-content {
    padding-top: 34px;
  }
}

.veintrack-page main {
  width: min(1240px, calc(100% - clamp(32px, 5vw, 80px)));
}

.veintrack-hero {
  min-height: auto;
  padding: clamp(42px, 6vw, 72px) 0 clamp(36px, 5vw, 58px);
}

.veintrack-hero h1 {
  max-width: 760px;
  font-size: clamp(2.45rem, 4.8vw, 4.5rem);
}

.veintrack-hero .hero-artwork {
  right: 3%;
  width: min(42vw, 540px);
  opacity: 0.22;
}

.veintrack-page .feature-grid-visual {
  gap: 18px;
}

.veintrack-page .visual-feature {
  min-height: 430px;
}

.veintrack-page .visual-feature .feature-carousel {
  height: clamp(390px, 38vw, 460px);
}

.veintrack-page .phone-carousel .carousel-viewport,
.veintrack-page .phone-workflow-carousel .carousel-viewport {
  background:
    radial-gradient(circle at 20% 10%, rgba(11, 116, 128, 0.11), transparent 34%),
    linear-gradient(145deg, #fbfefd, #eef7f5);
}

.veintrack-page .phone-carousel .carousel-slide:not([hidden]),
.veintrack-page .phone-workflow-carousel .carousel-slide:not([hidden]) {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  justify-items: center;
  height: 100%;
}

.veintrack-page .phone-carousel .carousel-slide > img,
.veintrack-page .phone-workflow-carousel .carousel-slide > img {
  align-self: center;
  width: auto;
  max-width: min(230px, 82%);
  height: 100%;
  max-height: 100%;
  border: 1px solid rgba(180, 207, 203, 0.72);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(31, 42, 45, 0.16);
  object-fit: contain;
  object-position: center;
  transform: none;
}

.veintrack-page .phone-workflow-carousel .carousel-slide > img {
  max-width: min(260px, 78%);
}

.veintrack-page .widget-demo-slide:not([hidden]) {
  align-items: center;
}

.carousel-widget-demo {
  align-self: center;
  justify-self: center;
  width: min(430px, calc(100% - 28px));
}

.veintrack-page .workflow-card.wide-workflow {
  grid-template-columns: minmax(190px, 0.36fr) minmax(360px, 1fr);
}

.veintrack-page .phone-workflow-carousel {
  min-height: clamp(420px, 42vw, 520px);
}

.veintrack-page .download-grid .trust-banner {
  min-height: 138px;
}

.veintrack-page .carousel-modal-panel {
  width: min(820px, 96vw);
}

.veintrack-page .carousel-modal-figure {
  justify-items: center;
}

.veintrack-page .carousel-modal-figure img {
  width: auto;
  max-width: min(430px, calc(100vw - 42px));
  max-height: calc(100vh - 220px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(31, 42, 45, 0.18);
}

.veintrack-page .carousel-modal-html {
  width: 100%;
  padding: clamp(16px, 3vw, 28px);
}

.veintrack-page .carousel-modal-html .activity-preview-stack {
  margin-inline: auto;
}

@media (min-width: 981px) {
  .veintrack-page .product-hero,
  .veintrack-page .top-notice {
    margin-left: 220px;
  }

  .veintrack-page .feature-layout {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: clamp(20px, 3vw, 40px);
  }

  .veintrack-page .section-index {
    left: max(24px, calc((100vw - 1240px) / 2 + 8px));
    width: 170px;
  }
}

@media (max-width: 980px) {
  .veintrack-page main {
    width: min(1120px, calc(100% - 32px));
  }

  .veintrack-page .workflow-card.wide-workflow {
    grid-template-columns: 1fr;
  }

  .veintrack-page .phone-workflow-carousel {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .veintrack-page main {
    width: min(100% - 28px, 1120px);
  }

  .veintrack-hero h1 {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .veintrack-page .visual-feature .feature-carousel,
  .veintrack-page .phone-workflow-carousel {
    height: 390px;
    min-height: 390px;
  }

  .veintrack-page .workflow-card {
    margin-inline: 0;
  }

  .veintrack-page .phone-carousel .carousel-slide > img,
  .veintrack-page .phone-workflow-carousel .carousel-slide > img {
    max-width: min(220px, 84%);
  }

  .veintrack-page .download-grid .trust-banner {
    min-height: 0;
  }

  .veintrack-page .carousel-modal-figure img {
    max-width: min(320px, calc(100vw - 34px));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  a.store-badge:hover,
  a.store-badge:focus,
  button.store-badge:hover,
  button.store-badge:focus,
  .feature-card,
  .workflow-card,
  .trust-banner,
  .license-float,
  .scroll-focus-card {
    opacity: 1 !important;
    filter: none !important;
    transform: none;
  }
}

/* ColourTrainer */

.colourtrainer-page {
  --paper: #fffdf8;
  --wash: #f4f0ff;
  --wash-strong: #ebe4ff;
  --surface-warm: #fff8df;
  --ink: #20204f;
  --muted: #5c5c7a;
  --soft: #ece8fa;
  --line: #ddd7ef;
  --accent: #7048cf;
  --accent-dark: #4c2d9c;
  --rose: #d94d68;
  --gold: #b67512;
  --shadow: 0 22px 58px rgba(75, 45, 155, 0.14);
  --shadow-soft: 0 14px 34px rgba(75, 45, 155, 0.09);
}

.colourtrainer-page::before {
  background:
    radial-gradient(circle at 10% 12%, rgba(65, 170, 205, 0.09), transparent 24%),
    radial-gradient(circle at 88% 8%, rgba(239, 96, 115, 0.08), transparent 28%),
    linear-gradient(90deg, rgba(112, 72, 207, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(182, 117, 18, 0.03) 1px, transparent 1px);
  background-size: auto, auto, 60px 60px, 60px 60px;
}

.colourtrainer-page main {
  width: min(1240px, calc(100% - clamp(32px, 5vw, 80px)));
}

.colourtrainer-hero {
  min-height: auto;
  padding: clamp(48px, 7vw, 82px) 0 clamp(40px, 6vw, 68px);
}

.colourtrainer-hero h1 {
  max-width: 760px;
  font-size: clamp(2.55rem, 5.1vw, 4.85rem);
  line-height: 0.98;
}

.colourtrainer-hero .app-lockup {
  grid-template-columns: clamp(88px, 9vw, 118px) minmax(0, 1fr);
}

.colourtrainer-hero .app-lockup > img,
.colourtrainer-app-card .app-card-main > img {
  border-radius: 22.5%;
  box-shadow: 0 16px 34px rgba(75, 45, 155, 0.14);
}

.colourtrainer-hero .hero-artwork {
  top: -4%;
  right: 2%;
  width: min(50vw, 650px);
  min-width: 420px;
  opacity: 0.15;
  filter: saturate(1.08);
}

.colourtrainer-page .store-badge[aria-disabled="true"],
.colourtrainer-app-card .store-badge[aria-disabled="true"] {
  cursor: default;
}

.colour-challenge-card {
  position: relative;
  z-index: 1;
  width: min(340px, 100%);
  margin: 0;
  padding: 28px 24px 22px;
  border: 1px solid rgba(221, 215, 239, 0.94);
  border-radius: 38px;
  background:
    radial-gradient(circle at 82% 4%, rgba(255, 211, 76, 0.24), transparent 26%),
    linear-gradient(155deg, #ffffff, #faf7ff 68%, #fff9e9);
  box-shadow: 0 28px 70px rgba(65, 43, 126, 0.2);
  transform: rotate(1.3deg);
}

.colour-challenge-card::before {
  content: "";
  display: block;
  width: 34%;
  height: 6px;
  margin: -13px auto 24px;
  border-radius: 999px;
  background: #e6e1f0;
}

.colour-challenge-card figcaption {
  display: grid;
  gap: 5px;
  margin-bottom: 22px;
}

.colour-challenge-card figcaption span {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 860;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.colour-challenge-card figcaption strong {
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.15;
}

.colour-tile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 18px;
  border-radius: 24px;
  background: #f2eff6;
}

.colour-tile-grid span {
  aspect-ratio: 1;
  border: 1px solid rgba(49, 28, 102, 0.08);
  border-radius: 18px;
  background: #ef5f73;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.24), 0 5px 12px rgba(73, 36, 55, 0.1);
}

.colour-tile-grid .is-odd {
  background: #e95678;
}

.challenge-footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.79rem;
  font-weight: 780;
}

.colour-availability-banner {
  grid-template-columns: minmax(130px, 0.26fr) minmax(0, 1fr);
  border-color: rgba(112, 72, 207, 0.23);
  background: linear-gradient(100deg, rgba(240, 234, 255, 0.94), rgba(255, 252, 235, 0.94));
}

.colourtrainer-page .story-block {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 245, 255, 0.72)),
    radial-gradient(circle at 92% 8%, rgba(255, 190, 44, 0.1), transparent 36%);
}

.colour-track-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.colour-track-card {
  min-height: 330px;
  gap: 2px;
}

.colour-track-card::after {
  display: none;
}

.colour-track-card .eyebrow {
  margin: 17px 0 7px;
}

.colour-track-card h3 {
  margin-top: 0;
}

.track-swatch-row,
.track-tone-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: 94px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(32, 32, 79, 0.08);
}

.track-swatch-row span:nth-child(1) { background: #ff534d; }
.track-swatch-row span:nth-child(2) { background: #ff9c2e; }
.track-swatch-row span:nth-child(3) { background: #f6d335; }
.track-swatch-row span:nth-child(4) { background: #42b94f; }
.track-swatch-row span:nth-child(5) { background: #34a8cc; }

.track-tone-row {
  gap: 5px;
  padding: 8px;
  background: #f0edf5;
}

.track-tone-row span {
  border-radius: 10px;
  background: #7549cc;
}

.track-tone-row span:nth-child(2) { background: #8055d2; }
.track-tone-row span:nth-child(3) { background: #8b63d7; }
.track-tone-row span:nth-child(4) { background: #9872dd; }
.track-tone-row span:nth-child(5) { background: #a581e3; }

.track-scene {
  position: relative;
  height: 94px;
  border-radius: 18px;
  background: linear-gradient(#7ed4ee 0 55%, #68bd5f 55% 100%);
  overflow: hidden;
}

.scene-sun {
  position: absolute;
  top: 12px;
  right: 18px;
  width: 28px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffd84d;
}

.scene-hill {
  position: absolute;
  right: -8%;
  bottom: 20%;
  width: 72%;
  height: 55%;
  border-radius: 100% 0 0;
  background: #328b55;
}

.scene-duck {
  position: absolute;
  left: 22%;
  bottom: 15%;
  display: grid;
  place-items: center;
  width: 38px;
  aspect-ratio: 1;
  border: 4px solid #20204f;
  border-radius: 48% 52% 48% 52%;
  background: #fffdf2;
  color: #20204f;
  font-size: 0.58rem;
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.research-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
}

.research-number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 30px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--wash-strong);
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.research-card h3 {
  margin: 0;
}

.research-card p {
  font-size: 0.95rem;
}

.research-card a {
  margin-top: auto;
  font-weight: 820;
}

.research-caveat {
  margin-top: auto;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 720;
}

.evidence-note {
  display: grid;
  grid-template-columns: minmax(160px, 0.26fr) minmax(0, 1fr);
  gap: 20px;
  margin-top: 18px;
  padding: 20px 22px;
  border: 1px solid rgba(112, 72, 207, 0.22);
  border-radius: 18px;
  background: rgba(240, 234, 255, 0.6);
}

.evidence-note p {
  margin: 0;
  font-size: 0.94rem;
}

.colour-vision-block .trust-banner {
  border-radius: 14px;
}

.source-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.source-row {
  display: grid;
  grid-template-columns: minmax(190px, 0.42fr) minmax(280px, 1fr) minmax(120px, auto);
  align-items: center;
  gap: 22px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
}

.source-row > div {
  display: grid;
  gap: 4px;
}

.source-row > div span {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 880;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.source-row > p {
  margin: 0;
  font-size: 0.92rem;
}

.source-row > a,
.source-links a {
  font-size: 0.88rem;
  font-weight: 820;
}

.source-links {
  display: grid;
  gap: 6px;
}

.source-license-note {
  margin: 20px 2px 0;
  font-size: 0.84rem !important;
}

.colour-note-grid .trust-banner {
  min-height: 148px;
}

@media (min-width: 981px) {
  .colourtrainer-page .product-hero,
  .colourtrainer-page .top-notice {
    margin-left: 220px;
  }

  .colourtrainer-page .feature-layout {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: clamp(20px, 3vw, 40px);
  }

  .colourtrainer-page .section-index {
    left: max(24px, calc((100vw - 1240px) / 2 + 8px));
    width: 170px;
  }
}

@media (max-width: 1100px) {
  .colour-track-grid,
  .research-grid {
    grid-template-columns: 1fr;
  }

  .colour-track-card {
    min-height: 0;
  }
}

@media (max-width: 980px) {
  .colourtrainer-page main {
    width: min(1120px, calc(100% - 32px));
  }

  .source-row {
    grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
  }

  .source-row > a,
  .source-row > .source-links {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  .colourtrainer-page main {
    width: min(100% - 28px, 1120px);
  }

  .colourtrainer-hero h1 {
    font-size: clamp(2.05rem, 9.6vw, 2.8rem);
  }

  .colourtrainer-hero .hero-artwork {
    right: -45%;
    min-width: 440px;
  }

  .colour-challenge-card {
    width: min(340px, calc(100% - 12px));
    justify-self: center;
  }

  .colour-availability-banner,
  .evidence-note,
  .source-row {
    grid-template-columns: 1fr;
  }

  .source-row > a,
  .source-row > .source-links {
    grid-column: 1;
  }

  .colour-note-grid .trust-banner {
    min-height: 0;
  }
}

/* Single-image Workbench galleries keep enlargement without redundant navigation. */
.workbench-page .carousel-control[hidden],
.workbench-page .carousel-dots[hidden],
.workbench-page .carousel-modal-nav[hidden] {
  display: none;
}

/* Keep the whole Workbench lightbox inside the viewport, including its backdrop gutter. */
.workbench-page .carousel-modal {
  --workbench-modal-gutter: clamp(12px, 2vw, 28px);
  padding: var(--workbench-modal-gutter);
}

.workbench-page .carousel-modal-panel {
  width: min(1840px, 100%);
  height: calc(100vh - 2 * var(--workbench-modal-gutter));
  height: calc(100dvh - 2 * var(--workbench-modal-gutter));
  max-height: 100%;
  min-width: 0;
  min-height: 0;
}

.workbench-page .carousel-modal-story-copy {
  max-height: min(28vh, 180px);
  max-height: min(28dvh, 180px);
  overflow: auto;
}

.workbench-page .carousel-modal-figure > figcaption {
  max-height: min(20vh, 120px);
  max-height: min(20dvh, 120px);
  overflow: auto;
}

.workbench-page .workbench-hero .note {
  color: var(--muted);
  font-weight: 400;
}

/* Layer gallery arrows on the image row so wrapped captions remain unobstructed. */
.workbench-page .carousel-modal-figure > * {
  grid-column: 1;
}

.workbench-page .carousel-modal-nav {
  position: relative;
  grid-row: 1;
  top: auto;
  bottom: auto;
  align-self: stretch;
}

.workbench-page .carousel-modal-next {
  justify-self: end;
}

/* Put the product view before supporting detail; let screenshots determine their height. */
.workbench-page .visual-feature {
  grid-template-rows: none;
  grid-auto-rows: auto;
}

.workbench-page .visual-feature .feature-carousel {
  height: auto;
  grid-template-rows: auto auto;
  margin-block: 14px 18px;
}

.workbench-page .visual-feature .carousel-viewport {
  height: auto;
}

.workbench-page .visual-feature .carousel-slide:not([hidden]) {
  height: auto;
  grid-template-rows: auto auto;
}

.workbench-page .visual-feature .carousel-slide > :is(img, .ai-demo, .demo-screen) {
  height: auto;
  aspect-ratio: 8 / 5;
}

@media (max-width: 1100px) {
  .workbench-page .feature-grid-visual {
    grid-template-columns: minmax(0, 1fr);
  }
}
