:root {
  color-scheme: dark;
  --bg: #05091e;
  --bg-grid: rgba(124, 151, 197, .09);
  --panel: #0a102a;
  --ink: #f4f0df;
  --muted: #a8abc0;
  --cyan: #24bbdf;
  --green: #4acb91;
  --orange: #f6a13a;
  --line: rgba(153, 179, 218, .16);
  --serif: "DM Serif Display", Georgia, serif;
  --sans: Inter, system-ui, sans-serif;
  --mono: "DM Mono", monospace;
}

html { min-height: 100%; background: var(--bg); }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(var(--bg-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--bg-grid) 1px, transparent 1px),
    radial-gradient(circle at 72% 40%, rgba(27, 93, 138, .16), transparent 32%),
    var(--bg);
  background-size: 88px 88px, 88px 88px, auto, auto;
  color: var(--ink);
  font-family: var(--sans);
}

a { color: inherit; }
.home-header {
  height: 84px;
  padding: 0 clamp(24px, 4.2vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 9, 30, .74);
  backdrop-filter: blur(18px);
  position: relative;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -.02em;
}
.brand img { filter: drop-shadow(0 0 14px rgba(46, 189, 220, .28)); }
.header-actions { display: flex; align-items: center; gap: 24px; }
.header-note {
  color: var(--muted);
  font: 400 11px/1 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.language-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  font: 500 11px/1 var(--mono);
  cursor: pointer;
}
.language-toggle i { width: 4px; height: 4px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 9px var(--cyan); }
.language-toggle span { color: #69708d; transition: color .2s; }
.language-toggle span.active { color: var(--ink); }

.home-main {
  min-height: calc(100vh - 136px);
  display: grid;
  grid-template-columns: minmax(430px, .88fr) minmax(520px, 1.12fr);
  padding: 0 clamp(24px, 4.2vw, 72px);
}

.intro {
  min-width: 0;
  padding: clamp(64px, 11vh, 110px) clamp(30px, 5vw, 90px) 72px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}
.equation {
  margin: clamp(8px, 2vh, 22px) 0 47px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  font: italic 400 clamp(40px, 5vw, 68px)/1 var(--serif);
  text-shadow: 0 0 20px currentColor;
  letter-spacing: -.04em;
  white-space: nowrap;
}
.equation sup { font: 400 .48em/0 var(--serif); vertical-align: super; margin-left: 1px; }
.eq-a { color: #ffc078; }
.eq-b { color: #70e6b3; }
.eq-c { color: #58dcf5; }
.eq-op { color: #c8c9d1; font-style: normal; font-size: .74em; text-shadow: none; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--cyan);
  font: 500 11px/1 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  max-width: 520px;
  font: 400 clamp(38px, 4.2vw, 60px)/1.06 var(--serif);
  letter-spacing: -.035em;
}
.lede {
  margin: 17px 0 0;
  color: #c7c9db;
  font: italic 400 clamp(16px, 1.55vw, 21px)/1.55 var(--serif);
}
.feature-title svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .25s; }
.mascot {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.sigma-body { width: 154px; height: auto; display: block; object-fit: contain; filter: drop-shadow(0 10px 20px rgba(0,0,0,.22)); }
.mascot-copy { display: flex; flex-direction: column; gap: 5px; }
.mascot-label { color: var(--cyan); font: 500 9px/1 var(--mono); letter-spacing: .14em; }
.mascot-copy strong { font: 400 27px/1.1 var(--serif); }
.mascot-copy > span:last-child { color: #8f96ad; font-size: 12px; }

.experience-list {
  align-self: stretch;
  min-height: 600px;
  overflow: hidden;
  position: relative;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 38%, rgba(36, 95, 138, .18), transparent 35%),
    linear-gradient(rgba(5, 9, 30, .3), rgba(5, 9, 30, .66));
}
.grid-glow {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(var(--bg-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--bg-grid) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}
.experience-heading {
  position: relative;
  z-index: 2;
  margin: clamp(42px, 7vh, 72px) clamp(22px, 4vw, 62px) 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.experience-heading p, .experience-heading span {
  margin: 0;
  font: 500 10px/1 var(--mono);
  letter-spacing: .12em;
}
.experience-heading p { color: var(--cyan); }
.experience-heading span { color: #727c98; }
.feature-list {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 12px;
  margin: 0 clamp(22px, 4vw, 62px) 56px;
}
.feature-card {
  min-height: 150px;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: 24px 112px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  border: 1px solid rgba(105, 183, 216, .22);
  border-radius: 3px;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(13, 26, 53, .94), rgba(7, 12, 33, .9));
  box-shadow: 0 22px 70px rgba(0,0,0,.28);
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.feature-active:hover { border-color: rgba(74, 212, 239, .48); transform: translateX(4px); box-shadow: 0 26px 80px rgba(0,0,0,.38); }
.feature-active:hover .feature-title svg { transform: translate(3px, -3px); }
.feature-upcoming { background: linear-gradient(135deg, rgba(10, 20, 42, .7), rgba(7, 12, 33, .76)); border-color: rgba(105, 183, 216, .12); }
.feature-number { align-self: start; color: #65708c; font: 500 10px/1 var(--mono); }
.feature-content { min-width: 0; display: flex; flex-direction: column; }
.feature-kicker { color: #8ea3bd; font: 500 10px/1 var(--mono); letter-spacing: .14em; }
.feature-title { margin-top: 10px; display: flex; justify-content: space-between; align-items: center; gap: 14px; font: 400 27px/1.15 var(--serif); }
.feature-description { max-width: 460px; margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.feature-meta { margin-top: 19px; display: flex; align-items: center; gap: 8px; color: #bfc3d1; font: 400 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .07em; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px rgba(74,203,145,.75); }
.soon { flex: none; padding: 6px 9px; border: 1px solid rgba(143, 163, 194, .16); border-radius: 999px; color: #77819a; font: 400 9px/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.feature-visual { position: relative; width: 112px; height: 88px; overflow: hidden; border: 1px solid rgba(105,183,216,.13); background: rgba(7,16,37,.75); }
.sound-visual { display: flex; align-items: center; justify-content: center; gap: 5px; }
.sound-visual span { width: 4px; height: 22px; border-radius: 3px; background: var(--cyan); box-shadow: 0 0 10px rgba(36,187,223,.25); }
.sound-visual span:nth-child(2), .sound-visual span:nth-child(5) { height: 44px; background: var(--green); }
.sound-visual span:nth-child(3) { height: 62px; }
.sound-visual span:nth-child(6) { height: 32px; background: var(--orange); }
.fourier-visual span { position: absolute; border: 1px solid var(--cyan); border-radius: 50%; }
.circle-one { width: 62px; height: 62px; left: 17px; top: 12px; }
.circle-two { width: 30px; height: 30px; left: 61px; top: 28px; opacity: .7; }
.fourier-visual .fourier-dot { width: 6px; height: 6px; left: 76px; top: 40px; border: 0; background: var(--orange); box-shadow: 0 0 10px var(--orange); }
.simulation-visual { display: flex; align-items: center; justify-content: center; gap: 6px; }
.simulation-visual span { color: var(--cyan); font: 400 25px/1 var(--serif); text-shadow: 0 0 13px rgba(36,187,223,.45); }
.simulation-visual span:nth-child(2) { color: var(--green); transform: translateY(-8px); }
.simulation-visual span:nth-child(3) { color: var(--orange); transform: translateY(6px); }
.feature-christmas { border-color: rgba(74, 203, 145, .28); }
.feature-christmas:hover { border-color: rgba(245, 192, 74, .55); }
.christmas-visual {
  background:
    radial-gradient(circle at 50% 60%, rgba(255,77,94,.2), transparent 52%),
    linear-gradient(#091d19, #07120f);
}
.christmas-visual .xmas-star { position: absolute; left: 48px; top: 7px; color: #f5c04a; font-size: 15px; }
.xmas-tree { position: absolute; left: 31px; top: 21px; width: 54px; height: 56px; background: #3fd08a; clip-path: polygon(50% 0, 100% 72%, 72% 72%, 95% 100%, 5% 100%, 28% 72%, 0 72%); opacity: .86; }
.christmas-visual i { position: absolute; width: 4px; height: 4px; border-radius: 50%; box-shadow: 0 0 7px currentColor; }
.christmas-visual i:nth-of-type(1) { left: 47px; top: 39px; color: #ff4d5e; background: currentColor; }
.christmas-visual i:nth-of-type(2) { left: 67px; top: 55px; color: #f5c04a; background: currentColor; }
.christmas-visual i:nth-of-type(3) { left: 40px; top: 64px; color: #ddf3ff; background: currentColor; }
.math-orbit { position: absolute; right: 18px; top: 19%; display: grid; gap: 36px; color: rgba(125,180,211,.13); font: 32px var(--serif); }
.math-orbit span:nth-child(2) { font-size: 52px; }

.home-footer {
  height: 52px;
  padding: 0 clamp(24px, 4.2vw, 72px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  color: #727994;
  font: 400 10px/1 var(--mono);
  letter-spacing: .05em;
  text-transform: uppercase;
}
.home-footer a { text-decoration: none; }
.footer-year { margin-left: 8px; color: #4f5672; }

@media (max-width: 920px) {
  .header-note { display: none; }
  .home-main { grid-template-columns: 1fr; padding: 0 24px; }
  .intro { padding: 54px 0 50px; }
  .experience-list { min-height: 650px; border-top: 1px solid var(--line); }
  .home-footer { margin-top: 0; }
}

@media (max-width: 560px) {
  .home-header { height: 70px; padding: 0 18px; }
  .brand { font-size: 14px; }
  .brand img { width: 30px; height: 30px; }
  .home-main { padding: 0 18px; }
  .intro { padding-top: 38px; }
  .equation { margin: 16px 0 35px; gap: 8px; font-size: 41px; }
  h1 { font-size: 42px; }
  .mascot { margin-top: 24px; }
  .sigma-body { width: 118px; }
  .mascot-copy strong { font-size: 23px; }
  .experience-list { min-height: 580px; }
  .experience-heading { margin: 32px 18px 16px; }
  .feature-list { margin: 0 18px 38px; }
  .feature-card { min-height: 164px; grid-template-columns: 18px 74px minmax(0, 1fr); gap: 12px; padding: 16px; }
  .feature-visual { width: 74px; height: 82px; }
  .feature-title { align-items: flex-start; font-size: 22px; }
  .feature-title .soon { display: none; }
  .feature-description { font-size: 12px; }
  .home-footer { padding: 0 18px; }
}

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