/* Site B — base layout, typography, chrome */

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: var(--type-base);
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

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

/* In-copy / form / legal links — underline; footer only on hover/focus */
.section a[href]:not(.btn):not(.logo):not(.docs-list a):not(.price-card):not(.kits-photo),
.check a[href],
.lead-form a[href],
.legal-body a[href],
.path__step a[href] {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

.docs-list a,
.price-card,
.kits-photo {
  text-decoration: none;
}

.site-footer a[href]:not(.btn):not(.logo) {
  text-decoration: none;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}
.site-footer a[href]:not(.btn):not(.logo):hover,
.site-footer a[href]:not(.btn):not(.logo):focus-visible {
  text-decoration: underline;
}

.btn,
a.btn {
  text-decoration: none !important;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.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;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  background: var(--forest);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.wrap {
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
}

.wrap--narrow {
  width: min(100% - 2rem, 720px);
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: var(--type-base);
  letter-spacing: 0.01em;
  transition: transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out),
    background var(--dur-fast) var(--ease-soft),
    color var(--dur-fast) var(--ease-soft),
    border-color var(--dur-fast) var(--ease-soft);
  text-align: center;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--grad-cta);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(78, 174, 54, 0.28);
}

.btn--primary:hover {
  box-shadow: 0 12px 28px rgba(78, 174, 54, 0.38);
  filter: brightness(1.03);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.btn--ghost-dark {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--hairline);
}

.btn--ghost-dark:hover {
  border-color: var(--primary);
  color: var(--primary-deep);
  background: var(--soft-well);
}

.btn--outline-light {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}

.btn--sm {
  min-height: 40px;
  padding: 0.45rem 1rem;
  font-size: var(--type-sm);
}

.btn--block {
  width: 100%;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 247, 240, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
  box-shadow: var(--shadow-header);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding-block: 0.65rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  min-height: 0;
  line-height: 0;
}

.logo--lockup .logo-img,
.logo-img {
  display: block;
  height: 40px;
  width: auto;
  max-width: min(240px, 52vw);
  object-fit: contain;
}

@media (min-width: 900px) {
  .logo--lockup .logo-img {
    height: 44px;
    max-width: 260px;
  }
}

.logo-img--footer {
  height: 40px;
  max-width: min(280px, 70vw);
  margin-bottom: 0.85rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link {
  font-weight: 600;
  font-size: var(--type-sm);
  color: var(--ink-soft);
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-sm);
  transition: color var(--dur-fast) var(--ease-soft),
    background var(--dur-fast) var(--ease-soft);
}

.nav-link:hover {
  color: var(--primary-deep);
  background: var(--soft-well);
}

.nav-link--hide-sm {
  display: none;
}

@media (min-width: 720px) {
  .nav-link--hide-sm {
    display: inline-flex;
  }
}

/* —— Footer —— */
.site-footer {
  background: var(--forest);
  color: rgba(255, 255, 255, 0.88);
  padding: var(--space-7) 0 var(--space-6);
}

.site-footer a:hover {
  color: var(--lime);
}

.footer__grid {
  display: grid;
  gap: var(--space-5);
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: var(--space-6);
  }
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1.4fr 0.9fr 1fr 1fr;
  }
}

.footer__brand .logo-img--footer {
  height: 40px;
  width: auto;
  max-width: min(280px, 72vw);
  margin-bottom: 0.85rem;
  object-fit: contain;
}

.footer__brand p {
  margin: 0;
  font-size: var(--type-sm);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  max-width: 32ch;
}

.footer__col h3 {
  margin: 0 0 0.75rem;
  font-size: var(--type-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}

.footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer__col a,
.footer__col span {
  font-size: var(--type-base);
}

.footer__col a,
.footer__brand a {
  text-decoration: none;
}
.footer__col a:hover,
.footer__col a:focus-visible,
.footer__brand a:hover,
.footer__brand a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__bottom {
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: var(--type-sm);
  color: rgba(255, 255, 255, 0.55);
}

/* —— Section chrome —— */
.section {
  padding: var(--space-7) 0;
  position: relative;
}

.section--alt {
  background: var(--grad-section);
}

.section--deep {
  background: linear-gradient(165deg, var(--forest) 0%, var(--forest-mid) 55%, #2a6a35 100%);
  color: var(--white);
}

.section__eyebrow {
  display: inline-block;
  font-family: var(--font-badge);
  font-weight: 700;
  font-size: var(--type-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.65rem;
}

.section--deep .section__eyebrow {
  color: var(--lime);
}

.section__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: var(--type-xl);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
  max-width: 28ch;
}

.section__lead {
  margin: 0 0 var(--space-4);
  font-size: var(--type-lg);
  color: var(--ink-soft);
  max-width: 62ch;
  line-height: 1.48;
}

.section--deep .section__lead {
  color: rgba(255, 255, 255, 0.78);
}

.section__head {
  margin-bottom: var(--space-5);
}

.disclaimer {
  margin: var(--space-5) 0 0;
  padding: 1rem 1.15rem;
  background: rgba(51, 53, 51, 0.04);
  border-left: 3px solid var(--lime);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: var(--type-sm);
  color: var(--muted);
  line-height: 1.5;
}

.disclaimer ul {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
}

.disclaimer li + li {
  margin-top: 0.25rem;
}

.note-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--type-sm);
  color: var(--muted);
  background: var(--beige);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
}

/* Sticky mobile CTA */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(244, 247, 240, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--hairline);
  box-shadow: 0 -6px 24px rgba(26, 61, 34, 0.1);
}

.sticky-cta.is-visible {
  display: block;
}

@media (min-width: 900px) {
  .sticky-cta {
    display: none !important;
  }
}

.sticky-cta .btn {
  width: 100%;
}

body.has-sticky-cta {
  padding-bottom: 76px;
}

body {
  overflow-x: clip;
}

.site-header__inner,
.logo,
.nav-actions {
  min-width: 0;
}

@media (max-width: 420px) {
  .logo img {
    height: 32px;
  }

  .site-header__inner {
    gap: 0.4rem;
  }

  .nav-actions .btn {
    max-width: 100%;
  }
}

@media (min-width: 900px) {
  body.has-sticky-cta {
    padding-bottom: 0;
  }
}
