/* Shared styles for every page. Breakpoints: 1600 / 1150 / 950 / 700 / 370px. */


/* ---------- Design tokens ---------- */

:root {
  --ink: #172238;
  --muted: #64728a;
  --blue: #275cea;
  --navy: #102340;
  --line: #dfe6f0;
  --mist: #f4f7fb;
  --orange: #e56840;
  --white: #fff;
  --radius: 24px;
  --font: -apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",Arial,sans-serif;
}


/* ---------- Base elements and shared components ---------- */

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.locked {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
  color: inherit;
}

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

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

svg {
  display: block;
  flex-shrink: 0;
}

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

h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.22;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.625rem,4.6vw,4.125rem);
  letter-spacing: -.045em;
}

h2 {
  font-size: clamp(1.875rem,3vw,2.75rem);
  letter-spacing: -.03em;
}

h3 {
  font-size: 1.375rem;
  letter-spacing: -.02em;
}

ul,
ol {
  padding: 0;
  margin: 0;
  list-style: none;
}

[hidden] {
  display: none!important;
}

:focus-visible {
  outline: 3px solid #7699fb;
  outline-offset: 5px;
}

::selection {
  background: #dce7ff;
  color: #142340;
}

.wrap {
  width: min(1240px,calc(100% - 96px));
  margin-inline: auto;
}

.section {
  padding: 92px 0;
}

.section-small {
  padding: 64px 0;
}

.soft {
  background: var(--mist);
}

.eyebrow {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 22px;
}

.eyebrow .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  margin: 0 10px 2px 0;
}

.accent {
  color: var(--blue);
}

.lead {
  font-size: 1.1875rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 560px;
  margin-top: 24px;
  text-wrap: pretty;
}

.fine {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.7;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-end;
  margin-bottom: 42px;
}

.section-head .lead {
  font-size: 1.0625rem;
  max-width: 420px;
  margin-top: 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  padding: 12px 23px;
  background: var(--blue);
  color: #fff;
  border: 1px solid var(--blue);
  border-radius: 8px;
  font-weight: 500;
  line-height: 1.4;
  transition: background .2s,transform .2s;
}

.btn:hover {
  background: #1748c8;
  border-color: #1748c8;
  transform: translateY(-2px);
}

.btn.outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn.outline:hover {
  border-color: #a5b7d4;
  background: var(--mist);
}

.btn.white {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.text-link {
  display: inline-block;
  border-bottom: 1px solid #9caecc;
  padding: 3px 0;
  color: var(--ink);
  font-size: 1rem;
}

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

.skip {
  position: fixed;
  z-index: 200;
  top: 8px;
  left: 16px;
  background: #fff;
  padding: 10px 20px;
  border: 1px solid var(--blue);
  transform: translateY(-150%);
}

.skip:focus {
  transform: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.hero-grid>*,
.product-hero-grid>*,
.product-viewer>*,
.architecture>*,
.role-panel>*,
.cooperation-layout>*,
.flow-shell>*,
.contact-grid>*,
.timeline-layout>* {
  min-width: 0;
}


/* ---------- Header and navigation ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid transparent;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(16px);
}

.header.scrolled {
  border-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 44px;
  height: auto;
  min-height: 78px;
}

.brand {
  display: block;
  width: 160px;
  flex-shrink: 0;
}

.brand img {
  width: 100%;
  aspect-ratio: 1200/312;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.nav a {
  font-size: 0.9375rem;
  color: #67758a;
  position: relative;
  padding: 26px 0;
}

.nav a:hover,
.nav a[aria-current] {
  color: var(--ink);
}

.nav a[aria-current]::after {
  content: "";
  position: absolute;
  bottom: 17px;
  height: 2px;
  background: var(--blue);
  left: 0;
  right: 0;
}

.header-contact {
  font-size: 0.875rem;
  padding: 10px 18px;
  min-height: 42px;
  border-radius: 7px;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

.menu-icon {
  width: 20px;
  display: grid;
  gap: 6px;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  height: 1.5px;
  background: var(--ink);
}

.menu-toggle[aria-expanded=true] .menu-icon::before {
  transform: translateY(3.75px) rotate(45deg);
}

.menu-toggle[aria-expanded=true] .menu-icon::after {
  transform: translateY(-3.75px) rotate(-45deg);
}

html:not(.js) .menu-toggle {
  display: none;
}

.header .header-contact {
  flex-shrink: 0;
  white-space: nowrap;
}

.short-label {
  display: none;
}


/* ---------- Home: hero ---------- */

.home-hero {
  padding: 60px 0 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.hero-copy h1 {
  line-height: 1.25;
}

.hero-copy .lead {
  font-size: 1.125rem;
  max-width: 430px;
}

.hero-copy .fine {
  margin-top: 35px;
}

.route-hero {
  padding: 62px 0 48px;
}

.route-hero.center {
  text-align: center;
}

.route-hero.center .lead {
  margin: 20px auto 0;
}

.route-hero h1 {
  font-size: clamp(2.625rem,4.4vw,3.75rem);
}

.route-hero .eyebrow {
  margin-bottom: 20px;
}

.route-hero .lead {
  font-size: 1.125rem;
  max-width: 640px;
}

.hero-inline {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.hero-inline .lead {
  max-width: 460px;
  margin-bottom: 4px;
}


/* ---------- Segmented switch ---------- */

.switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  padding: 4px;
  gap: 4px;
  max-width: 100%;
}

.switch button {
  min-height: 40px;
  padding: 8px 20px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  font-size: 0.875rem;
  flex: 0 1 auto;
  min-width: 0;
  white-space: normal;
}

.switch button[aria-selected=true] {
  background: var(--navy);
  color: #fff;
}

.switch button:hover:not([aria-selected=true]) {
  background: var(--mist);
}

.dark .switch {
  background: #192e4b;
  border-color: #354663;
}

.dark .switch button {
  color: #b6c4da;
}

.dark .switch button[aria-selected=true] {
  background: #fff;
  color: var(--navy);
}


/* ---------- Home: connection diagram ---------- */

.connection {
  border-radius: 28px;
  background: var(--navy);
  color: #fff;
  padding: 28px 30px 24px;
  overflow: hidden;
  position: relative;
  min-height: 464px;
}

.connection-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.diagram-label {
  font-size: 0.8125rem;
  color: #98adce;
  letter-spacing: .04em;
}

.connection .switch button {
  padding: 8px 13px;
  min-height: 36px;
}

.connection-network {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.2fr) minmax(0,1fr);
  align-items: center;
  margin: 38px 0 34px;
  gap: 24px;
  position: relative;
}

.connection-network::before {
  content: "";
  position: absolute;
  top: 50%;
  height: 1px;
  background: #43658e;
  left: 12%;
  right: 12%;
  z-index: 0;
}

.node-group {
  display: grid;
  gap: 9px;
  z-index: 1;
}

.node-group .node-label {
  color: #97aac6;
  text-align: center;
  font-size: 0.8125rem;
  margin-bottom: 4px;
}

.network-node {
  padding: 13px 8px;
  background: #1d3656;
  border: 1px solid #365171;
  border-radius: 9px;
  font-size: 0.875rem;
  text-align: center;
  color: #dce7f7;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
}

.network-node small {
  font-size: 0.75rem;
  color: #97aac6;
}

.node-group.highlight .network-node {
  background: #263e63;
  border-color: #8daef6;
  color: #fff;
}

.network-core {
  z-index: 1;
  position: relative;
  background: #2e5fec;
  border: 1px solid #789bff;
  border-radius: 20px;
  min-height: 166px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-shadow: 0 12px 40px #020e2340;
}

.network-core strong {
  max-width: 100%;
  text-align: center;
  font-size: 2rem;
  letter-spacing: .07em;
  font-weight: 600;
}

.network-core span {
  font-size: 0.8125rem;
  color: #dce7ff;
}

.network-core small {
  font-size: 0.75rem;
  color: #c9daff;
  margin-top: 10px;
  max-width: 100%;
  text-align: center;
}

.connection-foot {
  border-top: 1px solid #344864;
  padding-top: 20px;
}

.connection-foot h3 {
  font-size: 1.1875rem;
  letter-spacing: -.02em;
  margin-bottom: 8px;
}

.connection-foot p {
  font-size: 0.875rem;
  line-height: 1.8;
  color: #aebfda;
  max-width: 430px;
}

.connection .fine {
  color: #8fa4c2;
  font-size: 0.75rem;
  margin-top: 18px;
}

.connection-link {
  color: #b8cdff;
  font-size: 0.875rem;
  display: inline-block;
  margin-top: 13px;
  border-bottom: 1px solid #546d97;
  padding-bottom: 2px;
}

.core-services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3px 6px;
  font-size: .8125rem;
  line-height: 1.65;
  text-align: center;
  max-width: 100%;
}

.network-core .core-services span {
  font-size: inherit;
}

.core-services span:not(:last-child)::after {
  content: " ·";
  color: #bdd1ff;
  margin-left: 6px;
}


/* ---------- Home: product, metrics and partners ---------- */

.product-logo {
  width: 105px;
  margin-bottom: 27px;
}

.home-visual {
  min-height: 410px;
  background: #eaf0fb;
  border-radius: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: center;
  padding: 30px 54px;
  position: relative;
}

.home-visual .shot {
  border-radius: 14px;
  max-height: 374px;
  object-fit: contain;
  filter: drop-shadow(0 14px 16px #20375e1a);
  width: 100%;
}

.home-visual .tryon-figure {
  height: 320px;
  overflow: hidden;
  border-radius: 14px;
}

.home-visual .tryon-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.home-visual figcaption {
  grid-column: 1/-1;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--muted);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  gap: 14px;
}

.metric strong {
  font-size: clamp(1.625rem,3vw,2.375rem);
  line-height: 1.2;
  letter-spacing: -.03em;
  font-weight: 500;
  display: block;
}

.metric span {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 7px;
  display: block;
}

.metrics-note {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 12px;
}

.partner-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.partner-head h2 {
  font-size: 1.5rem;
}

.marquee-button {
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 0.8125rem;
  padding: 8px;
}

.partner-rail {
  overflow: hidden;
  margin: 32px -48px 0;
  mask-image: linear-gradient(to right,transparent,#000 8%,#000 92%,transparent);
}

.partner-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.partner-group {
  display: flex;
  align-items: center;
}

.partner-mark {
  width: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 76px;
}

.brand-text {
  font-family: "Songti SC","STSong",serif;
  font-size: 1.5625rem;
  letter-spacing: .17em;
  color: #536077;
}

.brand-text.modern {
  font-family: var(--font);
  font-size: 1.875rem;
  letter-spacing: .3em;
  font-weight: 500;
}

.partner-mark img {
  max-width: 170px;
  max-height: 60px;
  object-fit: contain;
}

.partner-rail:hover .partner-track,
.partner-rail:focus-within .partner-track {
  animation-play-state: paused;
}

@keyframes marquee {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

.partner-rail.static {
  mask-image: none;
  margin-inline: 0;
}

.partner-rail.static .partner-track {
  animation: none;
  width: auto;
  flex-wrap: wrap;
}

.partner-rail.static .partner-group {
  flex-wrap: wrap;
  gap: 12px;
}

.partner-rail.static .partner-mark {
  width: auto;
  min-width: 190px;
  padding: 0 32px;
  border: 1px solid var(--line);
  border-radius: 12px;
}


.how-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.how-step {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px 18px 24px;
}

.how-step-media {
  aspect-ratio: 4/5;
  background: #eaf0fb;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 18px;
}

.how-step-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 12px #20375e1a);
}

.how-step .step-number {
  font-size: 0.8125rem;
  color: var(--blue);
  font-weight: 500;
}

.how-step h3 {
  font-size: 1.1875rem;
  margin: 6px 0 8px;
}

.how-step p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--muted);
}

.how-try {
  background: none;
  border: 0;
  border-bottom: 1px solid #9caecc;
  border-radius: 0;
  margin-left: 6px;
  cursor: pointer;
}

.how-try:hover {
  color: var(--blue);
  border-color: var(--blue);
}

/* ---------- Call to action ---------- */

.cta {
  background: var(--navy);
  color: #fff;
  padding: 56px 60px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta h2 {
  font-size: 2.125rem;
  line-height: 1.4;
}

.cta p {
  font-size: 1rem;
  color: #a8bad5;
  margin-top: 10px;
}

.cta .actions {
  margin-top: 0;
  flex-shrink: 0;
}

.cta .outline {
  color: #fff;
  border-color: #4a5f7f;
}

.cta .outline:hover {
  background: #1d3454;
  border-color: #8197b8;
}


/* ---------- Platform: intro and architecture ---------- */

.platform-intro {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 38px 0 0;
}

.platform-intro li {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 23px 28px;
  border-right: 1px solid var(--line);
}

.platform-intro li:first-child {
  padding-left: 0;
}

.platform-intro li:last-child {
  border-right: 0;
}

.platform-intro svg {
  color: var(--blue);
}

.platform-intro strong {
  font-size: 1rem;
  display: block;
  font-weight: 500;
}

.platform-intro span {
  display: block;
  color: var(--muted);
  font-size: 0.875rem;
  margin-top: 3px;
}

.architecture {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
}

.arch-map {
  background: #edf2fa;
  padding: 32px 36px 38px;
  position: relative;
}

.arch-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 28px;
}

.arch-mapboard {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: center;
  padding: 0 18px;
}

.arch-mapboard::before {
  content: "";
  position: absolute;
  top: 48px;
  bottom: 50px;
  left: 50%;
  width: 1px;
  background: #bed0ed;
}

.arch-mapboard::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 1px;
  background: #bed0ed;
}

.module-node {
  min-width: 0;
  position: relative;
  z-index: 1;
  border: 1px solid #c8d7ed;
  background: #fff;
  border-radius: 13px;
  text-align: left;
  padding: 19px 22px;
  min-height: 93px;
  transition: border-color .2s,transform .2s;
  display: block;
}

.module-node span {
  display: block;
  font-size: 0.75rem;
  color: #8ca0bc;
  margin-bottom: 7px;
  letter-spacing: .07em;
}

.module-node strong {
  font-size: 1.125rem;
  font-weight: 500;
  display: block;
}

.module-node:hover {
  border-color: #7b9cd9;
  transform: translateY(-2px);
}

.module-node[aria-selected=true] {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 10px 22px #275cea20;
}

.module-node[aria-selected=true] span {
  color: #c3d4ff;
}

.module-node.core {
  grid-column: 1/-1;
  width: 76%;
  justify-self: center;
  text-align: center;
  min-height: 105px;
  padding: 22px;
}

.module-node.core strong {
  font-size: 1.375rem;
}

.module-node.core span {
  margin-bottom: 8px;
}

.arch-foot {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 28px;
  text-align: center;
}

.module-panel {
  padding: 46px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 430px;
}

.module-index {
  font-size: 0.8125rem;
  color: var(--blue);
  letter-spacing: .04em;
  margin-bottom: 19px;
}

.module-panel h3 {
  font-size: 1.8125rem;
}

.format {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 14px 0 21px;
  line-height: 1.8;
}

.module-description {
  font-size: 1.125rem;
  color: #40516d;
  line-height: 1.8;
  max-width: 365px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.chips li,
.chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #5c6e88;
  font-size: 0.8125rem;
  background: #fff;
  line-height: 1.5;
}

.architecture-below {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  align-items: center;
}

.architecture-below .fine {
  max-width: 600px;
}

.arch-mapboard [data-module=open] {
  grid-area: 1/1;
}

.arch-mapboard [data-module=auth] {
  grid-area: 1/2;
}

.arch-mapboard [data-module=runtime] {
  grid-row: 2;
}

.arch-mapboard [data-module=merchant] {
  grid-area: 3/1;
}

.arch-mapboard [data-module=store] {
  grid-area: 3/2;
}


/* ---------- Platform: service flow ---------- */

.flow-shell {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 65px;
  align-items: center;
}

.flow-copy .lead {
  font-size: 1.0625rem;
  margin-top: 18px;
}

.flow-stage {
  font-size: 0.8125rem;
  color: var(--blue);
  margin: 27px 0 11px;
}

.flow-copy h3 {
  font-size: 1.4375rem;
}

.flow-copy .flow-description {
  font-size: 1rem;
  color: var(--muted);
  margin-top: 12px;
  max-width: 380px;
  min-height: 56px;
}

.flow-board {
  background: var(--navy);
  color: #fff;
  border-radius: 24px;
  padding: 28px 34px;
}

.flow-board .diagram-label {
  display: block;
  margin-bottom: 23px;
}

.flow-tabs {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 0;
  position: relative;
}

.flow-tabs::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: #4c627f;
}

.flow-tab {
  background: transparent;
  border: 0;
  color: #9cb0ce;
  position: relative;
  padding: 0 3px;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 11px;
}

.flow-tab .num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #203857;
  border: 1px solid #4a6284;
  border-radius: 50%;
  color: #c7d6eb;
  font-size: 0.9375rem;
  font-weight: 500;
}

.flow-tab[aria-selected=true] {
  color: #fff;
}

.flow-tab[aria-selected=true] .num {
  background: #336afa;
  border-color: #8cacff;
  color: #fff;
  box-shadow: 0 0 0 6px #336afa20;
}

.flow-sample {
  margin-top: 30px;
  padding: 22px 25px;
  background: #1a3251;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 127px;
}

.flow-sample svg {
  color: #8dacf6;
}

.flow-sample strong {
  font-size: 1.125rem;
  font-weight: 500;
  display: block;
}

.flow-sample p {
  font-size: 0.875rem;
  color: #aec0dd;
  margin-top: 8px;
}

.flow-board .fine {
  color: #91a7c7;
  margin-top: 20px;
}

.scope-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: center;
  padding-top: 30px;
  margin-top: 38px;
  border-top: 1px solid var(--line);
}

.scope-row h3 {
  font-size: 1.25rem;
}

.scope-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.scope-tags .chip {
  background: #fff;
}

.scope-tags .current {
  color: var(--blue);
  border-color: #c7d6fb;
  background: #eff4ff;
}

.scope-tags .fine {
  margin-left: 4px;
}


/* ---------- Product ---------- */

.product-hero {
  padding: 54px 0 70px;
}

.product-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.product-hero .product-logo {
  width: 110px;
  margin-bottom: 24px;
}

.product-hero h1 {
  font-size: clamp(2.625rem,4.4vw,3.8125rem);
}

.product-hero .lead {
  font-size: 1.125rem;
  max-width: 420px;
}

.product-composition {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border-radius: 28px;
  background: #eef2f6;
  padding: 32px 36px 25px;
  min-height: 486px;
}

.product-composition figure:first-child {
  width: 208px;
  margin-top: 26px;
}

.product-composition figure:nth-child(2) {
  width: 192px;
  margin-bottom: 26px;
}

.product-composition img {
  border-radius: 16px;
  filter: drop-shadow(0 14px 16px #172e4820);
  width: 100%;
}

.product-composition .tryon-photo {
  height: 354px;
  object-fit: cover;
  object-position: center top;
}

.product-composition figcaption {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 14px;
  text-align: center;
}

.product-hero .fine {
  margin-top: 25px;
}

.product-viewer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 24px;
}

.screen-controls {
  display: grid;
  gap: 0;
  margin-top: 33px;
  border-top: 1px solid var(--line);
}

.screen-tab {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  display: grid;
  grid-template-columns: 40px 1fr 20px;
  gap: 14px;
  text-align: left;
  align-items: center;
}

.screen-tab .step-number {
  font-size: 0.875rem;
  color: #9aa9bd;
}

.screen-tab .tab-name {
  font-size: 1.3125rem;
  font-weight: 500;
}

.screen-tab .tab-mark {
  color: var(--muted);
  font-size: 1.375rem;
}

.screen-tab[aria-selected=true] {
  color: var(--blue);
}

.screen-tab[aria-selected=true] .step-number {
  color: var(--blue);
}

.screen-tab .tab-desc {
  grid-column: 2/-1;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 360px;
  margin-top: 0;
}

.screen-tab[aria-selected=false] .tab-desc {
  display: none;
}

.screen-display {
  background: #e8eef8;
  border-radius: 26px;
  min-height: 590px;
  padding: 32px 44px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.screen-display .screen-zoom {
  border: 0;
  background: transparent;
  padding: 0;
  width: 228px;
  border-radius: 20px;
  cursor: zoom-in;
  filter: drop-shadow(0 14px 14px #1d355728);
}

.screen-display img {
  border-radius: 18px;
  width: 100%;
}

.screen-caption {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 22px;
  text-align: center;
}

.screen-display .screen-badge {
  position: absolute;
  top: 26px;
  left: 27px;
  font-size: 0.75rem;
  color: #8293ad;
  letter-spacing: .03em;
}

.product-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.product-bottom p {
  font-size: 1rem;
  color: var(--muted);
  max-width: 620px;
}

.product-composition figure {
  min-width: 0;
}


/* ---------- Cooperation ---------- */

.cooperation-hero {
  padding: 58px 0 66px;
}

.cooperation-layout {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 80px;
  align-items: center;
}

.cooperation-hero h1 {
  font-size: clamp(2.625rem,4.5vw,3.875rem);
  line-height: 1.3;
}

.cooperation-hero .lead {
  font-size: 1.125rem;
  max-width: 470px;
}

.offer {
  background: var(--navy);
  color: #fff;
  padding: 35px 42px;
  border-radius: 26px;
  position: relative;
  overflow: hidden;
  min-height: 380px;
}

.offer-top {
  font-size: 0.875rem;
  color: #a5b9d7;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.offer-number {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 22px 0 18px;
  flex-wrap: wrap;
}

.offer-number strong {
  font-size: 8.5rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.06em;
  color: #fff;
}

.offer-number span {
  font-size: 1.4375rem;
  color: #c9d9f0;
}

.offer h3 {
  font-size: 1.5625rem;
  font-weight: 500;
}

.offer .offer-note {
  font-size: 0.875rem;
  color: #9fb4d3;
  padding-top: 20px;
  border-top: 1px solid #354e71;
  margin-top: 26px;
}

.role-section {
  padding-top: 0;
}

.role-head {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
  margin-bottom: 35px;
}

.role-head h2 {
  font-size: 1.9375rem;
}

.role-tabs {
  display: flex;
  gap: 5px;
}

.role-tab {
  border: 1px solid var(--line);
  padding: 12px 18px;
  background: #fff;
  border-radius: 8px;
  font-size: 0.9375rem;
  min-height: 46px;
  color: var(--muted);
}

.role-tab[aria-selected=true] {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

.role-panel {
  background: var(--mist);
  border-radius: 24px;
  padding: 44px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.role-panel h3 {
  font-size: 1.875rem;
  line-height: 1.4;
}

.role-panel .lead {
  font-size: 1.0625rem;
  margin-top: 16px;
  max-width: 390px;
}

.role-panel .actions {
  margin-top: 25px;
}

.role-benefits {
  display: grid;
  gap: 0;
}

.role-benefits li {
  display: flex;
  gap: 17px;
  align-items: center;
  border-bottom: 1px solid #dbe3ef;
  padding: 20px 0;
  font-size: 1.0625rem;
  color: #43536b;
}

.role-benefits li:first-child {
  padding-top: 0;
}

.role-benefits li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.role-benefits svg {
  color: var(--blue);
  width: 21px;
}

.onboarding {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 48px;
  margin: 40px 0 0;
}

.onboarding li {
  padding-top: 23px;
  border-top: 1px solid var(--line);
}

.onboarding .stage-num {
  font-size: 0.8125rem;
  color: #8c9bb0;
}

.onboarding h3 {
  font-size: 1.1875rem;
  margin-top: 15px;
}

.onboarding p {
  font-size: 1rem;
  color: var(--muted);
  margin-top: 9px;
}


/* ---------- About: hero, eras and vision ---------- */

.about-hero {
  padding: 65px 0 52px;
}

.about-hero h1 {
  font-size: clamp(2.5rem,4.3vw,3.75rem);
  line-height: 1.3;
}

.about-hero .lead {
  max-width: 650px;
  font-size: 1.1875rem;
  margin-top: 25px;
}

.company-definition {
  display: flex;
  gap: 22px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 25px;
  margin-top: 38px;
  color: var(--muted);
  font-size: 1rem;
}

.company-definition strong {
  color: var(--ink);
  font-weight: 500;
}

.era-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  margin-bottom: 30px;
}

.era-heading h2 {
  font-size: 2.0625rem;
}

.era-board {
  background: var(--navy);
  color: #fff;
  border-radius: 26px;
  padding: 32px 42px;
}

.era-topline {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  border-bottom: 1px solid #334b6b;
  padding-bottom: 22px;
}

.era-topline h3 {
  font-size: 1.4375rem;
  font-weight: 500;
}

.era-topline .diagram-label {
  max-width: 350px;
}

.era-diagram {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.4fr) minmax(0,1fr);
  gap: 38px;
  align-items: center;
  margin: 34px 0;
  min-height: 178px;
  position: relative;
}

.era-diagram::before {
  content: "";
  height: 1px;
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  background: #4a6488;
}

.era-stack {
  display: grid;
  gap: 12px;
  z-index: 1;
}

.era-box {
  background: #1d3656;
  border: 1px solid #436181;
  border-radius: 10px;
  padding: 17px;
  text-align: center;
  font-size: 1rem;
}

.era-core {
  background: #3265ee;
  border-color: #84a7ff;
  padding: 26px 14px;
}

.era-core strong {
  font-size: 1.5rem;
  font-weight: 500;
  display: block;
}

.era-core span {
  font-size: 0.875rem;
  color: #d2e0ff;
  display: block;
  margin-top: 8px;
}

.era-board.app-mode .era-core {
  background: #253c5d;
  border-color: #7087a6;
}

.era-caption {
  font-size: 0.9375rem;
  color: #adc0dc;
  border-top: 1px solid #334b6b;
  padding-top: 20px;
}

.vision-line {
  display: flex;
  justify-content: space-between;
  gap: 45px;
  margin-top: 28px;
  align-items: baseline;
}

.vision-line h3 {
  font-size: 1.375rem;
  flex-shrink: 0;
}

.vision-line p {
  max-width: 760px;
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.8;
}

.vision-line strong {
  font-weight: 500;
  color: var(--ink);
}


/* ---------- About: timeline and contact ---------- */

.timeline-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 75px;
  align-items: center;
}

.timeline-layout .lead {
  font-size: 1.0625rem;
  margin-top: 18px;
}

.timeline-tabs {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 0;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.timeline-tab {
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 0.9375rem;
  color: #8191a8;
  padding: 12px 0 20px;
  position: relative;
}

.timeline-tab[aria-selected=true] {
  color: var(--blue);
}

.timeline-tab[aria-selected=true]::after {
  content: "";
  height: 2px;
  position: absolute;
  left: 0;
  right: 20px;
  bottom: -1px;
  background: var(--blue);
}

.timeline-panel {
  min-height: 149px;
}

.timeline-date {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 13px;
}

.timeline-panel h3 {
  font-size: 1.5625rem;
  margin-bottom: 14px;
}

.timeline-panel p {
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 470px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 40px;
}

.contact-copy p {
  font-size: 1rem;
  color: var(--muted);
  margin-top: 20px;
}

.contact-copy a {
  font-size: 1.625rem;
  letter-spacing: -.02em;
  word-break: break-word;
}

.contact-qrs {
  display: flex;
  justify-content: flex-end;
  gap: 40px;
}

.contact-qrs figure {
  width: 158px;
  text-align: center;
}

.contact-qrs img {
  width: 158px;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.contact-qrs figcaption {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 12px;
}


/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  margin-top: 16px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #8c99ac;
}

.footer-bottom a {
  color: #8c99ac;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.footer-bottom a:hover {
  color: var(--blue);
}


/* ---------- Dialog, inquiry form and toast ---------- */

dialog {
  border: 0;
  border-radius: 20px;
  padding: 0;
  width: min(580px,calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  color: var(--ink);
  box-shadow: 0 30px 100px #081e4250;
}

dialog::backdrop {
  background: #071a38a8;
  backdrop-filter: blur(6px);
}

.dialog-shell {
  padding: 28px 34px 32px;
}

.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  margin-bottom: 20px;
}

.dialog-header h2 {
  font-size: 1.4375rem;
  line-height: 1.4;
}

.dialog-close {
  width: 40px;
  height: 40px;
  background: var(--mist);
  border: 0;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dialog-description {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 23px;
}

.dialog-qr {
  width: 210px;
  height: 210px;
  object-fit: contain;
  margin: 18px auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
}

.dialog-contact {
  text-align: center;
  color: var(--muted);
  font-size: 0.875rem;
  margin-top: 12px;
}

.dialog-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}

.dialog-actions .btn {
  font-size: 0.9375rem;
  min-height: 44px;
  padding: 11px 17px;
}

.dialog-summary {
  width: 100%;
  min-height: 190px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--mist);
  font-size: 0.9375rem;
  line-height: 1.8;
  resize: vertical;
  color: var(--ink);
}

.image-dialog {
  width: min(580px,calc(100% - 32px));
}

.dialog-image {
  max-height: calc(100dvh - 158px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto;
  border-radius: 10px;
}

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

.field.full {
  grid-column: 1/-1;
}

.field label {
  display: block;
  font-size: 0.875rem;
  color: #455570;
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid #d3ddeb;
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  font-size: 1rem;
  line-height: 1.6;
}

.field textarea {
  height: 92px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  outline: 2px solid #d8e5ff;
  outline-offset: 1px;
}

.form-hint {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 17px;
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 150;
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  padding: 12px 22px;
  max-width: calc(100% - 32px);
  font-size: 0.875rem;
  text-align: center;
  box-shadow: 0 6px 25px #12203928;
}

.form-hint a {
  color: var(--blue);
}


/* ---------- Legal pages and 404 ---------- */

.legal-page {
  padding: 56px 0 88px;
}

.legal {
  max-width: 780px;
}

.legal h1 {
  font-size: clamp(2rem,3.6vw,2.875rem);
}

.legal-date {
  margin-top: 14px;
  font-size: 0.875rem;
  color: var(--muted);
}

.legal-summary {
  margin-top: 28px;
  padding: 18px 22px;
  background: var(--mist);
  border-left: 3px solid var(--blue);
  border-radius: 0 10px 10px 0;
  color: #3d4a60;
  line-height: 1.85;
}

.legal h2 {
  font-size: 1.375rem;
  letter-spacing: -.01em;
  margin-top: 44px;
}

.legal h3 {
  font-size: 1.0625rem;
  letter-spacing: 0;
  margin-top: 24px;
}

.legal p,
.legal li {
  color: #3d4a60;
  line-height: 1.9;
}

.legal p {
  margin-top: 10px;
}

.legal ul,
.legal ol {
  margin-top: 10px;
  padding-left: 1.4em;
}

.legal ul {
  list-style: disc;
}

.legal ol {
  list-style: decimal;
}

.legal li {
  margin-top: 6px;
}

.legal li::marker {
  color: var(--muted);
}

.legal a {
  color: var(--blue);
  word-break: break-all;
}

.legal a:hover {
  text-decoration: underline;
}

.legal p.eyebrow {
  margin-top: 0;
  color: var(--muted);
}

.not-found {
  padding: 96px 0 120px;
}

.not-found .lead {
  max-width: 520px;
}


/* ---------- (min-width: 1600px) ---------- */

@media (min-width: 1600px) {
  .wrap {
    width: 1320px;
  }

  .home-hero {
    padding: 85px 0 95px;
  }

  .connection {
    min-height: 480px;
  }

  .connection-network {
    margin: 48px 0;
  }

  .hero-grid {
    gap: 68px;
  }
}


/* ---------- (max-width: 1150px) ---------- */

@media (max-width: 1150px) {
  .wrap {
    width: calc(100% - 64px);
  }

  .header-inner {
    gap: 25px;
  }

  .nav {
    gap: 22px;
  }

  .hero-grid {
    gap: 28px;
  }

  .connection {
    padding: 24px 22px;
  }

  .connection-network {
    gap: 16px;
  }

  .product-viewer,
  .product-hero-grid {
    gap: 45px;
  }

  .home-visual {
    padding: 30px 34px;
  }

  .module-panel {
    padding: 35px 28px;
  }

  .arch-map {
    padding: 30px 22px;
  }

  .arch-mapboard {
    padding: 0 5px;
  }

  .module-node {
    padding: 17px 18px;
  }

  .cooperation-layout {
    gap: 45px;
  }

  .flow-shell {
    gap: 40px;
  }

  .cooperation-hero h1 {
    font-size: 3.25rem;
  }

  .product-composition {
    gap: 17px;
    padding: 30px 26px;
  }

  .partner-rail {
    margin-inline: -32px;
  }
}


/* ---------- (max-width: 950px) ---------- */

@media (max-width: 950px) {
  .wrap {
    width: calc(100% - 48px);
  }

  .header-inner {
    gap: 18px;
    min-height: 70px;
    padding-block: 12px;
  }

  .brand {
    width: 146px;
  }

  .header-contact {
    margin-left: auto;
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 22px;
    display: grid;
    gap: 0;
    box-shadow: 0 15px 22px #1839600a;
    top: 100%;
  }

  .nav a {
    padding: 15px 7px;
    font-size: 1rem;
  }

  .nav a[aria-current]::after {
    display: none;
  }

  .nav a[aria-current] {
    color: var(--blue);
  }

  .home-hero {
    padding: 50px 0 55px;
  }

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

  .hero-copy h1 {
    font-size: 2.875rem;
  }

  .hero-copy .eyebrow {
    font-size: 0.8125rem;
  }

  .hero-copy .lead {
    font-size: 1rem;
    margin-top: 21px;
  }

  .connection {
    min-height: 405px;
    padding: 23px 20px;
  }

  .connection-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .connection-network {
    gap: 12px;
    margin: 25px 0;
  }

  .network-node {
    padding: 11px 5px;
    min-height: 42px;
    font-size: .875rem;
  }

  .network-node svg {
    display: none;
  }

  .network-core {
    border-radius: 14px;
    min-height: 168px;
  }

  .network-core strong {
    max-width: 100%;
    text-align: center;
    font-size: 1.625rem;
  }

  .network-core span {
    font-size: 0.75rem;
  }

  .network-core small {
    font-size: 0.75rem;
    margin-top: 7px;
  }

  .connection-foot h3 {
    font-size: 1.0625rem;
  }

  .connection-foot p {
    font-size: 0.8125rem;
  }

  .connection .fine {
    margin-top: 13px;
  }

  .section {
    padding: 72px 0;
  }

  .home-visual {
    padding: 26px 24px;
    gap: 13px;
    min-height: 350px;
  }

  .home-visual .tryon-figure {
    height: 270px;
  }

  .metrics {
    margin-top: 28px;
    padding-top: 23px;
  }

  .metric strong {
    font-size: 1.75rem;
  }

  .cta {
    padding: 38px 40px;
  }

  .cta h2 {
    font-size: 1.875rem;
  }

  .hero-inline {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }

  .hero-inline .lead {
    margin-top: 22px;
    max-width: 650px;
  }

  .architecture {
    grid-template-columns: 1.05fr 1fr;
  }

  .arch-map {
    padding: 28px 18px;
  }

  .arch-mapboard {
    gap: 17px;
    padding: 0;
  }

  .module-node {
    padding: 17px 12px;
  }

  .module-node strong {
    font-size: 1rem;
  }

  .module-node.core {
    width: 88%;
  }

  .module-node.core strong {
    font-size: 1.1875rem;
  }

  .module-panel {
    padding: 30px 25px;
  }

  .module-panel h3 {
    font-size: 1.5625rem;
  }

  .module-description {
    font-size: 1rem;
  }

  .flow-shell {
    grid-template-columns: 1fr 1.1fr;
    gap: 30px;
  }

  .flow-board {
    padding: 27px 22px;
  }

  .flow-sample {
    padding: 18px;
    gap: 13px;
  }

  .scope-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .product-hero-grid {
    gap: 28px;
  }

  .product-hero h1 {
    font-size: 2.875rem;
  }

  .product-hero .lead {
    font-size: 1rem;
  }

  .product-composition {
    gap: 14px;
    padding: 28px 22px;
    min-height: 420px;
  }

  .product-composition .tryon-photo {
    height: 290px;
  }

  .product-viewer {
    gap: 40px;
  }

  .screen-display {
    padding: 30px 28px;
    min-height: 570px;
  }

  .screen-display .screen-badge {
    position: static;
    margin-bottom: 18px;
  }

  .screen-display .screen-zoom {
    width: 216px;
  }

  .cooperation-layout {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .cooperation-hero h1 {
    font-size: 2.8125rem;
  }

  .cooperation-hero .lead {
    font-size: 1rem;
  }

  .offer {
    padding: 30px;
    min-height: 345px;
  }

  .offer-number strong {
    font-size: 7rem;
  }

  .offer-number span {
    font-size: 1.25rem;
  }

  .offer h3 {
    font-size: 1.375rem;
  }

  .role-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .role-panel {
    gap: 35px;
    padding: 35px 38px;
  }

  .role-panel h3 {
    font-size: 1.625rem;
  }

  .timeline-layout {
    gap: 40px;
  }

  .contact-grid {
    gap: 30px;
  }

  .contact-qrs {
    gap: 22px;
  }

  .contact-qrs figure,
  .contact-qrs img {
    width: 132px;
  }

  .partner-rail {
    margin-inline: -24px;
  }

  .era-board {
    padding: 30px;
  }

  .era-diagram {
    gap: 22px;
  }

  .era-box {
    padding: 16px 10px;
    font-size: 0.9375rem;
  }

  .era-core strong {
    font-size: 1.375rem;
  }

  .era-heading h2 {
    font-size: 1.875rem;
  }

  html:not(.js) .header-inner {
    height: auto;
    min-height: 70px;
    flex-wrap: wrap;
    padding-top: 15px;
    padding-bottom: 12px;
  }

  html:not(.js) .nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    box-shadow: none;
    padding: 0;
    order: 3;
    flex-basis: 100%;
    border: 0;
  }

  html:not(.js) .nav a {
    padding: 8px;
  }

  .core-services {
    flex-direction: column;
    gap: 1px;
    font-size: .8125rem;
  }

  .core-services span:not(:last-child)::after {
    content: none;
  }

  .header .header-contact {
    font-size: .875rem;
    padding: 10px 14px;
  }

  .header-contact .full-label {
    display: none;
  }

  .header-contact .short-label {
    display: inline;
  }

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


/* ---------- (max-width: 700px) ---------- */

@media (max-width: 700px) {
  .wrap {
    width: calc(100% - 40px);
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.9375rem;
  }

  .section {
    padding: 56px 0;
  }

  .section-small {
    padding: 43px 0;
  }

  .header-inner {
    gap: 10px;
    min-height: 66px;
  }

  .brand {
    width: 132px;
  }

  .header-contact {
    font-size: 0.8125rem;
    min-height: 37px;
    padding: 9px 12px;
  }

  .menu-toggle {
    width: 38px;
    height: 40px;
  }

  .nav {
    padding-inline: 20px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .home-hero {
    padding: 36px 0 45px;
  }

  .hero-copy h1 {
    font-size: 2.6875rem;
    line-height: 1.25;
  }

  .hero-copy .eyebrow {
    font-size: 0.8125rem;
    margin-bottom: 19px;
  }

  .hero-copy .lead {
    font-size: 1.0625rem;
    max-width: 470px;
  }

  .hero-copy .fine {
    margin-top: 20px;
  }

  .actions {
    margin-top: 24px;
    gap: 10px;
  }

  .btn {
    min-height: 46px;
    padding: 12px 19px;
    font-size: 0.9375rem;
  }

  .connection {
    padding: 24px;
    min-height: 0;
    border-radius: 21px;
  }

  .connection-top {
    align-items: center;
    flex-direction: row;
    gap: 10px;
  }

  .connection .switch button {
    font-size: 0.8125rem;
    padding: 7px 10px;
    min-height: 34px;
  }

  .diagram-label {
    font-size: 0.75rem;
  }

  .connection-network {
    gap: 16px;
    margin: 30px 0;
  }

  .network-node {
    min-height: 45px;
  }

  .network-core strong {
    max-width: 100%;
    text-align: center;
    font-size: 1.6875rem;
  }

  .network-core small {
    font-size: 0.75rem;
  }

  .connection-foot h3 {
    font-size: 1.125rem;
  }

  .connection-foot p {
    font-size: 0.875rem;
  }

  .product-logo {
    width: 92px;
    margin-bottom: 23px;
  }

  .home-visual {
    min-height: 370px;
    max-width: 500px;
    padding: 27px 38px;
    gap: 21px;
    order: 2;
  }

  .home-visual .shot {
    max-height: 332px;
  }

  .home-visual .tryon-figure {
    height: 290px;
  }

  .metrics {
    max-width: 460px;
    margin-top: 28px;
  }

  .metric strong {
    font-size: 1.8125rem;
  }

  .metric span {
    font-size: 0.8125rem;
  }

  .partner-head h2 {
    font-size: 1.375rem;
  }

  .partner-rail {
    margin-inline: -20px;
  }

  .partner-mark {
    width: 190px;
  }

  .brand-text {
    font-size: 1.375rem;
  }

  .brand-text.modern {
    font-size: 1.625rem;
  }

  .cta {
    padding: 31px 27px;
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
    border-radius: 20px;
  }

  .cta h2 {
    font-size: 1.8125rem;
  }

  .cta p {
    font-size: 0.9375rem;
  }

  .cta .actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .section-head {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 28px;
  }

  .section-head .lead {
    font-size: 1rem;
  }

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

  .route-hero h1 {
    font-size: 2.5625rem;
  }

  .route-hero .lead {
    font-size: 1.0625rem;
    margin-top: 18px;
  }

  .platform-intro {
    margin-top: 29px;
    grid-template-columns: 1fr;
  }

  .platform-intro li,
  .platform-intro li:first-child {
    padding: 17px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    gap: 15px;
  }

  .platform-intro li:last-child {
    border-bottom: 0;
  }

  .platform-intro li>div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
  }

  .platform-intro span {
    margin-top: 0;
  }

  .architecture {
    grid-template-columns: 1fr;
    border-radius: 21px;
  }

  .arch-map {
    padding: 25px 22px 26px;
  }

  .arch-heading {
    margin-bottom: 19px;
  }

  .arch-mapboard {
    max-width: 490px;
    margin: auto;
    gap: 12px;
  }

  .module-node {
    min-height: 72px;
    padding: 13px 15px;
  }

  .module-node strong {
    font-size: 1.0625rem;
  }

  .module-node.core {
    width: 77%;
    min-height: 79px;
    padding: 17px;
  }

  .module-node.core strong {
    font-size: 1.3125rem;
  }

  .arch-foot {
    font-size: 0.75rem;
    margin-top: 18px;
  }

  .module-panel {
    padding: 27px 28px 31px;
    min-height: 325px;
  }

  .module-index {
    margin-bottom: 15px;
  }

  .module-panel h3 {
    font-size: 1.625rem;
  }

  .format {
    margin: 10px 0 17px;
  }

  .module-description {
    max-width: none;
    font-size: 1.0625rem;
  }

  .chips {
    margin-top: 21px;
  }

  .architecture-below {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .flow-shell {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .flow-copy .lead {
    font-size: 1rem;
    margin-top: 17px;
  }

  .flow-copy .flow-description {
    min-height: 0;
    max-width: none;
  }

  .flow-stage {
    margin-top: 25px;
  }

  .flow-board {
    padding: 26px 22px;
  }

  .flow-tab {
    font-size: 0.8125rem;
  }

  .flow-sample {
    padding: 19px;
    margin-top: 27px;
    min-height: 115px;
  }

  .flow-sample strong {
    font-size: 1.0625rem;
  }

  .scope-row {
    margin-top: 29px;
    padding-top: 24px;
  }

  .scope-tags {
    gap: 8px;
  }

  .scope-tags .fine {
    margin-left: 0;
    flex-basis: 100%;
  }

  .product-hero {
    padding: 37px 0 46px;
  }

  .product-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .product-hero h1 {
    font-size: 2.625rem;
  }

  .product-hero .lead {
    font-size: 1.0625rem;
    margin-top: 20px;
  }

  .product-hero .product-logo {
    width: 93px;
    margin-bottom: 19px;
  }

  .product-composition {
    max-width: 540px;
    padding: 26px 38px;
    gap: 25px;
    min-height: 0;
  }

  .product-composition figure:first-child {
    width: 190px;
    margin-top: 22px;
  }

  .product-composition figure:nth-child(2) {
    width: 165px;
    margin-bottom: 20px;
  }

  .product-composition .tryon-photo {
    height: auto;
    aspect-ratio: 392/718;
  }

  .product-composition figcaption {
    font-size: 0.75rem;
  }

  .product-viewer {
    grid-template-columns: 1fr;
    gap: 27px;
    margin-top: 0;
  }

  .screen-controls {
    margin-top: 26px;
  }

  .screen-tab {
    padding: 17px 0;
    grid-template-columns: 32px 1fr 18px;
    gap: 10px;
  }

  .screen-tab .tab-name {
    font-size: 1.25rem;
  }

  .screen-tab .tab-desc {
    font-size: 1rem;
    max-width: none;
  }

  .screen-display {
    min-height: 538px;
    padding: 25px;
    max-width: 510px;
  }

  .screen-display .screen-badge {
    margin-bottom: 14px;
  }

  .screen-display .screen-zoom {
    width: 212px;
  }

  .product-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: 29px;
  }

  .product-bottom p {
    font-size: 1rem;
  }

  .cooperation-hero {
    padding: 37px 0 47px;
  }

  .cooperation-layout {
    grid-template-columns: 1fr;
    gap: 31px;
  }

  .cooperation-hero h1 {
    font-size: 2.625rem;
  }

  .cooperation-hero .lead {
    font-size: 1.0625rem;
    margin-top: 20px;
  }

  .offer {
    max-width: 500px;
    padding: 27px 32px;
    min-height: 322px;
    border-radius: 21px;
  }

  .offer-number {
    margin: 17px 0;
  }

  .offer-number strong {
    font-size: 7rem;
  }

  .offer-top {
    font-size: 0.8125rem;
  }

  .offer h3 {
    font-size: 1.5rem;
  }

  .offer .offer-note {
    margin-top: 24px;
    padding-top: 18px;
  }

  .role-section {
    padding-top: 8px;
  }

  .role-head {
    gap: 22px;
    margin-bottom: 25px;
  }

  .role-head h2 {
    font-size: 1.8125rem;
  }

  .role-tabs {
    gap: 7px;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    width: 100%;
  }

  .role-tab {
    font-size: 0.875rem;
    min-height: 45px;
    padding: 10px 8px;
  }

  .role-panel {
    grid-template-columns: 1fr;
    padding: 29px 26px;
    gap: 27px;
    border-radius: 21px;
  }

  .role-panel h3 {
    font-size: 1.6875rem;
  }

  .role-panel .lead {
    font-size: 1rem;
    margin-top: 14px;
  }

  .role-benefits li {
    font-size: 1rem;
    padding: 16px 0;
    gap: 13px;
  }

  .onboarding {
    gap: 23px;
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .onboarding li {
    padding-top: 21px;
    display: grid;
    grid-template-columns: 33px 1fr;
    gap: 0 12px;
  }

  .onboarding h3 {
    margin: 0;
    font-size: 1.1875rem;
  }

  .onboarding p {
    grid-column: 2;
    font-size: 1rem;
    margin-top: 8px;
  }

  .about-hero {
    padding: 39px 0 40px;
  }

  .about-hero h1 {
    font-size: 2.4375rem;
  }

  .about-hero .lead {
    font-size: 1.0625rem;
    margin-top: 20px;
  }

  .company-definition {
    margin-top: 29px;
    padding-top: 21px;
    gap: 11px;
    align-items: flex-start;
    flex-direction: column;
    font-size: 0.9375rem;
  }

  .era-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 25px;
  }

  .era-heading h2 {
    font-size: 1.875rem;
  }

  .switch button {
    font-size: 0.875rem;
    padding: 9px 18px;
  }

  .era-board {
    padding: 25px 24px;
    border-radius: 21px;
  }

  .era-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 19px;
  }

  .era-topline h3 {
    font-size: 1.375rem;
  }

  .era-topline .diagram-label {
    font-size: 0.8125rem;
    line-height: 1.7;
  }

  .era-diagram {
    gap: 14px;
    grid-template-columns: minmax(0,1fr) minmax(0,1.2fr) minmax(0,1fr);
    margin: 28px 0;
    min-height: 170px;
  }

  .era-box {
    padding: 15px 8px;
    font-size: 0.8125rem;
    line-height: 1.5;
  }

  .era-core {
    padding: 22px 9px;
  }

  .era-core strong {
    font-size: 1.25rem;
  }

  .era-core span {
    font-size: 0.75rem;
    margin-top: 8px;
  }

  .era-caption {
    font-size: 0.875rem;
    line-height: 1.8;
    padding-top: 18px;
  }

  .vision-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-top: 25px;
  }

  .vision-line h3 {
    font-size: 1.3125rem;
  }

  .vision-line p {
    font-size: 1rem;
  }

  .timeline-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .timeline-tabs {
    margin-bottom: 23px;
  }

  .timeline-tab {
    font-size: 0.875rem;
    line-height: 1.5;
  }

  .timeline-panel {
    min-height: 140px;
  }

  .timeline-panel h3 {
    font-size: 1.5rem;
  }

  .timeline-panel p {
    font-size: 1rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 29px;
  }

  .contact-copy a {
    font-size: 1.5rem;
  }

  .contact-copy p {
    margin-top: 16px;
    font-size: 0.9375rem;
  }

  .contact-qrs {
    justify-content: flex-start;
    gap: 27px;
  }

  .contact-qrs figure,
  .contact-qrs img {
    width: 144px;
  }

  .footer {
    padding: 24px 0;
    margin-top: 9px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .dialog-shell {
    padding: 23px 23px 27px;
  }

  .dialog-header {
    margin-bottom: 18px;
    gap: 15px;
  }

  .dialog-header h2 {
    font-size: 1.3125rem;
  }

  .dialog-qr {
    width: 195px;
    height: 195px;
  }

  .dialog-description {
    font-size: 0.9375rem;
  }

  .form-grid {
    gap: 13px;
  }

  .field label {
    font-size: 0.8125rem;
  }

  .dialog-actions {
    gap: 9px;
  }

  .dialog-actions .btn {
    font-size: 0.875rem;
    padding: 11px 13px;
  }

  .product-hero-grid,
  .product-viewer {
    grid-template-columns: minmax(0,1fr);
  }

  .header .header-contact {
    padding: 9px 12px;
  }

  .legal-page {
    padding: 36px 0 56px;
  }

  .legal h2 {
    font-size: 1.25rem;
    margin-top: 36px;
  }

  .legal-summary {
    padding: 16px 18px;
  }

  .not-found {
    padding: 56px 0 72px;
  }

  .how-steps {
    gap: 12px;
  }

  .how-step {
    padding: 12px 12px 18px;
    border-radius: 16px;
  }

  .how-step-media {
    padding: 10px;
    margin-bottom: 14px;
  }

  .how-step h3 {
    font-size: 1.0625rem;
  }

  .how-step p {
    font-size: 0.875rem;
  }
}


/* ---------- (max-width: 370px) ---------- */

@media (max-width: 370px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .header-inner {
    gap: 5px;
  }

  .brand {
    width: 118px;
  }

  .header-contact {
    padding: 9px 10px;
    font-size: 0.75rem;
  }

  .hero-copy h1,
  .product-hero h1,
  .cooperation-hero h1 {
    font-size: 2.3125rem;
  }

  .route-hero h1,
  .about-hero h1 {
    font-size: 2.25rem;
  }

  .connection {
    padding: 22px 18px;
  }

  .connection-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .connection-network {
    gap: 10px;
  }

  .network-core strong {
    max-width: 100%;
    text-align: center;
    font-size: 1.5rem;
  }

  .network-core span {
    font-size: 0.75rem;
  }

  .connection .fine {
    font-size: 0.75rem;
  }

  .home-visual {
    padding: 25px 25px;
    gap: 17px;
    min-height: 330px;
  }

  .home-visual .tryon-figure {
    height: 245px;
  }

  .metric strong {
    font-size: 1.625rem;
  }

  .metric span {
    font-size: 0.75rem;
  }

  .cta {
    padding: 28px 23px;
  }

  .cta h2 {
    font-size: 1.6875rem;
  }

  .module-node strong {
    font-size: 0.9375rem;
  }

  .module-node.core {
    width: 85%;
  }

  .product-composition {
    padding: 26px 25px;
    gap: 19px;
  }

  .role-tab {
    font-size: 0.8125rem;
    padding: 10px 6px;
  }

  .role-panel {
    padding: 27px 23px;
  }

  .era-board {
    padding: 23px 18px;
  }

  .era-diagram {
    gap: 10px;
  }

  .era-box {
    font-size: 0.75rem;
    padding: 14px 6px;
  }

  .era-core strong {
    font-size: 1.125rem;
  }

  .era-core span {
    font-size: 0.75rem;
  }

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

  .field.full {
    grid-column: auto;
  }

  .contact-qrs {
    gap: 20px;
  }

  .contact-qrs figure,
  .contact-qrs img {
    width: 126px;
  }

  .partner-rail {
    margin-inline: -16px;
  }
}


/* ---------- (prefers-reduced-motion: reduce) ---------- */

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

  *,
  *::before,
  *::after {
    animation: none!important;
    transition: none!important;
  }

  .partner-track {
    transform: none;
  }

  .partner-group[aria-hidden=true] {
    display: none;
  }

  .partner-group .partner-mark[aria-hidden=true] {
    display: none;
  }

  .partner-rail {
    mask-image: none;
    margin-inline: 0;
  }

  .partner-mark {
    width: auto;
    padding-right: 35px;
  }

  .marquee-button {
    display: none;
  }
}


/* ---------- print ---------- */

@media print {
  .header,
  .footer,
  .actions,
  .switch,
  .role-tabs,
  .dialog,
  .partner-rail,
  .menu-toggle {
    display: none;
  }

  .wrap {
    width: 100%;
  }

  .section {
    padding: 28px 0;
  }

  .connection,
  .era-board,
  .offer,
  .flow-board {
    background: #edf2fa;
    color: var(--ink);
  }

  .connection p,
  .era-caption,
  .offer-note {
    color: var(--ink);
  }

  a[href^="mailto"] {
    text-decoration: underline;
  }
}
