/* =============================================================
   custom.css — BrineHive Landing Page v2
   All landing-specific component styles.
   Fonts and brand tokens live in input.css / output.css.
   ============================================================= */


/* ── Reset & base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Atkinson Hyperlegible', sans-serif; background: #ffffff; color: #1a1c0e; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: 'Lexend Deca', sans-serif; }


/* ── Brand CSS variables ─────────────────────────────────── */
/*
  These are the landing page runtime tokens.
  Tailwind theme tokens (--color-brand-*) are compile-time only
  and can't be used in CSS calc() or var() at runtime.
  Keep both — input.css for Tailwind utilities, these for component styles.
*/
:root {
  --green:        #3d441e;
  --green-mid:    #4e5626;
  --green-muted:  #8c967a;
  --green-light:  #f0f1e8;
  --orange:       #a24e2e;
  --orange-light: #f5ede8;
  --cream:        #faf9f4;
  --border:       rgba(61, 68, 30, 0.10);
  --border-mid:   rgba(61, 68, 30, 0.16);
  --surface:      #ffffff;
  --hero-bg:      #202610;
}


/* ── Font helpers ────────────────────────────────────────── */
.font-main { font-family: 'Lexend Deca', sans-serif; }
.font-text  { font-family: 'Atkinson Hyperlegible', sans-serif; }


/* =============================================================
   UTILITY
   ============================================================= */

/* ── Pill labels ─────────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Lexend Deca', sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 99px;
  background: rgba(61, 68, 30, .07);
  border: 1px solid rgba(61, 68, 30, .14);
  color: var(--green);
}
.pill-light {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .22);
  color: rgba(255, 255, 255, .80);
}
.pill-orange {
  background: rgba(162, 78, 46, .10);
  border-color: rgba(162, 78, 46, .22);
  color: var(--orange);
}

/* ── Fade-up animations ──────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fu { animation: fadeUp .65s ease both; }
.d1 { animation-delay: .08s; }
.d2 { animation-delay: .18s; }
.d3 { animation-delay: .30s; }
.d4 { animation-delay: .44s; }
.d5 { animation-delay: .58s; }

/* ── Field-stagger animation (phone mockup) ──────────────── */
@keyframes typeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-field { animation: typeIn .4s ease both; }
.delay-a { animation-delay: .5s; }
.delay-b { animation-delay: 1.0s; }
.delay-c { animation-delay: 1.5s; }
.delay-d { animation-delay: 2.2s; }
.delay-e { animation-delay: 2.8s; }

/* ── Pulse dot (status indicators) ──────────────────────── */
@keyframes pulse-dot {
  0%   { transform: scale(1);   opacity: .6; }
  70%  { transform: scale(1.8); opacity: 0; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* ── Grain overlay (hero + CTA) ──────────────────────────── */
/* Applied via .hero::after and .cta-grain::after — defined in
   their respective sections below. */


/* =============================================================
   NAV
   ============================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 60px;
  background: rgba(32, 38, 16, .85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: background .3s, box-shadow .3s;
}

/* Scrolled state — toggled via JS */
.nav.scrolled {
  background: #fff;
  border-bottom-color: var(--border);
  box-shadow: 0 2px 20px rgba(61, 68, 30, .08);
}
.nav.scrolled .nav-logo-text     { color: var(--green); }
.nav.scrolled .nav-logo-icon     { background: var(--green); }
.nav.scrolled .nav-links a       { color: var(--green-muted); }
.nav.scrolled .nav-links a:hover { color: var(--green); }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.nav-logo-icon {
  width: 28px; height: 28px;
  background: rgba(255, 255, 255, .12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s;
}
.nav-logo-text {
  font-family: 'Lexend Deca', sans-serif;
  font-weight: 800;
  font-size: .95rem;
  color: rgba(255, 255, 255, .9);
  letter-spacing: -.01em;
  transition: color .3s;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-links a {
  font-family: 'Lexend Deca', sans-serif;
  font-size: .8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .55);
  text-decoration: none;
  transition: color .15s;
}
.nav-links a:hover { color: rgba(255, 255, 255, .9); }

.nav-cta {
  font-family: 'Lexend Deca', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  background: var(--orange);
  color: #fff;
  padding: 8px 18px;
  border-radius: 10px;
  text-decoration: none;
  transition: background .15s, transform .15s;
}
.nav-cta:hover { background: #8e4428; transform: scale(1.02); }

@media (max-width: 640px) {
  .nav-links { display: none; }
}


/* =============================================================
   HERO
   ============================================================= */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--hero-bg);
  background-image:
    radial-gradient(ellipse 65% 55% at 60% 30%, rgba(140, 150, 122, .14) 0%, transparent 65%),
    radial-gradient(ellipse 40% 45% at 5%  80%, rgba(162, 78,  46,  .16) 0%, transparent 55%),
    radial-gradient(ellipse 50% 35% at 95% 92%, rgba(61,  68,  30,  .5)  0%, transparent 60%);
  position: relative;
  overflow: hidden;
  padding-top: 60px;
}

/* Grain texture */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 1.5rem 6rem;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-fade {
  position: absolute;
  bottom: 0; inset-x: 0;
  height: 120px;
  background: linear-gradient(to top, #fff, transparent);
  pointer-events: none;
  z-index: 2;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 4rem 1.25rem 5rem;
  }
}


/* ── Phone mockup ────────────────────────────────────────── */
.phone-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

.phone-shell {
  background: rgba(45, 50, 22, .55);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 28px;
  padding: 6px;
  width: 100%;
  max-width: 340px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, .4);
}

.phone-inner {
  background: #141808;
  border-radius: 23px;
  overflow: hidden;
}

.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px 8px;
  background: rgba(0, 0, 0, .2);
}
.phone-status-time {
  font-family: 'Lexend Deca', sans-serif;
  font-size: .65rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .35);
}

.phone-hdr {
  padding: 16px 18px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.phone-hdr-loc {
  font-family: 'Lexend Deca', sans-serif;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .30);
  margin-bottom: 4px;
}
.phone-hdr-name {
  font-family: 'Lexend Deca', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.01em;
  line-height: 1.1;
}

/* Phone tabs */
.ph-tab-bar {
  display: flex;
  padding: 12px 18px 0;
  gap: 4px;
}
.ph-tab {
  flex: 1;
  text-align: center;
  font-family: 'Lexend Deca', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  padding: 7px 0;
  border-radius: 8px;
  color: rgba(255, 255, 255, .35);
  cursor: pointer;
  border: none;
  background: transparent;
  transition: all .2s;
}
.ph-tab.active {
  background: rgba(255, 255, 255, .09);
  color: #fff;
}

/* Phone form fields */
.ph-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.ph-label {
  font-family: 'Lexend Deca', sans-serif;
  font-size: .60rem;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .30);
  margin-bottom: 5px;
  display: block;
}
.ph-field {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 10px;
  padding: 9px 12px;
}
.ph-field-val {
  font-family: 'Atkinson Hyperlegible', sans-serif;
  font-size: .85rem;
  color: rgba(255, 255, 255, .75);
}
.ph-field-val.muted { color: rgba(255, 255, 255, .28); }

.ph-temp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 10px;
  padding: 9px 12px;
}
.ph-temp-num {
  font-family: 'Lexend Deca', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}
.ph-unit-tog { display: flex; gap: 3px; }
.ph-unit {
  font-family: 'Lexend Deca', sans-serif;
  font-size: .65rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  color: rgba(255, 255, 255, .30);
  border: 1px solid transparent;
}
.ph-unit.active {
  color: #fff;
  border-color: rgba(255, 255, 255, .20);
  background: rgba(255, 255, 255, .08);
}

/* Pass status row */
.ph-status-pass {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(42, 52, 21, .7);
  border: 1px solid rgba(74, 90, 31, .4);
  border-radius: 10px;
  padding: 9px 12px;
}
.ph-status-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #6a8a30;
  flex-shrink: 0;
  position: relative;
}
.ph-status-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(106, 138, 48, .25);
  animation: pulse-dot 2s ease-out infinite;
}
.ph-status-text {
  font-family: 'Atkinson Hyperlegible', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  color: #8cad4a;
}

.ph-submit {
  background: var(--orange);
  border: none;
  border-radius: 10px;
  padding: 11px;
  width: 100%;
  font-family: 'Lexend Deca', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  text-align: center;
}

.ph-last {
  margin: 0 18px 16px;
  background: rgba(255, 255, 255, .04);
  border-radius: 9px;
  padding: 9px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ph-last-l {
  font-family: 'Atkinson Hyperlegible', sans-serif;
  font-size: .62rem;
  color: rgba(255, 255, 255, .28);
}
.ph-last-r {
  font-family: 'Lexend Deca', sans-serif;
  font-size: .62rem;
  font-weight: 700;
  color: #6a8a30;
}

/* Alert float card */
.alert-float {
  background: rgba(255, 255, 255, .90);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 18px;
  padding: 12px 16px;
  max-width: 290px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  box-shadow: 0 8px 32px rgba(61, 68, 30, .12);
}
.alert-icon {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: rgba(162, 78, 46, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.alert-title {
  font-family: 'Lexend Deca', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  color: var(--green);
}
.alert-sub {
  font-family: 'Atkinson Hyperlegible', sans-serif;
  font-size: .65rem;
  color: var(--green-muted);
  margin-top: 2px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .phone-wrap { align-items: center; }
}


/* =============================================================
   PROOF BAR
   ============================================================= */
.proof-bar {
  background: var(--cream);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 1.5rem;
}
.proof-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.proof-item { text-align: center; }
.proof-val {
  font-family: 'Lexend Deca', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
}
.proof-label {
  font-family: 'Atkinson Hyperlegible', sans-serif;
  font-size: .78rem;
  color: var(--green-muted);
  margin-top: 5px;
  line-height: 1.4;
}

@media (max-width: 640px) {
  .proof-inner { grid-template-columns: 1fr 1fr; }
}


/* =============================================================
   SECTION SHELL
   ============================================================= */
.section { padding: 5rem 1.5rem; }
.section-inner { max-width: 1000px; margin: 0 auto; }
.section-hdr { text-align: center; margin-bottom: 3.5rem; }
.section-hdr h2 {
  font-family: 'Lexend Deca', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--green);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin-bottom: .75rem;
}
.section-hdr p {
  font-size: 1.05rem;
  color: var(--green-muted);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

@media (max-width: 640px) {
  .section { padding: 3.5rem 1.25rem; }
}


/* =============================================================
   PROBLEM SECTION
   ============================================================= */
.prob-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.prob-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.75rem;
  transition: box-shadow .25s, transform .25s;
}
.prob-card:hover {
  box-shadow: 0 10px 36px rgba(61, 68, 30, .09);
  transform: translateY(-2px);
}
.prob-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.prob-card h3 {
  font-family: 'Lexend Deca', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: .6rem;
  line-height: 1.25;
}
.prob-card p {
  font-size: .875rem;
  color: var(--green-muted);
  line-height: 1.7;
}
.prob-quote {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: .78rem;
  font-style: italic;
  color: var(--orange);
  line-height: 1.6;
}
.prob-quote-src {
  font-family: 'Lexend Deca', sans-serif;
  font-style: normal;
  font-size: .65rem;
  font-weight: 700;
  color: var(--green-muted);
  margin-top: 5px;
  letter-spacing: .05em;
}

@media (max-width: 768px) {
  .prob-grid { grid-template-columns: 1fr; }
}


/* =============================================================
   HOW IT WORKS — TIMELINE
   ============================================================= */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}

/* Vertical connector line */
.timeline::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: linear-gradient(to bottom, var(--orange), var(--green-muted), var(--green));
  opacity: .25;
}

.tl-step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
  position: relative;
}
.tl-step:last-child { padding-bottom: 0; }

.tl-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lexend Deca', sans-serif;
  font-size: .7rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--border);
}
.tl-num.orange { background: var(--orange); }

.tl-body { padding-top: 8px; }
.tl-eyebrow {
  font-family: 'Lexend Deca', sans-serif;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 5px;
}
.tl-body h3 {
  font-family: 'Lexend Deca', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--green);
  margin-bottom: .5rem;
}
.tl-body p {
  font-size: .9rem;
  color: var(--green-muted);
  line-height: 1.7;
}
.tl-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: .75rem;
  margin-right: .35rem;
  background: var(--green-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 5px 10px;
  font-family: 'Lexend Deca', sans-serif;
  font-size: .68rem;
  font-weight: 700;
  color: var(--green);
}


/* Default mobile layout: 1 column */
  .how-it-works-grid {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 3rem; 
    align-items: start;
  }

  /* Desktop layout: 2 columns */
  @media (min-width: 992px) { 
    .how-it-works-grid {
      grid-template-columns: 1fr 1fr; 
      gap: 4rem;
    }
  }

/* =============================================================
   DASHBOARD MOCKUP
   ============================================================= */
.dash-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(61, 68, 30, .07);
}
.dash-browser {
  background: #f5f5f5;
  border-bottom: 1px solid var(--border);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.dash-dots { display: flex; gap: 5px; }
.dash-dot  { width: 10px; height: 10px; border-radius: 50%; }
.dash-url {
  flex: 1;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 10px;
  font-family: 'Atkinson Hyperlegible', sans-serif;
  font-size: .7rem;
  color: var(--green-muted);
  text-align: center;
}
.dash-body { padding: 1.5rem; }
.dash-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.dash-title {
  font-family: 'Lexend Deca', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  color: var(--green);
}
.dash-sub {
  font-family: 'Atkinson Hyperlegible', sans-serif;
  font-size: .72rem;
  color: var(--green-muted);
  margin-top: 2px;
}
.dash-export {
  background: var(--orange);
  color: #fff;
  font-family: 'Lexend Deca', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}

/* Dashboard table */
table.dash-table { width: 100%; border-collapse: collapse; }
.dash-table thead tr {
  background: #fafaf8;
  border-bottom: 1px solid var(--border);
}
.dash-table th {
  font-family: 'Lexend Deca', sans-serif;
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--green-muted);
  text-align: left;
  padding: 8px 12px;
}
.dash-table td {
  padding: 9px 12px;
  font-size: .78rem;
  border-bottom: 1px solid var(--border);
}
.dash-table tr:last-child td { border-bottom: none; }

/* Row states */
.row-pass td { background: rgba(61,  68,  30,  .03); }
.row-fail td { background: rgba(162, 78,  46,  .04); }
.row-miss td { background: rgba(140, 150, 122, .06); }

/* Corrective action inline row */
.ca-row td   { background: rgba(162, 78, 46, .04) !important; }
.ca-text {
  font-size: .72rem;
  font-style: italic;
  color: var(--orange);
  border-left: 2px solid var(--orange);
  padding-left: 8px;
  line-height: 1.6;
}

/* Cell typography */
.td-unit {
  font-family: 'Lexend Deca', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  color: var(--green);
}
.td-type { font-size: .65rem; color: var(--green-muted); }
.td-temp-pass {
  font-family: 'Lexend Deca', sans-serif;
  font-weight: 800;
  font-size: .82rem;
  color: var(--green);
}
.td-temp-fail {
  font-family: 'Lexend Deca', sans-serif;
  font-weight: 800;
  font-size: .82rem;
  color: var(--orange);
}

/* Status badges — shared with dashboard app tables */
.badge-pass {
  display: inline-block;
  background: rgba(61,  68,  30,  .10);
  color: var(--green);
  font-family: 'Lexend Deca', sans-serif;
  font-size: .62rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
}
.badge-fail {
  display: inline-block;
  background: rgba(162, 78,  46,  .12);
  color: var(--orange);
  font-family: 'Lexend Deca', sans-serif;
  font-size: .62rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
}
.badge-miss {
  display: inline-block;
  background: rgba(140, 150, 122, .15);
  color: var(--green-muted);
  font-family: 'Lexend Deca', sans-serif;
  font-size: .62rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
}


/* =============================================================
   FEATURE BENTO GRID
   ============================================================= */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: auto;
  gap: 1rem;
}
.bento-card {
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 1.5rem;
  transition: box-shadow .25s, transform .25s;
  overflow: hidden;
}
.bento-card:hover {
  box-shadow: 0 10px 36px rgba(61, 68, 30, .09);
  transform: translateY(-2px);
}

/* Colour variants */
.bento-dark   { background: var(--green); border-color: rgba(255, 255, 255, .06); }
.bento-accent { background: var(--orange); border-color: rgba(255, 255, 255, .08); }
.bento-dark:hover   { border-color: rgba(255, 255, 255, .12); }
.bento-accent:hover { border-color: rgba(255, 255, 255, .14); }

/* Column spans */
.bento-span3 { grid-column: span 3; }
.bento-span2 { grid-column: span 2; }
.bento-span1 { grid-column: span 1; }

/* Icons */
.bento-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}
.bento-icon-light { background: rgba(61,  68, 30, .08); }
.bento-icon-white { background: rgba(255, 255, 255, .15); }

/* Typography within cards */
.bento-card h3 { font-family: 'Lexend Deca', sans-serif; font-weight: 700; margin-bottom: .5rem; }
.bento-card p  { font-size: .82rem; line-height: 1.7; }

.bento-card.bento-dark   h3 { color: #fff; font-size: 1rem; }
.bento-card.bento-dark   p  { color: rgba(255, 255, 255, .55); }
.bento-card.bento-accent h3 { color: #fff; font-size: .95rem; }
.bento-card.bento-accent p  { color: rgba(255, 255, 255, .65); }
.bento-card:not(.bento-dark):not(.bento-accent) h3 { color: var(--green);       font-size: .9rem; }
.bento-card:not(.bento-dark):not(.bento-accent) p  { color: var(--green-muted);            }

@media (max-width: 768px) {
  .bento { grid-template-columns: 1fr; }
  .bento-span3, .bento-span2, .bento-span1 { grid-column: span 1; }
}


/* =============================================================
   PDF PREVIEW SECTION
   ============================================================= */
.pdf-section {
  background: var(--green);
  padding: 5rem 1.5rem;
  overflow: hidden;
  position: relative;
}
.pdf-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 90% 50%, rgba(162, 78, 46, .25) 0%, transparent 65%);
}
.pdf-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Copy column */
.pdf-copy h2 {
  font-family: 'Lexend Deca', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -.02em;
  margin-bottom: 1rem;
}
.pdf-copy p {
  font-size: .95rem;
  color: rgba(255, 255, 255, .55);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.pdf-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.pdf-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .875rem;
  color: rgba(255, 255, 255, .65);
}
.pdf-list li::before {
  content: '✓';
  color: #8cad4a;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* PDF document mockup card */
.pdf-doc {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .4), 0 4px 12px rgba(0, 0, 0, .2);
  transform: rotate(1deg);
}
.pdf-doc-hdr    { background: var(--green); padding: 16px 20px; }
.pdf-doc-brand  {
  font-family: 'Lexend Deca', sans-serif;
  font-size: .65rem; font-weight: 800;
  color: rgba(255, 255, 255, .5);
  text-transform: uppercase; letter-spacing: .12em;
}
.pdf-doc-loc    {
  font-family: 'Lexend Deca', sans-serif;
  font-size: 1rem; font-weight: 800;
  color: #fff; margin: 3px 0 2px;
}
.pdf-doc-meta   {
  font-family: 'Atkinson Hyperlegible', sans-serif;
  font-size: .68rem; color: rgba(255, 255, 255, .45);
}
.pdf-doc-body   { padding: 14px 20px; }

.pdf-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.pdf-stat {
  text-align: center;
  background: #f8f8f5;
  border-radius: 7px;
  padding: 8px 4px;
}
.pdf-stat-num {
  font-family: 'Lexend Deca', sans-serif;
  font-size: .95rem; font-weight: 800;
  color: var(--green);
}
.pdf-stat-lbl {
  font-family: 'Lexend Deca', sans-serif;
  font-size: .58rem;
  color: var(--green-muted);
  margin-top: 2px;
  text-transform: uppercase; letter-spacing: .06em;
}

.pdf-section-lbl {
  font-family: 'Lexend Deca', sans-serif;
  font-size: .58rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .10em;
  color: var(--green-muted);
  margin-bottom: 6px; padding-bottom: 4px;
  border-bottom: 1px solid var(--border);
}
.pdf-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr .8fr;
  gap: 6px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(61, 68, 30, .05);
  align-items: center;
}
.pdf-row:last-child { border-bottom: none; }
.pdf-row-unit  { font-family: 'Lexend Deca', sans-serif; font-size: .68rem; font-weight: 700; color: var(--green); }
.pdf-row-time  { font-size: .62rem; color: var(--green-muted); }
.pdf-row-temp-pass { font-family: 'Lexend Deca', sans-serif; font-size: .72rem; font-weight: 800; color: var(--green); }
.pdf-row-temp-fail { font-family: 'Lexend Deca', sans-serif; font-size: .72rem; font-weight: 800; color: var(--orange); }
.pdf-badge-pass {
  font-family: 'Lexend Deca', sans-serif; font-size: .58rem; font-weight: 700;
  background: rgba(61,  68,  30,  .08); color: var(--green);
  padding: 2px 7px; border-radius: 4px; text-align: center;
}
.pdf-badge-fail {
  font-family: 'Lexend Deca', sans-serif; font-size: .58rem; font-weight: 700;
  background: rgba(162, 78,  46,  .10); color: var(--orange);
  padding: 2px 7px; border-radius: 4px; text-align: center;
}
.pdf-ca {
  grid-column: 1 / -1;
  background: rgba(162, 78, 46, .05);
  border-left: 2px solid var(--orange);
  padding: 5px 8px;
  border-radius: 0 4px 4px 0;
  font-size: .6rem; color: var(--orange);
  font-style: italic; line-height: 1.5;
  margin-top: -2px;
}
.pdf-footer-line {
  font-size: .55rem; color: var(--green-muted);
  text-align: center;
  padding: 10px 0 6px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}

@media (max-width: 768px) {
  .pdf-inner    { grid-template-columns: 1fr; gap: 3rem; }
  .pdf-section  { padding: 3.5rem 1.25rem; }
}


/* =============================================================
   PRICING
   ============================================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.plan {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.75rem 1.5rem;
  position: relative;
  transition: box-shadow .25s, transform .25s;
}
.plan:hover {
  box-shadow: 0 10px 36px rgba(61, 68, 30, .09);
  transform: translateY(-2px);
}
.plan-featured { border: 2px solid var(--orange); }
.plan-badge {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: #fff;
  font-family: 'Lexend Deca', sans-serif;
  font-size: .6rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 12px; border-radius: 99px;
  white-space: nowrap;
}
.plan-tier {
  font-family: 'Lexend Deca', sans-serif;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--green-muted);
  margin-bottom: .75rem;
}
.plan-price      { display: flex; align-items: flex-end; gap: 3px; margin-bottom: 4px; }
.plan-price-num  { font-family: 'Lexend Deca', sans-serif; font-size: 2.4rem; font-weight: 800; color: var(--green); line-height: 1; }
.plan-price-per  { font-size: .82rem; color: var(--green-muted); margin-bottom: 4px; }
.plan-billing    { font-size: .72rem; color: var(--green-muted); margin-bottom: 1.25rem; min-height: 1rem; }
.plan-divider    { height: 1px; background: var(--border); margin-bottom: 1.25rem; }
.plan-features   { list-style: none; display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1.5rem; }
.plan-features li {
  display: flex; align-items: flex-start; gap: 7px;
  font-size: .8rem; color: var(--green); line-height: 1.4;
}
.plan-features li .check        { color: var(--green);  font-weight: 700; flex-shrink: 0; }
.plan-features li .check-orange { color: var(--orange); font-weight: 700; flex-shrink: 0; }
.plan-cta {
  display: block; width: 100%; text-align: center;
  font-family: 'Lexend Deca', sans-serif;
  font-size: .85rem; font-weight: 700;
  padding: 12px; border-radius: 12px;
  text-decoration: none;
  transition: all .2s;
}
.plan-cta-primary            { background: var(--orange); color: #fff; }
.plan-cta-primary:hover      { background: #8e4428; transform: scale(1.02); }
.plan-cta-secondary          { background: var(--green-light); color: var(--green); border: 1px solid var(--border); }
.plan-cta-secondary:hover    { background: rgba(61, 68, 30, .10); }

/* Billing toggle */
.billing-toggle  { display: flex; align-items: center; justify-content: center; gap: .75rem; flex-wrap: wrap; }
.toggle-label    { font-family: 'Lexend Deca', sans-serif; font-size: .82rem; font-weight: 600; color: var(--green-muted); cursor: pointer; transition: color .15s; }
.toggle-label.active { color: var(--green); }
.toggle-switch {
  width: 40px; height: 22px;
  background: var(--green-muted);
  border-radius: 99px;
  position: relative;
  cursor: pointer;
  transition: background .2s;
  border: none;
}
.toggle-switch.on { background: var(--green); }
.toggle-switch::after {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  top: 3px; left: 3px;
  transition: transform .2s;
}
.toggle-switch.on::after { transform: translateX(18px); }
.save-badge {
  font-family: 'Lexend Deca', sans-serif;
  font-size: .65rem; font-weight: 700;
  color: var(--orange);
  background: var(--orange-light);
  border: 1px solid rgba(162, 78, 46, .2);
  padding: 2px 8px; border-radius: 99px;
}

@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .pricing-grid { grid-template-columns: 1fr; } }


/* =============================================================
   FAQ
   ============================================================= */
.faq-wrap {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  cursor: pointer;
  gap: 1rem;
}
.faq-q-text {
  font-family: 'Lexend Deca', sans-serif;
  font-size: .875rem; font-weight: 600;
  color: var(--green);
}
.faq-icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--green-muted);
  transition: transform .2s;
}
.faq-icon.open { transform: rotate(45deg); }
.faq-a {
  padding: 0 1.25rem .75rem;
  font-size: .875rem;
  color: var(--green-muted);
  line-height: 1.75;
}


/* =============================================================
   CTA SECTION
   ============================================================= */
.cta-section {
  background: var(--green);
  background-image: radial-gradient(ellipse 50% 70% at 85% 50%, rgba(162, 78, 46, .22) 0%, transparent 65%);
  padding: 5rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.cta-grain::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}
.cta-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-inner h2 {
  font-family: 'Lexend Deca', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800; color: #fff;
  line-height: 1.07; letter-spacing: -.02em;
  margin-bottom: 1rem;
}
.cta-inner p {
  font-size: .95rem;
  color: rgba(255, 255, 255, .55);
  line-height: 1.75;
  margin-bottom: 2rem;
}
.cta-box {
  background: rgba(255, 255, 255, .07);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  padding: 2rem;
}
.cta-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%;
  background: var(--orange); color: #fff;
  font-family: 'Lexend Deca', sans-serif;
  font-size: .95rem; font-weight: 700;
  padding: 1rem; border-radius: 12px;
  text-decoration: none;
  transition: background .15s, transform .15s;
  margin-bottom: .75rem;
}
.cta-btn:hover { background: #8e4428; transform: scale(1.02); }
.cta-fine {
  font-family: 'Atkinson Hyperlegible', sans-serif;
  font-size: .75rem;
  color: rgba(255, 255, 255, .35);
  text-align: center;
}
.cta-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem;
  margin-top: 1.5rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.cta-stat-num { font-family: 'Lexend Deca', sans-serif; font-size: 1.3rem; font-weight: 800; color: #fff; }
.cta-stat-lbl { font-size: .68rem; color: rgba(255, 255, 255, .4); margin-top: 2px; }


/* =============================================================
   FOOTER
   ============================================================= */
footer {
  background: #111408;
  padding: 2rem 1.5rem;
  text-align: center;
}
footer p {
  font-family: 'Atkinson Hyperlegible', sans-serif;
  font-size: .78rem;
  color: rgba(255, 255, 255, .2);
}
footer a {
  color: rgba(255, 255, 255, .35);
  text-decoration: none;
  transition: color .15s;
}
footer a:hover { color: rgba(255, 255, 255, .65); }