:root {
  --yellow: #ffbe0b;
  --orange: #fb5607;
  --magenta: #ff006e;
  --purple: #8338ec;
  --blue: #3a86ff;
  --green: #16a34a;
  --green-bright: #22c55e;
  --ink: #14101f;
  --ink-soft: #4a4458;
  --paper: #f7f6fb;
  --white: #ffffff;
  --line: rgba(20, 16, 31, 0.14);
  --radius: 10px;
  --content-max: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --font-display: "Sora", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", "Sora", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background: var(--paper);
  overflow-x: hidden;
}

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: var(--paper);
}

.atmosphere__glow {
  display: none;
}

.atmosphere__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(58, 134, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(131, 56, 236, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.85;
}

.orbit-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.45;
}

.topbar,
.hero,
.mission,
.connect {
  position: relative;
  z-index: 1;
  width: min(100%, var(--content-max));
  margin-inline: auto;
}

.footer {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 1rem var(--gutter);
}

.topbar__brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.topbar__logo {
  display: block;
  height: 44px;
  width: auto;
  max-width: min(52vw, 200px);
  object-fit: contain;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: calc(100svh - 4.5rem);
  display: flex;
  align-items: flex-end;
  padding: clamp(2rem, 6vw, 5rem) var(--gutter) clamp(2.5rem, 6vw, 4.5rem);
  overflow: hidden;
}

/* —— Top-left agent live panel —— */
.agent-live {
  position: absolute;
  top: clamp(1rem, 4vw, 2.5rem);
  left: var(--gutter);
  z-index: 3;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  pointer-events: none;
  max-width: min(92%, 380px);
}

.agent-live__panel {
  flex: 1;
  min-width: 0;
  padding: 0.7rem 0.75rem 0.65rem;
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
}

.agent-live__list {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  max-height: min(46vh, 360px);
  overflow: hidden;
}

.agent-chip__mark {
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 6px;
  background: var(--chip, var(--blue));
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
}

.agent-chip__mark.is-light {
  color: var(--ink);
}

.agent-live__constellation {
  position: relative;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  margin-top: 0.35rem;
}

.agent-live__node {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(58, 134, 255, 0.18);
  animation: node-pulse 2.4s ease-in-out infinite;
}

.agent-live__node--a {
  top: 8px;
  left: 30px;
  background: var(--blue);
  animation-delay: 0s;
}

.agent-live__node--b {
  top: 34px;
  left: 8px;
  background: var(--purple);
  box-shadow: 0 0 0 3px rgba(131, 56, 236, 0.18);
  animation-delay: 0.35s;
}

.agent-live__node--c {
  top: 34px;
  right: 8px;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(251, 86, 7, 0.18);
  animation-delay: 0.7s;
}

.agent-live__node--d {
  bottom: 6px;
  left: 30px;
  background: var(--magenta);
  box-shadow: 0 0 0 3px rgba(255, 0, 110, 0.18);
  animation-delay: 1.05s;
}

.agent-live__link {
  position: absolute;
  height: 1.5px;
  background: rgba(20, 16, 31, 0.18);
  transform-origin: left center;
  overflow: hidden;
}

.agent-live__link::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 30%;
  background: var(--yellow);
  animation: link-run 1.8s linear infinite;
}

.agent-live__link--1 {
  top: 22px;
  left: 28px;
  width: 28px;
  transform: rotate(125deg);
}

.agent-live__link--2 {
  top: 22px;
  left: 38px;
  width: 28px;
  transform: rotate(55deg);
  animation-delay: 0.4s;
}

.agent-live__link--2::after {
  animation-delay: 0.4s;
}

.agent-live__link--3 {
  top: 42px;
  left: 18px;
  width: 36px;
  transform: rotate(0deg);
}

.agent-live__link--3::after {
  animation-delay: 0.8s;
}

.agent-live__head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.55rem;
}

.agent-live__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  animation: live-dot 1.6s ease-out infinite;
}

.agent-live__title {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
}

.agent-live__badge {
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--green);
  background: #ecfdf3;
  border: 1px solid rgba(22, 163, 74, 0.35);
  border-radius: 4px;
  padding: 0.12rem 0.35rem;
}

.agent-chip {
  display: grid;
  grid-template-columns: 1.7rem 1fr 1rem;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.35rem;
  border-radius: 8px;
  opacity: 0.55;
  transition: opacity 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.agent-chip.is-working {
  opacity: 1;
  background: rgba(58, 134, 255, 0.08);
  transform: translateX(2px);
}

.agent-chip.is-done {
  opacity: 1;
  background: #ecfdf3;
}

.agent-chip.is-flash {
  animation: task-flash 0.65s ease;
}

.agent-chip__text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.agent-chip__text strong {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.agent-chip__text em {
  font-style: normal;
  font-size: 0.66rem;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.agent-chip.is-working .agent-chip__text em {
  color: var(--blue);
}

.agent-chip.is-done .agent-chip__text em {
  color: var(--green);
}

.agent-chip__state {
  position: relative;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  border: 1.5px solid rgba(20, 16, 31, 0.16);
}

.agent-chip.is-working .agent-chip__state {
  border-color: var(--blue);
  border-top-color: transparent;
  animation: spin 0.7s linear infinite;
}

.agent-chip.is-done .agent-chip__state {
  border-color: var(--green);
  background: var(--green-bright);
}

.agent-chip.is-done .agent-chip__state::after {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.08rem;
  width: 0.22rem;
  height: 0.4rem;
  border: solid #fff;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

@keyframes live-dot {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

@keyframes node-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

@keyframes link-run {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.hero__stage {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: auto minmax(220px, 280px);
  align-items: center;
  justify-content: end;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding-right: var(--gutter);
  pointer-events: none;
}

.hero__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--paper) 0%, rgba(247, 246, 251, 0.88) 34%, transparent 68%);
  z-index: 1;
}

.hero__copy {
  position: relative;
  z-index: 2;
  max-width: 40rem;
}

@media (min-width: 901px) {
  .hero {
    padding-bottom: clamp(3rem, 7vh, 5.5rem);
  }

  .hero__copy {
    /* Clear the tall LIVE panel above so brand/CTA don't overlap */
    padding-top: clamp(18rem, 48vh, 28rem);
  }

  .agent-live {
    max-height: min(52vh, 420px);
  }

  .agent-live__list {
    max-height: min(40vh, 340px);
    overflow: hidden;
  }
}

.hero__brand {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.hero__slogan {
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.hero__slogan-zh {
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.hero__slogan-en {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--blue);
}

.hero__lede {
  margin: 0 0 2rem;
  max-width: 36rem;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.7;
  color: var(--ink-soft);
}

.hero__lede strong,
.mission__text strong {
  color: var(--ink);
  font-weight: 700;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.4rem;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--purple);
}

.btn--ghost {
  border: 1.5px solid var(--ink);
  background: var(--white);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--magenta);
  color: var(--magenta);
}

/* —— Dayflow timer + tasks —— */
.dayflow {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  transform: translateY(-6%);
}

.dayflow__timer {
  position: relative;
  width: min(42vw, 280px);
  aspect-ratio: 1;
}

.dayflow__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  overflow: visible;
}

.dayflow__track {
  fill: none;
  stroke: rgba(20, 16, 31, 0.1);
  stroke-width: 8;
}

.dayflow__progress {
  fill: none;
  stroke: var(--blue);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke 0.35s ease;
}

.dayflow.is-goal .dayflow__progress {
  stroke: var(--green-bright);
}

.dayflow__core {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  margin: auto;
  width: 58%;
  height: 58%;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(20, 16, 31, 0.25);
}

.dayflow__hours {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  font-variant-numeric: tabular-nums;
  transition: transform 0.28s ease, color 0.28s ease;
}

.dayflow__hours.is-tick {
  transform: scale(1.1);
  color: var(--yellow);
}

.dayflow.is-goal .dayflow__hours {
  color: var(--green-bright);
  transform: scale(1.08);
}

.dayflow__unit {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, 2.95em);
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.7);
  pointer-events: none;
  white-space: nowrap;
}

.dayflow__goal {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: var(--green-bright);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.7);
  pointer-events: none;
  box-shadow: 0 10px 28px rgba(22, 163, 74, 0.35);
}

.dayflow.is-goal .dayflow__goal {
  animation: goal-pop 1.4s ease forwards;
}

.dayflow__goal-check {
  position: relative;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
}

.dayflow__goal-check::after {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 0.14rem;
  width: 0.24rem;
  height: 0.45rem;
  border: solid var(--green);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.dayflow__goal-text {
  letter-spacing: 0.04em;
}

.dayflow.is-goal .dayflow__timer::before {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 2px solid var(--green-bright);
  animation: goal-ring 1.4s ease;
  pointer-events: none;
  z-index: 3;
}

@keyframes goal-pop {
  0% {
    opacity: 0;
    transform: translate(-50%, -40%) scale(0.6);
  }
  18% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.08);
  }
  70% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -70%) scale(0.92);
  }
}

@keyframes goal-ring {
  0% {
    opacity: 0.9;
    transform: scale(0.92);
  }
  100% {
    opacity: 0;
    transform: scale(1.18);
  }
}

.tasks {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  transform: translateY(-6%);
}

.task {
  display: grid;
  grid-template-columns: 2rem 1fr 1.5rem;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.75rem;
  padding: 0.45rem 0.7rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink-soft);
  opacity: 0.55;
  transform: translateX(8px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease,
    color 0.35s ease,
    box-shadow 0.35s ease;
}

.task.is-active {
  opacity: 1;
  transform: translateX(0);
  border-color: var(--blue);
  color: var(--ink);
  box-shadow: 0 0 0 3px rgba(58, 134, 255, 0.18);
}

.task.is-done {
  opacity: 1;
  transform: translateX(0);
  border-color: var(--green);
  background: #ecfdf3;
  color: var(--ink);
}

.task.is-highlight {
  animation: task-flash 0.7s ease;
}

.task__icon {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  color: currentColor;
}

.task__icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.task.is-done .task__icon {
  color: var(--green);
}

.task__name {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.task__check {
  position: relative;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  border: 1.5px solid rgba(20, 16, 31, 0.18);
  background: transparent;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.task__check::after {
  content: "";
  position: absolute;
  left: 0.32rem;
  top: 0.18rem;
  width: 0.32rem;
  height: 0.58rem;
  border: solid transparent;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.28s cubic-bezier(0.2, 1.4, 0.4, 1), border-color 0.2s ease;
}

.task.is-done .task__check {
  border-color: var(--green);
  background: var(--green-bright);
  transform: scale(1.08);
}

.task.is-done .task__check::after {
  border-color: #fff;
  transform: rotate(45deg) scale(1);
}

@keyframes task-flash {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
    background: #bbf7d0;
  }
  100% {
    box-shadow: 0 0 0 14px rgba(34, 197, 94, 0);
    background: #ecfdf3;
  }
}

/* —— Mission —— */
.mission {
  padding: clamp(3rem, 8vw, 6rem) var(--gutter);
}

.mission__inner {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.mission__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.mission__text {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--ink-soft);
}

/* —— Social —— */
.connect {
  padding: clamp(2rem, 6vw, 5rem) var(--gutter) clamp(4rem, 8vw, 6rem);
  overflow: visible;
}

.connect__head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.connect__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--ink);
}

.connect__sub {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.social {
  max-width: 920px;
  margin: 0 auto;
  overflow: visible;
}

.social__group-label {
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple);
}

.social__group-label:not(:first-child) {
  margin-top: 2.25rem;
}

.social__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 0.75rem;
  overflow: visible;
}

.social__item {
  position: relative;
  overflow: visible;
}

.social__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  min-height: 5.5rem;
  padding: 0.85rem 0.5rem;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.social__link svg {
  width: 1.45rem;
  height: 1.45rem;
}

.social__link:hover,
.social__item--qr.is-open .social__link {
  transform: translateY(-2px);
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.social__link:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.social__qr {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.7rem);
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  width: max-content;
  max-width: min(78vw, 220px);
  padding: 0.75rem;
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 14px 32px rgba(20, 16, 31, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.social__qr::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  background: var(--white);
  transform: translateX(-50%) translateY(-55%) rotate(45deg);
}

.social__qr img {
  display: block;
  width: min(72vw, 180px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 8px;
}

.social__qr p {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
}

.social__item--qr.is-open .social__qr {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

@media (hover: hover) and (pointer: fine) {
  .social__item--qr:hover .social__qr,
  .social__item--qr:focus-within .social__qr {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
}

@media (max-width: 900px) {
  .social__qr {
    bottom: auto;
    top: calc(100% + 0.7rem);
    transform: translateX(-50%) translateY(-8px);
  }

  .social__qr::after {
    top: auto;
    bottom: 100%;
    transform: translateX(-50%) translateY(55%) rotate(45deg);
  }

  .social__item--qr.is-open .social__qr {
    transform: translateX(-50%) translateY(0);
  }
}

/* —— Footer —— */
.footer {
  padding: 2.5rem max(var(--gutter), calc((100% - var(--content-max)) / 2)) 3rem;
  text-align: center;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
}

.footer__brand {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--yellow);
}

.footer__meta {
  margin: 0 0 0.75rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.footer__meta a:hover {
  color: var(--orange);
}

.footer__copy {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 190, 11, 0.5);
}

/* —— Motion / reveal —— */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.hero__copy [data-reveal]:nth-child(1) { transition-delay: 0.05s; }
.hero__copy [data-reveal]:nth-child(2) { transition-delay: 0.15s; }
.hero__copy [data-reveal]:nth-child(3) { transition-delay: 0.25s; }
.hero__copy [data-reveal]:nth-child(4) { transition-delay: 0.35s; }

@media (max-width: 1100px) {
  .dayflow,
  .tasks {
    transform: translateY(-2%) scale(0.92);
    transform-origin: right center;
  }

  .agent-live {
    max-width: min(92%, 320px);
  }

  .agent-live__list {
    max-height: min(40vh, 300px);
  }
}

/* —— Phone / tablet —— */
@media (max-width: 900px) {
  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    min-height: auto;
    padding: 1rem var(--gutter) 2.25rem;
    gap: 1.15rem;
    overflow: visible;
  }

  .hero__stage,
  .dayflow {
    display: contents;
  }

  .hero__stage::after {
    display: none;
  }

  .agent-live {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    max-width: none;
    width: 100%;
    order: 1;
    z-index: 1;
    margin-top: 1rem;
  }

  .agent-live__constellation {
    display: none;
  }

  .agent-live__panel {
    width: 100%;
    padding: 0.55rem 0.65rem;
  }

  .agent-live__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.3rem 0.45rem;
    max-height: none;
    overflow: visible;
  }

  .agent-chip:nth-child(n + 5) {
    display: none;
  }

  .agent-chip__text em {
    display: none;
  }

  .dayflow__timer {
    order: 2;
    width: min(46vw, 168px);
    margin-inline: auto;
    transform: none;
  }

  .hero__copy {
    order: 3;
    position: relative;
    z-index: 2;
    max-width: none;
    width: 100%;
    margin-block: 2.3rem;
  }

  .tasks {
    order: 4;
    width: 100%;
    max-height: none;
    overflow: visible;
    gap: 0.35rem;
    transform: none;
  }

  .task:nth-child(n + 5) {
    display: none;
  }

  .task {
    min-height: 2rem;
    padding: 0.28rem 0.45rem;
    opacity: 0.7;
    transform: none;
  }

  .task__name {
    font-size: 0.78rem;
  }

  .dayflow__unit {
    font-size: 0.55rem;
    letter-spacing: 0.12em;
    transform: translate(-50%, 2.65em);
  }

  .hero__brand {
    font-size: clamp(2.2rem, 10vw, 3rem);
    margin-bottom: 0.75rem;
  }

  .hero__slogan-zh {
    font-size: clamp(1.05rem, 4.5vw, 1.35rem);
  }

  .hero__lede {
    font-size: 0.95rem;
    margin-bottom: 1.35rem;
  }

  .social__list {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  }
}

@media (max-width: 480px) {
  .topbar {
    padding: 0.85rem 1rem;
  }

  .topbar__logo {
    height: 36px;
    max-width: min(58vw, 168px);
  }

  .hero {
    padding: 0.85rem 1rem 1.75rem;
    gap: 1rem;
  }

  .hero__copy {
    margin-block: 2rem;
  }

  .agent-live {
    margin-top: 0.85rem;
  }

  .agent-chip__text strong {
    font-size: 0.66rem;
  }

  .dayflow__timer {
    width: 132px;
  }

  .hero__actions {
    width: 100%;
  }

  .btn {
    flex: 1;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .task,
  .task.is-active,
  .task.is-done {
    opacity: 1;
    transform: none;
  }
}
