/* =========================================================
   XINGXUN AI — EDITION 03 / components
   Modules, product showcase, orbits, about band, footer, pages
   ========================================================= */

/* ---------- capabilities ---------- */

.capabilities { position: relative; background: var(--ink); }
.capabilities::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--line), transparent);
  opacity: 0.6;
  pointer-events: none;
}

.modules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  perspective: 1400px;
}

.module {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 28px 30px 24px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background:
    linear-gradient(158deg, rgba(244, 239, 230, 0.05), rgba(244, 239, 230, 0.012) 46%, rgba(244, 239, 230, 0.004));
  overflow: hidden;
  transform-style: preserve-3d;
  transition: border-color 0.5s ease, background 0.5s ease, box-shadow 0.5s ease;
  will-change: transform;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}
.module::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  background: radial-gradient(440px circle at var(--mx, 50%) var(--my, 0%), rgba(200, 160, 44, 0.14), transparent 60%);
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.module::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 54px;
  height: 1px;
  background: var(--gold);
  opacity: 0.55;
  transition: width 0.6s var(--ease), opacity 0.6s ease;
}
.module:hover { border-color: rgba(200, 160, 44, 0.36); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 30px 70px -50px rgba(0, 0, 0, 0.9); }
.module:hover::before { opacity: 1; }
.module:hover::after { width: 130px; opacity: 1; }
.module > * { position: relative; z-index: 1; }

.m-top { display: flex; align-items: center; gap: 12px; }
.m-no { color: var(--gold); font-family: var(--latin); font-size: 19px; line-height: 1; }
.m-code {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.22em;
}
.m-led { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--jade); font-family: var(--mono); font-size: 7.5px; letter-spacing: 0.16em; }
.m-led i { width: 4px; height: 4px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); animation: blink 3s ease-in-out infinite; }

.m-emblem {
  position: absolute;
  right: 18px;
  top: 40px;
  width: 132px;
  height: 132px;
  color: rgba(200, 160, 44, 0.55);
  pointer-events: none;
  opacity: 0.9;
}
.m-emblem svg { width: 100%; height: 100%; overflow: visible; }
.m-emblem .spin-slow { transform-origin: 66px 66px; animation: spin 46s linear infinite; }
.m-emblem .spin-rev { transform-origin: 66px 66px; animation: spin 34s linear infinite reverse; }
.m-emblem .dash { stroke-dasharray: 3 6; }
.m-emblem .node { fill: var(--gold-hi); }
.module:hover .m-emblem { color: rgba(242, 221, 160, 0.85); }

.m-body { margin-top: auto; padding-top: 74px; max-width: 460px; }
.m-body h3 {
  font-family: var(--serif);
  font-size: clamp(25px, 2.5vw, 34px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.035em;
}
.m-body h3 em { color: var(--gold-hi); font-style: normal; }
.m-body p { margin-top: 14px; color: var(--muted); font-size: 11.5px; line-height: 1.9; }

.m-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.m-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.m-tags span {
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.08em;
}
.m-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gold-hi);
  font-size: 10px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.m-link i { font-style: normal; transition: transform 0.35s var(--ease); }
.m-link:hover i { transform: translate(3px, -3px); }

/* ---------- showcase / 织己AI ---------- */

.showcase {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 60% at 20% 40%, rgba(15, 76, 58, 0.55), transparent 70%),
    radial-gradient(ellipse 50% 50% at 88% 20%, rgba(200, 160, 44, 0.08), transparent 70%),
    var(--ink-2);
  border-top: 1px solid var(--line);
}
.showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244, 239, 230, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 239, 230, 0.03) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(180deg, #000, transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
  pointer-events: none;
}
.showcase-word {
  position: absolute;
  right: -4%;
  top: 4%;
  z-index: 0;
  font-family: var(--latin);
  font-size: clamp(200px, 30vw, 470px);
  line-height: 0.7;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 239, 230, 0.07);
  pointer-events: none;
  user-select: none;
}
.showcase-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.showcase-stage { position: relative; min-height: 600px; display: grid; place-items: center; }
.stage-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.stage-glow {
  position: absolute;
  width: 74%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 160, 44, 0.16), rgba(15, 76, 58, 0.1) 44%, transparent 70%);
  filter: blur(28px);
  pointer-events: none;
}
.stage-ring {
  position: absolute;
  width: min(84%, 470px);
  aspect-ratio: 1;
  border: 1px solid rgba(111, 191, 159, 0.16);
  border-radius: 50%;
  pointer-events: none;
}
.stage-ring::before {
  content: "";
  position: absolute;
  inset: 13%;
  border: 1px dashed rgba(200, 160, 44, 0.22);
  border-radius: 50%;
  animation: spin 44s linear infinite;
}
.stage-ring::after {
  content: "";
  position: absolute;
  inset: 30%;
  border: 1px solid rgba(244, 239, 230, 0.09);
  border-radius: 50%;
}
.stage-ticks {
  position: absolute;
  width: min(94%, 512px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(244, 239, 230, 0.22) 0deg 0.6deg, transparent 0.6deg 9deg);
  mask: radial-gradient(circle, transparent 71%, #000 71.3%, #000 72%, transparent 72.3%);
  -webkit-mask: radial-gradient(circle, transparent 71%, #000 71.3%, #000 72%, transparent 72.3%);
  opacity: 0.5;
  pointer-events: none;
}

/* phone */
.phone {
  position: relative;
  z-index: 2;
  width: 278px;
  padding: 9px;
  border: 1px solid rgba(244, 239, 230, 0.18);
  border-radius: 34px;
  background: linear-gradient(160deg, #101a18, #060d0b);
  box-shadow:
    0 50px 120px -40px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(200, 160, 44, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: perspective(1400px) rotateY(-15deg) rotateX(6deg) rotateZ(-2deg);
  transition: transform 0.9s var(--ease);
}
.showcase-stage:hover .phone { transform: perspective(1400px) rotateY(-8deg) rotateX(3deg) rotateZ(-1deg) translateY(-6px); }
.phone::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 34px;
  background: linear-gradient(120deg, rgba(200, 160, 44, 0.5), transparent 30%, transparent 70%, rgba(111, 191, 159, 0.3));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  padding: 1px;
  pointer-events: none;
}
.phone-top { display: flex; align-items: center; gap: 8px; padding: 7px 12px 10px; color: var(--muted-2); font-family: var(--mono); font-size: 7px; letter-spacing: 0.1em; }
.phone-top i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.phone-top span { flex: 1; color: rgba(244, 239, 230, 0.55); }
.phone-screen { border-radius: 24px; background: linear-gradient(180deg, #0c1512, #080e0c); padding: 22px 18px 18px; overflow: hidden; position: relative; }
.phone-screen::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -40%;
  height: 40%;
  background: linear-gradient(180deg, transparent, rgba(111, 191, 159, 0.07), transparent);
  animation: phoneScan 6s linear infinite;
}
@keyframes phoneScan { 0% { top: -40%; } 100% { top: 120%; } }
.phone-kicker { color: var(--muted-2); font-family: var(--mono); font-size: 6.5px; letter-spacing: 0.24em; }
.phone-screen h4 { font-family: var(--serif); font-size: 26px; font-weight: 400; margin: 6px 0 18px; letter-spacing: -0.02em; }
.look-card { display: flex; gap: 11px; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: rgba(244, 239, 230, 0.025); }
.look-img {
  position: relative;
  width: 94px;
  height: 126px;
  flex-shrink: 0;
  border-radius: 9px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 22%, rgba(242, 221, 160, 0.4), transparent 40%),
    linear-gradient(155deg, #2a332e, #0a110e);
}
.look-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(180deg, rgba(111, 191, 159, 0.1) 0 1px, transparent 1px 4px);
  opacity: 0.5;
}
.look-img::after {
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: -12%;
  height: 76%;
  border-radius: 50% 50% 0 0;
  background: linear-gradient(180deg, rgba(200, 160, 44, 0.42), rgba(200, 160, 44, 0.03));
}
.look-info { display: flex; flex-direction: column; justify-content: center; gap: 7px; }
.look-info > span { color: var(--cream); font-size: 9px; letter-spacing: 0.08em; }
.look-info small { color: var(--muted-2); font-size: 7px; }
.swatches { display: flex; gap: 4px; }
.swatches i { width: 13px; height: 13px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.swatches i:nth-child(1) { background: #c8a02c; }
.swatches i:nth-child(2) { background: #a56d52; }
.swatches i:nth-child(3) { background: #73784f; }
.swatches i:nth-child(4) { background: #ddd5c5; }
.phone-lines { display: grid; gap: 7px; margin-top: 18px; }
.phone-lines i { height: 4px; border-radius: 2px; background: rgba(244, 239, 230, 0.07); }
.phone-lines i:nth-child(1) { width: 90%; }
.phone-lines i:nth-child(2) { width: 68%; }
.phone-lines i:nth-child(3) { width: 44%; }
.phone-nav { display: flex; justify-content: space-around; padding: 13px 0 5px; }
.phone-nav i { width: 17px; height: 2px; background: rgba(244, 239, 230, 0.1); }
.phone-nav i:first-child { background: var(--gold); box-shadow: 0 0 8px rgba(200, 160, 44, 0.7); }

.stage-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 11px 15px;
  border: 1px solid rgba(200, 160, 44, 0.24);
  background: rgba(4, 16, 13, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -30px rgba(0, 0, 0, 0.9);
}
.stage-chip span { color: var(--muted-2); font-family: var(--mono); font-size: 6.5px; letter-spacing: 0.22em; }
.stage-chip b { color: var(--gold-hi); font-size: 10px; font-weight: 500; letter-spacing: 0.06em; }
.chip-a { right: 0; top: 20%; animation: floatY 7s ease-in-out infinite; }
.chip-b { left: -2%; bottom: 17%; animation: floatY 9s ease-in-out infinite reverse; }
.chip-b b { color: var(--cyan); }
.chip-c { right: 8%; bottom: 6%; animation: floatY 8s ease-in-out infinite; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* product copy */
.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 22px 0;
  padding: 5px 11px;
  border: 1px solid rgba(79, 224, 192, 0.24);
  border-radius: 2px;
  color: var(--jade);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.16em;
}
.product-badge i { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.product-title {
  font-family: var(--serif);
  font-size: clamp(62px, 7.2vw, 104px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.06em;
}
.product-title span { font-family: var(--latin); font-style: italic; color: var(--gold-hi); }
.product-claim {
  margin-top: 20px;
  font-family: var(--serif);
  font-size: clamp(21px, 2.2vw, 30px);
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: rgba(244, 239, 230, 0.84);
}
.product-claim strong { font-weight: 400; color: var(--gold-hi); }
.product-desc { margin-top: 22px; max-width: 540px; color: var(--muted); font-size: 12.5px; line-height: 2.05; }

.spec-list { margin-top: 32px; border-top: 1px solid var(--line); }
.spec-row {
  display: grid;
  grid-template-columns: 30px 86px 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.4s ease, padding-left 0.4s var(--ease);
}
.spec-row:hover { padding-left: 8px; background: linear-gradient(90deg, rgba(200, 160, 44, 0.06), transparent); }
.spec-row > span { color: var(--gold); font-family: var(--latin); font-size: 11px; }
.spec-row b { color: var(--cream); font-size: 12px; font-weight: 500; letter-spacing: 0.05em; }
.spec-row p { color: var(--muted); font-size: 11px; line-height: 1.8; }

.entries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 28px; border: 1px solid var(--line); background: var(--line); }
.entry {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 10px;
  padding: 16px;
  background: rgba(6, 23, 19, 0.9);
  transition: background 0.4s ease;
}
.entry:hover { background: rgba(15, 76, 58, 0.5); }
.entry-meta { grid-column: 1 / -1; color: var(--muted-2); font-family: var(--mono); font-size: 7px; letter-spacing: 0.2em; }
.entry b { font-family: var(--serif); font-size: 21px; font-weight: 400; letter-spacing: -0.02em; }
.entry small { grid-column: 1; color: var(--muted); font-size: 9px; letter-spacing: 0.03em; }
.entry i { grid-column: 2; grid-row: 2 / span 2; align-self: center; color: var(--gold); font-style: normal; font-size: 14px; transition: transform 0.35s var(--ease); }
.entry:hover i { transform: translate(3px, -3px); color: var(--gold-hi); }

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

/* ---------- three ends carousel ---------- */

.ends {
  position: relative;
  z-index: 2;
  margin-top: clamp(46px, 6vw, 86px);
  padding-top: clamp(30px, 3.6vw, 44px);
  border-top: 1px solid var(--line);
}

.ends-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: end;
  margin-bottom: clamp(22px, 2.6vw, 32px);
}
.ends-title {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 40px);
  font-weight: 400;
  line-height: 1.34;
  letter-spacing: -0.035em;
}
.ends-tools { display: flex; align-items: center; gap: 10px; padding-bottom: 6px; }
.ends-count {
  min-width: 64px;
  text-align: right;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
}
.ends-count b { color: var(--gold-hi); font-weight: 500; }
.ends-btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--cream);
  font-size: 14px;
  transition: border-color 0.4s ease, background 0.4s ease, color 0.4s ease, transform 0.5s var(--ease);
}
.ends-btn:hover { border-color: rgba(200, 160, 44, 0.55); background: rgba(200, 160, 44, 0.08); color: var(--gold-hi); }
.ends-btn:active { transform: scale(0.95); }
.ends-btn:disabled { opacity: 0.26; pointer-events: none; }

.ends-viewport { overflow: hidden; outline: none; touch-action: pan-y; }
.ends-viewport:focus-visible { outline: 1px solid rgba(242, 221, 160, 0.6); outline-offset: 4px; }
.ends-track { display: flex; transition: transform 0.95s var(--ease); will-change: transform; }
.ends-track.is-dragging { transition: none; }

.end-slide {
  --accent: var(--gold-hi);
  --accent-soft: rgba(242, 221, 160, 0.1);
  position: relative;
  flex: 0 0 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 4vw, 70px);
  align-items: center;
  padding: clamp(24px, 3vw, 44px);
  border: 1px solid var(--line);
  background: linear-gradient(152deg, rgba(244, 239, 230, 0.05), rgba(244, 239, 230, 0.012) 56%, rgba(244, 239, 230, 0.004));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
  overflow: hidden;
}
.end-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(560px 300px at 88% 4%, var(--accent-soft), transparent 62%);
  pointer-events: none;
}
.end-slide::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 68px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
}
.end-slide[data-end="c"] { --accent: #f2dda0; --accent-soft: rgba(242, 221, 160, 0.1); }
.end-slide[data-end="b"] { --accent: #9fe3c8; --accent-soft: rgba(159, 227, 200, 0.09); }
.end-slide[data-end="s"] { --accent: #eaddc6; --accent-soft: rgba(234, 221, 198, 0.08); }

.end-main { position: relative; z-index: 1; }
.end-top { display: flex; align-items: center; gap: 12px; }
.end-no { color: var(--accent); font-family: var(--latin); font-size: 21px; line-height: 1; }
.end-code { color: var(--muted-2); font-family: var(--mono); font-size: 8px; letter-spacing: 0.24em; }
.end-status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--jade);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.14em;
}
.end-status i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }

.end-name {
  margin-top: 20px;
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.end-role { margin-top: 8px; color: var(--muted); font-size: 11.5px; letter-spacing: 0.04em; }

.end-pain {
  margin-top: 22px;
  padding: 13px 16px;
  border-left: 2px solid var(--accent);
  background: rgba(4, 16, 13, 0.5);
}
.pain-label {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.2em;
}
.end-pain p {
  font-family: var(--serif);
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 1.65;
  color: rgba(244, 239, 230, 0.9);
}
.end-pain b { color: var(--accent); font-weight: 400; }

.end-solve { margin-top: 18px; border-top: 1px solid var(--line); }
.end-solve li {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.end-solve b { color: var(--cream); font-size: 11.5px; font-weight: 500; letter-spacing: 0.04em; }
.end-solve span { color: var(--muted); font-size: 10.5px; line-height: 1.75; }

.end-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 20px; }
.end-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(244, 239, 230, 0.24);
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.06em;
  transition: border-color 0.4s ease, gap 0.4s var(--ease);
}
.end-link:hover { border-color: var(--accent); gap: 11px; }
.end-link i { font-style: normal; }
.end-result { color: var(--muted-2); font-family: var(--mono); font-size: 9px; letter-spacing: 0.06em; }

/* demo mocks */
.end-demo { position: relative; z-index: 1; display: grid; place-items: center; min-height: 400px; }
.end-demo::before {
  content: "";
  position: absolute;
  width: min(88%, 400px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(244, 239, 230, 0.08);
  background: radial-gradient(circle, var(--accent-soft), transparent 62%);
  pointer-events: none;
}
.end-demo::after {
  content: "";
  position: absolute;
  width: min(66%, 300px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(244, 239, 230, 0.07);
  animation: spin 52s linear infinite;
  pointer-events: none;
}
.demo-phone {
  position: relative;
  z-index: 1;
  width: 256px;
  padding: 8px;
  border: 1px solid rgba(244, 239, 230, 0.18);
  border-radius: 30px;
  background: linear-gradient(160deg, #101a18, #050b09);
  box-shadow: 0 44px 90px -44px #000, inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: rotate(-3deg);
}
.demo-phone-top { display: flex; align-items: center; gap: 8px; padding: 6px 10px 8px; color: var(--muted-2); font-family: var(--mono); font-size: 6.5px; }
.demo-phone-top i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.demo-phone-top span { flex: 1; color: rgba(244, 239, 230, 0.6); }
.demo-screen { padding: 18px 16px 16px; border-radius: 23px; background: linear-gradient(180deg, #0b1412, #070d0b); }
.demo-kicker { color: var(--muted-2); font-family: var(--mono); font-size: 6px; letter-spacing: 0.22em; }
.demo-screen h5 { margin: 4px 0 13px; font-family: var(--serif); font-size: 21px; font-weight: 400; }
.demo-look { display: flex; gap: 10px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: rgba(244, 239, 230, 0.03); }
.demo-look-img {
  width: 74px;
  height: 100px;
  flex-shrink: 0;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 20%, rgba(242, 221, 160, 0.42), transparent 44%),
    linear-gradient(160deg, #26302b, #09100d);
}
.demo-look-info { display: flex; flex-direction: column; justify-content: center; gap: 4px; color: var(--muted); font-size: 8px; letter-spacing: 0.02em; }
.demo-swatches { display: flex; gap: 4px; margin-top: 5px; }
.demo-swatches i { width: 12px; height: 12px; border-radius: 50%; }
.demo-swatches i:nth-child(1) { background: #c8a02c; }
.demo-swatches i:nth-child(2) { background: #6fbf9f; }
.demo-swatches i:nth-child(3) { background: #a56d52; }
.demo-swatches i:nth-child(4) { background: #ddd5c5; }
.demo-rows { display: grid; gap: 6px; margin-top: 14px; }
.demo-rows i { height: 4px; border-radius: 2px; background: rgba(244, 239, 230, 0.08); }
.demo-rows i:nth-child(2) { width: 72%; }
.demo-rows i:nth-child(3) { width: 46%; }

.demo-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  border: 1px solid var(--line-2);
  background: linear-gradient(165deg, rgba(10, 35, 28, 0.9), rgba(4, 16, 13, 0.95));
  box-shadow: 0 44px 90px -50px #000, inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.demo-panel-top { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.demo-panel-top i { width: 6px; height: 6px; border-radius: 50%; background: rgba(244, 239, 230, 0.16); }
.demo-panel-top i:first-child { background: var(--accent); }
.demo-panel-top span { margin-left: auto; color: var(--muted-2); font-family: var(--mono); font-size: 7px; letter-spacing: 0.18em; }
.demo-panel-body { display: grid; gap: 14px; padding: 18px; }
.demo-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.demo-kpis div { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border: 1px solid var(--line); }
.demo-kpis span { color: var(--muted-2); font-family: var(--mono); font-size: 7px; letter-spacing: 0.1em; }
.demo-kpis b { color: var(--accent); font-family: var(--latin); font-size: 20px; font-weight: 400; }
.demo-kpis b.kpi-sm { font-family: var(--sans); font-size: 11px; letter-spacing: 0.04em; padding-bottom: 2px; }
.demo-chart { display: flex; align-items: flex-end; gap: 6px; height: 104px; padding-top: 8px; border-bottom: 1px solid var(--line); }
.demo-chart i { flex: 1; height: var(--h); background: linear-gradient(180deg, var(--accent), rgba(200, 160, 44, 0.1)); opacity: 0.78; }
.demo-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.demo-tags span { padding: 4px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-family: var(--mono); font-size: 7px; letter-spacing: 0.08em; }

.demo-member { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 9.5px; }
.demo-member i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.demo-member span { flex: 1; }
.demo-member em { padding: 3px 7px; border-radius: 999px; font-family: var(--mono); font-size: 7px; font-style: normal; }
.tag-risk { color: #f0b7a4; border: 1px solid rgba(240, 183, 164, 0.3); background: rgba(240, 183, 164, 0.08); }
.tag-wake { color: #cfe0cf; border: 1px solid rgba(207, 224, 207, 0.25); background: rgba(207, 224, 207, 0.06); }
.demo-ai { padding: 12px; border: 1px solid var(--line); background: rgba(244, 239, 230, 0.03); }
.demo-ai span { color: var(--accent); font-family: var(--mono); font-size: 7px; letter-spacing: 0.16em; }
.demo-ai p { margin-top: 6px; color: rgba(244, 239, 230, 0.8); font-size: 9.5px; line-height: 1.6; }

.ends-dots { display: flex; align-items: center; gap: 10px; margin-top: 22px; }
.ends-dots button { width: 34px; height: 2px; background: rgba(244, 239, 230, 0.26); transition: background 0.4s ease, width 0.5s var(--ease); }
.ends-dots button:hover { background: rgba(244, 239, 230, 0.55); }
.ends-dots button[aria-selected="true"] { width: 64px; background: var(--gold-hi); box-shadow: 0 0 12px rgba(242, 221, 160, 0.35); }
.ends-legal { margin-top: 16px; color: var(--muted-2); font-size: 9px; letter-spacing: 0.04em; }

/* ---------- geo ---------- */

.geo {
  position: relative;
  background:
    radial-gradient(ellipse 46% 50% at 80% 46%, rgba(15, 76, 58, 0.45), transparent 72%),
    var(--ink);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.geo-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr); gap: 80px; align-items: center; }
.geo-lead { margin-top: 28px; max-width: 540px; color: var(--muted); font-size: 12.5px; line-height: 2.05; }
.geo-stats {
  display: flex;
  gap: 46px;
  margin: 38px 0;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.geo-stats > div { display: flex; flex-direction: column; gap: 6px; }
.geo-stats b { font-family: var(--latin); font-size: 38px; font-weight: 400; line-height: 1; color: var(--gold-hi); }
.geo-stats b span { color: var(--gold); font-family: var(--sans); font-size: 12px; }
.geo-stats small { color: var(--muted-2); font-family: var(--mono); font-size: 8px; letter-spacing: 0.1em; }
.geo-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 460px; }
.orbit { position: relative; width: min(100%, 430px); aspect-ratio: 1; display: grid; place-items: center; }
.orbit::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(244, 239, 230, 0.09);
}
.orbit::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 191, 159, 0.1), transparent 62%);
}
.orbit-ring {
  position: absolute;
  border: 1px solid rgba(111, 191, 159, 0.2);
  border-radius: 50%;
  transform: rotateX(68deg);
}
.orbit-ring.r1 { inset: 4%; animation: orbitSpin 26s linear infinite; }
.orbit-ring.r2 { inset: 16%; border-color: rgba(200, 160, 44, 0.24); animation: orbitSpin 19s linear infinite reverse; }
.orbit-ring.r3 { inset: 30%; border-color: rgba(244, 239, 230, 0.1); animation: orbitSpin 34s linear infinite; }
@keyframes orbitSpin { to { transform: rotateX(68deg) rotateZ(360deg); } }
.orbit-core {
  position: relative;
  z-index: 2;
  width: 138px;
  height: 138px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(111, 191, 159, 0.32);
  background: radial-gradient(circle at 38% 30%, rgba(111, 191, 159, 0.2), rgba(4, 16, 13, 0.94));
  box-shadow: 0 0 80px rgba(111, 191, 159, 0.14), inset 0 0 40px rgba(111, 191, 159, 0.06);
  animation: coreFloat 7s ease-in-out infinite;
}
@keyframes coreFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.orbit-core span { font-family: var(--latin); font-size: 36px; line-height: 1; color: var(--gold-hi); }
.orbit-core small { margin-top: 7px; color: var(--muted-2); font-family: var(--mono); font-size: 6.5px; letter-spacing: 0.26em; }
.orbit-node {
  position: absolute;
  z-index: 3;
  padding: 6px 11px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(4, 16, 13, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--muted);
  font-size: 8.5px;
  letter-spacing: 0.06em;
  animation: floatY 8s ease-in-out infinite;
}
.orbit-node::before { content: ""; display: inline-block; width: 4px; height: 4px; margin-right: 6px; border-radius: 50%; background: var(--jade); vertical-align: middle; }
.n1 { top: 3%; left: 20%; }
.n2 { top: 22%; right: -2%; animation-delay: -2s; }
.n3 { bottom: 22%; right: 2%; animation-delay: -4s; }
.n4 { bottom: 3%; left: 18%; animation-delay: -1s; }
.n5 { top: 47%; left: -4%; animation-delay: -3s; }

/* ---------- about band ---------- */

.about {
  position: relative;
  margin-top: 24px;
  padding: clamp(88px, 10vw, 140px) 0 clamp(70px, 8vw, 110px);
  background: var(--paper);
  color: #0b241d;
  border-radius: 44px 44px 0 0;
  overflow: hidden;
}
.about::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(6, 27, 22, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 27, 22, 0.04) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(180deg, #000, transparent 86%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 86%);
  pointer-events: none;
}
.about .wrap { position: relative; z-index: 1; }
.about-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; margin-bottom: 44px; }
.about .tag { color: #2f6b55; }
.about .tag::before { background: linear-gradient(90deg, transparent, #2f6b55); }
.about-since { color: rgba(6, 27, 22, 0.42); font-family: var(--mono); font-size: 8px; line-height: 1.9; letter-spacing: 0.2em; text-align: right; }
.about-title {
  font-family: var(--serif);
  font-size: clamp(36px, 5.4vw, 80px);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -0.05em;
  max-width: 1100px;
}
.about-title span { color: #8f6f21; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, 0.82fr); gap: 86px; align-items: start; margin-top: 62px; }
.about-copy p { max-width: 520px; color: rgba(6, 27, 22, 0.66); font-size: 12.5px; line-height: 2.05; }
.about-copy p + p { margin-top: 18px; }
.about-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  padding-bottom: 4px;
  font-size: 11px;
  letter-spacing: 0.08em;
  border-bottom: 1px solid rgba(6, 27, 22, 0.28);
  transition: color 0.3s ease, border-color 0.3s ease;
}
.about-link:hover { color: #8f6f21; border-color: #8f6f21; }
.about-link i { font-style: normal; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; border-top: 1px solid rgba(6, 27, 22, 0.2); }
.about-stats > div { display: flex; align-items: baseline; gap: 8px; padding: 18px 0; border-bottom: 1px solid rgba(6, 27, 22, 0.14); }
.about-stats b { font-family: var(--latin); font-size: 33px; font-weight: 400; line-height: 1; }
.about-stats b span { font-family: var(--sans); font-size: 11px; color: #8f6f21; }
.about-stats > div > span { color: rgba(6, 27, 22, 0.46); font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.04em; }
.about-partners {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 72px;
  padding: 20px 0;
  border-top: 1px solid rgba(6, 27, 22, 0.18);
  border-bottom: 1px solid rgba(6, 27, 22, 0.18);
}
.about-partners > span { flex-shrink: 0; color: rgba(6, 27, 22, 0.4); font-family: var(--mono); font-size: 7.5px; letter-spacing: 0.24em; }
.about-partners > div { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.about-partners b { font-weight: 400; color: rgba(6, 27, 22, 0.72); font-size: 10.5px; letter-spacing: 0.04em; }
.about-vision { display: flex; align-items: center; gap: 26px; margin-top: 56px; }
.about-vision > span { flex-shrink: 0; color: rgba(6, 27, 22, 0.4); font-family: var(--mono); font-size: 7.5px; letter-spacing: 0.24em; }
.about-vision p { font-family: var(--serif); font-size: clamp(20px, 2.4vw, 32px); line-height: 1.5; letter-spacing: -0.02em; }
.about-vision em { margin-left: auto; flex-shrink: 0; color: #8f6f21; font-size: 10px; font-style: normal; letter-spacing: 0.1em; }

/* ---------- contact ---------- */

.contact { position: relative; background: var(--ink); padding-top: clamp(96px, 12vw, 156px); overflow: hidden; }
.contact::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -40%;
  width: 120%;
  height: 80%;
  transform: translateX(-50%) perspective(600px) rotateX(64deg);
  background:
    linear-gradient(rgba(111, 191, 159, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 191, 159, 0.14) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 50% 60% at 50% 20%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 50% 60% at 50% 20%, #000, transparent 72%);
  opacity: 0.5;
  pointer-events: none;
}
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr); gap: 90px; align-items: start; }
.contact-title { font-family: var(--serif); font-size: clamp(42px, 5.8vw, 84px); font-weight: 400; line-height: 1.16; letter-spacing: -0.05em; }
.contact-title span {
  background: linear-gradient(180deg, #f7e8c8, #c8a02c 62%, #9c7845);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.contact-lead { margin-top: 28px; color: var(--muted); font-size: 12.5px; line-height: 2; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 34px; }
.contact-mail { color: var(--muted); font-size: 11px; letter-spacing: 0.03em; border-bottom: 1px solid var(--line-2); padding-bottom: 3px; transition: color 0.3s ease, border-color 0.3s ease; }
.contact-mail:hover { color: var(--gold-hi); border-color: var(--gold); }
.contact-card {
  position: relative;
  padding: 6px 26px 22px;
  border: 1px solid var(--line-2);
  background: linear-gradient(160deg, rgba(244, 239, 230, 0.06), rgba(244, 239, 230, 0.01));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.contact-card::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -1px;
  width: 46px;
  height: 1px;
  background: var(--gold);
}
.contact-row { display: grid; grid-template-columns: 84px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-row > span { padding-top: 3px; color: var(--muted-2); font-family: var(--mono); font-size: 8px; letter-spacing: 0.2em; }
.contact-row p { color: rgba(244, 239, 230, 0.84); font-size: 13px; line-height: 1.8; }
.contact-row a { display: block; transition: color 0.3s ease; }
.contact-row a + a { color: var(--muted); margin-top: 2px; }
.contact-row a:hover { color: var(--gold-hi); }
.contact-foot { padding-top: 20px; }
.contact-foot span { color: var(--muted-2); font-family: var(--mono); font-size: 8px; letter-spacing: 0.2em; }
.contact-foot p { margin-top: 6px; color: var(--muted); font-size: 11px; line-height: 1.8; }

/* ---------- footer ---------- */

.footer { position: relative; overflow: hidden; padding-top: 84px; background: #020b09; border-top: 1px solid var(--line); }
.footer-word {
  position: absolute;
  left: 50%;
  bottom: 38px;
  transform: translateX(-50%);
  width: 112%;
  text-align: center;
  font-family: var(--latin);
  font-size: clamp(90px, 17vw, 276px);
  line-height: 0.65;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 239, 230, 0.1);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.footer-main { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr); gap: 70px; padding-bottom: 88px; }
.footer-brand p { margin-top: 24px; color: var(--muted-2); font-size: 11px; line-height: 1.9; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-links > div { display: flex; flex-direction: column; gap: 9px; }
.footer-links b { margin-bottom: 8px; color: rgba(244, 239, 230, 0.76); font-family: var(--mono); font-size: 8.5px; font-weight: 500; letter-spacing: 0.2em; }
.footer-links a { color: var(--muted-2); font-size: 11px; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--gold-hi); }
.footer-bottom { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0 22px; border-top: 1px solid rgba(244, 239, 230, 0.07); }
.footer-bottom p, .footer-bottom a { color: #4d514b; font-size: 9px; letter-spacing: 0.05em; }
.footer-bottom a:hover { color: var(--muted); }

/* =========================================================
   INNER PAGE (zhiji product page)
   ========================================================= */

.subhero {
  position: relative;
  min-height: 88svh;
  display: flex;
  align-items: center;
  padding: 150px 0 96px;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}
.subhero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 60px;
  align-items: center;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 38px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  transition: color 0.3s ease;
}
.back-link span { color: var(--gold); font-size: 13px; }
.back-link:hover { color: var(--gold-hi); }
.page-title { font-family: var(--serif); font-size: clamp(38px, 4.2vw, 66px); font-weight: 400; line-height: 1.22; letter-spacing: -0.045em; }
.page-title .gold { background: linear-gradient(180deg, #f7e8c8, #d0af75 58%, #9d7944); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.page-title em { font-family: var(--latin); font-style: italic; color: var(--gold-hi); font-weight: 400; }
.page-title .claim { display: block; margin-top: 20px; font-size: 0.46em; line-height: 1.55; letter-spacing: -0.005em; color: rgba(244, 239, 230, 0.84); }
.page-title .claim strong { color: var(--gold-hi); font-weight: 400; }
.page-lead { max-width: 560px; margin-top: 26px; color: var(--muted); font-size: 13px; line-height: 2; letter-spacing: 0.03em; }
.page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.page-meta { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 42px; padding-top: 20px; border-top: 1px solid var(--line); }
.page-meta > div { display: flex; flex-direction: column; gap: 4px; }
.page-meta b { font-family: var(--latin); font-size: 25px; font-weight: 400; line-height: 1; color: var(--gold-hi); }
.page-meta small { color: var(--muted-2); font-family: var(--mono); font-size: 8px; letter-spacing: 0.12em; }

.page-section { position: relative; padding: clamp(76px, 9vw, 124px) 0; border-top: 1px solid var(--line); }
.page-section.alt { background: rgba(15, 76, 58, 0.16); }
.page-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 0.38fr); gap: 50px; align-items: end; margin-bottom: 48px; }
.page-heading { font-family: var(--serif); font-size: clamp(32px, 4.2vw, 58px); font-weight: 400; line-height: 1.2; letter-spacing: -0.045em; }
.page-heading .gold { color: var(--gold-hi); }
.page-head-note { color: var(--muted); font-size: 11.5px; line-height: 1.9; }
.page-grid-2 { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 70px; align-items: start; }
.page-text p { color: var(--muted); font-size: 12.5px; line-height: 2.05; max-width: 520px; }
.page-text p + p { margin-top: 18px; }
.page-text strong { color: var(--cream); font-weight: 500; }
.page-list { border-top: 1px solid var(--line); }
.page-list li { display: grid; grid-template-columns: 36px 1fr; gap: 18px; padding: 17px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.8; }
.page-list li span { color: var(--gold); font-family: var(--latin); font-size: 12px; }

.entries-page { margin-top: 0; }
.p-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(86px, 11vw, 140px) 0;
  background:
    radial-gradient(ellipse 55% 70% at 22% 40%, rgba(200, 160, 44, 0.12), transparent 68%),
    radial-gradient(ellipse 50% 60% at 80% 50%, rgba(15, 76, 58, 0.5), transparent 70%),
    var(--ink-2);
  border-top: 1px solid var(--line);
}
.p-cta .cta-title { font-family: var(--serif); font-size: clamp(38px, 5.6vw, 80px); font-weight: 400; line-height: 1.16; letter-spacing: -0.05em; max-width: 920px; }
.p-cta .cta-title span { color: var(--gold-hi); }
.p-cta .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.p-cta .cta-note { margin-top: 20px; color: var(--muted-2); font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.08em; }

/* inner page content blocks */
.page-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.page-cards.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.partners-band {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.partners-band > span { flex-shrink: 0; color: var(--muted-2); font-family: var(--mono); font-size: 7.5px; letter-spacing: 0.24em; }
.partners-band > div { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.partners-band b { font-weight: 400; color: rgba(244, 239, 230, 0.72); font-size: 10.5px; letter-spacing: 0.04em; }
.page-card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(244, 239, 230, 0.04), rgba(244, 239, 230, 0.006));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 0.4s ease, background 0.4s ease;
}
.page-card:hover { border-color: rgba(200, 160, 44, 0.32); background: linear-gradient(160deg, rgba(200, 160, 44, 0.06), rgba(244, 239, 230, 0.008)); }
.page-card .card-num { color: var(--gold); font-family: var(--latin); font-size: 16px; }
.page-card h3 { margin-top: 28px; font-family: var(--serif); font-size: 23px; font-weight: 400; line-height: 1.35; letter-spacing: -0.02em; }
.page-card h3 em { color: var(--gold-hi); font-style: normal; }
.page-card p { margin-top: 12px; color: var(--muted); font-size: 10.5px; line-height: 1.85; }
.small-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.small-tags span { color: var(--muted-2); font-family: var(--mono); font-size: 7px; border: 1px solid var(--line); border-radius: 999px; padding: 4px 8px; }

.stat-band { display: flex; gap: 50px; flex-wrap: wrap; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat-band > div { display: flex; flex-direction: column; gap: 5px; }
.stat-band b { font-family: var(--latin); font-size: 38px; font-weight: 400; line-height: 1; color: var(--gold-hi); }
.stat-band b span { font-family: var(--sans); font-size: 12px; color: var(--gold); }
.stat-band small { color: var(--muted-2); font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.08em; }

.quote-block { max-width: 1000px; font-family: var(--serif); font-size: clamp(28px, 4vw, 54px); font-weight: 400; line-height: 1.36; letter-spacing: -0.04em; }
.quote-block em { font-style: normal; color: var(--gold-hi); }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.step { padding: 24px 22px 0 0; border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; padding-right: 0; }
.step span { color: var(--gold); font-family: var(--latin); font-size: 14px; }
.step b { display: block; margin-top: 16px; color: var(--cream); font-size: 12px; font-weight: 500; letter-spacing: 0.05em; }
.step p { margin-top: 8px; color: var(--muted); font-size: 10px; line-height: 1.8; }

.contact-panel {
  border: 1px solid var(--line-2);
  padding: 6px 26px 22px;
  background: linear-gradient(160deg, rgba(244, 239, 230, 0.06), rgba(244, 239, 230, 0.01));
}
.contact-panel .contact-row:last-of-type { border-bottom: 0; }

.page-visual {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
}
.page-visual .stage-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.page-visual .stage-glow { width: 72%; }
.page-visual .phone { width: 250px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1320px) {
  .hero-reticle { width: clamp(280px, 30vw, 400px); right: 24px; }
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr); }
}

@media (max-width: 1180px) {
  .hero-rail { display: none; }
  .hero-reticle { opacity: 0.7; }
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr); }
  .showcase-grid { gap: 40px; }
  .showcase-stage { min-height: 560px; }
  .about-grid { gap: 54px; }
}

@media (max-width: 1040px) {
  .nav { gap: 22px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-reticle { display: none; }
  .end-slide { grid-template-columns: 1fr; gap: 26px; }
  .end-demo { min-height: 320px; }
  .hero-title { font-size: clamp(66px, 12vw, 120px); }
  .hero-sub { max-width: 520px; }
  .modules { grid-template-columns: 1fr; }
  .module { min-height: 320px; }
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-stage { order: 2; min-height: 520px; }
  .showcase-word { top: auto; bottom: 42%; opacity: 0.6; }
  .geo-grid { grid-template-columns: 1fr; gap: 48px; }
  .geo-visual { justify-content: flex-start; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-main { grid-template-columns: 1fr; gap: 46px; }
  .subhero-grid { grid-template-columns: 1fr; gap: 40px; }
  .page-grid-2 { grid-template-columns: 1fr; gap: 34px; }
  .page-head { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 900px) {
  .wrap { width: min(calc(100% - 40px), var(--wrap)); }
  .header { padding-left: 20px; padding-right: 20px; }
  .burger { display: block; }
  .nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 22px;
    padding: 100px 28px 40px;
    background: rgba(4, 16, 13, 0.97);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.45s ease, visibility 0.45s ease, transform 0.45s var(--ease);
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav-link { font-family: var(--serif); font-size: 28px; letter-spacing: 0; color: var(--cream); gap: 12px; }
  .nav-link::after { display: none; }
  .nav-cta { margin-top: 12px; }
  .status-chip { display: none; }
  .hero { padding-top: 128px; padding-bottom: 108px; }
  .hero-frame { inset: 9px; }
  .hero-grid { width: min(calc(100% - 40px), var(--wrap)); }
  .hero-title { font-size: clamp(60px, 16vw, 96px); }
  .hero-sub { margin-top: 32px; }
  .hero-bottom { left: 20px; right: 20px; bottom: 22px; flex-wrap: wrap; gap: 14px; }
  .hero-stats { gap: 20px; }
  .hero-stats b { font-size: 20px; }
  .hero-stats > div > span { font-size: 6.5px; }
  .telemetry { display: none; }
  .scroll-cue { display: none; }
  .manifesto-grid { grid-template-columns: 1fr; gap: 24px; }
  .manifesto-spec { display: none; }
  .section-head { grid-template-columns: 1fr; gap: 22px; margin-bottom: 36px; }
  .module { padding: 24px; min-height: 300px; }
  .m-emblem { width: 104px; height: 104px; opacity: 0.55; right: 14px; top: 32px; }
  .m-body { padding-top: 58px; }
  .m-foot { display: block; }
  .m-link { margin-top: 16px; }
  .showcase-stage { min-height: 470px; }
  .phone { width: 230px; }
  .entries { grid-template-columns: 1fr; }
  .geo-stats { gap: 26px; }
  .about { border-radius: 26px 26px 0 0; margin-top: 10px; }
  .about-top { margin-bottom: 30px; }
  .about-partners { display: block; margin-top: 46px; }
  .about-partners > div { margin-top: 14px; }
  .about-vision { display: block; margin-top: 38px; }
  .about-vision p { margin-top: 12px; }
  .about-vision em { display: block; margin: 14px 0 0; }
  .contact-row { grid-template-columns: 76px 1fr; }
  .footer-word { bottom: 20px; }
  .subhero { min-height: auto; padding: 128px 0 72px; }
  .page-title { font-size: clamp(44px, 11vw, 70px); }
}

@media (max-width: 720px) {
  .ends-head { grid-template-columns: 1fr; gap: 16px; align-items: start; }
  .ends-tools { justify-content: flex-start; padding-bottom: 0; }
  .ends-count { text-align: left; min-width: 0; }
  .end-slide { padding: 22px; gap: 20px; }
  .end-demo { display: none; }
  .end-name { font-size: 26px; }
  .end-role { font-size: 12px; }
  .end-pain p { font-size: 15px; }
  .end-solve b { font-size: 12px; }
  .end-solve span { font-size: 11.5px; line-height: 1.7; }
  .end-solve li { grid-template-columns: 80px minmax(0, 1fr); gap: 10px; }
  .end-result { flex-basis: 100%; }
  .ends-dots button { width: 28px; }
  .ends-dots button[aria-selected="true"] { width: 52px; }
}

@media (max-width: 620px) {
  .section { padding: 78px 0; }
  .tag { font-size: 8px; letter-spacing: 0.24em; }
  .hero { min-height: auto; padding: 112px 0 104px; }
  .hero-title { font-size: clamp(54px, 17.5vw, 82px); line-height: 1; }
  .hero-title i { font-size: 0.9em; }
  .kicker { font-size: 7px; letter-spacing: 0.14em; gap: 8px; padding: 6px 10px; margin-bottom: 28px; }
  .hero-sub { font-size: 11.5px; max-width: 340px; line-height: 1.95; }
  .hero-actions { gap: 10px; }
  .btn { min-height: 44px; padding: 0 16px; font-size: 10.5px; }
  .hero-stats { gap: 10px; justify-content: space-between; width: 100%; }
  .hero-stats b { font-size: 18px; }
  .hero-stats > div { gap: 4px; }
  .hero-stats > div > span { font-size: 6px; }
  .ticker { padding: 12px 0; }
  .ticker-track { gap: 28px; }
  .ticker-track span { font-size: 8px; }
  .manifesto-quote { font-size: 29px; }
  .manifesto-note { font-size: 11px; }
  .title { font-size: clamp(34px, 10vw, 48px); }
  .modules { gap: 10px; }
  .module { padding: 20px; min-height: 288px; }
  .m-body { padding-top: 50px; }
  .m-body h3 { font-size: 25px; }
  .m-body p { font-size: 11px; }
  .m-emblem { width: 86px; height: 86px; }
  .m-tags span { font-size: 7px; }
  .showcase-stage { min-height: 430px; }
  .phone { width: 208px; transform: perspective(1200px) rotateY(-10deg) rotateX(4deg); }
  .phone-screen h4 { font-size: 22px; }
  .look-img { width: 80px; height: 108px; }
  .stage-chip { transform: scale(0.92); }
  .chip-a { right: -2%; top: 14%; }
  .chip-b { left: -2%; bottom: 13%; }
  .chip-c { display: none; }
  .product-title { font-size: clamp(56px, 16vw, 78px); }
  .product-claim { font-size: 20px; }
  .product-desc { font-size: 11.5px; }
  .spec-row { grid-template-columns: 24px 72px 1fr; gap: 9px; }
  .spec-row b { font-size: 11px; }
  .spec-row p { font-size: 10px; }
  .product-actions { flex-direction: column; align-items: stretch; }
  .product-actions .btn { width: 100%; }
  .geo-stats b { font-size: 29px; }
  .orbit { width: min(88vw, 350px); }
  .about-title { font-size: clamp(31px, 9.2vw, 44px); }
  .about-title span { display: block; }
  .about-stats { gap: 0 16px; }
  .about-stats b { font-size: 28px; }
  .about-partners b { font-size: 9px; }
  .contact-title { font-size: clamp(38px, 11.5vw, 56px); }
  .contact-card { padding: 4px 18px 18px; }
  .contact-row { grid-template-columns: 70px 1fr; gap: 10px; }
  .contact-row p { font-size: 12px; }
  .footer { padding-top: 58px; }
  .footer-main { padding-bottom: 58px; }
  .footer-links { gap: 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
  .cursor { display: none; }
  .p-cta .cta-title { font-size: clamp(32px, 10vw, 48px); }
}
