:root {
  --bg: #f7f1e6;
  --bg-soft: #fff9f1;
  --surface: rgba(255, 250, 242, 0.9);
  --surface-strong: #fffdf8;
  --ink: #1f2d22;
  --muted: #566258;
  --line: rgba(31, 45, 34, 0.1);
  --accent: #2d6a4f;
  --accent-deep: #1d4d39;
  --accent-warm: #d9a86c;
  --shadow: 0 24px 60px rgba(41, 54, 34, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(217, 168, 108, 0.24), transparent 28%),
    radial-gradient(circle at top right, rgba(45, 106, 79, 0.16), transparent 24%),
    linear-gradient(180deg, #f6efe2 0%, #f7f1e6 48%, #f4ecdf 100%);
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header,
main,
.site-footer {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent) 0%, #85a05f 100%);
  color: white;
  font-weight: 800;
}

.brand-name {
  font-family: "Fraunces", serif;
  font-size: 1.4rem;
  font-weight: 700;
}

.eyebrow,
.card-kicker,
.result-label,
.site-footer p:first-child {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  font-weight: 800;
}

.eyebrow,
.card-kicker,
.result-label {
  color: var(--accent-deep);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--muted);
  font-weight: 700;
}

.hero {
  padding: 2.5rem 0 2rem;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 1.5rem;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.guide-card,
.planner-layout,
.garden-tool,
.room-card,
.newsletter,
.faq-list details,
.feature-strip article,
.ad-slot {
  backdrop-filter: blur(10px);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 2.4rem;
  border-radius: var(--radius-lg);
}

.hero h1,
.section-heading h2,
.newsletter h2,
.planner-results h3,
.guide-card h3,
.hero-panel h2 {
  font-family: "Fraunces", serif;
  line-height: 1.04;
}

.hero h1 {
  font-size: clamp(2.7rem, 6vw, 5.5rem);
  margin: 0.35rem 0 1rem;
  max-width: 10ch;
}

.hero-text {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 56ch;
  color: var(--muted);
}

.hero-actions,
.hero-highlights,
.mini-stats,
.feature-strip,
.guide-grid,
.room-grid,
.newsletter,
.planner-layout {
  display: grid;
}

.hero-actions {
  grid-template-columns: repeat(2, max-content);
  gap: 0.85rem;
  margin: 1.7rem 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 800;
}

.button-primary {
  background: var(--accent);
  color: #fff;
}

.button-secondary {
  background: transparent;
  border-color: var(--line);
}

.hero-highlights {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.hero-highlights li {
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 16px;
  color: var(--muted);
  font-weight: 700;
}

.hero-panel {
  border-radius: var(--radius-lg);
  padding: 2rem;
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.92), rgba(244, 236, 223, 0.9)),
    var(--surface);
}

.hero-panel h2 {
  margin: 0.4rem 0 0.7rem;
  font-size: 2rem;
}

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

.mini-stats {
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.mini-stats div {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 18px;
}

.mini-stats strong {
  display: block;
  font-size: 1.35rem;
}

.mini-stats span {
  color: var(--muted);
}

.feature-strip,
.guide-grid,
.room-grid {
  gap: 1rem;
}

.feature-strip {
  grid-template-columns: repeat(3, 1fr);
  margin: 1rem 0 2rem;
}

.feature-strip article,
.guide-card,
.room-card {
  border-radius: 24px;
  padding: 1.5rem;
}

.feature-strip span {
  color: var(--accent-warm);
  font-weight: 800;
}

.feature-strip h2,
.guide-card h3,
.room-card h3 {
  margin: 0.65rem 0;
  font-size: 1.28rem;
}

.feature-strip p,
.guide-card p,
.room-card p,
.planner-results li,
.faq-list p {
  color: var(--muted);
  line-height: 1.7;
}

.ad-slot {
  margin: 2rem 0;
  border-radius: 22px;
  padding: 1rem;
  text-align: center;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(45, 106, 79, 0.05),
      rgba(45, 106, 79, 0.05) 14px,
      rgba(255, 255, 255, 0.4) 14px,
      rgba(255, 255, 255, 0.4) 28px
    ),
    var(--surface);
}

.ad-slot p {
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-deep);
  font-weight: 800;
}

.ad-slot div {
  padding: 2.2rem 1rem;
  border: 1px dashed rgba(45, 106, 79, 0.32);
  border-radius: 16px;
  color: var(--muted);
}

.ad-slot-wide div {
  padding-block: 3rem;
}

.section {
  padding: 1.25rem 0 1.5rem;
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 1rem;
}

.section-heading h2,
.newsletter h2 {
  margin: 0.3rem 0 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.guide-grid {
  grid-template-columns: repeat(4, 1fr);
}

.guide-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.guide-card a {
  margin-top: auto;
  font-weight: 800;
  color: var(--accent);
}

.planner-layout {
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
  padding: 1rem;
  border-radius: 28px;
}

.planner-form,
.planner-results {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.25rem;
}

.planner-form {
  display: grid;
  gap: 0.9rem;
}

.planner-form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 700;
}

.planner-form select,
.newsletter-form input {
  width: 100%;
  min-height: 3rem;
  border-radius: 14px;
  border: 1px solid rgba(31, 45, 34, 0.14);
  background: #fff;
  padding: 0.75rem 0.9rem;
  color: var(--ink);
}

.planner-results ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.garden-tool {
  padding: 1rem;
  border-radius: 28px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.chip {
  border: 1px solid rgba(31, 45, 34, 0.12);
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 0.7rem 1rem;
  font-weight: 800;
  cursor: pointer;
}

.chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.plant-grid,
.room-grid {
  grid-template-columns: repeat(4, 1fr);
}

.plant-card {
  padding: 1.2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
}

.plant-card p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.plant-meta {
  color: var(--accent-deep);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.newsletter {
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 28px;
  align-items: center;
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
}

.newsletter-copy {
  color: var(--muted);
  line-height: 1.7;
  max-width: 52ch;
}

.newsletter-copy a {
  color: var(--accent);
  font-weight: 800;
}

.newsletter-status {
  margin: 0;
  grid-column: 1 / -1;
  min-height: 1.5rem;
  color: var(--muted);
  font-weight: 700;
}

.newsletter-status[data-state="success"] {
  color: var(--accent-deep);
}

.newsletter-status[data-state="error"] {
  color: #a63b2b;
}

.newsletter-form .button[disabled] {
  opacity: 0.7;
  cursor: wait;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-list details {
  border-radius: 20px;
  padding: 1.1rem 1.2rem;
}

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

.faq-list p {
  margin-bottom: 0;
}

.site-footer {
  padding: 2rem 0 3rem;
  color: var(--muted);
}

.site-footer p {
  margin: 0.2rem 0;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.9rem;
}

.footer-links a {
  font-weight: 700;
}

.simple-page {
  padding: 2rem 0 4rem;
}

.simple-shell {
  max-width: 52rem;
  padding: 2rem;
  border-radius: 28px;
  backdrop-filter: blur(10px);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.simple-shell h1,
.simple-shell h2 {
  font-family: "Fraunces", serif;
}

.simple-shell p,
.simple-shell li {
  color: var(--muted);
  line-height: 1.75;
}

.simple-shell ul {
  padding-left: 1.2rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1024px) {
  .hero,
  .planner-layout,
  .newsletter,
  .guide-grid,
  .plant-grid,
  .room-grid,
  .feature-strip {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (max-width: 720px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav,
  .hero-actions,
  .hero-highlights,
  .guide-grid,
  .feature-strip,
  .planner-layout,
  .plant-grid,
  .room-grid,
  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .main-nav {
    display: grid;
    gap: 0.5rem;
  }

  .hero-copy,
  .hero-panel,
  .guide-card,
  .room-card,
  .newsletter,
  .faq-list details,
  .simple-shell {
    padding: 1.2rem;
  }

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