:root {
  color-scheme: light;
  --bg: #f7f7f4;
  --panel: #ffffff;
  --ink: #101828;
  --muted: #667085;
  --line: #e4e7ec;
  --blue: #155eef;
  --green: #087443;
  --amber: #b25e09;
  --red: #b42318;
  --grapefruit: #f15f4b;
  --water: #1486e8;
  --mayo: #d6a928;
  --shadow: 0 24px 70px rgba(16, 24, 40, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, Segoe UI, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  min-height: 76px;
  padding: 0 42px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.brand,
.site-header nav,
footer nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 950;
}

.site-header nav {
  justify-content: center;
  gap: 28px;
}

.site-header nav a,
footer nav a {
  color: #344054;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.site-header nav a:hover,
footer nav a:hover,
.text-link:hover { color: var(--blue); }

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

main {
  width: min(1500px, 100%);
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(380px, 0.82fr) minmax(560px, 1.18fr);
  gap: 36px;
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: 72px 42px 86px;
  background:
    linear-gradient(90deg, rgba(247, 247, 244, 1) 0 42%, rgba(247, 247, 244, 0.84) 42% 100%),
    radial-gradient(circle at 82% 20%, rgba(21, 94, 239, 0.1), transparent 28%),
    radial-gradient(circle at 72% 78%, rgba(8, 116, 67, 0.09), transparent 30%);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p { margin-top: 0; }

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(54px, 7.5vw, 112px);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(36px, 4.8vw, 72px);
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.lede {
  width: min(640px, 100%);
  margin-bottom: 30px;
  color: #475467;
  font-size: 20px;
  line-height: 1.5;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 950;
  text-decoration: none;
  white-space: nowrap;
}

.button.light {
  background: #fff;
  color: var(--ink);
}

.hero-products {
  position: relative;
  min-height: 630px;
}

.hero-products::before {
  content: "";
  position: absolute;
  inset: 5% -8% 4% 6%;
  border-radius: 50%;
  background: #eef0eb;
  transform: rotate(-8deg);
}

.product-device {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(16, 24, 40, 0.12);
  background: linear-gradient(145deg, #ffffff, #eef2f4);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.laptop-device {
  left: 3%;
  top: 10%;
  width: 68%;
  min-height: 390px;
  border-radius: 30px;
  padding: 28px;
  transform: rotate(-4deg);
  animation: floatLaptop 7s ease-in-out infinite;
}

.phone-device {
  right: 6%;
  top: 5%;
  width: 25%;
  min-width: 150px;
  min-height: 290px;
  border-radius: 34px;
  padding: 24px;
  transform: rotate(8deg);
  animation: floatPhone 6.5s ease-in-out infinite;
}

.tablet-device {
  right: 10%;
  bottom: 11%;
  width: 34%;
  min-width: 220px;
  min-height: 230px;
  border-radius: 28px;
  padding: 24px;
  transform: rotate(-5deg);
  animation: floatTablet 7.5s ease-in-out infinite;
}

.alert-device {
  left: 26%;
  bottom: 2%;
  width: 26%;
  min-width: 190px;
  min-height: 170px;
  border-radius: 24px;
  padding: 22px;
  transform: rotate(6deg);
  background: #111827;
  color: #fff;
  animation: floatAlert 8s ease-in-out infinite;
}

.device-bar {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  display: flex;
  gap: 8px;
  height: 48px;
  align-items: center;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
}

.device-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.ticker-tabs {
  position: absolute;
  left: 28px;
  right: 28px;
  top: 62px;
  z-index: 3;
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.ticker-tabs button {
  min-height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.82);
  color: #344054;
  font-size: 12px;
  font-weight: 950;
  cursor: pointer;
}

.ticker-tabs button.active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.mini-chart {
  position: absolute;
  left: 28px;
  right: 28px;
  top: 108px;
  height: 180px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(0deg, transparent 0 42px, rgba(102,112,133,0.15) 43px 44px),
    #fff;
  overflow: hidden;
}

.mini-chart i {
  position: absolute;
  left: 7%;
  right: 7%;
  display: block;
  border-radius: 999px;
}

.price-wave {
  top: 25%;
  height: 26%;
  clip-path: polygon(0 80%, 10% 62%, 18% 66%, 26% 42%, 36% 54%, 48% 30%, 60% 38%, 72% 18%, 84% 26%, 100% 14%, 100% 25%, 84% 37%, 72% 28%, 60% 50%, 48% 42%, 36% 66%, 26% 54%, 18% 78%, 10% 74%, 0 92%);
  background: var(--ink);
  animation: drawWave 3.8s ease-in-out infinite;
}

.rsi-wave {
  bottom: 15%;
  height: 18%;
  clip-path: polygon(0 72%, 10% 46%, 22% 55%, 34% 78%, 48% 52%, 62% 32%, 74% 64%, 88% 50%, 100% 44%, 100% 55%, 88% 62%, 74% 76%, 62% 44%, 48% 64%, 34% 88%, 22% 66%, 10% 58%, 0 84%);
  background: var(--blue);
  animation: drawWave 4.3s ease-in-out infinite reverse;
}

.water-line {
  top: 55%;
  height: 4px;
  background: var(--water);
  transform: rotate(-2deg);
}

.mayo-line {
  top: 69%;
  height: 4px;
  background: var(--mayo);
  transform: rotate(1deg);
}

.mini-chart.switching .price-wave,
.mini-chart.switching .rsi-wave,
.mini-chart.switching .water-line,
.mini-chart.switching .mayo-line {
  animation: tickerFlash 420ms ease;
}

.mini-chart[data-chart="WDC"] .price-wave {
  clip-path: polygon(0 88%, 8% 70%, 18% 76%, 27% 56%, 36% 61%, 46% 42%, 58% 48%, 70% 22%, 82% 28%, 100% 12%, 100% 24%, 82% 40%, 70% 34%, 58% 60%, 46% 54%, 36% 73%, 27% 68%, 18% 88%, 8% 82%, 0 96%);
}

.mini-chart[data-chart="WDC"] .rsi-wave {
  clip-path: polygon(0 68%, 12% 55%, 22% 62%, 34% 82%, 46% 72%, 58% 46%, 70% 52%, 84% 38%, 100% 48%, 100% 60%, 84% 50%, 70% 64%, 58% 58%, 46% 84%, 34% 92%, 22% 74%, 12% 67%, 0 80%);
}

.mini-chart[data-chart="MU"] .price-wave {
  clip-path: polygon(0 72%, 10% 52%, 22% 58%, 32% 45%, 42% 50%, 54% 26%, 66% 34%, 76% 20%, 88% 28%, 100% 18%, 100% 30%, 88% 40%, 76% 32%, 66% 46%, 54% 38%, 42% 62%, 32% 57%, 22% 70%, 10% 64%, 0 84%);
}

.mini-chart[data-chart="MU"] .rsi-wave {
  clip-path: polygon(0 76%, 8% 60%, 20% 66%, 32% 70%, 45% 58%, 57% 40%, 69% 48%, 80% 64%, 90% 52%, 100% 57%, 100% 68%, 90% 64%, 80% 76%, 69% 60%, 57% 52%, 45% 70%, 32% 82%, 20% 78%, 8% 72%, 0 88%);
}

.mini-chart[data-chart="MRVL"] .price-wave {
  clip-path: polygon(0 65%, 10% 72%, 20% 60%, 30% 74%, 42% 56%, 52% 62%, 64% 44%, 76% 50%, 88% 32%, 100% 38%, 100% 50%, 88% 44%, 76% 62%, 64% 56%, 52% 74%, 42% 68%, 30% 86%, 20% 72%, 10% 84%, 0 77%);
}

.mini-chart[data-chart="MRVL"] .rsi-wave {
  clip-path: polygon(0 84%, 12% 78%, 22% 68%, 34% 58%, 46% 44%, 58% 36%, 70% 48%, 82% 44%, 100% 34%, 100% 46%, 82% 56%, 70% 60%, 58% 48%, 46% 56%, 34% 70%, 22% 80%, 12% 90%, 0 94%);
}

.mini-chart[data-chart="INTC"] .price-wave {
  clip-path: polygon(0 52%, 10% 58%, 20% 44%, 30% 50%, 42% 38%, 54% 52%, 66% 34%, 76% 40%, 88% 28%, 100% 36%, 100% 48%, 88% 40%, 76% 52%, 66% 46%, 54% 64%, 42% 50%, 30% 62%, 20% 56%, 10% 70%, 0 64%);
}

.mini-chart[data-chart="INTC"] .rsi-wave {
  clip-path: polygon(0 52%, 10% 44%, 22% 52%, 34% 64%, 46% 58%, 58% 62%, 70% 56%, 82% 66%, 100% 60%, 100% 72%, 82% 78%, 70% 68%, 58% 74%, 46% 70%, 34% 76%, 22% 64%, 10% 56%, 0 64%);
}

.product-device span,
.product-device small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.alert-device span,
.alert-device small { color: #cbd5e1; }

.product-device h2,
.product-device strong {
  margin: 8px 0 6px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
}

.product-device p,
.product-device small {
  margin: 0;
  line-height: 1.35;
}

@keyframes floatLaptop {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-12px) rotate(-2.7deg); }
}

@keyframes floatPhone {
  0%, 100% { transform: translateY(0) rotate(8deg); }
  50% { transform: translateY(14px) rotate(6deg); }
}

@keyframes floatTablet {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-10px) rotate(-6.5deg); }
}

@keyframes floatAlert {
  0%, 100% { transform: translateY(0) rotate(6deg); }
  50% { transform: translateY(9px) rotate(4.8deg); }
}

@keyframes drawWave {
  0%, 100% { transform: translateX(0) scaleX(1); opacity: 0.95; }
  50% { transform: translateX(5px) scaleX(1.015); opacity: 1; }
}

@keyframes tickerFlash {
  0% { opacity: 0.3; transform: translateY(4px); }
  100% { opacity: 1; transform: translateY(0); }
}

.trust-strip {
  width: min(1200px, calc(100% - 84px));
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.trust-strip div {
  padding: 24px 20px;
  border-right: 1px solid var(--line);
}

.trust-strip div:last-child { border-right: 0; }

.trust-strip span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.trust-strip strong {
  font-size: 26px;
  line-height: 1.1;
}

.category-section,
.product-card-band,
.education-section {
  width: min(1200px, calc(100% - 84px));
  margin: 108px auto 0;
}

.category-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 62px;
  align-items: center;
}

.category-section.reverse .category-copy { order: 2; }
.category-section.reverse .category-visual { order: 1; }

.category-copy p,
.education-section p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin: 4px 0 22px;
  color: var(--ink);
  font-weight: 950;
  text-decoration: none;
}

.text-link::after {
  content: "→";
  margin-left: 8px;
}

.feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.feature-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  background: #fff;
  color: #344054;
  font-size: 13px;
  font-weight: 850;
}

.category-visual {
  position: relative;
  min-height: 460px;
  border-radius: 36px;
  background: #ecefeb;
  overflow: hidden;
}

.category-visual.soft {
  background: #edf4f1;
}

.category-visual.dark {
  background: #111827;
}

.scanner-panel {
  position: absolute;
  border: 1px solid rgba(16, 24, 40, 0.12);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}

.scanner-panel.wide {
  left: 10%;
  right: 9%;
  top: 14%;
  min-height: 330px;
  padding: 22px;
  transform: rotate(-3deg);
}

.panel-title {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.leader-row,
.signal-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.leader-row:last-child,
.signal-row:last-child { border-bottom: 0; }

.leader-row strong,
.signal-row strong {
  font-size: 20px;
}

.leader-row span,
.signal-row span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

.leader-row.active span {
  color: var(--amber);
}

.scanner-panel.stack {
  left: 12%;
  right: 12%;
  top: 17%;
  padding: 24px;
  transform: rotate(3deg);
}

.scanner-panel.terminal {
  left: 11%;
  right: 10%;
  top: 20%;
  padding: 26px;
  background: #0b1220;
  color: #fff;
  transform: rotate(-2deg);
}

.terminal-line {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-family: Consolas, Monaco, monospace;
  font-size: 15px;
}

.terminal-line:last-child { border-bottom: 0; }
.terminal-line.ok { color: #86efac; }
.terminal-line.wait { color: #fde68a; }
.terminal-line.no { color: #fca5a5; }

.product-card-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card-band article {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 24px;
  background: #fff;
}

.product-card-band p {
  color: var(--muted);
  line-height: 1.55;
}

.education-section {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  padding: 56px;
  border-radius: 36px;
  background: #111827;
  color: #fff;
}

.education-section .eyebrow {
  color: #93c5fd;
}

.education-section p {
  max-width: 740px;
  color: #cbd5e1;
}

footer {
  width: min(1200px, calc(100% - 84px));
  display: flex;
  justify-content: space-between;
  gap: 28px;
  margin: 70px auto 0;
  padding: 30px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

footer strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

footer p { margin: 0; }
footer nav {
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding-bottom: 16px;
  }

  .hero,
  .category-section {
    grid-template-columns: 1fr;
  }

  .hero-products {
    min-height: 610px;
  }

  .category-section.reverse .category-copy,
  .category-section.reverse .category-visual {
    order: initial;
  }

  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-strip div {
    border-bottom: 1px solid var(--line);
  }

  .trust-strip div:nth-child(even) {
    border-right: 0;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    padding: 16px;
  }

  .contact-link {
    min-height: 38px;
    padding: 0 14px;
  }

  .site-header nav {
    gap: 16px;
  }

  .hero {
    padding: 48px 16px 60px;
  }

  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 38px;
  }

  .lede {
    font-size: 17px;
  }

  .hero-products {
    min-height: 560px;
  }

  .laptop-device {
    left: 0;
    width: 86%;
    min-height: 330px;
  }

  .phone-device {
    right: 0;
    top: 2%;
    width: 36%;
    min-width: 128px;
    min-height: 230px;
    padding: 18px;
  }

  .tablet-device {
    right: 0;
    bottom: 12%;
    width: 54%;
    min-width: 0;
    min-height: 180px;
    padding: 18px;
  }

  .alert-device {
    left: 4%;
    bottom: 0;
    width: 48%;
    min-width: 0;
    min-height: 140px;
    padding: 18px;
  }

  .mini-chart {
    left: 18px;
    right: 18px;
    top: 102px;
    height: 148px;
  }

  .ticker-tabs {
    left: 18px;
    right: 18px;
    top: 58px;
  }

  .trust-strip,
  .category-section,
  .product-card-band,
  .education-section,
  footer {
    width: calc(100% - 32px);
  }

  .trust-strip,
  .product-card-band {
    grid-template-columns: 1fr;
  }

  .trust-strip div {
    border-right: 0;
  }

  .category-section {
    gap: 30px;
    margin-top: 76px;
  }

  .category-visual {
    min-height: 350px;
  }

  .scanner-panel.wide,
  .scanner-panel.stack,
  .scanner-panel.terminal {
    left: 18px;
    right: 18px;
    top: 42px;
  }

  .education-section {
    align-items: stretch;
    flex-direction: column;
    padding: 28px;
    border-radius: 28px;
  }

  footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
