:root {
  --bg: #f3f4f6;
  --bg-elevated: #ffffff;
  --surface: #ffffff;
  --surface-muted: #f8f9fb;
  --border: #e2e5ea;
  --border-strong: #cfd4dc;
  --text: #111827;
  --muted: #5b6472;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-soft: rgba(37, 99, 235, 0.08);
  --accent-glow: rgba(37, 99, 235, 0.18);
  --tech: #6b7280;
  --tech-line: rgba(17, 24, 39, 0.06);
  --radius: 12px;
  --radius-sm: 8px;
  --font: "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --max: 1120px;
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.04);
  --shadow-card: 0 8px 32px rgba(17, 24, 39, 0.08);
  --shadow-hover: 0 16px 48px rgba(17, 24, 39, 0.12);
  --pcb-cyan: #00d4ff;
  --pcb-bg: #07131f;
  --pcb-grid: rgba(0, 212, 255, 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.container {
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  flex-wrap: wrap;
}

.logo--with-mark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  text-decoration: none;
  color: inherit;
}

.logo--with-mark:hover {
  text-decoration: none;
}

.logo__mark {
  display: block;
  height: 38px;
  width: auto;
  max-width: min(280px, 58vw);
  object-fit: contain;
  object-position: left center;
}

.logo__word {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  color: var(--muted);
}

.logo__accent {
  color: var(--text);
}

@media (min-width: 640px) {
  .logo--with-mark {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
  }
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 500;
}

.nav a {
  color: var(--muted);
  white-space: nowrap;
}

.nav a:hover {
  color: var(--text);
  text-decoration: none;
}

.nav__cta {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--text);
  border: 1px solid var(--text);
  color: #fff !important;
}

.nav__cta:hover {
  background: #000;
  border-color: #000;
  color: #fff !important;
}

.hero {
  position: relative;
  min-height: min(92vh, 920px);
  padding: 3rem 0 4rem;
  overflow: hidden;
  background: #0c0d10;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #0a0a0c url("../img/bg-hex-suit.png") center / cover no-repeat;
  background-position: 58% 42%;
  transform: scale(1.02);
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(100deg, rgba(243, 244, 246, 0.98) 0%, rgba(243, 244, 246, 0.92) 34%, rgba(243, 244, 246, 0.45) 52%, rgba(243, 244, 246, 0.08) 64%, transparent 76%),
    linear-gradient(180deg, rgba(243, 244, 246, 0.15) 0%, transparent 38%, rgba(10, 10, 12, 0.35) 100%);
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2rem;
  align-items: center;
  min-height: min(78vh, 780px);
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 46%);
    gap: 2.5rem 3rem;
    align-items: stretch;
  }
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tech);
  margin: 0 0 0.85rem;
  font-weight: 500;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.8vw, 3.25rem);
  line-height: 1.05;
  margin: 0 0 1rem;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.hero__tagline {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 34rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn--hero {
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  background: var(--text);
  color: #fff;
  box-shadow: var(--shadow-card);
  text-decoration: none;
}

.btn--hero:hover {
  background: #000;
  text-decoration: none;
  box-shadow: var(--shadow-hover);
}

.hero__content {
  align-self: center;
}

.hero__figure {
  margin: 0;
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
}

.hero__figure--cyber {
  position: relative;
  align-self: start;
  margin-top: clamp(0.5rem, 3vh, 2rem);
}

@media (min-width: 900px) {
  .hero__figure {
    max-width: none;
    margin-inline: 0;
    margin-left: auto;
    width: min(100%, 440px);
    justify-self: end;
  }

  .hero__figure--cyber {
    margin-top: clamp(0.25rem, 2vh, 1.25rem);
    margin-bottom: auto;
  }
}

.hero__frame {
  --pcb-pad: 2.73%;
  --frame-clip: polygon(
    5% 0,
    97.73% 0,
    100% 1.79%,
    100% 96.07%,
    95% 100%,
    2.27% 100%,
    0 98.21%,
    0 3.93%
  );
  --inner-clip: polygon(
    4.33% 0,
    98.56% 0,
    100% 1.12%,
    100% 96.64%,
    95.67% 100%,
    1.44% 100%,
    0 98.88%,
    0 3.36%
  );
  position: relative;
  padding: var(--pcb-pad, 2.73%);
  background: transparent;
  clip-path: var(--frame-clip);
  box-shadow:
    0 22px 56px rgba(0, 0, 0, 0.48),
    0 0 32px rgba(0, 212, 255, 0.1);
}

.hero__frame-pcb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  clip-path: var(--frame-clip);
}

.hero__frame-inner {
  position: relative;
  z-index: 2;
  overflow: hidden;
  background: #fff;
  clip-path: var(--inner-clip);
  isolation: isolate;
}

.hero__photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center top;
}

@media (max-width: 899px) {
  .hero {
    min-height: auto;
    padding: 2.25rem 0 3rem;
  }

  .hero__backdrop {
    background-position: 72% 30%;
  }

  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(243, 244, 246, 0.97) 0%, rgba(243, 244, 246, 0.88) 42%, rgba(243, 244, 246, 0.55) 68%, rgba(10, 10, 12, 0.25) 100%);
  }

  .hero__grid {
    min-height: auto;
  }

  .hero__figure--cyber {
    margin-top: 0.5rem;
  }
}

.section {
  position: relative;
  z-index: 1;
  padding: 3.5rem 0;
}

.section--muted {
  background: var(--surface-muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section__title {
  font-size: clamp(1.45rem, 3vw, 2rem);
  margin: 0 0 0.5rem;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.section__title--center {
  text-align: center;
  margin-bottom: 2.5rem;
}

.product-teaser {
  max-width: 920px;
  margin-inline: auto;
}

.pillars {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .pillars {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillar {
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.pillar:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card);
}

.pillar__num {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.65rem;
}

.pillar h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.pillar p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.product-teaser__founder {
  margin: 2.25rem 0 0;
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 36rem;
  margin-inline: auto;
}

.innovations {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.innovations__lead {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.25rem;
  font-size: 1rem;
  color: var(--muted);
}

.innovations__lead strong {
  color: var(--text);
  font-weight: 600;
}

.innovations__grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 860px) {
  .innovations__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.innovations__tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  margin: 0;
  min-height: 180px;
  padding: 1.5rem 1.4rem;
  text-align: left;
  cursor: pointer;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  font: inherit;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.innovations__tile:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.innovations__tile:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.innovations__tile-title {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.innovations__tile-note {
  display: block;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 1rem;
  flex: 1;
}

.innovations__tile-cta {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

.innovations__tile-cta::after {
  content: "→";
  margin-left: 0.4rem;
  transition: transform 0.2s ease;
}

.innovations__tile:hover .innovations__tile-cta::after {
  transform: translateX(4px);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1rem 1.25rem;
  overflow: auto;
  background: rgba(17, 24, 39, 0.92);
  cursor: zoom-out;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox__close {
  position: fixed;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2100;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.18);
}

.lightbox__stage {
  max-width: 100%;
  cursor: default;
}

.lightbox__img {
  display: block;
  max-width: min(96vw, 100%);
  max-height: calc(100vh - 4.5rem);
  margin: 0 auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  filter: grayscale(1) contrast(1.04);
}

.shop {
  background: var(--bg);
}

.shop__eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tech);
  margin: 0 0 0.5rem;
  font-weight: 500;
}

.shop__title {
  font-size: clamp(1.65rem, 3.2vw, 2.15rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.shop__lead {
  margin: 0 0 2.5rem;
  max-width: 40rem;
  color: var(--muted);
}

.shop-partner {
  display: block;
  max-width: 40rem;
  margin: 0 auto 3rem;
  padding: 1.4rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.shop-partner:hover {
  text-decoration: none;
  border-color: var(--accent);
  box-shadow: var(--shadow-card);
}

.shop-partner__label {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tech);
  margin-bottom: 0.45rem;
}

.shop-partner__title {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.shop-partner__text {
  display: block;
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.shop-partner__cta {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.lux-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 860px) {
  .lux-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.lux-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.lux-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-hover);
}

.lux-card--flagship {
  border-color: var(--text);
  box-shadow: var(--shadow-card);
}

.lux-card__ribbon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  padding: 0.35rem 0.65rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--text);
  border-radius: 4px;
}

.lux-card__media {
  aspect-ratio: 4 / 5;
  background: #eceef2;
  border-bottom: 1px solid var(--border);
}

.lux-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.lux-card--flagship .lux-card__media img {
  object-position: center 42%;
}

.lux-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.4rem 1.4rem 1.5rem;
}

.lux-card__edition {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tech);
  margin-bottom: 0.4rem;
}

.lux-card__edition--accent {
  color: var(--accent);
}

.lux-card__name {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.lux-card__hook {
  margin: 0 0 1rem;
  font-size: 0.94rem;
  color: var(--muted);
}

.lux-card__list {
  margin: 0 0 1.25rem;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.9rem;
  flex: 1;
}

.lux-card__list li + li {
  margin-top: 0.4rem;
}

.lux-card--flagship .lux-card__list {
  flex: 0;
  margin-bottom: 0.5rem;
}

.lux-card__niokr {
  flex: 1;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0.75rem 0 1rem;
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
}

.lux-card__price-row {
  margin-bottom: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.lux-card__price {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.lux-card__price--extended {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}

.btn-buy {
  width: 100%;
  padding: 0.95rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border-strong);
  background: var(--surface-muted);
  color: var(--text);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-buy:hover {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}

.btn-buy--accent {
  border-color: var(--text);
  background: var(--text);
  color: #fff;
}

.btn-buy--accent:hover {
  background: #000;
  border-color: #000;
}

.btn-buy--submit {
  margin-top: 0.25rem;
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-buy--submit:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.checkout {
  max-width: 560px;
  margin-inline: auto;
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.checkout__title {
  margin: 0 0 1.25rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.checkout__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.checkout__row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 520px) {
  .checkout__row {
    grid-template-columns: 1fr 1fr;
  }
}

.checkout__field {
  display: block;
}

.checkout__field--full {
  grid-column: 1 / -1;
}

.checkout__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.checkout__field input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-muted);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}

.checkout__field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  background: #fff;
}

.checkout__total {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.checkout__total strong {
  color: var(--text);
  font-weight: 800;
}

.checkout__consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0.25rem 0 0.75rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--muted);
  cursor: pointer;
}

.checkout__consent input {
  flex-shrink: 0;
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.15rem;
  accent-color: var(--accent);
  cursor: pointer;
}

.checkout__consent span {
  flex: 1;
}

.order-thanks {
  text-align: center;
  padding: 1.5rem 0.5rem 0.75rem;
}

.order-thanks__title {
  margin: 0 0 1.25rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.btn-buy--outline {
  width: auto;
  min-width: 14rem;
  margin-inline: auto;
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-buy--outline:hover {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}

.order-success {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: var(--accent-hover);
  font-weight: 600;
  font-size: 0.95rem;
}

.order-error {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 0.92rem;
  line-height: 1.5;
}

.btn-buy:disabled {
  opacity: 0.65;
  cursor: wait;
}

.legal-note {
  margin: 2rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
}

.contacts-inline {
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
}

.contacts-inline p {
  margin: 0.4rem 0;
}

.contacts-inline strong {
  color: var(--text);
}

.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 1.75rem 0;
  background: var(--surface);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.footer__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 600px) {
  .footer__top {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer__legal {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--muted);
}

@media (min-width: 600px) {
  .footer__legal {
    text-align: left;
  }
}

.footer__legal-name {
  margin: 0 0 0.35rem;
  font-weight: 700;
  color: var(--text);
}

.footer__legal-contacts a {
  color: var(--accent);
}

.footer__logo {
  height: 34px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
}

.footer__cta {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-muted);
}

.footer__cta:hover {
  text-decoration: none;
  border-color: var(--text);
  background: var(--surface);
}

main {
  position: relative;
  z-index: 1;
}
