/* Forceavo pre-launch landing — guidebook palette and typography (CLAUDE.md §17).
   Orange #FF7600 is the brand primary; solid orange controls carry BLACK text,
   because white on orange is 2.9:1 and fails WCAG AA. */

@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Variable.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #0a0a0a;
  --surface: #161412;
  --raised: #221f1c;
  --line: #332f2b;
  --ink: #ffffff;
  --muted: #9f9a9a;
  --muted-2: #6f6a6a;
  --primary: #ff7600;
  --primary-hover: #f24d00;
  --on-primary: #000000;
  --ok: #4ade80;
  --radius: 16px;
  --radius-lg: 22px;
  --pill: 999px;
  --gutter: clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; }

/* `.field` and `.consent` set their own `display`, which outranks the browser's
   default rule for [hidden] — without this the contact step's fields show on
   every step of the survey. */
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 100;
  transform: translateY(-200%);
  background: var(--primary);
  color: var(--on-primary);
  font: 700 14px/1 'Inter', sans-serif;
  padding: 12px 18px;
  border-radius: 0 0 10px 0;
  text-decoration: none;
}
.skip:focus { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ───────────────────────── shell ───────────────────────── */

.shell {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.accent { color: var(--primary); }

.kicker {
  margin: 0;
  font-size: clamp(10.5px, 0.85vw, 12.5px);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.rule {
  display: block;
  width: 64px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin: 22px 0;
}
.rule--sm { width: 40px; height: 3px; margin: 0 0 18px; }

/* ───────────────────────── nav ───────────────────────── */

.nav {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 26px var(--gutter);
}

.nav__brand img {
  width: 172px;
  height: auto;
  display: block;
}

.nav__links {
  display: flex;
  gap: clamp(18px, 2.4vw, 38px);
  margin-left: auto;
}
.nav__links a {
  position: relative;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding-bottom: 6px;
  transition: color 0.18s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a.is-current { color: var(--primary); }
.nav__links a.is-current::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}
.nav__links + .nav__actions { margin-left: clamp(18px, 3vw, 46px); }

.lang {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 9px 16px;
  background: rgba(255, 255, 255, 0.03);
}
.lang__globe { width: 17px; height: 17px; color: var(--muted); flex: none; }
.lang__btn {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: 600 14px 'Inter', sans-serif;
  color: var(--muted);
}
.lang__btn.is-active { color: var(--ink); }
.lang__sep { color: var(--muted-2); font-size: 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: var(--pill);
  padding: 13px 24px;
  font: 700 14.5px/1 'Inter', sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease;
}
.btn svg { width: 17px; height: 17px; }
/* Black on orange — white would be 2.9:1 (CLAUDE.md §17). */
.btn--primary { background: var(--primary); color: var(--on-primary); }
.btn--primary:hover { background: var(--primary-hover); transform: translateY(-1px); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: none;
  cursor: pointer;
  padding: 0 11px;
}
.burger span {
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px var(--gutter) 18px;
  position: relative;
  z-index: 20;
}
.mobile-nav a {
  padding: 12px 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

/* ───────────────────────── hero ───────────────────────── */

.hero {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  align-items: center;
  gap: 0;
  padding: clamp(12px, 2vw, 34px) 0 clamp(30px, 4vw, 56px);
}

.hero__copy {
  position: relative;
  z-index: 10;
  padding: 0 clamp(18px, 2.5vw, 44px) 0 var(--gutter);
  max-width: 760px;
}

.hero__title {
  margin: 18px 0 0;
  font-size: clamp(38px, 5.2vw, 74px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.035em;
}
.hero__title span { display: block; }

.hero__lede {
  margin: 0;
  max-width: 34rem;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.6;
  color: var(--muted);
}

/* ── survey invitation card ── */

.survey {
  margin-top: clamp(26px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  padding: clamp(20px, 2vw, 28px);
  max-width: 44rem;
}
.survey__title {
  margin: 0;
  font-size: clamp(17px, 1.4vw, 21px);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.survey__sub {
  margin: 7px 0 0;
  font-size: 14px;
  color: var(--muted);
}
.survey__options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}

.option {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  padding: 16px 18px;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.option:hover {
  border-color: var(--primary);
  background: rgba(255, 118, 0, 0.07);
  transform: translateY(-2px);
}
.option__icon { flex: none; color: var(--primary); }
.option__icon svg { width: 34px; height: 34px; display: block; }
.option__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.option__title { font-size: 15px; font-weight: 700; line-height: 1.25; }
.option__sub { font-size: 12.5px; color: var(--muted); }
.option__go {
  flex: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-primary);
  display: grid;
  place-items: center;
}
.option__go svg { width: 18px; height: 18px; }

/* ── value props ── */

.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  list-style: none;
  margin: clamp(28px, 3.4vw, 46px) 0 0;
  padding: 0;
}
.value {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 clamp(12px, 1.4vw, 22px);
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 500;
  line-height: 1.35;
  border-left: 1px solid var(--line);
}
.value:first-child { border-left: 0; padding-left: 0; }
.value__icon { color: var(--primary); }
.value__icon svg { width: 30px; height: 30px; display: block; }

/* ───────────────────────── media panel ───────────────────────── */

.hero__media {
  position: absolute;
  inset: 0 0 0 auto;
  width: 58%;
  /* The diagonal that splits copy from photograph, as in the design. */
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
  overflow: hidden;
}
.hero__media picture { display: block; height: 100%; }
.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Darkens the photo towards the copy so the diagonal reads as one surface. */
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(10, 10, 10, 0.96) 0%, rgba(10, 10, 10, 0.55) 22%, rgba(10, 10, 10, 0.05) 48%),
    linear-gradient(0deg, rgba(10, 10, 10, 0.55), rgba(10, 10, 10, 0) 45%);
}

.media__caption {
  position: absolute;
  z-index: 3;
  top: clamp(90px, 12vh, 150px);
  left: clamp(26%, 27%, 30%);
  margin: 0;
  font-size: clamp(15px, 1.5vw, 23px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.media__line { display: block; }

/* ── phone mock-ups (CSS only — illustrative, not customer data) ── */

.phones {
  position: absolute;
  z-index: 4;
  right: clamp(12px, 2.5vw, 44px);
  bottom: clamp(-86px, -7vh, -44px);
  display: flex;
  align-items: flex-end;
}

.phone {
  position: relative;
  width: clamp(168px, 15.2vw, 236px);
  aspect-ratio: 9 / 19.2;
  border-radius: clamp(26px, 2.4vw, 38px);
  border: 7px solid #131313;
  background: #0b0b0b;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.07),
    0 0 60px -20px rgba(255, 118, 0, 0.45);
  overflow: hidden;
  padding: 0 11px;
  flex: none;
}
.phone--back {
  transform: translate(clamp(22px, 2.4vw, 42px), clamp(-30px, -3vw, -14px));
  opacity: 0.97;
}
.phone--front { z-index: 2; }

.phone__island {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 12px;
  border-radius: var(--pill);
  background: #000;
}
.phone__status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 5px 0;
  font-size: 9.5px;
  font-weight: 700;
  color: #fff;
}
.phone__bars {
  width: 34px;
  height: 8px;
  border-radius: 2px;
  background:
    linear-gradient(90deg, #fff 0 22%, transparent 22% 28%, #fff 28% 56%, transparent 56% 62%, #fff 62% 100%);
  opacity: 0.85;
}
.phone__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 3px 8px;
}
.phone__bar img { width: 62px; height: auto; display: block; }
.phone__menu {
  width: 15px;
  height: 10px;
  background:
    linear-gradient(#fff 0 2px, transparent 2px 4px, #fff 4px 6px, transparent 6px 8px, #fff 8px 10px);
  opacity: 0.9;
}

.matched { text-align: center; padding-top: 4px; }
.matched__faces {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 10px;
}
.face {
  width: 30%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  overflow: hidden;
}
/* No stock person available, so the technician reads as the trade, not a face. */
.face--tech { background: linear-gradient(150deg, #2a2320, #131110); color: var(--primary); }
.face--tech svg { width: 52%; height: 52%; }
.face--photo {
  background-image: url('img/turbines-960.jpg');
  background-size: 190%;
  background-position: 60% 40%;
}
.face__link {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-primary);
  display: grid;
  place-items: center;
}
.face__link svg { width: 13px; height: 13px; }

.matched__title {
  margin: 0;
  font-size: clamp(15px, 1.5vw, 22px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.matched__sub {
  margin: 3px 0 10px;
  font-size: clamp(8px, 0.7vw, 10.5px);
  line-height: 1.45;
  color: var(--muted);
}
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.checks li {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--raised);
  border-radius: 9px;
  padding: 7px 9px;
  font-size: clamp(7.5px, 0.65vw, 10px);
  font-weight: 600;
  text-align: left;
}
.tick {
  flex: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--ok);
  position: relative;
}
.tick::after {
  content: '';
  position: absolute;
  inset: 0;
  background: no-repeat center/60% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 13l4.5 4.5L19 7' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.chev {
  margin-left: auto;
  width: 6px;
  height: 6px;
  border-top: 1.6px solid var(--muted-2);
  border-right: 1.6px solid var(--muted-2);
  transform: rotate(45deg);
}

.card { padding-top: 2px; }
.card__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  background-image: url('img/turbines-960.jpg');
  background-size: cover;
  background-position: 50% 45%;
}
.card__title {
  margin: 10px 0 0;
  font-size: clamp(11px, 1vw, 15px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.card__meta {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 5px 0 0;
  font-size: clamp(8px, 0.68vw, 10.5px);
  color: var(--muted);
}
.card__meta svg { width: 11px; height: 11px; flex: none; }
.chips { display: flex; gap: 5px; margin: 9px 0 0; flex-wrap: wrap; }
.chips span {
  background: var(--raised);
  border-radius: var(--pill);
  padding: 4px 9px;
  font-size: clamp(7px, 0.6vw, 9.5px);
  font-weight: 600;
}
/* Sits under the chips, as in the design — not pinned to the phone's bottom,
   which the viewport crops. */
.card__go {
  margin: 12px 0 0 auto;
  width: clamp(34px, 3.2vw, 48px);
  height: clamp(34px, 3.2vw, 48px);
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-primary);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px -8px rgba(255, 118, 0, 0.9);
}
.card__go svg { width: 45%; height: 45%; }
.card { display: flex; flex-direction: column; }

/* ───────────────────────── footer ───────────────────────── */

.foot {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 18px 28px;
  flex-wrap: wrap;
  padding: 22px var(--gutter);
  border-top: 1px solid var(--line);
  background: #000;
}
.foot__brand img { width: 118px; height: auto; display: block; }
.foot__contact { margin: 0; font-size: 13.5px; }
.foot__contact a { color: var(--primary); text-decoration: none; font-weight: 600; }
.foot__links { display: flex; gap: 14px 22px; flex-wrap: wrap; margin-left: auto; }
.foot__links a { font-size: 13.5px; color: var(--muted); text-decoration: none; }
.foot__links a:hover { color: var(--ink); }
.foot__copy { margin: 0; font-size: 12.5px; color: var(--muted-2); }

/* ───────────────────────── survey dialog ───────────────────────── */

.modal {
  width: min(680px, calc(100vw - 32px));
  max-height: min(88vh, 940px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--ink);
  padding: 0;
  overflow: hidden;
}
.modal::backdrop { background: rgba(0, 0, 0, 0.78); backdrop-filter: blur(3px); }

.modal__form,
.modal__done {
  padding: clamp(22px, 3vw, 34px);
  max-height: inherit;
  overflow-y: auto;
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.modal__close svg { width: 17px; height: 17px; }

.modal__title {
  margin: 10px 0 4px;
  font-size: clamp(21px, 2.2vw, 28px);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 22px;
}
.progress__track {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--raised);
  overflow: hidden;
}
.progress__fill {
  display: block;
  height: 100%;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.25s ease;
}
.progress__label { font-size: 12px; font-weight: 600; color: var(--muted); }

.section__name {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.q { margin: 0 0 22px; border: 0; padding: 0; }
.q__label {
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}
.q__opts { display: flex; flex-wrap: wrap; gap: 8px; }

.opt { position: relative; }
.opt input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.opt span {
  display: inline-block;
  border: 1.5px solid var(--line);
  border-radius: var(--pill);
  padding: 9px 15px;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.opt input:checked + span {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--on-primary);
  font-weight: 700;
}
.opt input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }

.field { display: block; margin: 0 0 18px; }
.field__label {
  display: block;
  margin-bottom: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}
.input,
.textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  padding: 12px 14px;
  font: 400 14.5px/1.4 'Inter', sans-serif;
}
.textarea { min-height: 92px; resize: vertical; }
.input:focus,
.textarea:focus { outline: 2px solid var(--primary); outline-offset: 1px; border-color: var(--primary); }

.consent {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin: 4px 0 18px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.consent input { margin-top: 2px; accent-color: var(--primary); width: 17px; height: 17px; flex: none; }

.modal__nav { display: flex; gap: 10px; align-items: center; }
.modal__error {
  margin: 0 0 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: #ff8a8a;
}
.modal__note { margin: 14px 0 0; font-size: 12.5px; color: var(--muted-2); }
.modal__note a { color: var(--muted); }

.modal__done { text-align: center; }
.done__mark {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-primary);
  display: grid;
  place-items: center;
  margin: 8px auto 18px;
}
.done__mark svg { width: 28px; height: 28px; }
.modal__done h2 { margin: 0 0 8px; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.modal__done p { margin: 0 0 22px; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* ───────────────────────── responsive ───────────────────────── */

@media (max-width: 1180px) {
  .nav__links { display: none; }
  .media__caption { display: none; }
}

@media (max-width: 1000px) {
  .burger { display: flex; }
  .nav__cta { display: none; }

  /* The design stacks copy → photograph → survey → values on a phone, but the
     copy and the survey live in one column on desktop. `display: contents`
     dissolves that wrapper so the photo can sit between them, without a second
     copy of the markup. */
  .hero {
    display: flex;
    flex-direction: column;
    padding-bottom: 0;
  }
  .hero__copy { display: contents; }
  .hero__copy > * {
    margin-left: var(--gutter);
    margin-right: var(--gutter);
  }
  .kicker { order: 1; }
  .hero__title { order: 2; }
  .hero__copy > .rule { order: 3; }
  .hero__lede { order: 4; }
  .survey { order: 6; }
  .values { order: 7; }
  /* Below the fold the photo stops being a diagonal backdrop and becomes a
     band under the copy, so the headline never sits on a busy sky. */
  .hero__media {
    position: relative;
    inset: auto;
    width: 100%;
    height: clamp(300px, 62vw, 470px);
    margin: 26px 0;
    order: 5;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  .hero__media::after {
    background:
      linear-gradient(180deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.25) 30%, rgba(10, 10, 10, 0.75) 100%);
  }
  .phones {
    right: 50%;
    transform: translateX(50%);
    bottom: -26px;
  }
  .phone { width: clamp(150px, 34vw, 210px); }
}

@media (max-width: 720px) {
  .survey__options { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr 1fr; gap: 24px 0; }
  .value:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero__title { font-size: clamp(34px, 11vw, 52px); }
  .foot { flex-direction: column; align-items: flex-start; }
  .foot__links { margin-left: 0; }
}

@media (max-width: 420px) {
  .lang { padding: 8px 12px; }
  .nav__brand img { width: 138px; }
}
