/* Home sections under hero — SPEC §3 + home-proposal. Shell in site-shell.css. */
@font-face {
  font-family: Michroma;
  src: url(/assets/fonts/Michroma.woff2) format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url(/assets/fonts/Inter-var.woff2) format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url(/assets/fonts/JetBrainsMono-var.woff2) format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

.hs {
  border-top: 1px solid var(--line);
  padding: 120px 0;
}
#get,
#how,
#connections,
#security,
#access {
  scroll-margin-top: 88px;
}
.hs h2 {
  font-family: Michroma, sans-serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 1.25;
  letter-spacing: 0.2px;
}
html[lang="ru"] .hs h2 {
  font-family: Inter, sans-serif;
  font-weight: 500;
  letter-spacing: -0.5px;
  font-size: 42px;
}
.hs .sub {
  font-size: 18px;
  line-height: 1.6;
  color: #a3a3a3;
  margin-top: 18px;
  max-width: 640px;
}
.hs .eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--muted);
}
.hs .eyebrow + h2 {
  margin-top: 16px;
}

.gg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 56px;
}
.gc {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  padding: 32px 34px 34px;
}
.gc .k {
  font: 500 11.5px "JetBrains Mono", monospace;
  letter-spacing: 1.6px;
  color: var(--faint-text);
}
.gc h3 {
  font: 600 21px / 1.35 Inter, sans-serif;
  color: var(--text);
  margin-top: 16px;
  max-width: 460px;
}
.gc p {
  font-size: 16px;
  line-height: 1.6;
  color: #9f9f9f;
  margin-top: 12px;
  max-width: 520px;
}

.win {
  margin-top: 56px;
  border: 1px solid var(--edge);
  border-radius: 14px;
  overflow: hidden;
  background: #050505;
}
.win .wb {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.win .wb i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #262626;
}
.win .wb span {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font: 12px "JetBrains Mono", monospace;
  color: var(--faint-text);
}
.win img {
  display: block;
  width: 100%;
  height: auto;
}
.note {
  font-size: 12.5px;
  color: var(--faint-text);
  margin-top: 14px;
}

.st3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  margin-top: 56px;
}
.st3 .n {
  font: 500 13px "JetBrains Mono", monospace;
  color: var(--faint-text);
}
.st3 h3 {
  font: 600 20px / 1.35 Inter, sans-serif;
  color: var(--text);
  margin-top: 16px;
}
.st3 p {
  font-size: 16px;
  line-height: 1.6;
  color: #9f9f9f;
  margin-top: 10px;
}

.end {
  text-align: center;
}
.end h2,
.hs.acc h2 {
  max-width: 900px;
  margin: 0 auto;
  font-size: 34px;
  line-height: 1.4;
}
html[lang="ru"] .end h2,
html[lang="ru"] .hs.acc h2 {
  font-size: 36px;
}
.end .row {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 36px;
}

/* Existing sections restyled to SPEC padding / tokens */
.hs.conn .cgrid {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 706px);
  gap: 74px;
  align-items: center;
}
.hs.conn .pts {
  margin-top: 30px;
}
.hs.conn .pt {
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-size: 16.5px;
  line-height: 1.45;
  color: #cfcfcf;
  margin-bottom: 16px;
}
.hs.conn .pt .d {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--faint);
  flex: none;
  transform: translateY(-2px);
}
.hs.conn .pt b {
  color: #fff;
  font-weight: 600;
}
.hs.conn .cnote {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--faint-text);
  margin-top: 28px;
  max-width: 380px;
}
.hs.conn .shot {
  width: 100%;
  max-width: 706px;
  display: block;
}

/* Security A — SPEC §9 */
#security {
  padding: 96px 0;
}
#security .eyebrow {
  font-weight: 500;
}
#security .eyebrow + h2 {
  margin-top: 18px;
  font-size: 36px;
  line-height: 1.3;
}
html[lang="ru"] #security h2 {
  font-size: 38px;
}
#security .g3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 48px;
}
#security .g3 h3 {
  font: 600 19px / 1.4 Inter, sans-serif;
  color: var(--text);
}
#security .g3 p {
  font-size: 15.5px;
  line-height: 1.6;
  color: #a3a3a3;
  margin-top: 10px;
}

.hs.acc {
  text-align: center;
}
.hs.acc .lead {
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.65;
  color: #a3a3a3;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.hs.acc .form-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 34px;
  flex-wrap: wrap;
}
.hs.acc .inp {
  width: 340px;
  max-width: 100%;
  height: 44px;
  border: 1px solid var(--edge);
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-size: 15px;
  color: var(--text);
  background: var(--raised);
  font-family: inherit;
}
.hs.acc .inp:focus {
  outline: 2px solid var(--acc);
  outline-offset: 2px;
  border-color: var(--acc);
}
.hs.acc .trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.hs.acc .form-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 1099.98px) {
  .hs {
    padding: 88px 0;
  }
  .gg {
    grid-template-columns: 1fr;
  }
  .st3 {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hs.conn .cgrid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  #security .g3 {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
@media (max-width: 600px) {
  #get,
  #how,
  #connections,
  #security,
  #access {
    scroll-margin-top: 76px;
  }
  .hs {
    padding: 64px 0;
  }
  #security {
    padding: 64px 0;
  }
  .hs h2,
  html[lang="ru"] .hs h2 {
    font-size: 28px;
  }
  .hs .sub {
    font-size: 16px;
  }
  .gg {
    margin-top: 32px;
    gap: 14px;
  }
  .gc {
    padding: 24px;
  }
  .gc h3 {
    font-size: 18px;
  }
  .gc p {
    font-size: 15px;
  }
  .win {
    margin-top: 32px;
  }
  .win .wb span {
    font-size: 10.5px;
  }
  .st3 {
    margin-top: 32px;
  }
  .end h2,
  html[lang="ru"] .end h2,
  .hs.acc h2,
  html[lang="ru"] .hs.acc h2 {
    font-size: 22px;
  }
  #security h2,
  #security .eyebrow + h2,
  html[lang="ru"] #security h2 {
    font-size: 28px;
  }
  .end .row {
    flex-direction: column;
  }
  .end .row .btn {
    justify-content: center;
    height: 48px;
  }
  #security .g3 {
    margin-top: 32px;
    gap: 28px;
  }
  #security .g3 h3 {
    font-size: 18px;
  }
  #security .g3 p {
    font-size: 15px;
  }
}
