/* FAST earthwork (lot grading) landing page. Mobile first, dark first. */
:root {
  --blue-600: #0685b8;
  --blue-400: #38a5d0;
  --ink-950: #031c25;
  --ink-900: #082a37;
  --ink-800: #164658;
  --ink-600: #347087;
  --ice-50: #eefaff;
  --ice-100: #d6f4ff;
  --ice-300: #a1dcf2;
  --error: #ffb4a8;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Archivo", "Arial Black", "Segoe UI", system-ui, sans-serif;
  --radius: 10px;
  --gutter: 16px;
  --sticky-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ink-950);
  color: var(--ice-50);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  padding-bottom: var(--sticky-h);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ice-100); }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.15; }
p { margin: 0 0 1em; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--gutter); top: -60px; z-index: 100;
  background: var(--ice-50); color: var(--ink-950); padding: 10px 14px; border-radius: var(--radius);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 10px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 720px; }

.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.display--md { font-size: clamp(1.5rem, 5.4vw, 2.4rem); }
.eyebrow {
  color: var(--ice-300); font-weight: 700; font-size: .8125rem;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: .75em;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 22px; border-radius: var(--radius);
  font: 700 1.0625rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background-color .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--blue-400); color: var(--ink-950); }
.btn--primary:hover { background: var(--ice-100); color: var(--ink-950); }
.btn--ghost { border-color: var(--ice-300); color: var(--ice-50); background: transparent; }
.btn--ghost:hover { background: rgba(238, 250, 255, .1); color: #fff; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Top bar */
.topbar { position: absolute; top: 0; left: 0; right: 0; z-index: 10; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.topbar__logo img { height: 40px; width: auto; }
.topbar__phone {
  display: inline-flex; gap: 8px; align-items: center; min-height: 44px; padding: 0 12px;
  color: var(--ice-50); text-decoration: none; font-weight: 700;
  background: rgba(3, 28, 37, .6); border: 1px solid var(--ink-600); border-radius: 999px;
}

/* Hero */
.hero { position: relative; padding: 104px 0 48px; background:
  radial-gradient(120% 70% at 85% 0%, rgba(56, 165, 208, .18) 0%, transparent 60%),
  linear-gradient(180deg, var(--ink-900) 0%, var(--ink-950) 100%); }
.hero__content { max-width: 1180px; }
.hero h1 { font-size: clamp(1.875rem, 7.5vw, 3.75rem); max-width: 20ch; margin-bottom: .4em; overflow-wrap: break-word; }
.hero__lede { font-size: 1.125rem; max-width: 42rem; color: var(--ice-100); }
.hero__facts { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; gap: 8px; }
.hero__facts li {
  padding: 10px 14px; border-left: 3px solid var(--blue-400);
  background: rgba(8, 42, 55, .75); border-radius: 0 var(--radius) var(--radius) 0;
}
.hero__facts strong { color: #fff; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__ctas .btn { flex: 1 1 220px; }

/* Portal screenshots */
.shot { margin: 32px 0 0; }
.shot__img { width: 100%; height: auto; border-radius: 0 0 var(--radius) var(--radius); background: var(--ink-900); }
.shot figcaption { margin-top: 10px; font-size: .875rem; color: var(--ice-300); }
.readout {
  margin: 0; padding: 12px 14px; border-radius: var(--radius) var(--radius) 0 0;
  background: #fff; color: #1d2a30; font-size: .9375rem; line-height: 1.4;
}
.readout__label {
  display: inline-block; margin-right: 6px; padding: 1px 8px; border-radius: 999px;
  background: var(--ink-950); color: var(--ice-50); font-size: .75rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; vertical-align: 1px;
}

/* Sections */
.section { padding: 56px 0; }
.section--alt { background: var(--ink-900); }
.section--form { background: linear-gradient(180deg, var(--ink-900), var(--ink-950)); }
.section__lede { color: var(--ice-100); max-width: 46rem; }

/* Features */

/* Steps */
.steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; }
.step { padding: 20px; border-radius: var(--radius); background: var(--ink-950); border: 1px solid var(--ink-800); }
.step__num {
  display: inline-grid; place-items: center; width: 36px; height: 36px; margin-bottom: 12px;
  border-radius: 50%; background: var(--blue-400); color: var(--ink-950); font-weight: 800;
}
.step__title { font-size: 1.125rem; }
.step p { margin: 0; color: var(--ice-100); }

/* Proof */

.logos__title { margin-top: 40px; font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ice-300); }
.logos {
  list-style: none; margin: 0 0 40px; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
.logos li {
  display: grid; place-items: center; min-height: 92px; padding: 14px;
  border: 1px solid var(--ink-800); border-radius: var(--radius); background: var(--ink-900);
}
.logos img { max-height: 60px; width: auto; }

/* Form */
.form { margin-top: 24px; display: grid; gap: 18px; }
.field { display: grid; gap: 6px; margin: 0; min-width: 0; }
.field-row { display: grid; gap: 18px; }
.field label, .field legend { font-weight: 700; }
.optional { font-weight: 400; color: var(--ice-300); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select {
  width: 100%; min-height: 48px; padding: 10px 12px;
  font: 400 1.0625rem/1.3 var(--font-body); color: var(--ice-50);
  background: var(--ink-950); border: 1px solid var(--ink-600); border-radius: var(--radius);
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ice-300) 50%), linear-gradient(135deg, var(--ice-300) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.field input:focus, .field select:focus { border-color: var(--blue-400); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--error); }
.field input[type="file"] {
  width: 100%; padding: 10px; font: inherit; font-size: .9375rem; color: var(--ice-100);
  background: var(--ink-950); border: 1px dashed var(--ink-600); border-radius: var(--radius);
}
.field input[type="file"]::file-selector-button {
  margin-right: 12px; min-height: 40px; padding: 8px 14px; border: 0; border-radius: 8px;
  background: var(--ink-800); color: var(--ice-50); font: 700 .9375rem var(--font-body); cursor: pointer;
}
.field__hint { margin: 0; font-size: .875rem; color: var(--ice-300); }
.field__info { margin: 0; font-size: .875rem; color: var(--ice-100); }
.field__error { margin: 0; font-size: .875rem; font-weight: 700; color: var(--error); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__privacy { margin: 0; font-size: .875rem; color: var(--ice-300); }
.form__status { padding: 14px; border-radius: var(--radius); border: 1px solid var(--error); background: rgba(255, 180, 168, .08); }
.form__status p { margin: 0; }
.success { margin-top: 24px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--blue-400); background: var(--ink-900); }
.success__title { font-size: 1.375rem; }

/* Optional site details: native <details>, collapsed by default */
.more { border: 1px solid var(--ink-800); border-radius: var(--radius); background: var(--ink-950); }
.more__summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 48px; padding: 12px 14px; font-weight: 700; color: var(--ice-50);
  cursor: pointer; list-style: none; border-radius: var(--radius);
}
.more__summary::-webkit-details-marker { display: none; }
.more__summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px;
  border-right: 2px solid var(--ice-300); border-bottom: 2px solid var(--ice-300);
  transform: translateY(-3px) rotate(45deg); transition: transform .15s ease;
}
.more[open] > .more__summary::after { transform: translateY(3px) rotate(-135deg); }
.more__summary .optional { white-space: nowrap; }
.more__summary:hover { color: #fff; }
.more__summary:hover::after { border-color: var(--ice-100); }
.more__summary:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 3px; border-radius: var(--radius); }
.more[open] > .more__summary { border-bottom: 1px solid var(--ink-800); border-radius: var(--radius) var(--radius) 0 0; }
.more__body { display: grid; gap: 18px; padding: 16px 14px 18px; }
@media (prefers-reduced-motion: reduce) { .more__summary::after { transition: none; } }

/* Footer */
.footer { padding: 32px 0 40px; border-top: 1px solid var(--ink-800); color: var(--ice-300); font-size: .9375rem; }
.footer__inner p { margin: 0 0 6px; }

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(3, 28, 37, .96); border-top: 1px solid var(--ink-800);
}

@media (min-width: 600px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .logos { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 960px) {
  :root { --gutter: 32px; }
  .topbar__inner { height: 84px; }
  .topbar__logo img { height: 48px; }
  .hero { padding: 148px 0 88px; }
  .hero__ctas .btn { flex: 0 0 auto; }
  .section { padding: 88px 0; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .sticky-cta { display: none !important; }
}

/* Feature tiles with Portal screenshots */
.tiles { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; }
.tile { padding: 16px; border-radius: var(--radius); background: var(--ink-900); border: 1px solid var(--ink-800); border-top: 3px solid var(--blue-400); min-width: 0; }
.tile__media { margin: 0 0 16px; height: 260px; display: flex; align-items: center; justify-content: center; padding: 12px; border-radius: 8px; background: var(--ink-950); overflow: hidden; }
.tile__img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.tile__title { font-size: 1.125rem; margin: 0 0 8px; }
.tile p { margin: 0; color: var(--ice-100); }
.tile .tile__note { margin-top: 10px; font-size: .875rem; color: var(--ice-300); }
.tile--text { border-top-color: var(--ice-300); }

/* Audiences */
.teams { display: grid; gap: 16px; margin-top: 24px; }
.team { padding: 20px; border-radius: var(--radius); background: var(--ink-950); border: 1px solid var(--ink-800); }
.team__title { font-size: 1.125rem; }
.team__list { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; color: var(--ice-100); }

/* Pricing */
.prices { width: 100%; margin: 8px 0 16px; border-collapse: collapse; font-size: 1.125rem; }
.prices th, .prices td { padding: 14px 12px; border-bottom: 1px solid var(--ink-800); text-align: left; }
.prices thead th { font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ice-300); }
.prices tbody th { font-weight: 600; }
.prices td { text-align: right; font-weight: 800; color: #fff; }
.prices thead th:last-child { text-align: right; }
.prices__note { color: var(--ice-100); margin-bottom: .5em; }
.promo {
  margin: 20px 0 24px; padding: 14px 16px; border-radius: var(--radius);
  border: 1px solid var(--blue-400); background: rgba(56, 165, 208, .12); color: var(--ice-50);
}
.promo strong { color: #fff; }

/* FAQ */
.faq { display: grid; gap: 10px; margin-top: 24px; }
.faq__item { border: 1px solid var(--ink-800); border-radius: var(--radius); background: var(--ink-900); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 48px; padding: 12px 16px; font-weight: 700; cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px;
  border-right: 2px solid var(--ice-300); border-bottom: 2px solid var(--ice-300);
  transform: translateY(-3px) rotate(45deg);
}
.faq__item[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq__item p { margin: 0; padding: 0 16px 16px; color: var(--ice-100); }

@media (min-width: 760px) {
  .tiles { grid-template-columns: 1fr 1fr; }
  .tile__media { height: 380px; }
  .teams { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .hero__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1000px; }
  .shot { margin-top: 48px; }
}

/* Site photos (marketing photos: never call them measured data of a named site) */
.tile__media--photo { padding: 0; }
.tile__media--photo .tile__img { width: 100%; height: 100%; max-height: none; object-fit: cover; border-radius: 0; }
.step__media { margin: -6px -6px 16px; aspect-ratio: 3 / 2; border-radius: 8px; overflow: hidden; background: var(--ink-900); }
.step__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.strip { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 16px; }
.strip figure { margin: 0; }
.strip__img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.strip figcaption { margin-top: 8px; font-size: .875rem; color: var(--ice-300); }
@media (min-width: 600px) { .strip { grid-template-columns: repeat(3, 1fr); } }
