.torrent-search-page {
  --torrent-ink: #101820;
  --torrent-muted: #5b6673;
  --torrent-paper: #f4f0e6;
  --torrent-panel: #fffaf0;
  --torrent-green: #0f7b62;
  --torrent-lime: #b8d45b;
  --torrent-blue: #123c69;
  --torrent-rust: #b85c38;
  --torrent-line: rgba(16, 24, 32, 0.14);
  background:
    radial-gradient(circle at 12% 12%, rgba(184, 212, 91, 0.28), transparent 28rem),
    radial-gradient(circle at 82% 14%, rgba(18, 60, 105, 0.18), transparent 24rem),
    linear-gradient(120deg, rgba(15, 123, 98, 0.08), transparent 36rem),
    var(--torrent-paper);
  color: var(--torrent-ink);
}

.torrent-hero {
  min-height: calc(100vh - 82px);
  overflow: hidden;
  padding: clamp(4rem, 8vw, 7.2rem) 0 clamp(4rem, 8vw, 6.5rem);
  position: relative;
}

.torrent-hero__mesh {
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(16, 24, 32, 0.055) 1px, transparent 1px),
    repeating-linear-gradient(135deg, rgba(15, 123, 98, 0.12) 0 2px, transparent 2px 22px);
  background-size: 38px 38px, 38px 38px, auto;
  inset: 0;
  mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
  pointer-events: none;
  position: absolute;
}

.torrent-hero::before,
.torrent-hero::after {
  content: "";
  pointer-events: none;
  position: absolute;
}

.torrent-hero::before {
  background: rgba(15, 123, 98, 0.14);
  border: 1px solid rgba(16, 24, 32, 0.12);
  border-radius: 999px;
  height: 22rem;
  right: -6rem;
  top: 7rem;
  width: 22rem;
}

.torrent-hero::after {
  background: rgba(184, 212, 91, 0.22);
  bottom: 4rem;
  clip-path: polygon(10% 0, 100% 16%, 82% 100%, 0 76%);
  height: 12rem;
  left: -3.5rem;
  width: 20rem;
}

.torrent-hero__content {
  position: relative;
  z-index: 1;
}

.torrent-eyebrow,
.torrent-section__label {
  color: var(--torrent-green);
  font-family: var(--nav-font);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.torrent-hero h1 {
  color: var(--torrent-ink);
  font-size: clamp(3rem, 6.9vw, 6.35rem);
  font-weight: 950;
  hyphens: auto;
  letter-spacing: -0.07em;
  line-height: 0.9;
  margin: 0;
  max-width: 12ch;
  overflow-wrap: break-word;
  text-wrap: balance;
  word-break: normal;
}

.torrent-hero__lead,
.torrent-hero__note,
.torrent-section__copy,
.torrent-section__intro p,
.torrent-feature-grid p,
.torrent-use-case-grid p,
.torrent-steps span,
.torrent-faq dd,
.torrent-final__copy {
  color: var(--torrent-muted);
  line-height: 1.7;
}

.torrent-hero__lead {
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
  margin: 1.6rem 0 1rem;
  max-width: 780px;
}

.torrent-hero__note {
  font-size: 1.02rem;
  margin: 0 0 1.6rem;
  max-width: 760px;
}

.torrent-hero__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.torrent-hero__cta,
.torrent-search-form button,
.torrent-final__link {
  align-items: center;
  background: var(--torrent-green);
  border: 0;
  color: #fff;
  display: inline-flex;
  font-weight: 900;
  gap: 0.55rem;
  justify-content: center;
  min-height: 58px;
  padding: 0 1.25rem;
  text-decoration: none;
  transition: background-color 180ms ease, transform 180ms ease;
  white-space: nowrap;
}

.torrent-hero__cta:hover,
.torrent-search-form button:hover,
.torrent-final__link:hover {
  background: var(--torrent-blue);
  color: #fff;
  transform: translateY(-1px);
}

.torrent-hero__secondary {
  color: var(--torrent-blue);
  font-weight: 900;
  text-decoration-color: rgba(18, 60, 105, 0.35);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25rem;
}

.torrent-search-form {
  max-width: 780px;
}

.torrent-search-form__group {
  background: rgba(255, 250, 240, 0.94);
  border: 1px solid var(--torrent-line);
  box-shadow: 0 22px 70px rgba(16, 24, 32, 0.14);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  overflow: hidden;
}

.torrent-search-form input {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--torrent-ink);
  font-size: 1.05rem;
  min-width: 0;
  outline: 0;
  padding: 1.15rem 1.25rem;
}

.torrent-hero__examples {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.torrent-hero__examples a {
  background: rgba(255, 250, 240, 0.86);
  border: 1px solid var(--torrent-line);
  color: var(--torrent-blue);
  font-size: 0.92rem;
  font-weight: 850;
  padding: 0.55rem 0.78rem;
  text-decoration: none;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.torrent-hero__examples a:hover {
  border-color: rgba(15, 123, 98, 0.5);
  color: var(--torrent-green);
  transform: translateY(-1px);
}

.torrent-node-card {
  background: linear-gradient(145deg, rgba(16, 24, 32, 0.98), rgba(18, 60, 105, 0.94));
  box-shadow: 0 28px 85px rgba(16, 24, 32, 0.24);
  color: #fff;
  margin-left: auto;
  max-width: 500px;
  min-height: 520px;
  overflow: hidden;
  padding: 1rem;
  position: relative;
  transform: rotate(1.5deg);
}

.torrent-node-card__top {
  align-items: center;
  display: flex;
  font-family: var(--nav-font);
  font-size: 0.82rem;
  font-weight: 900;
  justify-content: space-between;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.25rem 1rem;
  text-transform: uppercase;
}

.torrent-node-card__orbit {
  inset: 4rem 1.25rem 7rem;
  position: absolute;
}

.torrent-node-card__orbit::before,
.torrent-node-card__orbit::after {
  border: 1px solid rgba(184, 212, 91, 0.36);
  border-radius: 50%;
  content: "";
  inset: 8% 4%;
  position: absolute;
}

.torrent-node-card__orbit::after {
  inset: 18% 18%;
  transform: rotate(22deg);
}

.torrent-node-card__orbit span {
  background: var(--torrent-lime);
  border-radius: 999px;
  box-shadow: 0 0 22px rgba(184, 212, 91, 0.65);
  height: 0.8rem;
  position: absolute;
  width: 0.8rem;
}

.torrent-node-card__orbit span:nth-child(1) {
  left: 10%;
  top: 32%;
}

.torrent-node-card__orbit span:nth-child(2) {
  right: 14%;
  top: 20%;
}

.torrent-node-card__orbit span:nth-child(3) {
  bottom: 22%;
  left: 25%;
}

.torrent-node-card__orbit span:nth-child(4) {
  bottom: 30%;
  right: 18%;
}

.torrent-node-card__core {
  align-items: center;
  background: var(--torrent-panel);
  color: var(--torrent-ink);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  justify-content: center;
  left: 50%;
  min-height: 160px;
  padding: 1.15rem 1.35rem;
  position: absolute;
  text-align: center;
  top: 37%;
  transform: translate(-50%, -50%);
  width: min(82%, 390px);
  z-index: 2;
}

.torrent-node-card__core i {
  color: var(--torrent-green);
  font-size: 2.35rem;
}

.torrent-node-card__core b {
  color: var(--torrent-blue);
  font-family: var(--heading-font);
  font-size: clamp(1.75rem, 3.4vw, 2.25rem);
  hyphens: none;
  letter-spacing: -0.04em;
  line-height: 0.95;
  overflow-wrap: normal;
  word-break: normal;
}

.torrent-node-card__core small {
  color: var(--torrent-muted);
  font-weight: 900;
  text-transform: uppercase;
}

.torrent-node-card__list {
  bottom: 1rem;
  display: grid;
  gap: 0.5rem;
  left: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  right: 1rem;
}

.torrent-node-card__list li {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 800;
  padding: 0.65rem 0.75rem;
}

.torrent-section {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
}

.torrent-section--intro,
.torrent-section--workflow {
  background: rgba(255, 250, 240, 0.72);
  border-bottom: 1px solid var(--torrent-line);
  border-top: 1px solid var(--torrent-line);
}

.torrent-section__intro {
  margin: 0 auto 2rem;
  max-width: 820px;
  text-align: center;
}

.torrent-section__intro--wide {
  max-width: 960px;
}

.torrent-section h2 {
  color: var(--torrent-ink);
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  font-weight: 950;
  letter-spacing: -0.055em;
  line-height: 0.98;
  margin: 0 0 1rem;
}

.torrent-section--intro h2,
.torrent-section--workflow h2 {
  font-size: clamp(2.1rem, 3.4vw, 3.3rem);
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.torrent-section h3 {
  color: var(--torrent-ink);
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 0.7rem;
}

.torrent-feature-grid,
.torrent-use-case-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.torrent-use-case-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.torrent-feature-grid article,
.torrent-use-case-grid article,
.torrent-faq,
.torrent-final {
  background: rgba(255, 250, 240, 0.9);
  border: 1px solid var(--torrent-line);
  box-shadow: 0 18px 55px rgba(16, 24, 32, 0.09);
}

.torrent-feature-grid article,
.torrent-use-case-grid article {
  padding: 1.35rem;
}

.torrent-feature-grid i {
  color: var(--torrent-green);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.torrent-use-case-grid span {
  color: var(--torrent-rust);
  display: block;
  font-family: var(--nav-font);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 1.2rem;
}

.torrent-steps {
  counter-reset: torrent-step;
  display: grid;
  gap: 0.9rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.torrent-steps li {
  background: var(--torrent-panel);
  border: 1px solid var(--torrent-line);
  display: grid;
  gap: 0.45rem;
  padding: 1.15rem 1.25rem 1.15rem 4.5rem;
  position: relative;
}

.torrent-steps li::before {
  color: var(--torrent-green);
  content: counter(torrent-step, decimal-leading-zero);
  counter-increment: torrent-step;
  font-family: var(--nav-font);
  font-size: 1rem;
  font-weight: 950;
  left: 1.25rem;
  position: absolute;
  top: 1.2rem;
}

.torrent-steps b {
  color: var(--torrent-ink);
  font-size: 1.05rem;
}

.torrent-faq {
  margin: 0 auto;
  max-width: 900px;
  padding: 0.4rem 1.4rem;
}

.torrent-faq dt {
  color: var(--torrent-ink);
  font-weight: 950;
  padding-top: 1.1rem;
}

.torrent-faq dd {
  border-bottom: 1px solid var(--torrent-line);
  margin: 0;
  padding: 0.45rem 0 1.1rem;
}

.torrent-faq dd:last-child {
  border-bottom: 0;
}

.torrent-final {
  align-items: center;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  padding: clamp(1.5rem, 4vw, 2.4rem);
}

.torrent-final__copy {
  margin: 0.5rem 0 0;
  max-width: 760px;
}

.torrent-final__copy a {
  color: var(--torrent-green);
  font-weight: 900;
}

@media (max-width: 991.98px) {
  .torrent-node-card {
    margin: 0;
    max-width: none;
    transform: none;
  }

  .torrent-feature-grid,
  .torrent-use-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .torrent-hero h1 {
    font-size: clamp(2.75rem, 18vw, 4.2rem);
  }

  .torrent-search-form__group,
  .torrent-final {
    display: grid;
    grid-template-columns: 1fr;
  }

  .torrent-search-form button,
  .torrent-hero__cta,
  .torrent-final__link {
    width: 100%;
  }

  .torrent-feature-grid,
  .torrent-use-case-grid {
    grid-template-columns: 1fr;
  }

  .torrent-node-card {
    min-height: 500px;
  }
}
