/* =========================================================
   FourSeven Innovation — stylesheet
   Brand: spring green (#09C370) / near-black / white
   Dark theme only — there is no light mode by design
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand */
  --green:         #09C370;
  --green-bright:  #32F59E;
  --green-deep:    #079254;
  --green-ink:     #03150D;

  /* Type */
  --font-display: "Chakra Petch", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Scale */
  --step--1: clamp(0.82rem, 0.79rem + 0.15vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  --step-1:  clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
  --step-2:  clamp(1.4rem, 1.25rem + 0.7vw, 1.85rem);
  --step-3:  clamp(1.8rem, 1.5rem + 1.4vw, 2.75rem);
  --step-4:  clamp(2.4rem, 1.7rem + 3.2vw, 4.6rem);

  /* Space */
  --sp-1: 0.5rem;  --sp-2: 0.75rem; --sp-3: 1rem;   --sp-4: 1.5rem;
  --sp-5: 2rem;    --sp-6: 3rem;    --sp-7: 4.5rem; --sp-8: 7rem;

  /* Shape */
  --r-sm: 10px; --r-md: 16px; --r-lg: 22px; --r-xl: 30px; --r-pill: 999px;

  --shell: 1200px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Palette — dark only, by design. There is no light theme. */
:root {
  --bg:         #050908;
  --bg-2:       #080F0C;
  --surface:    rgba(255, 255, 255, 0.035);
  --surface-2:  rgba(255, 255, 255, 0.06);
  --line:       rgba(255, 255, 255, 0.10);
  --line-strong:rgba(255, 255, 255, 0.18);
  --text:       #EAF6F0;
  --text-2:     #9DB3A8;
  --heading:    #FFFFFF;
  --on-green:   #04150D;
  --shadow-lg:  0 30px 70px -30px rgba(0, 0, 0, 0.9);
  --glow:       0 0 60px -12px rgba(9, 195, 112, 0.55);
  --header-bg:  rgba(5, 9, 8, 0.72);
  color-scheme: dark;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 140px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--heading);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  font-weight: 700;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { max-width: 100%; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

button { font: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--green); color: var(--on-green); }

.shell {
  width: min(100% - 2.5rem, var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 200;
  background: var(--green);
  color: var(--on-green);
  padding: 0.7rem 1.2rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- 3. Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- 4. Logo ----------
   The supplied FourSeven artwork, used as-is. Only the canvas is cropped to
   the lockup's bounding box — no colours, shapes or proportions altered. */
.logo {
  display: inline-flex;
  align-items: center;
  flex: none;
}

.logo-mark {
  display: block;
  height: 92px;
  width: auto;
  flex: none;
  transition: transform 0.3s var(--ease-out);
}
.logo:hover .logo-mark { transform: translateY(-1px); }

.logo--footer .logo-mark { height: 118px; }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.6rem;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease),
              background-color 0.25s var(--ease), border-color 0.25s var(--ease),
              color 0.25s var(--ease);
}

.btn-arrow {
  width: 16px; height: 16px;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.3s var(--ease-out);
}
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--green);
  color: var(--on-green);
  box-shadow: 0 10px 30px -12px rgba(9, 195, 112, 0.65);
}
.btn-primary:hover {
  background: var(--green-bright);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -14px rgba(9, 195, 112, 0.8);
}

.btn-ghost {
  background: var(--surface);
  color: var(--heading);
  border-color: var(--line-strong);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-2px);
}

.btn-sm { padding: 0.65rem 1.15rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: var(--sp-3);
  font-weight: 600;
  font-size: var(--step--1);
  color: var(--green);
}
.link-arrow svg {
  width: 15px; height: 15px;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.3s var(--ease-out);
}
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- 6. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease),
              backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: var(--header-bg);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: 124px;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}
.nav-list a {
  position: relative;
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--text-2);
  padding: 0.35rem 0;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--green);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.nav-list a:hover,
.nav-list a.is-active { color: var(--heading); }
.nav-list a:hover::after,
.nav-list a.is-active::after { transform: scaleX(1); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  padding: 0 10px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--surface);
}
.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--heading);
  transition: transform 0.3s var(--ease-out), opacity 0.2s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(3rem, 7vw, 6rem) 0;
  overflow: hidden;
  isolation: isolate;
}

.hero-glow {
  position: absolute;
  inset: -30% -10% auto -20%;
  height: 900px;
  z-index: -2;
  background:
    radial-gradient(46% 44% at 22% 28%, rgba(9, 195, 112, 0.30), transparent 68%),
    radial-gradient(38% 40% at 78% 12%, rgba(7, 146, 84, 0.20), transparent 70%);
  filter: blur(28px);
  pointer-events: none;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(70% 60% at 50% 20%, #000 20%, transparent 85%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 20%, #000 20%, transparent 85%);
  opacity: 0.7;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(2rem, 5vw, 4rem) clamp(3rem, 6vw, 5rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: var(--sp-3);
}

.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(9, 195, 112, 0.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(9, 195, 112, 0.55); }
  70%  { box-shadow: 0 0 0 12px rgba(9, 195, 112, 0); }
  100% { box-shadow: 0 0 0 0 rgba(9, 195, 112, 0); }
}

.hero-title {
  font-size: var(--step-4);
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-4);
}

.accent-slant {
  display: inline-block;
  font-style: italic;
  color: var(--green);
  text-shadow: 0 0 40px rgba(9, 195, 112, 0.35);
}

.hero-sub {
  font-size: var(--step-1);
  color: var(--text-2);
  max-width: 34rem;
  margin-bottom: var(--sp-5);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}

.hero-marks {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-4);
  font-size: var(--step--1);
  color: var(--text-2);
}
.hero-marks li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-marks svg {
  width: 15px; height: 15px; flex: none;
  fill: none; stroke: var(--green);
  stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 380px;
  /* breathing room so the floating cards hang off the panel corners
     instead of covering its contents */
  padding-block: 4rem;
}

.orb {
  position: absolute;
  width: min(480px, 90%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--green), transparent 30%, var(--green-deep) 55%, transparent 78%, var(--green) 100%);
  filter: blur(58px);
  opacity: 0.42;
  animation: spin 22s linear infinite;
  z-index: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

.panel {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.panel-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.panel-bar .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
}
.panel-bar .dot:first-child { background: var(--green); }
.panel-title {
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
}

.panel-body { padding: 1.1rem 1rem 1.25rem; }

.flow { width: 100%; height: auto; display: block; }
.flow-lines path {
  fill: none;
  stroke: var(--green);
  stroke-width: 1.6;
  stroke-linecap: round;
  opacity: 0.5;
  stroke-dasharray: 5 7;
  animation: dash 2.6s linear infinite;
}
@keyframes dash { to { stroke-dashoffset: -48; } }

.flow-nodes rect {
  fill: var(--surface-2);
  stroke: var(--line-strong);
  stroke-width: 1.2;
}
.flow-nodes .node-core {
  stroke: none;
  filter: drop-shadow(0 0 14px rgba(9, 195, 112, 0.55));
}

.panel-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-size: 0.74rem;
  color: var(--text-2);
}
.panel-legend span { display: inline-flex; align-items: center; gap: 0.35rem; }
.sw { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.sw-in   { background: var(--line-strong); }
.sw-core { background: var(--green); }
.sw-out  { background: var(--green-deep); }

.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.8rem 1rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line-strong);
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
  animation: bob 6s ease-in-out infinite;
}
.float-card--a { top: 0; right: -3%; }
.float-card--b { bottom: 0; left: -5%; animation-delay: -3s; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.fc-label {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
}
.fc-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}
.fc-value small {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-2);
  margin-left: 0.25rem;
}

/* Marquee */
.marquee {
  position: relative;
  border-block: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  padding-block: 0.9rem;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  width: max-content;
  animation: slide 38s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  white-space: nowrap;
}
.marquee-track i { color: var(--green); font-style: normal; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- 8. Sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, var(--sp-8)); }
.section--alt {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 42rem;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}
.section-head--left { text-align: left; margin-inline: 0; }

.section-title {
  font-size: var(--step-3);
  letter-spacing: -0.025em;
  margin-bottom: var(--sp-3);
}
.section-sub {
  font-size: var(--step-1);
  color: var(--text-2);
}
.section-head--left .btn { margin-top: var(--sp-4); }

/* ---------- 9. Services ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: var(--sp-3);
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), border-color 0.3s var(--ease),
              background-color 0.3s var(--ease), box-shadow 0.4s var(--ease);
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 0%, rgba(9, 195, 112, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(9, 195, 112, 0.45);
  box-shadow: var(--shadow-lg);
}
.service-card:hover::before { opacity: 1; }

.service-card--feature {
  border-color: rgba(9, 195, 112, 0.35);
  background: linear-gradient(180deg, rgba(9, 195, 112, 0.07), transparent 55%), var(--surface);
}

.service-num {
  position: absolute;
  top: 1.1rem; right: 1.3rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--line);
  line-height: 1;
  pointer-events: none;
}

.badge {
  align-self: flex-start;
  margin-bottom: 0.9rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-pill);
  background: var(--green);
  color: var(--on-green);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  margin-bottom: var(--sp-3);
  border-radius: var(--r-md);
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  color: var(--green);
}
.service-icon svg {
  width: 24px; height: 24px;
  fill: none; stroke: currentColor;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}

.service-card h3 {
  font-size: var(--step-2);
  margin-bottom: 0.6rem;
}
.service-card > p {
  color: var(--text-2);
  font-size: var(--step--1);
  margin-bottom: var(--sp-3);
}

.tick-list { display: grid; gap: 0.55rem; }
.tick-list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: var(--step--1);
  color: var(--text);
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.44em;
  width: 9px; height: 9px;
  border-radius: 3px;
  background: var(--green);
  box-shadow: 0 0 12px rgba(9, 195, 112, 0.5);
}

.also-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-lg);
  border: 1px dashed var(--line-strong);
}
.also-label {
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
}
.chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip-row li {
  padding: 0.4rem 0.85rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--surface-2);
  font-size: 0.82rem;
  color: var(--text-2);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.chip-row li:hover { color: var(--green); border-color: var(--green); }

/* ---------- 10. Process ---------- */
.process-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--sp-3);
  counter-reset: step;
}

.process-step {
  position: relative;
  padding: var(--sp-4);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform 0.35s var(--ease-out), border-color 0.3s var(--ease);
}
.process-step::after {
  content: "";
  position: absolute;
  top: 2.3rem; right: -0.5rem;
  width: 1rem; height: 1px;
  background: linear-gradient(90deg, var(--green), transparent);
}
.process-step:last-child::after { display: none; }
.process-step:hover {
  transform: translateY(-5px);
  border-color: rgba(9, 195, 112, 0.4);
}

.step-index {
  display: inline-block;
  margin-bottom: var(--sp-3);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--green);
}
.step-body h3 { font-size: var(--step-2); margin-bottom: 0.5rem; }
.step-body p { color: var(--text-2); font-size: var(--step--1); }

/* ---------- 11. Why us ---------- */
.why-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.value-list {
  display: grid;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}
.value-list li {
  padding-left: var(--sp-4);
  border-left: 2px solid var(--line);
  transition: border-color 0.3s var(--ease);
}
.value-list li:hover { border-left-color: var(--green); }
.value-list h3 { font-size: var(--step-1); margin-bottom: 0.25rem; }
.value-list p { color: var(--text-2); font-size: var(--step--1); }

.stat-panel {
  position: sticky;
  top: 110px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  padding: 1px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--line);
  overflow: hidden;
}
.stat {
  padding: var(--sp-4) var(--sp-3);
  background: var(--bg);
  text-align: center;
}
.stat-value {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
  color: var(--green);
  margin-bottom: 0.5rem;
}
.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-2);
  line-height: 1.45;
}

/* ---------- 12. FAQ ---------- */
.faq-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.faq-inner .section-head { margin-bottom: 0; }

.faq-list { display: grid; gap: 0.6rem; }

.faq-item {
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.faq-item[open] {
  border-color: rgba(9, 195, 112, 0.4);
  background: var(--surface-2);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: 1.05rem 1.25rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-0);
  color: var(--heading);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--green); }

.faq-icon {
  position: relative;
  flex: none;
  width: 18px; height: 18px;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  transition: transform 0.3s var(--ease-out);
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }

.faq-answer {
  padding: 0 1.25rem 1.15rem;
  color: var(--text-2);
  font-size: var(--step--1);
}

/* ---------- 13. Contact ---------- */
.contact {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.contact-glow {
  position: absolute;
  inset: auto -10% -40% -10%;
  height: 620px;
  z-index: -1;
  background: radial-gradient(50% 50% at 50% 60%, rgba(9, 195, 112, 0.22), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-copy .section-head { text-align: left; }

.contact-people {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}

.contact-person {
  display: grid;
  gap: 0.4rem;
  padding: var(--sp-3);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease-out);
}
.contact-person:hover {
  border-color: rgba(9, 195, 112, 0.4);
  transform: translateY(-3px);
}

.person-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-1);
  color: var(--heading);
}

.person-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--step--1);
  color: var(--text-2);
  word-break: break-word;
}
.person-link:hover { color: var(--green); }
.person-link svg {
  width: 17px; height: 17px; flex: none;
  fill: none; stroke: var(--green);
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}

.contact-form {
  display: grid;
  gap: var(--sp-3);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg);
}

.field { display: grid; gap: 0.4rem; }
.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--sp-3);
}

.field label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
}
.field .opt { color: var(--text-2); font-weight: 400; }

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step--1);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }

.field input::placeholder,
.field textarea::placeholder { color: var(--text-2); opacity: 0.65; }

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(9, 195, 112, 0.18);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: #FF6B6B;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.15);
}

.select-wrap { position: relative; }
.select-wrap select { appearance: none; padding-right: 2.5rem; }
.select-wrap svg {
  position: absolute;
  right: 0.9rem; top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  fill: none; stroke: var(--text-2);
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  pointer-events: none;
}

.field-error {
  min-height: 0;
  font-size: 0.75rem;
  color: #FF8585;
}

.form-note {
  font-size: 0.78rem;
  color: var(--text-2);
  text-align: center;
}
.form-note.is-error { color: #FF8585; font-weight: 600; }

/* Post-submit fallback. Shown for everyone, because a mailto: handoff cannot
   be confirmed — see initForm() in main.js. */
.form-fallback {
  display: grid;
  gap: 0.6rem;
  padding: var(--sp-3);
  border-radius: var(--r-md);
  border: 1px solid rgba(9, 195, 112, 0.35);
  background: rgba(9, 195, 112, 0.06);
}
.form-fallback[hidden] { display: none; }
.form-fallback:focus { outline: none; }

.fallback-lead {
  font-size: var(--step--1);
  color: var(--text);
}
.fallback-lead strong { color: var(--green); }

.fallback-sub {
  font-size: 0.8rem;
  color: var(--text-2);
}

.fallback-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
}

.fallback-text {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text-2);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.76rem;
  line-height: 1.55;
  resize: vertical;
}
.fallback-text:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(9, 195, 112, 0.18);
}

.fallback-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2) var(--sp-3);
}
.fallback-emails {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--green);
  word-break: break-word;
}
.fallback-emails a:hover { text-decoration: underline; }

/* ---------- 14. Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding-top: clamp(2.5rem, 6vw, 4rem);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: var(--sp-5);
}

.logo--footer { margin-bottom: var(--sp-3); }
.footer-tag {
  max-width: 24rem;
  font-size: var(--step--1);
  color: var(--text-2);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--sp-4);
}
.footer-nav h4 {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: var(--sp-2);
}
.footer-nav ul { display: grid; gap: 0.5rem; }
.footer-nav a, .footer-nav span {
  font-size: var(--step--1);
  color: var(--text-2);
}
.footer-nav a:hover { color: var(--heading); }

.footer-contacts li {
  display: grid;
  gap: 0.15rem;
  margin-bottom: 0.85rem;
}
.footer-contacts li:last-child { margin-bottom: 0; }
.footer-person {
  font-weight: 600;
  color: var(--text) !important;
}
.footer-contacts a { word-break: break-word; }

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-2);
  padding-block: var(--sp-3);
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--text-2);
}

/* ---------- 15. Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner,
  .why-inner,
  .faq-inner,
  .contact-inner,
  .footer-inner {
    grid-template-columns: 1fr;
  }
  /* Copy leads on narrow screens. The pipeline panel is decorative, so it must
     not push the headline and the call to action below the fold. */
  .hero-visual {
    order: 0;
    min-height: 0;
    margin-top: var(--sp-5);
    padding-block: 3rem;
  }
  .float-card--a { right: 0; }
  .float-card--b { left: 0; }
  .stat-panel { position: static; }
  .process-step::after { display: none; }
}

@media (max-width: 820px) {
  .menu-toggle { display: flex; }

  .nav {
    position: fixed;
    inset: 124px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: var(--sp-3);
    padding: var(--sp-4) 1.25rem var(--sp-5);
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease-out), visibility 0.25s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-list a {
    display: block;
    padding: 0.9rem 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
  }
  .nav-list a::after { display: none; }

  .nav-actions { justify-content: space-between; }
  .nav-actions .btn { flex: 1; margin-left: var(--sp-2); }
}

@media (max-width: 620px) {
  html { scroll-padding-top: 104px; }
  .header-inner { min-height: 96px; }
  .nav { inset-block-start: 96px; }
  .logo-mark { height: 66px; }
  .logo--footer .logo-mark { height: 84px; }
  .hero-cta .btn { width: 100%; }
  .stat-panel { grid-template-columns: 1fr; }
  .also-strip { flex-direction: column; align-items: flex-start; }
  .float-card { padding: 0.6rem 0.8rem; }
  .fc-value { font-size: 1.2rem; }
  .footer-base { flex-direction: column; }
}

@media print {
  .site-header, .hero-visual, .marquee, .contact-form, .theme-toggle { display: none; }
  body { background: #fff; color: #000; }
}
