.seller-guide-page #main-content {
  padding-top: var(--header-height);
}

.seller-guide-page .legal-hero__copy {
  width: min(62%, 790px);
}

.seller-guide-page .legal-hero h1 {
  max-width: 20ch;
}

.seller-guide-page .legal-hero__copy > p {
  max-width: 64ch;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.95rem, 1.35vw, 1.08rem);
  line-height: 1.48;
  text-wrap: balance;
}

.seller-guide-layout {
  display: grid;
  grid-template-columns: minmax(236px, 272px) minmax(0, 850px);
  justify-content: center;
  align-items: start;
  gap: clamp(42px, 5vw, 78px);
  padding-block: 50px 82px;
}

.seller-guide-toc {
  position: sticky;
  top: calc(var(--header-height) + 22px);
  max-height: calc(100vh - var(--header-height) - 44px);
  overflow: auto;
  padding: 18px 16px;
  border: 1px solid #d8e5ec;
  border-radius: 12px;
  background: #f7fafc;
}

.seller-guide-toc__toggle {
  display: none;
}

.seller-guide-toc__list,
.seller-guide-toc__list[hidden] {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.seller-guide-toc__list a {
  display: block;
  padding: 6px 7px;
  color: #334b5c;
  border-radius: 7px;
  font-size: 0.84rem;
  font-weight: 670;
  line-height: 1.34;
  text-decoration: none;
}

.seller-guide-toc__list a:hover,
.seller-guide-toc__list a:focus-visible,
.seller-guide-toc__list a[aria-current="location"] {
  color: #062e45;
  background: #def6f3;
  outline: none;
}

.seller-guide-toc__list a:focus-visible {
  box-shadow: 0 0 0 3px rgba(8, 120, 111, 0.32);
}

.seller-guide-article {
  min-width: 0;
  color: #273d4d;
  font-size: 1.05rem;
  line-height: 1.72;
  overflow-wrap: anywhere;
}

.seller-guide-eyebrow {
  margin: 0 0 7px;
  color: #08786f;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.seller-guide-introduction {
  padding-bottom: 42px;
  border-bottom: 1px solid #dce7ed;
}

.seller-guide-introduction h2,
.seller-guide-section h2,
.seller-guide-section h3,
.seller-guide-steps h3,
.seller-guide-comparison h3 {
  color: #0b304a;
  text-wrap: balance;
}

.seller-guide-introduction h2 {
  margin: 0 0 14px;
  font-size: clamp(1.55rem, 2.3vw, 1.95rem);
  line-height: 1.2;
}

.seller-guide-introduction__copy {
  max-width: 72ch;
  margin: 0;
}

.seller-guide-introduction__copy + .seller-guide-introduction__copy {
  margin-top: 12px;
}

.seller-guide-steps {
  margin-top: 30px;
  padding: 25px 26px 22px;
  border: 1px solid #cfe4e5;
  border-radius: 15px;
  background: #f2faf9;
}

.seller-guide-steps h3 {
  margin: 0 0 18px;
  font-size: 1.2rem;
}

.seller-guide-steps ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: selling-step;
}

.buyer-guide-page .seller-guide-steps ol {
  grid-auto-rows: 1fr;
}

.seller-guide-steps li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  counter-increment: selling-step;
  font-weight: 690;
  line-height: 1.42;
}

.seller-guide-steps li::before {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: #08786f;
  content: counter(selling-step);
  font-size: 0.82rem;
  font-weight: 850;
}

.seller-guide-section {
  scroll-margin-top: calc(var(--header-height) + 24px);
  padding-top: 48px;
}

.seller-guide-section + .seller-guide-section {
  margin-top: 4px;
  border-top: 1px solid #e3ebef;
}

.seller-guide-section:focus {
  outline: none;
}

.seller-guide-section:focus-visible {
  border-radius: 8px;
  box-shadow: 0 0 0 4px rgba(8, 120, 111, 0.22);
}

.seller-guide-section > h2 {
  margin: 0 0 18px;
  font-size: clamp(1.45rem, 2.2vw, 1.82rem);
  line-height: 1.24;
  letter-spacing: -0.02em;
}

.seller-guide-section h3 {
  margin: 28px 0 11px;
  font-size: 1.14rem;
  line-height: 1.35;
}

.seller-guide-section p,
.seller-guide-section ul,
.seller-guide-section ol {
  margin: 0 0 17px;
}

.seller-guide-list,
.seller-guide-ordered {
  display: grid;
  gap: 8px;
  padding-left: 1.35rem;
}

.seller-guide-list li::marker,
.seller-guide-ordered li::marker {
  color: #08786f;
  font-weight: 800;
}

.seller-guide-callout {
  margin: 24px 0;
  padding: 19px 21px;
  border: 1px solid #b8dedd;
  border-left: 5px solid #08786f;
  border-radius: 11px;
  background: #f0faf9;
}

.seller-guide-callout--danger {
  border-color: #efc2bd;
  border-left-color: #b6382e;
  background: #fff5f3;
}

.seller-guide-callout--note {
  border-color: #d4e1e8;
  border-left-color: #57788e;
  background: #f6f9fb;
}

.seller-guide-callout strong {
  display: block;
  margin-bottom: 5px;
  color: #0a3447;
  font-size: 0.9rem;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.seller-guide-callout--danger strong {
  color: #8c2921;
}

.seller-guide-callout p {
  margin: 0;
}

.seller-guide-callout .seller-guide-list {
  margin: 10px 0 0;
}

.seller-guide-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 26px 0 8px;
}

.seller-guide-comparison section {
  padding: 21px;
  border: 1px solid #d4e2e9;
  border-radius: 12px;
  background: #f8fafb;
}

.seller-guide-comparison section:last-child {
  border-color: #bce0dd;
  background: #f0faf8;
}

.seller-guide-comparison h3 {
  margin: 0 0 13px;
}

.seller-guide-comparison ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.2rem;
}

.seller-guide-checklist {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.seller-guide-checklist li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.seller-guide-checklist span {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: #08786f;
  font-size: 0.85rem;
  font-weight: 900;
}

.seller-guide-email {
  padding: 15px 18px;
  border-radius: 10px;
  background: #f3f7f9;
}

.seller-guide-article a {
  color: #075f6a;
  font-weight: 720;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.seller-guide-article a:hover,
.seller-guide-article a:focus-visible {
  color: #05464e;
  outline: 3px solid rgba(8, 120, 111, 0.26);
  outline-offset: 3px;
}

.seller-guide-cta {
  margin-top: 58px;
  padding: clamp(26px, 4vw, 38px);
  color: #fff;
  border-radius: 16px;
  background: #083c58;
}

.seller-guide-cta p {
  max-width: 62ch;
  margin: 0;
  color: #fff;
  font-size: clamp(1.12rem, 2vw, 1.32rem);
  font-weight: 680;
  line-height: 1.5;
}

.seller-guide-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.seller-guide-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 19px;
  border: 2px solid #71ddd7;
  border-radius: 9px;
  font-weight: 820 !important;
  text-decoration: none !important;
}

.seller-guide-button--primary {
  color: #062d42 !important;
  background: #71ddd7;
}

.seller-guide-button--secondary {
  color: #fff !important;
  background: transparent;
}

.seller-guide-button:hover,
.seller-guide-button:focus-visible {
  color: #062d42 !important;
  background: #a2f0eb;
}

.seller-guide-back-to-top {
  display: inline-block;
  margin-top: 30px;
}

.seller-guide-figure {
  margin: 24px 0;
}

.seller-guide-figure img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.seller-guide-figure figcaption {
  margin-top: 8px;
  color: #617687;
  font-size: 0.88rem;
}

@media (max-width: 1099px) {
  .seller-guide-page .legal-hero__copy {
    width: min(74%, 720px);
  }

  .seller-guide-page .legal-hero__copy > p {
    max-width: 58ch;
  }

  .seller-guide-hero-lead__line {
    display: block;
    width: fit-content;
    white-space: nowrap;
  }

  .seller-guide-layout {
    display: block;
    width: min(100% - 36px, 880px);
    padding-block: 32px 64px;
  }

  .seller-guide-toc {
    position: static;
    max-height: none;
    overflow: visible;
    margin-bottom: 36px;
    padding: 0;
    background: #fff;
  }

  .seller-guide-toc.is-interactive .seller-guide-toc__toggle {
    display: flex;
    width: 100%;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 16px;
    color: #0c2f49;
    border: 0;
    border-radius: 11px;
    background: #eff6f8;
    font-weight: 820;
    text-align: left;
  }

  .seller-guide-toc__toggle:focus-visible {
    outline: 3px solid #08786f;
    outline-offset: 3px;
  }

  .seller-guide-toc__chevron {
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 160ms ease;
  }

  .seller-guide-toc__toggle[aria-expanded="true"] .seller-guide-toc__chevron {
    transform: rotate(225deg) translate(-2px, -2px);
  }

  .seller-guide-toc__list {
    max-height: 55vh;
    overflow: auto;
    padding: 12px 10px 14px;
  }

  .seller-guide-toc__list[hidden] {
    display: none;
  }

  .seller-guide-toc__list a {
    padding-block: 8px;
    font-size: 0.9rem;
  }
}

@media (max-width: 699px) {
  .seller-guide-page .legal-hero__copy {
    width: 100%;
  }

  .seller-guide-page .legal-hero__copy > p {
    display: none;
  }

  .seller-guide-layout {
    width: min(100% - 28px, 880px);
    padding-block: 24px 48px;
  }

  .seller-guide-toc {
    margin-bottom: 28px;
  }

  .seller-guide-article {
    font-size: 1rem;
    line-height: 1.68;
  }

  .seller-guide-steps {
    padding: 21px 18px;
  }

  .seller-guide-steps ol,
  .seller-guide-comparison {
    grid-template-columns: 1fr;
  }

  .seller-guide-section {
    padding-top: 40px;
  }

  .seller-guide-callout,
  .seller-guide-comparison section {
    padding: 18px 17px;
  }

  .seller-guide-cta {
    margin-top: 46px;
    padding: 25px 20px;
  }

  .seller-guide-cta__actions {
    display: grid;
  }

  .seller-guide-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .seller-guide-toc__chevron {
    transition: none;
  }
}

@media print {
  @page {
    margin: 16mm;
  }

  body::before {
    display: block;
    margin-bottom: 8mm;
    color: #000;
    content: "YachtFinder24";
    font-size: 16pt;
    font-weight: 800;
  }

  .site-header,
  .site-footer,
  .legal-skip-link,
  .legal-breadcrumb,
  .legal-hero__media,
  .seller-guide-toc,
  .seller-guide-cta,
  .seller-guide-back-to-top,
  .yf-back-to-top {
    display: none !important;
  }

  .seller-guide-page #main-content {
    padding: 0;
  }

  .seller-guide-page .legal-hero,
  .seller-guide-page .legal-hero__inner,
  .seller-guide-layout {
    display: block;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    color: #000;
    background: transparent;
  }

  .seller-guide-page .legal-hero__copy,
  .seller-guide-page .legal-hero h1 {
    width: auto;
    max-width: none;
    color: #000;
  }

  .seller-guide-page .legal-hero__copy > p {
    color: #222;
  }

  .seller-guide-article {
    color: #111;
    font-size: 10.5pt;
    line-height: 1.48;
  }

  .seller-guide-section,
  .seller-guide-introduction {
    break-inside: auto;
  }

  .seller-guide-section h2,
  .seller-guide-section h3,
  .seller-guide-steps h3 {
    color: #000;
    break-after: avoid-page;
  }

  .seller-guide-section p,
  .seller-guide-section li {
    orphans: 3;
    widows: 3;
  }

  .seller-guide-callout,
  .seller-guide-comparison section,
  .seller-guide-steps {
    break-inside: avoid-page;
    border: 1px solid #888;
    background: transparent;
  }
}
