/* ==========================================================================
   迈策科技 MATRIX TECH — www.messaging.cn
   无外部依赖：字体走系统栈，图标内联 SVG，图表全部 CSS/SVG
   ========================================================================== */

:root {
  --ink: #07101f;
  --ink-2: #0c1728;
  --ink-3: #152338;
  --paper: #f5f7fa;
  --paper-2: #ffffff;
  --paper-3: #eef1f6;
  --text: #0a1526;
  --muted: #5b6577;
  --muted-2: #8a93a3;
  --line: #e2e6ee;
  --line-dark: rgba(255, 255, 255, 0.1);
  --blue: #1557ff;
  --blue-dark: #0b3fd4;
  --cyan: #19d3ff;
  --violet: #6d4aff;

  --font-sans: "Inter", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-mono: "SFMono-Regular", "JetBrains Mono", "Cascadia Code", Menlo,
    Consolas, monospace;

  --wrap: 1240px;
  --gutter: 24px;
  --header-h: 76px;
  --radius: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd {
  margin: 0;
}

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

::selection {
  background: rgba(21, 87, 255, 0.18);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 6px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}
.skip-link:focus {
  transform: none;
}

.wrap {
  width: min(var(--wrap), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  color: #fff;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(247, 248, 251, 0.94);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  color: var(--text);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(7, 16, 31, 0.04);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: auto;
  height: 40px;
}

.brand-logo-on-light {
  display: none;
}

.site-header.is-scrolled .brand-logo-on-dark,
.site-header.menu-open .brand-logo-on-dark {
  display: none;
}

.site-header.is-scrolled .brand-logo-on-light,
.site-header.menu-open .brand-logo-on-light {
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 14px;
}

.nav > a {
  position: relative;
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s ease;
}

.nav > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transition: right 0.3s var(--ease);
}

.nav > a:hover {
  color: #fff;
}
.nav > a:hover::after {
  right: 0;
}

.site-header.is-scrolled .nav > a,
.site-header.menu-open .nav > a {
  color: var(--muted);
}
.site-header.is-scrolled .nav > a:hover,
.site-header.menu-open .nav > a:hover {
  color: var(--text);
}

.nav .nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, border-color 0.2s ease,
    color 0.2s ease;
}

.nav .nav-cta svg {
  width: 15px;
  height: 15px;
  transition: transform 0.25s var(--ease);
}

.nav .nav-cta:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}
.nav .nav-cta:hover svg {
  transform: translateX(3px);
}
.nav .nav-cta::after {
  display: none;
}

.site-header.is-scrolled .nav .nav-cta,
.site-header.menu-open .nav .nav-cta {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.site-header.is-scrolled .nav .nav-cta:hover,
.site-header.menu-open .nav .nav-cta:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  opacity: 0.8;
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}
.nav-toggle span:first-child {
  top: 17px;
}
.nav-toggle span:last-child {
  bottom: 17px;
}
.menu-open .nav-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}
.menu-open .nav-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 64px) 0 0;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(126, 170, 220, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 170, 220, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 60% 42%, #000 10%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 70% at 60% 42%, #000 10%, transparent 78%);
}

.hero-glow {
  position: absolute;
  width: 900px;
  height: 900px;
  right: -180px;
  top: 2%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(21, 87, 255, 0.2) 0%,
    rgba(25, 211, 255, 0.08) 34%,
    transparent 66%
  );
  filter: blur(20px);
}

.hero-horizon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 280px;
  background: linear-gradient(180deg, transparent, rgba(7, 16, 31, 0.92));
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: clamp(32px, 5vw, 88px);
  padding-bottom: 40px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.56);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(25, 211, 255, 0.12);
  animation: pulse 2.8s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(25, 211, 255, 0.1);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(25, 211, 255, 0);
  }
}

.hero h1 {
  font-size: clamp(2.15rem, 4.9vw, 4.6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.018em;
}

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

.hl {
  background: linear-gradient(100deg, #19d3ff 0%, #6ea8ff 48%, #9b8bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.lead {
  max-width: 34em;
  text-wrap: pretty;
  margin-top: 30px;
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.66);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.25s ease, border-color 0.25s ease,
    color 0.25s ease, transform 0.25s var(--ease);
}
.btn svg {
  width: 19px;
  height: 19px;
  transition: transform 0.25s var(--ease);
}
.btn:hover svg {
  transform: translateX(4px);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 34px rgba(21, 87, 255, 0.32);
}
.btn-primary:hover {
  background: #2f6bff;
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.82);
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 44px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.09em;
  color: rgba(255, 255, 255, 0.4);
}
.hero-tags li {
  display: flex;
  align-items: center;
}
.hero-tags li + li::before {
  content: "";
  width: 3px;
  height: 3px;
  margin: 0 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
}

/* Hero matrix visual */

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 560px;
  justify-self: end;
}

.matrix {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.04;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: radial-gradient(circle at 50% 52%, #102a4d 0%, #0a1729 46%, #070f1c 74%);
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.matrix-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(126, 190, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 190, 255, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(circle at 50% 54%, #000 0%, transparent 74%);
  mask-image: radial-gradient(circle at 50% 54%, #000 0%, transparent 74%);
}

.matrix-floor {
  position: absolute;
  left: -25%;
  right: -25%;
  bottom: -12%;
  height: 52%;
  background-image: linear-gradient(rgba(25, 211, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 211, 255, 0.18) 1px, transparent 1px);
  background-size: 40px 40px;
  transform: perspective(420px) rotateX(66deg);
  transform-origin: center bottom;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 82%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 82%);
  opacity: 0.7;
}

.matrix-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.matrix-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 62%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(225, 250, 255, 0.9) 0%,
    rgba(25, 211, 255, 0.34) 16%,
    rgba(21, 87, 255, 0.14) 38%,
    transparent 68%
  );
  filter: blur(2px);
  animation: breathe 7s ease-in-out infinite;
}

@keyframes breathe {
  0%,
  100% {
    opacity: 0.72;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.06);
  }
}

.matrix-wordmark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 50%;
  height: auto;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 34px rgba(25, 211, 255, 0.28));
}

.float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(9, 20, 37, 0.78);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
  animation: floaty 7s ease-in-out infinite;
}

.float b {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
}
.float small {
  display: block;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.42);
}
.float em {
  margin-left: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-style: normal;
  color: var(--cyan);
}

.f-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(25, 211, 255, 0.9);
  flex: 0 0 auto;
}

.float-1 {
  top: 7%;
  left: -6%;
  animation-delay: -1.5s;
}
.float-2 {
  right: -7%;
  top: 44%;
  animation-delay: -3.5s;
}
.float-3 {
  left: 2%;
  bottom: 12%;
  animation-delay: -5s;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

.visual-caption {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.32);
  text-align: right;
}

.hero-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: auto;
  padding-block: 22px 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.34);
}

.scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.scroll-hint i {
  display: block;
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.26);
  position: relative;
  overflow: hidden;
}
.scroll-hint i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cyan);
  animation: scrollLine 2.4s var(--ease) infinite;
}
@keyframes scrollLine {
  0% {
    transform: translateY(-100%);
  }
  60%,
  100% {
    transform: translateY(100%);
  }
}

/* --------------------------------------------------------------------------
   Shared section pieces
   -------------------------------------------------------------------------- */

.section {
  position: relative;
  padding: clamp(84px, 9vw, 132px) 0;
  scroll-margin-top: var(--header-h);
}

.label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.label::after {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
  opacity: 0.42;
}

.label span {
  color: var(--blue);
  font-weight: 600;
}

.section-head {
  margin-bottom: clamp(44px, 6vw, 72px);
}

.section-head-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: end;
  margin-top: 22px;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.015em;
  max-width: 14em;
}

.section-intro {
  max-width: 38em;
  text-wrap: pretty;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

/* Reveal */
html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0ms);
}
html.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */

.services {
  background: var(--paper);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--paper-2);
}

.card {
  position: relative;
  padding: 34px 32px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
  transition: background 0.3s ease;
}

.card::before {
  content: "";
  position: absolute;
  left: -1px;
  right: -1px;
  top: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.card:hover {
  background: #fbfcff;
}
.card:hover::before {
  transform: scaleX(1);
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 26px;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(21, 87, 255, 0.14);
  border-radius: 9px;
  background: rgba(21, 87, 255, 0.055);
  color: var(--blue);
  transition: background 0.3s ease, color 0.3s ease;
}
.card-icon svg {
  width: 22px;
  height: 22px;
}
.card:hover .card-icon {
  background: var(--blue);
  color: #fff;
}

.card-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted-2);
}

.card h3 {
  font-size: 19px;
  font-weight: 650;
  letter-spacing: 0.005em;
}

.card p {
  margin-top: 12px;
  text-wrap: pretty;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 22px;
}
.chips li {
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.03em;
  color: var(--muted-2);
}

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

.product {
  background: var(--paper-3);
}

.product-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 32px;
  padding: clamp(32px, 5vw, 64px);
  border-radius: 20px;
  background: radial-gradient(circle at 78% 32%, #142a4d 0%, #0a1628 42%, #070f1c 78%);
  color: #fff;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(7, 16, 31, 0.18);
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(126, 190, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 190, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(circle at 75% 45%, #000, transparent 70%);
  mask-image: radial-gradient(circle at 75% 45%, #000, transparent 70%);
  pointer-events: none;
}

.product-copy {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.product-meta span {
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.56);
}

.product-copy h3 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.product-copy h3 span {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.36);
}

.product-lead {
  margin-top: 20px;
  text-wrap: pretty;
  font-size: 16px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.68);
}

.ticks {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}
.ticks li {
  position: relative;
  padding-left: 24px;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.64);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 10px;
  height: 5px;
  border-left: 1.5px solid var(--cyan);
  border-bottom: 1.5px solid var(--cyan);
  transform: rotate(-45deg);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 34px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(25, 211, 255, 0.5);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.link-arrow svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease);
}
.link-arrow:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}
.link-arrow:hover svg {
  transform: translateX(4px);
}

.product-visual {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
}

.phone {
  width: min(258px, 76%);
  aspect-ratio: 9 / 18.6;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 38px;
  background: #0a1322;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transform: rotate(-3deg);
}

.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(180deg, #0b1730 0%, #111a33 52%, #2a1b3d 100%);
}

.phone-stars {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(1px 1px at 18% 14%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 72% 9%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1px 1px at 46% 22%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1.5px 1.5px at 84% 30%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 12% 38%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 63% 44%, rgba(255, 255, 255, 0.3), transparent);
}

.phone-moon {
  position: absolute;
  top: 56px;
  right: 28px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 32%, #fffdf0, #ffd98a 58%, #f3b85c 100%);
  box-shadow: 0 0 40px rgba(255, 210, 130, 0.5), 0 0 90px rgba(255, 210, 130, 0.18);
}

.phone-ui {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 18px 22px 24px;
}

.phone-time {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.42);
}

.phone-kicker {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.phone-ui h4 {
  margin-top: 8px;
  font-size: 21px;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: #fff;
}

.phone-sub {
  margin-top: 6px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.44);
}

.wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 46px;
  margin-top: 22px;
}
.wave i {
  flex: 1;
  min-width: 2px;
  height: 22%;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(25, 211, 255, 0.95), rgba(21, 87, 255, 0.55));
  opacity: 0.85;
}
.wave i:nth-child(3n) {
  height: 72%;
}
.wave i:nth-child(4n) {
  height: 44%;
}
.wave i:nth-child(5n) {
  height: 92%;
}
.wave i:nth-child(7n) {
  height: 32%;
}

.phone-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
}
.pc-side {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}
.pc-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #eafcff;
  color: #07203a;
  box-shadow: 0 0 30px rgba(25, 211, 255, 0.36);
}
.pc-play svg {
  width: 22px;
  height: 22px;
  margin-left: 2px;
}

.product-badge {
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-align: center;
  color: rgba(255, 255, 255, 0.34);
}

.footnote {
  margin-top: 24px;
  font-size: 12px;
  color: var(--muted-2);
  text-align: center;
}

/* --------------------------------------------------------------------------
   Process
   -------------------------------------------------------------------------- */

.process {
  background: var(--paper-2);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.step {
  padding: 30px 32px 8px 0;
  border-right: 1px solid var(--line);
}
.step:last-child {
  border-right: 0;
  padding-right: 0;
}
.step + .step {
  padding-left: 32px;
}

.step-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: -41px;
  margin-bottom: 26px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 22px;
  background: var(--paper-2);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--blue);
}

.step-line {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.step h3 {
  font-size: 19px;
  font-weight: 650;
}

.step > p {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
}

.step ul {
  display: grid;
  gap: 6px;
  margin-top: 18px;
}
.step ul li {
  position: relative;
  padding-left: 14px;
  font-size: 12px;
  color: var(--muted-2);
}
.step ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
}

/* --------------------------------------------------------------------------
   Principles
   -------------------------------------------------------------------------- */

.principles {
  background: var(--paper);
}

.principles-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}

.principles-head {
  position: sticky;
  top: calc(var(--header-h) + 40px);
}

.principles-head h2 {
  margin-top: 22px;
}

.principles-head > p:last-child {
  max-width: 30em;
  margin-top: 24px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--muted);
}

.principle-list {
  border-top: 1px solid var(--line);
}
.principle-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.p-index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--blue);
  padding-top: 4px;
}
.principle-list h3 {
  font-size: 18px;
  font-weight: 650;
}
.principle-list p {
  margin-top: 8px;
  text-wrap: pretty;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Stack
   -------------------------------------------------------------------------- */

.stack {
  background: var(--paper-2);
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.stack-group {
  padding: 30px 30px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stack-group h3 {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}

.stack-group ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}
.stack-group li {
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 12.5px;
  color: var(--muted);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.stack-group li:hover {
  border-color: rgba(21, 87, 255, 0.32);
  background: rgba(21, 87, 255, 0.04);
  color: var(--text);
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.about {
  background: var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}

.about-copy h2 {
  margin-top: 22px;
}

.about-copy > p:not(.label) {
  max-width: 34em;
  text-wrap: pretty;
  margin-top: 22px;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--muted);
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 36px;
  border-top: 1px solid var(--line);
}
.facts > div {
  padding: 16px 20px 16px 0;
  border-bottom: 1px solid var(--line);
}
.facts > div:nth-child(even) {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}
.facts dt {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.facts dd {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--text);
  overflow-wrap: anywhere;
}
.facts dd a {
  border-bottom: 1px solid rgba(21, 87, 255, 0.32);
  color: var(--blue);
}

.about-panel {
  position: relative;
  aspect-ratio: 1 / 1.02;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 48%, #122b4f 0%, #0a1729 46%, #070f1c 78%);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(7, 16, 31, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(126, 190, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 190, 255, 0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 74%);
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 74%);
}

.about-rings {
  position: absolute;
  width: 74%;
  aspect-ratio: 1;
  border: 1px solid rgba(25, 211, 255, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 40px rgba(25, 211, 255, 0.03),
    0 0 0 80px rgba(25, 211, 255, 0.02);
}

.about-wordmark {
  position: relative;
  z-index: 1;
  width: 64%;
  height: auto;
  filter: drop-shadow(0 0 40px rgba(25, 211, 255, 0.26));
}

.about-label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.36);
}
.about-label-a {
  top: 22px;
  left: 24px;
}
.about-label-b {
  bottom: 22px;
  left: 24px;
}
.about-label-c {
  right: 24px;
  bottom: 22px;
  color: rgba(25, 211, 255, 0.55);
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact {
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  scroll-margin-top: var(--header-h);
}

.contact-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.contact-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(126, 170, 220, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 170, 220, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 30% 40%, #000, transparent 76%);
  mask-image: radial-gradient(ellipse 80% 80% at 30% 40%, #000, transparent 76%);
}
.contact-glow {
  position: absolute;
  width: 760px;
  height: 760px;
  left: -120px;
  bottom: -320px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(21, 87, 255, 0.24) 0%,
    rgba(25, 211, 255, 0.07) 42%,
    transparent 68%
  );
}

.label-light {
  color: rgba(255, 255, 255, 0.36);
}
.label-light span {
  color: var(--cyan);
}

.contact-inner {
  max-width: 1000px;
}

.contact h2 {
  margin-top: 24px;
  max-width: 16em;
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  line-height: 1.12;
}

.contact-lead {
  max-width: 40em;
  text-wrap: pretty;
  margin-top: 24px;
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.58);
}

.contact-mail {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 46px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
  transition: color 0.25s ease, border-color 0.25s ease;
  overflow-wrap: anywhere;
}
.contact-mail svg {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  transition: transform 0.3s var(--ease);
}
.contact-mail:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}
.contact-mail:hover svg {
  transform: translateX(6px);
}

.contact-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 54px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.contact-meta span {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.32);
}
.contact-meta p {
  margin-top: 6px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.contact-note {
  margin-top: 40px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

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

.site-footer {
  background: #050b14;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 64px 0 26px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-brand .footer-logo {
  height: 46px;
  width: auto;
  display: block;
}
.footer-brand > p {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.42);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, auto));
  gap: 56px;
}
.footer-nav h3 {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
  margin-bottom: 14px;
}
.footer-nav a,
.footer-nav span {
  display: block;
  padding: 4px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.58);
  transition: color 0.2s ease;
}
.footer-nav a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 24px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
}
.footer-bottom a {
  transition: color 0.2s ease;
}
.footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.7);
}
.footer-note {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.2);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1120px) {
  .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
  }
  .float-1 {
    left: -2%;
  }
  .float-2 {
    right: -2%;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .stack-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .step:nth-child(2) {
    border-right: 0;
  }
  .step:nth-child(n + 3) {
    margin-top: 40px;
  }
  .step:nth-child(3) {
    padding-left: 0;
  }
  .principles-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }
  .principles-head {
    position: static;
  }
  .principles-head h2 br {
    display: none;
  }
  .about-visual {
    max-width: 560px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 70px;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px var(--gutter) 24px;
    background: rgba(247, 248, 251, 0.98);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 50px rgba(7, 16, 31, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.3s var(--ease),
      visibility 0.25s ease;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav > a {
    padding: 14px 2px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    color: var(--text);
  }
  .site-header .nav > a {
    color: var(--text);
  }
  .nav .nav-cta {
    justify-content: center;
    margin-top: 16px;
    height: 46px;
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
  }
  .nav-toggle {
    display: block;
  }

  .hero {
    min-height: 0;
    padding-top: calc(var(--header-h) + 56px);
    padding-bottom: 0;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 52px;
  }
  .hero-visual {
    justify-self: center;
    max-width: 480px;
  }
  .hero-foot {
    margin-top: 48px;
  }
  .section-head-row {
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
  }
  .product-card {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .product-copy {
    max-width: none;
  }
  .product-visual {
    padding-bottom: 10px;
  }
  .steps {
    grid-template-columns: 1fr;
    border-top: 0;
  }
  .step,
  .step + .step {
    margin-top: 0;
    padding: 30px 0;
    border-right: 0;
    border-top: 1px solid var(--line);
  }
  .step-head {
    margin-top: 0;
    margin-bottom: 18px;
  }
  .stack-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 620px) {
  :root {
    --gutter: 18px;
  }

  .brand-logo {
    height: 32px;
  }

  .eyebrow {
    font-size: 9px;
    letter-spacing: 0.12em;
  }
  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }
  .lead {
    margin-top: 24px;
    font-size: 14.5px;
  }
  .hero-actions {
    margin-top: 32px;
  }
  .btn {
    height: 46px;
    padding: 0 20px;
    font-size: 14px;
  }
  .hero-tags {
    margin-top: 32px;
    font-size: 9.5px;
    letter-spacing: 0.06em;
  }
  .hero-tags li + li::before {
    margin: 0 9px;
  }
  .float {
    padding: 10px 12px;
    gap: 9px;
  }
  .float em,
  .float small {
    display: none;
  }
  .float-1 {
    left: -2%;
    top: 5%;
  }
  .float-2 {
    right: -2%;
  }
  .float-3 {
    left: 2%;
    bottom: 4%;
  }
  .visual-caption {
    display: none;
  }
  .hero-foot {
    justify-content: center;
    font-size: 9px;
    letter-spacing: 0.1em;
  }
  .scroll-hint,
  .hero-note {
    display: none;
  }
  .hero-foot .hero-note {
    display: block;
  }

  .section h2 {
    font-size: clamp(1.8rem, 7.5vw, 2.4rem);
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 28px 22px;
  }
  .product-card {
    padding: 30px 20px;
    border-radius: 14px;
  }
  .product-copy h3 {
    flex-direction: column;
    gap: 4px;
    font-size: 1.9rem;
  }
  .product-lead {
    font-size: 14.5px;
  }
  .phone {
    width: 218px;
  }
  .about-panel {
    aspect-ratio: 1 / 1.1;
  }
  .facts {
    grid-template-columns: 1fr;
  }
  .facts > div:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }
  .contact h2 {
    font-size: clamp(1.95rem, 8vw, 2.6rem);
  }
  .contact-mail {
    gap: 10px;
    font-size: 1.22rem;
  }
  .contact-mail svg {
    width: 22px;
    height: 22px;
  }
  .contact-meta {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 36px;
  }
  .footer-nav {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer-bottom {
    display: grid;
    justify-items: start;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html.js .reveal {
    opacity: 1;
    transform: none;
  }
}
