:root {
  color-scheme: dark;
  --paper: #090a12;
  --white: #141727;
  --ink: #f0f1ff;
  --muted: #b9bfd6;
  --accent: #bac7ff;
  --dark: #101426;
  --soft: #12182b;
  --line: #30364f;
  --highlight: #d7ddff;
  --focus: #a1b3ff;
  --header-background: #0a0c16fa;
  --header-space: 5rem;
  --hero-background:
    radial-gradient(ellipse at 78% 45%, #26214f 0, transparent 43%),
    radial-gradient(ellipse at 100% 0%, #232943 0, transparent 45%),
    linear-gradient(109deg, #080910 12%, #0c0f1e 62%, #15152b);
  --hero-accent: #c7ceff;
  --button-solid: #eef0ff;
  --button-hover: #d7dfff;
  --button-ink: #171b31;
  --input: #0e1324;
  --flow-grid: #6d80c01b;
  --flow-edge: #6273a4;
  --flow-live: #aebeff;
  --flow-packet: #f5f7ff;
  --flow-selected: #282e51;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  font-size: 100%;
  line-height: 1.6;
}

:root[data-theme="light"] {
  color-scheme: light;
  --paper: #f5f6fb;
  --white: #fff;
  --ink: #171b2f;
  --muted: #4a506a;
  --accent: #39477d;
  --dark: #edf0fa;
  --soft: #e7eaf7;
  --line: #d8deeb;
  --highlight: #dce3ff;
  --focus: #3554ae;
  --header-background: #fcfcfffa;
  --hero-background:
    radial-gradient(ellipse at 76% 46%, #cfd7fa 0, transparent 46%),
    linear-gradient(109deg, #f8f9fd 12%, #edf0fb 72%, #e4e8f9);
  --hero-accent: #3d4e8b;
  --button-solid: #35447c;
  --button-hover: #273668;
  --button-ink: #fff;
  --input: #fafbff;
  --flow-grid: #7e8cbb24;
  --flow-edge: #7b88aa;
  --flow-live: #4159a6;
  --flow-packet: #2d44a2;
  --flow-selected: #e8edff;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-space); }
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: inherit; text-underline-offset: .2em; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.13; text-wrap: balance; }
p { text-wrap: pretty; }
section[id] { scroll-margin-top: .6rem; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }

.shell {
  width: min(calc(100% - 64px), 1160px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  padding: .65rem 1rem;
  background: var(--white);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 8;
  background: var(--header-background);
  border-bottom: 1px solid var(--line);
}
.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}
.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 74px;
  gap: .9rem 1.35rem;
}
.header-inner, .hero.shell { width: min(calc(100% - 72px), 1320px); }
.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-size: 1.38rem;
  font-weight: 900;
  letter-spacing: -.065em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark span { color: #7887d1; }
.site-header .wordmark span { color: var(--hero-accent); }
.site-nav, .footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem clamp(1rem, 2.8vw, 2.2rem);
}
.site-nav a, .footer-inner nav a {
  font-size: .94rem;
  font-weight: 650;
  text-decoration: none;
  color: var(--muted);
}
.site-nav { justify-content: center; gap: .35rem clamp(.65rem, 1.65vw, 1.55rem); }
.site-nav a:hover, .footer-inner nav a:hover { color: var(--ink); text-decoration: underline; }
.header-actions {
  display: flex;
  align-items: center;
  gap: .55rem;
}
.language-switch {
  display: flex;
  padding: .18rem;
  background: var(--dark);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.language-switch a {
  display: grid;
  place-items: center;
  min-width: 36px;
  min-height: 36px;
  border-radius: 999px;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 700;
  text-decoration: none;
}
.language-switch a[aria-current="page"] { color: var(--ink); background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .52rem;
  min-height: 43px;
  padding: .3rem .72rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 680;
}
.theme-toggle:hover { border-color: var(--accent); }
.theme-icon {
  position: relative;
  width: .76rem;
  height: .76rem;
  border: 1.4px solid currentColor;
  border-radius: 50%;
}
.theme-icon::before {
  content: "";
  position: absolute;
  inset: -.3rem;
  background: repeating-conic-gradient(currentColor 0deg 8deg, transparent 8deg 45deg);
  mask-image: radial-gradient(transparent 53%, #000 54% 68%, transparent 69%);
}
:root[data-theme="light"] .theme-icon { border: 0; box-shadow: inset .26rem -.07rem 0 0 currentColor; }
:root[data-theme="light"] .theme-icon::before { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .7rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.button--primary { background: var(--button-solid); color: var(--button-ink); }
.button--primary:hover { background: var(--button-hover); }
.button--outline { background: transparent; border-color: var(--line); color: var(--ink); }
.button--outline:hover { background: var(--soft); border-color: var(--accent); }

.hero-band {
  overflow: hidden;
  background: var(--hero-background);
  color: var(--ink);
}
.hero {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(1.75rem, 4vw, 4.15rem);
  min-height: min(74vh, 49rem);
  padding-block: clamp(3.4rem, 6.6vw, 6.6rem);
}
.eyebrow {
  color: var(--accent);
  font-size: .83rem;
  font-weight: 750;
  letter-spacing: .11em;
  line-height: 1.45;
  text-transform: uppercase;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: var(--hero-accent);
}
.hero-eyebrow::before {
  content: "";
  width: 1.3rem;
  height: 1px;
  flex: 0 0 auto;
  background: #a0adff;
}
.hero h1 {
  margin-top: 1.22rem;
  font-size: clamp(2.84rem, 5.2vw, 5.6rem);
  font-weight: 680;
  letter-spacing: -.066em;
  line-height: 1.02;
  text-wrap: initial;
}
.hero h1 span { display: block; color: var(--hero-accent); }
.hero-examples {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  align-items: start;
  gap: .3rem clamp(.55rem, 1.5vw, 1rem);
  max-width: 34rem;
  margin-top: clamp(1.2rem, 2.25vw, 1.65rem);
  padding: .15rem 0 .15rem clamp(.7rem, 1.75vw, 1.05rem);
  border-inline-start: 2px solid var(--flow-live);
}
.hero-examples-label {
  grid-column: 1;
  justify-self: start;
  color: var(--accent);
  font-size: .87rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}
.hero-examples-label:hover { text-decoration: underline; }
.hero-examples-label span { margin-inline-start: .25em; }
.hero-examples-list {
  grid-column: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}
.hero-examples-list li { grid-area: 1 / 1; visibility: hidden; }
.hero-examples-list li[data-current] { visibility: visible; }
.hero-examples-list strong {
  display: block;
  width: fit-content;
  max-width: 100%;
  color: var(--ink);
  font-size: clamp(1.27rem, 2.65vw, 2.1rem);
  font-weight: 750;
  line-height: 1.16;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}
.hero-examples-list p {
  margin-top: .27rem;
  color: var(--muted);
  font-size: clamp(.9rem, 1.12vw, 1.04rem);
  line-height: 1.4;
}
.hero-examples-toggle { grid-area: 1 / 2 / span 2; align-self: center; }

@keyframes hero-example-sweep {
  from { background-position: 100% 50%; transform: translateY(.12em); }
  to { background-position: 0 50%; transform: translateY(0); }
}

@media (prefers-reduced-motion: no-preference) and (forced-colors: none) {
  @supports (background-clip: text) {
    .hero-examples[data-motion="playing"] li[data-current] strong {
      color: transparent;
      background-image: linear-gradient(106deg, var(--ink) 34%, var(--hero-accent) 46% 54%, var(--ink) 66%);
      background-size: 280% 100%;
      background-clip: text;
      animation: hero-example-sweep .85s ease-out both;
    }
  }
}

.intro { max-width: 34rem; margin-top: 1.45rem; color: var(--muted); font-size: clamp(1.06rem, 1.5vw, 1.24rem); }
.actions { display: flex; flex-wrap: wrap; gap: .72rem; margin-top: 1.75rem; }
.hero .button { border-radius: 999px; padding-inline: 1.18rem; }
.hero .button--primary { background: var(--button-solid); color: var(--button-ink); }
.hero .button--primary:hover { background: var(--button-hover); }
.hero .button--outline { border-color: var(--line); color: var(--ink); background: var(--dark); }
.hero .button--outline:hover { background: var(--soft); border-color: var(--accent); }
.hero-note { margin-top: .85rem; color: var(--muted); font-size: .91rem; }

.hero-visual { min-width: 0; width: 100%; max-width: 37rem; margin-inline: auto; }
.hero-scene {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1.22;
  isolation: isolate;
}
.hero-scene::before {
  content: "";
  position: absolute;
  inset: 3% 6% 0;
  background:
    linear-gradient(#9da8f51c 1px, transparent 1px),
    linear-gradient(90deg, #9da8f51c 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse, #000 16%, transparent 74%);
}
.hero-orbit {
  position: absolute;
  width: 90%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid #8796f45c;
  transform: rotate(-23deg) scaleY(.57);
  box-shadow: inset 0 0 38px #7a8bff16, 0 0 45px #7a8bff1f;
}
.hero-orbit::before {
  content: "";
  position: absolute;
  inset: -7%;
  border-radius: inherit;
  border: 1px solid #a0a8ff25;
}
.scene { display: none; position: absolute; inset: 0; }
.hero-visual[data-scene="erfassen"] .scene--erfassen,
.hero-visual[data-scene="abgleichen"] .scene--abgleichen,
.hero-visual[data-scene="fristen"] .scene--fristen,
.hero-visual[data-scene="uebersicht"] .scene--uebersicht { display: block; }

.glass {
  position: absolute;
  border: 1px solid #acb8fff0;
  border-bottom-color: #7485d5;
  border-radius: clamp(10px, 2.45vw, 26px);
  background: linear-gradient(135deg, #e1e5ff82 0%, #778be34d 22%, #262d58e0 63%, #101533f7 100%);
  box-shadow:
    inset 1px 1px 1px #f2f4ffc9,
    inset -1px -1px 0 #899cdb99,
    0 1px 12px #a2a3ff31,
    15px 25px 40px #02041791;
}
.glass-lines {
  position: absolute;
  inset: 42% 16% 16%;
  background:
    linear-gradient(90deg, #dce3ffa0, #a6b7ff40) 0 0 / 100% 9% no-repeat,
    linear-gradient(90deg, #dce3ff86, #a6b7ff33) 0 45% / 81% 9% no-repeat,
    linear-gradient(90deg, #dce3ff60, #a6b7ff20) 0 90% / 91% 9% no-repeat;
}
.sheet {
  top: 17%;
  left: 30%;
  width: 41%;
  height: 65%;
  transform: rotate(-12deg);
}
.sheet--back {
  left: 39%;
  top: 13%;
  transform: rotate(16deg);
  opacity: .59;
}
.sheet--middle {
  left: 35%;
  top: 15%;
  transform: rotate(2deg);
  opacity: .78;
}
.sheet--front { overflow: hidden; animation: sheet-drift 10s ease-in-out infinite; }
.sheet-mark {
  position: absolute;
  left: 16%;
  top: 14%;
  width: 20%;
  aspect-ratio: 1;
  border: 1px solid #e6edffbd;
  border-radius: 25%;
  background: linear-gradient(145deg, #cad5ffdc, #7f92ec60);
  box-shadow: 0 0 24px #a2aaff83;
}
.scan { position: absolute; inset: 0 5%; animation: sheet-scan 7s ease-in-out infinite; }
.scan::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, #eef2ff, transparent);
  box-shadow: 0 0 9px 2px #abc1fd9c;
}
@keyframes sheet-drift {
  0%, 100% { transform: translateY(0) rotate(-12deg); }
  50% { transform: translateY(-12px) rotate(-8deg); }
}
@keyframes sheet-scan {
  0%, 10% { transform: translateY(12%); opacity: 0; }
  23% { opacity: .85; }
  64% { opacity: .85; }
  79%, 100% { transform: translateY(87%); opacity: 0; }
}

.match-card { width: 47%; height: 44%; }
.match-card .glass-lines { inset: 23% 13% 23%; }
.match-card--left { top: 20%; left: 10%; animation: match-left 8s ease-in-out infinite; }
.match-card--right {
  top: 41%;
  right: 10%;
  background: linear-gradient(145deg, #d8d5ff9c, #8669da5e 38%, #22234df7 88%);
  animation: match-right 8s ease-in-out infinite;
}
.check-seal {
  display: grid;
  place-items: center;
  width: 21%;
  aspect-ratio: 1;
  left: 42%;
  top: 32%;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 21%, #c9dcfffa, #7588e7 36%, #35417c 76%);
  animation: seal-light 8s ease-in-out infinite;
}
.check-seal::before {
  content: "";
  height: 43%;
  width: 23%;
  border: solid #f7fbff;
  border-width: 0 clamp(3px, .6vw, 7px) clamp(3px, .6vw, 7px) 0;
  transform: translateY(-12%) rotate(42deg);
}
@keyframes match-left {
  0%, 100% { transform: translate(-8%, -2%) rotate(-13deg); }
  50% { transform: translate(3%, 5%) rotate(-8deg); }
}
@keyframes match-right {
  0%, 100% { transform: translate(8%, 4%) rotate(10deg); }
  50% { transform: translate(-2%, -3%) rotate(6deg); }
}
@keyframes seal-light {
  0%, 100% { transform: scale(.92); opacity: .84; }
  50% { transform: scale(1.06); opacity: 1; }
}

.clock, .clock-shadow {
  left: 22%;
  top: 15%;
  width: 56%;
  aspect-ratio: 1;
  border-radius: 50%;
}
.clock-shadow {
  position: absolute;
  transform: translate(6%, 5%);
  border: 1px solid #a2aefaba;
  background: linear-gradient(150deg, #9b9ee768, #252d64b0);
  box-shadow: 16px 27px 42px #05071986;
}
.clock {
  background:
    radial-gradient(circle at 32% 24%, #7882c78a, #202951dd 56%, #101332ee 82%),
    conic-gradient(from 205deg, #242958, #9794e8, #414984, #22264e, #a4aff1, #242958);
  box-shadow: inset 0 0 0 clamp(2px, .53vw, 7px) #b1baff38,
    inset 0 0 28px #b7bcf67a,
    0 0 25px #8b92e336,
    8px 15px 31px #070819a6;
}
.clock-dial {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: repeating-conic-gradient(#ced8ffc2 0deg 1.8deg, transparent 1.8deg 30deg);
  mask-image: radial-gradient(farthest-side, transparent 86%, #000 88%);
}
.clock-hour, .clock-minute {
  position: absolute;
  bottom: 49%;
  left: 49%;
  width: 2%;
  border-radius: 999px;
  background: #eff3ff;
  box-shadow: 0 0 12px #b4c3fc97;
  transform-origin: center 98%;
}
.clock-hour { height: 23%; transform: rotate(-58deg); }
.clock-minute { height: 34%; animation: clock-turn 12s linear infinite; }
.clock-hub {
  position: absolute;
  width: 7%;
  aspect-ratio: 1;
  top: 46.5%;
  left: 46.5%;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--ink), #8699e4 76%);
  box-shadow: 0 0 12px #c6d0fa9e;
}
@keyframes clock-turn {
  from { transform: rotate(42deg); }
  to { transform: rotate(402deg); }
}

.chart { width: 69%; height: 55%; left: 16%; top: 23%; border-radius: clamp(12px, 2.2vw, 23px); }
.chart--back { transform: translate(6%, -9%) rotate(6deg); opacity: .53; }
.chart--front { animation: chart-drift 10s ease-in-out infinite; }
.chart-heading {
  position: absolute;
  top: 15%;
  left: 12%;
  width: 31%;
  height: 4%;
  border-radius: 999px;
  background: linear-gradient(90deg, #f1f5ffd9, #c4ceff5d);
}
.chart-bars {
  position: absolute;
  inset: 30% 12% 14%;
  display: flex;
  align-items: flex-end;
  gap: 7%;
  border-bottom: 1px solid #b8c4ffba;
  background: repeating-linear-gradient(transparent 0 31%, #adb6ed35 31% 32%, transparent 32% 33%);
}
.chart-bars span {
  flex: 1;
  height: var(--bar-height);
  border: 1px solid #c4d2ffc9;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, #d3deff, #778ce296 62%, #334eac3c);
  transform-origin: bottom;
  animation: bar-rise 6s ease-in-out infinite;
}
.chart-bars span:nth-child(1) { --bar-height: 37%; animation-delay: -.8s; }
.chart-bars span:nth-child(2) { --bar-height: 55%; animation-delay: -1.4s; }
.chart-bars span:nth-child(3) { --bar-height: 48%; animation-delay: -2s; }
.chart-bars span:nth-child(4) { --bar-height: 76%; animation-delay: -2.6s; }
.chart-bars span:nth-child(5) { --bar-height: 94%; animation-delay: -3.2s; }
@keyframes chart-drift {
  0%, 100% { transform: translateY(1%) rotate(-8deg); }
  50% { transform: translateY(-4%) rotate(-5deg); }
}
@keyframes bar-rise {
  0%, 100% { transform: scaleY(.86); }
  50% { transform: scaleY(1); }
}

.hero-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  width: min(100%, 31rem);
  margin-inline: auto;
  padding-top: .67rem;
  border-top: 1px solid var(--flow-edge);
}
.scene-caption {
  color: var(--ink);
  font-size: .98rem;
  font-weight: 650;
}
.scene-caption span { display: none; }
.hero-visual[data-scene="erfassen"] [data-caption="erfassen"],
.hero-visual[data-scene="abgleichen"] [data-caption="abgleichen"],
.hero-visual[data-scene="fristen"] [data-caption="fristen"],
.hero-visual[data-scene="uebersicht"] [data-caption="uebersicht"] { display: inline; }
.hero-motion-toggle {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--flow-edge);
  border-radius: 50%;
  color: var(--ink);
}
.hero-motion-toggle:hover { background: var(--soft); }
.hero-motion-toggle span { width: 9px; height: 12px; border-inline: 2px solid currentColor; }
.hero-visual[data-motion="paused"] .hero-motion-toggle span,
.hero-examples-toggle[data-action="play"] span {
  border-inline: none;
  border-block: 6px solid transparent;
  border-left: 9px solid currentColor;
  transform: translateX(1px);
}
.hero-examples-toggle[data-action="next"] span {
  width: 8px;
  height: 8px;
  border: solid currentColor;
  border-width: 2px 2px 0 0;
  transform: translateX(-1px) rotate(45deg);
}
.hero-visual[data-motion="paused"] .motion,
.hero-visual[data-in-view="false"] .motion { animation-play-state: paused; }

.section { padding-block: clamp(2.6rem, 5vw, 4.55rem); }
.section-head { margin-bottom: clamp(1.3rem, 3vw, 2.5rem); max-width: 47rem; }
.section-head h2, .contact h2 {
  font-size: clamp(2rem, 3.7vw, 3.4rem);
  font-weight: 770;
  letter-spacing: -.05em;
}
.section-head p:not(.eyebrow) { margin-top: .7rem; max-width: 39rem; color: var(--muted); font-size: 1.05rem; }
.section-head .eyebrow { margin-bottom: .6rem; }

.international-band {
  border-block: 1px solid var(--line);
  background: radial-gradient(ellipse at 82% 48%, var(--flow-selected), transparent 67%), var(--dark);
}
.international-layout, .regional-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(1.65rem, 4.5vw, 4rem);
}
.international-layout .section-head, .regional-layout .section-head { margin-bottom: 0; }
.international-layout h2, .regional-layout h2 { max-width: 19ch; }
.international-layout .button, .regional-contact .button { margin-top: 1.35rem; }
.international-visual {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: clamp(.85rem, 2vw, 1.55rem);
  background: #0b1025;
}
.international-visual img { width: 100%; height: auto; }
.regional-contact {
  justify-self: end;
  width: min(100%, 31rem);
  padding: clamp(1.35rem, 3.2vw, 2.45rem);
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--white);
}
.regional-contact h3 { font-size: clamp(1.4rem, 2.3vw, 1.85rem); letter-spacing: -.035em; }
.regional-contact p { margin-top: .65rem; color: var(--muted); }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; }
.feature {
  padding: 1.45rem 1.5rem 1.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.feature-mark { display: block; width: 25px; height: 4px; margin-bottom: .8rem; background: #8492d0; border-radius: 3px; }
.feature h3 { font-size: 1.15rem; text-wrap: initial; }
.feature p { color: var(--muted); margin-top: .55rem; }
.service-link { color: var(--accent); font-weight: 700; }
.service-link:hover { color: var(--ink); }
.agency-example {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .7rem 1.5rem;
  margin-top: 1.15rem;
  padding: clamp(1rem, 2.4vw, 1.55rem);
  border-inline-start: 2px solid var(--flow-live);
  border-radius: .4rem;
  background: var(--soft);
}
.agency-example h3 { font-size: 1.17rem; }
.agency-example p { margin-top: .45rem; color: var(--muted); }
.agency-example .service-link {
  display: flex;
  align-items: center;
  gap: .45rem;
  min-height: 44px;
  max-width: 15rem;
}


.flow-section {
  border-block: 1px solid var(--line);
  background: var(--dark);
}
.flow-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  align-items: end;
  gap: 1.4rem 3rem;
  margin-bottom: 1.7rem;
}
.flow-intro h2 {
  margin-top: .55rem;
  font-size: clamp(2rem, 3.7vw, 3.4rem);
  letter-spacing: -.052em;
}
.flow-intro > p { color: var(--muted); max-width: 33rem; font-size: 1.05rem; }
.workflow {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.flow-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: 1rem clamp(.75rem, 2.8vw, 1.6rem);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.flow-routes { display: flex; flex-wrap: wrap; gap: .45rem; }
.flow-routes button {
  min-height: 42px;
  padding: .46rem .7rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  background: var(--dark);
  font-size: .9rem;
  font-weight: 650;
  line-height: 1.3;
}
.flow-routes button:hover, .flow-routes [aria-pressed="true"] {
  color: var(--ink);
  background: var(--flow-selected);
  border-color: var(--flow-edge);
}
.flow-play {
  min-height: 42px;
  border-color: var(--button-solid);
  color: var(--button-ink);
  background: var(--button-solid);
}
.flow-play:hover { background: var(--button-hover); }
.flow-map {
  position: relative;
  background:
    radial-gradient(circle, var(--flow-grid) 1px, transparent 1.6px) 0 0 / 16px 16px,
    linear-gradient(150deg, var(--dark), var(--paper));
}
.flow-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.flow-packet {
  position: absolute;
  top: -4px;
  left: -4px;
  z-index: 2;
  width: 8px;
  height: 8px;
  pointer-events: none;
  border-radius: 50%;
  background: var(--flow-packet);
  box-shadow: 0 0 13px var(--flow-live), 0 0 0 3px var(--flow-grid);
}
.flow-nodes {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: minmax(58px, auto);
  align-items: center;
  gap: 1.01rem clamp(.75rem, 1.7vw, 1.4rem);
  padding: 1.1rem 1.25rem 1.9rem;
}
.flow-node {
  display: flex;
  align-items: center;
  align-self: stretch;
  grid-column: var(--column);
  grid-row: var(--row);
  min-width: 0;
  padding: .52rem .47rem;
  gap: .42rem;
  text-align: left;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 650;
  line-height: 1.24;
}
.flow-label { overflow-wrap: anywhere; }
.flow-node:hover { border-color: var(--flow-edge); color: var(--ink); }
.flow-node.is-on-route { border-color: var(--flow-edge); color: var(--ink); }
.flow-node[aria-current="step"] {
  background: var(--flow-selected);
  border-color: var(--flow-live);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--flow-live);
}
.flow-mark {
  flex: 0 0 .66rem;
  width: .66rem;
  height: .66rem;
  border: 1.4px solid var(--accent);
  border-radius: 2px;
}
.flow-node[data-kind="trigger"] .flow-mark { border-radius: 50%; }
.flow-node[data-kind="choice"] .flow-mark { transform: rotate(45deg); }
.flow-node[data-kind="outcome"] .flow-mark { background: var(--flow-selected); border-radius: 50%; }
.flow-node[aria-current="step"] .flow-mark { background: var(--flow-live); }
.flow-readout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .85rem 1.5rem;
  min-height: 121px;
  padding: 1rem clamp(.75rem, 2.8vw, 1.6rem);
  border-top: 1px solid var(--line);
  background: var(--white);
}
.flow-copy h3 { margin: .2rem 0 .35rem; }
.flow-copy > p { color: var(--muted); }
.flow-copy .flow-position { color: var(--accent); font-size: .86rem; font-weight: 650; }
.flow-step-controls { display: flex; flex-wrap: wrap; gap: .45rem; flex-shrink: 0; }
.flow-step-controls .button { min-height: 42px; padding-inline: .7rem; }
.flow-step-controls .button:disabled { opacity: .52; cursor: default; background: transparent; border-color: var(--line); }
.flow-section-end {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .45rem 1.15rem;
  margin-top: .9rem;
}
.flow-section-end a { color: var(--accent); font-weight: 650; }
.flow-foot { color: var(--muted); font-size: .9rem; }
.workflow noscript .flow-foot { padding: 1rem; }
.flow-methods { margin-top: clamp(2.3rem, 4vw, 3.5rem); }
.flow-methods h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); letter-spacing: -.022em; }
.flow-method-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; margin-top: .9rem; }
.flow-method-grid article { padding: .9rem 1rem 1rem; border-block-start: 2px solid var(--flow-edge); background: var(--white); border-radius: 0 0 8px 8px; }
.flow-method-grid h4 { color: var(--ink); font-size: 1.04rem; line-height: 1.35; }
.flow-method-grid p { margin-top: .3rem; color: var(--muted); }

@media (max-width: 840px) {
  .flow-intro { grid-template-columns: minmax(0, 1fr); gap: .65rem; }
  .flow-readout { align-items: flex-start; flex-direction: column; min-height: 0; }
  .flow-nodes {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: minmax(43px, auto);
    gap: .84rem;
    padding: .85rem clamp(.8rem, 4vw, 1.75rem);
  }
  .flow-node { grid-column: 1; grid-row: auto; padding: .52rem .75rem; gap: .6rem; }
  .workflow[data-active-route] .flow-node:not(.is-on-route) { display: none; }
  .flow-method-grid { grid-template-columns: minmax(0, 1fr); }
}

.demo {
  padding: clamp(1.35rem, 4.5vw, 3.8rem);
  border-radius: 20px;
  background: var(--dark);
  color: var(--ink);
}
.demo .section-head { margin-bottom: 1.5rem; }
.demo .eyebrow { color: var(--highlight); }
.demo .section-head p:not(.eyebrow), .demo-copy > p:not(.demo-amount) { color: var(--muted); }
.demo :focus-visible { outline-color: var(--highlight); }
.demo-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.7rem; }
.demo-tabs button {
  padding: .55rem .9rem;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: transparent;
  font-size: .94rem;
  font-weight: 680;
  line-height: 1.35;
}
.demo-tabs button:hover { background: var(--soft); }
.demo-tabs [aria-selected="true"], .demo-tabs [aria-selected="true"]:hover { color: #171d39; background: var(--highlight); border-color: var(--highlight); }
.demo-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem);
  min-height: 248px;
}
.demo-panel + .demo-panel:not([hidden]) { margin-top: 1.5rem; }
.demo-panel[role="tabpanel"] { margin-top: 0; }
.demo-copy h3 { font-size: clamp(1.4rem, 2.6vw, 2.15rem); letter-spacing: -.035em; }
.demo-copy p { margin-top: .8rem; }
.demo-amount {
  color: var(--highlight);
  font-size: clamp(1.85rem, 4vw, 3.1rem);
  font-weight: 780;
  line-height: 1.05;
  letter-spacing: -.045em;
  overflow-wrap: break-word;
}
.demo-amount span { display: block; color: var(--muted); font-size: .94rem; font-weight: 600; letter-spacing: 0; margin-top: .35rem; }
.demo-detail { color: var(--ink); background: var(--white); border-radius: 12px; padding: clamp(1.05rem, 3vw, 1.62rem); }
.detail-title { font-weight: 740; font-size: 1.04rem; }
.detail-list { margin-top: .75rem; }
.detail-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: .5rem;
  padding-block: .45rem;
  border-top: 1px solid var(--line);
  font-size: .94rem;
}
.detail-list dt { color: var(--muted); }
.detail-list dd { font-weight: 670; text-align: right; }
.status {
  display: inline-block;
  margin-top: .7rem;
  padding: .32rem .58rem;
  border-radius: 6px;
  font-size: .82rem;
  font-weight: 730;
  line-height: 1.4;
}
.status--review { background: #f9e8e3; color: #862d23; }
.status--checked { background: #e7ecfc; color: #333e74; }

.philosophy-band {
  background: var(--white);
  border-top: 1px solid var(--line);
}
.philosophy-band > .shell { padding-block: clamp(3.2rem, 6vw, 5.8rem); }
.philosophy-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: end;
  gap: clamp(1.1rem, 4.8vw, 4rem);
  margin-bottom: clamp(1.65rem, 4.2vw, 3.8rem);
}
.philosophy-lead h2 {
  max-width: 19ch;
  margin-top: .6rem;
  font-size: clamp(2rem, 4.35vw, 3.85rem);
  letter-spacing: -.052em;
  text-wrap: balance;
}
.philosophy-lead h2 span { color: var(--hero-accent); }
.philosophy-lead > p { max-width: 43ch; color: var(--muted); font-size: clamp(1rem, 1.45vw, 1.18rem); }
.philosophy-phases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.75rem, 2vw, 1.35rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.philosophy-phases li {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .95rem;
  background: var(--paper);
}
.philosophy-phases img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.philosophy-phase-copy { padding: clamp(1rem, 1.85vw, 1.45rem); }
.philosophy-phase-copy h3 {
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  letter-spacing: -.025em;
}
.philosophy-phase-copy p { margin-top: .62rem; color: var(--muted); }
.quality-standard {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 3.4vw, 2.65rem);
  margin-top: clamp(1.35rem, 3.5vw, 2.65rem);
  padding: clamp(1.1rem, 3vw, 2.05rem);
  border: 1px solid var(--line);
  border-radius: .95rem;
  background: radial-gradient(ellipse at 3% 50%, var(--flow-selected), transparent 58%), var(--dark);
}
.quality-mark {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .3rem;
  width: clamp(7.1rem, 12.2vw, 8.75rem);
  aspect-ratio: 1;
  padding: .55rem;
  border: 1px solid var(--flow-edge);
  border-radius: 50%;
  background: var(--white);
  color: var(--accent);
  text-align: center;
  line-height: 1.13;
}
.quality-mark::before,
.quality-mark::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  content: "";
}
.quality-mark::before { inset: .32rem; border: 1px solid var(--line); }
.quality-mark::after {
  inset: -.18rem;
  opacity: 0;
  background: conic-gradient(transparent 35%, var(--flow-live) 66%, transparent 80%);
  mask-image: radial-gradient(transparent 66%, #000 67% 72%, transparent 73%);
}
.quality-mark strong { color: var(--ink); font-size: .77rem; letter-spacing: .1em; }
.quality-mark small { font-size: .55rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.quality-check {
  width: .86rem;
  height: 1.35rem;
  border: solid var(--flow-live);
  border-width: 0 .16rem .16rem 0;
  transform: translate(-.12rem, -.14rem) rotate(43deg);
}
.quality-standard h3 { font-size: clamp(1.32rem, 2.35vw, 1.95rem); letter-spacing: -.035em; }
.quality-standard p { max-width: 64ch; margin-top: .6rem; color: var(--muted); }

@keyframes quality-mark-sweep {
  0% { opacity: 0; transform: rotate(-115deg); }
  24%, 72% { opacity: .88; }
  100% { opacity: 0; transform: rotate(245deg); }
}

@media (prefers-reduced-motion: no-preference) and (forced-colors: none) {
  .quality-mark[data-revealed]::after { animation: quality-mark-sweep 2.05s ease-out; }
}

@media (max-width: 760px) {
  .philosophy-lead { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 650px) {
  .philosophy-phases { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 460px) {
  .quality-standard { grid-template-columns: minmax(0, 1fr); }
}

.industries { border-top: 1px solid var(--line); }
.industry-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  align-items: end;
  gap: 1rem clamp(1.5rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
}
.industry-intro h2 {
  margin-top: .55rem;
  font-size: clamp(2rem, 3.7vw, 3.4rem);
  letter-spacing: -.05em;
}
.industry-intro > p { color: var(--muted); max-width: 28rem; }
.industry-controls {
  display: grid;
  grid-template-columns: minmax(0, 22rem) auto;
  justify-content: space-between;
  align-items: end;
  gap: .28rem .85rem;
  margin-block: 1.2rem 1.35rem;
}
.industry-controls label {
  grid-column: 1 / -1;
  font-size: .88rem;
  font-weight: 680;
  color: var(--muted);
}
.industry-controls select {
  appearance: none;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: .6rem 2.25rem .6rem .8rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background:
    linear-gradient(45deg, transparent 49%, var(--accent) 50%) right 1.07rem center / .34rem .34rem no-repeat,
    linear-gradient(135deg, var(--accent) 49%, transparent 50%) right .74rem center / .34rem .34rem no-repeat,
    var(--white);
  font: inherit;
}
.industry-controls [role="status"] {
  align-self: center;
  color: var(--muted);
  font-size: .89rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.8rem, 2vw, 1.35rem);
}
.industry-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--white);
}
.industry-media {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 3 / 2;
  background: radial-gradient(ellipse at 76% 56%, #354774, #20243d 66%, #141628);
}
.industry-photo {
  position: absolute;
  inset: 0;
  display: block;
  filter: blur(13px) saturate(.85);
  transform: scale(1.075);
  transition: filter .24s ease, transform .32s ease;
  pointer-events: none;
}
.industry-photo img {
  position: absolute;
  top: var(--tile-y);
  left: var(--tile-x);
  width: 200%;
  height: 200%;
  max-width: none;
}
.industry-media[data-photo="sharp"] .industry-photo,
.industry-media:not([data-photo="soft"]):has(.industry-toggle:focus-visible) .industry-photo {
  filter: none;
  transform: scale(1.045);
}
.industry-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, #080c1a3d 6%, #080c1a8f 52%, #080c1af5 100%);
}
.industry-media h3 {
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  padding: 1.7rem 1rem .95rem;
  color: #fff;
  background: linear-gradient(0deg, #090d1bce, transparent);
  font-size: clamp(1.12rem, 1.75vw, 1.51rem);
  line-height: 1.18;
  letter-spacing: -.026em;
  text-wrap: balance;
  overflow-wrap: anywhere;
  text-shadow: 0 1px 4px #050610b0;
  pointer-events: none;
}
.industry-toggle {
  position: absolute;
  top: .65rem;
  right: .65rem;
  z-index: 3;
  min-height: 44px;
  max-width: calc(100% - 1.3rem);
  padding: .4rem .66rem;
  border: 1px solid #c8d2f080;
  border-radius: 999px;
  color: #fafbff;
  background: #121829e8;
  font-size: .82rem;
  font-weight: 680;
  line-height: 1.25;
}
.industry-toggle:hover,
.industry-toggle[aria-pressed="true"] { background: #2a3553; }
.industry-toggle:focus-visible { outline-color: #d6e1ff; }
.industry-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: .65rem;
  padding: .75rem 1rem .9rem;
}
.industry-copy p { color: var(--muted); line-height: 1.52; }
.industry-copy a {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: auto;
  color: var(--accent);
  font-weight: 650;
}
.industry-copy a:hover { color: var(--ink); }

@media (hover: hover) and (pointer: fine) {
  .industry-media:not([data-photo="soft"]):hover .industry-photo {
    filter: none;
    transform: scale(1.045);
  }
}
@media (min-width: 651px) and (hover: hover) and (pointer: fine) {
  .industry-toggle { opacity: 0; }
  .industry-media:hover .industry-toggle,
  .industry-toggle:focus-visible,
  .industry-toggle[aria-pressed="true"] { opacity: 1; }
}
@media (max-width: 945px) {
  .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .industry-grid, .industry-intro { grid-template-columns: minmax(0, 1fr); }
  .industry-controls { grid-template-columns: minmax(0, 1fr); }
  .industry-controls [role="status"] { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .industry-photo { transition: none; }
}
@media (forced-colors: active) {
  .industry-controls select { appearance: auto; }
}

.faq {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 5.75rem);
  padding-block: clamp(2.75rem, 5.8vw, 5.5rem);
  border-top: 1px solid var(--line);
}
.faq-intro h2 {
  max-width: 15ch;
  margin-top: .7rem;
  font-size: clamp(2rem, 4.05vw, 3.45rem);
  line-height: 1.08;
  letter-spacing: -.05em;
}
.faq-contact {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 1rem;
  color: var(--accent);
  font-weight: 650;
}
.faq-contact:hover { color: var(--ink); }
.faq-questions { border-top: 1px solid var(--line); }
.faq-questions details { border-bottom: 1px solid var(--line); }
.faq-questions summary {
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2rem;
  align-items: center;
  gap: .85rem;
  min-height: 4.25rem;
  padding: clamp(.85rem, 1.65vw, 1.2rem) .1rem;
  cursor: pointer;
  font-size: clamp(1.04rem, 1.6vw, 1.23rem);
  font-weight: 680;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.faq-questions summary::-webkit-details-marker { display: none; }
.faq-questions summary:focus-visible {
  outline-offset: -3px;
  border-radius: 4px;
}
.faq-questions summary:hover,
.faq-questions details[open] summary { color: var(--accent); }
.faq-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  grid-area: 1 / 1;
  background: currentColor;
  border-radius: 1px;
}
.faq-icon::before { width: .75rem; height: 1.5px; }
.faq-icon::after { width: 1.5px; height: .75rem; }
.faq-questions details[open] .faq-icon { background: var(--soft); }
.faq-questions details[open] .faq-icon::after { display: none; }
.faq-questions details p {
  max-width: 65ch;
  padding: 0 clamp(.55rem, 3vw, 3rem) 1.25rem .1rem;
  color: var(--muted);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(1.2rem, 5vw, 3.8rem);
  padding: clamp(1.3rem, 4.5vw, 3.65rem);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.contact h2 { margin-top: .55rem; }
.contact-copy > p:not(.eyebrow) { color: var(--muted); margin-top: .9rem; }
.contact-copy > a { display: inline-block; color: var(--accent); font-weight: 700; margin-top: .95rem; overflow-wrap: anywhere; }
.contact-form {
  display: grid;
  gap: .85rem;
  padding: clamp(1rem, 2.5vw, 1.65rem);
  border-radius: 12px;
  background: var(--white);
}
.contact-form h3 { font-size: 1.3rem; margin-bottom: .15rem; }
.form-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.contact-form label { display: block; color: var(--ink); font-size: .92rem; font-weight: 660; }
.contact-form input, .contact-form textarea {
  display: block;
  width: 100%;
  min-height: 44px;
  margin-top: .22rem;
  padding: .56rem .65rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--input);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 400;
}
.contact-form textarea { resize: vertical; }
.contact-form .button { justify-self: start; }
.form-help, .optional { color: var(--muted); font-size: .86rem; font-weight: 400; }
.form-help a { display: inline-block; color: var(--accent); font-weight: 650; }
.form-result:empty { display: none; }
.form-result { color: var(--accent); font-weight: 650; }

.site-footer { padding: 1.6rem 0; background: var(--white); border-top: 1px solid var(--line); }
.site-footer .wordmark { font-size: 1.16rem; }

@media (max-width: 980px) {
  .hero { gap: 1.85rem; }
  .feature { padding-inline: 1.15rem; }
}

@media (max-width: 840px) {
  :root { --header-space: 8.3rem; }
  .faq { grid-template-columns: minmax(0, 1fr); gap: 1.45rem; }
  .faq-intro h2 { max-width: 24ch; }
  .header-inner {
    grid-template-columns: auto minmax(0, 1fr);
    padding-block: .68rem .4rem;
    gap: .45rem .7rem;
  }
  .header-actions { justify-self: end; }
  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    border-top: 1px solid var(--line);
    padding-top: .22rem;
  }
  .site-nav a { display: flex; align-items: center; min-height: 35px; }
}

@media (max-width: 760px) {
  .shell { width: calc(100% - 40px); }
  .international-layout, .regional-layout { grid-template-columns: minmax(0, 1fr); }
  .regional-contact { width: 100%; }
  .agency-example { grid-template-columns: minmax(0, 1fr); }
  .header-inner, .hero.shell { width: calc(100% - 40px); }
  .hero, .contact { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: auto; gap: 1.72rem; padding-block: 2.85rem 2.6rem; }
  .hero h1 { font-size: clamp(2.52rem, 7.5vw, 3.85rem); }
  .hero-visual { max-width: 31rem; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-panel { grid-template-columns: minmax(0, 1fr); }
  .demo-detail { margin-top: .5rem; }
}

@media (max-width: 460px) {
  .shell { width: calc(100% - 32px); }
  .header-inner, .hero.shell { width: calc(100% - 32px); }
  .site-nav { gap: 0 .73rem; }
  .site-nav a { font-size: .85rem; }
  .site-header .wordmark { font-size: 1.15rem; }
  .theme-toggle { padding-inline: .58rem; }
  .header-actions { gap: .38rem; }
  .actions > a { width: 100%; }
  .hero-scene { aspect-ratio: 1.1; }
  .feature-grid, .form-pair { grid-template-columns: minmax(0, 1fr); }
  .demo-tabs { gap: .4rem; }
  .demo-tabs button { padding-inline: .56rem; font-size: .86rem; }
  .contact-form .button { width: 100%; }
}

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