:root {
  --ink: #132c25;
  --ink-soft: #45645a;
  --felt: #0d3b31;
  --felt-deep: #092d26;
  --ivory: #f6f0e3;
  --paper: #fffbf2;
  --vermillion: #b83831;
  --vermillion-dark: #8c2725;
  --brass: #b9954b;
  --line: rgba(19, 44, 37, 0.22);
  --header-height: 72px;
}

* { box-sizing: border-box; }

html {
  background: var(--ivory);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 22px);
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: "Trebuchet MS", Tahoma, sans-serif;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--vermillion);
  outline-offset: 4px;
}

.shell {
  width: min(1200px, calc(100% - 104px));
  margin: 0 auto;
  min-width: 0;
}

.site-header {
  position: relative;
  z-index: 10;
  background: var(--felt-deep);
  border-bottom: 1px solid rgba(246, 240, 227, 0.2);
}

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

.wordmark {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  text-decoration: none;
}

.wordmark img {
  width: auto;
  max-width: 92px;
  max-height: 50px;
}

.header-play,
.cta-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e6c276;
  background: var(--ivory);
  color: var(--felt-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.2;
  padding: 12px 18px;
  text-align: center;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.header-play:hover,
.cta-action:hover {
  background: #f0d38f;
  transform: translateY(-2px);
}

.site-section {
  padding: 88px 0;
  position: relative;
}

.site-section[id] { scroll-margin-top: calc(var(--header-height) + 22px); }

.section-heading {
  max-width: 780px;
  margin: 0 0 38px;
}

.section-heading h2,
.feature-grid h2,
.content-width h2,
.cta-box h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-family: Cambria, "Times New Roman", serif;
  font-size: clamp(2rem, 3.3vw, 3.3rem);
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.04;
  text-wrap: balance;
}

.lead,
.section-heading p,
.item-card p,
.faq-list p,
.cta-box p,
.footer-content span,
.longform-copy,
.item-rich-copy {
  color: var(--ink-soft);
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.section-hero {
  padding: 72px 0 98px;
  background: linear-gradient(120deg, #edf0e5 0 42%, var(--ivory) 42% 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(310px, 0.82fr) minmax(0, 1.18fr);
  align-items: end;
}

.hero-grid > div:first-child {
  grid-column: 1;
  grid-row: 1;
  z-index: 2;
  margin: 0 -74px 34px 0;
  padding: clamp(32px, 4.5vw, 58px) clamp(28px, 4vw, 52px);
  background: var(--felt);
  border: 1px solid rgba(246, 240, 227, 0.45);
  box-shadow: 18px 20px 0 rgba(184, 56, 49, 0.16);
  clip-path: polygon(0 0, 94% 0, 100% 8%, 100% 100%, 6% 100%, 0 92%);
}

.hero-grid h1 {
  margin: 0 0 20px;
  color: var(--ivory);
  font-family: Cambria, "Times New Roman", serif;
  font-size: clamp(2.45rem, 3.85vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero-grid .lead { color: rgba(255, 251, 242, 0.84); }

.hero-grid .media-slot {
  grid-column: 2;
  grid-row: 1;
  padding: 13px;
  background: var(--vermillion);
  box-shadow: 15px 18px 0 rgba(13, 59, 49, 0.12);
}

.hero-grid .media-slot img { animation: table-arrival 560ms cubic-bezier(0.22, 1, 0.36, 1) both; }

#trust-1 {
  background-color: #e8ecdf;
  background-image: linear-gradient(rgba(232, 236, 223, 0.93), rgba(232, 236, 223, 0.93)), url("../uploads/media-32aee54a-29f3-4180-8277-1a11d784c30a.png");
  background-position: center;
  background-size: cover;
}

#trust-1 .section-heading { margin-left: 0; }

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

#trust-1 .item-card {
  min-width: 0;
  padding: 28px 27px 31px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 251, 242, 0.54);
}

.item-card h3 {
  margin: 0 0 10px;
  color: var(--felt);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.22rem, 1.7vw, 1.6rem);
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.item-card p { margin: 0; }

.section-cta { padding: 42px 0; background: var(--ivory); }

.cta-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.34fr);
  align-items: center;
  gap: 38px;
  padding: 38px clamp(28px, 5vw, 64px);
  background: var(--vermillion);
  box-shadow: 11px 12px 0 var(--felt-deep);
}

.cta-box h2 { color: var(--ivory); font-size: clamp(1.8rem, 3.15vw, 3rem); }
.cta-box p { color: rgba(255, 251, 242, 0.86); }
.cta-box .cta-action { justify-self: end; min-height: 53px; min-width: 230px; }

#category-grid-2 { background: #fffaf0; }

#category-grid-2 .section-heading { margin-bottom: 46px; }

#category-grid-2 .item-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
}

#category-grid-2 .item-card {
  display: grid;
  grid-column: span 6;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 22px;
  align-items: start;
  min-width: 0;
  padding: 14px 0 22px;
  border-top: 2px solid var(--felt);
  border-bottom: 1px solid var(--line);
}

#category-grid-2 .item-card:first-child,
#category-grid-2 .item-card:last-child {
  grid-column: span 12;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

#category-grid-2 .item-card-media {
  grid-column: 1;
  grid-row: 1 / span 2;
  min-width: 0;
  padding: 8px;
  background: var(--felt);
}

#category-grid-2 .item-card:nth-child(even) .item-card-media { background: var(--vermillion); }

#category-grid-2 .item-card h3 { grid-column: 2; margin-top: 5px; }
#category-grid-2 .item-card p { grid-column: 2; }

.section-feature {
  background: var(--felt-deep);
  color: var(--ivory);
}

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(270px, 0.92fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.feature-grid .media-slot {
  padding: 11px;
  background: var(--brass);
  box-shadow: 15px 17px 0 rgba(184, 56, 49, 0.72);
}

.feature-grid .section-heading { margin: 0; }
.feature-grid h2 { color: var(--ivory); }
.feature-grid .section-heading p { color: rgba(246, 240, 227, 0.78); }

#list-5 {
  background: linear-gradient(135deg, #154b3f 0 59%, #0d3b31 59% 100%);
}

#list-5 .section-heading { max-width: 820px; }
#list-5 .section-heading h2 { color: var(--ivory); }
#list-5 .section-heading p { color: rgba(246, 240, 227, 0.8); }

#list-5 .item-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(246, 240, 227, 0.33);
  border-left: 1px solid rgba(246, 240, 227, 0.33);
}

#list-5 .item-card {
  min-width: 0;
  padding: 30px 34px 34px;
  border-right: 1px solid rgba(246, 240, 227, 0.33);
  border-bottom: 1px solid rgba(246, 240, 227, 0.33);
}

#list-5 .item-card h3 { color: #f2d48c; }
#list-5 .item-card p { color: rgba(246, 240, 227, 0.8); }

#guide-6 { background: #e8ecdf; }

#guide-6 .inline-media {
  max-width: 960px;
  margin: 0 0 42px auto;
  padding: 11px;
  background: var(--vermillion);
}

#guide-6 .item-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

#guide-6 .item-card {
  min-width: 0;
  padding: 26px 22px 28px;
  background: var(--paper);
  border-top: 5px solid var(--felt);
  box-shadow: 8px 9px 0 rgba(13, 59, 49, 0.12);
}

#guide-6 .item-card:nth-child(2) { border-top-color: var(--vermillion); }
#guide-6 .item-card:nth-child(3) { border-top-color: var(--brass); }

#faq-7 { background: #fffaf0; }

.content-width { max-width: 900px; }

#faq-7 .section-heading { margin-bottom: 28px; }

.faq-list {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.faq-list details:last-child { border-bottom: 0; }

.faq-list summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  cursor: pointer;
  list-style: none;
  padding: 22px 0;
  color: var(--felt);
  font-family: Cambria, "Times New Roman", serif;
  font-size: clamp(1.18rem, 2vw, 1.48rem);
  font-weight: 600;
  line-height: 1.25;
}

.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--vermillion); font-family: "Trebuchet MS", Tahoma, sans-serif; font-size: 1.9rem; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { margin: -3px 0 22px; max-width: 76ch; }

#seo-longform { padding-top: 98px; background: var(--paper); }

#seo-longform .shell { max-width: 950px; }

#seo-longform .section-heading { max-width: 860px; }

#seo-longform .inline-media {
  margin: 0 0 44px;
  padding: 11px;
  background: var(--felt);
}

#seo-longform .item-grid { display: grid; gap: 0; }

#seo-longform .item-card {
  padding: 42px 0;
  border-top: 1px solid var(--line);
}

#seo-longform .item-card h3,
.longform-copy h2,
.longform-copy h3,
.longform-copy h4,
.item-rich-copy h2,
.item-rich-copy h3,
.item-rich-copy h4 {
  color: var(--felt);
  font-family: Cambria, "Times New Roman", serif;
}

#seo-longform .item-card h3 { margin-bottom: 18px; font-size: clamp(1.65rem, 2.7vw, 2.35rem); }

.longform-copy,
.item-rich-copy { max-width: 76ch; }

.longform-copy h2,
.item-rich-copy h2 { margin: 34px 0 12px; font-size: clamp(1.5rem, 2.3vw, 2.05rem); line-height: 1.2; }
.longform-copy h3,
.item-rich-copy h3 { margin: 28px 0 11px; font-size: clamp(1.28rem, 2vw, 1.7rem); line-height: 1.25; }
.longform-copy h4,
.item-rich-copy h4 { margin: 23px 0 9px; font-size: 1.1rem; line-height: 1.35; }
.longform-copy p,
.item-rich-copy p { margin: 0 0 16px; }
.longform-copy ul,
.longform-copy ol,
.item-rich-copy ul,
.item-rich-copy ol { margin: 0 0 18px; padding-left: 1.3em; }
.longform-copy li,
.item-rich-copy li { margin: 7px 0; }
.longform-copy a,
.item-rich-copy a { color: var(--vermillion-dark); font-weight: 700; }

.section-footer { padding: 0; background: var(--felt-deep); }

.footer-content {
  display: grid;
  gap: 10px;
  padding: 42px 0 48px;
  border-top: 1px solid rgba(246, 240, 227, 0.25);
  color: rgba(246, 240, 227, 0.75);
  text-align: center;
}

.footer-content strong {
  color: var(--ivory);
  font-family: Cambria, "Times New Roman", serif;
  font-size: 1.42rem;
  font-weight: 500;
}

.footer-content span { color: rgba(246, 240, 227, 0.72); }

@keyframes table-arrival {
  from { filter: saturate(0.74) brightness(0.87); transform: translateY(12px); }
  to { filter: saturate(1) brightness(1); transform: translateY(0); }
}

@media (max-width: 1040px) {
  .shell { width: min(1200px, calc(100% - 64px)); }
  .hero-grid h1 { font-size: clamp(2.35rem, 5vw, 3.65rem); }
  .hero-grid > div:first-child { margin-right: -46px; }
}

@media (max-width: 760px) {
  :root { --header-height: 64px; }

  body { padding-top: var(--header-height); }

  .shell { width: min(680px, calc(100% - 52px)); }

  .site-header {
    position: fixed;
    inset: 0 0 auto;
    min-height: var(--header-height);
  }

  .header-inner {
    min-height: var(--header-height);
    gap: 10px;
  }

  .wordmark img { max-width: 48px; max-height: 40px; }

  .header-play {
    max-width: calc(100% - 58px);
    min-height: 40px;
    padding: 7px 9px;
    font-size: 0.75rem;
    letter-spacing: 0.01em;
  }

  .site-section { padding: 58px 0; }

  .section-hero { padding-top: 32px; padding-bottom: 64px; }

  .hero-grid,
  .feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .hero-grid > div:first-child {
    grid-column: 1;
    grid-row: auto;
    margin: 0;
    padding: 31px 26px 33px;
    box-shadow: 9px 10px 0 rgba(184, 56, 49, 0.16);
  }

  .hero-grid h1 {
    font-size: clamp(2rem, 10.3vw, 2.72rem);
    line-height: 1.01;
  }

  .hero-grid .media-slot {
    grid-column: 1;
    grid-row: auto;
    padding: 8px;
    box-shadow: 8px 9px 0 rgba(13, 59, 49, 0.12);
  }

  .section-heading { margin-bottom: 28px; }

  .section-heading h2,
  .feature-grid h2,
  .content-width h2,
  .cta-box h2 { font-size: clamp(1.8rem, 8.8vw, 2.55rem); }

  .lead,
  .section-heading p,
  .item-card p,
  .faq-list p,
  .cta-box p,
  .footer-content span,
  .longform-copy,
  .item-rich-copy { font-size: 0.98rem; }

  #trust-1 .item-grid,
  #list-5 .item-grid,
  #guide-6 .item-grid { grid-template-columns: minmax(0, 1fr); }

  #trust-1 .item-card,
  #list-5 .item-card { padding: 24px 10px 26px; border-right: 0; }

  #trust-1 .item-grid,
  #list-5 .item-grid { border-left: 0; }

  #trust-1 .item-card { background: transparent; }

  .cta-box {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 30px 25px;
    box-shadow: 8px 9px 0 var(--felt-deep);
  }

  .cta-box .cta-action { justify-self: stretch; min-width: 0; width: 100%; }

  #category-grid-2 .section-heading { margin-bottom: 32px; }

  #category-grid-2 .item-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; }

  #category-grid-2 .item-card,
  #category-grid-2 .item-card:first-child,
  #category-grid-2 .item-card:last-child {
    grid-column: 1;
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
    padding-bottom: 24px;
  }

  #category-grid-2 .item-card-media { grid-column: 1; grid-row: auto; padding: 7px; }
  #category-grid-2 .item-card h3,
  #category-grid-2 .item-card p { grid-column: 1; }

  .feature-grid { gap: 28px; }

  .feature-grid .media-slot { padding: 8px; box-shadow: 8px 9px 0 rgba(184, 56, 49, 0.72); }

  #guide-6 .inline-media { margin-bottom: 28px; padding: 8px; }

  #guide-6 .item-grid { gap: 16px; }

  #guide-6 .item-card { padding: 22px 20px 24px; box-shadow: 6px 7px 0 rgba(13, 59, 49, 0.1); }

  .faq-list summary { padding: 18px 0; font-size: 1.18rem; }

  #seo-longform { padding-top: 65px; }

  #seo-longform .inline-media { margin-bottom: 30px; padding: 8px; }

  #seo-longform .item-card { padding: 31px 0; }

  #seo-longform .item-card h3 { font-size: clamp(1.48rem, 7vw, 2rem); }

  .footer-content { padding: 34px 0 38px; }
}

@media (max-width: 280px) {
  .shell { width: calc(100% - 52px); }
  .header-play { font-size: 0.75rem; padding-inline: 7px; }
  .hero-grid > div:first-child { padding: 27px 20px 29px; }
  .hero-grid h1 { font-size: 1.78rem; }
  .section-heading h2,
  .feature-grid h2,
  .content-width h2,
  .cta-box h2 { font-size: 1.68rem; }
  .cta-box { padding: 27px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
