@font-face {
  font-family: "Montserrat";
  src: url("./assets/fonts/Montserrat-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "MsMadi";
  src: url("./assets/fonts/MsMadi-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --night: #0a2116;
  --canopy: #123021;
  --panel: #1b4631;
  --panel-2: #17352a;
  --lime: #b6ef62;
  --lime-focus: #c7fa71;
  --mist: #f0f8f2;
  --sage: #d2e1d4;
  --muted: #a8b9ac;
  --blue: #8fd3ff;
  --amber: #ffcf70;
  --terracotta: #ff9d78;
  --line: rgba(255, 255, 255, 0.46);
  --glass: rgba(255, 255, 255, 0.14);
  --glass-strong: rgba(255, 255, 255, 0.22);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.36);
  --guide-crop-image: url("./assets/dashboard-botanical-backdrop.png");
  font-family: "Montserrat", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  background: var(--night);
  color: white;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--night);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(10, 33, 22, 0.7), rgba(10, 33, 22, 0.92)),
    url("./assets/dashboard-botanical-backdrop.png") center top / cover fixed,
    var(--night);
}

body.guide-page {
  background:
    linear-gradient(180deg, rgba(10, 33, 22, 0.62), rgba(10, 33, 22, 0.96)),
    var(--guide-crop-image) center center / cover fixed,
    var(--night);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 5%, rgba(182, 239, 98, 0.18), transparent 28%),
    linear-gradient(140deg, rgba(27, 70, 49, 0.82), rgba(10, 33, 22, 0.5) 48%, rgba(10, 33, 22, 0.88));
  z-index: -1;
}

body.guide-page::before {
  background:
    radial-gradient(circle at 18% 10%, rgba(182, 239, 98, 0.16), transparent 25%),
    linear-gradient(140deg, rgba(10, 33, 22, 0.38), rgba(10, 33, 22, 0.74) 52%, rgba(10, 33, 22, 0.9));
}

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

a {
  color: inherit;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem clamp(1rem, 4vw, 3rem);
  background: rgba(10, 33, 22, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: white;
  text-decoration: none;
  min-width: 0;
}

.brand img {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  object-fit: cover;
  border-radius: 999px;
  background: transparent;
  filter: contrast(1.35);
}

.brand span {
  display: block;
  min-width: 0;
  font-family: "MsMadi", cursive;
  font-size: clamp(2rem, 4vw, 42px);
  line-height: 1;
  font-weight: 400;
  color: white;
  white-space: nowrap;
  -webkit-text-stroke: 1.45px white;
  paint-order: stroke fill;
  text-shadow: none;
}

.brand span::after {
  content: "Grow more. Manage less.";
  display: block;
  transform: translateY(-6px);
  font-family: "Montserrat", ui-sans-serif, system-ui, sans-serif;
  font-size: 10px;
  line-height: 1.1;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  -webkit-text-stroke: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.6rem 0.85rem;
  color: var(--sage);
  text-decoration: none;
  font-weight: 750;
  font-size: 0.93rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.16);
  color: white;
}

.site-nav .nav-pill {
  background: var(--lime);
  color: var(--canopy);
}

.site-nav .nav-pill:hover,
.site-nav .nav-pill[aria-current="page"] {
  background: var(--lime-focus);
  color: var(--canopy);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--glass);
}

.nav-toggle span:not(.sr-only) {
  width: 21px;
  height: 2px;
  background: white;
}

.launch-hero {
  position: relative;
  min-height: min(760px, calc(100vh - 70px));
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--night);
}

.launch-hero picture,
.launch-hero picture img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.launch-hero picture img {
  object-fit: cover;
}

.product-hero {
  min-height: min(820px, calc(100vh - 70px));
  align-items: center;
}

.product-hero picture img {
  object-position: center center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(10, 33, 22, 0.94) 0%, rgba(18, 48, 33, 0.74) 39%, rgba(10, 33, 22, 0.16) 78%),
    linear-gradient(0deg, rgba(10, 33, 22, 0.8) 0%, rgba(10, 33, 22, 0) 48%);
}

.product-hero .hero-shade {
  background:
    linear-gradient(90deg, rgba(10, 33, 22, 0.78) 0%, rgba(10, 33, 22, 0.44) 42%, rgba(10, 33, 22, 0.04) 74%),
    linear-gradient(0deg, rgba(10, 33, 22, 0.9) 0%, rgba(10, 33, 22, 0.1) 55%);
}

.hero-content {
  position: relative;
  max-width: 850px;
  padding: clamp(2rem, 6vw, 6rem);
  color: white;
}

.product-hero .hero-content {
  max-width: 760px;
  padding-top: clamp(4rem, 10vw, 8rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
  transform: translateY(-5%);
}

.eyebrow,
.assistant-label,
.product-tag {
  margin: 0 0 0.85rem;
  color: var(--lime-focus);
  font-size: 0.78rem;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  line-height: 1.06;
  margin: 0;
}

h1 {
  max-width: 800px;
  font-size: clamp(3rem, 8vw, 6.4rem);
  letter-spacing: 0;
}

.product-hero h1 {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(1.8rem, 7vw, 6.2rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

h3 {
  font-size: 1.25rem;
}

.hero-content p:not(.eyebrow),
.page-hero p:not(.eyebrow),
.section-copy p {
  max-width: 720px;
  font-size: 1.12rem;
  color: var(--mist);
}

.hero-actions,
.product-card,
.form-grid,
.metric-strip,
.site-footer,
.check-list {
  display: flex;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.75rem 1.15rem;
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--lime);
  color: var(--canopy);
  box-shadow: 0 12px 30px rgba(182, 239, 98, 0.2);
}

.button.primary:hover {
  background: var(--lime-focus);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.18);
  color: white;
  border-color: rgba(255, 255, 255, 0.32);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.52);
  color: white;
  background: rgba(255, 255, 255, 0.12);
}

.section,
.page-hero {
  padding: clamp(2.25rem, 5vw, 4.4rem) clamp(1rem, 4vw, 3rem);
}

.section {
  max-width: 1240px;
  margin: 0 auto;
  scroll-margin-top: 92px;
}

.page-hero {
  background: linear-gradient(135deg, rgba(27, 70, 49, 0.86), rgba(10, 33, 22, 0.68));
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.text-hero h1 {
  color: white;
}

.text-hero p {
  color: var(--sage);
}

.launch-band,
.split,
.karpos-preview,
.form-section,
.assistant-layout,
.account-layout,
.dashboard-grid {
  display: grid;
  gap: clamp(1.2rem, 3vw, 2rem);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.86fr);
  align-items: center;
}

.metric-strip {
  flex-wrap: wrap;
  gap: 0.85rem;
}

.metric-strip article {
  flex: 1 1 180px;
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 0.2rem;
  padding: 1.25rem;
  border-radius: 16px;
  background: var(--glass);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.metric-strip strong {
  font-size: 1.75rem;
  color: var(--lime-focus);
}

.metric-strip span {
  color: var(--sage);
  font-weight: 700;
}

.metric-strip.mini article {
  min-height: 86px;
  box-shadow: none;
}

.device-frame {
  border-radius: 20px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--line);
  max-width: 430px;
  justify-self: center;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.product-visual-pair {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.product-visual-pair::before {
  content: "";
  position: absolute;
  inset: 12% 5% 8%;
  z-index: -1;
  border-radius: 34px;
  background:
    radial-gradient(circle at 72% 24%, rgba(182, 239, 98, 0.22), transparent 16rem),
    linear-gradient(150deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 34px 72px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.product-visual-pair .device-frame {
  margin: 0;
}

.product-visual-pair .app-frame {
  width: min(58%, 310px);
  justify-self: start;
  transform: rotate(-3deg);
}

.product-visual-pair .probe-frame {
  width: min(53%, 300px);
  position: absolute;
  right: 2%;
  top: 3%;
  padding: 0.65rem;
  transform: rotate(4deg);
}

.probe-frame img {
  display: block;
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
}

.device-frame img {
  width: 100%;
  border-radius: 16px;
  max-height: 680px;
  object-fit: contain;
}

.feature-showcase {
  align-items: center;
}

.feature-showcase.alternate {
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1fr);
}

.feature-media {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.feature-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.feature-media.wide {
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.hardware-story {
  max-width: 1320px;
}

.hardware-story .section-copy {
  margin-bottom: 1.4rem;
}

.breakdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.breakdown-grid article {
  min-height: 210px;
  display: grid;
  align-content: start;
  gap: 0.55rem;
  padding: 1.2rem;
  border-radius: 16px;
  background: var(--glass);
  border: 1px solid var(--line);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.breakdown-grid span {
  width: fit-content;
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
  background: rgba(182, 239, 98, 0.18);
  color: var(--lime-focus);
  font-size: 0.78rem;
  font-weight: 950;
}

.breakdown-grid h3 {
  color: white;
}

.breakdown-grid p {
  margin: 0;
  color: var(--sage);
  font-weight: 650;
}

.check-list {
  flex-direction: column;
  gap: 0.7rem;
  padding: 0;
  margin: 1.4rem 0 0;
  list-style: none;
}

.check-list li {
  padding-left: 1.8rem;
  position: relative;
  color: var(--sage);
  font-weight: 650;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--lime-focus);
}

.assistant-card,
.panel,
.product-card,
.wide-card,
.contact-aside {
  border-radius: 16px;
  background: var(--glass);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.assistant-card,
.wide-card,
.contact-aside {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.assistant-card h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.45rem, 3vw, 2.3rem);
  color: white;
}

.assistant-card a,
.assistant-answer a {
  color: var(--lime-focus);
  font-weight: 900;
}

.centered {
  text-align: center;
  margin-inline: auto;
}

.centered p,
.centered h2 {
  margin-inline: auto;
}

.crop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.85rem;
}

.crop-grid a,
.guide-link {
  display: flex;
  align-items: center;
  min-height: 86px;
  padding: 1rem;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(10, 33, 22, 0.28), rgba(10, 33, 22, 0.86)),
    var(--tile-crop-image, none) center center / cover,
    rgba(255, 255, 255, 0.13);
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 900;
  color: var(--lime-focus);
}

.crop-grid.compact a {
  justify-content: center;
  min-height: 70px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.product-card {
  min-height: 310px;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.2rem, 3vw, 1.8rem);
}

.product-card h2 {
  font-size: 1.8rem;
  color: white;
}

.product-card p {
  color: var(--sage);
}

.product-card strong {
  margin-top: auto;
  font-size: 1.1rem;
  color: var(--lime-focus);
}

.form-section {
  align-items: start;
}

.panel {
  padding: clamp(1.1rem, 3vw, 1.6rem);
}

.form-grid {
  flex-wrap: wrap;
  gap: 1rem;
}

.form-grid h2 {
  font-size: 1.7rem;
  color: white;
}

label {
  display: grid;
  gap: 0.45rem;
  flex: 1 1 220px;
  color: white;
  font-weight: 850;
}

label.full,
.full {
  flex-basis: 100%;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  padding: 0.8rem 0.9rem;
}

select option {
  color: #123021;
}

textarea {
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: rgba(240, 248, 242, 0.72);
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(199, 250, 113, 0.52);
  outline-offset: 3px;
}

.form-status,
.hint {
  margin: 0;
  color: var(--sage);
  font-weight: 700;
}

.admin-toolbar,
.admin-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.admin-toolbar {
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.admin-toolbar h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  color: white;
}

.admin-subtoolbar {
  margin-bottom: 0.65rem;
}

.admin-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 1.15rem 0 1.35rem;
  padding: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  background: rgba(10, 33, 22, 0.28);
}

.admin-tab {
  min-height: 50px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  padding: 0.7rem 1rem;
  background: transparent;
  color: var(--sage);
  font-weight: 850;
  cursor: pointer;
}

.admin-tab:last-child {
  border-right: 0;
}

.admin-tab.active {
  background: rgba(182, 239, 98, 0.12);
  color: white;
  box-shadow: inset 0 -3px 0 var(--lime-focus);
}

.admin-panel[hidden] {
  display: none;
}

.admin-directory-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.8rem 0 0.35rem;
}

.admin-search {
  flex: 1 1 360px;
  max-width: 520px;
}

.admin-directory-toolbar .hint {
  padding-bottom: 0.85rem;
}

.account-detail-panel {
  margin-top: 0.4rem;
}

.account-detail-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(10, 33, 22, 0.28);
}

.account-detail-meta div {
  display: grid;
  gap: 0.25rem;
}

.account-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0;
}

.device-section {
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.device-section .table-scroll {
  margin-top: 1rem;
}

.device-section .table-scroll table {
  min-width: 1080px;
}

.device-section input[type="date"] {
  min-width: 145px;
  padding: 0.55rem 0.6rem;
}

code {
  color: var(--lime-focus);
  font-size: 0.84em;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.actions .button {
  min-height: 36px;
  padding: 0.45rem 0.7rem;
  font-size: 0.82rem;
}

.actions .button.danger {
  border-color: rgba(255, 188, 180, 0.7);
  background: rgba(146, 34, 38, 0.52);
  color: #ffe6e2;
}

.account-active {
  color: var(--lime-focus);
}

.account-banned {
  color: #ffb7a8;
}

.muted {
  color: var(--sage);
  font-size: 0.82rem;
}

.audit-panel {
  margin-top: 1.35rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.audit-entries article {
  margin-top: 0.8rem;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(10, 33, 22, 0.36);
}

.audit-entries pre {
  max-height: 360px;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding: 0.75rem;
  border-radius: 8px;
  background: rgba(6, 21, 15, 0.72);
}

.table-scroll {
  overflow-x: auto;
  margin-top: 0.9rem;
}

.table-scroll table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  color: white;
}

.table-scroll th,
.table-scroll td {
  padding: 0.85rem 0.65rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.table-scroll th {
  color: var(--lime-focus);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.table-scroll a {
  color: var(--lime-focus);
}

.table-action {
  min-height: 36px;
  padding: 0.45rem 0.75rem;
  font-size: 0.88rem;
}

@media (max-width: 760px) {
  .admin-directory-toolbar,
  .account-detail-meta {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-directory-toolbar .hint {
    padding-bottom: 0;
  }
}

.table-scroll td:last-child {
  min-width: 150px;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.assistant-form,
.assistant-answer {
  min-height: 350px;
}

.assistant-form {
  display: grid;
  gap: 1rem;
}

.sample-choice-grid {
  display: grid;
  gap: 0.75rem;
}

.sample-choice {
  min-height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  text-align: left;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-weight: 850;
  cursor: pointer;
}

.sample-choice:hover,
.sample-choice.active {
  border-color: var(--lime-focus);
  background: rgba(182, 239, 98, 0.18);
}

.assistant-answer {
  display: grid;
  align-content: start;
  gap: 0.9rem;
}

.assistant-answer h2 {
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  color: white;
}

.zone-filter {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 1rem;
  background: rgba(18, 48, 33, 0.74);
  backdrop-filter: blur(18px);
}

.filter-pane {
  display: grid;
  align-content: start;
  gap: 1rem;
  min-width: 0;
  padding: clamp(0.9rem, 2vw, 1.2rem);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.filter-pane h2 {
  color: white;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.filter-pane label {
  width: 100%;
}

.zone-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.zone-filter-status {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--sage);
  font-weight: 800;
}

.matrix {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
}

.matrix .crop-tile {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 184px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(10, 33, 22, 0.38) 0%, rgba(10, 33, 22, 0.9) 100%),
    var(--tile-crop-image) center center / cover,
    var(--glass);
  padding: 1rem;
  color: white;
  text-decoration: none;
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.zone-pill {
  width: fit-content;
  margin-bottom: 1.35rem;
  border: 1px solid rgba(199, 250, 113, 0.46);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  background: rgba(10, 33, 22, 0.62);
  color: var(--lime-focus);
  font-size: 0.78rem;
  font-weight: 900;
}

.matrix .crop-tile:hover,
.matrix .crop-tile:focus-visible {
  border-color: rgba(199, 250, 113, 0.84);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.34);
  transform: translateY(-2px);
}

.empty-card {
  grid-column: 1 / -1;
  min-height: 160px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem;
  background: var(--glass);
}

.matrix h3 {
  color: white;
  margin-bottom: 0.35rem;
}

.matrix p,
.assistant-answer p,
.assistant-card p,
.wide-card p,
.contact-aside p,
.guide-section-grid li,
.guide-detail dd,
.garden-summary p,
.image-panel p,
.profile-panel p {
  color: var(--sage);
}

.guide-detail {
  display: grid;
  gap: 1.2rem;
}

.guide-detail .guide-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.6fr);
  gap: 1rem;
  align-items: stretch;
}

.guide-page .guide-top > .panel:first-child {
  min-height: clamp(480px, 54vw, 660px);
  display: grid;
  align-content: end;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(10, 33, 22, 0.94) 0%, rgba(10, 33, 22, 0.78) 45%, rgba(10, 33, 22, 0.4) 100%),
    var(--guide-crop-image) center center / cover;
  box-shadow: var(--shadow);
}

.guide-page .guide-top > .panel:first-child h1,
.guide-page .guide-top > .panel:first-child p {
  max-width: 820px;
}

.guide-page .guide-top > dl.panel {
  background: rgba(18, 48, 33, 0.72);
}

.guide-detail dl {
  display: grid;
  gap: 0.7rem;
  margin: 0;
}

.guide-detail div:has(> dt) {
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.guide-detail dt {
  color: var(--lime-focus);
  font-weight: 900;
}

.guide-detail dd {
  margin: 0.25rem 0 0;
}

.guide-scientific-name {
  margin-top: -0.65rem;
  color: var(--sage);
  font-size: 0.95rem;
}

.guide-zone-note {
  color: var(--sage);
  font-size: 0.95rem;
}

.guide-section {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--glass);
  backdrop-filter: blur(18px);
}

.section-heading h2,
.guide-evidence h2 {
  margin: 0.15rem 0 0.4rem;
}

.section-heading p:last-child,
.guide-evidence > div:first-child p:last-child {
  max-width: 760px;
  color: var(--sage);
}

.guide-quick-start dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.1rem 0 0;
}

.guide-quick-start dl div {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
}

.guide-section-grid article {
  min-height: 100%;
}

.guide-section-grid article .eyebrow {
  margin-bottom: 0.25rem;
}

.guide-section-grid ul,
.guide-evidence ul {
  padding-left: 1.2rem;
}

.guide-section-grid li,
.guide-evidence li {
  margin: 0.55rem 0;
}

.watch-list li {
  display: grid;
  gap: 0.15rem;
}

.watch-list strong {
  color: var(--lime-focus);
  text-transform: capitalize;
}

.watch-list span {
  color: var(--sage);
}

.guide-evidence {
  display: grid;
  gap: 1rem;
}

.guide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.guide-meta span {
  border: 1px solid rgba(199, 250, 113, 0.35);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  color: var(--lime-focus);
  font-size: 0.82rem;
  font-weight: 800;
}

.source-list {
  columns: 2;
  column-gap: 2rem;
}

.source-list li {
  break-inside: avoid;
}

.source-list a {
  color: var(--mist);
  font-weight: 800;
}

.source-list span {
  display: block;
  color: var(--sage);
  font-size: 0.85rem;
}

.guide-section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.guide-section-grid article {
  padding: 1.2rem;
  border-radius: 16px;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.guide-section-grid h3 {
  color: white;
  margin-bottom: 0.65rem;
}

.guide-section-grid ul {
  padding-left: 1.2rem;
  margin: 0;
}

.profile-panel {
  min-height: 232px;
  display: grid;
  align-content: start;
  gap: 0.9rem;
}

.garden-summary {
  min-height: 300px;
}

.garden-summary h2,
.image-panel h2,
.profile-panel h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: white;
}

.image-panel {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 1rem;
  align-items: center;
}

.image-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
}

.site-footer {
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem clamp(1rem, 4vw, 3rem);
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(10, 33, 22, 0.92);
  color: white;
}

.site-footer p {
  margin: 0;
  font-family: "MsMadi", cursive;
  font-size: 2.2rem;
  line-height: 1;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer a {
  color: var(--sage);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    background: rgba(10, 33, 22, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    border-radius: 12px;
  }

  .launch-band,
  .split,
  .feature-showcase.alternate,
  .karpos-preview,
  .form-section,
  .assistant-layout,
  .account-layout,
  .dashboard-grid,
  .zone-filter,
  .guide-detail .guide-top,
  .image-panel {
    grid-template-columns: 1fr;
  }

  .zone-filter-status {
    grid-column: auto;
  }

  .launch-hero {
    min-height: 690px;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(10, 33, 22, 0.92) 0%, rgba(10, 33, 22, 0.55) 62%, rgba(10, 33, 22, 0.16) 100%);
  }

  .hero-content {
    padding-top: 12rem;
  }

  .product-hero picture img {
    object-position: 63% center;
  }

  .product-hero .hero-content {
    padding-top: 14rem;
    transform: translateY(-3%);
  }

  .feature-media {
    border-radius: 18px;
  }

  .breakdown-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .site-header {
    padding-inline: 0.85rem;
  }

  .brand img {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }

  .brand span {
    font-size: clamp(1.9rem, 9vw, 2.45rem);
  }

  .brand span::after {
    font-size: 9px;
  }

  .hero-actions .button,
  .form-grid .button,
  .zone-actions .button {
    width: 100%;
  }

  .section,
  .page-hero {
    padding-inline: 0.85rem;
  }

  .panel,
  .assistant-card,
  .wide-card,
  .contact-aside,
  .product-card {
    padding: 1rem;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-hero {
    min-height: 760px;
  }

  .product-hero .hero-shade {
    background:
      linear-gradient(0deg, rgba(10, 33, 22, 0.96) 0%, rgba(10, 33, 22, 0.62) 58%, rgba(10, 33, 22, 0.08) 100%);
  }

  .product-hero .hero-content {
    padding-top: 18rem;
    transform: none;
  }

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

  .breakdown-grid article {
    min-height: auto;
  }
}
