.seo-page {
  min-height: 100vh;
  color: #f4f0e7;
  background:
    radial-gradient(circle at 10% 10%, rgba(212, 62, 93, .13), transparent 34rem),
    radial-gradient(circle at 90% 30%, rgba(174, 142, 63, .10), transparent 28rem),
    #0c0e0d;
}

.seo-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  background: rgba(12, 14, 13, .9);
  backdrop-filter: blur(18px);
}

.seo-header-inner,
.seo-main,
.seo-footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.seo-header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.seo-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.seo-brand-mark {
  display: grid;
  width: 42px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(219, 178, 82, .45);
  border-radius: 50%;
  color: #e6c66f;
  background: rgba(255, 255, 255, .035);
  font-size: 1.15rem;
}

.seo-brand strong,
.seo-brand small { display: block; }
.seo-brand small { color: #d2c9b8; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; }

.seo-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.seo-nav a { color: #d9d3c8; text-decoration: none; font-size: .9rem; }
.seo-nav a:hover, .seo-nav a:focus-visible { color: #f1ce72; }

.seo-main { padding-block: 34px 88px; }
.seo-breadcrumbs { margin-bottom: 28px; color: #a8a297; font-size: .84rem; }
.seo-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.seo-breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; color: #68645d; }
.seo-breadcrumbs a { color: #d6b862; }

.seo-hero,
.seo-entity-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 38px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .018));
  box-shadow: 0 28px 80px rgba(0, 0, 0, .28);
}

.seo-hero { padding: clamp(32px, 6vw, 72px); }
.seo-kicker { margin: 0 0 12px; color: #e1bd5e; font-size: .76rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.seo-hero h1, .seo-entity-copy h1 { margin: 0; max-width: 900px; color: #fffaf0; font-family: Georgia, serif; line-height: 1.02; }
.seo-hero h1 { font-size: clamp(2.2rem, 6vw, 5rem); }
.seo-lead { max-width: 840px; margin: 22px 0 0; color: #d8d1c5; font-size: clamp(1rem, 1.8vw, 1.18rem); line-height: 1.75; }

.seo-section { margin-top: 42px; }
.seo-section > h2 { margin: 0 0 18px; color: #fff8e9; font-family: Georgia, serif; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.seo-section > p { max-width: 880px; color: #cdc6ba; line-height: 1.75; }
.seo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.seo-grid.compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.seo-card,
.seo-panel,
.seo-skill,
.seo-guide-section,
.seo-team {
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 20px;
  background: rgba(255, 255, 255, .035);
}

.seo-card { overflow: hidden; }
.seo-card > a { display: block; height: 100%; color: inherit; text-decoration: none; }
.seo-card-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #171a18; }
.seo-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.seo-card:hover img { transform: scale(1.035); }
.seo-card-body { padding: 18px; }
.seo-card-body h2, .seo-card-body h3 { margin: 0 0 8px; color: #fff8eb; font-size: 1.05rem; }
.seo-card-body p { margin: 0; color: #bdb6aa; line-height: 1.55; }
.seo-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.seo-tags span { padding: 6px 9px; border-radius: 999px; color: #e6dcc8; background: rgba(255, 255, 255, .065); font-size: .76rem; }

.seo-entity-hero { display: grid; grid-template-columns: minmax(280px, .8fr) 1.2fr; }
.seo-entity-media { min-height: 360px; background: #171a18; }
.seo-entity-media img { width: 100%; height: 100%; object-fit: cover; }
.seo-entity-copy { align-self: center; padding: clamp(28px, 5vw, 64px); }
.seo-entity-copy h1 { font-size: clamp(2.25rem, 5vw, 4.5rem); }
.seo-version { margin: 12px 0 0; color: #e1bd5e; font-size: 1.1rem; }
.seo-entity-copy .seo-lead { font-size: 1rem; }

.seo-skill-list, .seo-guide-list, .seo-team-list { display: grid; gap: 14px; }
.seo-skill, .seo-guide-section, .seo-team, .seo-panel { padding: 22px; }
.seo-skill header { display: flex; align-items: start; justify-content: space-between; gap: 14px; }
.seo-skill h3, .seo-guide-section h2, .seo-guide-section h3, .seo-team h3, .seo-panel h2 { margin: 0; color: #fff8eb; }
.seo-skill p, .seo-guide-section p, .seo-team p, .seo-panel p, .seo-panel li { color: #cbc4b9; line-height: 1.7; }
.seo-skill small { color: #d8b85d; }
.seo-language { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.07); }
.seo-language summary { cursor: pointer; color: #d8b85d; }
.seo-metrics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.seo-metrics span { padding: 6px 9px; border-radius: 8px; background: rgba(190, 57, 84, .13); color: #f0c3cc; font-size: .78rem; }

.seo-related { display: flex; flex-wrap: wrap; gap: 10px; }
.seo-related a, .seo-cta { display: inline-flex; align-items: center; min-height: 42px; padding: 9px 14px; border: 1px solid rgba(222, 187, 94, .36); border-radius: 12px; color: #f0cd70; text-decoration: none; }
.seo-related a:hover, .seo-cta:hover { background: rgba(222, 187, 94, .1); }
.seo-note { padding: 16px 18px; border-left: 3px solid #c2a251; color: #cfc6b6; background: rgba(194, 162, 81, .07); line-height: 1.65; }
.seo-list { display: grid; gap: 10px; padding-left: 22px; color: #d2cabc; line-height: 1.65; }

.seo-footer { border-top: 1px solid rgba(255,255,255,.08); background: #090b0a; }
.seo-footer-inner { display: flex; justify-content: space-between; gap: 24px; padding-block: 30px; color: #9f998f; font-size: .85rem; }
.seo-footer a { color: #d9bd6f; }

.seo-404 { display: grid; min-height: 70vh; place-items: center; text-align: center; }
.seo-404 strong { display: block; color: rgba(229, 193, 93, .2); font-size: clamp(6rem, 22vw, 15rem); line-height: .8; }

@media (max-width: 900px) {
  .seo-grid, .seo-grid.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seo-entity-hero { grid-template-columns: 1fr; }
  .seo-entity-media { min-height: 280px; max-height: 520px; }
}

@media (max-width: 640px) {
  .seo-header-inner { align-items: flex-start; flex-direction: column; padding-block: 14px; }
  .seo-nav { justify-content: flex-start; gap: 12px 16px; }
  .seo-grid, .seo-grid.compact { grid-template-columns: 1fr; }
  .seo-footer-inner { flex-direction: column; }
}
