:root {
  --bg: #f2f0e8;
  --bg-strong: #123524;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-strong: #ffffff;
  --text: #173226;
  --muted: #5d6f66;
  --line: rgba(18, 53, 36, 0.12);
  --primary: #2f8f4e;
  --primary-dark: #1f6d3a;
  --accent: #e2b85b;
  --shadow: 0 24px 80px rgba(18, 53, 36, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(226, 184, 91, 0.18), transparent 26%),
    radial-gradient(circle at right 20%, rgba(47, 143, 78, 0.14), transparent 20%),
    linear-gradient(180deg, #f7f4ec 0%, var(--bg) 100%);
}

body.has-smart-banner {
  padding-top: 0;
}

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

.page-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 64px;
}

.smart-app-banner {
  position: relative;
  top: auto;
  left: auto;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin-top: 16px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  background: rgba(18, 53, 36, 0.94);
  box-shadow: var(--shadow);
  color: #fff;
  backdrop-filter: blur(18px);
}

.smart-app-banner__copy {
  display: grid;
  gap: 4px;
  flex: 1;
}

.smart-app-banner__copy span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
}

.smart-app-banner__cta {
  min-width: 132px;
}

.smart-app-banner__close {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 16px;
  padding: 14px 18px;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), #89c364);
  overflow: hidden;
}

.brand-mark svg {
  width: 26px;
  height: 26px;
  display: block;
}

.brand-mark img {
  width: 26px;
  height: 26px;
  display: block;
  object-fit: contain;
}

.brand-text,
.site-nav a,
.button {
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-weight: 600;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

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

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

.button-secondary,
.button-ghost {
  background: rgba(255, 255, 255, 0.6);
  border-color: var(--line);
}

.section-actions {
  margin-top: 24px;
}

.hero,
.section,
.cta-section {
  margin-top: 32px;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
  min-height: calc(100vh - 132px);
  padding: 32px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3.2rem, 6vw, 6.2rem);
  font-family: "Space Grotesk", sans-serif;
}

h2 {
  max-width: 14ch;
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-family: "Space Grotesk", sans-serif;
}

h3 {
  font-size: 1.3rem;
}

.hero-text,
.section-heading p,
.split-copy p,
.feature-card p,
.module-card p,
.cta-section p,
.workspace-summary p,
.metric-card span,
.timeline-item span,
.contact-card label {
  color: var(--muted);
  line-height: 1.65;
}

.hero-text {
  max-width: 62ch;
  margin: 20px 0 0;
  font-size: 1.05rem;
}

.hero-message-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(47, 143, 78, 0.12);
  border: 1px solid rgba(47, 143, 78, 0.18);
  color: var(--primary-dark);
  font-size: 0.92rem;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.hero-store-promo {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid rgba(47, 143, 78, 0.18);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(242, 246, 238, 0.92));
  box-shadow: 0 18px 40px rgba(18, 53, 36, 0.08);
}

.hero-store-copy {
  margin: 0 0 14px;
  color: var(--text);
  font-weight: 800;
}

.store-badges-hero {
  margin-top: 0;
}

.hero-points {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
  color: var(--muted);
  font-weight: 600;
}

.hero-points li::before,
.check-list div::before {
  content: "•";
  margin-right: 10px;
  color: var(--primary);
}

.hero-visual {
  position: relative;
  min-height: 640px;
  padding-top: 28px;
}

.device-stack {
  position: relative;
  height: 100%;
}

.panel {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.panel-browser {
  inset: 30px 0 120px 20px;
  padding: 18px;
}

.panel-top {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.panel-top span,
.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(23, 50, 38, 0.18);
}

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

.metric-card,
.timeline-card,
.workspace-summary,
.workspace-panels > div {
  padding: 18px;
  border-radius: 22px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
}

.metric-card strong {
  display: block;
  margin: 8px 0 4px;
  font-size: 2rem;
}

.metric-card.accent {
  background: linear-gradient(180deg, #183a2b, #102d20);
  color: #fff;
}

.metric-card.accent span,
.metric-card.accent small {
  color: rgba(255, 255, 255, 0.7);
}

.timeline-card {
  grid-column: 1 / -1;
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.panel-phone {
  top: 0;
  right: 6px;
  bottom: auto;
  z-index: 3;
  width: 272px;
  padding: 14px;
  background: linear-gradient(180deg, #102d20, #173f2c);
  color: #fff;
  box-shadow: 0 28px 80px rgba(9, 31, 21, 0.28);
}

.phone-notch {
  width: 90px;
  height: 18px;
  margin: 4px auto 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.2);
}

.phone-content {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.phone-content small {
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.76);
}

.phone-content strong {
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.phone-chip {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}

.phone-content ul {
  padding-left: 18px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.98rem;
  line-height: 1.55;
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.48);
  color: var(--muted);
  font-weight: 700;
}

.section,
.cta-section {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow);
}

.section-heading {
  max-width: 760px;
}

.section-heading p {
  max-width: 62ch;
  margin: 16px 0 0;
}

.feature-grid,
.module-grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

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

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

.feature-card,
.module-card {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
}

.module-card span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--primary-dark);
  font-weight: 800;
}

.split-section,
.cta-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: center;
}

.app-download-section {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 24px;
  align-items: center;
}

.app-download-media {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  min-height: 340px;
}

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

.app-download-copy h2 {
  max-width: 12ch;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 220px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 40px rgba(18, 53, 36, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.store-badge:hover {
  transform: translateY(-1px);
  border-color: rgba(47, 143, 78, 0.28);
  box-shadow: 0 22px 48px rgba(18, 53, 36, 0.12);
}

.store-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #f4f6ef;
}

.store-icon svg {
  width: 28px;
  height: 28px;
}

.app-store .store-icon {
  color: #0f172a;
}

.store-text {
  display: grid;
  gap: 2px;
}

.store-text small {
  color: var(--muted);
  font-size: 0.78rem;
}

.store-text strong {
  font-size: 1rem;
}

.download-note {
  margin: 16px 0 0;
  color: var(--primary-dark);
  font-weight: 700;
}

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  font-weight: 600;
  color: var(--text);
}

.workspace-card {
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: linear-gradient(180deg, #143a29, #0f2d20);
  box-shadow: var(--shadow);
}

.workspace-header {
  display: flex;
  gap: 8px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dot.red {
  background: #ff6a5f;
}

.dot.yellow {
  background: #f5be4f;
}

.dot.green {
  background: #59cf71;
}

.workspace-body {
  display: grid;
  grid-template-columns: 140px 1fr;
  min-height: 360px;
}

.workspace-body aside {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.workspace-main {
  display: grid;
  gap: 18px;
  padding: 20px;
}

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

.workspace-panels small {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
}

.contact-card {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
}

.contact-card label {
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  font: inherit;
  color: var(--text);
  background: #fafaf8;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.dashboard-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(47, 143, 78, 0.18), transparent 24%),
    radial-gradient(circle at bottom right, rgba(226, 184, 91, 0.15), transparent 24%),
    linear-gradient(180deg, #eff4ec 0%, #e8eee8 100%);
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
  width: min(1440px, calc(100% - 24px));
  margin: 12px auto;
}

.dashboard-sidebar,
.dashboard-main {
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow);
}

.dashboard-sidebar {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 22px;
  background: linear-gradient(180deg, #153726, #102d20);
  color: #fff;
}

.dashboard-brand {
  color: #fff;
}

.sidebar-group {
  display: grid;
  gap: 10px;
}

.sidebar-label,
.card-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sidebar-label {
  color: rgba(255, 255, 255, 0.48);
}

.sidebar-link {
  padding: 12px 14px;
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 700;
}

.sidebar-link.active,
.sidebar-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.sidebar-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.sidebar-card span {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.sidebar-card.dark {
  background: rgba(0, 0, 0, 0.18);
}

.sync-pill,
.alert-chip,
.status {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

.sync-pill,
.alert-chip {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.dashboard-main {
  padding: 26px;
  background: rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(18px);
}

.dashboard-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.dashboard-title {
  max-width: none;
  font-size: clamp(2.4rem, 4vw, 4.4rem);
}

.dashboard-subtitle {
  max-width: 70ch;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.topbar-actions {
  display: flex;
  gap: 12px;
}

.dashboard-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 26px;
}

.kpi-card,
.dash-card {
  padding: 22px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
}

.kpi-card strong,
.weather-panel strong {
  display: block;
  margin: 8px 0 6px;
  font-size: 2rem;
}

.kpi-card small,
.kpi-card span,
.weather-panel span {
  color: var(--muted);
}

.kpi-card.accent {
  background: linear-gradient(180deg, #1a412f, #113020);
  color: #fff;
}

.kpi-card.accent small,
.kpi-card.accent span {
  color: rgba(255, 255, 255, 0.76);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 16px;
  margin-top: 16px;
}

.dash-card-large {
  grid-column: span 2;
}

.dash-card-wide {
  grid-column: span 2;
}

.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.card-header a {
  color: var(--primary-dark);
  font-weight: 700;
}

.card-header h2 {
  max-width: none;
  font-size: 1.6rem;
}

.activity-list,
.stock-list,
.team-list,
.feed-list {
  display: grid;
  gap: 12px;
}

.activity-row,
.stock-list div,
.team-list div,
.feed-list div,
.field-row {
  display: grid;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #f8faf7;
  border: 1px solid rgba(18, 53, 36, 0.08);
}

.activity-row {
  grid-template-columns: 1fr auto;
}

.activity-row span,
.stock-list span,
.team-list span,
.feed-list span {
  color: var(--muted);
}

.weather-panel {
  display: grid;
  gap: 10px;
}

.field-table {
  display: grid;
  gap: 10px;
}

.field-row {
  grid-template-columns: 1.2fr 0.8fr 0.7fr 1fr;
}

.field-head {
  background: transparent;
  border-style: dashed;
  font-weight: 800;
}

.status.good {
  background: rgba(47, 143, 78, 0.12);
  color: var(--primary-dark);
}

.status.warn {
  background: rgba(226, 184, 91, 0.2);
  color: #8a6412;
}

@media (max-width: 1100px) {
  .hero,
  .split-section,
  .cta-section,
  .app-download-section,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 540px;
  }

  .feature-grid,
  .module-grid,
  .trust-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard-shell {
    grid-template-columns: 1fr;
  }

  .dashboard-kpis,
  .dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dash-card-large,
  .dash-card-wide {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  body.has-smart-banner {
    padding-top: 110px;
  }

  .page-shell {
    width: min(100% - 20px, 1200px);
  }

  .smart-app-banner {
    position: fixed;
    top: 12px;
    left: 50%;
    align-items: flex-start;
    gap: 10px;
    width: min(960px, calc(100% - 24px));
    margin-top: 0;
    padding: 12px;
    transform: translateX(-50%);
  }

  .smart-app-banner__cta {
    min-width: auto;
    padding-inline: 14px;
  }

  .site-header {
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero,
  .section,
  .cta-section {
    padding: 22px;
  }

  .hero-actions,
  .trust-bar,
  .module-grid,
  .workspace-panels,
  .store-badges {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .feature-grid,
  .module-grid,
  .trust-bar {
    grid-template-columns: 1fr;
  }

  .store-badges {
    display: grid;
  }

  .store-badge {
    min-width: 0;
  }

  .dashboard-main,
  .dashboard-sidebar {
    padding: 18px;
  }

  .panel-browser {
    inset: 0 0 130px 0;
  }

  .panel-phone {
    top: auto;
    right: 12px;
    bottom: 0;
    width: 200px;
  }

  .browser-grid,
  .workspace-body {
    grid-template-columns: 1fr;
  }

  .workspace-body aside {
    grid-auto-flow: column;
    overflow-x: auto;
  }

  .dashboard-topbar,
  .topbar-actions,
  .dashboard-kpis,
  .dashboard-grid,
  .field-row {
    grid-template-columns: 1fr;
  }

  .dashboard-topbar,
  .topbar-actions {
    display: grid;
  }

  .dash-card-large,
  .dash-card-wide {
    grid-column: auto;
  }
}
