:root {
  --bg: #07090c;
  --panel: rgba(12, 17, 22, 0.78);
  --panel-strong: #0e151b;
  --line: rgba(255, 255, 255, 0.14);
  --text: #f6f8fb;
  --muted: #a8b3bd;
  --cyan: #35d9ff;
  --green: #67e7b0;
  --amber: #f4be63;
  --danger: #ff817a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input {
  font: inherit;
}

.shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.hero,
.result-hero {
  position: relative;
  min-height: 78vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 72px 0 56px;
}

.hero__media,
.result-bg {
  position: absolute;
  inset: 0;
  background-image: url("/static/img/hero-network.png");
  background-size: cover;
  background-position: center;
  opacity: 0.88;
  transform: scale(1.02);
}

.hero__shade,
.result-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 9, 12, 0.98) 0%, rgba(7, 9, 12, 0.82) 42%, rgba(7, 9, 12, 0.36) 100%),
    linear-gradient(180deg, rgba(7, 9, 12, 0) 70%, #07090c 100%);
}

.hero__grid,
.result-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px var(--green);
}

h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(40px, 7vw, 82px);
  line-height: 0.95;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero__facts span {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.07);
  padding: 10px 14px;
  border-radius: 999px;
  color: #dce6ee;
  font-weight: 700;
}

.trial-form,
.subscription-panel {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  border-radius: 8px;
  padding: 26px;
}

.form-head {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 24px;
  color: #dce6ee;
  font-weight: 800;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 22px var(--cyan);
}

label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-weight: 700;
}

.input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

input {
  min-width: 0;
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(4, 6, 9, 0.66);
  color: var(--text);
  border-radius: 8px;
  padding: 15px 16px;
  outline: none;
}

input:focus {
  border-color: rgba(53, 217, 255, 0.72);
  box-shadow: 0 0 0 4px rgba(53, 217, 255, 0.13);
}

button {
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  min-height: 52px;
  color: #061014;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  font-weight: 900;
  cursor: pointer;
}

.notice {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.notice--error {
  color: #ffd0cd;
  background: rgba(255, 129, 122, 0.12);
  border: 1px solid rgba(255, 129, 122, 0.28);
  border-radius: 8px;
  padding: 12px;
}

.band {
  padding: 42px 0 72px;
  background:
    linear-gradient(180deg, #07090c, #0a0f12 46%, #07090c),
    #07090c;
}

.steps,
.instruction-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step,
.instruction {
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
  padding: 24px;
}

.step__num {
  color: var(--amber);
  font-weight: 900;
}

h2 {
  margin: 14px 0 10px;
  font-size: 22px;
  line-height: 1.15;
}

.step p,
.instruction p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.result-layout {
  grid-template-columns: minmax(0, 0.9fr) minmax(330px, 440px);
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
  max-width: 620px;
}

.meta-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  padding: 16px;
}

.meta-grid span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 6px;
}

.meta-grid strong {
  display: block;
  overflow-wrap: anywhere;
}

.qr-wrap {
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 8px;
  padding: 16px;
}

.qr-wrap img {
  width: min(100%, 280px);
  aspect-ratio: 1;
}

.link-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
}

.link-box span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px 14px;
  background: rgba(4, 6, 9, 0.66);
}

.copy-status {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--green);
  font-weight: 700;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--cyan);
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 860px) {
  .hero,
  .result-hero {
    min-height: auto;
    padding: 54px 0 34px;
  }

  .hero__grid,
  .result-layout,
  .steps,
  .instruction-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 46px;
  }

  .lead {
    font-size: 18px;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 22px, 1160px);
  }

  h1 {
    font-size: 38px;
  }

  .input-row,
  .link-box,
  .meta-grid {
    grid-template-columns: 1fr;
  }

  button {
    width: 100%;
  }

  .trial-form,
  .subscription-panel,
  .step,
  .instruction {
    padding: 18px;
  }
}
