:root {
  --seo-ink: #17191d;
  --seo-slate: #566f35;
  --seo-stone: #d5ab8f;
  --seo-moss: #52634d;
  --seo-cream: #f4f0e9;
  --seo-paper: #fbf9f4;
  --seo-line: rgba(92, 122, 58, 0.22);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 10000;
  background: #fff;
  color: #111;
  padding: 12px 18px;
  border-radius: 4px;
}

.skip-link:focus { top: 12px; }

.seo-page {
  background: var(--seo-paper);
  color: var(--seo-ink);
}

.seo-page a:focus-visible,
.seo-page button:focus-visible {
  outline: 3px solid var(--seo-stone);
  outline-offset: 4px;
}

.seo-hero {
  position: relative;
  min-height: min(820px, calc(100svh - 72px));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: #131a10;
  color: #fff;
  padding: 150px 0 90px;
}

.seo-hero-ruins {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(15, 20, 10, 0.92) 0%, rgba(15, 20, 10, 0.66) 48%, rgba(15, 20, 10, 0.3) 100%),
    linear-gradient(0deg, #131a10 0%, transparent 45%),
    url('/img/hero-ruins-moss.webp') center 42% / cover no-repeat;
  transform: scale(1.02);
  animation: seoHeroPresence 1.4s cubic-bezier(.22,.7,.16,1) both;
}

.seo-grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .16;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.25'/%3E%3C/svg%3E");
}

@keyframes seoHeroPresence {
  from { opacity: 0; transform: scale(1.08); }
  to { opacity: 1; transform: scale(1.02); }
}

.seo-hero-inner { position: relative; }

.seo-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 42px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
}

.seo-breadcrumbs a { color: inherit; text-decoration: none; }
.seo-breadcrumbs a:hover { color: #fff; }

.seo-hero .section-label { color: #e4c7b1; margin-bottom: 22px; }

.seo-hero h1 {
  max-width: 920px;
  margin: 0;
  color: #fff;
  font-family: 'Quicksand', sans-serif;
  font-size: clamp(3.2rem, 7.5vw, 7.4rem);
  line-height: .94;
  letter-spacing: -.065em;
  font-weight: 500;
  text-wrap: balance;
}

.seo-hero-copy {
  max-width: 680px;
  margin: 30px 0 0;
  color: rgba(255,255,255,.78);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.7;
}

.seo-hero-actions,
.seo-final-cta > .container > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.seo-hero .btn-secondary {
  color: #fff;
  border-color: rgba(255,255,255,.45);
  background: rgba(255,255,255,.05);
}

.seo-kicker {
  margin: 0 0 18px;
  color: var(--seo-slate);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
}

.seo-definition,
.seo-control,
.seo-related,
.seo-faq,
.seo-workflow-library { padding: clamp(90px, 11vw, 160px) 0; }

.seo-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  gap: clamp(48px, 9vw, 140px);
  align-items: start;
}

.seo-two-column h2,
.seo-section-heading h2,
.seo-final-cta h2 {
  margin: 0;
  font-family: 'Quicksand', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 4.8rem);
  line-height: 1.06;
  letter-spacing: -.045em;
  font-weight: 500;
  text-wrap: balance;
}

.seo-definition-copy {
  padding-top: 6px;
  border-top: 1px solid var(--seo-line);
}

.seo-definition-copy > p:last-child,
.seo-evidence-copy > p:last-child,
.seo-limitations > p:last-child {
  margin: 0;
  color: #5d584e;
  font-size: 1.15rem;
  line-height: 1.8;
}

.seo-workflow {
  padding: clamp(90px, 11vw, 160px) 0;
  color: #fff;
  background: #131a10;
}

.seo-workflow .seo-kicker { color: #d9b79e; }
.seo-section-heading { max-width: 850px; margin-bottom: 70px; }
.seo-workflow .seo-section-heading h2 { color: #fff; }

.seo-steps {
  counter-reset: steps;
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255,255,255,.16);
}

.seo-steps li {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 26px;
  align-items: center;
  min-height: 112px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,.16);
}

.seo-steps li > span {
  color: #d9b79e;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
}

.seo-steps li > p { margin: 0; font-size: clamp(1.1rem, 2vw, 1.5rem); line-height: 1.5; }

.seo-conversation {
  max-width: 900px;
  margin: 90px auto 0;
  display: grid;
  gap: 16px;
}

.seo-message {
  max-width: 78%;
  padding: 24px 28px;
  border-radius: 2px 22px 22px 22px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
}

.seo-message span {
  display: block;
  margin-bottom: 8px;
  color: #d9b79e;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.seo-message p { margin: 0; line-height: 1.65; }
.seo-message-flow { justify-self: end; border-radius: 22px 2px 22px 22px; background: rgba(82,99,77,.34); }

.seo-evidence { padding: clamp(90px, 11vw, 160px) 0; overflow: hidden; }
.seo-evidence-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: clamp(46px, 8vw, 120px); align-items: center; }

.seo-product-frame {
  position: relative;
  padding: clamp(10px, 1.5vw, 18px);
  border-radius: 28px;
  background: #1a2114;
  box-shadow: 0 35px 90px rgba(22, 26, 14, 0.24);
  transform: rotate(-1.5deg);
}

.seo-product-frame::before {
  content: '';
  position: absolute;
  inset: -22px;
  z-index: -1;
  border: 1px solid rgba(82,99,77,.24);
  border-radius: 38px;
}

.seo-product-frame img { display: block; width: 100%; height: auto; max-height: 650px; object-fit: contain; border-radius: 16px; }
.seo-evidence-copy h2 { margin: 0 0 24px; font-size: clamp(2rem, 3.5vw, 3.8rem); line-height: 1.08; letter-spacing: -.04em; font-weight: 500; }

.seo-control { background: var(--seo-cream); }
.seo-control-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--seo-line); border-bottom: 1px solid var(--seo-line); }
.seo-control-grid article { padding: 48px 36px 52px 0; }
.seo-control-grid article + article { padding-left: 36px; border-left: 1px solid var(--seo-line); }
.seo-control-grid ul { margin: 0; padding-left: 19px; color: #5b564b; line-height: 1.75; }
.seo-control-grid li + li { margin-top: 12px; }
.seo-control-grid article > p:not(.seo-kicker) { color: #5b564b; line-height: 1.75; }
.seo-limitations { max-width: 880px; margin-top: 70px; }

.seo-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--seo-line);
}

.seo-link-grid > a {
  min-height: 190px;
  padding: 34px 32px 34px 0;
  color: var(--seo-ink);
  font-size: 1.16rem;
  line-height: 1.4;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--seo-line);
  transition: color .25s ease, padding .25s ease;
}

.seo-link-grid > a:nth-child(3n+2), .seo-link-grid > a:nth-child(3n+3) { padding-left: 32px; border-left: 1px solid var(--seo-line); }
.seo-link-grid > a span { display: block; margin-bottom: 30px; color: var(--seo-slate); font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.seo-link-grid > a:hover { color: var(--seo-moss); padding-top: 28px; }
.seo-inline-actions { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 42px; }
.seo-inline-actions a { color: var(--seo-slate); font-weight: 600; text-underline-offset: 5px; }

.seo-faq { background: #fff; }
.seo-faq .faq-list { max-width: 900px; margin: 0; }
.seo-faq .faq-question { width: 100%; border: 0; background: transparent; text-align: left; color: inherit; font: inherit; cursor: pointer; }

.seo-final-cta {
  position: relative;
  padding: clamp(100px, 13vw, 190px) 0;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(115deg, #131a10, #25352e);
}

.seo-final-cta::after {
  content: '';
  position: absolute;
  right: -10%;
  bottom: -35%;
  width: 55%;
  aspect-ratio: 1;
  border: 1px solid rgba(213,171,143,.25);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(213,171,143,.03), 0 0 0 130px rgba(213,171,143,.02);
}

.seo-final-cta .container { position: relative; z-index: 1; }
.seo-final-cta h2 { max-width: 900px; color: #fff; }
.seo-final-cta > .container > p:nth-of-type(2) { max-width: 620px; margin: 24px 0 0; color: rgba(255,255,255,.72); font-size: 1.2rem; }
.seo-final-cta .btn-secondary { color: #fff; border-color: rgba(255,255,255,.4); }

.seo-workflow-spec { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 110px; border-top: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
.seo-workflow-spec > div { padding: 36px 30px 40px 0; }
.seo-workflow-spec > div + div { padding-left: 30px; border-left: 1px solid rgba(255,255,255,.16); }
.seo-workflow-spec p:last-child { margin: 0; color: rgba(255,255,255,.74); line-height: 1.7; }
.seo-saved-label { margin-top: 28px; }

.seo-workflow-category + .seo-workflow-category { margin-top: 120px; }
.seo-category-heading { display: grid; grid-template-columns: .45fr 1fr; gap: 30px; margin-bottom: 42px; }
.seo-category-heading h2 { margin: 0; font-size: clamp(2rem, 4vw, 4rem); line-height: 1.05; font-weight: 500; letter-spacing: -.04em; }
.seo-workflow-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--seo-line); }
.seo-workflow-links > a { padding: 42px 42px 46px 0; color: inherit; text-decoration: none; border-bottom: 1px solid var(--seo-line); }
.seo-workflow-links > a:nth-child(even) { padding-left: 42px; border-left: 1px solid var(--seo-line); }
.seo-workflow-links span { color: var(--seo-slate); font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.seo-workflow-links h3 { margin: 26px 0 16px; font-size: clamp(1.5rem, 2.6vw, 2.4rem); line-height: 1.18; font-weight: 500; }
.seo-workflow-links p { margin: 0 0 26px; color: #66604f; line-height: 1.7; }
.seo-workflow-links strong { color: var(--seo-moss); font-size: .9rem; }

@media (max-width: 900px) {
  .seo-hero { min-height: 760px; padding-bottom: 70px; }
  .seo-two-column, .seo-evidence-grid { grid-template-columns: 1fr; }
  .seo-evidence-copy { max-width: 650px; }
  .seo-control-grid, .seo-workflow-spec { grid-template-columns: 1fr; }
  .seo-control-grid article, .seo-control-grid article + article, .seo-workflow-spec > div, .seo-workflow-spec > div + div { padding: 34px 0; border-left: 0; border-bottom: 1px solid var(--seo-line); }
  .seo-workflow-spec > div, .seo-workflow-spec > div + div { border-color: rgba(255,255,255,.16); }
  .seo-link-grid { grid-template-columns: 1fr 1fr; }
  .seo-link-grid > a:nth-child(n) { padding-left: 0; padding-right: 26px; border-left: 0; }
  .seo-link-grid > a:nth-child(even) { padding-left: 26px; border-left: 1px solid var(--seo-line); }
  .seo-category-heading { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .seo-hero { min-height: calc(100svh - 64px); padding: 118px 0 54px; }
  .seo-hero-ruins { background-position: 58% center; }
  .seo-hero h1 { font-size: clamp(2.75rem, 14vw, 4.4rem); }
  .seo-breadcrumbs { margin-bottom: 30px; font-size: 9px; }
  .seo-hero-copy { font-size: 1rem; line-height: 1.62; }
  .seo-hero-actions .btn { width: 100%; justify-content: center; }
  .seo-steps li { grid-template-columns: 48px 1fr; gap: 12px; min-height: 96px; }
  .seo-message { max-width: 94%; padding: 20px; }
  .seo-product-frame { transform: none; }
  .seo-link-grid, .seo-workflow-links { grid-template-columns: 1fr; }
  .seo-link-grid > a:nth-child(n), .seo-workflow-links > a:nth-child(n) { min-height: auto; padding: 30px 0; border-left: 0; }
  .seo-workflow-links > a:nth-child(n) { border-bottom: 1px solid var(--seo-line); }
  .seo-link-grid > a span { margin-bottom: 14px; }
  .seo-final-cta .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .seo-hero-ruins, .seo-page *, .seo-page *::before, .seo-page *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
