.seo-header {
  border-bottom: 1px solid var(--line);
}

.seo-header-inner,
.seo-page {
  width: min(1040px, calc(100% - 48px));
  margin-inline: auto;
}

.seo-header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
}

.seo-header nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 28px); margin-left: auto; }
.seo-header nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }
.seo-header a:hover, .seo-header [aria-current] { color: var(--brand); }
.seo-header [aria-current] { text-decoration: underline; text-underline-offset: 5px; }
.seo-language { flex: none; border: 1px solid var(--line); border-radius: 99px; padding: 8px 14px; }

.seo-page {
  padding-block: clamp(20px, 4vw, 40px) clamp(50px, 8vw, 104px);
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.75;
}

.seo-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.seo-breadcrumb a, .seo-page p a, .seo-page li a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.seo-hero {
  margin-top: clamp(18px, 4vw, 40px);
  padding: clamp(28px, 6vw, 70px);
  border: 1px solid #e8dbd4;
  border-radius: clamp(20px, 4vw, 32px);
  background: radial-gradient(ellipse at top right, #e9bec66b, transparent 65%), #f6ece4;
}

.seo-page h1 { max-width: 850px; font-size: clamp(36px, 6vw, 68px); line-height: 1.08; }
.seo-page h2 { font-size: clamp(28px, 4vw, 42px); }
.seo-page h3 { font-size: clamp(20px, 2.6vw, 26px); }
.seo-kicker { margin-bottom: 12px; color: #9b2944; font-size: 12px; font-weight: 600; letter-spacing: .06em; }
.seo-lede { max-width: 650px; margin-top: 18px; color: #694e52; font-size: clamp(16px, 2vw, 19px); }
.seo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.seo-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 22px; border: 1px solid var(--brand); border-radius: 99px; background: var(--brand); color: #fff; font-weight: 500; line-height: 1.45; }
.seo-button:hover { background: #972641; }
.seo-button--secondary { background: transparent; border-color: #b39797; color: var(--ink); }
.seo-button--secondary:hover { background: #fff8f4; }

.seo-section, .seo-sample, .seo-end { margin-top: clamp(34px, 7vw, 78px); }
.seo-section > p, .seo-end > p { max-width: 720px; margin-top: 14px; }
.seo-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.seo-card { padding: clamp(18px, 2.8vw, 30px); border: 1px solid var(--line); border-radius: 18px; background: #f7eee7; }
.seo-card p, .seo-steps li > p { margin-top: 8px; }
.seo-steps { display: grid; gap: 15px; margin: 20px 0 0; padding-inline-start: 26px; }
.seo-steps li { padding-inline-start: 8px; }
.seo-steps li::marker { color: var(--brand); font-weight: 600; }

.seo-sample {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(24px, 5vw, 54px);
  align-items: center;
  padding: clamp(22px, 5vw, 54px);
  border-radius: clamp(20px, 4vw, 30px);
  background: radial-gradient(ellipse at top right, #502333, transparent 70%), #241218;
  color: #fff5ee;
}

.seo-sample > * { min-width: 0; }
.seo-sample .seo-kicker { color: #e6b6bb; }
.seo-sample-copy > p { margin-top: 12px; }
.seo-sample-copy > p:not(.seo-kicker) { color: #e2cccf; }
.seo-sample-copy > h3:not(:first-child) { margin-top: 24px; }
.seo-sample-player { margin: 0; padding: clamp(16px, 3vw, 26px); border: 1px solid #ffffff31; border-radius: 18px; background: #ffffff0d; }
.seo-sample-player audio { display: block; width: 100%; margin-block: 12px; }
.seo-sample-player > p:last-child { color: #ecd7db; font-size: 13px; }
.seo-sample-player a, .seo-sample p a { color: #f7cf8b; }
.seo-lyrics { margin: 14px 0 0; padding-inline-start: 16px; border-inline-start: 2px solid #c97f92; color: inherit; font-family: var(--serif); font-size: clamp(17px, 2vw, 21px); }

.seo-faq { margin-top: 18px; }
.seo-faq details, .seo-faq > div { border-bottom: 1px solid var(--line); padding-block: 15px; }
.seo-faq summary { cursor: pointer; font-weight: 600; }
.seo-faq details p, .seo-faq dd { margin: 6px 0 0; color: var(--muted); }
.seo-faq dt { font-weight: 600; }
.seo-end { padding: clamp(22px, 5vw, 46px); border: 1px solid #e8dbd4; border-radius: 24px; background: #f6ece4; }

@media (max-width: 720px) {
  .seo-header-inner, .seo-page { width: calc(100% - 32px); }
  .seo-sample, .seo-card-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 540px) {
  .seo-header-inner { flex-wrap: wrap; gap: 0 14px; justify-content: space-between; padding-top: 10px; }
  .seo-header nav { order: 1; flex-basis: 100%; margin-left: 0; }
  .seo-header nav a { min-height: 40px; }
}
