.seo-shell { width: min(1120px, calc(100% - 48px)); margin: auto; }
.seo-page { background: var(--paper); }
.seo-page h1, .seo-page h2, .seo-page h3, .seo-page p { margin-top: 0; }
.seo-page h1 { font-size: clamp(38px, 5.5vw, 64px); line-height: 1.12; letter-spacing: -.045em; margin-bottom: 24px; }
.seo-page h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.25; letter-spacing: -.025em; }
.seo-page h3 { font-size: 20px; line-height: 1.35; }
.seo-page p { line-height: 1.75; }
.seo-page a, .seo-page button, .seo-page summary, .seo-page textarea { -webkit-tap-highlight-color: transparent; }
.seo-page :focus-visible { outline: 3px solid #165dc8; outline-offset: 5px; }
.seo-skip { position: absolute; top: -100px; left: 20px; z-index: 10; background: var(--white); padding: 16px; }
.seo-skip:focus { top: 12px; }
.seo-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; border-bottom: 1px solid #dcd3c2; }
.seo-nav .wordmark { width: 176px; }
.seo-nav nav, .seo-footer nav { display: flex; align-items: center; gap: 28px; }
.seo-nav a, .seo-footer a { text-decoration: none; font-size: 14px; }
.seo-nav-cta { padding: 11px 16px; border: 2px solid var(--ink); border-radius: 10px; background: var(--yellow); font-weight: 700; }
.seo-breadcrumb { display: flex; gap: 12px; padding-top: 26px; color: #655e53; font-size: 12px; }
.seo-hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 64px; padding: 54px 0 76px; }
.seo-eyebrow { color: #9e3917; font-size: 12px; line-height: 1.5; letter-spacing: .08em; font-weight: 700; text-transform: uppercase; margin-bottom: 18px; }
.seo-lead { color: #514b43; font-size: 18px; max-width: 650px; }
.seo-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin: 26px 0 16px; }
.seo-button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 16px 21px; min-height: 48px; background: var(--ink); color: #fffaf0; border: 2px solid var(--ink); border-radius: 12px; text-decoration: none; font: 700 15px 'Comic Relief', system-ui, sans-serif; cursor: pointer; }
.seo-button:hover { background: #393228; }
.seo-button-light { background: var(--paper); color: var(--ink); flex-shrink: 0; }
.seo-button-light:hover { background: #ffe5b9; }
.seo-text-link, .seo-text-button { font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.seo-text-button { background: none; border: 0; color: var(--ink); font-family: inherit; padding: 12px 0; cursor: pointer; }
.seo-fine { font-size: 12px; color: #655e53; }
.seo-example { background: #fffef9; border: 2px solid var(--ink); border-radius: 20px; padding: 26px; box-shadow: 7px 7px 0 #e7d9bd; scroll-margin-top: 24px; }
.seo-example-top { display: flex; align-items: center; justify-content: space-between; height: 66px; margin-top: -10px; }
.seo-example-top span { font-size: 10px; letter-spacing: .12em; color: #655e53; }
.seo-example-top img { width: 95px; height: 95px; object-fit: contain; }
.seo-source-label { font-size: 12px; font-weight: 700; padding-top: 12px; }
.seo-example blockquote { font: 16px/1.8 Georgia, serif; margin: 0; padding: 16px 0 16px 16px; border-left: 3px solid #efcb7a; }
.seo-example-arrow { font-size: 26px; text-align: center; padding: 8px; }
.seo-question { padding: 20px; background: #fff0ad; border-radius: 12px; }
.seo-question > p { font-size: 18px; font-weight: 700; line-height: 1.5; }
.seo-question summary { font-size: 13px; font-weight: 700; cursor: pointer; padding: 5px 0; }
.seo-question details p { margin: 16px 0 0; font-size: 15px; }
.seo-example > .seo-fine { margin: 18px 0 0; }
.seo-section { padding: 54px 0; border-top: 1px solid #dcd3c2; }
.seo-steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.seo-step-number { display: inline-block; padding-bottom: 18px; color: #9e3917; font-weight: 700; }
.seo-steps p, .seo-tool-link p { color: #514b43; font-size: 15px; }
.seo-reading { max-width: 730px; padding: 18px 0 36px; margin: 0 auto; }
.seo-reading section { padding: 20px 0; }
.seo-reading h2 { font-size: 27px; margin-top: 24px; margin-bottom: 16px; }
.seo-reading p { color: #514b43; font-size: 16px; }
.seo-faq { max-width: 850px; margin: 0 auto; }
.seo-faq details { border-bottom: 1px solid #dcd3c2; padding: 20px 0; }
.seo-faq summary { font-size: 17px; font-weight: 700; cursor: pointer; }
.seo-faq details p { margin: 16px 0 0; color: #514b43; }
.seo-banner { display: flex; gap: 32px; align-items: center; justify-content: space-between; padding: 36px; margin: 24px 0 54px; background: var(--yellow-soft); border-radius: 18px; }
.seo-banner h2 { font-size: 28px; margin-bottom: 12px; }
.seo-banner p { margin-bottom: 0; font-size: 15px; max-width: 600px; }
.seo-tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 28px; }
.seo-tool-link { display: flex; flex-direction: column; align-items: flex-start; color: var(--ink); text-decoration: none; border: 1px solid #c6bda9; border-radius: 16px; padding: 26px; background: #fffef9; }
.seo-tool-link:hover { border-color: var(--ink); background: #fff6dc; }
.seo-card-number { font-size: 12px; color: #9e3917; margin-bottom: 22px; }
.seo-tool-link .seo-text-link { margin-top: auto; }
.seo-footer { padding: 30px 0; border-top: 1px solid #dcd3c2; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.seo-footer > a { font-size: 20px; font-weight: 700; }
.seo-hub-intro { text-align: center; max-width: 780px; margin: auto; padding: 76px 0 64px; }
.seo-hub-intro .seo-lead { margin: 0 auto 24px; }
.seo-maker { scroll-margin-top: 20px; }
.seo-maker-heading { display: flex; gap: 36px; align-items: center; }
.seo-maker-heading > div { max-width: 720px; }
.seo-maker-heading > img { width: 140px; height: 140px; object-fit: contain; }
.seo-maker form { max-width: 850px; }
.seo-maker label { display: block; font-size: 14px; font-weight: 700; margin: 20px 0 12px; }
.seo-maker textarea { width: 100%; resize: vertical; min-height: 180px; max-height: 600px; padding: 18px; border: 2px solid #b8ae9b; border-radius: 12px; font: 16px/1.7 system-ui, sans-serif; color: var(--ink); background: #fffef9; }
.seo-maker textarea::placeholder { color: #6d6558; }
.seo-maker #maker-help { margin: 10px 0; }
#maker-status { color: #9e3917; font-size: 14px; }
#maker-practice { max-width: 850px; padding-top: 20px; }
.seo-practice-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; }
.seo-practice-heading span { font-size: 13px; }
.seo-flip-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; width: 100%; min-height: 240px; padding: 32px; border: 2px solid var(--ink); border-radius: 18px; background: #fff0ad; font: 700 24px/1.5 'Comic Relief', system-ui, sans-serif; color: var(--ink); cursor: pointer; overflow-wrap: anywhere; }
.seo-flip-card #card-side { font-size: 11px; letter-spacing: .1em; font-weight: 400; }
.seo-flip-card.is-answer { background: #e5f5e9; }
.seo-practice-controls { display: flex; flex-wrap: wrap; gap: 12px; }
.seo-practice-controls button { border: 1px solid #b8ae9b; background: #fffef9; border-radius: 9px; padding: 12px 18px; font: 14px 'Comic Relief', system-ui, sans-serif; cursor: pointer; color: var(--ink); }
.seo-practice-controls button:disabled { opacity: .45; cursor: default; }
.home-study-links { border-top: 1px solid #dcd3c2; margin-top: 40px; padding: 40px 0; }
.home-study-links h2 { font-size: 26px; }
.home-study-links nav { display: flex; flex-wrap: wrap; gap: 16px 28px; font-size: 15px; }
.home-study-links p { max-width: 650px; line-height: 1.7; color: #514b43; }
@media (max-width: 760px) {
  .seo-shell { width: calc(100% - 32px); }
  .seo-nav .wordmark { width: 130px; }
  .seo-nav nav { gap: 16px; }
  .seo-nav a { font-size: 12px; }
  .seo-nav-cta { display: none; }
  .seo-hero { grid-template-columns: 1fr; gap: 36px; padding: 38px 0 50px; }
  .seo-hero h1 { max-width: 580px; }
  .seo-steps { grid-template-columns: 1fr; gap: 20px; }
  .seo-step-number { padding-bottom: 10px; }
  .seo-section { padding: 36px 0; }
  .seo-banner { flex-direction: column; align-items: flex-start; padding: 26px; gap: 24px; }
  .seo-footer { flex-direction: column; align-items: flex-start; }
  .seo-footer nav { gap: 16px; flex-wrap: wrap; }
  .seo-footer a { font-size: 12px; }
  .seo-hub-intro { text-align: left; padding: 48px 0; }
  .seo-maker-heading > img { display: none; }
  .seo-flip-card { font-size: 20px; padding: 24px; }
}
