:root {
  color-scheme: light;
}

.editing-guide-document,
.editing-guide-page {
  height: auto;
  min-height: 100%;
  overflow: visible;
}

.editing-guide-page {
  display: block;
  margin: 0;
  min-height: 100vh;
  color: #2b1f29;
  background: #fffafc;
}

.editing-guide-header,
.editing-guide-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 0;
}

.editing-guide-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-size: 1.15rem;
  font-weight: 850;
  text-decoration: none;
}

.editing-guide-brand img {
  display: block;
  width: 44px;
  height: 44px;
}

.editing-guide-header nav,
.editing-guide-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.editing-guide-header a,
.editing-guide-footer a,
.editing-guide-sources a {
  color: #8b315b;
  text-underline-offset: 3px;
}

.editing-guide-header [aria-current="page"] {
  color: #2b1f29;
  font-weight: 750;
  text-decoration: none;
}

.editing-guide-hero {
  border-block: 1px solid #f0dce7;
  background:
    radial-gradient(circle at 82% 18%, rgba(109, 211, 199, 0.25), transparent 32%),
    radial-gradient(circle at 16% 78%, rgba(239, 102, 151, 0.16), transparent 36%),
    linear-gradient(135deg, #fff4f9, #f7fffd);
}

.editing-guide-wrap {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
}

.editing-guide-hero .editing-guide-wrap {
  padding: 72px 0 68px;
}

.editing-guide-kicker,
.editing-guide-eyebrow {
  margin: 0 0 10px;
  color: #a83b70;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.editing-guide-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.editing-guide-hero p:not(.editing-guide-kicker) {
  max-width: 760px;
  margin: 22px 0 28px;
  color: #675260;
  font-size: 1.12rem;
  line-height: 1.75;
}

.editing-guide-hero small {
  display: block;
  max-width: 680px;
  margin-top: 14px;
  color: #74616d;
  line-height: 1.55;
}

.editing-guide-primary,
.editing-guide-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.editing-guide-primary {
  color: #fff;
  background: #9d3567;
  box-shadow: 0 10px 28px rgba(157, 53, 103, 0.2);
}

.editing-guide-primary:hover {
  background: #812750;
}

.editing-guide-secondary {
  color: #823056;
  border: 1px solid #e2b9cc;
  background: #fff;
}

.editing-guide-content {
  display: grid;
  gap: 56px;
  padding: 56px 0 72px;
}

.editing-guide-card,
.editing-guide-boundary,
.editing-guide-final {
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid #ecdce5;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(92, 54, 75, 0.07);
}

.editing-guide-card h2,
.editing-guide-boundary h2,
.editing-guide-final h2,
.editing-guide-section-heading h2,
.editing-guide-sources h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.editing-guide-card p,
.editing-guide-boundary p,
.editing-guide-final p,
.editing-guide-section-heading p,
.editing-guide-sources p,
.editing-guide-route-grid p,
.editing-guide-software-card p {
  color: #675260;
  line-height: 1.72;
}

.editing-guide-sample {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 32px;
  align-items: center;
}

.editing-guide-sample audio {
  display: block;
  width: 100%;
  margin-top: 22px;
}

.editing-guide-downloads {
  display: grid;
  gap: 12px;
}

.editing-guide-downloads a {
  display: grid;
  gap: 4px;
  padding: 15px 17px;
  border: 1px solid #ead2de;
  border-radius: 14px;
  color: #7f2e57;
  background: #fff8fb;
  font-weight: 800;
  text-decoration: none;
}

.editing-guide-downloads a:hover {
  border-color: #ca81a4;
  background: #fff;
}

.editing-guide-downloads span {
  color: #76626e;
  font-size: 0.83rem;
  font-weight: 550;
}

.editing-guide-section-heading {
  max-width: 760px;
  margin-bottom: 22px;
}

.editing-guide-route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.editing-guide-route-grid article {
  padding: 26px;
  border: 1px solid #d7e9e6;
  border-radius: 20px;
  background: linear-gradient(145deg, #fff, #f5fffd);
}

.editing-guide-route-grid article:first-child {
  border-color: #efd2e0;
  background: linear-gradient(145deg, #fff, #fff5f9);
}

.editing-guide-route-grid h3,
.editing-guide-steps h3,
.editing-guide-software-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.editing-guide-route-grid strong {
  display: block;
  color: #3e655f;
  font-size: 0.9rem;
  line-height: 1.55;
}

.editing-guide-steps {
  display: grid;
  gap: 0;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.editing-guide-steps li {
  position: relative;
  padding: 0 0 28px 30px;
  border-left: 2px solid #e6c1d3;
}

.editing-guide-steps li:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.editing-guide-steps li::before {
  position: absolute;
  top: 2px;
  left: -7px;
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #a83b70;
  box-shadow: 0 0 0 1px #a83b70;
  content: "";
}

.editing-guide-steps p {
  margin: 8px 0 0;
}

.editing-guide-software-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.editing-guide-software-card {
  padding: 25px;
  border: 1px solid #ecdce5;
  border-radius: 20px;
  background: #fff;
}

.editing-guide-software-card > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.editing-guide-software-card a {
  flex: none;
  color: #8b315b;
  font-size: 0.82rem;
  text-underline-offset: 3px;
}

.editing-guide-note {
  padding: 13px 15px;
  border-radius: 12px;
  background: #f8f4f6;
  font-size: 0.9rem;
}

.editing-guide-cleanup ol {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.editing-guide-cleanup li {
  display: grid;
  grid-template-columns: minmax(155px, 0.32fr) minmax(0, 1fr);
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid #f0e4ea;
}

.editing-guide-cleanup li:first-child {
  border-top: 0;
}

.editing-guide-cleanup span {
  color: #675260;
  line-height: 1.6;
}

.editing-guide-boundary {
  color: #e8fffb;
  border-color: #244a45;
  background: #193c38;
}

.editing-guide-boundary p {
  margin-bottom: 0;
  color: #c2e4df;
}

.editing-guide-faq details {
  border-top: 1px solid #ecdfe6;
}

.editing-guide-faq details:first-of-type {
  margin-top: 22px;
}

.editing-guide-faq summary {
  padding: 19px 0;
  cursor: pointer;
  font-weight: 780;
}

.editing-guide-faq details p {
  margin: -5px 0 20px;
}

.editing-guide-sources {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.65fr);
  gap: 30px;
  padding: 0 8px;
}

.editing-guide-sources ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.editing-guide-final {
  text-align: center;
  background:
    radial-gradient(circle at 50% 0, rgba(109, 211, 199, 0.2), transparent 44%),
    #fff;
}

.editing-guide-final p {
  max-width: 700px;
  margin: 16px auto 24px;
}

.editing-guide-final > div {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.editing-guide-footer {
  border-top: 1px solid #f0dce7;
  color: #6b5863;
  font-size: 0.9rem;
}

@media (max-width: 760px) {
  .editing-guide-header,
  .editing-guide-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .editing-guide-hero .editing-guide-wrap {
    padding: 48px 0;
  }

  .editing-guide-content {
    gap: 42px;
    padding-top: 40px;
  }

  .editing-guide-sample,
  .editing-guide-route-grid,
  .editing-guide-software-grid,
  .editing-guide-sources {
    grid-template-columns: 1fr;
  }

  .editing-guide-software-card > div {
    align-items: flex-start;
    flex-direction: column;
  }

  .editing-guide-cleanup li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 460px) {
  .editing-guide-header,
  .editing-guide-footer,
  .editing-guide-wrap {
    width: min(100% - 28px, 960px);
  }

  .editing-guide-card,
  .editing-guide-boundary,
  .editing-guide-final {
    padding: 22px;
    border-radius: 18px;
  }
}
