:root {
  --bg: #f2f6f3;
  --surface: #ffffff;
  --surface-alt: #ebf1ed;
  --ink: #10241b;
  --muted: #4b6156;
  --line: #d4dfd8;
  --forest: #123524;
  --forest-mid: #1c4a33;
  --forest-soft: #e3f0e8;
  --emerald: #1d7a47;
  --emerald-soft: #e4f6ea;
  --amber: #d9820b;
  --amber-bright: #eab308;
  --amber-soft: #fff5e0;
  --alert: #9e2222;
  --alert-soft: #fee8e8;
  --radius: 14px;
  --shadow: 0 2px 12px rgba(16, 36, 27, 0.06);
  --shadow-lg: 0 10px 30px rgba(16, 36, 27, 0.12);
}

* {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, video, svg {
  max-width: 100%;
}

a {
  color: var(--forest);
}

.tabular {
  font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------------------ Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--forest);
  color: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.14);
}

.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}

.brand-title {
  display: block;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.brand-sub {
  display: block;
  font-size: 0.74rem;
  color: #c1dcd0;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.nav-btn {
  background: transparent;
  color: #dcf0e5;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 8px 13px;
  min-height: 38px;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.nav-btn.active {
  background: var(--amber-bright);
  color: var(--ink);
  border-color: var(--amber-bright);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  background: var(--amber-soft);
  color: #5c3305;
  font-size: 0.88rem;
  font-weight: 600;
  border-top: 1px solid var(--amber-bright);
}

/* ------------------------------------------------------------------ Layout */
.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 56px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.stack-sm {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.row-between {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.row-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

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

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

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

.workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

/* ------------------------------------------------------------------ Hero & Live Box Showcase */
.hero {
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-mid) 100%);
  color: #fff;
  border-radius: 20px;
  padding: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero h1 {
  margin: 0;
  font-size: 2.05rem;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: #fff;
}

.hero-sub {
  margin: 0;
  color: #e0efe6;
  font-size: 0.98rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 4px;
}

.hero-check-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #d6ebe0;
}

.hero-check-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
}

.showcase-card {
  background: #0d1f16;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

.showcase-header {
  padding: 10px 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.species-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.species-pill {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #e1f2e9;
  padding: 5px 11px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.species-pill:hover {
  background: rgba(255, 255, 255, 0.12);
}

.species-pill.active {
  background: var(--amber-bright);
  color: var(--ink);
  border-color: var(--amber-bright);
}

.showcase-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #b9f6ca;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
}

.showcase-media {
  background: #08130e;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.showcase-footer {
  padding: 12px 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
  color: #d6ebe0;
}

/* ------------------------------------------------------------------ Cards & Sections */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.card-compact {
  padding: 16px 18px;
}

.card h2, .card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}

.section-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.section-desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.stat-tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 700;
}

.stat-value {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--forest);
  margin-top: 4px;
}

.stat-sub {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 2px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-card h3 {
  margin: 0;
  font-size: 1.02rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--forest-soft);
  color: var(--forest);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.pilot-banner {
  background: var(--emerald-soft);
  border: 1px solid #a9dcba;
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.pilot-banner h3 {
  margin: 0 0 4px;
  color: var(--forest);
}

.pilot-banner p {
  margin: 0;
  color: #1e4b33;
  font-size: 0.9rem;
  max-width: 660px;
}

.plan-card {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.plan-name {
  font-weight: 800;
  color: var(--forest);
  font-size: 0.96rem;
}

.plan-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
}

.plan-detail {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ------------------------------------------------------------------ Demo Cards & Dropzone */
.demo-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.demo-card {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  background: var(--surface-alt);
}

.demo-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  background: #0d1f16;
}

.demo-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.demo-title {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--ink);
}

.demo-desc {
  font-size: 0.83rem;
  color: var(--muted);
}

.dropzone {
  border: 2px dashed #9cb8a7;
  border-radius: 12px;
  padding: 18px 16px;
  background: var(--surface-alt);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  margin-bottom: 12px;
}

.dropzone:hover {
  border-color: var(--emerald);
  background: var(--forest-soft);
}

.dropzone-title {
  font-weight: 800;
  font-size: 0.94rem;
  color: var(--forest);
}

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

.dropzone-file {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--emerald);
}

/* ------------------------------------------------------------------ Report Video, Metrics & Captures */
.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.metric-pill {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.metric-pill-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--muted);
}

.metric-pill-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--forest);
}

.video-shell {
  background: #0c1b13;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.video-shell video {
  width: 100%;
  max-height: 460px;
  display: block;
  background: #000;
}

.video-legend {
  padding: 11px 14px;
  background: #13281d;
  color: #e4f3ea;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  font-size: 0.82rem;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
}

.swatch {
  width: 11px;
  height: 11px;
  border-radius: 3px;
  display: inline-block;
  flex-shrink: 0;
}

.swatch-green { background: #48e076; }
.swatch-amber { background: #f5b400; }
.swatch-slate { background: #94a3b8; }

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

.capture-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.capture-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.capture-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0d1f16;
  overflow: hidden;
}

.capture-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.capture-zoom-hint {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: rgba(16, 36, 27, 0.84);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.capture-body {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.capture-caption {
  font-size: 0.82rem;
  color: var(--ink);
  line-height: 1.42;
}

/* ------------------------------------------------------------------ Alerts, Subnav, Charts & Controls */
.alert-card {
  border: 1px solid var(--line);
  border-left: 5px solid var(--amber);
  border-radius: 12px;
  padding: 16px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.alert-card.urgent {
  border-left-color: var(--alert);
  background: #fffdfd;
}

.alert-title {
  font-weight: 800;
  font-size: 0.96rem;
}

.alert-text {
  font-size: 0.9rem;
  color: var(--ink);
}

.verdict-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.verdict-input {
  flex: 1;
  min-width: 200px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 0.88rem;
  font-family: inherit;
}

.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.subnav-btn {
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  border-radius: 9px;
  padding: 8px 14px;
  min-height: 38px;
  font-size: 0.87rem;
  font-weight: 700;
  cursor: pointer;
}

.subnav-btn:hover {
  background: var(--surface-alt);
  color: var(--ink);
}

.subnav-btn.active {
  background: var(--forest);
  color: #fff;
}

.farm-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  background: var(--surface-alt);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vet-editor {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
}

.advanced-toggle {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  background: var(--surface-alt);
}

.advanced-toggle summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--forest);
}

.advanced-body {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chart-card {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chart-legend-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 700;
}

.chart-line-swatch {
  width: 14px;
  height: 3px;
  border-radius: 2px;
  display: inline-block;
}

/* ------------------------------------------------------------------ Buttons, Badges, Forms */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--forest);
  background: var(--forest);
  color: #fff;
  border-radius: 10px;
  padding: 10px 16px;
  min-height: 40px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  filter: brightness(1.08);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-gold {
  background: var(--amber-bright);
  border-color: var(--amber-bright);
  color: var(--ink);
}

.btn-white {
  background: #fff;
  border-color: #fff;
  color: var(--forest);
}

.btn-outline {
  background: #fff;
  color: var(--forest);
  border-color: var(--forest);
}

.btn-soft {
  background: var(--surface-alt);
  color: var(--ink);
  border-color: var(--line);
}

.btn-sm {
  padding: 7px 12px;
  min-height: 36px;
  font-size: 0.82rem;
  border-radius: 8px;
}

.btn-block {
  width: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
}

.badge-good { background: var(--emerald-soft); color: var(--emerald); }
.badge-warn { background: var(--amber-soft); color: #8a4b00; }
.badge-alert { background: var(--alert-soft); color: var(--alert); }
.badge-neutral { background: var(--surface-alt); color: var(--muted); }
.badge-forest { background: var(--forest-soft); color: var(--forest); }

.notice {
  border-radius: 12px;
  padding: 13px 15px;
  font-size: 0.9rem;
  border: 1px solid var(--line);
  background: var(--surface-alt);
}

.notice-warn {
  background: var(--amber-soft);
  border-color: #ecc586;
  color: #5c3305;
}

.notice-good {
  background: var(--emerald-soft);
  border-color: #9dd4b5;
  color: #144d2e;
}

.notice-alert {
  background: var(--alert-soft);
  border-color: #e6aaaa;
  color: #6b1d1e;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--muted);
}

.field input,
.field select,
.field textarea,
.inline-select {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 0.9rem;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
}

.inline-select {
  width: auto;
  max-width: 100%;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  font-size: 0.88rem;
}

.check-row input[type="checkbox"] {
  width: auto;
  margin-top: 3px;
}

.preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.preset-pill {
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.preset-pill.active {
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

th, td {
  text-align: left;
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
}

th {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--surface-alt);
}

pre.code-box {
  background: #0f2118;
  color: #e4f3ea;
  padding: 13px 15px;
  border-radius: 10px;
  overflow-x: auto;
  font-size: 0.8rem;
  line-height: 1.48;
  margin: 8px 0 0;
  white-space: pre-wrap;
  word-break: break-word;
}

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

.small {
  font-size: 0.8rem;
}

.spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(16, 36, 27, 0.25);
  border-top-color: currentColor;
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ------------------------------------------------------------------ Lightbox Dialog */
dialog.lightbox-dialog {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0;
  max-width: min(960px, 94vw);
  width: 100%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  background: var(--surface);
  color: var(--ink);
}

dialog.lightbox-dialog::backdrop {
  background: rgba(10, 22, 16, 0.76);
}

.lightbox-head {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.lightbox-stage {
  background: #0a1711;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.lightbox-stage img {
  max-height: 68vh;
  width: auto;
  max-width: 100%;
  border-radius: 8px;
  display: block;
}

.lightbox-foot {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ------------------------------------------------------------------ Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 20px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.footer-note {
  margin: 0;
  font-size: 0.83rem;
  color: var(--muted);
  max-width: 680px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ------------------------------------------------------------------ Sample Report Showcase & Offer */
.offer-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 5px solid var(--emerald);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.offer-lead {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--forest);
  line-height: 1.45;
}

.sample-report-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.sample-photo-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0d1f16;
}

.sample-photo-wrap img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.sample-callout-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.sample-trend-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--surface-alt);
  margin-top: 12px;
}

/* ------------------------------------------------------------------ Responsive */
@media (max-width: 960px) {
  .hero,
  .workspace-grid,
  .sample-report-grid,
  .grid-4,
  .capture-grid,
  .metric-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero,
  .sample-report-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 24px;
  }
}

@media (max-width: 680px) {
  .topbar-inner,
  .page {
    padding-left: 14px;
    padding-right: 14px;
  }
  .grid-2,
  .grid-3,
  .grid-4,
  .form-grid,
  .workspace-grid,
  .metric-strip,
  .capture-grid,
  .demo-card {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 1.56rem;
  }
}
