.cad-search-page {
  --cad-ink: #17202a;
  --cad-muted: #5e6b7a;
  --cad-paper: #edf4f6;
  --cad-blue: #235a7c;
  --cad-cyan: #0f9fb3;
  --cad-orange: #d9822b;
  --cad-steel: #273747;
  --cad-line: rgba(23, 32, 42, 0.14);
  background:
    radial-gradient(circle at 14% 8%, rgba(15, 159, 179, 0.18), transparent 26rem),
    radial-gradient(circle at 88% 14%, rgba(217, 130, 43, 0.18), transparent 24rem),
    var(--cad-paper);
  color: var(--cad-ink);
  overflow-x: clip;
}

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

.cad-hero__grid {
  background:
    linear-gradient(90deg, rgba(23, 32, 42, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(23, 32, 42, 0.055) 1px, transparent 1px);
  background-size: 36px 36px;
  inset: 0;
  mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
  pointer-events: none;
  position: absolute;
}

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

.cad-hero::before {
  border: 1px solid rgba(35, 90, 124, 0.22);
  height: 18rem;
  right: -4rem;
  top: 6rem;
  transform: rotate(-8deg);
  width: 28rem;
}

.cad-hero::after {
  background: rgba(217, 130, 43, 0.16);
  bottom: 4rem;
  clip-path: polygon(0 0, 100% 16%, 84% 100%, 8% 80%);
  height: 12rem;
  left: -3.5rem;
  width: 19rem;
}

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

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

.cad-hero h1 {
  color: var(--cad-ink);
  font-size: clamp(3.1rem, 8vw, 7rem);
  font-weight: 950;
  letter-spacing: -0.07em;
  line-height: 0.88;
  margin: 0;
  max-width: 10ch;
  hyphens: auto;
  overflow-wrap: break-word;
  word-break: normal;
}

.cad-hero__lead,
.cad-hero__note {
  color: var(--cad-muted);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  line-height: 1.68;
  max-width: 740px;
}

.cad-hero__lead {
  margin: 1.6rem 0 1rem;
}

.cad-hero__note {
  margin: 0 0 2rem;
}

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

.cad-search-form__group {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 159, 179, 0.24);
  box-shadow: 0 22px 70px rgba(23, 32, 42, 0.15);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  overflow: hidden;
}

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

.cad-search-form button,
.cad-final__link {
  align-items: center;
  background: var(--cad-blue);
  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;
}

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

.cad-hero__examples {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

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

.cad-hero__examples a:hover {
  border-color: rgba(15, 159, 179, 0.58);
  color: var(--cad-cyan);
  transform: translateY(-1px);
}

.cad-example {
  background:
    linear-gradient(145deg, rgba(39, 55, 71, 0.98), rgba(23, 32, 42, 0.94)),
    var(--cad-steel);
  box-shadow: 0 28px 85px rgba(23, 32, 42, 0.25);
  margin: 0;
  min-height: 430px;
  overflow: hidden;
  padding: 1.15rem;
  position: relative;
  transform: rotate(1deg);
}

.cad-example::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 30px 30px;
  content: "";
  inset: 0;
  position: absolute;
}

.cad-example__media {
  align-items: center;
  background:
    radial-gradient(circle at 50% 46%, rgba(15, 159, 179, 0.2), transparent 17rem),
    rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  justify-content: center;
  min-height: 330px;
  overflow: hidden;
  position: absolute;
  inset: 1.15rem 1.15rem 5.5rem;
  z-index: 1;
}

.cad-example__image {
  display: block;
  height: 100%;
  max-height: none;
  max-width: none;
  object-fit: cover;
  width: 100%;
}

.cad-example__caption {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  bottom: 1.15rem;
  color: var(--cad-ink);
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  left: 1.15rem;
  padding: 0.9rem 1rem;
  position: absolute;
  right: 1.15rem;
  text-transform: uppercase;
  z-index: 2;
}

.cad-example__caption span,
.cad-example__caption strong {
  font-family: var(--nav-font);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.cad-example__caption strong {
  color: var(--cad-cyan);
  text-align: right;
}

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

.cad-section--intro,
.cad-section--workflow,
.cad-section--faq {
  background: #fff;
  border-top: 1px solid var(--cad-line);
}

.cad-section--formats {
  background: #f3fafb;
}

.cad-section--final {
  background: var(--cad-steel);
  color: #fff;
}

.cad-section h2,
.cad-final h2 {
  color: inherit;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 940;
  letter-spacing: -0.05em;
  line-height: 0.96;
  margin: 0;
}

.cad-section__copy,
.cad-section__intro p,
.cad-format-grid p,
.cad-steps span,
.cad-faq dd,
.cad-final__copy {
  color: var(--cad-muted);
  line-height: 1.68;
}

.cad-section--final .cad-section__label,
.cad-section--final .cad-final__copy {
  color: rgba(255, 255, 255, 0.74);
}

.cad-format-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.cad-format-grid article,
.cad-steps li,
.cad-faq dt,
.cad-faq dd {
  background: #fff;
  border: 1px solid var(--cad-line);
  padding: 1.35rem;
}

.cad-format-grid i {
  color: var(--cad-cyan);
  font-size: 2rem;
}

.cad-format-grid h3,
.cad-steps b,
.cad-faq dt {
  color: var(--cad-ink);
  font-size: 1.1rem;
  font-weight: 900;
}

.cad-steps {
  display: grid;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cad-steps li {
  display: grid;
  gap: 0.45rem;
}

.cad-faq {
  display: grid;
  gap: 0.7rem;
  margin: 2rem 0 0;
}

.cad-faq dd {
  margin: -0.7rem 0 0;
}

.cad-final {
  align-items: center;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
}

@media (max-width: 991.98px) {
  .cad-format-grid {
    grid-template-columns: 1fr;
  }

  .cad-example {
    min-height: 360px;
  }

  .cad-example__media {
    min-height: 265px;
  }
}

@media (max-width: 575.98px) {
  .cad-hero {
    min-height: auto;
    padding: 3.5rem 0 4rem;
  }

  .cad-hero h1 {
    font-size: clamp(2.9rem, 15vw, 4.1rem);
    letter-spacing: -0.075em;
    max-width: 9ch;
  hyphens: auto;
  overflow-wrap: break-word;
  word-break: normal;
  }

  .cad-hero__lead,
  .cad-hero__note {
    font-size: 1rem;
    max-width: 100%;
  }

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

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

  .cad-hero__examples {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cad-hero__examples a {
    text-align: center;
  }

  .cad-example {
    margin: 2rem auto 0;
    max-width: min(100%, 340px);
    min-height: 340px;
    transform: none;
  }

  .cad-example__media {
    inset: 0.9rem 0.9rem 5.2rem;
    min-height: 0;
  }

  .cad-example__image {
    max-height: none;
    max-width: none;
  }

  .cad-example__caption {
    align-items: start;
    bottom: 0.9rem;
    display: grid;
    gap: 0.25rem;
    left: 0.9rem;
    right: 0.9rem;
  }

  .cad-example__caption strong {
    text-align: left;
  }
}
