:root {
  color-scheme: dark;
  --paper: #101217;
  --panel: #141821;
  --ink: #f4f6fa;
  --muted: #abb2bf;
  --line: #292e39;
  --accent: #69ddff;
  --mono: ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  --sans: Inter,'PingFang SC','Microsoft YaHei',Arial,sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

.site-header {
  height: 82px;
  padding: 0 7.2%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
}

.brand img {
  display: block;
  width: 154px;
  height: auto;
}

.site-header nav {
  display: flex;
  gap: 40px;
  font-size: 13px;
  color: var(--muted);
}

.site-header nav a:hover,
.site-footer a:hover {
  color: var(--accent);
}

.header-cta {
  font-size: 12px;
  font-weight: 700;
  border: 1px solid #485263;
  border-radius: 30px;
  padding: 12px 17px;
}

.header-cta:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.header-cta span {
  margin-left: 12px;
}

.hero {
  min-height: 590px;
  padding: 84px 7.2%;
  display: grid;
  grid-template-columns: minmax(0,.85fr) minmax(0,1.35fr);
  gap: clamp(22px,4vw,62px);
  align-items: center;
  position: relative;
  isolation: isolate;
  background-color: #141b29;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url('assets/brand-grid.png') center / 56px repeat;
  opacity: .68;
  pointer-events: none;
}

.eyebrow {
  font: 11px var(--mono);
  letter-spacing: .12em;
  color: var(--muted);
  margin: 0 0 23px;
}

.hero-eyebrow {
  color: var(--accent);
  font-size: 13px;
}

.hero h1 {
  font-size: 72px;
  line-height: 1.13;
  letter-spacing: 0;
  margin: 0 0 25px;
  font-weight: 700;
}

.hero h1 span {
  color: var(--accent);
}

.hero-text {
  max-width: 420px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
  margin: 0 0 28px;
}

.button {
  display: inline-flex;
  gap: 25px;
  align-items: center;
  padding: 14px 21px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  background: var(--accent);
  color: #071219;
}

.button:hover {
  background: #a7edff;
}

.button span {
  font-size: 16px;
}

.hero-art {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 26px #0008);
}

.intro {
  padding: 110px 15% 56px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 2fr 130px;
  gap: 35px;
  align-items: start;
}

.intro .eyebrow {
  margin-top: 12px;
}

.intro h2,
.section-heading h2,
.contact h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.35;
}

.intro h2 span {
  color: var(--muted);
}

.intro-copy>p {
  max-width: 490px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

.intro-stamp {
  width: 112px;
  height: 112px;
  border: 1px solid #485263;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transform: rotate(11deg);
  font: 8px var(--mono);
  line-height: 1.5;
  letter-spacing: .08em;
  text-align: center;
  color: var(--muted);
}

.intro-stamp b {
  font-size: 20px;
  color: var(--accent);
}

.hardware-showcase {
  --hardware-tile: 152px;
  --hardware-gap: 14px;
  --hardware-duration: 60s;
  max-width: 2200px;
  margin-inline: auto;
  padding: 0 0 58px;
}

.hardware-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 0 7.2% 16px;
}

.hardware-heading h2 {
  margin: 0;
  font-size: 20px;
}

.hardware-viewport {
  overflow-x: auto;
}

.hardware-ready .hardware-viewport {
  overflow: clip;
  cursor: grab;
  touch-action: pan-y pinch-zoom;
  user-select: none;
  -webkit-user-select: none;
}

.hardware-ready .hardware-viewport:active {
  cursor: grabbing;
}

.hardware-viewport:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.hardware-track,
.hardware-list {
  display: flex;
  width: max-content;
}

.hardware-list {
  flex: none;
  gap: var(--hardware-gap);
  align-items: start;
  margin: 0;
  padding: 0 var(--hardware-gap) 0 0;
  list-style: none;
}

.hardware-item {
  width: var(--hardware-tile);
  display: grid;
  gap: 9px;
  text-align: center;
  font-size: 13px;
  color: var(--ink);
}

.hardware-item img {
  display: block;
  width: 100%;
  height: 108px;
  padding: 6px;
  object-fit: contain;
  border-radius: 6px;
  background: #edf3f8;
}

.hardware-release img {
  padding: 20px 12px;
  background: transparent;
}

@media (prefers-reduced-motion: no-preference) {
  .hardware-ready .hardware-viewport {
    mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent);
  }

  .hardware-ready .hardware-track {
    animation: hardware-scroll var(--hardware-duration) linear infinite;
  }

  @keyframes hardware-scroll {
    to { transform: translateX(-50%); }
  }
}

.products {
  background: var(--panel);
  border-block: 1px solid var(--line);
  padding: 100px 12% 95px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 40px;
}

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

.section-heading h2 {
  font-size: 40px;
}

.section-heading>p {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0 0 5px;
}

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

.product-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.product-image {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.visual-two {
  background: #412d32;
}

.visual-three {
  background: #293d3b;
}

.visual-tag {
  position: absolute;
  top: 17px;
  left: 18px;
  font: 10px var(--mono);
  letter-spacing: .1em;
  color: #e1e5ed;
}

.image-hint {
  position: absolute;
  bottom: 15px;
  right: 17px;
  font: 10px var(--mono);
  color: #e1e5ed;
}

.placeholder-object {
  position: relative;
  filter: drop-shadow(0 18px 16px #1b1c1928);
}

.object-two {
  width: 142px;
  height: 111px;
  border-radius: 40px;
  background: linear-gradient(140deg,#ffded0,#e68d76 68%,#bd5d4d);
  transform: rotate(9deg);
}

.object-two:before {
  content: '';
  position: absolute;
  inset: 13px;
  border: 1px solid #ffffff90;
  border-radius: 30px;
}

.object-two i {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #33302e;
  top: 28px;
  left: 44px;
  box-shadow: inset 0 0 0 7px #514843;
}

.object-two b {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  left: 69px;
  top: 53px;
}

.object-three {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: linear-gradient(145deg,#fcfffb,#a1b3a9 68%,#66796d);
  transform: rotate(-8deg);
}

.object-three:before {
  content: '';
  position: absolute;
  inset: 15px;
  border: 1px solid #ffffffb0;
  border-radius: 50%;
}

.object-three i {
  position: absolute;
  width: 38px;
  height: 38px;
  border: 2px solid #52665a;
  border-radius: 50%;
  left: 46px;
  top: 46px;
}

.object-three b {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #52665a;
  left: 62px;
  top: 62px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  margin: 20px 0 8px;
  font: 9px var(--mono);
  letter-spacing: .04em;
  color: var(--muted);
}

.product-arrow {
  color: var(--accent);
  font-size: 14px;
}

.product-card h3 {
  margin: 0;
  font-size: 19px;
}

.product-card>p {
  margin: 10px 0 18px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  min-height: 46px;
}

.product-card .product-title {
  margin-top: 16px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.product-card .product-price {
  min-height: 0;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--ink);
}

.buy-link {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 13px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
}

.buy-link[href] {
  color: var(--accent);
}

.buy-link[href]:hover {
  text-decoration: underline;
}

.buy-link span {
  font-size: 14px;
  color: var(--accent);
}

.is-placeholder {
  color: var(--muted);
  cursor: default;
}

.is-placeholder span {
  color: var(--muted);
}

.contact {
  padding: 97px 15%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 25px;
}

.contact .eyebrow {
  margin-bottom: 10px;
}

.contact h2 {
  font-size: 35px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  align-self: end;
  padding-bottom: 4px;
}

.contact-details > span {
  font-size: 13px;
  color: var(--muted);
}

.contact-qr {
  display: block;
  width: 86px;
  height: auto;
  filter: grayscale(1) invert(1) contrast(1.12);
  mix-blend-mode: screen;
}

.contact-email {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.contact-email:hover {
  text-decoration: underline;
}

.site-footer {
  min-height: 76px;
  border-top: 1px solid var(--line);
  padding: 0 7.2%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
}

.footer-brand {
  color: var(--ink);
  font-size: 12px;
}

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

.site-footer>a:last-child {
  color: var(--ink);
}

@media (max-width: 1250px) {
  .hero h1 {
    font-size: 48px;
  }
}

@media (max-width: 800px) {
  .site-header {
    height: 70px;
    padding: 0 6%;
  }

  .site-header nav {
    gap: 20px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding: 65px 8% 80px;
    grid-template-columns: 1fr;
    gap: 44px;
    min-height: 0;
  }

  .hero-art {
    width: min(100%,650px);
    justify-self: center;
  }

  .intro {
    padding: 80px 9% 48px;
    grid-template-columns: 1fr 2fr;
  }

  .intro-stamp {
    display: none;
  }

  .products {
    padding: 80px 8%;
  }

  .product-grid {
    gap: 14px;
  }

  .contact {
    padding: 75px 9%;
  }

  .site-footer {
    padding: 0 6%;
  }

}

@media (max-width: 560px) {
  .site-header nav {
    gap: clamp(9px,3vw,16px);
    font-size: 12px;
    white-space: nowrap;
  }

  .hero {
    padding: 55px 7% 66px;
    gap: 42px;
  }

  .intro {
    display: block;
    padding: 68px 8% 40px;
  }

  .hardware-showcase {
    --hardware-tile: 128px;
    --hardware-gap: 12px;
    --hardware-duration: 51s;
    padding-bottom: 44px;
  }

  .intro .eyebrow {
    margin-bottom: 22px;
  }

  .intro h2 {
    font-size: 33px;
  }

  .products {
    padding: 70px 8%;
  }

  .section-heading {
    align-items: start;
  }

  .section-heading h2 {
    font-size: 34px;
  }

  .section-heading>p {
    font-size: 9px;
  }

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

  .product-card>p {
    min-height: 0;
  }

  .contact {
    padding: 70px 8%;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr);
  }

  .contact h2 {
    font-size: 28px;
  }

  .contact-details {
    margin-top: 15px;
  }

  .site-footer {
    min-height: 88px;
    display: grid;
    grid-template-columns: 1fr auto;
    row-gap: 6px;
    padding: 15px 8%;
  }

  .site-footer>span {
    grid-row: 2;
    grid-column: 1;
  }

  .site-footer>a:last-child {
    grid-row: 1;
    grid-column: 2;
  }

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

  .site-header {
    padding-inline: 5%;
  }

  .brand img {
    width: clamp(95px,28vw,125px);
  }

  .hero-text {
    font-size: 15px;
  }

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

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

  .hardware-list[aria-hidden="true"] {
    display: none;
  }

  .hardware-ready .hardware-viewport {
    overflow-x: auto;
    touch-action: auto;
    cursor: auto;
  }

  .hardware-list {
    padding-inline: 7.2%;
  }
}
