:root {
  --bg: #1c1c1e;
  --text: #f5f5f7;
  --mute: #86868b;
  --line: #2a2a2d;
  --blue: #2997ff;
  --font: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --wrap: min(980px, calc(100% - clamp(28px, 6vw, 96px)));
  --bar: 52px;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body { margin: 0; background: var(--bg); }
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, p, ul { margin: 0; }
h1, h2, h3 { letter-spacing: -0.035em; font-weight: 600; line-height: 1.07; }
p { color: var(--mute); line-height: 1.47; }

.wrap { width: var(--wrap); margin-inline: auto; }

.skip {
  position: absolute;
  left: 1rem;
  top: -8rem;
  z-index: 40;
  background: white;
  color: black;
  padding: 0.6rem 0.9rem;
  border-radius: 12px;
}
.skip:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.bar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--bar);
  background: rgba(28, 28, 30, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
}
.bar.is-stuck { border-bottom-color: #1d1d1f; }

.bar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  margin-right: auto;
  line-height: 0;
}
.brand img {
  width: auto;
  height: 36px;
}

.bar-inner nav { display: flex; align-items: center; gap: 2px; }
.bar-inner nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: #d2d2d7;
}
.bar-inner nav a svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bar-inner nav a:hover,
.bar-inner nav a.is-current { color: #fff; }
.bar-inner nav a.is-current { background: rgba(255, 255, 255, 0.08); }
.bar-inner nav a::after {
  content: attr(aria-label);
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 5;
  transform: translateX(-50%);
  padding: 5px 8px;
  border-radius: 8px;
  background: #2a2a2e;
  color: #fff;
  font-size: 0.72rem;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}
.bar-inner nav a:hover::after,
.bar-inner nav a:focus-visible::after { opacity: 1; }

.menu { display: none; font-size: 0.85rem; }

.buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 980px;
  background: #fff;
  color: #000;
  font-size: 0.75rem;
  font-weight: 600;
}
.bar .buy { min-height: 28px; font-size: 0.72rem; }

.more {
  color: var(--blue);
  font-size: 1.05rem;
  font-weight: 500;
}
.more::after { content: " ›"; }

.drawer {
  position: fixed;
  inset: var(--bar) 0 0 0;
  background: var(--bg);
  z-index: 15;
  padding: 12px clamp(28px, 6vw, 96px);
}
.drawer[hidden] { display: none; }
.drawer a {
  display: block;
  font-size: 1.6rem;
  padding: 12px 0;
  border-bottom: 1px solid #1d1d1f;
}

.hero {
  text-align: center;
  padding: 56px 24px 0;
}
.kicker {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}
.hero .kicker { color: var(--mute); font-size: 1.2rem; }
.hero h1 {
  font-size: clamp(2.6rem, 7.4vw, 5.4rem);
  max-width: 12em;
  margin: 0 auto 16px;
}
.sub {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  max-width: 28em;
  margin: 0 auto 28px;
}
.hero-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin-bottom: 48px;
}
.hero-cta .buy { min-height: 44px; padding: 0 20px; font-size: 0.95rem; }
.hero-cta .more { font-size: 1.15rem; }

.stage {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  height: min(48vh, 440px);
  min-height: 300px;
  overflow: hidden;
  perspective: 1200px;
}
.bloom {
  position: absolute;
  inset: 8% 22% 6%;
  background: radial-gradient(ellipse at 50% 50%, #3a6dff55, #6d5ef722 40%, transparent 70%);
  filter: blur(22px);
  animation: glow 7s ease-in-out infinite;
}
.rig {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
}
.mark {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
}
.mark-fallback { display: none; }
.rig.is-flat .mark { display: none; }
.rig.is-flat .mark-fallback {
  display: block;
  width: min(46vw, 300px);
  height: auto;
}

.block { padding: 110px 0; }
.block h2 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 36px; }

.products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.products a {
  padding: 36px 32px;
  background: #2a2a2e;
  border-radius: 28px;
  min-height: 280px;
}
.products img {
  display: block;
  margin-bottom: 28px;
  width: auto;
  height: 48px;
  border-radius: 0;
}
.products .logo-motor,
.study .logo-motor {
  height: 32px;
  padding: 10px 14px;
  background: #f4f6f8;
  border-radius: 12px;
  box-sizing: content-box;
}
.products h3 { font-size: 1.7rem; margin-bottom: 8px; }
.products p { margin-bottom: 28px; }
.products span { color: var(--blue); font-weight: 500; }
.products span::after { content: " ›"; }

.list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}
.list li {
  padding: 28px 0;
  border-top: 1px solid #1d1d1f;
}
.list h3 { font-size: 1.25rem; margin-bottom: 8px; }

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}
.split h2 { margin-bottom: 0; }
.split .more { display: inline-block; margin-top: 16px; }

.center { text-align: center; }
.center h2 { margin-bottom: 12px; }
.center p { margin-bottom: 28px; }
.end { padding-bottom: 140px; }

.page { padding: 72px 0 100px; }
.page h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  margin-bottom: 12px;
}
.page .sub { margin: 0 0 48px; max-width: 28em; }
.studies { display: grid; gap: 20px; }
.study {
  padding: 40px 36px;
  background: #2a2a2e;
  border-radius: 28px;
}
.study img {
  display: block;
  width: auto;
  height: 48px;
  margin-bottom: 28px;
}
.study h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 8px 0 12px;
}
.study .lead {
  color: var(--text);
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.study .more { display: inline-block; margin-top: 22px; }

.foot {
  border-top: 1px solid #1d1d1f;
  padding: 18px 0 28px;
  color: #6e6e73;
  font-size: 0.75rem;
}
.foot-inner { display: flex; justify-content: space-between; gap: 12px; }

@keyframes glow {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}
@media (max-width: 840px) {
  .bar-inner nav, .bar .buy { display: none; }
  .menu { display: inline-flex; margin-left: auto; }
  .products, .list, .split, .foot-inner { grid-template-columns: 1fr; }
  .products .logo-work,
  .study .logo-work { height: 44px; }
  .products .logo-motor,
  .study .logo-motor { height: 28px; }
  .study { padding: 32px 24px; }
  .foot-inner { flex-direction: column; }
  .stage { height: 320px; min-height: 260px; perspective: none; }
  .rig.is-flat .mark-fallback { width: min(62vw, 220px); }
}

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