:root {
  color-scheme: dark;
  --bg: #010101;
  --panel: #050607;
  --panel-2: #0a0c0e;
  --line: #252a30;
  --soft-line: #111418;
  --text: #f5f7fa;
  --muted: #b0b7c0;
  --dim: #76808b;
  --blue: #0a8dff;
  --blue-hover: #34a4ff;
  --blue-soft: rgba(10, 141, 255, 0.18);
  --peak: #dc2626;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(10, 141, 255, 0.045), transparent 280px),
    var(--bg);
  font-size: 16px;
  overflow-x: hidden;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--blue-hover);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  font-family: Consolas, "Courier New", monospace;
  font-size: 14px;
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  min-height: 78px;
  padding: 0 clamp(20px, 7vw, 128px);
  border-bottom: 1px solid var(--soft-line);
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(12px);
}

.logo {
  display: inline-flex;
  align-items: center;
  width: 220px;
  height: auto;
}

.logo img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #d8d8d8;
  font-family: Consolas, "Courier New", monospace;
  font-size: 14px;
}

.nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: #fff;
  border-color: var(--blue);
}

.language-link {
  margin-left: 4px;
  padding: 0 10px;
  border: 1px solid var(--line) !important;
  border-radius: 6px;
  color: #fff !important;
  background: #050607;
}

.language-link:hover {
  border-color: var(--blue) !important;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(360px, 0.78fr);
  gap: clamp(36px, 6vw, 82px);
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: clamp(54px, 7vw, 98px) clamp(20px, 7vw, 128px);
}

.hero-panel {
  min-height: 420px;
  display: grid;
  place-items: center;
}

.readout {
  width: min(100%, 520px);
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid #20262d;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(10, 141, 255, 0.09), transparent 18%, transparent 82%, rgba(10, 141, 255, 0.06)),
    #020202;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025), 0 28px 70px rgba(0, 0, 0, 0.55);
}

.readout-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--dim);
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
}

.readout-top strong {
  padding: 2px 8px;
  border: 1px solid rgba(220, 38, 38, 0.55);
  color: #fff;
  background: rgba(220, 38, 38, 0.18);
}

.readout-main {
  margin: 22px 0 28px;
  color: #fff;
  font-family: Consolas, "Courier New", monospace;
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 800;
  line-height: 0.95;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.16);
}

.readout-main span {
  color: var(--blue-hover);
  font-size: 0.46em;
}

.readout-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 18px;
  padding-top: 20px;
  border-top: 1px solid #202020;
  font-family: Consolas, "Courier New", monospace;
}

.readout-grid span {
  color: var(--dim);
}

.readout-grid strong {
  color: #dcdcdc;
  font-weight: 400;
}

.kicker {
  margin: 0 0 8px;
  color: var(--blue-hover);
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(46px, 6vw, 92px);
  line-height: 0.92;
  font-weight: 800;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: 19px;
  line-height: 1.3;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  font-weight: 700;
}

.summary,
.info-block p,
.note-section p,
.page-title p,
.side-note p {
  color: var(--muted);
  line-height: 1.7;
}

.summary {
  max-width: 560px;
  margin-bottom: 28px;
  font-size: 18px;
}

.price-line {
  margin: -8px 0 18px;
  font-family: Consolas, "Courier New", monospace;
}

.price-line strong {
  color: #fff;
  font-size: clamp(28px, 2.5vw, 34px);
  line-height: 1;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 460px);
  min-height: 50px;
  border: 0;
  border: 1px solid rgba(10, 141, 255, 0.7);
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(180deg, #0a8dff, #0777d8);
  font-family: Consolas, "Courier New", monospace;
  font-size: 14px;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.button:hover {
  border-color: var(--blue-hover);
  background: linear-gradient(180deg, var(--blue-hover), #0a8dff);
}

.button:active {
  transform: translateY(1px);
}

.small-button {
  width: auto;
  min-height: 44px;
  padding: 0 18px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 460px;
  margin-top: 28px;
}

.hero-facts span {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #dcdcdc;
  background: #050607;
  font-family: Consolas, "Courier New", monospace;
  font-size: 14px;
}

.info-block {
  margin-top: 32px;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  line-height: 1.85;
}

li::before {
  content: "- ";
}

.spec-strip,
.display-modes,
.note-section,
.page-title,
.contact-layout,
.detail-section,
.measure-section {
  padding: clamp(52px, 7vw, 92px) clamp(20px, 7vw, 128px);
}

.spec-strip {
  border-top: 1px solid var(--soft-line);
}

.spec-strip h2,
.display-modes h2,
.note-section h2 {
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 800;
}

table {
  width: min(100%, 760px);
  border-collapse: collapse;
  color: var(--muted);
}

th,
td {
  padding: 18px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  width: 230px;
  color: #bdbdbd;
  font-weight: 700;
}

.display-modes {
  border-top: 1px solid var(--soft-line);
}

.detail-section,
.measure-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.64fr) minmax(320px, 1fr);
  gap: clamp(30px, 6vw, 80px);
  border-top: 1px solid var(--soft-line);
}

.detail-section h2,
.measure-section h2 {
  max-width: 520px;
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 800;
  line-height: 1.05;
}

.detail-copy p,
.detail-list p {
  color: var(--muted);
  line-height: 1.75;
}

.detail-copy p + p,
.detail-list p + p {
  margin-top: 14px;
}

.detail-list strong {
  color: #fff;
}

.detail-section.compact {
  padding-top: clamp(42px, 5vw, 72px);
  padding-bottom: clamp(42px, 5vw, 72px);
}

.measure-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.measure-grid article {
  min-height: 158px;
  padding: 22px;
  background: #050607;
}

.measure-grid h3 {
  color: #fff;
}

.measure-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.modes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  margin-top: 46px;
}

.modes article {
  border-top: 2px solid var(--blue);
  padding-top: 20px;
}

.modes span {
  display: block;
  margin-bottom: 18px;
  color: var(--dim);
  font-family: Consolas, "Courier New", monospace;
}

.modes p {
  color: var(--muted);
  line-height: 1.6;
}

.note-section {
  max-width: 1120px;
}

.page {
  min-height: calc(100vh - 78px);
}

.page-title {
  padding-bottom: 28px;
}

.page-title h1 {
  margin-bottom: 18px;
}

.page-table {
  padding-top: 24px;
}

.page-table table {
  width: min(100%, 980px);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(320px, 620px) minmax(260px, 360px);
  gap: clamp(36px, 7vw, 100px);
  padding-top: 22px;
}

.contact-form {
  display: grid;
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
  color: #d8d8d8;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 13px 12px;
  color: #fff;
  background: #050505;
  font: inherit;
}

textarea {
  resize: vertical;
}

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

input:focus,
textarea:focus {
  outline: 2px solid var(--blue-hover);
  outline-offset: 3px;
}

.helper {
  color: var(--dim);
  font-size: 14px;
  line-height: 1.45;
}

.side-note {
  border-left: 1px solid var(--line);
  padding-left: 28px;
}

.order-info {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.order-info p {
  margin: 0;
  border-bottom: 1px solid var(--soft-line);
  padding-bottom: 16px;
}

.order-info span {
  display: block;
  margin-bottom: 6px;
  color: var(--dim);
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  text-transform: uppercase;
}

.order-info strong {
  display: block;
  color: #fff;
  font-family: Consolas, "Courier New", monospace;
  font-size: 24px;
}

.order-toast {
  position: fixed;
  right: clamp(16px, 4vw, 38px);
  bottom: 24px;
  z-index: 50;
  max-width: min(420px, calc(100vw - 32px));
  border: 1px solid rgba(10, 141, 255, 0.55);
  border-radius: 8px;
  padding: 13px 16px;
  color: #fff;
  background: rgba(5, 6, 7, 0.96);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  font-family: Consolas, "Courier New", monospace;
  font-size: 14px;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.order-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.order-toast.is-sent {
  border-color: rgba(10, 141, 255, 0.8);
}

.order-toast.is-error {
  border-color: rgba(220, 38, 38, 0.85);
}

.muted {
  color: var(--dim);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(20px, 7vw, 128px);
  border-top: 1px solid var(--soft-line);
  color: var(--dim);
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
}

@media (max-width: 920px) {
  .topbar {
    align-items: center;
    flex-direction: row;
    gap: 22px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .logo {
    width: 190px;
    height: auto;
  }

  .logo img {
    width: 100%;
  }

  .nav {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .product,
  .hero,
  .detail-section,
  .measure-section,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    min-height: 300px;
    order: 2;
  }

  .product-info {
    order: 1;
  }

  .modes {
    grid-template-columns: 1fr;
  }

  .measure-grid {
    grid-template-columns: 1fr;
  }

  .side-note {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 28px 0 0;
  }
}

@media (max-width: 620px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .logo {
    width: 184px;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

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

  th,
  td,
  table,
  tbody,
  tr {
    display: block;
    width: 100%;
  }

  th {
    padding-bottom: 4px;
    border-bottom: 0;
  }

  td {
    padding-top: 4px;
    border-top: 0;
  }

  .footer {
    flex-direction: column;
  }
}
