.hero {
  min-height: calc(100svh - 136px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  align-items: center;
  gap: 44px;
  padding-block: 34px 40px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 10px;
  border: 1px solid rgba(15, 124, 112, 0.22);
  border-radius: 8px;
  color: var(--accent-strong);
  background: #edf7ef;
  font-size: 13px;
  font-weight: 900;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: 68px;
  line-height: 0.96;
}

.lead {
  max-width: 680px;
  margin: 22px 0 26px;
  color: #33433d;
  font-size: 22px;
  line-height: 1.42;
}

.link-tool {
  max-width: 720px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.input-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

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

.input-row input {
  min-width: 0;
  height: 56px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 15px;
  outline: 0;
  color: var(--ink);
  background: var(--surface);
  font-size: 16px;
}

.input-row input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 124, 112, 0.16);
}

.input-row button {
  height: 56px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.input-row button:disabled {
  opacity: 0.72;
  cursor: wait;
}

.platforms {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.platform {
  min-height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 13px;
  font-weight: 900;
}

.platform.is-active {
  color: var(--surface);
  background: var(--accent);
  border-color: var(--accent);
}

.result {
  display: none;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(15, 124, 112, 0.24);
  border-radius: 8px;
  color: var(--accent-strong);
  background: #ecf8ed;
  font-weight: 800;
  line-height: 1.35;
}

.result.show {
  display: block;
}

.result.error {
  color: #92351f;
  border-color: rgba(215, 94, 56, 0.32);
  background: #fff0e9;
}

.result-title {
  margin-bottom: 10px;
  font-weight: 900;
}

.result-hint {
  margin: 0 0 10px;
  color: #31524a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.download-list {
  display: grid;
  gap: 8px;
}

.quality-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 8px;
}

.quality-list button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--accent);
  font-size: 14px;
  font-weight: 900;
}

.download-list a {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  color: #fff;
  background: var(--accent);
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.tool-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.hero-visual {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid #18362f;
  border-radius: 8px;
  background: linear-gradient(145deg, #12201d 0%, #174e47 55%, #f0c84b 150%);
  box-shadow: var(--shadow);
}

.media-stack {
  position: absolute;
  width: 82%;
  max-width: 520px;
  right: 22px;
  top: 36px;
}

.preview-panel {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #fff;
  background: rgba(15, 28, 25, 0.72);
}

.preview-topline {
  display: flex;
  gap: 7px;
}

.preview-topline span {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: var(--sun);
}

.preview-topline span:nth-child(2) {
  background: #73d6af;
}

.preview-topline span:nth-child(3) {
  background: var(--warm);
}

.preview-copy {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 26px;
  font-size: 15px;
}

.preview-copy strong {
  font-size: 24px;
}

.preview-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.preview-list span {
  min-height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #10201c;
  background: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 900;
}

.details {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 34px;
  padding-block: 16px 70px;
}

.seo-copy h2 {
  max-width: 560px;
  font-size: 44px;
  line-height: 1.02;
}

.seo-copy p {
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.58;
}

.signals {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.signals li {
  min-height: 38px;
  display: flex;
  align-items: center;
  border-left: 4px solid var(--accent);
  padding-left: 12px;
  color: var(--ink);
  font-weight: 800;
}

.steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 78px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.steps span {
  color: var(--warm);
  font-size: 24px;
  font-weight: 900;
}

.steps strong {
  line-height: 1.38;
}

@media (max-width: 920px) {
  .hero,
  .details {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-block: 24px 34px;
  }

  .hero-visual {
    min-height: 390px;
  }

  h1 {
    font-size: 52px;
  }

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

@media (max-width: 620px) {
  h1 {
    font-size: 39px;
  }

  .seo-copy h2 {
    font-size: 34px;
  }

  .input-row {
    grid-template-columns: 1fr;
  }

  .platforms,
  .preview-list {
    grid-template-columns: 1fr 1fr;
  }

  .hero-visual {
    min-height: 330px;
  }

  .preview-panel {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
}
