/* =========================================================
   Cayla 报单系统 · Order OS
   Direction: night operations / signal console
   ========================================================= */

:root {
  --black: #080b09;
  --black-2: #0c120e;
  --black-3: #121a14;
  --bone: #f1eee3;
  --bone-2: #e7e2d3;
  --accent: #7cc7ff;
  --accent-rgb: 124, 199, 255;
  --orange: #ff6b3d;
  --muted-dark: #93a097;
  --muted-light: #5f6a62;
  --line-dark: rgba(241, 238, 227, .14);
  --line-light: #d2ccbb;

  --rail: 56px;
  --bar: 64px;
  --max: 1240px;
  --pad: clamp(20px, 4.2vw, 54px);

  --display: "DIN Alternate", "Bahnschrift", "Arial Narrow", "Helvetica Neue", sans-serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", "Cascadia Mono", "Menlo", "Consolas", monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding-left: var(--rail);
  color: var(--bone);
  background: var(--black);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .032;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

body.locked { overflow: hidden; }

::selection { color: var(--black); background: var(--accent); }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
svg { display: block; }

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

main { padding-top: var(--bar); }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--pad) * 2);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}
.icon.solid { fill: currentColor; stroke: none; }

.mono {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 10001;
  padding: 10px 14px;
  color: var(--black);
  background: var(--accent);
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .03em;
  line-height: 1;
  white-space: nowrap;
  transition: background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease);
}
.btn .icon { font-size: 15px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-lime { color: var(--black); background: var(--accent); border-color: var(--accent); }
.btn-lime:hover { background: var(--bone); border-color: var(--bone); }

.btn-ghost { color: var(--bone); background: transparent; border-color: rgba(241, 238, 227, .26); }
.btn-ghost:hover { color: var(--black); background: var(--accent); border-color: var(--accent); }

.btn-black { color: var(--accent); background: var(--black); border-color: var(--black); }
.btn-black:hover { color: var(--black); background: var(--bone); border-color: var(--bone); }

.btn-sm { height: 36px; padding: 0 13px; font-size: 10.5px; }
.btn-sm .icon { font-size: 14px; }
.btn-lg { height: 52px; padding: 0 22px; font-size: 12.5px; }
.btn-lg .icon { font-size: 17px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  font-size: 11px;
  letter-spacing: .03em;
  transition: color .2s, gap .2s;
}
.text-link .icon { font-size: 13px; }
.text-link:hover { gap: 12px; }
.statement .text-link:hover,
.download .text-link:hover { color: var(--orange); }

/* ---------- Rail ---------- */

.rail {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 90;
  display: flex;
  width: var(--rail);
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  background: var(--black);
  border-right: 1px solid var(--line-dark);
}
.rail-mark { width: 9px; height: 9px; background: var(--accent); }
.rail-text {
  color: #7e8a81;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .3em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
}
.rail-index { color: #3f4a42; font-family: var(--mono); font-size: 8px; letter-spacing: .08em; }

/* ---------- Topbar ---------- */

.topbar {
  position: fixed;
  top: 0;
  left: var(--rail);
  right: 0;
  z-index: 80;
  height: var(--bar);
  background: rgba(8, 11, 9, .8);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}
.topbar.scrolled { background: rgba(8, 11, 9, .94); }

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  height: 100%;
  max-width: calc(var(--max) + var(--pad) * 2);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-mark {
  display: flex;
  width: 27px;
  height: 27px;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 6px;
  background: var(--accent);
  transition: background .2s;
}
.brand-mark i { display: block; height: 2px; background: var(--black); }
.brand-mark i:nth-child(1) { width: 100%; }
.brand-mark i:nth-child(2) { width: 72%; }
.brand-mark i:nth-child(3) { width: 45%; }
.brand:hover .brand-mark { background: var(--bone); }

.brand-name {
  display: flex;
  flex-direction: column;
  color: var(--bone);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .17em;
}
.brand-name span {
  margin-top: 4px;
  color: #778279;
  font-family: var(--mono);
  font-size: 6.5px;
  font-weight: 400;
  letter-spacing: .19em;
}

.nav { display: flex; align-items: center; gap: clamp(16px, 2.1vw, 30px); }
.nav a {
  position: relative;
  color: rgba(241, 238, 227, .55);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .06em;
  transition: color .2s;
}
.nav a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -11px;
  width: 4px;
  height: 4px;
  background: var(--accent);
  opacity: 0;
  transform: translateY(-50%) scale(.4);
  transition: opacity .2s, transform .2s;
}
.nav a:hover,
.nav a.active { color: var(--bone); }
.nav a.active::before { opacity: 1; transform: translateY(-50%) scale(1); }

.top-actions { display: flex; align-items: center; gap: 10px; }
.sys {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 8px;
  color: #7e8a81;
  border: 1px solid var(--line-dark);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .1em;
}
.sys i { width: 5px; height: 5px; background: var(--accent); animation: blink 2.4s infinite; }
@keyframes blink { 50% { opacity: .3; } }

.menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--bone);
  border: 1px solid var(--line-dark);
}
.menu-btn .icon { font-size: 19px; }
.menu-btn .icon-close { display: none; }
body.menu-open .menu-btn .icon-menu { display: none; }
body.menu-open .menu-btn .icon-close { display: block; }

/* ---------- Mobile nav ---------- */

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 75;
  display: flex;
  flex-direction: column;
  padding: calc(var(--bar) + 24px) var(--pad) 30px;
  background: var(--black);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  overflow-y: auto;
}
body.menu-open .mobile-nav { opacity: 1; visibility: visible; transform: none; }
.mobile-nav nav { display: flex; flex-direction: column; border-top: 1px solid var(--line-dark); }
.mobile-nav nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 2px;
  border-bottom: 1px solid var(--line-dark);
  color: var(--bone);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -.04em;
}
.mobile-nav nav a span { color: var(--accent); font-family: var(--mono); font-size: 8px; font-weight: 400; letter-spacing: .08em; }
.mobile-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: auto; padding-top: 28px; }
.mobile-foot .mono { color: var(--muted-dark); }

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

.hero {
  position: relative;
  display: flex;
  min-height: calc(100svh - var(--bar));
  flex-direction: column;
  justify-content: center;
  padding: clamp(44px, 6.4vw, 84px) 0 26px;
  background: var(--black);
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(241, 238, 227, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(241, 238, 227, .04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .5) 62%, transparent 95%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .5) 62%, transparent 95%);
}
.hero-glow {
  position: absolute;
  top: var(--my, 34%);
  left: var(--mx, 74%);
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), .18), rgba(var(--accent-rgb), 0) 66%);
  filter: blur(20px);
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: top .4s ease-out, left .4s ease-out;
}
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 36%;
  background: linear-gradient(to left, rgba(var(--accent-rgb), .035), transparent);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(38px, 5.5vw, 74px);
}

.eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  color: #91a096;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .14em;
  line-height: 1.6;
}
.eyebrow .dot { width: 6px; height: 6px; background: var(--accent); }
.eyebrow .sep { color: #465149; }

.hero h1 {
  margin: 22px 0 26px;
  color: var(--bone);
  font-family: var(--sans);
  font-size: clamp(54px, 7.2vw, 104px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.065em;
}
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .03em; }
.hero h1 .line > span {
  display: block;
  transform: translateY(112%);
  animation: rise .95s var(--ease) forwards;
}
.hero h1 .line:nth-child(2) > span { animation-delay: .11s; }
.hero h1 em { color: var(--accent); font-style: normal; }
@keyframes rise { to { transform: translateY(0); } }

.hero-sub {
  max-width: 520px;
  color: rgba(241, 238, 227, .6);
  font-size: 15.5px;
  line-height: 1.9;
}
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 28px;
  color: #818d84;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .08em;
}
.hero-meta > span { display: inline-flex; align-items: center; gap: 4px; }
.hero-meta > span:not(:last-child)::after { content: "/"; margin: 0 10px; color: #3d4840; }
.hero-meta b { color: var(--bone); font-weight: 500; }
.hero-meta-note { color: var(--accent); }

.hero-visual { position: relative; }

.console {
  position: relative;
  padding: 17px 17px 13px;
  background: #0d140f;
  border: 1px solid rgba(241, 238, 227, .22);
  box-shadow: 0 40px 100px -42px #000, inset 0 1px 0 rgba(241, 238, 227, .04);
}
.console::before,
.console::after { content: ""; position: absolute; width: 12px; height: 12px; pointer-events: none; }
.console::before { top: -1px; left: -1px; border-top: 2px solid var(--accent); border-left: 2px solid var(--accent); }
.console::after { right: -1px; bottom: -1px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); }

.console-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--line-dark); }
.console-head .mono { color: #9aa69c; font-size: 8.5px; letter-spacing: .16em; }
.live { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); font-family: var(--mono); font-size: 7.5px; letter-spacing: .12em; }
.live i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .5); animation: pulse 2.2s infinite; }
@keyframes pulse {
  70% { box-shadow: 0 0 0 6px rgba(var(--accent-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); }
}

.console-body { position: relative; padding: 14px 0 2px 0; }
.console-line { position: absolute; top: 24px; bottom: 30px; left: 13px; width: 1px; background: rgba(241, 238, 227, .13); overflow: hidden; }
.console-line i {
  position: absolute;
  top: 0;
  left: -1px;
  width: 3px;
  height: 54px;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
  animation: signal 4.6s linear infinite;
}
@keyframes signal {
  0% { top: -54px; }
  100% { top: 100%; }
}

.node { position: relative; padding: 0 0 15px 38px; }
.node:last-child { padding-bottom: 2px; }
.node-dot {
  position: absolute;
  top: 6px;
  left: 9px;
  width: 9px;
  height: 9px;
  background: var(--black);
  border: 1px solid var(--accent);
}
.node:nth-child(2) .node-dot { background: var(--accent); }
.node-top { display: flex; align-items: center; gap: 8px; }
.node-index { color: #59655c; font-family: var(--mono); font-size: 7.5px; letter-spacing: .06em; }
.node-status { color: var(--accent); font-family: var(--mono); font-size: 6.5px; letter-spacing: .12em; }
.node-status.wait { color: var(--orange); }
.node strong { display: block; margin-top: 2px; color: var(--bone); font-size: 13.5px; font-weight: 600; letter-spacing: -.01em; }
.node > span:last-child { display: block; color: #8b978e; font-size: 9px; line-height: 1.5; }

.console-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--line-dark); }
.console-foot .mono { color: #6a766d; font-size: 7px; letter-spacing: .1em; }

.console-toast {
  position: absolute;
  right: -18px;
  bottom: -18px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  color: var(--black);
  background: var(--accent);
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
  transform: rotate(-2deg);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, .25);
  animation: float 5s ease-in-out infinite;
}
.console-toast .icon { font-size: 12px; }
.console-toast b { font-family: var(--display); font-size: 12px; }
@keyframes float { 50% { transform: translateY(-5px) rotate(-2deg); } }

.hero-bottom {
  position: absolute;
  right: 0;
  bottom: 22px;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 0;
  padding-top: 12px;
  border-top: 1px solid var(--line-dark);
}
.hero-bottom .mono { color: #5c675e; font-size: 7.5px; letter-spacing: .14em; white-space: nowrap; }
.hero-bottom-line { flex: 1; height: 1px; background: var(--line-dark); }

/* ---------- Ticker ---------- */

.ticker {
  position: relative;
  z-index: 3;
  padding: 12px 0;
  color: var(--black);
  background: var(--accent);
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  overflow: hidden;
}
.ticker-track { display: flex; width: max-content; align-items: center; animation: marquee 44s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.ticker-track i { margin: 0 16px; font-style: normal; font-size: 10px; opacity: .65; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section scaffolding ---------- */

.section { position: relative; padding: clamp(76px, 9.5vw, 128px) 0; }
.statement,
.workflow,
.contact,
.faq {
  background: var(--bone);
  color: var(--black);
  --line: var(--line-light);
  --muted: var(--muted-light);
}
.capabilities,
.platforms {
  background: var(--black);
  color: var(--bone);
  --line: var(--line-dark);
  --muted: var(--muted-dark);
}

.section-head {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 270px;
  align-items: start;
  gap: 28px;
  padding-top: 20px;
  margin-bottom: clamp(36px, 4.6vw, 56px);
  border-top: 1px solid var(--line);
}
.sec-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-top: 3px;
  color: var(--muted);
  font-size: 8.5px;
  letter-spacing: .13em;
}
.sec-tag::before { content: ""; width: 6px; height: 6px; background: var(--accent); flex: 0 0 auto; }
.section-head h2 {
  margin-top: 12px;
  color: inherit;
  font-family: var(--sans);
  font-size: clamp(34px, 4.6vw, 62px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.055em;
}
.sec-note { padding-top: 10px; color: var(--muted); font-size: 11.5px; line-height: 1.8; text-align: right; }
.nowrap { white-space: nowrap; }

/* ---------- Statement ---------- */

.statement-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(38px, 7vw, 96px);
}
.statement-copy h2 {
  margin: 16px 0 26px;
  font-size: clamp(42px, 5.8vw, 78px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -.06em;
}
.statement-copy mark {
  padding: 0 .08em;
  color: var(--black);
  background: var(--accent);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.statement-copy .lead { color: var(--black); font-size: 19px; line-height: 1.8; }
.statement-copy p + p { margin-top: 16px; color: var(--muted-light); font-size: 13.5px; line-height: 1.95; }
.statement-copy blockquote {
  margin-top: 28px;
  padding: 18px 20px;
  color: var(--black);
  background: var(--bone-2);
  border-left: 3px solid var(--black);
  font-size: 13.5px;
  line-height: 1.85;
}

.stats { align-self: center; border-top: 1px solid var(--black); }
.stat {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-light);
}
.stat .num { color: var(--black); font-family: var(--display); font-size: 52px; font-weight: 700; line-height: .9; letter-spacing: -.03em; }
.stat strong { display: block; color: var(--black); font-size: 14px; font-weight: 600; }
.stat p { margin-top: 4px; color: var(--muted-light); font-size: 10.5px; line-height: 1.7; }
.stat-note { padding-top: 18px; color: var(--muted-light); font-size: 7.5px; letter-spacing: .1em; }

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

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(250px, auto);
  gap: 12px;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: #0b110d;
  border: 1px solid var(--line);
  transition: background .25s, border-color .25s, transform .25s var(--ease);
  overflow: hidden;
}
.card:hover { background: #0f1711; border-color: rgba(var(--accent-rgb), .5); transform: translateY(-3px); }
.card-a { grid-column: span 6; }
.card-b, .card-c { grid-column: span 3; }
.card-d, .card-e, .card-f { grid-column: span 4; }

.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.card-no { color: #5d6960; font-size: 8px; }
.card-icon { display: grid; place-items: center; width: 30px; height: 30px; color: var(--accent); border: 1px solid var(--line); font-size: 16px; }
.card h3 { margin-top: 16px; color: var(--bone); font-size: 21px; font-weight: 700; line-height: 1.3; letter-spacing: -.03em; }
.card p { margin-top: 7px; color: #8e9a91; font-size: 11.5px; line-height: 1.8; }

.tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; padding-top: 16px; }
.tags li { padding: 2px 6px; border: 1px solid var(--line); color: #93a097; font-size: 8px; line-height: 1.7; white-space: nowrap; }

.card-a-body { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 18px; margin-top: 4px; flex: 1; }
.card-text h3 { margin-top: 12px; font-size: 29px; }
.card-text p { font-size: 12px; }
.card-a .tags { padding-top: 20px; }

.mini-link { display: flex; flex-direction: column; height: 100%; padding: 14px; background: var(--black-2); border: 1px solid var(--line); }
.mini-link-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mini-link-head .mono { color: #6f7b72; font-size: 7px; }
.chip {
  display: inline-block;
  padding: 2px 6px;
  color: var(--bone);
  border: 1px solid var(--line);
  font-style: normal;
  font-size: 7.5px;
  line-height: 1.7;
  letter-spacing: .04em;
  white-space: nowrap;
}
.chip-lime { color: var(--black); background: var(--accent); border-color: var(--accent); }
.mini-url { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; padding: 9px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 9px; color: #9aa69c; }
.mini-url b { color: var(--accent); font-weight: 500; }
.mini-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 10px; }
.mini-chips i { padding: 2px 5px; border: 1px solid var(--line); color: #8e9a91; font-style: normal; font-size: 7.5px; }
.mini-qr {
  width: 58px;
  height: 58px;
  margin-top: auto;
  margin-left: auto;
  background-image: radial-gradient(var(--accent) 1.1px, transparent 1.2px);
  background-size: 7px 7px;
  opacity: .58;
}
.mini-link-foot { margin-top: 8px; color: #5d6960; font-size: 6.5px; letter-spacing: .08em; }

.mini-rows { margin-top: 12px; border-top: 1px solid var(--line); }
.mini-row { display: grid; grid-template-columns: .75fr 1.4fr .7fr; gap: 6px; align-items: center; padding: 7px 0; border-bottom: 1px solid rgba(241, 238, 227, .08); color: #6f7b72; font-family: var(--mono); font-size: 7.5px; }
.mini-row b { overflow: hidden; color: #c9d1c8; font-family: var(--sans); font-size: 9px; font-weight: 400; white-space: nowrap; text-overflow: ellipsis; }
.mini-row em { color: var(--accent); font-style: normal; font-size: 7px; text-align: right; }
.mini-row em.wait { color: var(--orange); }

.mini-push { display: flex; align-items: center; gap: 7px; margin-top: 14px; padding: 11px; border: 1px solid var(--line); background: var(--black-2); }
.push-box { display: grid; place-items: center; min-width: 30px; height: 26px; padding: 0 7px; color: #c9d1c8; border: 1px solid var(--line); font-size: 8.5px; }
.push-line { position: relative; display: flex; flex: 1; align-items: center; gap: 3px; color: var(--accent); }
.push-line i { flex: 1; height: 1px; background: var(--accent); opacity: .55; }
.push-line .icon { font-size: 11px; }
.push-ok { display: inline-flex; align-items: center; gap: 3px; margin-left: auto; color: var(--accent); font-family: var(--mono); font-size: 6.5px; letter-spacing: .08em; }
.push-ok .icon { font-size: 9px; }

.mini-barcode {
  display: flex;
  align-items: center;
  height: 64px;
  margin-top: 14px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  background-color: var(--black-2);
  background-image: repeating-linear-gradient(90deg, rgba(241, 238, 227, .5) 0 2px, transparent 2px 5px);
  background-size: 100% 26px;
  background-position: left center;
  background-repeat: no-repeat;
}
.mini-barcode i { display: none; }
.mini-barcode b { margin-left: auto; padding: 3px 0 3px 8px; color: var(--accent); background: #0b110d; font-family: var(--mono); font-size: 6.5px; letter-spacing: .08em; }

.mini-ring { display: grid; place-items: center; width: 84px; height: 84px; margin-top: 14px; border-radius: 50%; background: conic-gradient(var(--accent) 86%, rgba(241, 238, 227, .12) 0); }
.mini-ring > div { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: #0b110d; }
.mini-ring b { color: var(--accent); font-family: var(--display); font-size: 18px; line-height: 1; }
.mini-ring span { color: #6d796f; font-size: 6.5px; }

.mini-bars { display: flex; align-items: flex-end; gap: 5px; height: 50px; margin-top: 14px; padding: 8px 10px; border: 1px solid var(--line); background: var(--black-2); }
.mini-bars i { flex: 1; height: var(--h); background: rgba(241, 238, 227, .2); }
.mini-bars i:last-child { background: var(--accent); }

/* ---------- Workflow ---------- */

.flow-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
  margin-top: 16px;
}
.flow-steps::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(8, 11, 9, .28);
}
.flow-steps::after {
  content: "";
  position: absolute;
  top: 13px;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--accent);
  border: 1px solid var(--black);
  animation: travel 7s linear infinite;
}
@keyframes travel { to { left: calc(100% - 9px); } }
.flow-step { position: relative; padding-top: 52px; }
.flow-step::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--bone);
  border: 1px solid var(--black);
}
.flow-step::after {
  content: "";
  position: absolute;
  top: 14px;
  left: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--black);
  transition: background .2s;
}
.flow-step:hover::after { background: var(--accent); }
.flow-no { display: block; color: rgba(8, 11, 9, .3); font-family: var(--display); font-size: 36px; font-weight: 700; line-height: 1; }
.flow-step .chip { margin-top: 10px; color: var(--black); border-color: rgba(8, 11, 9, .3); }
.flow-step h3 { margin-top: 7px; color: var(--black); font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.flow-step p { margin-top: 5px; color: var(--muted-light); font-size: 11px; line-height: 1.8; }

.flow-note { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 18px; margin-top: 44px; padding: 18px 20px; color: var(--bone); background: var(--black); }
.flow-note .mono { color: var(--accent); font-size: 7.5px; letter-spacing: .1em; }
.flow-note p { color: rgba(241, 238, 227, .62); font-size: 11px; line-height: 1.85; }

/* ---------- Platforms ---------- */

.platform-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; }
.platform {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 238px;
  padding: 22px;
  background: #0b110d;
  border: 1px solid var(--line);
  transition: border-color .25s, transform .25s var(--ease), background .25s;
  overflow: hidden;
}
.platform:hover { border-color: rgba(var(--accent-rgb), .42); transform: translateY(-3px); }
.p-web { grid-column: span 6; }
.p-h5 { grid-column: span 3; }
.p-mini { grid-column: span 3; }
.p-android { grid-column: span 12; min-height: 320px; padding: 30px; color: var(--bone); background: #0b110d; border-color: rgba(var(--accent-rgb), .45); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 30px; }
.p-android:hover { border-color: var(--accent); background: #0f1711; }
.p-android > * { position: relative; z-index: 1; }
.p-android::before {
  content: "ANDROID";
  position: absolute;
  top: 50%;
  left: 50%;
  color: transparent;
  font-family: var(--display);
  font-size: clamp(64px, 8vw, 108px);
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(var(--accent-rgb), .085);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.platform-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.platform-head .mono { color: #6d796f; font-size: 7px; }
.platform-head .icon { color: var(--accent); font-size: 20px; }
.platform h3 { margin-top: 22px; color: var(--bone); font-size: 21px; font-weight: 700; letter-spacing: -.03em; }
.platform p { margin-top: 6px; color: #8e9a91; font-size: 11px; line-height: 1.8; }
.platform-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 16px; }
.platform-foot .mono { color: #59655c; font-size: 6.5px; letter-spacing: .08em; }

.mini-h5 { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; padding: 10px; border: 1px solid var(--line); background: var(--black-2); }
.mini-h5 .mono { color: #6d796f; font-size: 6px; }
.mini-h5 i { display: block; height: 3px; background: rgba(241, 238, 227, .16); }
.mini-h5 i:nth-of-type(1) { width: 72%; background: var(--accent); }
.mini-h5 i:nth-of-type(2) { width: 52%; }
.mini-h5 i:nth-of-type(3) { width: 84%; }
.mini-h5 b { align-self: flex-start; margin-top: 3px; padding: 3px 7px; color: var(--black); background: var(--accent); font-family: var(--mono); font-size: 6px; font-weight: 500; letter-spacing: .06em; }
.mini-chat { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; margin-top: 14px; }
.mini-chat span { padding: 4px 7px; color: #9aa69c; border: 1px solid var(--line); font-size: 8px; line-height: 1.4; }
.mini-chat span:last-child { margin-left: 20px; color: var(--accent); border-color: rgba(var(--accent-rgb), .35); }

.mini-window { margin-top: 14px; border: 1px solid var(--line); background: var(--black-2); }
.mini-window-bar { display: flex; gap: 4px; align-items: center; height: 18px; padding: 0 7px; border-bottom: 1px solid var(--line); }
.mini-window-bar i { width: 4px; height: 4px; border-radius: 50%; background: #5b675e; }
.mini-window-bar i:first-child { background: var(--accent); }
.mini-window-body { display: flex; height: 64px; }
.mw-side { width: 27%; border-right: 1px solid var(--line); background: rgba(241, 238, 227, .03); }
.mw-main { display: flex; flex: 1; flex-direction: column; gap: 5px; padding: 9px; }
.mw-main i { display: block; height: 3px; background: rgba(241, 238, 227, .18); }
.mw-main i:nth-child(1) { width: 62%; background: var(--accent); }
.mw-main i:nth-child(3) { width: 80%; }
.mw-main i:nth-child(4) { width: 48%; }

.p-android .platform-head .mono { color: #6d796f; }
.p-android .platform-head .icon { color: var(--accent); font-size: 24px; }
.p-android h3 { margin-top: 22px; color: var(--bone); font-size: clamp(34px, 4vw, 46px); line-height: 1; letter-spacing: -.05em; }
.p-android p { max-width: 430px; margin-top: 10px; color: #8e9a91; font-size: 12px; }
.p-android-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.p-android-actions .mono { color: #7e8a81; font-size: 7.5px; }
.p-android-actions .btn-black { color: var(--black); background: var(--accent); border-color: var(--accent); }
.p-android-actions .btn-black:hover { background: var(--bone); border-color: var(--bone); }
.p-android-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 26px; padding-top: 14px; border-top: 1px solid var(--line); }
.p-android-meta span { position: relative; padding-left: 10px; color: #7e8a81; font-family: var(--mono); font-size: 7px; letter-spacing: .08em; }
.p-android-meta span::before { content: ""; position: absolute; top: 50%; left: 0; width: 4px; height: 4px; background: var(--accent); transform: translateY(-50%); }

.phone {
  position: relative;
  justify-self: end;
  width: 186px;
  height: 274px;
  padding: 12px;
  color: var(--bone);
  background: var(--black);
  border: 2px solid var(--black);
  border-radius: 22px;
  transform: rotate(4deg);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .3), 12px 12px 0 rgba(0, 0, 0, .3);
}
.phone-notch { position: absolute; top: 7px; left: 50%; width: 44px; height: 4px; background: #3a453d; border-radius: 3px; transform: translateX(-50%); }
.phone-screen { display: flex; height: 100%; flex-direction: column; padding: 18px 10px 10px; border-radius: 12px; background: #0e1510; border: 1px solid rgba(241, 238, 227, .12); }
.phone-screen .mono { color: var(--accent); font-size: 6px; }
.phone-screen strong { margin: 6px 0 12px; color: var(--bone); font-family: var(--display); font-size: 21px; font-weight: 700; line-height: 1; }
.phone-row { display: flex; align-items: center; gap: 5px; padding: 6px 0; border-top: 1px solid rgba(241, 238, 227, .1); color: #9aa69c; font-family: var(--mono); font-size: 6.5px; }
.phone-row i { width: 4px; height: 4px; background: var(--accent); }
.phone-row em { margin-left: auto; color: var(--accent); font-style: normal; font-size: 6px; }
.phone-row em.wait { color: var(--orange); }

/* ---------- Download ---------- */

.download {
  position: relative;
  padding: clamp(70px, 8.5vw, 108px) 0;
  color: var(--black);
  background: var(--accent);
  overflow: hidden;
  --line: rgba(8, 11, 9, .18);
  --muted: rgba(8, 11, 9, .55);
}
.download-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
  gap: clamp(40px, 6vw, 76px);
}
.download h2 {
  margin: 14px 0 18px;
  color: var(--black);
  font-size: clamp(42px, 5.8vw, 76px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.06em;
}
.download-copy > p { max-width: 520px; color: rgba(8, 11, 9, .68); font-size: 13px; line-height: 1.9; }
.download .sec-tag { color: rgba(8, 11, 9, .55); }
.download .sec-tag::before { background: var(--black); }

.download-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 26px 0;
  padding: 16px 0;
  border-top: 1px solid rgba(8, 11, 9, .25);
  border-bottom: 1px solid rgba(8, 11, 9, .25);
}
.download-meta dt { color: rgba(8, 11, 9, .5); font-family: var(--mono); font-size: 7.5px; letter-spacing: .1em; }
.download-meta dd { margin-top: 3px; color: var(--black); font-family: var(--display); font-size: 18px; line-height: 1.3; }
.download-meta small { color: rgba(8, 11, 9, .5); font-family: var(--mono); font-size: 7px; }
.download-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.download-note { margin-top: 16px; color: rgba(8, 11, 9, .52); font-size: 10px; line-height: 1.8; }
.sha { margin-top: 16px; }
.sha summary { color: rgba(8, 11, 9, .55); font-size: 9.5px; cursor: pointer; list-style: none; letter-spacing: .04em; }
.sha summary::-webkit-details-marker { display: none; }
.sha summary::before { content: "+ "; }
.sha[open] summary::before { content: "− "; }
.sha code { display: block; margin-top: 8px; padding: 9px 10px; color: rgba(8, 11, 9, .62); background: rgba(8, 11, 9, .06); border: 1px dashed rgba(8, 11, 9, .24); font-family: var(--mono); font-size: 8px; line-height: 1.7; word-break: break-all; }

.download-qr { justify-self: end; width: min(330px, 100%); }
.qr-card { padding: 16px; color: var(--bone); background: var(--black); box-shadow: 18px 18px 0 rgba(8, 11, 9, .12); }
.qr-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.qr-card-head .mono { color: var(--accent); font-size: 7px; letter-spacing: .13em; }
.qr-bolt { display: grid; place-items: center; width: 26px; height: 26px; color: var(--black); background: var(--accent); font-size: 15px; }
.qr-card .qr-zoom { display: block; width: 100%; margin-top: 12px; background: #fff; }
.qr-card img { width: 100%; height: auto; padding: 8px; background: #fff; }
.qr-card-foot { display: flex; flex-direction: column; gap: 3px; margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(241, 238, 227, .18); }
.qr-card-foot strong { color: var(--bone); font-size: 12px; font-weight: 600; }
.qr-card-foot span { color: rgba(241, 238, 227, .48); font-size: 6.5px; }
.qr-hint { margin-top: 12px; color: rgba(8, 11, 9, .5); font-size: 7.5px; text-align: right; }

.download-word {
  position: absolute;
  right: -14px;
  bottom: -86px;
  color: transparent;
  font-family: var(--display);
  font-size: clamp(180px, 25vw, 330px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.06em;
  -webkit-text-stroke: 1px rgba(8, 11, 9, .13);
  pointer-events: none;
  user-select: none;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  align-items: center;
  gap: clamp(40px, 7vw, 90px);
}
.contact h2 {
  margin: 14px 0 18px;
  color: var(--black);
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.06em;
}
.contact .lead { max-width: 620px; color: var(--black); font-size: 17px; line-height: 1.85; }
.contact-tags { margin-top: 22px; }
.contact-tags li { color: var(--muted-light); border-color: var(--line-light); font-size: 9.5px; }
.contact-note { display: flex; align-items: center; gap: 7px; margin-top: 28px; padding-top: 15px; border-top: 1px dashed var(--line-light); color: var(--black); font-size: 10.5px; }
.contact-note .icon { font-size: 14px; color: var(--black); }

.contact-qr { width: 100%; }
.qr-frame { position: relative; padding: 14px; background: var(--black); }
.qr-frame .qr-zoom { display: block; width: 100%; background: #fff; }
.qr-frame img { width: 100%; height: auto; padding: 8px; background: #fff; }
.corner { position: absolute; width: 16px; height: 16px; pointer-events: none; z-index: 2; }
.corner.tl { top: 4px; left: 4px; border-top: 2px solid var(--accent); border-left: 2px solid var(--accent); }
.corner.tr { top: 4px; right: 4px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); }
.corner.bl { bottom: 4px; left: 4px; border-bottom: 2px solid var(--accent); border-left: 2px solid var(--accent); }
.corner.br { bottom: 4px; right: 4px; border-bottom: 2px solid var(--accent); border-right: 2px solid var(--accent); }
.qr-frame-foot { display: flex; flex-direction: column; gap: 3px; margin-top: 12px; }
.qr-frame-foot strong { color: var(--black); font-size: 13px; font-weight: 600; }
.qr-frame-foot span { color: var(--muted-light); font-size: 7.5px; }

/* ---------- FAQ ---------- */

.faq { padding-bottom: clamp(80px, 10vw, 132px); }
.faq-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: start;
  gap: clamp(40px, 7vw, 88px);
}
.faq-head { position: sticky; top: calc(var(--bar) + 30px); }
.faq-head h2 {
  margin: 14px 0;
  color: var(--black);
  font-size: clamp(38px, 4.6vw, 62px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.06em;
}
.faq-head p { color: var(--muted-light); font-size: 11.5px; }
.faq-head .text-link { margin-top: 18px; color: var(--black); }

.faq-list { border-top: 1px solid var(--black); }
.faq details { border-bottom: 1px solid var(--line-light); }
.faq summary {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 26px;
  align-items: center;
  gap: 14px;
  padding: 20px 0;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-q { color: var(--black); font-size: 16px; font-weight: 500; line-height: 1.5; letter-spacing: -.01em; transition: transform .2s; }
.faq summary:hover .faq-q { transform: translateX(3px); }
.faq-no { color: var(--muted-light); font-size: 7.5px; }
.faq-plus { display: grid; place-items: center; width: 24px; height: 24px; color: var(--black); border: 1px solid rgba(8, 11, 9, .28); font-size: 12px; transition: background .2s, transform .25s var(--ease); }
.faq details[open] .faq-plus { background: var(--accent); border-color: var(--accent); transform: rotate(45deg); }
.faq-a { padding: 0 40px 20px 48px; color: var(--muted-light); font-size: 12px; line-height: 1.95; }

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

.footer { position: relative; padding-top: 64px; color: var(--bone); background: var(--black); overflow: hidden; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 38px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand p { margin-top: 16px; color: #7e8a81; font-size: 11.5px; line-height: 1.9; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-col .mono { margin-bottom: 4px; color: var(--accent); font-size: 7px; letter-spacing: .12em; }
.footer-col a { color: rgba(241, 238, 227, .6); font-size: 11px; line-height: 1.8; transition: color .2s, transform .2s; }
.footer-col a:hover { color: var(--bone); transform: translateX(2px); }

.footer-word {
  margin-top: 10px;
  color: transparent;
  font-family: var(--display);
  font-size: clamp(100px, 19vw, 270px);
  font-weight: 700;
  line-height: .72;
  letter-spacing: -.05em;
  text-align: center;
  -webkit-text-stroke: 1px rgba(241, 238, 227, .16);
  user-select: none;
  pointer-events: none;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 16px;
  padding-bottom: 22px;
  color: #5c675e;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .08em;
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(4, 7, 5, .96);
  backdrop-filter: blur(10px);
  animation: fade-in .2s ease;
}
.lightbox[hidden] { display: none; }
.lightbox figure { display: flex; max-width: 92vw; flex-direction: column; align-items: center; gap: 12px; }
.lightbox img { width: min(86vw, 600px); max-height: 78vh; padding: 10px; background: #fff; object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.lightbox figcaption { color: rgba(241, 238, 227, .6); font-family: var(--mono); font-size: 9px; text-align: center; }
.lightbox-close { position: fixed; top: 20px; right: 22px; display: grid; width: 40px; height: 40px; place-items: center; color: var(--accent); border: 1px solid rgba(var(--accent-rgb), .4); font-size: 20px; }
.lightbox-close:hover { background: var(--accent); color: var(--black); }
@keyframes fade-in { from { opacity: 0; } }

/* ---------- Reveal ---------- */

html.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--d, 0) * 70ms);
}
html.js .reveal.is-visible { opacity: 1; transform: none; }
.hero-copy .reveal:nth-child(1) { --d: 0; }
.hero-copy .reveal:nth-child(2) { --d: 1; }
.hero-copy .reveal:nth-child(3) { --d: 2; }
.hero-copy .reveal:nth-child(4) { --d: 3; }
.hero-visual.reveal { transition-delay: .28s; }

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

@media (max-width: 1260px) {
  .nav { gap: 18px; }
  .sys { display: none; }
}

@media (max-width: 1120px) {
  :root { --rail: 0px; }
  .rail { display: none; }
  .topbar { left: 0; }
  body { padding-left: 0; }
}

@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .hero h1 { font-size: clamp(52px, 7.6vw, 84px); }
}

@media (max-width: 960px) {
  .hero { min-height: 0; padding-top: 54px; }
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero-visual { width: min(540px, 100%); margin: 0 auto; }
  .hero h1 { font-size: clamp(50px, 10.5vw, 76px); }
  .hero-glow { left: 50%; top: 46%; }
  .hero-bottom { display: none; }

  .section-head { grid-template-columns: 150px minmax(0, 1fr) 220px; gap: 20px; }
  .statement-grid { grid-template-columns: 1fr; gap: 38px; }
  .stats { width: 100%; }

  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .card-a { grid-column: span 2; grid-row: auto; }
  .card-b, .card-c, .card-d, .card-e, .card-f { grid-column: span 1; }
  .card-a-body { grid-template-columns: 1fr 1fr; }

  .platform-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-web { grid-column: span 2; }
  .p-h5, .p-mini { grid-column: span 1; }
  .p-android { grid-column: span 2; }

  .download-grid { grid-template-columns: 1fr; gap: 38px; }
  .download-qr { justify-self: start; width: min(320px, 100%); }
  .qr-hint { text-align: left; }

  .contact-grid { grid-template-columns: 1fr; gap: 38px; }
  .contact-qr { width: min(350px, 100%); }

  .faq-grid { grid-template-columns: 1fr; gap: 30px; }
  .faq-head { position: static; }
}

@media (max-width: 760px) {
  .top-actions .btn { display: none; }
  .hero h1 { font-size: clamp(44px, 12vw, 64px); }
  .hero-sub { font-size: 14px; }
  .hero-meta { font-size: 8px; }
  .console-toast { right: -6px; bottom: -14px; }

  .section { padding: 70px 0; }
  .section-head { grid-template-columns: 1fr; gap: 10px; }
  .sec-note { text-align: left; }
  .section-head h2 { font-size: clamp(32px, 8.8vw, 44px); }
  .statement-copy h2 { font-size: clamp(38px, 10.8vw, 54px); }
  .statement-copy .lead { font-size: 16px; }

  .bento { grid-template-columns: 1fr; }
  .card-a, .card-b, .card-c, .card-d, .card-e, .card-f { grid-column: span 1; }
  .card-a-body { grid-template-columns: 1fr; }
  .card-text h3 { font-size: 25px; }
  .mini-link { margin-top: 4px; }

  .flow-steps { grid-template-columns: 1fr; gap: 0; }
  .flow-steps::before { top: 0; bottom: 0; left: 7px; width: 1px; height: auto; right: auto; }
  .flow-steps::after { top: 0; left: 3px; animation: travel-y 7s linear infinite; }
  @keyframes travel-y { to { top: calc(100% - 9px); } }
  .flow-step { padding: 0 0 26px 34px; }
  .flow-step::before { top: 2px; left: 0; }
  .flow-step::after { top: 6px; left: 4px; }
  .flow-no { font-size: 24px; }
  .flow-step h3 { font-size: 17px; }
  .flow-note { grid-template-columns: 1fr; gap: 6px; margin-top: 28px; }

  .platform-grid { grid-template-columns: 1fr; }
  .p-web, .p-h5, .p-mini, .p-android { grid-column: span 1; }
  .p-android { grid-template-columns: 1fr; padding: 24px; }
  .phone { justify-self: start; margin: 8px 0 0 6px; }
  .platform { min-height: 210px; }

  .download h2 { font-size: clamp(38px, 10.4vw, 54px); }
  .download-meta { gap: 10px; }
  .download-meta dd { font-size: 15px; }
  .download-word { font-size: 210px; bottom: -40px; }

  .contact h2 { font-size: clamp(34px, 9.6vw, 46px); }
  .contact .lead { font-size: 15px; }

  .faq summary { grid-template-columns: 28px minmax(0, 1fr) 24px; gap: 10px; padding: 17px 0; }
  .faq-q { font-size: 14.5px; }
  .faq-a { padding: 0 6px 18px 38px; }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 5px; }
  .footer-word { font-size: 32vw; }
}

@media (max-width: 520px) {
  .brand-name { font-size: 13px; }
  .brand-name span { font-size: 6px; }
  .topbar-inner { gap: 12px; }

  .hero { padding-top: 40px; }
  .hero h1 { font-size: clamp(40px, 12.6vw, 52px); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-meta > span:not(:last-child)::after { margin: 0 7px; }
  .hero-meta-note { display: none; }
  .console { padding: 14px 14px 11px; }
  .console-toast { display: none; }

  .stat { grid-template-columns: 74px minmax(0, 1fr); gap: 12px; }
  .stat .num { font-size: 42px; }

  .download-meta { grid-template-columns: 1fr 1fr; }
  .download-meta > div:last-child { grid-column: 1 / -1; }
  .download-actions { align-items: flex-start; flex-direction: column; gap: 14px; }
  .qr-card { padding: 12px; }

  .contact-tags li { font-size: 9px; }
  .footer-word { margin-top: 20px; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 38px; }
  .console-body { padding-top: 10px; }
  .node { padding-left: 32px; }
  .node strong { font-size: 12px; }
  .mini-row b { font-size: 8px; }
}

/* ---------- Reduced motion ---------- */

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