.hero {
  display: grid;
  place-items: center;
  min-height: 74svh;
  padding: 54px 20px 70px;
  text-align: center;
  color: var(--paper);
  background-color: var(--teal-850);
  background-image:
    linear-gradient(180deg, rgba(8, 50, 60, 0.82) 0%, rgba(12, 58, 68, 0.76) 38%, rgba(21, 77, 86, 0.86) 100%),
    url("../../CarpetDaddy_2026-07-21_20-07-42.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-inner {
  width: min(100%, 860px);
  margin: 0 auto;
}

.brand-lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.brand-mark {
  width: 88px;
  height: 88px;
  object-fit: contain;
  display: block;
}

.brand-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-size: clamp(78px, 12vw, 124px);
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: -5px;
}

.brand-name span {
  display: block;
  text-align: center;
}

.brand-name span:first-child {
  color: var(--paper);
}

.brand-name span:last-child {
  color: var(--mustard);
}

.eyebrow {
  margin: 34px 0 0;
  color: var(--paper);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 720px;
  margin: 18px auto 0;
  color: var(--paper);
  font-size: clamp(21px, 2.5vw, 28px);
  line-height: 1.45;
}

.hero-jump {
  display: inline-block;
  margin-top: 34px;
  color: var(--paper-2);
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.hero-jump:hover,
.hero-jump:focus-visible {
  color: var(--paper);
  outline: none;
}

.hero-jump::after {
  content: "↓";
  display: block;
  margin-top: 2px;
  color: var(--mustard);
  font-size: 26px;
  line-height: 1;
}

.section {
  padding: 84px 0;
}

.section-inner {
  width: min(calc(100% - 36px), var(--page-width));
  margin: 0 auto;
}

.section-kicker {
  margin: 0;
  color: var(--rust);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.section-title {
  margin: 8px 0 0;
  color: var(--teal-900);
  font-size: clamp(42px, 7vw, 64px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2.4px;
}

.faq {
  background: var(--paper);
}

.faq-list {
  display: grid;
  margin-top: 36px;
  border-top: 2px solid var(--teal-900);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  position: relative;
  padding: 23px 40px 23px 0;
  color: var(--teal-900);
  cursor: pointer;
  list-style: none;
  font-size: 23px;
  font-weight: 900;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 2px;
  color: var(--mustard);
  font-size: 30px;
  font-weight: 900;
  transform: translateY(-53%);
}

details[open] summary::after {
  content: "−";
}

details p {
  max-width: 760px;
  margin: -4px 0 24px;
  color: var(--ink-soft);
  font-size: 18px;
}

.news-preview {
  background: var(--paper-2);
}

.news-preview-copy {
  max-width: 660px;
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 19px;
}

.news-preview-status {
  margin: 24px 0 0;
  color: var(--ink-soft);
}

.news-preview-list {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin-top: 20px;
}

.news-preview-item {
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  background: #fff;
}

.news-preview-title {
  margin: 0;
  color: var(--teal-900);
  font-size: 29px;
  line-height: 1.12;
  letter-spacing: -1px;
}

.news-preview-title a {
  text-decoration: none;
}

.news-preview-title a:hover,
.news-preview-title a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.news-preview-meta {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.news-preview-description {
  margin: 9px 0 0;
  color: var(--ink);
}

.news-preview-more {
  display: inline-block;
  margin-top: 26px;
  color: var(--teal-900);
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0.3px;
}

.news-preview-more:hover,
.news-preview-more:focus-visible {
  text-decoration: underline;
  outline: none;
}

.links {
  color: var(--paper);
  background: var(--teal-900);
}

.links .section-kicker {
  color: var(--mustard);
}

.links .section-title {
  color: var(--paper);
}

.links-copy {
  max-width: 660px;
  margin: 16px 0 0;
  color: rgba(247, 242, 233, 0.84);
  font-size: 19px;
}

.social-list {
  display: grid;
  gap: 6px;
  max-width: 760px;
  margin-top: 30px;
}

.social-link {
  gap: 12px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  font-size: 24px;
  line-height: 1;
}

.social-link small {
  white-space: nowrap;
}

.social-link-primary {
  color: var(--ink);
  background: var(--mustard);
  border-color: var(--mustard);
}

.menu-link.social-link-primary:hover,
.menu-link.social-link-primary:focus-visible {
  color: var(--ink);
  background: #e4b24f;
  border-color: var(--paper);
}

.social-link-primary small {
  color: rgba(43, 40, 35, 0.72);
}

.menu-list {
  display: grid;
  gap: 6px;
  max-width: 760px;
  margin-top: 30px;
}

.menu-link {
  display: flex;
  align-items: center;
  min-height: 62px;
  padding: 12px 16px 12px 24px;
  color: var(--paper);
  border: 3px solid transparent;
  text-decoration: none;
  font-size: 24px;
  font-weight: 900;
  transition: border-color 120ms ease, background-color 120ms ease, padding-left 120ms ease;
}

.menu-link:hover,
.menu-link:focus-visible {
  padding-left: 34px;
  border-color: var(--mustard);
  background: rgba(255, 255, 255, 0.05);
  outline: none;
}

.menu-link::before {
  content: "";
  width: 0;
  height: 8px;
  margin-right: 0;
  border-radius: 999px;
  background: var(--mustard);
  transition: width 120ms ease, margin-right 120ms ease;
  flex: 0 0 auto;
}

.menu-link:hover::before,
.menu-link:focus-visible::before {
  width: 14px;
  margin-right: 12px;
}

.menu-link small {
  margin-left: auto;
  color: rgba(247, 242, 233, 0.7);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.update-toast {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 85;
  width: min(360px, calc(100% - 28px));
  padding: 14px 14px 12px;
  color: var(--paper);
  background: rgba(11, 45, 53, 0.96);
  border: 1px solid rgba(247, 242, 233, 0.22);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.update-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.update-toast-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.update-toast-kicker {
  margin: 0;
  color: var(--mustard);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.update-toast-close {
  appearance: none;
  width: 28px;
  height: 28px;
  margin: -2px -2px 0 0;
  padding: 0;
  border: 0;
  color: var(--paper);
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.update-toast-close:hover,
.update-toast-close:focus-visible {
  color: var(--mustard);
  outline: none;
}

.update-toast-copy {
  margin: 8px 0 0;
  color: rgba(247, 242, 233, 0.86);
  font-size: 15px;
  line-height: 1.4;
}

.update-toast-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--paper);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.update-toast-link:hover,
.update-toast-link:focus-visible {
  text-decoration: underline;
  outline: none;
}

@media (max-width: 640px) {
  .hero {
    min-height: 68svh;
    padding-top: 44px;
  }

  .brand-mark {
    width: 68px;
    height: 68px;
  }

  .brand-name {
    font-size: clamp(58px, 21vw, 86px);
    letter-spacing: -4px;
  }

  .hero-copy {
    font-size: 19px;
  }

  .section {
    padding: 68px 0;
  }

  summary {
    padding-right: 34px;
    font-size: 20px;
  }

  .menu-link {
    padding-left: 12px;
    font-size: 20px;
  }

  .menu-link small {
    font-size: 10px;
  }

  .social-link {
    flex-wrap: wrap;
  }

  .social-link small {
    flex-basis: calc(100% - 38px);
    margin-left: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .update-toast {
    transform: none;
  }
}
