:root {
  --bg: #f4f1ea;
  --ink: #11110f;
  --muted: #77736a;
  --line: rgba(17, 17, 15, 0.14);
  --line-strong: rgba(17, 17, 15, 0.3);
  --panel: rgba(244, 241, 234, 0.52);
  --white: #ffffff;
  --max: 1320px;
  --header: 78px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.seo-main {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding-right: clamp(20px, 4vw, 56px);
  padding-bottom: clamp(76px, 9vw, 132px);
  padding-left: clamp(20px, 4vw, 56px);
}

.seo-hero {
  display: grid;
  gap: clamp(18px, 2.6vw, 30px);
  padding-bottom: clamp(42px, 5.4vw, 76px);
  border-bottom: 1px solid var(--line-strong);
}

.seo-kicker,
.seo-meta,
.seo-section-label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0;
}

h1 {
  max-width: 980px;
  font-size: clamp(2.75rem, 5.9vw, 6.4rem);
  line-height: 0.98;
  overflow-wrap: anywhere;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3.9rem);
  line-height: 1;
  overflow-wrap: anywhere;
}

h3 {
  font-size: clamp(1.15rem, 1.55vw, 1.55rem);
  line-height: 1.18;
  overflow-wrap: anywhere;
}

p,
li {
  color: #34322e;
  font-size: 1rem;
  line-height: 1.82;
}

.seo-lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.36vw, 1.18rem);
  line-height: 1.74;
}

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

.seo-breadcrumb a {
  text-decoration: none;
}

.seo-breadcrumb a:hover,
.seo-breadcrumb a:focus-visible {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.seo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: clamp(32px, 5.6vw, 86px);
  align-items: start;
  padding-top: clamp(42px, 5.4vw, 76px);
}

.seo-content,
.seo-section {
  min-width: 0;
}

.seo-content {
  display: grid;
  gap: clamp(28px, 4vw, 54px);
}

.seo-section {
  display: grid;
  gap: clamp(18px, 2.3vw, 28px);
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}

.seo-section > p,
.seo-section > ul {
  max-width: 820px;
}

.seo-section h2 {
  margin-top: clamp(18px, 3vw, 38px);
}

.seo-section h2:first-of-type {
  margin-top: 0;
}

.seo-section h3 {
  margin-top: 6px;
}

.seo-section ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
}

.seo-sidebar {
  position: sticky;
  top: calc(var(--header) + 22px);
  display: grid;
  gap: 16px;
}

.seo-card {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  background: transparent;
  color: inherit;
  text-decoration: none;
}

.seo-card p {
  color: var(--muted);
}

a.seo-card {
  transition:
    border-color 180ms ease,
    transform 220ms ease;
}

a.seo-card:hover,
a.seo-card:focus-visible {
  border-color: var(--ink);
  transform: translateY(-2px);
}

a.seo-card:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 4px;
}

.seo-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.seo-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.8vw, 34px);
  margin-top: 6px;
}

.seo-links .seo-card h3 {
  font-size: clamp(1.28rem, 2vw, 1.8rem);
  line-height: 1.1;
}

.seo-cta {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.seo-cta:hover,
.seo-cta:focus-visible {
  transform: translateY(-2px);
}

.seo-faq {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}

.seo-faq details {
  border-bottom: 1px solid var(--line);
  padding: 0;
}

.seo-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.seo-faq summary::-webkit-details-marker {
  display: none;
}

.seo-faq summary::after {
  display: inline-grid;
  flex: 0 0 34px;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-left: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  content: "+";
}

.seo-faq details[open] summary::after {
  content: "-";
}

.seo-faq p {
  max-width: 760px;
  margin-bottom: 22px;
}

.seo-header,
.seo-footer {
  display: none;
}

@media (min-width: 1180px) {
  .seo-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1120px) {
  .seo-grid {
    grid-template-columns: 1fr;
  }

  .seo-sidebar {
    position: static;
  }

  .seo-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  h1 {
    font-size: clamp(2.45rem, 13vw, 4.2rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  p,
  li {
    font-size: 0.98rem;
  }

  .seo-main {
    padding-right: 20px;
    padding-bottom: 72px;
    padding-left: 20px;
  }

  .seo-grid {
    gap: 34px;
  }

  .seo-links {
    grid-template-columns: 1fr;
  }
}
