:root {
  --bg: #ede7dd;
  --bg-strong: #e4d9ca;
  --text: #181512;
  --muted: #5d564d;
  --line: rgba(24, 21, 18, 0.1);
  --accent: #b0562f;
  --accent-deep: #8a3f20;
  --shadow: 0 20px 60px rgba(44, 31, 20, 0.1);
  --radius-lg: 32px;
  --radius-md: 20px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(176, 86, 47, 0.16), transparent 28%),
    radial-gradient(circle at 85% 14%, rgba(72, 108, 78, 0.14), transparent 22%),
    linear-gradient(180deg, #f2ebe0 0%, var(--bg) 56%, #e7ddcf 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

img {
  max-width: 100%;
  display: block;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 200;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--text);
  color: #fff8ef;
}

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

.page-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 20px 0 36px;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(248, 241, 231, 0.96);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff8ef;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-copy strong {
  font-size: 0.98rem;
}

.brand-copy small {
  color: var(--muted);
}

.site-nav {
  display: inline-flex;
  justify-content: center;
  gap: 24px;
  font-size: 0.95rem;
  color: var(--muted);
}

.site-nav a:hover,
.footer-links a:hover {
  color: var(--text);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.header-cta,
.button-primary {
  background: var(--text);
  color: #fff8ef;
}

.header-cta:hover,
.button-primary:hover {
  transform: translateY(-1px);
  background: #2f2823;
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 250, 244, 0.48);
}

.button-secondary:hover {
  transform: translateY(-1px);
  background: rgba(255, 250, 244, 0.75);
}

main {
  display: grid;
  gap: 28px;
  padding-top: 26px;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.95fr;
  gap: 22px;
  align-items: stretch;
  min-height: calc(100svh - 128px);
}

.hero-copy {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(125deg, rgba(32, 28, 24, 0.84), rgba(32, 28, 24, 0.5)),
    radial-gradient(circle at 12% 18%, rgba(231, 176, 126, 0.34), transparent 24%),
    linear-gradient(160deg, #352f29 0%, #26211d 100%);
  color: #fff8ef;
  box-shadow: var(--shadow);
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -10% -25% 34%;
  height: 280px;
  background: radial-gradient(circle, rgba(214, 158, 108, 0.28), transparent 62%);
  filter: blur(8px);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 248, 239, 0.72);
}

.hero-copy h1,
.section-heading h2,
.notes-copy h2,
.final-cta h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.98;
}

.hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(3.5rem, 8vw, 7.2rem);
}

.hero-copy p {
  position: relative;
  z-index: 1;
  max-width: 38rem;
  margin: 22px 0 0;
  color: rgba(255, 248, 239, 0.86);
  font-size: 1.02rem;
  line-height: 1.75;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-points {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 248, 239, 0.9);
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-points li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f0c5a4;
  box-shadow: 0 0 0 6px rgba(240, 197, 164, 0.14);
}

.hero-panel {
  display: grid;
  align-content: end;
  gap: 18px;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #f7efe5;
  box-shadow: var(--shadow);
}

.panel-label,
.card-topline {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-panel h2 {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.04;
}

.hero-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.signal-grid {
  display: grid;
  gap: 14px;
}

.signal-grid article,
.workflow-steps article,
.notes-stack article,
.category-card {
  position: relative;
  overflow: hidden;
}

.signal-grid article {
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
}

.signal-grid span,
.workflow-steps span {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.signal-grid h3,
.workflow-steps h3,
.notes-stack h3,
.category-card h3 {
  margin: 10px 0 8px;
  font-size: 1.16rem;
}

.quick-intro {
  padding: 0 8px;
}

.section-lead {
  max-width: 56rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.85;
}

.category-section,
.workflow-section,
.faq-section {
  display: grid;
  gap: 20px;
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 52rem;
}

.section-heading .eyebrow,
.notes-copy .eyebrow,
.final-cta .eyebrow {
  margin-bottom: 0;
  color: var(--muted);
}

.section-heading h2,
.notes-copy h2,
.final-cta h2 {
  font-size: clamp(2.2rem, 4.4vw, 4.3rem);
}

.section-heading p,
.notes-copy p,
.notes-stack p,
.workflow-steps p,
.category-card p,
.faq-list p,
.site-footer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.category-card {
  grid-column: span 4;
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 320px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fbf6ef;
  box-shadow: var(--shadow);
}

.category-card-large {
  grid-column: span 8;
}

.category-card::before {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(176, 86, 47, 0.08), transparent 70%);
  pointer-events: none;
}

.category-card > * {
  position: relative;
  z-index: 1;
}

.category-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.category-card li {
  position: relative;
  padding-left: 16px;
  color: var(--muted);
  line-height: 1.6;
}

.category-card li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.category-card a {
  margin-top: auto;
  font-weight: 800;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.workflow-steps article,
.notes-stack article,
.faq-list details,
.site-footer {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fbf6ef;
  box-shadow: var(--shadow);
}

.notes-section {
  padding: clamp(26px, 4vw, 34px);
  border-radius: calc(var(--radius-lg) + 6px);
  background:
    linear-gradient(115deg, rgba(255, 250, 244, 0.52), rgba(228, 217, 202, 0.75)),
    var(--bg-strong);
  box-shadow: var(--shadow);
}

.notes-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr;
  gap: 24px;
}

.notes-copy {
  max-width: 40rem;
}

.notes-copy p + p {
  margin-top: 14px;
}

.notes-stack {
  display: grid;
  gap: 16px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

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

.faq-list p {
  margin-top: 14px;
}

.final-cta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(120deg, rgba(24, 21, 18, 0.9), rgba(60, 45, 34, 0.76)),
    #1f1b18;
  color: #fff8ef;
  box-shadow: var(--shadow);
}

.final-cta .eyebrow {
  color: rgba(255, 248, 239, 0.7);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 26px;
}

.site-footer strong {
  display: inline-block;
  margin-bottom: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-content: start;
  font-weight: 700;
}

.detail-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
}

.detail-copy,
.detail-aside,
.detail-panel,
.detail-list article {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.detail-copy {
  background:
    linear-gradient(135deg, rgba(24, 21, 18, 0.92), rgba(57, 43, 33, 0.72)),
    #1f1b18;
  color: #fff8ef;
}

.detail-copy .eyebrow,
.detail-copy p,
.detail-copy li {
  color: rgba(255, 248, 239, 0.82);
}

.detail-copy h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 5.8rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.02em;
}

.detail-copy p {
  max-width: 42rem;
  line-height: 1.8;
}

.detail-copy ul,
.detail-panel ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.detail-copy li,
.detail-panel li {
  position: relative;
  padding-left: 16px;
  line-height: 1.65;
}

.detail-copy li::before,
.detail-panel li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.detail-aside,
.detail-panel,
.detail-list article {
  background: #fbf6ef;
}

.detail-aside {
  display: grid;
  align-content: end;
  gap: 18px;
}

.detail-aside h2,
.detail-panel h2,
.detail-list h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  font-weight: 400;
  line-height: 1;
}

.detail-aside p,
.detail-panel p,
.detail-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.detail-meta {
  display: grid;
  gap: 14px;
}

.detail-meta article {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.detail-list h3 {
  margin: 0 0 12px;
  font-size: 1.16rem;
}

.detail-panel {
  display: grid;
  gap: 16px;
}

.mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mini-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.5);
  font-weight: 700;
}

.mini-links a:hover {
  background: rgba(255, 250, 244, 0.82);
}

.support-hero,
.support-card,
.support-prose {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fbf6ef;
  box-shadow: var(--shadow);
}

.support-hero {
  display: grid;
  gap: 16px;
  background:
    linear-gradient(135deg, rgba(24, 21, 18, 0.92), rgba(57, 43, 33, 0.72)),
    #1f1b18;
  color: #fff8ef;
}

.support-hero .eyebrow,
.support-hero p {
  color: rgba(255, 248, 239, 0.82);
}

.support-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: 0.98;
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.support-card {
  display: grid;
  gap: 12px;
}

.support-card a {
  margin-top: auto;
  font-weight: 800;
}

.support-card h2,
.support-prose h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.support-card p,
.support-prose p,
.support-prose li {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.support-prose {
  display: grid;
  gap: 16px;
}

.support-prose ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
}

.article-shell {
  display: grid;
  gap: 22px;
}

.article-hero,
.article-section,
.article-callout {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fbf6ef;
  box-shadow: var(--shadow);
}

.article-hero {
  background:
    linear-gradient(135deg, rgba(24, 21, 18, 0.92), rgba(57, 43, 33, 0.72)),
    #1f1b18;
  color: #fff8ef;
}

.article-hero .eyebrow,
.article-hero p {
  color: rgba(255, 248, 239, 0.84);
}

.article-hero h1,
.article-section h2,
.article-callout h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 0.98;
}

.article-hero h1 {
  font-size: clamp(3rem, 6.2vw, 5.8rem);
}

.article-section {
  display: grid;
  gap: 16px;
}

.article-section h2,
.article-callout h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.article-section p,
.article-callout p,
.article-section li {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

.article-section ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
}

.article-callout {
  display: grid;
  gap: 14px;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: start;
    border-radius: 28px;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 14px 20px;
  }

  .hero,
  .detail-hero,
  .notes-layout,
  .final-cta,
  .site-footer {
    grid-template-columns: 1fr;
    display: grid;
  }

  .category-card,
  .category-card-large {
    grid-column: span 6;
  }

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

  .detail-list {
    grid-template-columns: 1fr;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
    padding-top: 10px;
  }

  .site-header {
    position: static;
    padding: 16px;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy,
  .hero-panel,
  .notes-section,
  .final-cta,
  .site-footer,
  .category-card,
  .workflow-steps article,
  .faq-list details {
    border-radius: 24px;
  }

  .hero-copy h1 {
    max-width: 9ch;
    font-size: clamp(2.8rem, 17vw, 4.6rem);
  }

  .category-grid,
  .workflow-steps {
    grid-template-columns: 1fr;
  }

  .category-card,
  .category-card-large {
    grid-column: span 1;
    min-height: auto;
  }

  .footer-links,
  .hero-actions,
  .cta-actions {
    width: 100%;
  }

  .header-cta,
  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
