:root {
  color-scheme: dark;
  --canvas: #020812;
  --background: #041225;
  --surface: #081d35;
  --surface-strong: #0b294a;
  --surface-raised: #103456;
  --line: rgba(128, 170, 216, 0.18);
  --line-strong: #234a70;
  --action: #397cf0;
  --action-soft: #a8c9ff;
  --safe: #5ed6a0;
  --warning: #f2b766;
  --text: #f5f8fc;
  --text-secondary: #a4b5c7;
  --text-tertiary: #758ba2;
  --display: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  --body: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  --number: "DIN Alternate", "Avenir Next Condensed", sans-serif;
  --page-width: 1240px;
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 84% 18%, rgba(57, 124, 240, 0.09), transparent 28rem),
    linear-gradient(180deg, var(--canvas), var(--background) 42%, #020a14);
  content: "";
}

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

button,
input,
textarea {
  font: inherit;
}

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

a:focus-visible,
video:focus-visible {
  outline: 2px solid var(--action-soft);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 9px 14px;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--text);
  color: var(--canvas);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell,
.header-inner,
.footer-inner {
  width: min(calc(100% - 64px), var(--page-width));
  margin: 0 auto;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  background: linear-gradient(to bottom, rgba(1, 7, 15, 0.58), transparent);
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: 88px;
}

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

.brand img,
.footer-brand img {
  border: 1px solid rgba(168, 201, 255, 0.22);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 16px;
  letter-spacing: 0.08em;
}

.brand-copy small {
  margin-top: 5px;
  color: rgba(219, 232, 247, 0.58);
  font-family: var(--number);
  font-size: 9px;
  letter-spacing: 0.17em;
}

.site-nav {
  display: flex;
  gap: clamp(22px, 2.6vw, 38px);
  margin-left: auto;
  color: rgba(233, 241, 249, 0.72);
  font-size: 12px;
}

.site-nav a,
.header-action {
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.site-nav a:hover {
  color: white;
}

.header-action {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-left: 42px;
  padding: 9px 15px;
  border: 1px solid rgba(168, 201, 255, 0.38);
  border-radius: 999px;
  color: white;
  font-size: 11px;
  font-weight: 700;
}

.header-action:hover {
  border-color: var(--action-soft);
  background: rgba(57, 124, 240, 0.18);
}

.hero {
  position: relative;
  display: flex;
  min-height: max(760px, 100svh);
  align-items: center;
  overflow: hidden;
  background: #02070e;
}

.hero-media,
.hero-frame,
.hero-flow,
.hero-shade,
.hero-grid,
.hero-scan {
  position: absolute;
  inset: 0;
}

.hero-media {
  overflow: hidden;
}

.hero-frame {
  background-position: 52% center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 1;
  transform: scale(1.025);
  animation: hero-camera 22s ease-in-out infinite alternate;
}

.hero-frame-performance {
  background-image: url("./hero-performance-v2.webp");
}

.hero-flow {
  background:
    linear-gradient(104deg, transparent 38%, rgba(36, 139, 255, 0.12) 49%, transparent 60%),
    radial-gradient(circle at 67% 45%, rgba(57, 124, 240, 0.2), transparent 22rem);
  mix-blend-mode: screen;
  opacity: 0.7;
  transform: translateX(-12%);
  animation: hero-flow 9s ease-in-out infinite alternate;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(1, 6, 13, 0.97) 0%, rgba(2, 9, 18, 0.86) 38%, rgba(2, 8, 16, 0.3) 69%, rgba(1, 5, 11, 0.58) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.36), transparent 36%, rgba(0, 0, 0, 0.58));
}

.hero-grid {
  background-image:
    linear-gradient(rgba(148, 190, 233, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 190, 233, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(90deg, black, transparent 82%);
  mask-image: linear-gradient(90deg, black, transparent 82%);
}

.hero-scan {
  width: 1px;
  right: auto;
  left: 63%;
  background: linear-gradient(transparent, rgba(94, 214, 160, 0.72), transparent);
  box-shadow: 0 0 18px rgba(94, 214, 160, 0.32);
  opacity: 0.62;
  animation: scan-drift 7s ease-in-out infinite alternate;
}

.hero-inner {
  display: grid;
  position: relative;
  z-index: 3;
  width: min(calc(100% - 64px), var(--page-width));
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: clamp(48px, 7vw, 100px);
  align-items: end;
  margin: 74px auto 0;
  padding: 74px 0 96px;
}

.hero-copy {
  max-width: 780px;
  animation: reveal-up 900ms 120ms var(--ease) both;
}

.eyebrow,
.section-index {
  margin: 0;
  color: var(--action-soft);
  font-family: var(--number);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
}

.eyebrow span {
  width: 28px;
  height: 1px;
  background: var(--action-soft);
  box-shadow: 0 0 14px rgba(168, 201, 255, 0.75);
}

.hero h1 {
  max-width: 850px;
  margin: 28px 0 0;
  font-family: var(--display);
  font-size: clamp(54px, 6.2vw, 88px);
  font-weight: 760;
  letter-spacing: -0.07em;
  line-height: 1.03;
  text-shadow: 0 14px 50px rgba(0, 0, 0, 0.42);
}

.hero h1 em {
  display: block;
  margin-top: 8px;
  color: var(--action-soft);
  font-size: 0.68em;
  font-style: normal;
  letter-spacing: -0.055em;
}

.hero-lead {
  max-width: 680px;
  margin: 30px 0 0;
  color: rgba(218, 230, 242, 0.75);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
}

.primary-action {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  gap: 24px;
  padding: 0 9px 0 21px;
  border: 1px solid rgba(168, 201, 255, 0.38);
  border-radius: 999px;
  background: rgba(5, 20, 38, 0.72);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  color: white;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(14px);
  transition: transform 220ms var(--ease), border-color 220ms ease, background 220ms ease;
}

.primary-action i {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--action);
  box-shadow: 0 8px 22px rgba(57, 124, 240, 0.38);
  font-size: 10px;
  font-style: normal;
}

.primary-action:hover {
  transform: translateY(-2px);
  border-color: var(--action-soft);
  background: rgba(8, 29, 53, 0.9);
}

.text-action {
  padding: 9px 0;
  border-bottom: 1px solid rgba(168, 201, 255, 0.42);
  color: rgba(232, 240, 248, 0.78);
  font-size: 12px;
  transition: color 180ms ease, border-color 180ms ease;
}

.text-action:hover {
  border-color: var(--action-soft);
  color: white;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.hero-badges span {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid rgba(148, 187, 226, 0.17);
  border-radius: 999px;
  background: rgba(2, 10, 20, 0.46);
  color: rgba(200, 215, 230, 0.68);
  font-size: 10px;
  backdrop-filter: blur(10px);
}

.hero-badges i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--safe);
  box-shadow: 0 0 12px rgba(94, 214, 160, 0.7);
}

.live-evidence {
  overflow: hidden;
  border: 1px solid rgba(148, 187, 226, 0.2);
  border-radius: 22px;
  background: linear-gradient(155deg, rgba(10, 37, 65, 0.82), rgba(2, 12, 24, 0.86));
  box-shadow: 0 30px 76px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(22px);
  animation: reveal-up 900ms 260ms var(--ease) both;
}

.evidence-topline {
  display: flex;
  justify-content: space-between;
  padding: 17px 18px;
  border-bottom: 1px solid rgba(148, 187, 226, 0.13);
  color: var(--text-tertiary);
  font-family: var(--number);
  font-size: 8px;
  letter-spacing: 0.13em;
}

.live-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--safe);
}

.live-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 11px currentColor;
  animation: pulse 1.4s ease-in-out infinite;
}

.evidence-list {
  padding: 5px 18px;
}

.evidence-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid rgba(148, 187, 226, 0.11);
}

.evidence-row:last-child {
  border-bottom: 0;
}

.evidence-code {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(168, 201, 255, 0.2);
  border-radius: 9px;
  background: rgba(57, 124, 240, 0.11);
  color: var(--action-soft);
  font-family: var(--number);
  font-size: 10px;
  font-weight: 700;
}

.evidence-row div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.evidence-row small {
  color: var(--text-tertiary);
  font-size: 9px;
}

.evidence-row strong {
  margin-top: 3px;
  overflow: hidden;
  color: #d7e4f0;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.evidence-state {
  color: var(--action-soft);
  font-size: 9px;
}

.evidence-state.safe {
  color: var(--safe);
}

.decision-output {
  padding: 20px;
  border-top: 1px solid rgba(94, 214, 160, 0.16);
  background: rgba(13, 54, 59, 0.44);
}

.decision-output > span {
  color: var(--safe);
  font-family: var(--number);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.decision-output strong {
  display: block;
  margin-top: 10px;
  font-size: 14px;
}

.decision-output p {
  margin: 6px 0 0;
  color: #91aaa6;
  font-size: 10px;
  line-height: 1.55;
}

.decision-line {
  height: 3px;
  margin-top: 15px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(94, 214, 160, 0.1);
}

.decision-line i {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--safe), transparent);
  animation: decision-scan 2.8s ease-in-out infinite;
}

.hero-footnote {
  position: absolute;
  z-index: 4;
  bottom: 28px;
  left: max(32px, calc((100vw - var(--page-width)) / 2));
  display: flex;
  align-items: center;
  gap: 13px;
  color: rgba(190, 206, 223, 0.52);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.hero-footnote span {
  color: var(--action-soft);
  font-family: var(--number);
}

.hero-footnote p {
  margin: 0;
}

.scroll-cue {
  position: absolute;
  z-index: 4;
  right: max(32px, calc((100vw - var(--page-width)) / 2));
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(190, 206, 223, 0.5);
  font-family: var(--number);
  font-size: 8px;
  letter-spacing: 0.16em;
  writing-mode: vertical-rl;
}

.scroll-cue span {
  width: 1px;
  height: 28px;
  background: linear-gradient(var(--action-soft), transparent);
  animation: scroll-line 1.8s ease-in-out infinite;
}

.page-section {
  position: relative;
  padding: 130px 0;
  border-top: 1px solid var(--line);
}

.page-section::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(128, 170, 216, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(128, 170, 216, 0.024) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 30%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 30%, transparent);
}

.section-heading {
  display: grid;
  position: relative;
  grid-template-columns: 0.42fr 1.58fr;
  gap: 52px;
}

.section-heading h2,
.product-heading h2,
.demo h2,
.boundary h2,
.status h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 720;
  letter-spacing: -0.055em;
  line-height: 1.16;
}

.section-heading h2 span,
.boundary h2 span {
  color: var(--action-soft);
}

.section-heading > div > p {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.9;
}

.decision-loop {
  display: grid;
  position: relative;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 78px;
}

.decision-loop article {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #051426;
  transition: transform 260ms var(--ease), border-color 260ms ease, background 260ms ease;
}

.decision-loop article:hover {
  transform: translateY(-7px);
  border-color: rgba(168, 201, 255, 0.34);
  background: #071a30;
}

.loop-visual {
  position: relative;
  aspect-ratio: 4 / 2.65;
  margin: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.loop-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(2, 10, 21, 0.88));
  content: "";
  pointer-events: none;
}

.loop-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 700ms var(--ease), filter 300ms ease;
}

.decision-loop article:hover .loop-visual img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.055);
}

.loop-visual figcaption {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 15px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(220, 235, 250, 0.78);
  font-family: var(--number);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.loop-visual figcaption i {
  color: var(--safe);
  font-size: 10px;
  font-style: normal;
  text-shadow: 0 0 14px currentColor;
}

.loop-copy {
  padding: 23px 25px 25px;
}

.loop-kicker {
  margin: 0 !important;
  color: var(--action-soft) !important;
  font-family: var(--number);
  font-size: 9px !important;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.decision-loop h3 {
  margin: 12px 0 0;
  font-size: 23px;
  letter-spacing: -0.03em;
}

.loop-copy > p:not(.loop-kicker) {
  margin: 14px 0 0;
  color: var(--text-tertiary);
  font-size: 13px;
  line-height: 1.75;
}

.loop-copy > small {
  display: block;
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--text-secondary);
  font-size: 10px;
}

.loop-path {
  position: absolute;
  z-index: 3;
  right: 11%;
  bottom: -34px;
  left: 11%;
  height: 1px;
  overflow: hidden;
  background: rgba(57, 124, 240, 0.14);
}

.loop-path span {
  display: block;
  width: 24%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--action-soft), transparent);
  animation: path-travel 5s linear infinite;
}

.product {
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 46%, rgba(57, 124, 240, 0.1), transparent 34rem),
    #030c18;
}

.product-heading {
  display: grid;
  position: relative;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 60px;
  align-items: end;
}

.product-heading h2 {
  max-width: 850px;
  margin-top: 20px;
}

.product-heading > p {
  margin: 0;
  color: var(--text-tertiary);
  font-size: 12px;
  line-height: 1.8;
}

.product-gallery {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(18px, 2.4vw, 34px);
  align-items: start;
  margin-top: 78px;
}

.product-screen {
  min-width: 0;
  margin: 0;
}

.product-screen-home,
.product-screen-strategy {
  margin-top: 76px;
}

.product-screen-image {
  position: relative;
  aspect-ratio: 672 / 1454;
  overflow: hidden;
  border: 1px solid rgba(70, 139, 207, 0.54);
  border-radius: clamp(28px, 3vw, 42px);
  background: #020b18;
  box-shadow:
    inset 0 0 0 4px rgba(255, 255, 255, 0.014),
    0 34px 72px rgba(0, 0, 0, 0.42),
    0 0 54px rgba(30, 118, 218, 0.08);
  transition: transform 360ms var(--ease), border-color 360ms ease, box-shadow 360ms ease;
}

.product-screen-image::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.08), transparent 18%, transparent 72%),
    linear-gradient(180deg, transparent 72%, rgba(8, 83, 154, 0.08));
  content: "";
  pointer-events: none;
}

.product-screen-assistant .product-screen-image {
  border-color: rgba(72, 158, 245, 0.72);
  box-shadow:
    inset 0 0 0 4px rgba(255, 255, 255, 0.018),
    0 42px 90px rgba(0, 0, 0, 0.5),
    0 0 84px rgba(24, 130, 238, 0.16);
}

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

.product-screen:hover .product-screen-image {
  transform: translateY(-8px);
  border-color: rgba(119, 183, 247, 0.84);
  box-shadow:
    inset 0 0 0 4px rgba(255, 255, 255, 0.018),
    0 44px 86px rgba(0, 0, 0, 0.5),
    0 0 76px rgba(24, 130, 238, 0.14);
}

.product-screen figcaption {
  display: grid;
  gap: 9px;
  margin-top: 24px;
  padding: 0 8px;
}

.product-screen figcaption span {
  color: var(--action-soft);
  font-family: var(--number);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.product-screen figcaption strong {
  color: var(--text-primary);
  font-size: 17px;
  line-height: 1.45;
}

.product-screen figcaption p {
  margin: 0;
  color: var(--text-tertiary);
  font-size: 11px;
  line-height: 1.75;
}

.product-capture-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 66px 0 0;
  color: rgba(141, 174, 207, 0.66);
  font-family: var(--number);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-align: center;
}

.product-capture-note i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--safe);
  box-shadow: 0 0 12px rgba(94, 214, 160, 0.64);
}

.phone-stage {
  display: grid;
  position: relative;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 72px;
}

.phone {
  position: relative;
  min-width: 0;
  min-height: 760px;
  padding: 0 13px 88px;
  overflow: hidden;
  border: 1px solid #285179;
  border-radius: 34px;
  background: #041225;
  box-shadow:
    inset 0 0 0 4px rgba(255, 255, 255, 0.014),
    0 28px 60px rgba(0, 0, 0, 0.34);
  transition: transform 300ms var(--ease), border-color 300ms ease;
}

.phone:nth-child(2) {
  transform: translateY(28px);
}

.phone:hover {
  z-index: 4;
  transform: translateY(-8px);
  border-color: rgba(78, 144, 219, 0.74);
}

.phone:nth-child(2):hover {
  transform: translateY(18px);
}

.phone::before {
  position: absolute;
  z-index: 5;
  top: 9px;
  left: 50%;
  width: 58px;
  height: 5px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #20334a;
  content: "";
}

.phone-hardware {
  display: flex;
  height: 34px;
  align-items: end;
  justify-content: space-between;
  padding: 0 9px 7px;
  color: #b4c4d5;
  font: 700 9px/1 var(--number);
}

.phone-hardware i {
  display: none;
}

.phone-appbar {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 7px 12px;
}

.phone-appbar div {
  display: flex;
  flex-direction: column;
}

.phone-appbar strong {
  font-size: 18px;
  letter-spacing: -0.04em;
}

.phone-appbar small {
  margin-top: 3px;
  color: var(--text-tertiary);
  font-size: 9px;
}

.phone-appbar img,
.phone-menu {
  border: 1px solid var(--line);
  border-radius: 11px;
}

.phone-menu {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: #071b32;
  color: var(--action-soft);
  font-size: 10px;
}

.phone-content {
  padding: 1px 1px 80px;
}

.today-hero {
  position: relative;
  min-height: 165px;
  padding: 17px;
  overflow: hidden;
  border: 1px solid rgba(113, 165, 226, 0.23);
  border-radius: 22px;
  background: #0b2a4b;
}

.today-hero::after {
  position: absolute;
  right: -57px;
  bottom: -75px;
  width: 180px;
  height: 180px;
  border: 27px solid rgba(76, 141, 255, 0.09);
  border-radius: 50%;
  content: "";
}

.metric-head,
.weight-foot {
  display: flex;
  position: relative;
  z-index: 1;
  justify-content: space-between;
  color: #b2c6da;
  font-size: 10px;
}

.metric-safe,
.weight-foot b {
  color: var(--safe);
}

.weight-number {
  position: relative;
  z-index: 1;
  margin-top: 19px;
  font: 700 51px/0.95 var(--number);
  letter-spacing: -0.055em;
}

.weight-number small {
  margin-left: 4px;
  color: var(--action-soft);
  font: 600 10px/1 var(--body);
  letter-spacing: 0;
}

.weight-foot {
  align-items: center;
  margin-top: 18px;
}

.mini-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 17px 3px 9px;
}

.mini-section-head strong {
  font-size: 12px;
}

.mini-section-head span {
  color: var(--text-tertiary);
  font-size: 9px;
}

.nutrition-card,
.confirm-card,
.trend-card,
.evidence-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #071b32;
}

.nutrition-card > div:first-child {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.nutrition-card > div:first-child strong {
  font: 700 26px/1 var(--number);
}

.nutrition-card > div:first-child span {
  color: var(--text-tertiary);
  font-size: 9px;
}

.progress-track {
  height: 5px;
  margin: 12px 0;
  overflow: hidden;
  border-radius: 999px;
  background: #1c334b;
}

.progress-track i {
  display: block;
  width: 76%;
  height: 100%;
  border-radius: inherit;
  background: var(--action);
}

.macro-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.macro-row > span {
  padding: 8px;
  border-radius: 10px;
  background: #10263d;
  color: var(--text-tertiary);
  font-size: 8px;
}

.macro-row b {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font: 700 12px/1 var(--number);
}

.coach-card {
  display: grid;
  grid-template-columns: 31px 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(94, 214, 160, 0.17);
  border-radius: 17px;
  background: rgba(22, 55, 54, 0.5);
}

.coach-card > i {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 10px;
  background: rgba(94, 214, 160, 0.13);
  color: var(--safe);
  font-style: normal;
}

.coach-card strong {
  font-size: 10px;
}

.coach-card p {
  margin: 3px 0 0;
  color: #95b5ad;
  font-size: 8px;
}

.record-hero {
  padding: 17px;
  border-radius: 21px;
  background: var(--action);
  color: white;
}

.record-hero small {
  font-family: var(--number);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.record-hero strong {
  display: block;
  margin-top: 22px;
  font-size: 20px;
  letter-spacing: -0.035em;
}

.record-hero p {
  margin: 6px 0 0;
  color: rgba(235, 244, 255, 0.76);
  font-size: 9px;
}

.record-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.record-mode {
  min-height: 105px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #071b32;
}

.record-mode.primary {
  grid-column: 1 / -1;
  min-height: 128px;
  background: #0b2a4b;
}

.record-mode i {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: #183653;
  color: var(--action-soft);
  font-style: normal;
}

.record-mode.primary i {
  width: 43px;
  height: 43px;
  border-radius: 14px;
  background: var(--action);
  color: white;
  box-shadow: 0 10px 24px rgba(57, 124, 240, 0.3);
}

.record-mode strong,
.record-mode small {
  display: block;
}

.record-mode strong {
  margin-top: 13px;
  font-size: 11px;
}

.record-mode small {
  margin-top: 4px;
  color: var(--text-tertiary);
  font-size: 8px;
}

.confirm-card > div {
  display: flex;
  flex-direction: column;
}

.confirm-card span {
  color: var(--action-soft);
  font-size: 8px;
}

.confirm-card strong {
  margin-top: 4px;
  font-size: 10px;
}

.confirm-card p {
  margin: 7px 0;
  color: var(--warning);
  font-size: 8px;
}

.confirm-button {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 34px;
  border-radius: 10px;
  background: var(--action);
  color: white;
  font-size: 9px;
  font-weight: 700;
}

.period-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.period-tabs span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-tertiary);
  font-size: 8px;
}

.period-tabs .active {
  border-color: rgba(57, 124, 240, 0.46);
  background: rgba(57, 124, 240, 0.15);
  color: var(--action-soft);
}

.trend-head {
  display: flex;
  flex-direction: column;
}

.trend-head > span {
  color: var(--text-tertiary);
  font-size: 8px;
}

.trend-head strong {
  margin-top: 6px;
  font: 700 18px/1 var(--number);
}

.trend-head small {
  margin-left: 3px;
  color: var(--safe);
  font: 600 8px/1 var(--body);
}

.trend-card svg {
  width: 100%;
  height: 105px;
  margin-top: 10px;
  overflow: visible;
  border-bottom: 1px solid #29415b;
  background: repeating-linear-gradient(to bottom, transparent 0 25px, rgba(115, 154, 194, 0.07) 26px);
}

.chart-area {
  fill: rgba(57, 124, 240, 0.12);
}

.chart-line {
  fill: none;
  stroke: var(--action);
  stroke-width: 3;
  stroke-linecap: round;
}

.trend-card circle {
  fill: var(--action-soft);
  stroke: #071b32;
  stroke-width: 3;
}

.chart-days {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  color: var(--text-tertiary);
  font-size: 7px;
}

.evidence-card {
  padding-top: 7px;
  padding-bottom: 7px;
}

.evidence-card p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid rgba(128, 170, 216, 0.1);
  color: #a9bbce;
  font-size: 8px;
}

.evidence-card p:last-child {
  border-bottom: 0;
}

.evidence-card i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--action);
  box-shadow: 0 0 8px rgba(57, 124, 240, 0.6);
}

.insight-decision {
  margin-top: 10px;
  padding: 13px;
  border: 1px solid rgba(57, 124, 240, 0.28);
  border-radius: 17px;
  background: rgba(12, 48, 86, 0.66);
}

.insight-decision small {
  color: var(--action-soft);
  font-family: var(--number);
  font-size: 8px;
}

.insight-decision strong {
  display: block;
  margin-top: 6px;
  font-size: 10px;
}

.insight-decision p {
  margin: 5px 0 0;
  color: var(--text-tertiary);
  font-size: 8px;
}

.phone-nav {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  height: 68px;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  padding: 0 10px 8px;
  border-top: 1px solid rgba(118, 166, 217, 0.2);
  background: rgba(4, 18, 37, 0.98);
}

.phone-nav > span {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #7c91a8;
  font-size: 12px;
  line-height: 1.2;
}

.phone-nav small {
  margin-top: 3px;
  font-size: 7px;
}

.phone-nav .active {
  color: var(--action-soft);
}

.phone-nav .record-nav {
  transform: translateY(-5px);
  color: white;
  font-size: 23px;
}

.phone-nav .record-nav::first-line {
  background: var(--action);
}

.phone-caption {
  position: absolute;
  z-index: 5;
  right: 18px;
  bottom: -66px;
  left: 18px;
  display: none;
}

.demo {
  background:
    radial-gradient(circle at 78% 48%, rgba(57, 124, 240, 0.13), transparent 31rem),
    #020a14;
}

.demo-grid {
  display: grid;
  position: relative;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  gap: clamp(60px, 9vw, 130px);
  align-items: center;
}

.demo-copy h2 {
  max-width: 730px;
  margin-top: 22px;
}

.demo-copy > p {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.9;
}

.demo-notice {
  max-width: 680px;
  margin-top: 30px;
  padding: 18px 20px;
  border-left: 3px solid var(--warning);
  border-radius: 0 13px 13px 0;
  background: rgba(242, 183, 102, 0.07);
}

.demo-notice span {
  color: var(--warning);
  font-size: 10px;
  font-weight: 700;
}

.demo-notice p {
  margin: 6px 0 0;
  color: #ad9e87;
  font-size: 11px;
  line-height: 1.65;
}

.demo-copy dl {
  max-width: 680px;
  margin: 34px 0 0;
}

.demo-copy dl > div {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.demo-copy dt {
  color: var(--action-soft);
  font-family: var(--number);
  font-size: 10px;
}

.demo-copy dd {
  margin: 0;
  color: var(--text-secondary);
  font-size: 12px;
}

.video-stage {
  position: relative;
  max-width: 450px;
  justify-self: end;
  padding: 13px;
  border: 1px solid rgba(128, 170, 216, 0.23);
  border-radius: 26px;
  background: linear-gradient(145deg, #0b294a, #041225);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.4);
}

.video-stage::before {
  position: absolute;
  z-index: -1;
  inset: -24px;
  border: 1px solid rgba(57, 124, 240, 0.08);
  border-radius: 39px;
  content: "";
}

.video-topline {
  display: flex;
  justify-content: space-between;
  padding: 2px 3px 11px;
  color: var(--text-tertiary);
  font-family: var(--number);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.video-stage video {
  width: 100%;
  max-height: 690px;
  border-radius: 17px;
  background: #020812;
  object-fit: contain;
}

.video-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 4px 2px;
}

.video-caption span {
  color: var(--text-tertiary);
  font-size: 9px;
}

.video-caption strong {
  color: var(--action-soft);
  font-size: 10px;
}

.boundary {
  background: #04101e;
}

.boundary-grid {
  display: grid;
  position: relative;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(60px, 11vw, 150px);
}

.boundary h2 {
  margin-top: 24px;
}

.boundary-copy > p {
  margin: 5px 0 35px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.9;
}

.boundary-copy ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.boundary-copy li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 17px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
  color: var(--text-secondary);
  font-size: 12px;
}

.boundary-copy li span {
  color: var(--action-soft);
  font-family: var(--number);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.status {
  padding: 92px 0;
  border-top: 1px solid rgba(168, 201, 255, 0.2);
  background:
    linear-gradient(135deg, rgba(16, 52, 86, 0.86), rgba(5, 22, 41, 0.98)),
    #07182a;
}

.status-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(50px, 9vw, 120px);
  align-items: end;
}

.status h2 {
  margin-top: 20px;
  font-size: clamp(34px, 4vw, 52px);
}

.status-detail > p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.85;
}

.status-detail a {
  display: flex;
  margin-top: 28px;
  padding-top: 19px;
  border-top: 1px solid var(--line);
  flex-direction: column;
  color: var(--action-soft);
  font-family: var(--number);
  font-size: 14px;
}

.status-detail a span {
  margin-bottom: 3px;
  color: var(--text-tertiary);
  font-family: var(--body);
  font-size: 9px;
}

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

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 44px;
  align-items: end;
  padding: 46px 0 54px;
  color: var(--text-tertiary);
  font-size: 10px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand div {
  display: flex;
  flex-direction: column;
}

.footer-brand strong {
  color: var(--text-secondary);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.footer-brand span {
  margin-top: 4px;
}

.footer-legal {
  display: flex;
  gap: 18px;
}

.footer-legal a,
.deerflow-signature {
  transition: color 180ms ease, opacity 180ms ease;
}

.footer-legal a:hover,
.deerflow-signature:hover {
  color: var(--action-soft);
}

.deerflow-signature {
  opacity: 0.58;
}

.deerflow-signature:hover {
  opacity: 1;
}

@keyframes hero-camera {
  from { transform: scale(1.025) translate3d(0, 0, 0); }
  to { transform: scale(1.085) translate3d(-1.4%, -0.65%, 0); }
}

@keyframes hero-camera-mobile {
  from { background-position: 56% 50%; }
  to { background-position: 62% 49%; }
}

@keyframes hero-flow {
  from { transform: translate3d(-13%, 0, 0) scaleX(0.94); opacity: 0.4; }
  to { transform: translate3d(11%, 0, 0) scaleX(1.06); opacity: 0.78; }
}

@keyframes reveal-up {
  from { transform: translateY(22px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes pulse {
  0%, 100% { opacity: 0.45; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes scan-drift {
  from { transform: translateX(-70px); opacity: 0.25; }
  to { transform: translateX(90px); opacity: 0.7; }
}

@keyframes decision-scan {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

@keyframes path-travel {
  from { transform: translateX(-100%); }
  to { transform: translateX(520%); }
}

@keyframes scroll-line {
  0%, 100% { transform: scaleY(0.35); transform-origin: top; opacity: 0.3; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
}

@media (max-width: 1120px) {
  .site-nav {
    display: none;
  }

  .header-action {
    margin-left: auto;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 38px;
  }

  .phone-stage {
    width: calc(100vw - max(32px, calc((100vw - var(--page-width)) / 2)));
    grid-template-columns: repeat(3, 340px);
    overflow-x: auto;
    padding: 0 32px 36px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .phone-stage::-webkit-scrollbar {
    display: none;
  }

  .phone {
    scroll-snap-align: start;
  }

  .product-gallery {
    gap: 16px;
  }
}

@media (max-width: 900px) {
  .section-shell,
  .header-inner,
  .footer-inner,
  .hero-inner {
    width: min(calc(100% - 36px), var(--page-width));
  }

  .hero {
    min-height: 880px;
    align-items: flex-start;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    align-items: start;
    margin-top: 70px;
    padding: 92px 0 100px;
  }

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

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(1, 6, 13, 0.82), rgba(2, 9, 18, 0.74) 50%, rgba(1, 5, 11, 0.9)),
      linear-gradient(90deg, rgba(1, 6, 13, 0.6), transparent);
  }

  .live-evidence {
    width: min(100%, 520px);
  }

  .hero-footnote {
    left: 18px;
  }

  .scroll-cue {
    right: 18px;
  }

  .section-heading,
  .product-heading,
  .demo-grid,
  .boundary-grid,
  .status-inner {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .product-heading,
  .boundary-grid,
  .status-inner {
    gap: 34px;
  }

  .decision-loop {
    grid-template-columns: 1fr;
  }

  .decision-loop article {
    display: grid;
    min-height: 300px;
    grid-template-columns: minmax(230px, 0.88fr) minmax(0, 1.12fr);
  }

  .loop-visual {
    height: 100%;
    aspect-ratio: auto;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .loop-path {
    display: none;
  }

  .product-heading > p {
    max-width: 640px;
  }

  .product-gallery {
    width: calc(100vw - 18px);
    grid-template-columns: repeat(3, min(78vw, 390px));
    gap: 18px;
    margin-top: 58px;
    padding: 0 30px 34px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .product-gallery::-webkit-scrollbar {
    display: none;
  }

  .product-screen,
  .product-screen-home,
  .product-screen-strategy {
    margin-top: 0;
    scroll-snap-align: start;
  }

  .product-capture-note {
    justify-content: flex-start;
    margin-top: 22px;
    text-align: left;
  }

  .demo-grid {
    gap: 62px;
  }

  .video-stage {
    width: min(100%, 450px);
    justify-self: start;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
  }

  .footer-legal {
    flex-direction: column;
    gap: 4px;
  }
}

@media (max-width: 560px) {
  .section-shell,
  .header-inner,
  .footer-inner,
  .hero-inner {
    width: min(calc(100% - 28px), var(--page-width));
  }

  .header-inner {
    min-height: 78px;
  }

  .brand img {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .brand-copy small,
  .header-action {
    display: none;
  }

  .hero {
    min-height: 970px;
  }

  .hero-inner {
    margin-top: 62px;
    padding-top: 84px;
  }

  .hero-frame {
    background-position: 58% center;
    transform: none;
    animation-name: hero-camera-mobile;
  }

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

  .hero h1 em {
    font-size: 0.62em;
    line-height: 1.18;
  }

  .hero-lead {
    font-size: 14px;
    line-height: 1.8;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .primary-action {
    width: 100%;
    justify-content: space-between;
  }

  .live-evidence {
    border-radius: 18px;
  }

  .hero-footnote {
    display: none;
  }

  .page-section {
    padding: 92px 0;
  }

  .section-heading h2,
  .product-heading h2,
  .demo h2,
  .boundary h2 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .section-heading > div > p,
  .boundary-copy > p {
    font-size: 14px;
  }

  .decision-loop {
    margin-top: 48px;
  }

  .decision-loop article {
    display: block;
    min-height: 0;
    padding: 0;
  }

  .loop-visual {
    height: auto;
    aspect-ratio: 4 / 2.65;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .loop-copy {
    padding: 21px 21px 23px;
  }

  .product-gallery {
    grid-template-columns: repeat(3, min(84vw, 350px));
    gap: 14px;
    margin-top: 48px;
    padding-right: 22px;
  }

  .product-screen figcaption {
    margin-top: 19px;
    padding: 0 5px;
  }

  .product-capture-note {
    font-size: 8px;
    line-height: 1.6;
  }

  .phone-stage {
    width: calc(100vw - 14px);
    grid-template-columns: repeat(3, min(86vw, 340px));
    gap: 12px;
    margin-top: 48px;
    padding-right: 22px;
  }

  .phone {
    min-height: 730px;
    border-radius: 28px;
  }

  .phone:nth-child(2) {
    transform: none;
  }

  .phone:nth-child(2):hover {
    transform: translateY(-8px);
  }

  .demo-grid {
    gap: 48px;
  }

  .video-stage {
    padding: 9px;
    border-radius: 20px;
  }

  .video-stage video {
    border-radius: 13px;
  }

  .status {
    padding: 72px 0;
  }

  .status h2 {
    font-size: 34px;
  }

  .footer-brand img {
    width: 46px;
    height: 46px;
  }
}

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

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

  .hero-frame {
    animation: none !important;
    opacity: 1;
    transform: none;
  }

  .hero-flow {
    display: none;
  }
}
