:root {
  --bg-top: #5f2f08;
  --bg-bottom: #2b1606;
  --panel: #6e3810;
  --panel-dark: #442106;
  --panel-outline: rgba(255, 240, 0, 0.22);
  --yellow: #ffef00;
  --yellow-soft: #fff6a8;
  --green-original-frame: #83cf4c;
  --green-original-body: #53cf4c;
  --green-bright: #85cf4b;
  --green-mid: #59bc45;
  --green-deep: #2d6b29;
  --green-dark: #1f4d1d;
  --green-shadow: #173817;
  --surface: rgba(25, 12, 3, 0.24);
  --surface-strong: rgba(34, 17, 5, 0.54);
  --text-main: #fff7c7;
  --text-muted: rgba(255, 247, 199, 0.72);
  --line: rgba(255, 239, 0, 0.14);
  --shadow: rgba(16, 6, 0, 0.42);
  --font-display: "Trebuchet MS", "Avenir Next Condensed", "Franklin Gothic Medium", sans-serif;
  --font-body: "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-main);
  background:
    radial-gradient(circle at top, rgba(255, 233, 112, 0.18), transparent 26%),
    radial-gradient(circle at 20% 20%, rgba(133, 207, 75, 0.12), transparent 24%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--panel-dark) 44%, var(--bg-bottom) 100%);
}

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

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

.site-shell {
  width: min(1200px, calc(100% - 24px));
  margin: 12px auto;
  padding: clamp(18px, 2vw, 28px);
  border: 1px solid var(--panel-outline);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 16%),
    linear-gradient(180deg, rgba(255, 239, 0, 0.08), transparent 30%),
    rgba(74, 36, 8, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 30px 80px var(--shadow);
}

.site-header,
.site-footer,
.hero-panel,
.content-section {
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 18%),
    linear-gradient(180deg, rgba(145, 224, 105, 0.12), rgba(0, 0, 0, 0) 28%),
    linear-gradient(180deg, rgba(31, 77, 29, 0.96), rgba(23, 56, 23, 0.96));
  backdrop-filter: blur(12px);
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
}

.site-header {
  margin-bottom: 18px;
  border-color: #677d0d;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.12) 24%, rgba(255, 255, 255, 0) 34%),
    linear-gradient(180deg, #c7eb34 0%, #b8e41d 56%, #9ecb0f 100%);
  box-shadow:
    inset 0 0 0 1px rgba(247, 255, 175, 0.66),
    0 2px 0 rgba(78, 95, 8, 0.72);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark,
.footer-mark {
  width: 78px;
  height: 70px;
  padding: 2px;
  border-radius: 16px;
  flex: 0 0 auto;
  border: 1px solid #4f7f30;
  box-shadow:
    inset 0 0 0 3px #ffef00,
    inset 0 0 0 4px #4f7f30,
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 8px 18px rgba(0, 0, 0, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 248, 248, 0.99));
  overflow: hidden;
}

.brand-mark img,
.footer-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-mark {
  width: 66px;
  height: 56px;
  padding: 4px;
  border-radius: 14px;
}

.brand-copy {
  min-width: 0;
}

.brand-name {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.95;
  color: #473400;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.22);
}

.brand-tagline {
  margin: 6px 0 0;
  font-size: 0.92rem;
  color: rgba(56, 42, 0, 0.88);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.16);
}

.site-nav,
.footer-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.site-nav {
  margin-top: 0;
}

.site-nav a,
.footer-nav a,
.section-heading a,
.button {
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.site-nav a,
.footer-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: #2f2300;
  font-weight: 600;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.18);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.footer-nav a:hover,
.footer-nav a:focus-visible,
.section-heading a:hover,
.section-heading a:focus-visible,
.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.22);
}

main {
  display: grid;
  gap: 18px;
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.95fr);
  gap: 18px;
  padding: clamp(20px, 3vw, 34px);
  overflow: hidden;
  border-color: #5c9135;
  background:
    radial-gradient(circle at top right, rgba(216, 251, 72, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 14%),
    linear-gradient(180deg, #6ab83f 0%, #43b23e 100%);
  box-shadow:
    inset 0 1px 0 rgba(239, 255, 182, 0.22),
    0 18px 40px rgba(16, 6, 0, 0.16);
}

.hero-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  min-height: 360px;
}

.eyebrow,
.card-label,
.card-topline {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.77rem;
  color: var(--yellow-soft);
}

.hero-copy h1,
.section-heading h2,
.category-card h3 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.05em;
}

.hero-copy h1 {
  max-width: 10ch;
  font-size: clamp(2.5rem, 5vw, 4.75rem);
  line-height: 0.92;
}

.hero-text,
.category-card p,
.info-copy,
.site-footer p {
  margin: 0;
  color: rgba(38, 40, 12, 0.76);
  line-height: 1.6;
}

.hero-text {
  max-width: 36rem;
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
}

.button-primary {
  color: #2d1a03;
  background: linear-gradient(180deg, #fff48d 0%, var(--yellow) 100%);
}

.button-secondary {
  color: var(--text-main);
  border-color: rgba(255, 239, 0, 0.24);
  background: rgba(255, 239, 0, 0.06);
}

.hero-card,
.category-card,
.mini-panel {
  border-radius: 22px;
  border: 1px solid rgba(92, 145, 53, 0.88);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 18%),
    linear-gradient(180deg, rgba(114, 185, 68, 0.2), rgba(68, 132, 46, 0.28));
}

.hero-card {
  padding: 20px;
  display: grid;
  gap: 14px;
}

.hero-placeholder {
  min-height: 100%;
  border-radius: 18px;
  border: 1px dashed rgba(103, 125, 13, 0.9);
  background:
    radial-gradient(circle at top right, rgba(216, 251, 72, 0.22), transparent 24%),
    linear-gradient(180deg, rgba(132, 207, 76, 0.4), rgba(83, 207, 76, 0.22));
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  letter-spacing: -0.03em;
}

.content-section {
  padding: clamp(18px, 2.4vw, 28px);
  border-color: #5c9135;
  background:
    radial-gradient(circle at top right, rgba(216, 251, 72, 0.14), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 14%),
    linear-gradient(180deg, #6ab83f 0%, #43b23e 100%);
  box-shadow:
    inset 0 1px 0 rgba(239, 255, 182, 0.2),
    0 18px 40px rgba(16, 6, 0, 0.14);
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.section-heading h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.section-heading a {
  color: #476600;
  font-size: 0.92rem;
}

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

.category-card {
  padding: 18px;
}

.category-card h3 {
  margin: 10px 0 8px;
  font-size: 1.4rem;
}

.info-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(220px, 0.7fr);
  gap: 14px;
}

.mini-panel {
  min-height: 160px;
  display: grid;
  place-items: center;
  padding: 18px;
  color: #f6f3b2;
  text-align: center;
}

.site-footer {
  margin-top: 18px;
  border-color: #677d0d;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.12) 24%, rgba(255, 255, 255, 0) 34%),
    linear-gradient(180deg, #c7eb34 0%, #b8e41d 56%, #9ecb0f 100%);
  box-shadow:
    inset 0 0 0 1px rgba(247, 255, 175, 0.66),
    0 2px 0 rgba(78, 95, 8, 0.72);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.site-footer p {
  font-size: 0.92rem;
  color: rgba(56, 42, 0, 0.92);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.18);
}

@media (max-width: 960px) {
  .hero-panel,
  .info-panel,
  .category-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-panel {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: 12ch;
  }

  .hero-card {
    min-height: 260px;
  }

  .info-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100% - 12px, 100%);
    margin: 6px;
    padding: 12px;
    border-radius: 22px;
  }

  .site-header,
  .site-footer,
  .section-heading {
    align-items: flex-start;
  }

  .site-header,
  .site-footer {
    flex-direction: column;
    padding: 16px;
  }

  .footer-brand {
    width: 100%;
  }

  .site-nav,
  .footer-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .site-nav a,
  .footer-nav a {
    padding-left: 0;
    padding-right: 0;
  }

  .site-nav {
    margin-top: 0;
  }

  .hero-panel,
  .content-section {
    padding: 16px;
  }

  .hero-copy {
    min-height: 0;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 11vw, 3.8rem);
  }

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

  .section-heading {
    flex-direction: column;
    margin-bottom: 14px;
  }
}
