/* ==========================================================
   4Control Automation — single-page site
   Aesthetic: refined operator-tech. Forest + lime + cream.
   ========================================================== */

:root {
  /* Brand */
  --forest: #0F7B4F;
  --forest-deep: #0a5638;
  --forest-darker: #073724;
  --lime: #84CC16;
  --lime-soft: #BEF264;
  --charcoal: #3F3F3F;
  --near-black: #1A1A1A;
  --ink: #15201B;

  /* Surfaces */
  --bg: #F6F3EC;          /* warm cream, the "page" colour */
  --bg-2: #EFEBE0;        /* slightly darker section bg */
  --surface: #FFFFFF;
  --surface-dark: #0d1612;
  --surface-deep: #06100B;
  --rule: rgba(20, 32, 27, 0.12);
  --rule-strong: rgba(20, 32, 27, 0.22);
  --rule-on-dark: rgba(190, 242, 100, 0.18);

  /* Type */
  --font-display: "Inter Tight", system-ui, -apple-system, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-brand: "Varela Round", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 18px;
  --radius-sm: 10px;

  /* Shadows */
  --shadow-soft: 0 1px 2px rgba(20,32,27,0.04), 0 8px 24px rgba(20,32,27,0.06);
  --shadow-lift: 0 2px 4px rgba(20,32,27,0.06), 0 20px 50px -10px rgba(20,32,27,0.12);
}

/* ----------------------------------------------------------
   Reset
   ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
em { font-style: normal; font-weight: 600; color: var(--forest); }

/* Subtle background grain texture (procedural, no asset) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.045 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
  opacity: 0.6;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 2;
}

/* ----------------------------------------------------------
   Type system
   ---------------------------------------------------------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 18px;
}
.kicker--light { color: var(--lime-soft); }

.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 5.2vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 22px;
}
.section__title em {
  font-style: normal;
  font-weight: 600;
  color: var(--forest);
}
.section__title--light { color: var(--bg); }
.section__title--light em { color: var(--lime-soft); }

.section__sub {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--charcoal);
  margin: 0;
  max-width: 62ch;
}

/* ----------------------------------------------------------
   Buttons
   ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--forest);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 8px 22px -8px rgba(15,123,79,0.55);
}
.btn--primary:hover {
  background: var(--forest-deep);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule-strong);
}
.btn--ghost:hover {
  border-color: var(--forest);
  color: var(--forest);
}
.btn--lime {
  background: var(--lime);
  color: var(--near-black);
  font-weight: 700;
}
.btn--lime:hover {
  background: var(--lime-soft);
  transform: translateY(-1px);
}
.btn--full { width: 100%; }
.btn__arrow { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ----------------------------------------------------------
   Nav
   ---------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px var(--gutter);
  background: rgba(246, 243, 236, 0.78);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--rule);
}
.nav__brand img { height: 44px; display: block; }
.nav__links {
  display: flex;
  gap: 26px;
  margin-left: 18px;
  flex: 1;
}
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
  position: relative;
  padding: 4px 0;
  transition: color .2s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--forest);
  transition: right .25s ease;
}
.nav__links a:hover { color: var(--forest); }
.nav__links a:hover::after { right: 0; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  padding: 10px 18px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.nav__cta:hover {
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
}

.nav__toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--rule-strong);
  border-radius: 10px;
  padding: 8px 10px;
}
.nav__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  margin: 4px 0;
}

@media (max-width: 880px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav.nav--open .nav__links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg);
    padding: 20px var(--gutter);
    border-bottom: 1px solid var(--rule);
    gap: 14px;
    margin: 0;
  }
  .nav.nav--open .nav__cta { display: inline-flex; }
}

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative;
  padding: clamp(60px, 9vw, 120px) 0 clamp(40px, 6vw, 80px);
  overflow: hidden;
  isolation: isolate;
}
.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(15, 123, 79, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 123, 79, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 30%, #000 30%, transparent 75%);
  z-index: -2;
}
.hero__glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 90%);
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(190, 242, 100, 0.28), transparent 60%);
  filter: blur(40px);
  z-index: -1;
}

.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 2;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 123, 79, 0.08);
  border: 1px solid rgba(15, 123, 79, 0.22);
  color: var(--forest);
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 28px;
}
.hero__eyebrow .dot {
  width: 8px; height: 8px;
  background: var(--forest);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(15,123,79,0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(15,123,79,0.18); }
  50% { box-shadow: 0 0 0 8px rgba(15,123,79,0.04); }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 1.0;
  letter-spacing: -0.032em;
  color: var(--ink);
  margin: 0 0 28px;
  max-width: 18ch;
}
.hero__title em {
  font-style: normal;
  color: var(--forest);
  font-weight: 600;
}

.hero__lede {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.5;
  color: var(--charcoal);
  margin: 0 0 36px;
  max-width: 58ch;
}

.hero__cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: clamp(56px, 8vw, 88px);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 36px;
  border-top: 1px solid var(--rule);
  max-width: 1000px;
}
.stat__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1;
  color: var(--forest);
  letter-spacing: -0.035em;
  margin-bottom: 8px;
}
.stat__small {
  font-size: 0.5em;
  vertical-align: super;
  font-weight: 500;
}
.stat__label {
  font-size: 14px;
  line-height: 1.45;
  color: var(--charcoal);
  max-width: 28ch;
}

@media (max-width: 720px) {
  .hero__stats { grid-template-columns: 1fr; gap: 18px; }
}

/* Device rail */
.hero__device-rail {
  margin-top: clamp(56px, 8vw, 88px);
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.device-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bg);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--charcoal);
}
.device-pill svg { width: 16px; height: 16px; color: var(--forest); }
.device-pill--active {
  background: var(--forest);
  color: #fff;
  font-weight: 600;
}
.device-pill--active svg { color: var(--lime-soft); }
.device-line {
  height: 1px;
  flex: 1;
  min-width: 20px;
  background: repeating-linear-gradient(to right, var(--rule-strong) 0 4px, transparent 4px 8px);
}

/* ==========================================================
   Marquee
   ========================================================== */
.marquee {
  background: var(--near-black);
  color: var(--bg);
  padding: 18px 0;
  overflow: hidden;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.marquee__track {
  display: inline-flex;
  gap: 32px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--bg);
}
.marquee__track span:nth-child(even) {
  color: var(--lime);
  font-weight: 300;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ==========================================================
   Generic section
   ========================================================== */
.section {
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
  z-index: 2;
}
.section__head {
  max-width: 720px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section__head--centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section__head--centered .section__sub { margin-inline: auto; }

/* ==========================================================
   Guest arrival / first impressions
   ========================================================== */
.section--arrival {
  background: var(--bg);
  padding: clamp(80px, 10vw, 120px) 0;
}
.arrival {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.arrival__copy .section__sub { margin-bottom: 18px; }
.arrival__copy .section__sub:last-child { margin-bottom: 0; }

/* Scene illustration */
.arrival__scene {
  position: relative;
}
.scene {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, #0a1a2a 0%, #0d2618 60%, #061410 100%);
  box-shadow: var(--shadow-lift);
  border: 1px solid var(--rule);
}
.scene__stage {
  position: absolute;
  inset: 0;
}
.scene__sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 25% 20%, rgba(190, 242, 100, 0.10), transparent 60%),
    radial-gradient(ellipse 80% 50% at 80% 30%, rgba(15, 123, 79, 0.18), transparent 70%);
}
/* Stars */
.scene__sky::before, .scene__sky::after {
  content: "";
  position: absolute;
  width: 2px; height: 2px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  box-shadow:
    18% 12% 0 0 rgba(255,255,255,0.7),
    32% 8% 0 0 rgba(255,255,255,0.5),
    52% 15% 0 0 rgba(255,255,255,0.8),
    68% 6% 0 0 rgba(255,255,255,0.6),
    82% 18% 0 0 rgba(255,255,255,0.5),
    12% 24% 0 0 rgba(255,255,255,0.4),
    42% 22% 0 0 rgba(255,255,255,0.6);
}
.scene__sky::before { top: 0; left: 0; }
.scene__sky::after {
  top: 5%; left: 5%;
  width: 1px; height: 1px;
  box-shadow:
    25% 5% 0 0 rgba(255,255,255,0.5),
    45% 12% 0 0 rgba(255,255,255,0.4),
    70% 20% 0 0 rgba(255,255,255,0.7),
    90% 14% 0 0 rgba(255,255,255,0.4);
}

/* Cabin */
.scene__cabin {
  position: absolute;
  bottom: 8%;
  left: 18%;
  width: 60%;
  height: 50%;
}
.scene__roof {
  position: absolute;
  top: 0;
  left: -8%;
  width: 116%;
  height: 28%;
  background: #1f2a26;
  clip-path: polygon(8% 100%, 50% 0%, 92% 100%);
}
.scene__wall {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 25%;
  background: linear-gradient(180deg, #2d3a35 0%, #1a221e 100%);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  padding: 0 12%;
  gap: 8%;
  border-top: 2px solid rgba(0,0,0,0.4);
}
.scene__window {
  aspect-ratio: 1 / 1.2;
  border-radius: 3px;
  border: 1px solid rgba(0,0,0,0.5);
  position: relative;
}
.scene__window::after {
  content: "";
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px;
  background: rgba(0,0,0,0.5);
}
.scene__window--lit {
  background: linear-gradient(135deg, #fef3c7, #fbbf24 60%, #d97706);
  box-shadow:
    0 0 24px rgba(251, 191, 36, 0.5),
    0 0 60px rgba(251, 191, 36, 0.25);
  animation: windowFlicker 6s ease-in-out infinite;
}
@keyframes windowFlicker {
  0%, 100% { box-shadow: 0 0 24px rgba(251, 191, 36, 0.5), 0 0 60px rgba(251, 191, 36, 0.25); }
  50% { box-shadow: 0 0 30px rgba(251, 191, 36, 0.6), 0 0 80px rgba(251, 191, 36, 0.3); }
}
.scene__window--dim {
  background: rgba(255, 255, 255, 0.03);
}
.scene__door {
  aspect-ratio: 1 / 2.1;
  background: linear-gradient(180deg, #3a4d44 0%, #1a221e 100%);
  border-radius: 3px;
  border: 1px solid rgba(0,0,0,0.6);
  position: relative;
  align-self: end;
  margin-bottom: 0;
  height: 92%;
}
.scene__door::after {
  content: "";
  position: absolute;
  right: 12%;
  top: 50%;
  width: 4px; height: 4px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--lime);
}

/* Path light */
.scene__path-light {
  position: absolute;
  bottom: 8%;
  right: 8%;
  width: 8%;
  height: 50%;
}
.scene__path-post {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 80%;
  background: linear-gradient(180deg, #2d3a35 0%, #0a0e0c 100%);
}
.scene__path-post::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 14px; height: 14px;
  background: radial-gradient(circle, #fef9c3, #fbbf24);
  border-radius: 50%;
  box-shadow:
    0 0 12px rgba(251, 191, 36, 0.8),
    0 0 30px rgba(251, 191, 36, 0.4);
}
.scene__path-glow {
  position: absolute;
  top: -10%;
  left: -100%;
  width: 300%;
  height: 50%;
  background: radial-gradient(ellipse, rgba(251, 191, 36, 0.18), transparent 60%);
}

/* Event ticker */
.scene__ticker {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 3;
}
.ticker-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  background: rgba(6, 16, 11, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(190, 242, 100, 0.15);
  border-radius: 6px;
  padding: 6px 10px;
  color: rgba(246, 243, 236, 0.7);
  letter-spacing: 0.02em;
  width: fit-content;
  animation: tickerFadeIn 0.6s ease both;
}
.ticker-row:nth-child(1) { animation-delay: 0.2s; }
.ticker-row:nth-child(2) { animation-delay: 0.5s; }
.ticker-row:nth-child(3) { animation-delay: 0.8s; }
@keyframes tickerFadeIn {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}
.ticker-time { color: rgba(190, 242, 100, 0.7); font-weight: 500; }
.ticker-event--done { color: rgba(246, 243, 236, 0.9); }
.ticker-event--active {
  color: var(--lime-soft);
  font-weight: 500;
}
.ticker-event--active::before {
  content: "● ";
  color: var(--lime);
  animation: tickerPulse 1.4s ease-in-out infinite;
}
@keyframes tickerPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@media (max-width: 880px) {
  .arrival { grid-template-columns: 1fr; }
  .arrival__scene { order: -1; }
}


.section--problem { background: var(--bg-2); }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.problem-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 32px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.problem-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}
.problem-card__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 3.6vw, 46px);
  line-height: 1;
  color: var(--forest);
  letter-spacing: -0.035em;
  margin-bottom: 4px;
}
.problem-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.018em;
  margin: 0;
  color: var(--ink);
}
.problem-card h3 em { font-style: normal; color: var(--forest); }
.problem-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--charcoal);
  margin: 0;
}

@media (max-width: 1000px) {
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .problem-grid { grid-template-columns: 1fr; }
}

/* ==========================================================
   Approach
   ========================================================== */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}
.principle {
  background: var(--bg);
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background .25s ease;
}
.principle:hover { background: var(--surface); }
.principle__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--forest);
  color: var(--lime-soft);
  display: grid;
  place-items: center;
}
.principle__icon svg { width: 28px; height: 28px; }
.principle h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.018em;
  margin: 0;
  color: var(--ink);
}
.principle p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--charcoal);
  margin: 0;
}

@media (max-width: 1000px) {
  .approach-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .approach-grid { grid-template-columns: 1fr; }
}

.pullquote {
  margin-top: 56px;
  position: relative;
  padding: 56px 56px 52px;
  background: var(--forest-darker);
  color: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
}
.pullquote::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(132, 204, 22, 0.22), transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(15, 123, 79, 0.45), transparent 50%);
  z-index: -1;
}
.pullquote__mark {
  width: 44px; height: 44px;
  color: var(--lime);
  opacity: 0.85;
  margin-bottom: 18px;
}
.pullquote p {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.3;
  letter-spacing: -0.018em;
  margin: 0;
  max-width: 38ch;
}
.pullquote p em {
  color: var(--lime-soft);
  font-style: normal;
  font-weight: 500;
}

@media (max-width: 600px) {
  .pullquote { padding: 36px 28px; }
}

/* ==========================================================
   How it works (flow)
   ========================================================== */
.section--how { background: var(--bg); }

.flow {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.flow__step {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  transition: padding .3s ease, background .3s ease;
  position: relative;
}
.flow__step::before {
  content: "";
  position: absolute;
  left: -16px; right: -16px;
  top: 0; bottom: 0;
  background: var(--surface);
  border-radius: var(--radius-sm);
  opacity: 0;
  transition: opacity .25s ease;
  z-index: -1;
}
.flow__step:hover::before { opacity: 1; }
.flow__step:hover { padding-left: 16px; padding-right: 16px; }

.flow__index {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--forest);
  letter-spacing: 0.04em;
}
.flow__body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.022em;
  margin: 0 0 6px;
  color: var(--ink);
}
.flow__body h3 em { font-style: normal; color: var(--forest); }
.flow__body p {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--charcoal);
  margin: 0;
  max-width: 70ch;
}
.flow__chip {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 14px;
  background: rgba(15, 123, 79, 0.08);
  color: var(--forest);
  border-radius: 999px;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .flow__step {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px 0;
  }
  .flow__chip { justify-self: start; }
}

/* ==========================================================
   Integrations
   ========================================================== */
.section--integrations { background: var(--bg-2); }

.integrations {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.integration {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.integration:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: var(--forest);
}
.integration--wide {
  grid-column: 1 / -1;
  background: var(--forest);
  color: #fff;
  border-color: var(--forest-deep);
}
.integration--wide:hover { border-color: var(--lime); }

.integration__head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.integration__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  background: var(--bg);
  color: var(--forest);
  border-radius: 999px;
}
.integration--wide .integration__tag {
  background: rgba(190, 242, 100, 0.18);
  color: var(--lime-soft);
}
.integration h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.022em;
  margin: 0;
  flex-basis: 100%;
}
.integration p {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--charcoal);
  margin: 0;
}
.integration--wide p { color: rgba(255,255,255,0.85); font-size: 17px; }

.integration__points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.integration__points li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  color: var(--charcoal);
  line-height: 1.5;
}
.integration__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 2px;
  background: var(--lime);
  border-radius: 1px;
}

.integration__link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--forest);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding-top: 4px;
}
.integration__link:hover { text-decoration: underline; text-underline-offset: 3px; }

.integration__soon {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: var(--lime);
  color: var(--near-black);
  border-radius: 999px;
  font-weight: 600;
  margin-left: auto;
}

@media (max-width: 720px) {
  .integrations { grid-template-columns: 1fr; }
}

/* ==========================================================
   Outcomes
   ========================================================== */
.section--outcomes { background: var(--surface-deep); color: var(--bg); position: relative; isolation: isolate; }
.section--outcomes::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(15, 123, 79, 0.35), transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(132, 204, 22, 0.10), transparent 55%);
  z-index: -1;
}
.section--outcomes .section__title { color: var(--bg); }
.section--outcomes .section__title em { color: var(--lime-soft); }
.section--outcomes .section__sub { color: rgba(246, 243, 236, 0.72); }
.section--outcomes .kicker { color: var(--lime); }

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule-on-dark);
  border: 1px solid var(--rule-on-dark);
  border-radius: var(--radius);
  overflow: hidden;
}
.outcome {
  background: var(--surface-deep);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background .25s ease;
}
.outcome:hover { background: rgba(15, 123, 79, 0.14); }
.outcome__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: normal;
  font-size: clamp(44px, 5vw, 68px);
  line-height: 1;
  color: var(--lime-soft);
  letter-spacing: -0.04em;
  margin-bottom: 6px;
}
.outcome__num--word {
  letter-spacing: -0.025em;
  font-size: clamp(40px, 4.4vw, 58px);
}
.outcome__label {
  font-size: 16px;
  font-weight: 600;
  color: var(--bg);
  line-height: 1.3;
}
.outcome__note {
  font-size: 13px;
  color: rgba(246, 243, 236, 0.55);
  line-height: 1.45;
  margin-top: 4px;
}

.outcomes__footnote {
  font-size: 13px;
  color: rgba(246, 243, 236, 0.5);
  line-height: 1.55;
  margin: 32px 0 0;
  max-width: 80ch;
}

@media (max-width: 1000px) {
  .outcome-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .outcome-grid { grid-template-columns: 1fr; }
}

/* ==========================================================
   For independents
   ========================================================== */
.section--indep {
  background: var(--near-black);
  color: var(--bg);
  position: relative;
  isolation: isolate;
}
.section--indep::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 60%;
  height: 70%;
  background: radial-gradient(ellipse at top right, rgba(15, 123, 79, 0.4), transparent 65%);
  z-index: -1;
}

.indep {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: center;
}
.indep__copy {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(246, 243, 236, 0.78);
  margin: 0 0 18px;
  max-width: 56ch;
}
.indep .btn--lime { margin-top: 14px; }

.prop-tiles {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.prop-tile {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 18px;
  row-gap: 10px;
  align-items: center;
  backdrop-filter: blur(8px);
  transition: transform .3s ease, border-color .3s ease;
}
.prop-tile--1 { transform: translateX(-6px); }
.prop-tile--3 { transform: translateX(8px); }
.prop-tile:hover { border-color: var(--lime); transform: translateX(0); }

.prop-tile__type {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--bg);
  letter-spacing: -0.018em;
}
.prop-tile__rooms {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(246, 243, 236, 0.55);
  text-align: right;
  letter-spacing: 0.04em;
}
.prop-tile__bar {
  grid-column: 1 / -1;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}
.prop-tile__bar span {
  display: block;
  height: 100%;
  background: linear-gradient(to right, var(--forest), var(--lime));
  border-radius: 3px;
  animation: barfill 1.4s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes barfill { from { width: 0 !important; } }
.prop-tile__metric {
  grid-column: 1 / -1;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--lime-soft);
  font-weight: 500;
  letter-spacing: 0.02em;
}

@media (max-width: 900px) {
  .indep { grid-template-columns: 1fr; gap: 40px; }
}

/* ==========================================================
   Contact
   ========================================================== */
.section--contact { background: var(--bg); }

.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.contact-bullets {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--charcoal);
}
.contact-bullets svg {
  width: 20px; height: 20px;
  color: var(--forest);
  flex-shrink: 0;
  padding: 4px;
  background: rgba(15, 123, 79, 0.1);
  border-radius: 50%;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row { display: contents; }
.form-row--double {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}
.field__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.field__opt {
  font-weight: 400;
  color: var(--charcoal);
  font-style: italic;
}
.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 100px; font-family: inherit; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--forest);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(15, 123, 79, 0.12);
}
.field.field--error input,
.field.field--error select,
.field.field--error textarea {
  border-color: #c0392b;
  background: #fff8f7;
}
.field__err {
  font-size: 12.5px;
  color: #c0392b;
  min-height: 0;
  opacity: 0;
  transition: opacity .2s ease;
}
.field.field--error .field__err { opacity: 1; }

.checkbox {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  font-size: 14px;
  line-height: 1.5;
  color: var(--charcoal);
  cursor: pointer;
  padding: 6px 0;
}
.checkbox input {
  width: 18px; height: 18px;
  accent-color: var(--forest);
  margin-top: 2px;
}
.checkbox .field__err {
  grid-column: 2;
  margin-top: 4px;
}
.checkbox.field--error .field__err { opacity: 1; }

.form-success {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(15, 123, 79, 0.08);
  border: 1px solid rgba(15, 123, 79, 0.25);
  border-radius: var(--radius-sm);
  color: var(--forest);
}
.form-success[hidden] { display: none; }

.form-error {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: #fff5f4;
  border: 1px solid #f5c6c0;
  border-radius: var(--radius-sm);
  color: #8a2c1d;
}
.form-error[hidden] { display: none; }
.form-error svg {
  width: 24px; height: 24px;
  flex-shrink: 0;
  padding: 4px;
  background: #c0392b;
  color: #fff;
  border-radius: 50%;
}
.form-error strong { display: block; color: #5a1a10; font-size: 15px; }
.form-error span { font-size: 14px; color: #8a2c1d; }

.recaptcha-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}
.recaptcha-wrap.field--error .g-recaptcha {
  outline: 2px solid #c0392b;
  outline-offset: 2px;
  border-radius: 4px;
}
.recaptcha-wrap .field__err {
  font-size: 12.5px;
  color: #c0392b;
  min-height: 0;
}
.recaptcha-wrap .field__err:empty { display: none; }
.form-success svg {
  width: 24px; height: 24px;
  flex-shrink: 0;
  padding: 4px;
  background: var(--forest);
  color: #fff;
  border-radius: 50%;
}
.form-success strong { display: block; color: var(--ink); font-size: 15px; }
.form-success span { font-size: 14px; color: var(--charcoal); }

@media (max-width: 900px) {
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .contact-form { padding: 28px; }
  .form-row--double { grid-template-columns: 1fr; }
}

/* ==========================================================
   Footer
   ========================================================== */
.footer {
  background: var(--near-black);
  color: rgba(246, 243, 236, 0.65);
  padding: 64px 0 24px;
  position: relative;
  z-index: 2;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 56px;
  margin-bottom: 48px;
}
.footer__brand img { height: 48px; margin-bottom: 16px; }
.footer__brand p {
  font-size: 14.5px;
  line-height: 1.55;
  max-width: 36ch;
  margin: 0;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer__cols h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
  margin: 0 0 14px;
  font-weight: 500;
}
.footer__cols a {
  display: block;
  font-size: 14.5px;
  color: rgba(246, 243, 236, 0.75);
  padding: 4px 0;
  transition: color .2s ease;
}
.footer__cols a:hover { color: var(--lime-soft); }

.footer__base {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: rgba(246, 243, 236, 0.45);
  padding-top: 24px;
  border-top: 1px solid rgba(246, 243, 236, 0.08);
  padding-inline: var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
  flex-wrap: wrap;
}
.footer__rule {
  width: 4px; height: 4px;
  background: rgba(246, 243, 236, 0.3);
  border-radius: 50%;
}

@media (max-width: 760px) {
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================
   Subtle on-scroll reveal
   ========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee__track { animation: none; }
  .reveal { opacity: 1; transform: none; }
}
