/* FabriXBox: active site styles. Responsive and interaction states retained. */

:root {
  --teal: #0f8f96;
  --teal-dark: #08777d;
  --teal-pale: #e5f2f1;
  --ink: #162529;
  --deep: #0d2127;
  --muted: #728083;
  --line: #dce5e5;
  --canvas: #f9fbfa;
  --soft: #eef3f3;
  --white: #fff;
  --font-display: "Space Grotesk", Arial, sans-serif;
  --font-body: "DM Sans", Arial, sans-serif;
  --max: 1320px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font: inherit;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
}

::selection {
  background: #a8d9d7;
  color: #11292b;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  z-index: 2000;
  background: var(--teal);
  transition: width 0.1s linear;
}

.section-shell {
  width: min(calc(100% - 88px), var(--max));
  margin-inline: auto;
}

.section-pad {
  padding: clamp(100px, 10vw, 168px) 0;
}

h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: -0.065em;
}

h2 {
  font-size: clamp(44px, 5vw, 78px);
  line-height: 1.07;
  font-weight: 600;
}

h3 {
  font-weight: 600;
}

.accent-text {
  color: var(--teal);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #577275;
}

.teal-point {
  width: 7px;
  height: 7px;
  background: var(--teal);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(15, 143, 150, 0.08);
}

.pill-btn {
  display: inline-flex;
  gap: 27px;
  align-items: center;
  justify-content: space-between;
  min-height: 51px;
  padding: 0 26px;
  border: 1px solid var(--teal);
  border-radius: 50px;
  background: var(--teal);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.005em;
  box-shadow: 0 8px 26px rgba(15, 143, 150, 0.16);
  transition: background 0.25s, transform 0.35s var(--ease), box-shadow 0.25s;
}

.pill-btn:hover {
  background: var(--teal-dark);
  transform: translateY(-3px);
  box-shadow: 0 13px 28px rgba(15, 143, 150, 0.24);
}

.pill-btn span {
  font-size: 18px;
  font-weight: 400;
}

.pill-btn-sm {
  min-height: 37px;
  font-size: 12px;
  padding: 0 17px;
  gap: 15px;
  box-shadow: none;
}

.pill-btn-sm span {
  font-size: 14px;
}

.text-link {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  transition: color 0.2s;
}

.text-link:hover {
  color: var(--teal);
}

.text-link span {
  font-size: 19px;
  font-weight: 400;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  padding: 19px 28px;
  transition: padding 0.3s, background 0.3s;
}

.site-header.scrolled {
  padding-top: 11px;
  padding-bottom: 11px;
  background: rgba(249, 251, 250, 0.91);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(134, 157, 160, 0.17);
}

.nav-wrap {
  width: min(100%, 1420px);
  height: 44px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: -0.07em;
  font-weight: 500;
  color: var(--ink);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 35px);
}

.main-nav a {
  position: relative;
  padding: 10px 0;
  font-size: 12px;
  font-weight: 600;
  color: #526266;
  transition: color 0.2s;
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}

.main-nav a:hover {
  color: var(--teal);
}

.main-nav a:hover:after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 25px;
}

.menu-toggle {
  display: none;
  border: none;
  padding: 10px;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  transition: transform 0.2s;
}

.hero {
  position: relative;
  padding: clamp(112px, 10vw, 145px) 0 29px;
}

.hero-ambient {
  position: absolute;
  z-index: 0;
  width: 900px;
  height: 900px;
  left: 50%;
  top: 15%;
  transform: translateX(-50%);
  background: radial-gradient(
    circle,
    #bbebe7 0,
    rgba(199, 232, 230, 0.37) 40%,
    transparent 70%
  );
  filter: blur(34px);
  opacity: 0.65;
  pointer-events: none;
  animation: ambient 12s ease-in-out infinite alternate;
}

@keyframes ambient {
  from {
    transform: translateX(-52%) scale(0.91);
  }

  to {
    transform: translateX(-45%) scale(1.08);
  }
}

.hero-copy {
  text-align: center;
  position: relative;
  z-index: 3;
  width: min(90%, 1000px);
  margin-inline: auto;
}

.hero-eyebrow {
  justify-content: center;
  color: #587579;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(64px, 8vw, 118px);
  line-height: 0.94;
  font-weight: 600;
  letter-spacing: 1;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(103deg, #067c87, #2a9da3 48%, #4cbaa8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy > p {
  max-width: 540px;
  margin: 26px auto 0;
  font-size: clamp(14px, 1.3vw, 16px);
  color: #647579;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  margin: 29px auto 0;
}

.hero-stage {
  width: min(1040px, 88vw);
  margin: clamp(8px, 2.5vw, 30px) auto 0;
  isolation: isolate;
}

.hero-collab-line {
  position: relative;
  z-index: 3;
  width: min(calc(100% - 88px), var(--max));
  margin: 40px auto 0;
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.16em;
}

.hero-collab-line b {
  font-family: var(--font-display);
  color: #526b6d;
  letter-spacing: 0;
  font-size: 14px;
}

.hero-bottomline {
  position: relative;
  z-index: 3;
  width: min(calc(100% - 88px), var(--max));
  margin: 65px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #849698;
}

.hero-bottomline b {
  font-family: var(--font-display);
  color: #526b6d;
  letter-spacing: 0;
  font-size: 11px;
}

.multiply {
  margin: 0 5px;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.scroll-cue span {
  font-size: 19px;
  color: var(--teal);
  animation: bob 2s ease-in-out infinite;
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(5px);
  }
}

.intro {
  background: #fff;
}

.intro-layout {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 60px;
  align-items: start;
}

.intro-layout > .eyebrow {
  margin-top: 14px;
}

.intro-copy h2 {
  font-size: clamp(51px, 6.2vw, 96px);
}

.intro-copy > p {
  max-width: 780px;
  color: #66797d;
  font-size: 17px;
  line-height: 1.8;
  margin-top: 32px;
}

.solution-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.solution-benefits span {
  padding: 9px 13px;
  border: 1px solid #cbdeda;
  border-radius: 24px;
  color: #266d70;
  font-size: 12px;
  font-weight: 600;
  background: #f4faf8;
}

.design-section {
  background: #f1f6f5;
}

.section-heading {
  margin-bottom: 58px;
}

.section-heading.spread {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 45px;
}

.section-heading.spread > p {
  max-width: 325px;
  color: #748487;
  font-size: 14px;
  line-height: 1.75;
  padding-bottom: 7px;
}

.section-heading .eyebrow {
  margin-bottom: 23px;
}

.story-intro {
  margin-bottom: 35px;
}

.story-intro .eyebrow {
  margin-bottom: 20px;
}

.story-intro p {
  font-size: 16px;
  line-height: 1.75;
  color: #6d8082;
  margin-top: 24px;
  max-width: 650px;
}

.story-layout {
  display: grid;
  grid-template-columns: 1.09fr 0.91fr;
  gap: clamp(60px, 7vw, 125px);
}

.story-sticky {
  position: sticky;
  top: 113px;
  margin-top: 75px;
}

.story-image-stage {
  position: relative;
  overflow: hidden;
  border-radius: 9px;
}

.story-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.75s ease, transform 1.2s var(--ease);
}

.story-image.is-active {
  opacity: 1;
}

.story-frame-label {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #677d82;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  z-index: 3;
}

.story-progress {
  height: 2px;
  background: #e3eceb;
  margin-top: 23px;
}

.story-progress-fill {
  height: 100%;
  width: 25%;
  display: block;
  background: var(--teal);
  transition: width 0.5s ease;
}

.story-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  min-height: 72vh;
  max-width: 475px;
  opacity: 0.36;
  transition: opacity 0.5s ease;
}

.story-step.is-active {
  opacity: 1;
}

.step-index {
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.17em;
}

.story-step h3 {
  font-size: clamp(38px, 4vw, 61px);
  line-height: 1.1;
  letter-spacing: -0.065em;
  margin: 23px 0;
}

.story-step p {
  font-size: 16px;
  line-height: 1.8;
  color: #6f8183;
  max-width: 410px;
}

.story-step-rule {
  width: 34px;
  height: 2px;
  background: var(--teal);
  margin-top: 30px;
}

.performance-section {
  position: relative;
  background: #0c2228;
  color: #fff;
  padding: clamp(110px, 10vw, 155px) 0 0;
  overflow: hidden;
}

.performance-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  right: -230px;
  top: -230px;
  pointer-events: none;
  background: radial-gradient(
    circle,
    rgba(30, 144, 143, 0.23),
    transparent 68%
  );
}

.performance-inner {
  position: relative;
  z-index: 2;
}

.eyebrow-light {
  color: #90c5c1;
}

.performance-head {
  text-align: center;
}

.performance-head .eyebrow {
  justify-content: center;
  margin-bottom: 24px;
}

.performance-head h2 em {
  color: #6ed1c9;
  font-style: normal;
}

.performance-head > p {
  max-width: 520px;
  margin: 23px auto 0;
  color: #adc0c0;
  font-size: 15px;
  line-height: 1.7;
}

.specs-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: clamp(50px, 8vw, 112px) 0 58px;
  border-top: 1px solid #315057;
  border-bottom: 1px solid #315057;
}

.spec-unit {
  padding: 37px 30px 45px;
}

.spec-unit + .spec-unit {
  border-left: 1px solid #315057;
}

.spec-unit:first-child {
  padding-left: 0;
}

.spec-unit:last-child {
  padding-right: 0;
}

.spec-value {
  font-family: var(--font-display);
  font-size: clamp(58px, 7vw, 102px);
  line-height: 1;
  letter-spacing: -0.085em;
  font-weight: 500;
  color: #f1fafa;
  white-space: nowrap;
}

.spec-value span {
  font-size: 0.3em;
  letter-spacing: -0.04em;
  color: #6ed1c9;
  vertical-align: top;
  display: inline-block;
  margin: 7px 0 0 8px;
}

.spec-rule {
  height: 2px;
  width: 28px;
  background: #58beba;
  margin: 28px 0 21px;
}

.spec-unit h3 {
  font-size: 16px;
  letter-spacing: -0.03em;
}

.spec-unit p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 260px;
  color: #91a7a9;
  margin-top: 9px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.chip-row span {
  padding: 10px 17px;
  border: 1px solid #456067;
  border-radius: 30px;
  color: #dae5e6;
  font-size: 11px;
  letter-spacing: 0;
  font-weight: 500;
}

.performance-image-wrap {
  height: clamp(280px, 39vw, 520px);
  max-width: 1110px;
  margin: 20px auto -5%;
  position: relative;
  z-index: 1;
  overflow: hidden;
  mask-image: linear-gradient(180deg, transparent 0%, black 20%, black 100%);
  border-radius: 9px;
}

.performance-image-wrap img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 85%;
  opacity: 0.85;
  mix-blend-mode: screen;
}

.platform-section {
  position: relative;
  background: #edf6f3;
}

.platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.platform-copy .eyebrow {
  margin-bottom: 24px;
}

.platform-copy h2 {
  font-size: clamp(48px, 5.1vw, 76px);
}

.platform-lede {
  font-size: 16px;
  color: #687b7e;
  line-height: 1.8;
  margin: 25px 0 37px;
  max-width: 495px;
}

.platform-feature {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 23px 0;
}

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

.feature-count {
  color: var(--teal);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
}

.platform-feature h3 {
  font-size: 17px;
  letter-spacing: -0.035em;
}

.platform-feature p {
  margin-top: 6px;
  color: #78888a;
  font-size: 14px;
  line-height: 1.7;
}

.platform-visual {
  border-radius: 9px;
  min-width: 0;
}

.platform-image-frame {
  background: #edf3f3;
  border-radius: 10px;
  overflow: hidden;
}

.platform-image-frame img {
  width: 100%;
  height: 100%;
  transition: transform 1.2s var(--ease);
}

.agents-section {
  background: #fff;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.app-card {
  position: relative;
  min-height: 270px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  background: #f3f7f6;
  border: 1px solid #e5eded;
  border-radius: 8px;
  transition: transform 0.35s var(--ease), background 0.35s, border-color 0.35s,
    box-shadow 0.35s;
}

.app-card:hover {
  transform: translateY(-7px);
  background: #edf7f5;
  border-color: #c3ddda;
  box-shadow: 0 20px 50px rgba(34, 89, 84, 0.08);
}

.app-index {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #6f8a8d;
}

.app-symbol {
  position: absolute;
  right: 28px;
  top: 26px;
  color: var(--teal);
  font-size: 31px;
  font-weight: 400;
  line-height: 1;
}

.app-card h3 {
  font-size: 21px;
  letter-spacing: -0.05em;
  margin: 48px 0 10px;
}

.app-card p {
  font-size: 14px;
  line-height: 1.7;
  color: #708184;
  max-width: 300px;
}

.app-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 27px;
}

.app-tags span {
  font-size: 11px;
  color: #688285;
  border: 1px solid #dce8e7;
  padding: 5px 10px;
  border-radius: 50px;
  background: #fff;
}

.apps-outro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  margin-top: 48px;
  padding: 42px 48px;
  background: linear-gradient(135deg, #f0f7f6 0%, #e8f4f2 100%);
  border: 1px solid #d4e8e6;
  border-radius: 12px;
}

.apps-outro-content {
  flex: 1;
}

.apps-outro h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
  color: var(--ink);
}

.apps-outro p {
  font-size: 14px;
  line-height: 1.7;
  color: #5a7073;
  margin: 0;
  max-width: 520px;
}

.security-section {
  background: #f1f6f5;
}

.security-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  margin-bottom: 56px;
}

.security-top .eyebrow {
  margin-bottom: 22px;
}

.security-top > p {
  max-width: 325px;
  color: #6c8082;
  font-size: 15px;
  line-height: 1.75;
  padding-bottom: 5px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.trust-card {
  padding: 33px 30px 37px;
  border: 1px solid #e2ebeb;
  border-radius: 8px;
  background: #fff;
  min-height: 225px;
}

.trust-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--teal);
}

.trust-card h3 {
  font-size: 23px;
  letter-spacing: -0.05em;
  margin: 43px 0 13px;
}

.trust-card p {
  font-size: 14px;
  line-height: 1.7;
  color: #718183;
}

.deployment-section {
  border-top: 1px solid #e0ede8;
}

.deployment-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.deployment-content > .eyebrow {
  margin-bottom: 22px;
}

.deployment-content > p {
  max-width: 480px;
  margin: 25px 0 0;
  color: #6e8083;
  font-size: 15px;
  line-height: 1.8;
}

.deployment-phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 555px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.deployment-phases div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.deployment-phases span {
  font-size: 11px;
  color: var(--teal);
  font-weight: 700;
}

.deployment-phases strong {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.05em;
}

.deployment-phases small {
  color: #8b9b9c;
  font-size: 13px;
}

.deployment-visual {
  border-radius: 9px;
  overflow: hidden;
}

.final-cta {
  background: #edf6f3;
  border-top: 1px solid #dcebe5;
  padding: clamp(115px, 13vw, 175px) 0 38px;
  text-align: center;
}

.final-cta-inner > .eyebrow {
  justify-content: center;
  margin-bottom: 29px;
}

.final-cta h2 {
  font-size: clamp(48px, 8vw, 100px);
}

.final-cta h2 em {
  color: var(--teal);
  font-style: normal;
}

.final-cta p {
  max-width: 450px;
  margin: 25px auto 28px;
  font-size: 15px;
  line-height: 1.7;
}

.final-cta .pill-btn {
  margin: 0 auto;
}

.cta-bottom {
  border-top: 1px solid #dce8e7;
  margin-top: clamp(100px, 12vw, 150px);
  padding-top: 25px;
  color: #a1b3b4;
  letter-spacing: 0.25em;
  font-weight: 700;
  font-size: 11px;
}

.site-footer {
  background: #10252a;
  color: #d1dfdf;
  padding: 72px 0 25px;
}

.site-footer .brand {
  color: #fff;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 75px;
  padding-bottom: 70px;
}

.footer-brand > p {
  color: #8ba5a7;
  font-size: 13px;
  line-height: 1.8;
  margin-top: 21px;
}

.footer-links {
  display: flex;
  gap: clamp(55px, 9vw, 140px);
  padding-right: 7vw;
}

.footer-links > div {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links h3 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.footer-links a,
.footer-demo {
  color: #9fb2b5;
  font-size: 12px;
  transition: color 0.2s;
}

.footer-links a:hover,
.footer-demo:hover {
  color: #7ed5cf;
}

.footer-demo {
  border: 0;
  background: none;
  text-align: left;
  padding: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  border-top: 1px solid #29464c;
  padding-top: 22px;
  color: #829ca0;
  font-size: 11px;
}

.footer-bottom a:hover {
  color: #fff;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1500;
  padding: 24px;
  background: rgba(9, 30, 35, 0.7);
  backdrop-filter: blur(11px);
  -webkit-backdrop-filter: blur(11px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-panel {
  position: relative;
  width: min(100%, 710px);
  max-height: 90dvh;
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  padding: 39px;
  box-shadow: 0 30px 110px rgba(0, 0, 0, 0.25);
  transform: translateY(20px);
  transition: transform 0.35s var(--ease);
}

.modal-overlay.is-open .modal-panel {
  transform: translateY(0);
}

.modal-panel .eyebrow {
  margin-bottom: 16px;
}

.modal-panel h2 {
  font-size: clamp(30px, 4vw, 46px);
}

.modal-panel > p {
  font-size: 13px;
  line-height: 1.75;
  color: #718184;
  max-width: 480px;
  margin: 13px 0 20px;
}

.modal-panel iframe {
  display: block;
  width: 100%;
  height: min(62vh, 650px);
  min-height: 420px;
  border: 0;
  background: #f3f8f7;
  border-radius: 10px;
}

.modal-close {
  position: absolute;
  top: 13px;
  right: 16px;
  border: 0;
  background: #edf4f3;
  border-radius: 50%;
  font-size: 26px;
  color: #43656a;
  width: 38px;
  height: 38px;
  line-height: 1;
}

.modal-close:hover {
  background: #dcefed;
}

.has-reveal .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(32px);
}

.has-reveal .reveal {
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

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

@media (max-width: 1100px) {
  .section-shell {
    width: min(calc(100% - 60px), var(--max));
  }

  .story-layout {
    gap: 42px;
  }

  .story-step {
    min-height: 66vh;
  }

  .story-sticky {
    top: 115px;
  }

  .story-image-stage {
    aspect-ratio: 1/1;
  }

  .platform-grid {
    gap: 45px;
  }

  .app-card {
    padding: 26px;
  }

  .app-card h3 {
    font-size: 19px;
  }

  .nav-actions {
    gap: 16px;
  }
}

@media (max-width: 820px) {
  .site-header {
    padding: 13px 22px;
  }

  .main-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 28px 22px;
    background: rgba(249, 251, 250, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 25px 35px rgba(17, 37, 42, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav a {
    font-size: 14px;
    padding: 13px 0;
    border-bottom: 1px solid #e8efef;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle.is-open span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle.is-open span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .hero {
    min-height: 0;
    padding-top: 140px;
  }

  .hero h1 {
    font-size: clamp(61px, 10vw, 87px);
  }

  .hero-stage {
    width: 100%;
    aspect-ratio: 1.55;
  }

  .hero-bottomline {
    width: calc(100% - 50px);
  }

  .hero-collab-line {
    width: calc(100% - 50px);
    margin-top: 32px;
  }

  .intro-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .intro-copy h2 {
    font-size: clamp(48px, 8vw, 78px);
  }

  .section-heading.spread,
  .security-top {
    align-items: start;
    flex-direction: column;
    gap: 22px;
  }

  .section-heading.spread > p,
  .security-top > p {
    max-width: 570px;
  }

  .story-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .story-visual-col {
    position: sticky;
    top: 75px;
    z-index: 5;
  }

  .story-sticky {
    margin-top: 0;
    position: static;
  }

  .story-step {
    min-height: 56vh;
    padding: 30px 2px;
    max-width: 680px;
    opacity: 0.55;
  }

  .story-steps {
    position: relative;
  }

  .specs-row {
    gap: 0;
  }

  .spec-unit {
    padding: 30px 16px;
  }

  .spec-unit:first-child {
    padding-left: 0;
  }

  .spec-value {
    font-size: clamp(50px, 7.7vw, 76px);
  }

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

  .platform-visual {
    width: 100%;
  }

  .apps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .trust-card:last-child {
    grid-column: auto;
  }

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

  .deployment-visual {
    width: 100%;
  }

  .footer-links {
    padding-right: 0;
  }
}

@media (max-width: 560px) {
  .section-shell {
    width: calc(100% - 40px);
  }

  .section-pad {
    padding: 84px 0;
  }

  .site-header {
    padding: 13px 16px;
  }

  .site-header.scrolled {
    padding: 8px 16px;
  }

  .nav-wrap {
    height: 42px;
  }

  .brand {
    font-size: 19px;
  }

  .nav-actions {
    gap: 5px;
  }

  .pill-btn-sm {
    font-size: 12px;
    min-height: 36px;
    padding: 0 13px;
    gap: 5px;
  }

  .pill-btn-sm span {
    font-size: 13px;
  }

  .hero-eyebrow {
    font-size: 11px;
    gap: 8px;
    flex-wrap: wrap;
    letter-spacing: 0.1em;
    line-height: 1.5;
  }

  .hero h1 {
    font-size: clamp(50px, 12.2vw, 70px);
    letter-spacing: -0.08em;
  }

  .hero-copy {
    width: calc(100% - 35px);
  }

  .hero-copy > p {
    font-size: 13px;
    max-width: 330px;
  }

  .hero-actions {
    gap: 17px;
    flex-direction: column;
    margin-top: 23px;
  }

  .hero-actions .pill-btn {
    min-height: 46px;
  }

  .hero-stage {
    aspect-ratio: 1.19;
  }

  .hero-bottomline {
    width: calc(100% - 40px);
    font-size: 11px;
  }

  .hero-bottomline .scroll-cue {
    display: none;
  }

  .hero-collab-line {
    width: calc(100% - 40px);
    margin-top: 28px;
    font-size: 11px;
  }

  .intro-copy h2 {
    font-size: clamp(40px, 10vw, 58px);
  }

  .intro-copy > p {
    font-size: 14px;
    margin-top: 22px;
  }

  .solution-benefits span {
    font-size: 11px;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .section-heading h2,
  .security-top h2 {
    font-size: clamp(42px, 10vw, 60px);
  }

  .section-heading.spread > p,
  .security-top > p {
    font-size: 13px;
  }

  .story-intro h2 {
    font-size: 53px;
  }

  .story-intro p {
    font-size: 13px;
  }

  .story-progress {
    margin-top: 12px;
  }

  .story-step {
    min-height: 60vh;
    opacity: 0.7;
  }

  .story-step h3 {
    font-size: 43px;
  }

  .story-step p {
    font-size: 14px;
  }

  .performance-section {
    padding-top: 94px;
  }

  .performance-head h2 {
    font-size: clamp(43px, 10vw, 61px);
  }

  .performance-head > p {
    font-size: 13px;
  }

  .specs-row {
    grid-template-columns: 1fr;
    margin: 60px 0 35px;
  }

  .spec-unit,
  .spec-unit:first-child,
  .spec-unit:last-child {
    padding: 23px 0 25px;
  }

  .spec-unit + .spec-unit {
    border-left: 0;
    border-top: 1px solid #315057;
  }

  .spec-value {
    font-size: 72px;
  }

  .spec-rule {
    margin: 18px 0 13px;
  }

  .spec-unit p {
    max-width: 360px;
  }

  .chip-row {
    gap: 7px;
  }

  .chip-row span {
    padding: 8px 12px;
    font-size: 11px;
  }

  .performance-image-wrap {
    height: 300px;
    margin-top: 20px;
  }

  .platform-copy h2 {
    font-size: 54px;
  }

  .platform-lede {
    font-size: 14px;
  }

  .platform-feature {
    grid-template-columns: 33px 1fr;
  }

  .platform-image-frame {
    aspect-ratio: 1.15;
  }

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

  .app-card {
    min-height: 245px;
  }

  .app-card h3 {
    margin-top: 37px;
    font-size: 22px;
  }

  .apps-outro {
    flex-direction: column;
    align-items: start;
    gap: 24px;
    padding: 32px;
  }

  .apps-outro h3 {
    font-size: 20px;
  }

  .apps-outro p {
    font-size: 13px;
  }

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

  .trust-card {
    min-height: 0;
  }

  .trust-card:last-child {
    grid-column: auto;
  }

  .trust-card h3 {
    margin-top: 28px;
  }

  .deployment-phases {
    gap: 8px;
  }

  .deployment-phases strong {
    font-size: 18px;
  }

  .deployment-phases small {
    font-size: 11px;
  }

  .deployment-visual {
    aspect-ratio: 1.2;
  }

  .final-cta {
    padding: 100px 0 30px;
  }

  .final-cta h2 {
    font-size: clamp(55px, 12vw, 76px);
  }

  .final-cta p {
    font-size: 13px;
  }

  .footer-top {
    flex-direction: column;
    gap: 42px;
    padding-bottom: 45px;
  }

  .footer-links {
    gap: 80px;
  }

  .footer-bottom {
    font-size: 11px;
    flex-direction: column;
  }

  .modal-overlay {
    padding: 10px;
  }

  .modal-panel {
    padding: 27px 18px 18px;
    max-height: 94dvh;
  }

  .modal-panel iframe {
    min-height: 440px;
  }
}

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

  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .has-reveal .reveal:not(.is-visible) {
    opacity: 1;
    transform: none;
  }
}

.hero {
  min-height: 0;
  padding-top: clamp(114px, 9vw, 150px);
  padding-bottom: 28px;
  background: radial-gradient(
      ellipse 70% 38% at 52% 48%,
      #e7f8f6 0%,
      transparent 75%
    ),
    linear-gradient(180deg, #fbfdfd 0%, #f5f9f8 83%, #f4f9f8 100%);
}

.hero-stage {
  width: min(1180px, calc(100% - 88px));
  margin: clamp(44px, 5.5vw, 76px) auto 0;
  position: relative;
  z-index: 3;
}

.studio-surface {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.studio-viewer {
  position: relative;
  height: clamp(410px, 49.5vw, 636px);
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  outline-offset: -6px;
  user-select: none;
  -webkit-user-select: none;
}

.studio-viewer:active {
  cursor: grabbing;
}

.studio-viewer:focus-visible {
  outline: 3px solid var(--teal);
}

.studio-product {
  object-position: center;
  pointer-events: none;
  will-change: transform;
  user-select: none;
}

.studio-surface:after {
  content: "";
  position: absolute;
  inset: 15% 1% 23%;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    ellipse at center,
    transparent 45%,
    rgba(245, 252, 250, 0.09) 80%,
    rgba(241, 248, 247, 0.27)
  );
}

.studio-topline {
  position: absolute;
  z-index: 8;
  top: 29px;
  left: 35px;
  right: 35px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  color: #567e80;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.studio-topline > span:first-child {
  display: flex;
  align-items: center;
  gap: 9px;
}

.studio-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #11a69b;
  box-shadow: 0 0 0 4px rgba(15, 143, 150, 0.12);
}

.studio-topline > span:last-child {
  font-family: var(--font-display);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: #3c686e;
  letter-spacing: 0.12em;
}

.hero-bottomline {
  margin-top: 56px;
}

.story-image-stage {
  isolation: isolate;
  box-shadow: 0 32px 70px -50px rgba(38, 85, 86, 0.28);
  background: #e7f1f0;
}

.story-image-stage:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.13),
    transparent 65%
  );
}

.story-step.is-active .story-step-rule {
  width: 76px;
  transition: width 0.7s var(--ease);
}

.story-step-rule {
  transition: width 0.7s var(--ease);
}

@media (max-width: 820px) {
  .hero-stage {
    width: calc(100% - 48px);
    margin-top: 48px;
  }

  .studio-viewer {
    height: clamp(395px, 60vw, 560px);
  }

  .studio-topline {
    left: 24px;
    right: 24px;
    top: 25px;
  }

  .hero-bottomline {
    margin-top: 45px;
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 124px 0 24px;
  }

  .hero-copy > p {
    margin-top: 19px;
  }

  .hero-stage {
    width: calc(100% - 22px);
    margin-top: 39px;
  }

  .studio-viewer {
    height: clamp(385px, 106vw, 460px);
  }

  .studio-product {
    object-fit: cover;
  }

  .studio-topline {
    font-size: 11px;
    letter-spacing: 0.11em;
  }

  .studio-topline > span:last-child {
    font-size: 11px;
  }

  .hero-bottomline {
    margin-top: 28px;
    line-height: 1.65;
    letter-spacing: 0.1em;
  }
}

@media (max-width: 355px) {
  .studio-topline {
    letter-spacing: 0.055em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .studio-product {
    transition: none !important;
    transform: none !important;
  }

  .story-image.is-active {
    transform: none !important;
  }
}

@media (max-width: 560px) {
  .studio-viewer {
    height: clamp(325px, 94vw, 430px);
  }
}

body {
  overflow-x: clip;
}

.hero {
  overflow: clip;
}

.hero-stage {
  transform: none;
  aspect-ratio: auto;
}

.studio-viewer,
.studio-viewer:active {
  cursor: default;
  height: clamp(220px, 52svh, 580px);
  aspect-ratio: auto;
}

.product-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform-origin: center;
}

.studio-product {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
}

.studio-captions {
  position: relative;
  padding: 20px 28px 20px;
  text-align: center;
}

.studio-caption {
  max-width: 640px;
  margin: 0 auto;
  padding: 18px 0;
}

.studio-caption h3 {
  font-family: var(--font-display);
  font-size: clamp(25px, 3vw, 38px);
  letter-spacing: -0.045em;
  line-height: 1.1;
  margin: 12px 0;
}

.studio-caption p {
  font-size: 14px;
  line-height: 1.65;
  color: #526d70;
  margin: 0;
}

.studio-caption .eyebrow {
  font-size: 12px;
  color: var(--teal);
  justify-content: center;
}

.studio-centered-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 0 28px 18px;
  color: #42777a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.studio-chapter-track {
  height: 3px;
  background: #dce9e7;
  overflow: hidden;
}

.studio-chapter-track span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--teal);
}

.has-studio-scroll .hero-stage {
  height: 360svh;
}

.has-studio-scroll .studio-centered-pin {
  position: sticky;
  top: 96px;
}

.has-studio-scroll .studio-viewer {
  height: max(130px, calc(100svh - 350px));
  max-height: 620px;
}

.has-studio-scroll .studio-captions {
  height: 157px;
}

.has-studio-scroll .studio-caption {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
}

.has-studio-scroll .studio-caption.is-active {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 560px) {
  .has-studio-scroll .studio-centered-pin {
    top: 80px;
  }

  .has-studio-scroll .studio-caption {
    left: 18px;
    right: 18px;
  }

  .studio-caption p {
    font-size: 13px;
  }

  .studio-centered-footer {
    padding: 0 18px 14px;
  }
}

@media (max-height: 520px) {
  .studio-caption .eyebrow {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-canvas,
  .studio-caption {
    transition: none !important;
  }
}

.section-shell > *,
.story-layout > *,
.platform-grid > *,
.deployment-layout > *,
.trust-grid > * {
  min-width: 0;
}

.trust-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.trust-card:last-child {
  grid-column: auto;
}

.story-layout,
.story-intro {
  width: 100%;
}

.story-image {
  object-fit: contain;
  object-position: center;
  transform: none;
}

.story-image.is-active {
  transform: none;
}

.story-visual-col {
  background: transparent;
  padding: 0;
}

.story-sticky {
  width: 100%;
}

.platform-visual,
.deployment-visual {
  width: 100%;
  justify-self: center;
  margin-inline: auto;
}

.platform-image-frame {
  aspect-ratio: 1672 / 941;
}

.platform-image-frame img {
  object-fit: contain;
  object-position: center;
}

.deployment-visual {
  aspect-ratio: auto;
  max-width: 100%;
  background: transparent;
}

.deployment-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.story-frame-label {
  padding: 7px 9px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  gap: 12px;
}

.hero-stage {
  scroll-margin-top: 90px;
}

.has-studio-scroll .hero-stage {
  height: 300svh;
}

.product-canvas {
  transform: none;
  transition: none;
}

.studio-slide {
  position: absolute;
  inset: 0;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  visibility: hidden;
  transform: none;
  transition: opacity 0.6s ease, visibility 0.6s;
}

.studio-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.studio-slide:not([data-studio-image="enclosure"]) {
  background: #e9f2f1;
}

.studio-viewer,
.has-studio-scroll .studio-viewer {
  width: min(100%, calc((100svh - 320px) * 1.77778));
  aspect-ratio: 1672 / 941;
}

.studio-topline {
  pointer-events: none;
}

.studio-captions,
.has-studio-scroll .studio-captions {
  height: auto;
  min-height: 0;
  display: grid;
  padding: 18px 24px 22px;
}

.has-studio-scroll .studio-caption {
  position: relative;
  inset: auto;
  grid-area: 1 / 1;
  width: 100%;
  padding: 0;
  align-self: start;
}

.studio-caption .eyebrow {
  margin-top: 0;
}

.studio-caption h3 {
  font-size: clamp(25px, 3vw, 38px);
}

.studio-caption p br {
  display: none;
}

.studio-centered-footer {
  flex-wrap: wrap;
}

html:not(.has-studio-scroll) .studio-captions {
  display: block;
}

html:not(.has-studio-scroll) .studio-slide:not(:first-child) {
  display: none;
}

@media (max-width: 820px) {
  .platform-visual {
    max-width: 100%;
  }

  .platform-image-frame {
    aspect-ratio: 1672 / 941;
  }

  .deployment-visual {
    max-width: 100%;
  }

  .story-progress {
    margin-top: 12px;
  }

  .hero-stage {
    width: calc(100% - 32px);
  }
}

@media (max-width: 560px) {
  .trust-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .story-visual-col {
    top: 65px;
  }

  .story-frame-label {
    font-size: 11px;
    letter-spacing: 0.03em;
    left: 6px;
    right: 6px;
    bottom: 6px;
    padding: 5px;
  }

  .has-studio-scroll .studio-viewer {
    width: 100%;
    height: auto;
    aspect-ratio: 1672 / 941;
  }

  .has-studio-scroll .studio-captions {
    height: auto;
    padding: 18px 16px;
  }

  .has-studio-scroll .studio-caption {
    inset: auto;
  }

  .studio-caption h3 {
    font-size: clamp(24px, 6vw, 30px);
  }

  .studio-centered-footer {
    font-size: 11px;
    letter-spacing: 0.02em;
    gap: 8px;
  }

  .studio-topline {
    top: 14px;
    left: 15px;
    right: 15px;
  }

  .brand-logo {
    max-width: 125px;
  }

  .nav-wrap {
    gap: 8px;
  }
}

@media (max-height: 520px) {
  .has-studio-scroll .studio-centered-pin {
    top: 65px;
  }

  .has-studio-scroll .studio-viewer {
    width: min(100%, calc((100svh - 235px) * 1.77778));
    height: auto;
  }

  .has-studio-scroll .studio-captions {
    height: auto;
    padding: 10px 15px;
  }

  .studio-caption h3 {
    font-size: 22px;
    margin: 6px 0;
  }

  .studio-caption p {
    font-size: 11px;
    line-height: 1.4;
  }

  .studio-centered-footer {
    padding-bottom: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .studio-slide {
    transition: none;
  }
}

@media (max-width: 380px) {
  .brand-logo {
    max-width: 108px;
    height: auto;
  }

  .pill-btn-sm {
    padding-inline: 9px;
    font-size: 11px;
  }

  .footer-links {
    gap: 40px;
    flex-wrap: wrap;
  }
}

.deployment-content > p,
.deployment-phases small {
  color: #526e72;
}

.deployment-phases {
  border-top-color: #ccdfd7;
}

.final-cta p {
  color: #536f73;
}

.final-cta .cta-bottom {
  color: #607b7d;
  border-top-color: #dae8e2;
}

.story-visual-col,
.story-sticky,
.story-image-stage,
.platform-visual,
.platform-image-frame,
.deployment-visual,
.studio-surface,
.studio-viewer {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  outline: 0;
  padding: 0;
  background: transparent;
}

.story-image-stage:after,
.studio-surface:before,
.studio-surface:after {
  content: none;
}

.story-layout > *,
.platform-grid > *,
.deployment-layout > * {
  min-width: 0;
}

.story-visual-col,
.story-sticky,
.platform-visual,
.platform-image-frame,
.deployment-visual {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.story-image-stage {
  width: 100%;
  aspect-ratio: 4 / 3;
}

.story-image,
.story-image.is-active {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: none;
  border: 0;
  border-radius: 0;
}

.platform-image-frame,
.deployment-visual {
  height: auto;
  aspect-ratio: auto;
}

.platform-image-frame img,
.deployment-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  border: 0;
  border-radius: 10px;
}

.platform-visual:hover img {
  transform: none;
}

.studio-viewer,
.has-studio-scroll .studio-viewer {
  width: 100%;
  height: auto;
  aspect-ratio: 1672 / 941;
  max-height: none;
  margin: 0;
}

.studio-slide,
.studio-slide:not([data-studio-image="enclosure"]),
.studio-slide:not([data-studio-image="intro"]) {
  background: transparent;
}

.studio-viewer .studio-product {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border: 0;
  border-radius: 0;
}

.story-frame-label {
  background: transparent;
  border: 0;
  border-radius: 0;
}

@media (max-width: 820px) {
  .story-visual-col {
    padding: 0;
    background: transparent;
  }

  .story-image-stage {
    aspect-ratio: 4 / 3;
  }

  .platform-visual,
  .deployment-visual {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 560px) {
  .story-image-stage {
    aspect-ratio: 4 / 3;
  }

  .studio-viewer,
  .has-studio-scroll .studio-viewer {
    height: auto;
    aspect-ratio: 1672 / 941;
  }
}

@media (max-height: 520px) {
  .studio-centered-pin {
    max-width: min(100%, calc((100svh - 235px) * 1.77778));
  }

  .studio-viewer,
  .has-studio-scroll .studio-viewer {
    width: 100%;
    height: auto;
  }
}

.studio-viewer,
.has-studio-scroll .studio-viewer {
  aspect-ratio: var(--studio-aspect, 1.7787234);
}

@media (max-width: 560px) {
  .studio-centered-pin {
    max-width: 100%;
  }
}

@media (max-height: 520px) {
  .studio-centered-pin {
    max-width: min(
      100%,
      calc((100svh - 235px) * var(--studio-aspect, 1.7787234))
    );
  }
}

.form-stage {
  position: relative;
  min-height: 420px;
  border-radius: 10px;
  background: #f3f8f7;
  overflow: hidden;
}

.form-stage iframe {
  margin: 0;
  transition: opacity 0.25s ease;
}

.form-stage iframe.is-loading {
  opacity: 0;
  pointer-events: none;
}

.form-loader {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px 22px;
  text-align: center;
  background: #f3f8f7;
}

.form-loader[hidden],
.form-load-help[hidden],
.form-direct-link[hidden] {
  display: none;
}

.form-spinner {
  width: 42px;
  height: 42px;
  border: 3px solid #cfe5e0;
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: form-spin 0.9s linear infinite;
  margin-bottom: 21px;
}

@keyframes form-spin {
  to {
    transform: rotate(360deg);
  }
}

.form-load-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: #173c42;
  line-height: 1.3;
  margin: 0;
  letter-spacing: -0.03em;
}

.form-load-note {
  font-size: 13px;
  line-height: 1.7;
  color: #58767a;
  margin-top: 9px;
}

.form-load-help {
  padding-top: 20px;
  border-top: 1px solid #d4e5df;
}

.form-load-help p {
  color: #58767a;
  font-size: 12px;
  line-height: 1.7;
}

.form-load-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}

.form-retry {
  padding: 9px 16px;
  border: 1px solid var(--teal);
  border-radius: 30px;
  background: #fff;
  color: #08777d;
  font-size: 12px;
  font-weight: 600;
}

.form-load-actions a,
.form-direct-link a {
  color: #08777d;
  font-size: 12px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.modal-panel .form-direct-link {
  font-size: 12px;
  line-height: 1.6;
  color: #58767a;
  margin: 15px 0 0;
}

@media (max-width: 560px) {
  .form-load-title {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .form-spinner {
    animation: none !important;
  }

  .form-stage iframe {
    transition: none;
  }
}

#formLoader[hidden],
#formLoadHelp[hidden],
#formDirectLink[hidden] {
  display: none !important;
}

.form-load-help {
  max-width: none;
  margin-top: 15px;
  padding: 16px;
  border: 1px solid #d4e5df;
  border-radius: 10px;
  background: #f3f8f7;
  text-align: center;
}

.studio-centered-pin {
  width: 100%;
  max-width: none;
  margin-inline: auto;
}

.studio-surface {
  background: #e9f2f1;
  border: 1px solid #dce9e8;
  border-radius: 22px;
  box-shadow: 0 32px 90px -50px rgba(24, 81, 85, 0.35),
    0 10px 26px -19px rgba(13, 80, 82, 0.14);
}

.studio-surface:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.studio-viewer,
.has-studio-scroll .studio-viewer {
  width: min(100%, calc((100svh - 320px) * var(--studio-aspect, 1.7787234)));
  margin-inline: auto;
}

@media (max-width: 560px) {
  .studio-surface {
    border-radius: 17px;
  }

  .studio-viewer,
  .has-studio-scroll .studio-viewer {
    width: 100%;
  }
}

@media (max-height: 520px) {
  .studio-viewer,
  .has-studio-scroll .studio-viewer {
    width: min(100%, calc((100svh - 235px) * var(--studio-aspect, 1.7787234)));
  }
}

/* Simplified single-image hero: no framed carousel, slide controls or scroll pin. */
.hero {
  overflow: hidden;
  padding-bottom: clamp(36px, 5vw, 76px);
}
.hero .hero-product-showcase {
  position: relative;
  width: min(1120px, calc(100% - 40px));
  margin: clamp(20px, 3vw, 40px) auto 0;
  isolation: isolate;
  min-height: 0;
  display: grid;
  place-items: center;
}
.hero-showcase-art {
  position: absolute;
  inset: -9% -7%;
  width: 114%;
  height: 118%;
  z-index: -1;
  pointer-events: none;
}
.hero-workstation {
  position: relative;
  display: block;
  width: 80%;
  max-width: 840px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 30px rgba(20, 82, 84, 0.09));
}
@media (max-width: 560px) {
  .hero .hero-product-showcase {
    width: min(100%, calc(100% - 16px));
    margin-top: 18px;
  }
  .hero-showcase-art {
    inset: -13% -14%;
    width: 128%;
    height: 126%;
  }
  .hero-workstation {
    width: 80%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-workstation,
  .hero-showcase-art {
    animation: none;
    transition: none;
  }
}

/* Mobile appliance story: one image per step; no sticky image/ghosted crossfade.
   Desktop retains the existing scroll-triggered image transitions. */
.story-mobile-figure {
  display: none;
}
@media (max-width: 820px) {
  .mobile-story-ready .story-layout {
    display: block;
  }
  .mobile-story-ready .story-visual-col {
    display: none;
  }
  .mobile-story-ready .story-steps {
    display: grid;
    gap: clamp(44px, 9vw, 72px);
  }
  .mobile-story-ready .story-step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 0;
    padding: 0 0 30px;
    max-width: none;
    opacity: 1;
    transition: none;
    border-bottom: 1px solid #d9e7e3;
  }
  .mobile-story-ready .story-step:last-child {
    border-bottom: none;
  }
  .mobile-story-ready .story-mobile-figure {
    display: block;
    width: 100%;
    margin: 0 0 28px;
    overflow: hidden;
    border-radius: 8px;
    background: #dff0ef;
  }
  .mobile-story-ready .story-mobile-figure img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }
  .mobile-story-ready .story-step h3 {
    margin-top: 14px;
  }
  .mobile-story-ready .story-step p {
    max-width: 640px;
  }
}

/* Hardware series positioning and concept-art transparency */
.hardware-series-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 32px 0 44px;
}
.hardware-series-card {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  padding: clamp(22px, 3vw, 36px);
  background: rgba(255, 255, 255, 0.07);
  color: #f7fcfc;
}
.hardware-series-kicker {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: #87dedb;
  margin-bottom: 16px;
}
.hardware-series-card h3 {
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
  line-height: 1.2;
  margin: 0 0 14px;
  color: #fff;
}
.hardware-series-card p {
  line-height: 1.6;
  opacity: 0.85;
  margin: 0 0 20px;
}
.hardware-series-hardware {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #a6e7e4;
}
.concept-disclaimer {
  font-size: clamp(0.72rem, 1.15vw, 0.82rem);
  line-height: 1.55;
  letter-spacing: 0.01em;
}
.hero-concept-disclaimer {
  text-align: center;
  max-width: 760px;
  margin: 10px auto 20px;
  padding: 0 20px;
  color: #617d80;
  font-size: 11px;
}
.story-concept-disclaimer {
  margin: 12px 0;
  color: #667f82;
}
.footer-concept-disclaimer {
  margin: 24px 0;
  color: #bacdce;
}
@media (max-width: 767px) {
  .hardware-series-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 24px 0 32px;
  }
  .hero-concept-disclaimer {
    margin-top: 0;
  }
}

/* V2 visual polish: restrained hero motion and informative accents */
.hero-collab-line {
  margin: 0 auto 22px;
  font-size: 10px;
  letter-spacing: 0.13em;
  opacity: 0.8;
}
.hero-collab-line b {
  font-size: 14px;
}
.hero-copy .hero-collab-line {
  width: 100%;
  max-width: none;
  text-align: left;
}
.hero-showcase-art {
  will-change: transform;
  animation: hero-art-drift 13s ease-in-out infinite alternate;
}
.hero-orbit-a {
  animation: hero-dash 26s linear infinite;
}
.hero-orbit-b {
  animation: hero-dash-reverse 32s linear infinite;
  stroke-dasharray: 7 9;
}
.hero-node {
  transform-box: fill-box;
  transform-origin: center;
  animation: hero-node-pulse 4s ease-in-out infinite;
}
.hero-node-two {
  animation-delay: -2s;
}
@keyframes hero-art-drift {
  from {
    transform: translate3d(-9px, 4px, 0) scale(0.985);
  }
  to {
    transform: translate3d(9px, -5px, 0) scale(1.015);
  }
}
@keyframes hero-dash {
  to {
    stroke-dashoffset: -240;
  }
}
@keyframes hero-dash-reverse {
  to {
    stroke-dashoffset: 240;
  }
}
@keyframes hero-node-pulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1.4);
  }
}
.solution-flow {
  display: flex;
  align-items: center;
  width: min(100%, 760px);
  margin-top: 30px;
  padding: 18px;
  border: 1px solid #e0ebe9;
  border-radius: 16px;
  background: linear-gradient(115deg, #f7fcfa, #edf9f7);
}
.solution-flow-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  column-gap: 9px;
  align-items: center;
  flex: 1;
  min-width: 0;
}
.flow-glyph {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #d9f2ee;
  color: #159b9c;
  font-size: 20px;
}
.solution-flow-item strong {
  font-size: 12px;
  color: #153d41;
}
.solution-flow-item small {
  font-size: 10px;
  color: #779195;
}
.flow-link {
  width: 34px;
  min-width: 12px;
  height: 1px;
  margin: 0 12px;
  background: linear-gradient(90deg, #80d7d2, #14a3a5);
  position: relative;
}
.flow-link:after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  border-left: 5px solid #14a3a5;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
}
.trust-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, #fff 58%, #f5fbf9);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.trust-card:hover {
  border-color: #a6d9d4;
  transform: translateY(-3px);
}
.trust-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0 0 16px;
  border-radius: 13px;
  background: #e9f8f5;
  color: #198f91;
}
.trust-icon svg {
  width: 23px;
  height: 23px;
}
.trust-num {
  display: block;
}
.trust-card h3 {
  margin-top: 20px;
}
.footer-legal {
  display: grid;
  gap: 5px;
}
.footer-legal small {
  color: #799397;
  opacity: 0.68;
  font-size: 9px;
  line-height: 1.5;
}
@media (max-width: 560px) {
  .hero-copy .hero-collab-line {
    text-align: center;
    margin-bottom: 17px;
    font-size: 14px;
  }
  .solution-flow {
    gap: 5px;
    padding: 12px 8px;
  }
  .solution-flow-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: center;
  }
  .solution-flow-item strong {
    font-size: 10px;
  }
  .solution-flow-item small {
    font-size: 9px;
  }
  .flow-link {
    flex: 0 0 10px;
    margin: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-showcase-art,
  .hero-orbit,
  .hero-node {
    animation: none !important;
    transform: none !important;
  }
  .trust-card {
    transition: none;
  }
  .trust-card:hover {
    transform: none;
  }
}

/* Layout refinement: collaboration attribution matches the centered hero hierarchy. */
.hero-copy .hero-collab-line {
  width: fit-content;
  max-width: 100%;
  margin: 18px auto 0;
  padding: 0 12px;
  text-align: center;
  line-height: 1.8;
}
.hero-copy .hero-actions {
  margin-top: 26px;
}
/* Metric summary first, followed by hardware series details. */
.performance-inner .specs-row {
  margin: clamp(32px, 5vw, 64px) 0 clamp(32px, 5vw, 60px);
}
.performance-inner .hardware-series-grid {
  margin: 0 0 clamp(32px, 5vw, 56px);
}
@media (max-width: 560px) {
  .hero-copy .hero-collab-line {
    margin: 16px auto 0;
    padding: 0 8px;
  }
}

/* Footer alignment: three deliberate grid columns, not a flex stack. */
.footer-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(12px, 3vw, 36px);
  row-gap: 14px;
}
.footer-legal {
  min-width: 0;
  justify-self: start;
  text-align: left;
}
.footer-collaboration {
  justify-self: center;
  text-align: center;
}
.footer-back-top {
  justify-self: end;
  text-align: right;
  white-space: nowrap;
}
@media (max-width: 680px) {
  .footer-bottom {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 12px;
    text-align: center;
  }
  .footer-legal,
  .footer-collaboration,
  .footer-back-top {
    justify-self: center;
    text-align: center;
  }
}
