.top:has(+ #content .create-hero) {
  background: #faf9f7;
  border-color: #e8e3da;
}
.top:has(+ #content .create-hero) .top-inner { gap: clamp(12px, 4vw, 48px); }
.top:has(+ #content .create-hero) nav a[aria-current=page] {
  color: #242421;
  text-decoration: underline;
  text-decoration-color: #bd4939;
  text-underline-offset: 7px;
}
.top:has(+ #content .create-hero) .privacy-link { color: #64645e; }

.create-hero {
  --hero-paper: #fffdf9;
  display: grid;
  grid-template-areas: "card intro" "card actions";
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  max-width: 1600px;
  min-height: clamp(365px, 31vw, 465px);
  margin: 0 auto;
  background: var(--hero-paper);
  color: #252421;
  border-bottom: 1px solid #e5e2dc;
}
.create-panel {
  grid-area: card;
  align-self: center;
  justify-self: end;
  width: min(480px, calc(100% - 32px));
  margin-inline-end: clamp(18px, 3vw, 48px);
  padding: clamp(18px, 2.1vw, 32px);
  border: 1px solid #e5e2dc;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 3px 12px #44321f0d;
}
.create-panel h2 {
  margin: 0 0 12px;
  font-size: clamp(1.15rem, 1.55vw, 1.55rem);
  font-weight: 650;
  letter-spacing: -.035em;
  line-height: 1.15;
}
.create-panel-body {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(8px, 1.2vw, 18px);
}
.create-sources {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.source-choice {
  position: relative;
  cursor: pointer;
}
.source-choice > span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 4px 10px;
  border-radius: 6px;
  color: #514c46;
  font-size: clamp(.81rem, 1.02vw, .94rem);
  line-height: 1.2;
  white-space: nowrap;
}
.source-choice input:checked + span {
  color: #93392e;
  background: #faece6;
  font-weight: 650;
}
.source-choice input:focus-visible + span {
  outline: 3px solid #3165ba;
  outline-offset: 2px;
}
.create-sample {
  display: grid;
  gap: 6px;
  align-content: center;
  justify-items: center;
  min-width: 0;
  padding: 8px;
  min-height: 44px;
  border: 1px solid #e9ded2;
  border-radius: 9px;
  background: #fbf5ee;
  color: #853629;
}
.create-sample img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #e5e2dc;
  border-radius: 3px;
  box-shadow: 0 2px 5px #32261518;
}
.create-sample > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  font-size: .78rem;
  line-height: 1.35;
  font-weight: 620;
}
@media (hover: hover) {
  .source-choice:hover input:not(:checked) + span { background: #f6f4f0; }
  .create-sample:hover > span { text-decoration: underline; text-underline-offset: 3px; }
}
.create-intro,
.create-actions {
  width: 100%;
  max-width: 650px;
  padding-inline: clamp(26px, 4vw, 60px) clamp(25px, 4.3vw, 68px);
}
.create-intro {
  grid-area: intro;
  align-self: end;
  padding-top: clamp(32px, 5vw, 68px);
}
.create-intro h1 {
  margin: 0;
  font-size: clamp(2.7rem, 4vw, 4.15rem);
  font-weight: 690;
  letter-spacing: -.063em;
  line-height: 1.02;
}
.create-intro h1 em {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.053em;
}
.create-intro p {
  max-width: 41ch;
  margin: 14px 0 0;
  color: #56534c;
  font-size: clamp(.97rem, 1.17vw, 1.1rem);
  line-height: 1.55;
}
.create-actions {
  grid-area: actions;
  align-self: start;
  padding-top: 15px;
  padding-bottom: clamp(32px, 5vw, 68px);
}
#create-description { margin: 0 0 10px; color: #56534c; font-size: .87rem; line-height: 1.4; }
.create-buttons { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 10px; }
.create-buttons .primary { border-radius: 999px; min-height: 48px; padding-inline: 24px; }
.create-buttons .text-button { border: 0; background: transparent; color: #433f39; }
.create-buttons .text-button:hover, .create-buttons .text-button:focus-visible { background: #f1ede6; }
.create-status { margin: 10px 0 0; font-size: .87rem; line-height: 1.4; color: #883a2e; }
.create-status:empty { margin: 0; }
@media (min-width: 701px) and (max-width: 960px) {
  .create-panel { width: calc(100% - 32px); margin-inline-end: 0; }
  .create-intro, .create-actions { padding-inline: 30px 20px; }
  .create-intro h1 { font-size: clamp(2.35rem, 4.6vw, 2.8rem); }
}
@media (max-width: 700px) {
  .create-hero {
    grid-template-areas: "intro" "card" "actions";
    min-height: auto;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
  }
  .create-intro, .create-actions { max-width: none; padding-inline: max(16px, 5vw); }
  .create-intro { padding-block: 20px 16px; }
  .create-intro h1 { font-size: clamp(2.1rem, 8.5vw, 3rem); }
  .create-intro p { margin-top: 9px; font-size: .94rem; line-height: 1.4; }
  .create-panel {
    width: min(425px, calc(100% - max(32px, 10vw)));
    justify-self: center;
    margin-inline-end: 0;
    padding: 14px clamp(12px, 4vw, 22px);
    border-radius: 9px;
  }
  .create-panel h2 { margin-bottom: 4px; font-size: 1.12rem; }
  .create-panel-body { column-gap: 10px; }
  .source-choice > span { padding-inline: 7px; }
  .create-actions { padding-block: 14px 18px; }
  .create-buttons .primary { min-height: 44px; padding-inline: 20px; }
  .create-buttons .text-button { padding-inline: 12px; }
}
@media (max-width: 380px) {
  .top:has(+ #content .create-hero) .top-inner { gap: 7px; }
  .top:has(+ #content .create-hero) nav a { font-size: .78rem; }
  .source-choice > span { gap: 5px; }
}
