:root {
  --ink: #08244a;
  --ink-soft: #53657f;
  --orange: #ff5f1f;
  --aqua: #16b6c4;
  --paper: #ffffff;
  --wash: #f5f9fd;
  --line: #d9e3ee;
  --focus: #0b6f9f;
  --header-height: 96px;
  --role-height: 108px;
  --sans: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a,
button {
  color: inherit;
  font: inherit;
}

a {
  text-decoration: none;
}

button {
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
  transition: transform 180ms ease-out;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 4.2vw, 68px);
  border-bottom: 1px solid rgba(8, 36, 74, 0.11);
  background: rgba(255, 255, 255, 0.96);
}

.brand {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
}

.brand img {
  width: clamp(200px, 18vw, 260px);
  height: auto;
  max-height: 68px;
  flex: 0 0 auto;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(30px, 4vw, 64px);
  font-size: 1rem;
  font-weight: 550;
}

.desktop-nav a:not(.nav-sign-in) {
  position: relative;
  padding: 14px 0;
}

.desktop-nav a:not(.nav-sign-in)::after {
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  height: 1px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease-out;
}

.desktop-nav a:not(.nav-sign-in):hover::after,
.desktop-nav a:not(.nav-sign-in):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-sign-in {
  display: inline-flex;
  min-width: 112px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 8px;
  transition: background 200ms ease-out, color 200ms ease-out;
}

.nav-sign-in:hover {
  background: var(--ink);
  color: white;
}

.menu-toggle,
.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height) - var(--role-height));
  overflow: hidden;
  background: var(--wash);
  isolation: isolate;
}

.hero-copy {
  position: relative;
  z-index: 10;
  display: flex;
  width: 52%;
  min-height: calc(100svh - var(--header-height) - var(--role-height));
  flex-direction: column;
  justify-content: center;
  padding: 58px 0 66px clamp(40px, 4.3vw, 70px);
}

.hero h1 {
  max-width: 650px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4.2rem, 5.6vw, 6.15rem);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.91;
}

.hero-copy > p {
  max-width: 480px;
  margin: 38px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.45vw, 1.34rem);
  line-height: 1.55;
}

.hero-actions {
  display: grid;
  max-width: 224px;
  grid-template-columns: minmax(0, 224px);
  margin-top: 38px;
}

.button {
  display: inline-flex;
  min-width: 0;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 6px 6px 6px 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.012em;
  transition: background 220ms ease-out, border-color 220ms ease-out, color 220ms ease-out,
    box-shadow 220ms ease-out;
}

.button-label {
  min-width: 0;
  white-space: nowrap;
}

.button-icon {
  display: inline-flex;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transition: background 220ms ease-out, color 220ms ease-out, transform 220ms ease-out;
}

.button-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.button:hover .button-icon {
  transform: translateX(2px);
}

.button:active .button-icon {
  transform: translateX(1px) scale(0.96);
}

.button-primary {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
  box-shadow: 0 14px 30px rgba(8, 36, 74, 0.17);
}

.button-primary .button-icon {
  background: var(--orange);
  color: white;
}

.button-primary:hover {
  background: #041c3c;
  box-shadow: 0 16px 34px rgba(8, 36, 74, 0.23);
}

.button-primary:hover .button-icon {
  background: #ff7138;
}

.hero-media {
  position: absolute;
  z-index: 1;
  inset: 0 0 0 36%;
  overflow: hidden;
}

.hero-photo,
.water-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.2) 9%, #000 28%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.2) 9%, #000 28%);
}

.hero-photo {
  z-index: 1;
  object-fit: cover;
  object-position: 62% center;
  transform-origin: center right;
}

.water-canvas {
  z-index: 2;
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity 480ms ease-out;
}

.hero-media.is-water-live .water-canvas {
  opacity: 1;
}

.route-frame {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.route-line {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.route-line-base {
  stroke: var(--ink);
  stroke-width: 2.25;
}

.route-line-orange {
  stroke: var(--orange);
  stroke-width: 3;
}

.route-line-aqua {
  stroke: var(--aqua);
  stroke-width: 3;
}

.route-terminal {
  fill: white;
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.route-terminal-start {
  stroke: var(--ink);
}

.route-terminal-orange {
  stroke: var(--orange);
}

.route-terminal-aqua {
  stroke: var(--aqua);
}

.route-node {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border: 3px solid white;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 2px var(--orange), 0 5px 12px rgba(8, 36, 74, 0.24);
  offset-path: inset(7.4% 5.2% 7.4% 8.8% round 18px);
  offset-rotate: 0deg;
  opacity: 0;
}

.route-node-two {
  background: var(--aqua);
  box-shadow: 0 0 0 2px var(--aqua), 0 5px 12px rgba(8, 36, 74, 0.24);
}

.role-strip {
  position: relative;
  z-index: 15;
  display: grid;
  min-height: var(--role-height);
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(8, 36, 74, 0.11);
  background: white;
}

.role-path {
  position: relative;
  display: grid;
  min-height: var(--role-height);
  grid-template-columns: 58px 1fr 24px;
  align-items: center;
  gap: 18px;
  padding: 18px clamp(28px, 4.2vw, 54px);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: background 220ms ease-out;
}

.role-path + .role-path {
  border-left: 1px solid var(--line);
}

.role-path::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transition: transform 240ms ease-out;
}

.role-path[data-role="owner"]::after {
  background: var(--aqua);
}

.role-path:hover,
.role-path.is-active {
  background: #f8fbfe;
}

.role-path.is-active::after {
  transform: scaleX(1);
}

.role-icon {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ink);
  color: white;
}

.role-icon-owner {
  background: var(--aqua);
}

.role-icon svg,
.role-arrow {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.role-copy {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 10px;
}

.role-copy strong {
  flex: 0 0 auto;
  font-size: 0.9rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.role-copy em {
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.role-arrow {
  color: var(--ink);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 200ms ease-out, transform 200ms ease-out;
}

.role-path:hover .role-arrow,
.role-path.is-active .role-arrow {
  opacity: 1;
  transform: translateX(0);
}

.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;
}

.has-js:not(.is-ready) [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
}

.is-ready [data-reveal="header"] {
  animation: reveal-up 520ms 40ms both cubic-bezier(0.16, 1, 0.3, 1);
}

.is-ready [data-reveal="headline"] {
  animation: reveal-up 720ms 180ms both cubic-bezier(0.16, 1, 0.3, 1);
}

.is-ready [data-reveal="body"] {
  animation: reveal-up 620ms 340ms both cubic-bezier(0.16, 1, 0.3, 1);
}

.is-ready [data-reveal="actions"] {
  animation: reveal-up 620ms 450ms both cubic-bezier(0.16, 1, 0.3, 1);
}

.has-js:not(.is-ready) .route-line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.is-ready .route-line-base {
  animation: draw-route 1.45s 280ms both cubic-bezier(0.65, 0, 0.35, 1);
}

.is-ready .route-line-orange,
.is-ready .route-line-aqua {
  animation: draw-route 760ms 1.05s both cubic-bezier(0.16, 1, 0.3, 1);
}

.is-ready .hero-photo {
  animation: photo-settle 1.8s 120ms both cubic-bezier(0.16, 1, 0.3, 1);
}

.is-ready .route-node-one {
  animation: travel-route 1.9s 420ms both cubic-bezier(0.22, 1, 0.36, 1);
}

.is-ready .route-node-two {
  animation: travel-route-two 2.1s 740ms both cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes draw-route {
  from {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
  }
  to {
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
  }
}

@keyframes photo-settle {
  from {
    transform: scale(1.025);
  }
  to {
    transform: scale(1);
  }
}

@keyframes travel-route {
  0% {
    offset-distance: 0%;
    opacity: 0;
  }
  10%,
  82% {
    opacity: 1;
  }
  100% {
    offset-distance: 48%;
    opacity: 0;
  }
}

@keyframes travel-route-two {
  0% {
    offset-distance: 54%;
    opacity: 0;
  }
  10%,
  82% {
    opacity: 1;
  }
  100% {
    offset-distance: 92%;
    opacity: 0;
  }
}

@media (max-width: 960px) {
  :root {
    --header-height: 80px;
    --role-height: 96px;
  }

  .site-header {
    padding-inline: 28px;
  }

  .desktop-nav {
    gap: 24px;
    font-size: 0.92rem;
  }

  .nav-sign-in {
    min-width: 90px;
  }

  .hero-copy {
    width: 54%;
    padding-left: 32px;
  }

  .hero h1 {
    font-size: clamp(3.7rem, 7vw, 5rem);
  }

  .hero-media {
    left: 39%;
  }

  .role-path {
    grid-template-columns: 50px 1fr;
    gap: 16px;
    padding-inline: 28px;
  }

  .role-icon {
    width: 50px;
    height: 50px;
  }

  .role-copy {
    display: block;
  }

  .role-copy em {
    display: block;
    margin-top: 3px;
    font-size: 0.86rem;
  }

  .role-arrow {
    display: none;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 76px;
    --role-height: auto;
  }

  .site-header {
    height: var(--header-height);
    padding-inline: 18px;
  }

  .brand {
    gap: 9px;
    font-size: 1.24rem;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    color: var(--ink);
    cursor: pointer;
  }

  .menu-toggle svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.8;
  }

  .mobile-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 18px;
    left: 18px;
    display: grid;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: white;
    box-shadow: 0 20px 46px rgba(8, 36, 74, 0.14);
  }

  .mobile-nav[hidden] {
    display: none;
  }

  .mobile-nav a {
    display: flex;
    min-height: 48px;
    align-items: center;
    padding: 0 14px;
    border-radius: 8px;
    font-weight: 600;
  }

  .mobile-nav a:hover,
  .mobile-nav a:focus-visible {
    background: var(--wash);
  }

  .hero {
    display: flex;
    min-height: auto;
    flex-direction: column;
    background: var(--wash);
  }

  .hero-copy {
    width: 100%;
    min-height: auto;
    padding: 54px 22px 34px;
  }

  .hero h1 {
    font-size: clamp(3.3rem, 15.5vw, 4.4rem);
    line-height: 0.94;
  }

  .hero-copy > p {
    margin-top: 26px;
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    width: 100%;
    max-width: none;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 28px;
  }

  .button {
    min-height: 60px;
    padding-left: 20px;
  }

  .button-icon {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .hero-media {
    position: relative;
    inset: auto;
    width: 100%;
    height: min(62vw, 360px);
    min-height: 248px;
  }

  .hero-photo,
  .water-canvas {
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72) 0%, #000 18%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72) 0%, #000 18%);
  }

  .hero-photo {
    object-position: 62% center;
  }

  .route-line-base {
    stroke-width: 1.7;
  }

  .route-line-orange,
  .route-line-aqua {
    stroke-width: 2.2;
  }

  .role-strip {
    grid-template-columns: 1fr;
  }

  .role-path {
    min-height: 96px;
    grid-template-columns: 48px 1fr 22px;
    gap: 15px;
    padding: 18px 22px;
  }

  .role-path + .role-path {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .role-icon {
    width: 48px;
    height: 48px;
  }

  .role-copy em {
    white-space: normal;
  }

  .role-arrow {
    display: block;
  }
}

@media (min-width: 721px) {
  .hero {
    height: calc(100svh - var(--header-height) - var(--role-height));
    min-height: 0;
  }

  .hero-copy {
    min-height: 100%;
  }

  .route-frame {
    left: 5.5%;
    width: 94.5%;
  }

  .route-node {
    offset-path: inset(7.4% 5.2% 7.4% 14.5% round 18px);
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .route-node {
    display: none;
  }

  .water-canvas {
    display: none;
  }

  .has-js [data-reveal],
  .has-js:not(.is-ready) [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .route-line {
    stroke-dasharray: none !important;
    stroke-dashoffset: 0 !important;
    animation: none !important;
  }

  .hero-photo {
    transform: none !important;
    animation: none !important;
  }
}

/* Complete marketing site */

:root {
  --content-max: 1440px;
  --reading-max: 760px;
  --section-pad: clamp(80px, 9vw, 148px);
  --surface-blue: #edf6fb;
  --surface-aqua: #eaf8f8;
  --line-strong: rgba(8, 36, 74, 0.28);
  --success: #087c67;
  --error: #b42318;
}

body {
  line-height: 1.5;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

.desktop-nav {
  gap: clamp(12px, 1.55vw, 28px);
  font-size: 0.94rem;
}

.desktop-nav a[aria-current="page"]:not(.nav-sign-in):not(.nav-demo)::after {
  transform: scaleX(1);
}

.nav-demo,
.mobile-demo {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--orange);
  border-radius: 8px;
  background: var(--orange);
  color: white;
  box-shadow: 0 10px 24px rgba(255, 95, 31, 0.2);
  transition: background 200ms ease-out, border-color 200ms ease-out, box-shadow 200ms ease-out;
}

.nav-demo {
  min-width: 126px;
  padding-inline: 18px;
}

.nav-demo:hover,
.mobile-demo:hover,
.nav-demo:focus-visible,
.mobile-demo:focus-visible {
  border-color: #e94e11;
  background: #e94e11;
  box-shadow: 0 12px 28px rgba(255, 95, 31, 0.28);
}

.content-section {
  padding: var(--section-pad) clamp(24px, 5vw, 76px);
}

.content-section > *,
.closing-cta,
.site-footer,
.page-hero,
.resources-hero,
.demo-layout {
  margin-inline: auto;
}

.section-heading {
  width: min(100%, var(--content-max));
}

.section-heading h2,
.closing-cta h2,
.story-copy h2,
.story-copy h3,
.detail-band-copy h2,
.resource-article h2,
.demo-success h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.section-heading h2 {
  max-width: 860px;
  font-size: clamp(2.7rem, 4.5vw, 5rem);
}

.section-heading > p,
.closing-cta p,
.story-copy p,
.detail-band-copy p {
  color: var(--ink-soft);
  font-size: clamp(1.03rem, 1.35vw, 1.24rem);
  line-height: 1.7;
}

.section-heading-centered {
  margin-bottom: clamp(44px, 5.5vw, 80px);
  text-align: center;
}

.section-heading-centered h2,
.section-heading-centered p {
  margin-inline: auto;
}

.section-heading-centered p {
  max-width: 720px;
  margin-top: 22px;
}

.section-heading-split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  align-items: end;
  gap: clamp(40px, 7vw, 120px);
  margin-bottom: clamp(52px, 6vw, 88px);
}

.section-heading-split > p {
  margin: 0;
}

.workflow-rail {
  position: relative;
  display: grid;
  width: min(100%, 1240px);
  margin: 0 auto clamp(76px, 8vw, 122px);
  padding: 0;
  grid-template-columns: repeat(6, 1fr);
  list-style: none;
}

.workflow-rail::before,
.workflow-rail::after {
  position: absolute;
  top: 29px;
  right: 8.33%;
  left: 8.33%;
  height: 2px;
  content: "";
}

.workflow-rail::before {
  background: var(--line);
}

.workflow-rail::after {
  background: linear-gradient(90deg, var(--orange), var(--ink) 46%, var(--aqua));
  transform: scaleX(0);
  transform-origin: left;
}

.workflow-rail.is-visible::after {
  animation: rail-draw 880ms 180ms forwards cubic-bezier(0.16, 1, 0.3, 1);
}

.workflow-rail li {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.workflow-rail span {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: white;
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.workflow-rail li:first-child span {
  border-color: var(--orange);
}

.workflow-rail li:last-child span {
  border-color: var(--aqua);
}

.workflow-rail strong {
  font-size: 0.9rem;
  font-weight: 700;
}

.workflow-rail-large {
  margin-bottom: 0;
}

.product-story {
  display: grid;
  width: min(100%, var(--content-max));
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  align-items: center;
  gap: clamp(52px, 7vw, 112px);
  margin-inline: auto;
}

.product-frame {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(8, 36, 74, 0.16);
  border-radius: 16px;
  background: white;
  box-shadow: 0 28px 70px rgba(8, 36, 74, 0.12);
}

.product-frame::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.product-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.product-frame-dashboard img {
  aspect-ratio: 1.326 / 1;
  object-fit: cover;
  object-position: top left;
}

.product-frame-wide img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top left;
}

.product-frame-aqua {
  border-color: rgba(22, 182, 196, 0.55);
  box-shadow: 0 28px 70px rgba(22, 182, 196, 0.12);
}

.story-copy {
  position: relative;
  padding: clamp(46px, 5vw, 74px) 0 clamp(28px, 3vw, 48px) clamp(34px, 4vw, 66px);
}

.story-copy h2,
.story-copy h3 {
  font-size: clamp(2.6rem, 4vw, 4.7rem);
}

.story-copy p {
  margin: 26px 0 30px;
}

.route-corner::before,
.route-corner::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.route-corner::before {
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--ink);
}

.route-corner::after {
  top: -6px;
  left: 0;
  width: 10px;
  height: 10px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: white;
}

.text-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 12px;
  color: var(--orange);
  font-weight: 700;
}

.text-link svg,
.resource-list svg,
.resource-index svg,
.journey-icon svg,
.form-submit svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.text-link svg {
  transition: transform 200ms ease-out;
}

.text-link:hover svg {
  transform: translateX(4px);
}

.text-link-aqua {
  color: #087f89;
}

.platform-overview {
  background: white;
}

.audience-preview {
  border-top: 1px solid var(--line);
}

.audience-preview-broker {
  background: var(--wash);
}

.audience-preview-owner {
  background: var(--surface-aqua);
}

.audience-layout {
  display: grid;
  width: min(100%, var(--content-max));
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(56px, 8vw, 126px);
}

.audience-layout-reverse {
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.72fr);
}

.audience-layout-reverse .audience-copy {
  grid-column: 2;
}

.audience-layout-reverse .product-frame {
  grid-row: 1;
  grid-column: 1;
}

.audience-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 4.3vw, 5.1rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.audience-copy > p {
  margin: 28px 0 32px;
  color: var(--ink-soft);
  font-size: clamp(1.03rem, 1.25vw, 1.2rem);
  line-height: 1.7;
}

.feature-list {
  padding: 0;
  margin: 0 0 26px;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: 15px 0 15px 30px;
  border-top: 1px solid var(--line);
  font-weight: 650;
}

.feature-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.feature-list li::before {
  position: absolute;
  top: 23px;
  left: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 95, 31, 0.11);
  content: "";
}

.feature-list-aqua li::before {
  background: var(--aqua);
  box-shadow: 0 0 0 4px rgba(22, 182, 196, 0.11);
}

.resources-preview {
  background: white;
}

.resource-list,
.resource-index {
  width: min(100%, var(--content-max));
}

.resource-list a,
.resource-index a {
  display: grid;
  min-height: 112px;
  grid-template-columns: 70px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 22px;
  border-top: 1px solid var(--line);
  transition: background 200ms ease-out, padding 200ms ease-out;
}

.resource-list a:last-child,
.resource-index a:last-child {
  border-bottom: 1px solid var(--line);
}

.resource-list a:hover,
.resource-index a:hover {
  padding-inline: 20px;
  background: var(--wash);
}

.resource-list span,
.resource-index span,
.principle-list article > span,
.resource-article header > span {
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.14em;
}

.resource-list strong,
.resource-index strong {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.resource-list svg,
.resource-index svg {
  justify-self: end;
}

.closing-cta {
  position: relative;
  display: grid;
  width: min(calc(100% - 48px), var(--content-max));
  min-height: 250px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 48px;
  padding: clamp(46px, 6vw, 82px);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--wash);
  overflow: hidden;
}

.closing-cta::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange) 0 27%, var(--ink) 27% 72%, var(--aqua) 72%);
  content: "";
}

.closing-cta h2 {
  max-width: 900px;
  font-size: clamp(2.5rem, 4vw, 4.6rem);
}

.closing-cta p {
  max-width: 760px;
  margin: 20px 0 0;
}

.closing-cta .button {
  width: 224px;
}

.closing-cta-aqua {
  background: var(--surface-aqua);
}

.site-footer {
  display: grid;
  width: min(100%, var(--content-max));
  grid-template-columns: auto minmax(180px, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  padding: 76px clamp(24px, 5vw, 76px);
}

.footer-brand {
  min-height: 48px;
}

.footer-brand img {
  width: 220px;
  height: auto;
}

.site-footer > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px 28px;
  font-size: 0.9rem;
  font-weight: 600;
}

.site-footer nav a:hover {
  color: var(--orange);
}

/* Internal pages */

.page-hero,
.resources-hero,
.demo-layout {
  width: 100%;
  max-width: 1600px;
}

.page-hero {
  min-height: 680px;
  padding: clamp(82px, 9vw, 142px) clamp(24px, 5vw, 76px);
  background: var(--wash);
}

.page-hero-centered {
  display: flex;
  min-height: 610px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.route-surface {
  position: relative;
  overflow: hidden;
}

.route-surface::before {
  position: absolute;
  top: 72px;
  right: 5vw;
  bottom: 72px;
  left: 55%;
  border-top: 2px solid var(--ink);
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--aqua);
  border-radius: 0 18px 18px 0;
  content: "";
  opacity: 0.92;
}

.route-surface::after {
  position: absolute;
  top: 65px;
  left: 55%;
  width: 10px;
  height: 10px;
  border: 3px solid var(--orange);
  border-radius: 50%;
  background: white;
  content: "";
}

.page-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.page-hero-centered .page-hero-copy {
  max-width: 1080px;
}

.page-hero h1,
.resources-hero h1,
.demo-intro h1,
.not-found h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.6rem, 6.3vw, 7.2rem);
  font-weight: 600;
  letter-spacing: -0.062em;
  line-height: 0.94;
}

.page-hero-copy > p,
.resources-hero p,
.demo-intro > p {
  max-width: 760px;
  margin: 28px 0 36px;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.45vw, 1.32rem);
  line-height: 1.65;
}

.page-hero-centered .page-hero-copy > p,
.page-hero-centered .button {
  margin-inline: auto;
}

.page-hero-centered .button {
  width: 224px;
}

.workflow-section {
  border-top: 1px solid var(--line);
  background: white;
}

.platform-proof {
  background: var(--wash);
}

.operating-principles {
  background: white;
}

.principle-list {
  display: grid;
  width: min(100%, var(--content-max));
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.principle-list article {
  padding: clamp(34px, 4vw, 58px);
}

.principle-list article + article {
  border-left: 1px solid var(--line);
}

.principle-list h3 {
  margin: 22px 0 16px;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 2.5vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.principle-list p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.audience-page-hero {
  display: grid;
  grid-template-columns: minmax(330px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(54px, 7vw, 112px);
}

.audience-page-hero .page-hero-copy {
  max-width: 610px;
}

.audience-page-hero .page-hero-copy .button {
  width: 224px;
}

.audience-page-hero-broker {
  background: var(--wash);
}

.audience-page-hero-owner {
  background: var(--surface-aqua);
}

.page-hero-product {
  overflow: visible;
  box-shadow: 0 32px 80px rgba(8, 36, 74, 0.16);
}

.page-hero-product::after {
  position: absolute;
  z-index: -1;
  top: -34px;
  right: -34px;
  bottom: -34px;
  left: 34px;
  border-top: 2px solid var(--orange);
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--aqua);
  border-radius: 18px;
  content: "";
}

.journey-section {
  background: white;
}

.journey-section-owner {
  background: #fbffff;
}

.journey-list {
  width: min(100%, var(--content-max));
  border-top: 1px solid var(--ink);
}

.journey-step {
  display: grid;
  min-height: 200px;
  grid-template-columns: 80px 72px minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding: 32px clamp(8px, 2vw, 30px);
  border-bottom: 1px solid var(--line);
}

.journey-number {
  align-self: start;
  padding-top: 16px;
  color: var(--orange);
  font-size: 1.2rem;
  font-weight: 750;
}

.journey-section-owner .journey-number {
  color: #087f89;
}

.journey-icon {
  display: inline-flex;
  width: 72px;
  height: 72px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 10px;
  color: var(--ink);
}

.journey-section-owner .journey-icon {
  border-color: var(--aqua);
  color: #087f89;
}

.journey-icon svg {
  width: 30px;
  height: 30px;
}

.journey-step h3 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.2vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.journey-step p {
  max-width: 850px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.7;
}

.broker-detail-band,
.owner-detail-band {
  display: flex;
  min-height: 540px;
  align-items: center;
  justify-content: center;
  border-top: 1px solid var(--line);
}

.broker-detail-band {
  background: var(--ink);
  color: white;
}

.owner-detail-band {
  background: #063f46;
  color: white;
}

.detail-band-copy {
  width: min(100%, 980px);
  text-align: center;
}

.detail-band-copy h2 {
  font-size: clamp(2.9rem, 5vw, 5.8rem);
}

.detail-band-copy p {
  max-width: 820px;
  margin: 28px auto;
  color: rgba(255, 255, 255, 0.76);
}

/* Resources */

.resources-hero {
  min-height: 520px;
  padding: clamp(82px, 9vw, 140px) clamp(24px, 5vw, 76px);
  background: var(--wash);
}

.resources-hero > div {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.resources-hero h1 {
  font-size: clamp(3.8rem, 6.7vw, 7.6rem);
}

.resource-index {
  padding: 46px clamp(24px, 5vw, 76px) 110px;
  background: white;
}

.article-stream {
  border-top: 1px solid var(--line);
}

.resource-article {
  display: grid;
  width: min(100%, var(--content-max));
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(56px, 8vw, 134px);
  padding: var(--section-pad) clamp(24px, 5vw, 76px);
  margin-inline: auto;
  scroll-margin-top: 30px;
}

.resource-article + .resource-article {
  border-top: 1px solid var(--line);
}

.resource-article:nth-child(even) {
  background: var(--wash);
}

.resource-article header {
  align-self: start;
}

.resource-article h2 {
  margin-top: 24px;
  font-size: clamp(2.7rem, 4.4vw, 5rem);
}

.resource-article header p {
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.7;
}

.article-body {
  max-width: var(--reading-max);
}

.article-body > p:first-child {
  margin-top: 0;
  font-size: clamp(1.12rem, 1.5vw, 1.28rem);
}

.article-body p,
.article-body li {
  color: #354965;
  font-size: 1.05rem;
  line-height: 1.8;
}

.article-body h3 {
  margin: 46px 0 14px;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.3vw, 2.45rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.article-body ul {
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.article-body li {
  position: relative;
  padding: 13px 0 13px 30px;
  border-top: 1px solid var(--line);
}

.article-body li:last-child {
  border-bottom: 1px solid var(--line);
}

.article-body li::before {
  position: absolute;
  top: 23px;
  left: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--aqua);
  content: "";
}

/* Demo form */

.demo-layout {
  display: grid;
  min-height: calc(100svh - var(--header-height));
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(54px, 7vw, 112px);
  padding: clamp(74px, 8vw, 122px) clamp(24px, 5vw, 76px);
  background: var(--wash);
}

.demo-intro {
  max-width: 650px;
}

.demo-intro h1 {
  font-size: clamp(3.5rem, 5.6vw, 6.4rem);
}

.demo-agenda {
  position: relative;
  padding: 22px 0 0 54px;
  margin: 42px 0 0;
  list-style: none;
}

.demo-agenda::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 10px;
  width: 2px;
  background: var(--ink);
  content: "";
}

.demo-agenda li {
  display: grid;
  min-height: 82px;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.demo-agenda span {
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.demo-agenda strong {
  font-size: 1.02rem;
}

.demo-form-shell {
  align-self: start;
}

.demo-form,
.demo-success {
  padding: clamp(30px, 4.5vw, 62px);
  border: 1px solid var(--ink);
  border-radius: 16px;
  background: white;
  box-shadow: 0 28px 70px rgba(8, 36, 74, 0.08);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 22px;
}

.field-group {
  min-width: 0;
}

.field-group-wide {
  grid-column: 1 / -1;
}

.field-group label {
  display: block;
  margin-bottom: 9px;
  font-size: 0.92rem;
  font-weight: 700;
}

.field-group label span {
  color: var(--error);
}

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  min-height: 54px;
  padding: 13px 15px;
  border: 1px solid #a9b8ca;
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font: 500 1rem/1.45 var(--sans);
  transition: border-color 180ms ease-out, box-shadow 180ms ease-out;
}

.field-group textarea {
  min-height: 132px;
  resize: vertical;
}

.field-group select {
  padding-right: 46px;
  appearance: none;
}

.select-wrap {
  position: relative;
}

.select-wrap > svg {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  pointer-events: none;
  transform: translateY(-50%);
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  border-color: var(--focus);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(11, 111, 159, 0.16);
}

.field-group.has-error input,
.field-group.has-error select,
.field-group.has-error textarea {
  border-color: var(--error);
}

.field-helper,
.field-error {
  display: block;
  margin-top: 7px;
  font-size: 0.78rem;
  line-height: 1.45;
}

.field-helper {
  color: var(--ink-soft);
}

.field-error {
  min-height: 1.15em;
  color: var(--error);
  font-weight: 650;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 32px;
}

.preview-notice {
  display: inline-flex;
  max-width: 410px;
  align-items: flex-start;
  gap: 9px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.5;
}

.preview-notice svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.form-submit {
  display: inline-flex;
  min-width: 190px;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 18px 0 22px;
  border: 1px solid var(--orange);
  border-radius: 10px;
  background: var(--orange);
  color: white;
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 750;
  transition: background 180ms ease-out, transform 180ms ease-out;
}

.form-submit:hover {
  background: #e94e11;
}

.form-submit:active {
  transform: scale(0.985);
}

.demo-success {
  display: grid;
  min-height: 430px;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 36px;
  border-color: var(--aqua);
}

.demo-success[hidden] {
  display: none;
}

.success-icon {
  display: inline-flex;
  width: 96px;
  height: 96px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--aqua);
  border-radius: 50%;
  color: #087f89;
}

.success-icon svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.demo-success h2 {
  font-size: clamp(2.7rem, 4vw, 4.6rem);
}

.demo-success p {
  margin: 20px 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.7;
}

.text-button {
  min-height: 44px;
  padding: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
}

/* Privacy publication draft */

.legal-page {
  background: var(--wash);
}

.legal-hero {
  min-height: 430px;
  padding: clamp(84px, 9vw, 138px) clamp(24px, 8vw, 128px) clamp(72px, 8vw, 116px);
}

.legal-hero > div {
  position: relative;
  z-index: 1;
  max-width: 980px;
}

.legal-kicker {
  margin: 0 0 22px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-hero h1 {
  font-size: clamp(4.5rem, 8vw, 8.8rem);
}

.legal-hero div > p:last-child {
  max-width: 760px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.75;
}

.draft-gate {
  display: grid;
  width: min(calc(100% - 48px), 1280px);
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
  gap: 32px;
  padding: 26px 30px;
  margin: 42px auto 0;
  border: 1px solid rgba(255, 95, 31, 0.5);
  border-left: 5px solid var(--orange);
  border-radius: 12px;
  background: #fff8f3;
}

.draft-gate strong {
  align-self: start;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.draft-gate p {
  margin: 0;
  color: #3f5068;
  line-height: 1.7;
}

.legal-layout {
  display: grid;
  width: min(calc(100% - 48px), 1280px);
  grid-template-columns: minmax(210px, 0.28fr) minmax(0, 1fr);
  gap: clamp(54px, 7vw, 112px);
  padding: clamp(70px, 8vw, 122px) 0;
  margin-inline: auto;
}

.legal-index {
  position: sticky;
  top: 28px;
  display: grid;
  align-self: start;
  gap: 0;
  border-top: 2px solid var(--ink);
}

.legal-index strong {
  padding: 20px 0 14px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-index a {
  padding: 11px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.35;
}

.legal-index a:hover {
  color: var(--ink);
}

.legal-content {
  min-width: 0;
  border-top: 2px solid var(--ink);
}

.legal-section {
  position: relative;
  padding: clamp(54px, 6vw, 86px) 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 32px;
}

.legal-section > span {
  display: block;
  margin-bottom: 18px;
  color: var(--aqua);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.legal-section h2 {
  max-width: 920px;
  font-size: clamp(2.6rem, 4vw, 4.7rem);
}

.legal-section p,
.legal-section li {
  color: #354965;
  font-size: 1.03rem;
  line-height: 1.82;
}

.legal-section p {
  max-width: 850px;
  margin: 24px 0 0;
}

.legal-section ul {
  max-width: 900px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.legal-section li {
  position: relative;
  padding: 14px 0 14px 30px;
  border-top: 1px solid var(--line);
}

.legal-section li:last-child {
  border-bottom: 1px solid var(--line);
}

.legal-section li::before {
  position: absolute;
  top: 25px;
  left: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  content: "";
}

.preview-notice a {
  border-bottom: 1px solid currentColor;
}

/* 404 */

.not-found {
  display: flex;
  width: min(calc(100% - 48px), 1100px);
  min-height: 100svh;
  flex-direction: column;
  justify-content: center;
  gap: 74px;
  padding: 64px 0;
  margin-inline: auto;
}

.not-found .route-corner {
  position: relative;
  padding: 68px 0 30px 66px;
}

.not-found h1 {
  max-width: 760px;
}

.not-found p {
  margin: 22px 0 32px;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.not-found .button {
  width: 210px;
}

/* Scroll reveals */

.has-js .reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 560ms ease-out, transform 680ms cubic-bezier(0.16, 1, 0.3, 1);
}

.has-js .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes rail-draw {
  to {
    transform: scaleX(1);
  }
}

@media (max-width: 1120px) {
  .site-header {
    padding-inline: 28px;
  }

  .brand {
    min-height: 50px;
  }

  .brand img {
    width: 188px;
    height: auto;
  }

  .desktop-nav {
    gap: 11px;
    font-size: 0.82rem;
  }

  .nav-sign-in {
    min-width: 82px;
  }

  .nav-demo {
    min-width: 108px;
    padding-inline: 12px;
  }

  .product-story,
  .audience-layout,
  .audience-layout-reverse,
  .audience-page-hero,
  .demo-layout {
    gap: 52px;
  }

  .site-footer {
    grid-template-columns: auto 1fr;
  }

  .site-footer > p {
    display: none;
  }

  .legal-layout {
    gap: 52px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 80px;
    --section-pad: 88px;
  }

  .desktop-nav {
    display: none;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-index {
    position: static;
    grid-template-columns: 1fr 1fr;
    column-gap: 28px;
  }

  .legal-index strong {
    grid-column: 1 / -1;
  }

  .menu-toggle {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    color: var(--ink);
    cursor: pointer;
  }

  .menu-toggle svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.8;
  }

  .mobile-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 24px;
    left: 24px;
    display: grid;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: white;
    box-shadow: 0 20px 46px rgba(8, 36, 74, 0.14);
  }

  .mobile-nav[hidden] {
    display: none;
  }

  .mobile-nav a {
    display: flex;
    min-height: 48px;
    align-items: center;
    padding: 0 14px;
    border-radius: 8px;
    font-weight: 650;
  }

  .mobile-nav a:hover,
  .mobile-nav a:focus-visible,
  .mobile-nav a[aria-current="page"] {
    background: var(--wash);
  }

  .mobile-nav .mobile-demo {
    margin-top: 6px;
    background: var(--orange);
    color: white;
  }

  .product-story,
  .audience-layout,
  .audience-layout-reverse,
  .audience-page-hero,
  .resource-article,
  .demo-layout {
    grid-template-columns: 1fr;
  }

  .audience-layout-reverse .audience-copy,
  .audience-layout-reverse .product-frame {
    grid-row: auto;
    grid-column: auto;
  }

  .audience-layout-reverse .audience-copy {
    order: 1;
  }

  .audience-layout-reverse .product-frame {
    order: 2;
  }

  .story-copy {
    max-width: 720px;
    padding-right: 30px;
  }

  .section-heading-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-heading-split > p {
    max-width: 720px;
  }

  .principle-list {
    grid-template-columns: 1fr;
  }

  .principle-list article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .page-hero {
    min-height: auto;
  }

  .audience-page-hero {
    padding-top: 92px;
  }

  .audience-page-hero .page-hero-copy {
    max-width: 760px;
  }

  .page-hero-product {
    margin: 22px 34px 34px 0;
  }

  .route-surface::before {
    left: 48%;
  }

  .route-surface::after {
    left: 48%;
  }

  .resource-article {
    gap: 46px;
  }

  .demo-intro {
    max-width: 760px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  :root {
    --section-pad: 72px;
  }

  .content-section {
    padding-inline: 22px;
  }

  .legal-hero {
    min-height: 0;
    padding-inline: 22px;
  }

  .legal-hero::before,
  .legal-hero::after {
    display: none;
  }

  .draft-gate {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 24px 22px;
  }

  .legal-layout {
    width: calc(100% - 44px);
  }

  .workflow-rail {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 34px;
  }

  .workflow-rail::before,
  .workflow-rail::after {
    display: none;
  }

  .workflow-rail li {
    gap: 8px;
  }

  .workflow-rail span {
    width: 50px;
    height: 50px;
  }

  .product-story,
  .audience-layout,
  .audience-layout-reverse {
    gap: 40px;
  }

  .story-copy {
    padding: 44px 16px 16px 30px;
  }

  .closing-cta {
    width: calc(100% - 32px);
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 44px 28px;
  }

  .closing-cta .button {
    width: 100%;
  }

  .site-footer {
    padding: 62px 22px;
  }

  .site-footer nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .page-hero,
  .resources-hero,
  .demo-layout {
    padding-inline: 22px;
  }

  .page-hero-centered {
    min-height: 560px;
    text-align: left;
  }

  .page-hero-centered .page-hero-copy > p,
  .page-hero-centered .button {
    margin-inline: 0;
  }

  .page-hero-centered .button {
    width: 100%;
  }

  .route-surface::before {
    top: auto;
    right: 22px;
    bottom: 32px;
    left: 22px;
    height: 86px;
  }

  .route-surface::after {
    top: auto;
    bottom: 25px;
    left: 22px;
  }

  .page-hero-product {
    margin: 12px 18px 18px 0;
  }

  .page-hero-product::after {
    top: -16px;
    right: -16px;
    bottom: -16px;
    left: 16px;
  }

  .journey-step {
    grid-template-columns: 50px 1fr;
    gap: 18px;
    padding: 28px 0;
  }

  .journey-number {
    grid-column: 1;
  }

  .journey-icon {
    width: 50px;
    height: 50px;
    grid-column: 1;
  }

  .journey-step > div:last-child {
    grid-row: 1 / span 2;
    grid-column: 2;
  }

  .resource-index {
    padding: 28px 22px 72px;
  }

  .resource-list a,
  .resource-index a {
    min-height: 116px;
    grid-template-columns: 34px minmax(0, 1fr) 26px;
    gap: 12px;
  }

  .resource-list a:hover,
  .resource-index a:hover {
    padding-inline: 8px;
  }

  .resource-article {
    padding-inline: 22px;
  }

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

  .field-group-wide {
    grid-column: auto;
  }

  .form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .form-submit {
    width: 100%;
  }

  .demo-success {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .success-icon {
    width: 76px;
    height: 76px;
  }

  .not-found {
    gap: 54px;
  }

  .not-found .route-corner {
    padding: 54px 0 22px 28px;
  }
}

@media (max-width: 480px) {
  .brand img {
    width: 172px;
  }

  .footer-brand img {
    width: 198px;
  }

  .section-heading h2,
  .audience-copy h2,
  .page-hero h1,
  .resources-hero h1,
  .demo-intro h1,
  .not-found h1 {
    font-size: clamp(3rem, 14vw, 4.1rem);
  }

  .legal-hero h1 {
    font-size: clamp(3.8rem, 18vw, 5.4rem);
  }

  .legal-index {
    grid-template-columns: 1fr;
  }

  .legal-index strong {
    grid-column: auto;
  }

  .legal-section h2 {
    font-size: clamp(2.4rem, 11vw, 3.3rem);
  }

  .resource-article h2,
  .closing-cta h2,
  .story-copy h2,
  .story-copy h3,
  .detail-band-copy h2 {
    font-size: clamp(2.4rem, 11vw, 3.3rem);
  }

  .workflow-rail strong {
    font-size: 0.78rem;
  }

  .product-frame {
    border-radius: 11px;
  }

  .journey-step h3 {
    font-size: 2rem;
  }

  .resource-list strong,
  .resource-index strong {
    font-size: 1.25rem;
  }

  .demo-form,
  .demo-success {
    padding: 24px 18px;
  }

  .site-footer nav {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .has-js .reveal-on-scroll,
  .has-js .reveal-on-scroll.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .workflow-rail::after {
    transform: scaleX(1);
    animation: none !important;
  }
}
