:root {
  color-scheme: light;
  --ink: #172026;
  --muted: #66737b;
  --paper: #f7f5f1;
  --white: #ffffff;
  --red: #ef4438;
  --red-dark: #c93027;
  --blue: #22577a;
  --line: rgba(23, 32, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 18%, rgba(239, 68, 56, 0.12), transparent 30%),
    radial-gradient(circle at 12% 90%, rgba(34, 87, 122, 0.09), transparent 27%),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.38;
  background-image: linear-gradient(rgba(23, 32, 38, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 32, 38, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.page-shell {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(1240px, calc(100% - 44px));
  min-height: 100vh;
  margin: 0 auto;
}

.landing-header,
.landing-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.landing-header {
  padding: 26px 0;
}

.landing-brand {
  display: inline-flex;
  width: min(190px, 48vw);
}

.landing-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  color: #4f5c64;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(12px);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.status-pill i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(239, 68, 56, 0.12);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(400px, 0.95fr);
  align-items: center;
  gap: clamp(40px, 8vw, 120px);
  padding: 54px 0 70px;
}

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

.eyebrow {
  margin: 0 0 20px;
  color: var(--red-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(3.1rem, 7vw, 6.8rem);
  letter-spacing: -0.072em;
  line-height: 0.91;
}

h1 span {
  display: block;
  color: var(--red);
}

.hero-description {
  max-width: 610px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.72;
}

.promise {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.promise span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  font-size: 0.82rem;
  font-weight: 800;
}

.agent-visual {
  position: relative;
  aspect-ratio: 1;
  width: min(100%, 520px);
  margin-left: auto;
}

.agent-visual::before {
  position: absolute;
  inset: 15%;
  content: "";
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 42px 100px rgba(23, 32, 38, 0.11);
  backdrop-filter: blur(8px);
}

.orbit {
  position: absolute;
  inset: 9%;
  border: 1px solid rgba(34, 87, 122, 0.17);
  border-radius: 50%;
}

.orbit-two {
  inset: 23%;
  border-color: rgba(239, 68, 56, 0.22);
}

.agent-core {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  width: 142px;
  height: 142px;
  place-items: center;
  transform: translate(-50%, -50%);
  color: var(--white);
  border-radius: 36px;
  background: linear-gradient(145deg, #ff5b4e, var(--red-dark));
  box-shadow: 0 28px 60px rgba(207, 48, 38, 0.28);
}

.agent-mark {
  font-size: 4rem;
  font-weight: 950;
  letter-spacing: -0.1em;
  transform: translateX(-0.04em);
}

.agent-pulse {
  position: absolute;
  right: 19px;
  bottom: 19px;
  width: 16px;
  height: 16px;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: #36b37e;
}

.signal-card {
  position: absolute;
  min-width: 178px;
  padding: 15px 17px;
  border: 1px solid rgba(23, 32, 38, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 40px rgba(23, 32, 38, 0.09);
  backdrop-filter: blur(16px);
}

.signal-card small,
.signal-card strong {
  display: block;
}

.signal-card small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.signal-card strong {
  margin-top: 5px;
  font-size: 0.95rem;
}

.signal-price {
  top: 15%;
  right: -2%;
  transform: rotate(3deg);
}

.signal-stock {
  bottom: 14%;
  left: -1%;
  transform: rotate(-3deg);
}

.spark {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 4px;
  background: var(--blue);
  transform: rotate(45deg);
}

.spark-one { top: 8%; left: 29%; }
.spark-two { right: 8%; bottom: 27%; background: var(--red); }
.spark-three { bottom: 10%; left: 47%; width: 7px; height: 7px; }

.landing-footer {
  padding: 22px 0 30px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 700;
}

@media (max-width: 880px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 70px;
  }

  .agent-visual {
    width: min(100%, 450px);
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(100% - 28px, 1240px);
  }

  .landing-header {
    padding-top: 18px;
  }

  .landing-brand {
    width: 148px;
  }

  .status-pill {
    padding: 8px 10px;
    font-size: 0.7rem;
  }

  .hero {
    gap: 30px;
    padding: 44px 0 54px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.7rem);
  }

  .agent-visual {
    width: min(108%, 390px);
    margin-left: -4%;
  }

  .agent-core {
    width: 112px;
    height: 112px;
    border-radius: 29px;
  }

  .agent-mark {
    font-size: 3.2rem;
  }

  .signal-card {
    min-width: 150px;
    padding: 12px 14px;
  }

  .landing-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .agent-core {
    animation: hover 5s ease-in-out infinite;
  }

  .signal-price {
    animation: float-card 6s ease-in-out infinite;
  }

  .signal-stock {
    animation: float-card 6s ease-in-out -3s infinite;
  }

  @keyframes hover {
    0%, 100% { transform: translate(-50%, -50%); }
    50% { transform: translate(-50%, calc(-50% - 9px)); }
  }

  @keyframes float-card {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -8px; }
  }
}
