:root {
  color-scheme: dark;
  font: 16px/1.55 system-ui, sans-serif;
  background: #050a07;
  color: #e6f8ea;
  --green: #68ff98;
  --muted: #b1cabb;
  --line: #284838;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: radial-gradient(ellipse at 70% 14%, #10301e 0%, transparent 38rem),
    repeating-linear-gradient(0deg, transparent 0 3px, #65ff9610 4px, transparent 5px);
}
a { color: inherit; text-underline-offset: .24em; }
a:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; }
.shell { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; top: 10px; left: 12px; transform: translateY(-160%); background: #08160d; padding: 10px; z-index: 2; }
.skip:focus { transform: none; }
.masthead, .footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 23px; }
.masthead { border-bottom: 1px solid var(--line); }
.brand, nav, .label, .action, figcaption, .footer { font-family: var(--mono); }
.brand { color: var(--green); font-weight: 750; text-decoration: none; white-space: nowrap; }
nav { display: flex; flex-wrap: wrap; gap: 8px clamp(14px, 3vw, 36px); font-size: .88rem; }
nav a { color: var(--muted); text-decoration: none; padding-block: 4px; }
nav a:hover, .footer a:hover { color: var(--green); text-decoration: underline; }
.hero, .contacts { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(0, 1fr); gap: clamp(26px, 5vw, 70px); align-items: center; }
.hero { padding-block: clamp(54px, 9vw, 116px); }
.label { color: var(--green); font-size: .75rem; letter-spacing: .09em; margin: 0 0 13px; }
h1, h2, h3 { line-height: 1.05; margin: 0; }
h1, h2 { letter-spacing: -.055em; }
h1 { font-size: clamp(2.75rem, 6.05vw, 5.5rem); }
h1 em, .cursor { color: var(--green); font-style: normal; text-shadow: 0 0 .35em #68ff9860; }
.cursor { font-family: var(--mono); font-size: .64em; }
h2 { font-size: clamp(2.25rem, 5vw, 4.3rem); }
h3 { font-size: clamp(1.45rem, 3vw, 2rem); }
.lead, article p:last-child { color: var(--muted); max-width: 42ch; }
.lead { font-size: clamp(1.02rem, 2vw, 1.2rem); margin: 21px 0; }
.action { display: inline-flex; align-items: center; gap: 12px; color: #08130c; background: var(--green); padding: 12px 16px; font-weight: 750; text-decoration: none; }
.action:hover { background: #a0ffbc; }
.visual { margin: 0; border: 1px solid var(--line); background: #09150e; }
.screen { position: relative; overflow: hidden; isolation: isolate; background: #143822; }
.screen img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; filter: grayscale(1) contrast(1.12); mix-blend-mode: luminosity; opacity: .78; }
.screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(transparent 0 3px, #00190f35 4px 5px); }
.rain { display: flex; justify-content: space-around; position: absolute; inset: 0; overflow: hidden; pointer-events: none; color: var(--green); opacity: .68; font: 700 .74rem/1 var(--mono); }
.rain span {
  writing-mode: vertical-rl;
  text-orientation: upright;
  height: max-content;
  letter-spacing: .2em;
  color: transparent;
  background: linear-gradient(transparent, #68ff98 82%, #e5ffec);
  background-clip: text;
  animation: fall 9s linear infinite;
}
.rain span:nth-child(2n) { animation-duration: 12s; animation-delay: -8s; }
.rain span:nth-child(3n) { animation-duration: 7s; animation-delay: -3s; }
.rain span:nth-child(4n + 1) { animation-delay: -5s; }
@keyframes fall { from { transform: translateY(-100%); } to { transform: translateY(360px); } }
figcaption { display: flex; justify-content: space-between; padding: 8px 12px; color: var(--green); font-size: .7rem; letter-spacing: .08em; }
.products, .contacts { padding-block: clamp(38px, 6vw, 75px); border-top: 1px solid var(--line); scroll-margin-top: 20px; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
article { padding: clamp(20px, 4vw, 34px); border: 1px solid var(--line); background: #09160f; }
article p:last-child { margin-bottom: 0; }
.contacts { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); }
.footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
@media (max-width: 760px) {
  .shell { width: calc(100% - 36px); }
  .hero, .contacts, .product-grid { grid-template-columns: 1fr; }
  .masthead { align-items: flex-start; flex-direction: column; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .rain span { animation: none; opacity: .55; }
}
