:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #eef3f3;
  --text: #101717;
  --muted: #596767;
  --accent: #073c42;
  --accent-strong: #052f34;
  --accent-soft: #dcebed;
  --line: #ccd7d8;
  --placeholder: #e7edef;
  --shadow: 0 22px 70px rgba(7, 60, 66, 0.10);
  --radius-media: 12px;
  --radius-control: 999px;
  --page: min(1440px, calc(100vw - 64px));
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Avenir Next", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

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

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  color: #fff;
  background: var(--accent);
  border-radius: var(--radius-control);
}

.section-shell {
  width: var(--page);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header-height);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  background: color-mix(in srgb, var(--bg) 91%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.header-inner {
  width: var(--page);
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.brand {
  width: 204px;
}

.brand img {
  width: 60%;
  height: auto;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 2vw, 34px);
  white-space: nowrap;
}

.site-nav a,
.language-link {
  position: relative;
  font-size: 14px;
  font-weight: 600;
}

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

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-toggle {
  display: none;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  cursor: pointer;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

.button:active {
  transform: translateY(1px) scale(0.98);
}

.button-primary {
  color: #fff;
  background: var(--accent);
}

.button-primary:hover {
  background: var(--accent-strong);
}

.button-secondary {
  color: var(--accent);
  border-color: var(--accent);
  background: transparent;
}

.button-secondary:hover {
  color: #fff;
  background: var(--accent);
}

.button-compact {
  min-height: 42px;
  padding-inline: 20px;
  font-size: 14px;
}

.hero {
  min-height: calc(100dvh - var(--header-height) - 120px);
  display: grid;
  grid-template-columns: minmax(420px, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(42px, 6vw, 96px);
  padding-block: 46px;
}

.hero-copy {
  padding-left: clamp(0px, 2vw, 32px);
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(50px, 5vw, 72px);
  font-weight: 650;
  letter-spacing: -0.06em;
  line-height: 1.08;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero-copy > p {
  max-width: 520px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.7;
}

.hero-actions,
.closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.media-slot {
  position: relative;
  min-height: 300px;
  margin: 0;
  overflow: hidden;
  border: 1px dashed color-mix(in srgb, var(--accent) 38%, transparent);
  border-radius: var(--radius-media);
  background:
    linear-gradient(135deg, transparent 0 49.6%, color-mix(in srgb, var(--accent) 12%, transparent) 49.8% 50.2%, transparent 50.4%),
    linear-gradient(45deg, transparent 0 49.6%, color-mix(in srgb, var(--accent) 12%, transparent) 49.8% 50.2%, transparent 50.4%),
    var(--placeholder);
  background-size: 52px 52px;
}

.media-slot::before {
  content: attr(data-image-slot);
  position: absolute;
  top: 18px;
  left: 18px;
  color: var(--accent);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.media-slot.has-media {
  border-style: solid;
  border-color: var(--line);
  background: var(--surface-soft);
}

.media-slot.has-media::before {
  display: none;
}

.media-asset {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-media .media-asset {
  inset: 0;
  width: 130%;
  height: 120%;
  object-fit: cover;
  object-position: center;
  margin-top: -10%;
}

.product-media .media-asset {
  object-fit: cover;
  background: #f7f8fa;
}

.media-slot-copy {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  max-width: 460px;
  padding: 20px;
  border-radius: var(--radius-media);
  background: color-mix(in srgb, var(--surface) 91%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.media-slot-copy > span {
  display: none;
}

.media-slot-copy strong,
.media-slot-copy p,
.media-slot-copy small {
  display: block;
}

.media-slot-copy strong {
  font-size: 17px;
}

.media-slot-copy p {
  margin: 6px 0;
  color: var(--muted);
  font-size: 13px;
}

.media-slot-copy small {
  color: var(--accent);
  font-size: 12px;
}

.hero-media {
  min-height: min(72vh, 690px);
}

.trust-band {
  min-height: 120px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  padding: 28px 40px;
  border-radius: var(--radius-media);
  background: var(--surface);
}

.trust-title {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.logo-slots {
  display: grid;
  grid-template-columns: repeat(6, minmax(72px, 1fr));
  align-items: center;
}

.logo-slot {
  min-height: 54px;
  display: grid;
  place-items: center;
  color: color-mix(in srgb, var(--muted) 65%, transparent);
  border-left: 1px solid var(--line);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.logo-slot img {
  width: min(118px, 82%);
  height: 46px;
  object-fit: contain;
}

.text-link,
.section-link {
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.manifesto {
  padding-block: clamp(110px, 14vw, 210px);
  text-align: center;
}

.manifesto p {
  margin: 0 auto;
  max-width: 1100px;
  font-size: clamp(34px, 4.4vw, 68px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.22;
}

.workflow,
.partners {
  padding-block: clamp(92px, 10vw, 150px);
}

.section-heading {
  max-width: 840px;
}

.section-heading h2,
.partner-intro h2,
.closing-cta h2,
.resource-band h2 {
  margin: 0;
  font-size: clamp(38px, 4vw, 62px);
  font-weight: 620;
  letter-spacing: -0.05em;
  line-height: 1.12;
}

.section-heading p,
.partner-intro > div > p,
.closing-cta p,
.resource-band p {
  max-width: 700px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.section-heading-centered {
  margin-inline: auto;
  text-align: center;
}

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

.process-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  margin: 76px 0 48px;
  padding: 0;
  list-style: none;
}

.process-rail::before {
  content: "";
  position: absolute;
  top: 9px;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--accent);
}

.process-rail li {
  position: relative;
  padding-top: 32px;
}

.process-rail li::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 10px;
  height: 10px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: var(--bg);
}

.process-rail span {
  font-size: 18px;
  font-weight: 700;
}

.process-rail p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.workflow-media-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
}

.media-wide,
.media-detail {
  min-height: 420px;
}

.section-link {
  display: inline-block;
  margin-top: 34px;
}

.products-section,
.proof-section {
  background: var(--surface-soft);
}

.products-section .section-shell,
.proof-section .section-shell {
  padding-block: clamp(92px, 10vw, 150px);
}

.product-composition {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-areas:
    "rfid device"
    "platform device";
  gap: 18px;
  margin-top: 64px;
}

.product-feature {
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-media);
  background: var(--surface);
}

.product-feature-rfid {
  grid-area: rfid;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
}

.product-feature-device {
  grid-area: device;
  display: flex;
  flex-direction: column;
}

.product-feature-platform {
  grid-area: platform;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
}

.product-copy {
  padding: clamp(28px, 3vw, 48px);
}

.product-copy h3,
.proof-composition h3 {
  margin: 0;
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 620;
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.product-copy p {
  margin: 18px 0 28px;
  color: var(--muted);
}

.product-media {
  min-height: 360px;
  border: 0;
  border-radius: 0;
}

.product-media-tall {
  min-height: 620px;
  flex: 1;
}

.partner-intro {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}

.partner-media {
  min-height: 520px;
}

.support-matrix {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 62px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.support-matrix > div {
  min-height: 180px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.support-matrix strong {
  font-size: 18px;
}

.support-matrix p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.proof-composition {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 62px;
}

.proof-logos,
.proof-documents {
  padding: clamp(30px, 4vw, 56px);
  border-radius: var(--radius-media);
  background: var(--surface);
}

.proof-logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 34px;
}

.proof-logo-grid div {
  min-height: 82px;
  display: grid;
  place-items: center;
  color: var(--muted);
  overflow: hidden;
  border: 1px solid var(--line);
  font-size: 12px;
}

.proof-logo-grid img {
  width: 100%;
  height: 80px;
  object-fit: contain;
}

.proof-note {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.document-slots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 34px;
}

.document-slots > div {
  aspect-ratio: 10 / 13;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-media);
  background: #fff;
}

.document-slots img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.document-slots span {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}

.document-slots strong {
  color: var(--text);
}

.proof-media {
  min-height: 430px;
}

.resource-band,
.closing-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
}

.resource-band {
  padding-block: 74px;
  border-bottom: 1px solid var(--line);
}

.resource-band h2 {
  font-size: clamp(34px, 3.4vw, 50px);
}

.closing-cta {
  padding-block: clamp(100px, 11vw, 170px);
}

.closing-cta > div:first-child {
  max-width: 760px;
}

.closing-actions {
  margin-top: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: clamp(34px, 5vw, 76px);
  padding-block: 70px;
}

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

.footer-brand p {
  max-width: 330px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-grid h2 {
  margin: 0 0 20px;
  font-size: 14px;
}

.footer-grid a,
.footer-grid button {
  display: block;
  margin: 11px 0 0;
  padding: 0;
  color: var(--muted);
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  text-align: left;
}

.footer-grid a:hover,
.footer-grid button:hover {
  color: var(--accent);
}

.footer-bottom {
  min-height: 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.footer-bottom div {
  display: flex;
  gap: 26px;
}

.modal {
  width: min(560px, calc(100vw - 32px));
  padding: 0;
  color: var(--text);
  border: 0;
  border-radius: var(--radius-media);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.modal::backdrop {
  background: rgba(5, 25, 28, 0.54);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lead-form {
  position: relative;
  display: grid;
  gap: 18px;
  padding: clamp(28px, 5vw, 52px);
}

.lead-form h2 {
  margin: 0;
  font-size: 36px;
  letter-spacing: -0.04em;
}

.lead-form > p {
  margin: -8px 0 8px;
  color: var(--muted);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  outline: none;
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 12%, transparent);
}

.lead-form input[aria-invalid="true"] {
  border-color: #a23939;
}

.form-status {
  min-height: 24px;
  margin: 0 !important;
  color: #8a3030 !important;
  font-size: 13px;
}

.form-status.is-success {
  color: var(--accent) !important;
}

.modal-close {
  justify-self: end;
  padding: 6px 0;
  color: var(--muted);
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

*:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 42%, transparent);
  outline-offset: 4px;
}

@media (max-width: 1180px) {
  :root {
    --page: min(100% - 40px, 1100px);
  }

  .header-inner {
    grid-template-columns: 180px 1fr auto;
    gap: 18px;
  }

  .brand {
    width: 174px;
  }

  .site-nav {
    gap: 16px;
  }

  .site-nav a {
    font-size: 13px;
  }

  .hero {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .hero h1 {
    font-size: clamp(46px, 5.2vw, 64px);
  }

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

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

@media (max-width: 900px) {
  :root {
    --page: calc(100% - 32px);
    --header-height: 68px;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .brand {
    width: 170px;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
    display: grid;
    align-content: center;
    gap: 7px;
    padding: 10px;
    border: 0;
    border-radius: 50%;
    background: var(--surface-soft);
    cursor: pointer;
  }

  .nav-toggle-line {
    width: 100%;
    height: 1px;
    background: var(--text);
    transition: transform 180ms ease;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-line:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    transform: translateY(-4px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 12px 16px 22px;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 4px;
    font-size: 16px;
  }

  .site-nav a::after {
    display: none;
  }

  .header-actions {
    position: absolute;
    top: 0;
    right: 62px;
    height: var(--header-height);
  }

  .header-actions .button {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-block: 64px 30px;
  }

  .hero-copy {
    padding: 0;
  }

  .hero h1 {
    font-size: clamp(43px, 9.5vw, 68px);
  }

  .hero-media {
    min-height: 520px;
  }

  .trust-band {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .logo-slots {
    grid-template-columns: repeat(6, minmax(96px, 1fr));
    overflow-x: auto;
  }

  .workflow-media-grid,
  .partner-intro,
  .proof-composition {
    grid-template-columns: 1fr;
  }

  .process-rail {
    grid-template-columns: repeat(5, minmax(180px, 1fr));
    overflow-x: auto;
    padding-bottom: 12px;
  }

  .product-composition {
    grid-template-columns: 1fr;
    grid-template-areas: "rfid" "device" "platform";
  }

  .product-feature-rfid,
  .product-feature-platform {
    grid-template-columns: 1fr;
  }

  .product-media-tall {
    min-height: 520px;
  }

  .resource-band,
  .closing-cta {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  :root {
    --page: calc(100% - 32px);
  }

  .hero {
    gap: 28px;
    padding-block: 34px 20px;
  }

  .hero h1 {
    font-size: clamp(39px, 11.5vw, 52px);
    line-height: 1.12;
  }

  .hero-copy > p {
    margin-top: 18px;
    font-size: 16px;
  }

  .hero-actions,
  .closing-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .button {
    width: 100%;
  }

  .hero-media {
    min-height: 300px;
  }

  .media-slot-copy {
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 16px;
  }

  .trust-band {
    width: 100%;
    padding-inline: 16px;
    border-radius: 0;
  }

  .manifesto {
    padding-block: 100px;
  }

  .manifesto p {
    font-size: 34px;
    text-align: left;
  }

  .section-heading h2,
  .partner-intro h2,
  .closing-cta h2 {
    font-size: 39px;
  }

  .process-rail {
    margin-top: 48px;
  }

  .media-wide,
  .media-detail,
  .partner-media,
  .proof-media {
    min-height: 390px;
  }

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

  .support-matrix > div {
    min-height: 0;
    padding: 24px;
  }

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

  .document-slots {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 38px 24px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 24px;
  }

  .footer-bottom div {
    flex-wrap: wrap;
    gap: 14px 22px;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header,
  .media-slot-copy,
  .modal::backdrop {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .site-header,
  .media-slot-copy {
    background: var(--surface);
  }
}
