.qwd-hero {
  overflow: hidden;
  padding: 14px 0 clamp(44px, 6vw, 88px);
  background: radial-gradient(ellipse at 95% 40%, #dce9fb 0%, transparent 60%), var(--pale);
}
.qwd-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 5.5vw, 76px);
  align-items: center;
  padding-top: clamp(28px, 5vw, 62px);
}
.qwd-hero-grid-text { grid-template-columns: minmax(0, 740px); }
.qwd-hero .q-eyebrow, .qwd-guide > .q-eyebrow { margin: 0 0 14px; }
.qwd-hero h1 {
  max-width: 18ch;
  margin: 0 0 20px;
  font-size: clamp(39px, 4.65vw, 68px);
  line-height: 1.01;
  letter-spacing: -.055em;
  overflow-wrap: anywhere;
}
.qwd-hero h1 em { display: block; font-style: normal; color: var(--blue); }
.qwd-hero .q-lead { max-width: 48ch; margin: 0; }
.qwd-hero .q-actions { align-items: center; gap: 14px 20px; margin-top: 24px; }
.qwd-text-link { font-size: 14px; font-weight: 700; }
.qwd-text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.qwd-showcase { position: relative; margin: 0; padding: 0 24px 12px 0; }
.qwd-window, .qwd-window-secondary {
  overflow: hidden;
  border: 1px solid #cbd8e7;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 42px #09213e20;
}
.qwd-window-bar { display: flex; align-items: center; gap: 5px; padding: 9px 13px; }
.qwd-window-bar i { width: 6px; height: 6px; border-radius: 50%; background: #b9c8d8; }
.qwd-window-bar span { margin-left: auto; color: var(--muted); font-size: 10px; letter-spacing: .07em; }
.qwd-window img, .qwd-window-secondary img, .qwd-card-preview img {
  display: block;
  width: 100%;
  object-fit: cover;
  object-position: top center;
}
.qwd-window img { height: clamp(250px, 30vw, 398px); }
.qwd-window-secondary {
  position: absolute;
  right: 0;
  bottom: 26px;
  width: 27%;
  border: 5px solid #fff;
  transform: rotate(6deg);
}
.qwd-window-secondary img { height: auto; aspect-ratio: 2 / 3; }
.qwd-showcase figcaption { margin-top: 8px; color: var(--muted); font-size: 12px; }
.qwd-section { padding-block: clamp(52px, 7vw, 92px); }
.qwd-section h2, .qwd-final h2 {
  margin: 0 0 24px;
  font-size: clamp(30px, 4vw, 51px);
  letter-spacing: -.04em;
  line-height: 1.09;
}
.qwd-section h3 { margin: 0 0 8px; font-size: clamp(19px, 2vw, 23px); line-height: 1.18; }
.qwd-section p, .qwd-final p { color: var(--muted); }
.qwd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.qwd-benefit { padding: 23px; border: 1px solid var(--line); border-radius: 16px; }
.qwd-benefit p, .qwd-process li p { margin: 0; }
.qwd-icon {
  display: grid;
  width: 43px;
  height: 43px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 11px;
  color: var(--blue);
  background: var(--pale);
}
.qwd-icon svg { width: 23px; height: 23px; }
.qwd-gallery { background: var(--pale); }
.qwd-section-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 24px; }
.qwd-section-head h2 { margin-bottom: 12px; }
.qwd-section-head p { margin: 0; max-width: 64ch; }
.qwd-card { overflow: hidden; border-radius: 17px; background: #fff; border: 1px solid var(--line); }
.qwd-card-preview { position: relative; display: block; overflow: hidden; background: #dbe4ef; }
.qwd-card-preview:focus-visible { outline-offset: -4px; }
.qwd-card-preview img { height: auto; aspect-ratio: 16 / 10; transition: transform .25s ease; }
.qwd-card-preview:hover img { transform: scale(1.035); }
.qwd-card-preview span {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  color: var(--navy);
}
.qwd-card-body { padding: 18px 22px 23px; }
.qwd-card-body .qwd-index { margin: 0 0 6px; font-size: 12px; color: var(--blue); font-weight: 750; }
.qwd-process { background: var(--navy); color: #fff; }
.qwd-process h2, .qwd-process h3 { color: #fff; }
.qwd-process ol { margin: 0; padding: 0; list-style: none; }
.qwd-process li { padding: 19px 0 0; border-top: 1px solid #ffffff4f; }
.qwd-process li > span { display: inline-block; margin-bottom: 12px; color: #9cc8ff; font-size: 13px; font-weight: 750; }
.qwd-process p { color: #d6e3f4; }
.qwd-guide h2 { max-width: 25ch; }
.qwd-guide-layout { display: grid; grid-template-columns: minmax(185px, 245px) minmax(0, 740px); gap: clamp(24px, 6vw, 85px); }
.qwd-guide-nav { align-self: start; padding: 20px 20px 16px; background: var(--pale); border-radius: 14px; }
.qwd-guide-nav ol { margin: 10px 0 0; padding-inline-start: 18px; }
.qwd-guide-nav li + li { margin-top: 8px; }
.qwd-guide-nav a { font-size: 14px; line-height: 1.35; }
.qwd-guide-content section + section { margin-top: 27px; padding-top: 25px; border-top: 1px solid var(--line); }
.qwd-guide-content p { margin: 0; color: var(--ink); max-width: 72ch; }
.qwd-guide-content p + p { margin-top: 12px; }
.qwd-related { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 28px; }
.qwd-final {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: clamp(48px, 7vw, 84px);
  padding: clamp(22px, 5vw, 55px);
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--pale);
}
.qwd-final h2 { margin-bottom: 10px; }
.qwd-final p { margin: 0; max-width: 56ch; }
.qwd-final .q-button { flex-shrink: 0; }

@media (max-width: 920px) {
  .qwd-hero-grid { gap: 28px; }
  .qwd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qwd-hero h1 { font-size: clamp(36px, 6vw, 53px); }
  .qwd-final { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 680px) {
  .qwd-hero-grid, .qwd-grid, .qwd-guide-layout { grid-template-columns: minmax(0, 1fr); }
  .qwd-hero-grid { padding-top: 23px; }
  .qwd-window img { height: clamp(220px, 56vw, 300px); }
  .qwd-showcase { padding-right: 15px; }
  .qwd-section-head { align-items: start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { .qwd-card-preview img { transition: none; } }

.qwd-shop-hero .qwd-window-secondary img {
  aspect-ratio: 4 / 3;
  object-position: center;
}
.qwd-shop-gallery .qwd-card-preview img { object-position: center; }
.qwd-card-body .qwd-example-name { margin: 0 0 8px; font-size: 13px; }
.qwd-card-actions { display: flex; flex-wrap: wrap; gap: 6px 16px; }
