/* ============================================================================
   OneAgroCore Redesigned Landing — Diverse Block Layouts
   Each section has a unique visual treatment to avoid the "Christmas tree" effect.
   ============================================================================ */

:root {
  --bg: #f5f5f7;
  --paper: #ffffff;
  --text: #1d1d1f;
  --muted: #68717c;
  --line: rgba(29, 29, 31, 0.12);
  --soft-line: rgba(29, 29, 31, 0.075);
  --green: #1f7a3f;
  --green-2: #0f5a2a;
  --green-light: #e8f5ec;
  --green-10: rgba(31, 122, 63, 0.10);
  --green-16: rgba(31, 122, 63, 0.16);
  --yellow: #f2c94c;
  --shadow: 0 26px 72px rgba(16, 24, 18, 0.15);
  --soft-shadow: 0 18px 46px rgba(16, 24, 18, 0.085);
  --header-height: 72px;
  --container: min(1260px, calc(100vw - 56px));
  --screen-radius: 28px;
  --screen-shadow: 0 38px 96px rgba(24, 35, 28, .13), 0 12px 34px rgba(24, 35, 28, .07);
  --screen-line: rgba(255,255,255,.78);
  --card-radius: 20px;
}

[data-theme="dark"] {
  --bg: #101211;
  --paper: #171a18;
  --text: #f5f5f7;
  --muted: #a6ada8;
  --line: rgba(255, 255, 255, 0.16);
  --soft-line: rgba(255, 255, 255, 0.08);
  --green-light: rgba(31, 122, 63, 0.15);
  --green-10: rgba(31, 122, 63, 0.18);
  --shadow: 0 32px 92px rgba(0, 0, 0, 0.55);
  --soft-shadow: 0 22px 55px rgba(0, 0, 0, 0.34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }

.container { width: var(--container); margin: 0 auto; }
.narrow { max-width: 860px; }
.center { text-align: center; }
.section > .container.narrow.center,
.mobile-section > .container.narrow.center {
  max-width: var(--container);
}
.section > .container.narrow.center .section-lead,
.mobile-section > .container.narrow.center .section-lead {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Progress bar ---- */
.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 1000;
  background: transparent;
}
.progress span { display: block; height: 100%; width: 0; background: var(--green); }

/* ---- Header ---- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-height);
  z-index: 999;
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto minmax(230px, 1fr);
  align-items: center;
  padding: 0 28px;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  border-color: var(--soft-line);
  box-shadow: 0 1px 0 rgba(0,0,0,.025);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  justify-self: start;
}
.brand-mark {
  display: block;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 10px;
  object-fit: cover;
  filter: drop-shadow(0 8px 18px rgba(31, 122, 63, .16));
}
.brand-text { display: grid; line-height: 1.05; }
.brand-text strong { font-size: 15px; letter-spacing: 0; font-weight: 760; }
.brand-text small { margin-top: 3px; font-size: 11px; color: var(--muted); }

.desktop-nav {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--paper) 52%, transparent);
  border: 1px solid var(--soft-line);
  border-radius: 999px;
  padding: 4px;
  justify-self: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.035);
}
[data-theme="dark"] .desktop-nav { background: rgba(255,255,255,.05); }
.desktop-nav a {
  position: relative;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 620;
  color: color-mix(in srgb, var(--text) 70%, transparent);
  transition: color .2s ease, background .2s ease;
}
.desktop-nav a:hover { color: var(--text); }
.desktop-nav a.active {
  color: #fff;
  background: #202124;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
}
.plain-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 12px;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.plain-link:hover { color: var(--green); }
.locale-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--soft-line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--paper) 72%, transparent);
  box-shadow: var(--shadow-soft);
}
.locale-switcher a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 30px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}
.locale-switcher a.active {
  background: var(--green);
  color: #fff;
}
.primary-action,
.secondary-action,
.demo-btn {
  text-decoration: none;
}
.plain-btn, .menu-button {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--soft-line);
  background: color-mix(in srgb, var(--paper) 70%, transparent);
  color: var(--text);
  display: grid;
  place-items: center;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.plain-btn:hover, .menu-button:hover { transform: translateY(-1px); border-color: var(--line); }
.demo-btn, .primary-action, .secondary-action {
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 19px;
  font-weight: 720;
  font-size: 14px;
  letter-spacing: 0;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
}
.demo-btn, .primary-action {
  border: 0;
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 26px rgba(31, 122, 63, .2);
}
.demo-btn:hover, .primary-action:hover { transform: translateY(-1px); box-shadow: 0 15px 32px rgba(31, 122, 63, .28); }
.secondary-action {
  border: 1px solid var(--line);
  color: var(--text);
  background: color-mix(in srgb, var(--paper) 62%, transparent);
}
.secondary-action:hover { border-color: color-mix(in srgb, var(--green) 55%, var(--line)); }
.primary-action.light { background: #fff; color: var(--green-2); box-shadow: none; }
.primary-action.full { width: 100%; }

.menu-button {
  display: none;
  position: relative;
  place-items: center;
  color: color-mix(in srgb, var(--text) 86%, transparent);
}
.menu-icon {
  grid-area: 1 / 1;
  width: 21px;
  height: 21px;
  transition: opacity .18s ease, transform .22s ease;
}
.menu-icon-close {
  opacity: 0;
  transform: scale(.82) rotate(-12deg);
}
.menu-button.active .menu-icon-open {
  opacity: 0;
  transform: scale(.82) rotate(12deg);
}
.menu-button.active .menu-icon-close {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}
.mobile-nav { display: none; }

/* ---- Typography ---- */
.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
}
.eyebrow.light { color: #8ce4ae; }

h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 22px;
  font-size: 60px;
  line-height: .98;
  letter-spacing: 0;
  font-weight: 690;
  max-width: 680px;
}
h2 {
  margin-bottom: 22px;
  font-size: 50px;
  line-height: 1.04;
  letter-spacing: 0;
  font-weight: 680;
}
h3 {
  margin-bottom: 12px;
  font-size: 28px;
  line-height: 1.16;
  letter-spacing: 0;
  font-weight: 690;
}
p { color: var(--muted); line-height: 1.58; }
.lead, .section-lead {
  font-size: 22px;
  line-height: 1.46;
  letter-spacing: 0;
}

/* ---- Device frame ---- */
.device-frame {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background: color-mix(in srgb, var(--paper) 93%, #eef2ee 7%);
  border: 1px solid rgba(255,255,255,.58);
  box-shadow: var(--shadow);
}
.device-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.045), inset 0 22px 70px rgba(255,255,255,.28);
}
.device-bar {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.62));
  border-bottom: 1px solid rgba(0,0,0,.055);
  color: rgba(29,29,31,.48);
  font-size: 12px;
  font-weight: 700;
}
.device-bar i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(29,29,31,.2);
}
.device-bar span { margin-left: auto; }
[data-theme="dark"] .device-frame { background: #151817; border-color: rgba(255,255,255,.12); }
[data-theme="dark"] .device-bar { background: #202320; border-color: rgba(255,255,255,.08); color: rgba(255,255,255,.56); }
[data-theme="dark"] .device-bar i { background: rgba(255,255,255,.18); }

/* ============================================================================
   HERO — kept as-is, already distinctive
   ============================================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  align-items: center;
  padding: calc(var(--header-height) + 36px) 0 116px;
  background:
    radial-gradient(circle at 73% 26%, rgba(31, 122, 63, .16), transparent 33%),
    linear-gradient(180deg, #fbfbfd 0%, var(--bg) 100%);
}
[data-theme="dark"] .hero { background: radial-gradient(circle at 74% 26%, rgba(31,122,63,.25), transparent 36%), #101211; }
.hero-backdrop {
  position: absolute;
  inset: -8% -8% 0 41%;
  z-index: -3;
  background-image: url('/landing/screens/fields.webp');
  background-size: cover;
  background-position: center;
  filter: blur(34px) saturate(.9);
  opacity: .17;
  transform: scale(1.1);
  transition: background-image .45s ease;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 92%, transparent) 37%, color-mix(in srgb, var(--bg) 42%, transparent) 66%, color-mix(in srgb, var(--bg) 12%, transparent) 100%);
}
.hero-content {
  position: relative;
  z-index: 3;
  width: var(--container);
  margin: 0 auto;
  padding-top: 20px;
}
.hero-content .lead { max-width: 655px; margin-bottom: 32px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: color-mix(in srgb, var(--text) 78%, transparent);
  font-size: 13px;
  font-weight: 700;
}
.hero-meta i {
  width: 34px;
  height: 1px;
  background: color-mix(in srgb, var(--green) 45%, var(--line));
}
.hero-product {
  position: absolute;
  z-index: 1;
  right: clamp(-86px, -2.4vw, -34px);
  top: 50%;
  width: min(1020px, 58vw);
  border-radius: 31px;
  transform: translateY(-50%) perspective(1650px) rotateY(-8deg) rotateX(2deg) rotateZ(.25deg);
  transform-origin: right center;
  opacity: .98;
}
.hero-product img {
  width: 100%;
  aspect-ratio: 1536 / 1074;
  object-fit: contain;
  background: #f7f8f8;
  transition: opacity .24s ease, transform .42s ease;
}
.hero-product.is-changing img { opacity: .2; transform: scale(.992); }
.hero-slider {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  padding: 7px;
  width: min(760px, calc(100vw - 32px));
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  border: 1px solid var(--soft-line);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 10px 35px rgba(0,0,0,.08);
}
.hero-slider button {
  flex: 1;
  border: 0;
  background: transparent;
  border-radius: 999px;
  color: color-mix(in srgb, var(--text) 74%, transparent);
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 720;
  white-space: nowrap;
}
.hero-slider button span { margin-right: 6px; color: var(--muted); }
.hero-slider button.active { background: #202124; color: #fff; }
.hero-slider button.active span { color: rgba(255,255,255,.66); }

@media (min-width: 1261px) and (max-width: 1640px) {
  h1 { max-width: 620px; }
  .hero-content .lead { max-width: 590px; }
  .hero-product {
    right: clamp(-230px, -10vw, -150px);
    width: min(920px, 54vw);
    opacity: .92;
  }
  .hero-gradient {
    background: linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 96%, transparent) 44%, color-mix(in srgb, var(--bg) 62%, transparent) 62%, color-mix(in srgb, var(--bg) 10%, transparent) 100%);
  }
}

/* ============================================================================
   WHY SECTION — Problem cards with icons
   ============================================================================ */
.section { padding: 126px 0; }
.why-section {
  background: var(--paper);
  border-top: 1px solid var(--soft-line);
}

.chaos-strip {
  margin-top: 46px;
  display: grid;
  grid-template-columns: 1fr 54px 1fr 54px 1.2fr 54px 1fr;
  align-items: center;
  padding: 22px 0 16px;
  color: var(--text);
}
.chaos-strip > i {
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--green) 44%, var(--line)), transparent);
}
.chaos-node {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
  color: color-mix(in srgb, var(--text) 75%, transparent);
  font-size: 14px;
  font-weight: 740;
}
.chaos-node small { color: var(--muted); font-weight: 650; margin-top: -6px; }
.node-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--green);
  background: color-mix(in srgb, var(--green) 10%, var(--paper));
  box-shadow: 0 0 0 1px var(--soft-line), 0 12px 28px rgba(31,122,63,.08);
}
.node-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.center-node .node-icon { color: #fff; background: var(--green); box-shadow: 0 14px 34px rgba(31,122,63,.22); }

.scattered-flow {
  position: relative;
  margin-top: 62px;
  margin-bottom: 66px;
  min-height: 270px;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.scattered-flow::before {
  content: "";
  position: absolute;
  inset: 20% 6%;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(31,122,63,.13), transparent 57%),
    radial-gradient(ellipse at 18% 46%, rgba(242,201,76,.12), transparent 46%);
  filter: blur(24px);
  z-index: -1;
}
.scatter-card,
.scatter-core {
  position: absolute;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(220,225,219,.75);
  box-shadow: 0 16px 50px rgba(24,35,28,.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.scatter-card {
  width: 176px;
  min-height: 116px;
  border-radius: 26px;
  padding: 22px;
  display: grid;
  gap: 6px;
}
.scatter-card strong {
  font-size: 18px;
  letter-spacing: 0;
}
.scatter-card small,
.scatter-core small {
  color: var(--muted);
  line-height: 1.35;
}
.scatter-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--green) 10%, #fff 90%);
  color: var(--green);
  font-weight: 820;
}
.scatter-core {
  width: min(520px, 80vw);
  min-height: 152px;
  border-radius: 36px;
  padding: 32px 38px;
  text-align: center;
  display: grid;
  place-items: center;
  gap: 8px;
  background: rgba(255,255,255,.84);
  box-shadow: 0 30px 80px rgba(24,35,28,.08);
}
.scatter-core strong {
  max-width: 380px;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: 0;
}
.brand-mini {
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.left-a { left: 0; top: 18px; transform: rotate(-2deg); }
.left-b { left: 15%; bottom: 0; transform: rotate(2.2deg); }
.right-a { right: 15%; top: 0; transform: rotate(1.4deg); }
.right-b { right: 0; bottom: 18px; transform: rotate(-1.8deg); }

/* Problem cards instead of lines */
.problem-cards {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.problem-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 18px;
  row-gap: 12px;
  align-items: center;
  padding: 32px;
  border-radius: var(--card-radius);
  background: var(--bg);
  border: 1px solid var(--soft-line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0,0,0,.08);
}
.problem-icon {
  grid-column: 1;
  grid-row: 1;
  width: 48px;
  height: 48px;
  color: var(--green);
}
.problem-icon svg { width: 100%; height: 100%; }
.problem-card h3 {
  grid-column: 2;
  grid-row: 1;
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 0;
}
.problem-card p {
  grid-column: 1 / -1;
  font-size: 15px;
  margin-bottom: 0;
}

/* ============================================================================
   SYSTEM SECTION — v12 operational logic
   ============================================================================ */
.system-section {
  padding: 126px 0;
}
.system-v11 {
  --v12-radius: 30px;
  --v12-shadow: 0 42px 108px rgba(20, 32, 24, .135), 0 12px 34px rgba(20, 32, 24, .075);
  --v12-glow:
    radial-gradient(ellipse at 54% 50%, rgba(31,122,63,.135), transparent 64%),
    radial-gradient(ellipse at 38% 72%, rgba(242,201,76,.09), transparent 58%);
  background:
    radial-gradient(ellipse at 68% 70%, rgba(31,122,63,.09), transparent 42%),
    linear-gradient(180deg, #f5f6f5 0%, #eef3ef 100%);
  overflow: hidden;
}
.system-layout {
  display: grid;
  grid-template-columns: minmax(300px, 470px) 1fr;
  gap: 86px;
  align-items: start;
  margin-bottom: 28px;
}
.system-copy h2 {
  margin-bottom: 24px;
  font-size: clamp(34px, 3vw, 38px);
  line-height: .98;
}
.system-copy p:last-child {
  max-width: 470px;
  font-size: 18px;
}
.flow-line {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: rgba(255,255,255,.34);
}
.flow-item {
  min-height: 116px;
  padding: 22px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  text-align: left;
  transition: background .2s ease, color .2s ease;
}
.flow-item span {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 760;
  letter-spacing: 0;
}
.flow-item small {
  color: var(--muted);
  line-height: 1.35;
}
.flow-item:hover,
.flow-item.active {
  background: var(--green);
  color: #fff;
}
.flow-item:hover small,
.flow-item.active small {
  color: rgba(255,255,255,.78);
}
.flow-stage {
  position: relative;
  display: grid;
  align-items: center;
  overflow: visible;
  isolation: isolate;
}
.flow-stage-hand {
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, .62fr);
  gap: clamp(66px, 6.5vw, 110px);
  min-height: 620px;
}
.flow-hand-scene {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.flow-hand-scene::before {
  content: "";
  position: absolute;
  inset: 12% -3% 4% -5%;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 50% 54%, rgba(31,122,63,.16), transparent 58%),
    radial-gradient(ellipse at 38% 62%, rgba(242,201,76,.10), transparent 44%);
  filter: blur(28px);
  z-index: -2;
}
.hand-shape { display: none !important; }
.flow-visual {
  overflow: visible !important;
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  transform-origin: center;
}
.flow-visual::after { display: none; }
.tablet-held {
  position: relative;
  width: min(820px, 96%) !important;
  z-index: 3;
  padding: 0 !important;
  border-radius: 34px !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: perspective(1700px) rotateY(16deg) rotateX(19deg) rotateZ(-1.2deg) !important;
}
.tablet-held::before {
  content: "";
  position: absolute;
  inset: -48px -56px -60px;
  z-index: -1;
  border-radius: 70px;
  background: var(--v12-glow);
  filter: blur(26px);
  opacity: .92;
}
.tablet-held .device-bar { display: none !important; }
.tablet-held img {
  display: block;
  width: 100%;
  border-radius: var(--v12-radius) !important;
  border: 1px solid rgba(255,255,255,.82) !important;
  object-fit: contain !important;
  background: #f7f8f8 !important;
  box-shadow: var(--v12-shadow) !important;
  outline: 0;
  transition: opacity .22s ease, transform .35s ease;
}
.flow-visual.changing img {
  opacity: .18;
  transform: scale(.994);
}
.flow-note {
  align-self: center;
  max-width: 455px;
  padding-top: 0;
}
.flow-note p:first-child {
  margin-bottom: 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
}
.flow-note h3 {
  margin-bottom: 18px;
  font-size: clamp(31px, 2.55vw, 38px);
  line-height: 1.05;
}
.flow-note p:last-child {
  font-size: 17px;
}
[data-theme="dark"] .system-v11 {
  background:
    radial-gradient(ellipse at 68% 70%, rgba(31,122,63,.16), transparent 42%),
    linear-gradient(180deg, #111412 0%, #141a16 100%);
}

/* ============================================================================
   FIELDS — Full-width Immersive Showcase
   ============================================================================ */
.immersive-section {
  position: relative;
  padding: 120px 0 0;
  background: radial-gradient(ellipse at 54% 56%, rgba(31, 122, 63, .09), transparent 50%), linear-gradient(180deg, #fffdfa 0%, #f3f6f1 100%);
  overflow: hidden;
}
.immersive-section::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(31,122,63,.08), transparent 60%);
  pointer-events: none;
}

.immersive-content {
  position: relative;
  z-index: 2;
  padding-bottom: 60px;
}
.immersive-header {
  max-width: 100%;
  margin-bottom: 48px;
}
.immersive-header h2 {
  max-width: 100%;
}
.immersive-header p:not(.eyebrow) {
  max-width: 1180px;
}

.immersive-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.immersive-feature-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 10px;
  align-items: center;
  padding: 28px;
  border-radius: var(--card-radius);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  border: 1px solid var(--soft-line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform .25s ease, box-shadow .25s ease;
}
.immersive-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,.07);
}
.ifc-icon {
  grid-column: 1;
  grid-row: 1;
  width: 44px;
  height: 44px;
  color: var(--green);
}
.ifc-icon svg { width: 100%; height: 100%; }
.immersive-feature-card strong {
  grid-column: 2;
  grid-row: 1;
  display: block;
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 740;
  color: var(--text);
}
.immersive-feature-card p {
  grid-column: 1 / -1;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.5;
}

/* Immersive screen — centered, full-width */
.immersive-screen {
  position: relative;
  padding-bottom: 120px;
}
.immersive-screen .screen-tabs {
  display: flex;
  margin-bottom: 18px;
  margin-left: auto;
  margin-right: auto;
  width: max-content;
  position: relative;
  z-index: 3;
}
.immersive-canvas {
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  transform: perspective(1750px) rotateY(0deg) rotateX(28deg) rotateZ(0.00deg) !important;
  transform-origin: center;
  max-width: 960px;
  margin: 0 auto;
}
.immersive-canvas::after { display: none; }
.immersive-canvas .device-bar { display: none; }
.immersive-canvas img {
  display: block;
  width: 100%;
  border-radius: var(--screen-radius);
  border: 1px solid var(--screen-line);
  background: #f7f8f8;
  box-shadow: 0 40px 100px rgba(24,35,28,.14), 0 12px 34px rgba(24,35,28,.07);
  outline: 1px solid rgba(29,29,31,.035);
  max-height: none;
  object-fit: contain;
  transition: opacity .22s ease, transform .35s ease;
}
.immersive-canvas.changing img { opacity: .18; transform: scale(.994); }
[data-theme="dark"] .immersive-canvas img {
  border-color: rgba(255,255,255,.12);
  outline-color: rgba(255,255,255,.04);
  box-shadow: 0 40px 110px rgba(0,0,0,.45), 0 12px 34px rgba(0,0,0,.26);
}
.immersive-canvas figcaption {
  border: 0;
  background: transparent;
  padding: 13px 7px 0;
  color: color-mix(in srgb, var(--muted) 92%, transparent);
  font-size: 13px;
}

/* ============================================================================
   OPERATIONS — Bento Grid
   ============================================================================ */
.bento-section {
  padding: 120px 0;
  background: var(--bg);
  position: relative;
}
.bento-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
  z-index: 1;
}

.bento-header {
  max-width: 100%;
  margin-bottom: 48px;
}
.bento-header h2 { max-width: 100%; }
.bento-header p:not(.eyebrow) { max-width: 1180px; }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.bento-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 18px;
  row-gap: 12px;
  align-items: center;
  padding: 32px;
  border-radius: var(--card-radius);
  background: var(--paper);
  border: 1px solid var(--soft-line);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.bento-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(0,0,0,.07);
  border-color: color-mix(in srgb, var(--green) 30%, var(--soft-line));
}
.bento-card-icon {
  grid-column: 1;
  grid-row: 1;
  width: 48px;
  height: 48px;
  color: var(--green);
  flex-shrink: 0;
}
.bento-card-icon svg { width: 100%; height: 100%; }
.bento-card strong {
  grid-column: 2;
  grid-row: 1;
  display: block;
  margin-bottom: 0;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 740;
  color: var(--text);
}
.bento-card p {
  grid-column: 1 / -1;
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.5;
}
/* Bento screen — centered */
.bento-screen {
  position: relative;
}
.bento-screen .screen-tabs {
  margin-bottom: 18px;
}
.bento-canvas {
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  transform: perspective(1700px) rotateY(-2deg) rotateX(.8deg);
  max-width: 960px;
  margin: 0 auto;
}
.bento-canvas::after { display: none; }
.bento-canvas .device-bar { display: none; }
.bento-canvas img {
  display: block;
  width: 100%;
  border-radius: var(--screen-radius);
  border: 1px solid var(--screen-line);
  background: #f7f8f8;
  box-shadow: var(--screen-shadow);
  outline: 1px solid rgba(29,29,31,.035);
  max-height: none;
  object-fit: contain;
  transition: opacity .22s ease, transform .35s ease;
}
.bento-canvas.changing img { opacity: .18; transform: scale(.994); }
[data-theme="dark"] .bento-canvas img {
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 38px 100px rgba(0,0,0,.45), 0 12px 34px rgba(0,0,0,.26);
}
.bento-canvas figcaption {
  border: 0;
  background: transparent;
  padding: 13px 7px 0;
  color: color-mix(in srgb, var(--muted) 92%, transparent);
  font-size: 13px;
}

/* ============================================================================
   STOCK — Metrics Dashboard
   ============================================================================ */
.dashboard-section {
  padding: 120px 0;
  background: var(--paper);
  position: relative;
}
.dashboard-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--yellow), var(--green));
}

.dashboard-header {
  max-width: 100%;
  margin-bottom: 48px;
}
.dashboard-header h2 { max-width: 100%; }
.dashboard-header p:not(.eyebrow) { max-width: 1180px; }

/* Metrics strip — horizontal cards */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.metric-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 10px;
  align-items: center;
  padding: 28px;
  border-radius: var(--card-radius);
  background: var(--bg);
  border: 1px solid var(--soft-line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.metric-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,.07);
}
.metric-icon {
  grid-column: 1;
  grid-row: 1;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  color: var(--green);
}
.metric-icon svg { width: 100%; height: 100%; }
.metric-info { display: contents; }
.metric-info strong {
  grid-column: 2;
  grid-row: 1;
  display: block;
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 740;
  color: var(--text);
}
.metric-info p {
  grid-column: 1 / -1;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.45;
}

/* Dashboard screen — centered */
.dashboard-screen {
  position: relative;
}
.dashboard-screen .screen-tabs {
  margin-bottom: 18px;
}
.dashboard-canvas {
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  transform: perspective(1700px) rotateY(2deg) rotateX(.8deg);
  max-width: 960px;
  margin: 0 auto;
}
.dashboard-canvas::after { display: none; }
.dashboard-canvas .device-bar { display: none; }
.dashboard-canvas img {
  display: block;
  width: 100%;
  border-radius: var(--screen-radius);
  border: 1px solid var(--screen-line);
  background: #f7f8f8;
  box-shadow: var(--screen-shadow);
  outline: 1px solid rgba(29,29,31,.035);
  max-height: none;
  object-fit: contain;
  transition: opacity .22s ease, transform .35s ease;
}
.dashboard-canvas.changing img { opacity: .18; transform: scale(.994); }
[data-theme="dark"] .dashboard-canvas img {
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 38px 100px rgba(0,0,0,.45), 0 12px 34px rgba(0,0,0,.26);
}
.dashboard-canvas figcaption {
  border: 0;
  background: transparent;
  padding: 13px 7px 0;
  color: color-mix(in srgb, var(--muted) 92%, transparent);
  font-size: 13px;
}

/* ============================================================================
   WEATHER — Centered Data Showcase
   ============================================================================ */
.weather-section {
  padding: 120px 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(31,122,63,.08), transparent 45%),
    var(--bg);
  position: relative;
}
.weather-header {
  max-width: 100%;
  margin: 0 auto 56px;
}
.weather-header .section-lead { max-width: 1180px; margin-left: auto; margin-right: auto; }

.weather-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, .85fr);
  align-items: center;
  gap: clamp(34px, 4.8vw, 72px);
}

/* Weather stats — paired with weather slider */
.weather-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 0;
}
.weather-stat {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 10px;
  align-items: center;
  text-align: left;
  padding: 28px 16px;
  border-radius: var(--card-radius);
  background: var(--paper);
  border: 1px solid var(--soft-line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.weather-stat:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,.07);
}
.weather-stat svg {
  grid-column: 1;
  grid-row: 1;
  width: 36px;
  height: 36px;
  color: var(--green);
}
.weather-stat strong {
  grid-column: 2;
  grid-row: 1;
  display: block;
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 740;
  color: var(--text);
}
.weather-stat p {
  grid-column: 1 / -1;
  margin-bottom: 0;
  font-size: 13px;
  line-height: 1.45;
}

/* Weather screen — centered */
.weather-screen {
  position: relative;
  min-width: 0;
}
.weather-screen .screen-tabs {
  margin-bottom: 18px;
}
.weather-canvas {
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  max-width: 900px;
  margin: 0 auto;
}
.weather-canvas::after { display: none; }
.weather-canvas .device-bar { display: none; }
.weather-canvas img {
  display: block;
  width: 100%;
  border-radius: var(--screen-radius);
  border: 1px solid var(--screen-line);
  background: #f7f8f8;
  box-shadow: var(--screen-shadow);
  outline: 1px solid rgba(29,29,31,.035);
  max-height: none;
  object-fit: contain;
  transition: opacity .22s ease, transform .35s ease;
}
.weather-canvas.changing img { opacity: .18; transform: scale(.994); }
[data-theme="dark"] .weather-canvas img {
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 38px 100px rgba(0,0,0,.45), 0 12px 34px rgba(0,0,0,.26);
}
.weather-canvas figcaption {
  border: 0;
  background: transparent;
  padding: 13px 7px 0;
  color: color-mix(in srgb, var(--muted) 92%, transparent);
  font-size: 13px;
}

/* ============================================================================
   ANALYTICS — Dark section with big numbers
   ============================================================================ */
.analytics {
  position: relative;
  overflow: hidden;
  padding: 132px 0;
  background: #0a1a10;
  color: #fff;
  isolation: isolate;
}
.analytics-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url('/landing/screens/report-money.webp');
  background-size: cover;
  background-position: center;
  opacity: .16;
  filter: blur(18px) saturate(.9);
  transform: scale(1.04);
}
.analytics::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(5, 16, 9, .96) 0%, rgba(5, 16, 9, .86) 44%, rgba(5, 16, 9, .60) 100%);
}

.analytics-top {
  max-width: 100%;
  margin-bottom: 48px;
}
.analytics-top p { color: rgba(255,255,255,.72); font-size: 18px; }
.analytics-top p:not(.eyebrow) { max-width: 1180px; }

.immersive-header,
.bento-header,
.dashboard-header,
.weather-header,
.analytics-top {
  text-align: center;
}
.immersive-header p:not(.eyebrow),
.bento-header p:not(.eyebrow),
.dashboard-header p:not(.eyebrow),
.weather-header .section-lead,
.analytics-top p:not(.eyebrow) {
  margin-left: auto;
  margin-right: auto;
}

/* Big numbers strip */
.analytics-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}
.analytics-number {
  padding: 32px;
  border-radius: var(--card-radius);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  transition: background .25s ease;
}
.analytics-number:hover {
  background: rgba(255,255,255,.10);
}
.an-value {
  display: block;
  margin-bottom: 10px;
  font-size: 32px;
  font-weight: 780;
  letter-spacing: 0;
  color: #fff;
}
.analytics-number p {
  margin-bottom: 0;
  color: rgba(255,255,255,.68);
  font-size: 15px;
  line-height: 1.5;
}

/* Analytics screen */
.analytics-screen .screen-tabs { margin-bottom: 18px; }
.analytics-canvas {
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  transform: perspective(1700px) rotateY(-3deg) rotateX(1deg);
  max-width: 960px;
  margin: 0 auto;
}
.analytics-canvas::after { display: none; }
.analytics-canvas .device-bar { display: none; }
.analytics-canvas img {
  display: block;
  width: 100%;
  border-radius: var(--screen-radius);
  border: 1px solid rgba(255,255,255,.16);
  outline: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 38px 110px rgba(0,0,0,.45), 0 12px 34px rgba(0,0,0,.28);
  background: #0f1411;
  max-height: none;
  object-fit: contain;
  transition: opacity .22s ease, transform .35s ease;
}
.analytics-canvas.changing img { opacity: .18; transform: scale(.994); }
.analytics-canvas figcaption {
  color: rgba(255,255,255,.64);
  border: 0;
  background: transparent;
  padding: 13px 7px 0;
  font-size: 13px;
}

/* ============================================================================
   MOBILE — Phone gallery (kept as-is)
   ============================================================================ */
.mobile-section {
  position: relative;
  padding: 126px 0 150px;
  background:
    radial-gradient(circle at 50% 56%, rgba(31,122,63,.12), transparent 37%),
    var(--paper);
  overflow: hidden;
}
.phone-gallery {
  position: relative;
  width: min(1040px, calc(100vw - 40px));
  margin: 64px auto 0;
  min-height: 740px;
  display: grid;
  place-items: center;
}
.phone-track {
  position: relative;
  width: min(920px, 100%);
  height: 720px;
}
.phone {
  position: absolute;
  top: 0;
  left: 50%;
  width: 286px;
  margin: 0;
  border-radius: 42px;
  padding: 10px;
  background: #151515;
  box-shadow: 0 28px 70px rgba(0,0,0,.25);
  transform-origin: center bottom;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .45s ease, filter .45s ease;
}
.phone:nth-child(1) { transform: translateX(-162%) rotate(-8deg) scale(.88); opacity: .55; filter: saturate(.7); }
.phone:nth-child(2) { transform: translateX(-84%) rotate(-3deg) scale(.95); opacity: .82; }
.phone:nth-child(3) { transform: translateX(-6%) rotate(3deg) scale(1); opacity: 1; z-index: 3; }
.phone:nth-child(4) { transform: translateX(72%) rotate(8deg) scale(.9); opacity: .6; filter: saturate(.75); }
.phone.active { z-index: 5; }
.phone img { width: 100%; border-radius: 31px; background: #f5f5f7; }
.phone figcaption {
  position: absolute;
  left: 50%;
  bottom: -42px;
  transform: translateX(-50%);
  color: var(--muted);
  font-weight: 800;
}
.phone-arrow {
  position: absolute;
  z-index: 20;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 80%, transparent);
  color: var(--text);
  font-size: 32px;
  display: grid;
  place-items: center;
  backdrop-filter: blur(18px);
  transition: transform .2s ease, background .2s ease;
}
.phone-arrow:hover { transform: translateY(-50%) scale(1.04); }
.phone-arrow.prev { left: 0; }
.phone-arrow.next { right: 0; }

/* ============================================================================
   SECURITY — Centered Feature Grid
   ============================================================================ */
.security-section {
  background:
    radial-gradient(circle at 73% 36%, rgba(31,122,63,.10), transparent 34%),
    var(--bg);
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  margin-bottom: 64px;
}
.security-feature {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 12px;
  align-items: center;
  padding: 32px;
  border-radius: var(--card-radius);
  background: var(--paper);
  border: 1px solid var(--soft-line);
  text-align: left;
  transition: transform .25s ease, box-shadow .25s ease;
}
.security-feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,.07);
}
.sf-icon {
  grid-column: 1;
  grid-row: 1;
  width: 52px;
  height: 52px;
  color: var(--green);
}
.sf-icon svg { width: 100%; height: 100%; }
.security-feature strong {
  grid-column: 2;
  grid-row: 1;
  display: block;
  margin-bottom: 0;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 740;
  color: var(--text);
}
.security-feature p {
  grid-column: 1 / -1;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.5;
}

/* Security screen — centered */
.security-screen-wrap {
  text-align: center;
}
.security-shot {
  display: inline-block;
  width: min(800px, 100%);
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  transform: perspective(1600px) rotateY(-3.8deg) rotateX(1.2deg) rotateZ(.12deg);
  max-width: 800px;
}
.security-shot::after { display: none; }
.security-shot .device-bar { display: none; }
.security-shot img {
  display: block;
  width: 100%;
  border-radius: var(--screen-radius);
  border: 1px solid var(--screen-line);
  background: #f7f8f8;
  box-shadow: var(--screen-shadow);
  outline: 1px solid rgba(29,29,31,.035);
}
[data-theme="dark"] .security-shot img {
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 38px 100px rgba(0,0,0,.45), 0 12px 34px rgba(0,0,0,.26);
}

/* Security ambient glow */
.security-screen-wrap {
  position: relative;
  isolation: isolate;
}
.security-screen-wrap::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(28px);
  opacity: .72;
  inset: 10% 2% 0 8%;
  background:
    radial-gradient(ellipse at 50% 48%, rgba(31,122,63,.16), transparent 60%),
    radial-gradient(ellipse at 72% 35%, rgba(242,201,76,.10), transparent 52%);
}
[data-theme="dark"] .security-screen-wrap::before {
  opacity: .55;
  background: radial-gradient(ellipse at 50% 48%, rgba(31,122,63,.22), transparent 60%);
}

/* ============================================================================
   CTA — kept as-is
   ============================================================================ */
.cta {
  padding: 104px 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(14, 73, 36, .97), rgba(31, 122, 63, .88)),
    url('/landing/screens/fields.webp') center/cover;
}
.cta-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.cta h2 { max-width: 810px; margin-bottom: 14px; }
.cta p { max-width: 690px; color: rgba(255,255,255,.76); font-size: 18px; }

/* ============================================================================
   FOOTER — kept as-is
   ============================================================================ */
.site-footer {
  padding: 52px 0 60px;
  background: #08130d;
  color: #fff;
}
.footer-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr .8fr;
  gap: 50px;
}
.footer-brand { margin-bottom: 18px; }
.site-footer p, .site-footer a, .site-footer span { color: rgba(255,255,255,.68); }
.site-footer nav, .footer-contact { display: grid; gap: 12px; }
.footer-contact strong { color: #fff; }

/* ============================================================================
   MODAL — kept as-is
   ============================================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
.modal.open { opacity: 1; pointer-events: auto; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.46);
  backdrop-filter: blur(12px);
}
.demo-form {
  position: relative;
  width: min(520px, 100%);
  display: grid;
  gap: 16px;
  padding: 34px;
  border-radius: 28px;
  background: var(--paper);
  color: var(--text);
  box-shadow: var(--shadow);
}
.demo-form h3 { font-size: 30px; }
.demo-form label {
  display: grid;
  gap: 8px;
  color: color-mix(in srgb, var(--text) 82%, transparent);
  font-weight: 750;
}
.demo-form input, .demo-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  color: var(--text);
  padding: 0 14px;
  outline: 0;
}
.demo-form input:focus, .demo-form select:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(31,122,63,.12); }
.demo-form small { color: var(--muted); }
.close-modal {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: var(--bg);
  color: var(--text);
  font-size: 24px;
}

/* ============================================================================
   SCREEN TABS — shared component
   ============================================================================ */
.screen-tabs {
  display: flex;
  gap: 6px;
  width: max-content;
  margin: 0 auto 16px;
  padding: 5px;
  border: 1px solid var(--soft-line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--paper) 72%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 12px 30px rgba(0,0,0,.04);
}
.screen-tabs button {
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 780;
  transition: background .2s ease, color .2s ease;
}
.screen-tabs button.active { color: #fff; background: #202124; }
.screen-tabs.dark-tabs { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.16); box-shadow: none; }
.screen-tabs.dark-tabs button { color: rgba(255,255,255,.72); }
.screen-tabs.dark-tabs button.active { background: #fff; color: #102015; }

/* Dark canvas override */
.dark-canvas { background: transparent; }
.dark-canvas .device-bar { display: none; }

/* ============================================================================
   REVEAL ANIMATION
   ============================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1);
}
.reveal.in-view { opacity: 1; transform: none; }

/* ============================================================================
   RESPONSIVE — Tablet
   ============================================================================ */
@media (max-width: 1260px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav { display: none; }
  .menu-button { display: grid; }
  .brand-text small { display: none; }
  .mobile-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    display: none;
    padding: 16px;
    border: 1px solid var(--soft-line);
    border-radius: 24px;
    background: color-mix(in srgb, var(--paper) 88%, transparent);
    backdrop-filter: blur(22px);
    box-shadow: var(--soft-shadow);
  }
  .mobile-nav.open { display: grid; gap: 8px; }
  .mobile-nav a { padding: 12px; border-radius: 14px; font-weight: 750; }
  .mobile-nav a.active { background: color-mix(in srgb, var(--green) 12%, transparent); color: var(--green); }

  .hero-product { right: -330px; width: 960px; opacity: .70; }

  .system-layout,
  .flow-stage-hand { grid-template-columns: 1fr; }
  .system-layout { gap: 44px; }
  .system-copy,
  .system-copy p:last-child,
  .flow-note { max-width: 720px; }

  .problem-cards { grid-template-columns: 1fr; }

  .immersive-features { grid-template-columns: 1fr; }
  .bento-grid { grid-template-columns: 1fr; }
  .metrics-strip { grid-template-columns: 1fr; }
  .weather-layout { grid-template-columns: 1fr; }
  .weather-stats { grid-template-columns: repeat(2, 1fr); }
  .security-grid { grid-template-columns: 1fr; }
  .analytics-numbers { grid-template-columns: 1fr; }

  .bento-canvas,
  .dashboard-canvas,
  .weather-canvas,
  .immersive-canvas,
  .analytics-canvas,
  .security-shot {
    transform: perspective(1500px) rotateY(-1.2deg) rotateX(.5deg);
  }
}

@media (min-width: 901px) and (max-width: 1260px) {
  h1 { max-width: 520px; }
  .hero-content .lead { max-width: 500px; }
  .hero-product {
    right: clamp(-560px, -46vw, -480px);
    width: min(790px, 72vw);
    opacity: .58;
  }
  .hero-gradient {
    background: linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 98%, transparent) 50%, color-mix(in srgb, var(--bg) 72%, transparent) 68%, color-mix(in srgb, var(--bg) 18%, transparent) 100%);
  }
}

@media (max-width: 900px) {
  .hero-content {
    width: min(calc(100vw - 32px), 720px);
    padding: 28px 24px;
    text-align: center;
    border: 1px solid rgba(255,255,255,.56);
    border-radius: 28px;
    background: color-mix(in srgb, var(--paper) 62%, transparent);
    backdrop-filter: blur(22px) saturate(1.06);
    -webkit-backdrop-filter: blur(22px) saturate(1.06);
    box-shadow: 0 26px 80px rgba(31, 53, 39, .13);
  }
  .hero-content h1,
  .hero-content .lead {
    max-width: 100%;
  }
  .hero-content .lead {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions,
  .hero-meta {
    justify-content: center;
  }
}

/* ============================================================================
   RESPONSIVE — Mobile
   ============================================================================ */
@media (max-width: 760px) {
  :root {
    --container: min(100vw - 28px, 1180px);
    --header-height: 64px;
    --screen-radius: 22px;
    --card-radius: 16px;
  }
  .site-header { padding: 0 14px; }
  .brand-mark { width: 34px; height: 34px; flex-basis: 34px; }
  .plain-link { display: none; }
  .demo-btn { display: none; }
  .mobile-nav .demo-btn { display: inline-flex; width: 100%; }
  h1 { font-size: 44px; letter-spacing: 0; }
  h2 { font-size: 36px; }
  .lead, .section-lead { font-size: 18px; }

  .hero {
    min-height: 970px;
    padding-top: calc(var(--header-height) + 46px);
    align-items: start;
  }
  .hero-gradient { background: linear-gradient(180deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 88%, transparent) 46%, color-mix(in srgb, var(--bg) 18%, transparent) 100%); }
  .hero-product {
    width: 830px;
    top: 540px;
    right: -340px;
    transform: perspective(1300px) rotateY(-9deg) rotateX(2deg);
    opacity: .9;
  }
  .hero-slider {
    bottom: 18px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-radius: 24px;
  }
  .hero-slider button { border-radius: 18px; }
  .hero-meta { gap: 8px; }
  .hero-meta i { width: 18px; }

  .section { padding: 92px 0; }

  .chaos-strip { grid-template-columns: 1fr; gap: 16px; }
  .chaos-strip > i { width: 1px; height: 32px; justify-self: center; background: linear-gradient(180deg, transparent, var(--line), transparent); }
  .scattered-flow {
    min-height: 560px;
    margin-top: 44px;
    margin-bottom: 42px;
  }
  .scatter-core {
    position: relative;
    width: 100%;
    min-height: 140px;
    padding: 28px 24px;
  }
  .scatter-core strong {
    font-size: 28px;
  }
  .scatter-card {
    width: min(176px, 43vw);
  }
  .left-a { left: 0; top: 0; }
  .left-b { left: 5%; bottom: 34px; }
  .right-a { right: 5%; top: 38px; }
  .right-b { right: 0; bottom: 2px; }

  .problem-cards { gap: 16px; margin-top: 40px; }
  .problem-card { padding: 24px; }

  .system-v11 { padding-top: 92px; padding-bottom: 92px; }
  .system-copy,
  .flow-note {
    text-align: center;
  }
  .system-copy p:last-child,
  .flow-note p:last-child {
    margin-left: auto;
    margin-right: auto;
  }
  .system-copy h2 { font-size: clamp(34px, 9vw, 38px); }
  .flow-line { grid-template-columns: 1fr; }
  .flow-item { min-height: auto; padding: 18px; }
  .flow-stage { min-height: auto; }
  .flow-stage-hand { gap: 30px; }
  .flow-hand-scene { min-height: 330px; }
  .tablet-held {
    width: 100% !important;
    transform: none !important;
    border-radius: 24px !important;
  }
  .tablet-held::before { inset: -26px -24px -30px; border-radius: 42px; }
  .tablet-held img { border-radius: 18px !important; min-height: 260px; }

  .immersive-section { padding-top: 92px; }
  .immersive-screen { padding-bottom: 92px; }
  .immersive-features { gap: 14px; }
  .immersive-feature-card { padding: 20px; }

  .bento-section { padding: 92px 0; }
  .bento-grid { gap: 14px; margin-bottom: 40px; }
  .bento-card { padding: 24px; }

  .dashboard-section { padding: 92px 0; }
  .metrics-strip { gap: 14px; margin-bottom: 40px; }
  .metric-card { padding: 20px; }

  .weather-section { padding: 92px 0; }
  .weather-layout { gap: 28px; }
  .weather-stats { grid-template-columns: 1fr; gap: 14px; }
  .weather-stat { padding: 20px 14px; }

  .analytics { padding: 96px 0; }
  .analytics-numbers { gap: 14px; margin-bottom: 48px; }
  .analytics-number { padding: 24px; }
  .an-value { font-size: 24px; }

  .security-section { padding: 92px 0; }
  .security-grid { gap: 14px; margin-top: 40px; margin-bottom: 48px; }
  .security-feature { padding: 24px; }

  .screen-tabs { width: 100%; overflow-x: auto; justify-content: flex-start; border-radius: 18px; }
  .screen-tabs button { white-space: nowrap; }
  .device-frame, .screen-canvas { border-radius: 24px; }
  .screen-canvas img { max-height: none; }

  .bento-canvas,
  .dashboard-canvas,
  .weather-canvas,
  .immersive-canvas,
  .analytics-canvas,
  .security-shot {
    transform: none;
  }

  .phone-gallery { min-height: 620px; }
  .phone-track { height: 580px; }
  .phone { width: 226px; }
  .phone:nth-child(1) { transform: translateX(-118%) rotate(-7deg) scale(.74); opacity: .38; }
  .phone:nth-child(2) { transform: translateX(-80%) rotate(-3deg) scale(.84); opacity: .65; }
  .phone:nth-child(3) { transform: translateX(-50%) rotate(0) scale(1); opacity: 1; }
  .phone:nth-child(4) { transform: translateX(-20%) rotate(6deg) scale(.78); opacity: .42; }
  .phone-arrow { top: auto; bottom: 0; transform: none; }
  .phone-arrow:hover { transform: scale(1.04); }
  .phone-arrow.prev { left: calc(50% - 62px); }
  .phone-arrow.next { right: calc(50% - 62px); }

  .cta-layout { grid-template-columns: 1fr; }
  .cta-layout > div {
    text-align: center;
  }
  .cta h2,
  .cta p {
    margin-left: auto;
    margin-right: auto;
  }
  .footer-layout { grid-template-columns: 1fr; }
  .demo-form { padding: 28px 20px; border-radius: 24px; }
}

/* ============================================================================
   REDUCED MOTION
   ============================================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
