:root {
  color-scheme: dark;
  --bg: #07090a;
  --bg-soft: #0d1113;
  --panel: #12181b;
  --panel-strong: #182126;
  --line: rgba(225, 236, 239, 0.14);
  --text: #f1f6f5;
  --muted: #aab8ba;
  --dim: #738184;
  --accent: #b8ff2c;
  --accent-cool: #66d9ff;
  --danger: #ff6b57;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(102, 217, 255, 0.14), transparent 28rem),
    linear-gradient(135deg, rgba(184, 255, 44, 0.06), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 9, 10, 0.82);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(184, 255, 44, 0.42);
  border-radius: 6px;
  background: linear-gradient(145deg, rgba(184, 255, 44, 0.18), rgba(102, 217, 255, 0.08));
  color: var(--accent);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.site-nav a,
.header-cta {
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a {
  padding: 9px 12px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  outline: none;
}

.header-cta {
  padding: 9px 14px;
  border: 1px solid rgba(184, 255, 44, 0.48);
  color: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  gap: 34px;
  align-items: stretch;
  width: min(1180px, calc(100% - 32px));
  min-height: min(760px, calc(100svh - 104px));
  margin: 28px auto 0;
  padding: clamp(36px, 6vw, 74px) 0 44px;
}

.hero-copy,
.hero-panel,
.series-card,
.product-card,
.feature-grid article,
.inquiry-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(18, 24, 27, 0.94), rgba(10, 14, 16, 0.94));
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 58px);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 5.3vw, 5rem);
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
  overflow-wrap: normal;
}

.hero-lede {
  max-width: 660px;
  margin: 28px 0 0;
  color: #d9e3e4;
  font-size: clamp(1.12rem, 2vw, 1.48rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 900;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-primary {
  background: var(--accent);
  color: #101507;
}

.button-secondary,
.button-card {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
}

.button-card {
  width: 100%;
  margin-top: auto;
}

.button-card.is-selected {
  border-color: rgba(184, 255, 44, 0.6);
  background: rgba(184, 255, 44, 0.12);
  color: var(--accent);
}

.button.disabled {
  pointer-events: none;
  opacity: 0.48;
}

.hero-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 520px;
  padding: 26px;
  overflow: hidden;
  background:
    linear-gradient(155deg, rgba(184, 255, 44, 0.12), transparent 32%),
    linear-gradient(30deg, rgba(102, 217, 255, 0.13), transparent 44%),
    var(--panel);
}

.product-orbit {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.product-orbit span,
.tag-row span,
.case-strip span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.product-orbit span {
  padding: 8px 10px;
}

.mask-visual {
  position: absolute;
  inset: 92px 28px 82px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 46% 46% 38% 38%;
  background:
    radial-gradient(circle at 50% 30%, rgba(241, 246, 245, 0.14), transparent 7rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 0 50px rgba(102, 217, 255, 0.12), 0 34px 80px rgba(0, 0, 0, 0.35);
}

.mask-visual::before {
  position: absolute;
  top: 33%;
  left: 18%;
  width: 64%;
  height: 18%;
  border-radius: 999px;
  background: #050607;
  box-shadow: 0 0 0 1px rgba(184, 255, 44, 0.22), inset 0 0 18px rgba(102, 217, 255, 0.18);
  content: "";
}

.mask-visual::after {
  position: absolute;
  right: 21%;
  bottom: 18%;
  width: 30%;
  height: 12%;
  border-radius: 999px;
  background: rgba(184, 255, 44, 0.74);
  content: "";
}

.mask-line {
  position: absolute;
  left: 17%;
  right: 17%;
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.mask-line-one {
  top: 54%;
}

.mask-line-two {
  top: 61%;
}

.mask-line-three {
  top: 68%;
}

.hero-panel p {
  position: relative;
  z-index: 2;
  max-width: 310px;
  margin: 0;
  color: #d9e3e4;
  font-size: 1.05rem;
  font-weight: 700;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 92px) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-heading.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.52fr);
  gap: 26px;
  align-items: end;
  max-width: none;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
}

.series-grid,
.product-grid,
.feature-grid {
  display: grid;
  gap: 16px;
}

.series-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.series-card,
.product-card,
.feature-grid article {
  padding: 22px;
}

.series-index,
.product-category {
  margin: 0 0 28px;
  color: var(--accent-cool);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.series-card h3,
.product-card h3,
.feature-grid h3,
.inquiry-panel h3 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.1;
}

.series-card p:not(.series-index),
.product-card p,
.feature-grid p,
.contact-copy p {
  color: var(--muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.tag-row span,
.case-strip span {
  padding: 7px 9px;
}

.product-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.story-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  border-top: 1px solid var(--line);
}

.story-kicker {
  position: sticky;
  top: 104px;
}

.story-kicker h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.story-copy {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(184, 255, 44, 0.08), transparent 38%),
    linear-gradient(145deg, rgba(18, 24, 27, 0.94), rgba(10, 14, 16, 0.94));
}

.story-copy p {
  margin: 0;
  color: #d7e2e3;
  font-size: 1.04rem;
}

.story-copy p:first-child {
  color: var(--text);
  font-size: clamp(1.24rem, 2vw, 1.62rem);
  font-weight: 850;
  line-height: 1.25;
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  display: flex;
  min-height: 410px;
  flex-direction: column;
}

.product-card p {
  margin: 14px 0 0;
}

.product-card dl {
  display: grid;
  gap: 10px;
  margin: 22px 0 20px;
}

.product-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.product-card dt {
  color: var(--dim);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-card dd {
  margin: 0;
  color: #dce7e8;
  font-weight: 750;
  text-align: right;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid article {
  min-height: 172px;
}

.case-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.case-strip span {
  display: grid;
  min-height: 84px;
  place-items: center;
  border-radius: 8px;
  color: var(--text);
  font-size: 0.98rem;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
  gap: 28px;
  align-items: start;
}

.contact-copy h2 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: 0.96;
}

.contact-copy p {
  max-width: 650px;
}

.contact-methods {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.contact-methods p {
  margin: 0;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.inquiry-panel {
  position: sticky;
  top: 104px;
  padding: 22px;
}

.inquiry-list {
  display: grid;
  gap: 10px;
  min-height: 66px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.inquiry-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #dce7e8;
  background: rgba(255, 255, 255, 0.04);
  font-weight: 750;
}

.inquiry-list .empty-state {
  color: var(--dim);
  font-weight: 700;
}

.remove-product {
  display: inline-grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.remove-product:hover,
.remove-product:focus-visible {
  border-color: rgba(255, 107, 87, 0.5);
  color: var(--danger);
  outline: none;
}

.inquiry-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer p:first-child {
  color: var(--text);
  font-weight: 900;
}

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

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding-top: 4px;
  }

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

  .hero {
    min-height: auto;
    padding-top: 28px;
  }

  .hero-panel {
    min-height: 430px;
  }

  .series-grid,
  .product-grid,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading.split {
    grid-template-columns: 1fr;
  }

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

  .inquiry-panel {
    position: static;
  }

  .story-kicker {
    position: static;
  }
}

@media (max-width: 680px) {
  .site-header {
    width: min(340px, calc(100vw - 20px));
    max-width: min(340px, calc(100vw - 20px));
    margin-right: 10px;
    margin-left: 10px;
    margin-top: 10px;
    gap: 10px;
    padding: 10px;
  }

  .brand {
    font-size: 0.94rem;
  }

  .header-cta {
    display: none;
  }

  .site-nav a {
    padding: 8px 4px;
    font-size: 0.84rem;
    text-align: center;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 4px;
    overflow: visible;
  }

  .hero,
  .section,
  .site-footer {
    width: min(340px, calc(100vw - 20px));
    max-width: min(340px, calc(100vw - 20px));
    margin-right: 10px;
    margin-left: 10px;
  }

  .hero-copy {
    padding: 26px 20px;
    overflow: visible;
  }

  .hero-copy,
  .hero-panel {
    min-width: 0;
  }

  .hero-lede,
  .section-heading,
  .section-heading h2,
  .story-kicker h2,
  .contact-copy h2 {
    width: 100%;
    max-width: 100%;
  }

  .hero-lede {
    font-size: 1rem;
  }

  h1 {
    font-size: clamp(2.3rem, 10vw, 2.75rem);
  }

  .hero-actions,
  .inquiry-actions {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-panel {
    min-height: 360px;
    padding: 18px;
  }

  .mask-visual {
    inset: 84px 22px 70px;
  }

  .series-grid,
  .product-grid,
  .feature-grid,
  .case-strip {
    grid-template-columns: 1fr;
  }

  .series-card,
  .product-card,
  .story-copy,
  .feature-grid article,
  .inquiry-panel {
    padding: 18px;
  }

  .product-card {
    min-height: 0;
  }

  .case-strip span {
    min-height: 58px;
  }

  .site-footer {
    flex-direction: column;
  }
}
