/*
 * ICYLAB — PILOTEA / pilot kit conversion landing
 * v1.1 / theme v0.5.92
 *
 * Page-specific composition only. Shared header, mobile sidebar, sticky
 * chapter navigation, lateral dots and footer remain in system modules.
 */

body.icy-pilotea-page {
  --pilot-line: rgba(255,255,255,.2);
  --pilot-line-dark: rgba(0,0,0,.2);
  --pilot-muted: rgba(255,255,255,.7);
  --pilot-muted-dark: rgba(0,0,0,.65);
}

.icy-pilotea-page h2,
.icy-pilotea-page h3,
.icy-pilotea-page p,
.icy-pilotea-page figure { margin-top: 0; }

.icy-pilotea-page h2,
.icy-pilotea-page h3,
.icy-pilotea-page strong,
.icy-pilotea-page label,
.icy-pilotea-page button {
  font-family: 'Cy Grotesk', Arial, sans-serif;
}

.icy-pilotea-hero-copy,
.icy-pilotea-heading > *,
.icy-pilotea-measure-copy,
.icy-pilotea-method-heading,
.icy-pilotea-request-copy,
.icy-pilotea-form,
.icy-pilotea-kit-grid > *,
.icy-pilotea-metrics > *,
.icy-pilotea-steps > * {
  min-width: 0;
  max-width: 100%;
}

.icy-pilotea-heading h2,
.icy-pilotea-measure-copy h2,
.icy-pilotea-method-heading h2,
.icy-pilotea-request-copy h2 {
  max-width: 12ch;
  margin: 0;
  color: inherit;
  font-size: clamp(3.1rem, min(5vw, 8.5svh), 6rem);
  font-weight: 800;
  line-height: .86;
  letter-spacing: -.055em;
  text-transform: uppercase;
  word-break: normal;
}

/* Hero ------------------------------------------------------------------ */
.icy-pilotea-hero {
  display: flex;
  align-items: center;
  min-height: calc(100svh - var(--icy-header-h));
  padding-block: clamp(2.5rem, 5svh, 4.5rem);
}

.icy-pilotea-hero .icy-interior-shell {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(470px, 1fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 8rem);
}

.icy-pilotea-title {
  max-width: 9.2ch;
  font-size: clamp(4.2rem, min(6.2vw, 11svh), 8rem);
}

.icy-pilotea-title > span,
.icy-pilotea-title > em { display: block; }

.icy-pilotea-hero .icy-interior-lead { margin-top: 1.45rem; }

.icy-pilotea-assurance {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1rem;
  margin: clamp(2rem, 4svh, 3.4rem) 0 0;
  color: rgba(255,255,255,.58);
  font-family: 'Cy Grotesk', Arial, sans-serif;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.icy-pilotea-assurance span { color: var(--icy-acid); }

.icy-pilotea-product-stage {
  position: relative;
  display: grid;
  min-height: clamp(480px, 64svh, 680px);
  margin-bottom: 0;
  place-items: center;
  border: 1px solid var(--pilot-line);
  overflow: hidden;
  background: #050505;
  box-shadow: 10px 10px 0 var(--icy-acid);
  isolation: isolate;
}

.icy-pilotea-product-grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 12.5% 12.5%;
}

.icy-pilotea-product-stage::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 58%;
  aspect-ratio: 1;
  border: 1px solid rgba(0,255,48,.65);
  border-radius: 50%;
  box-shadow: 0 0 70px rgba(0,255,48,.08);
}

.icy-pilotea-product-stage img {
  width: min(84%, 620px);
  max-height: 58svh;
  object-fit: contain;
  transform: translateY(3%);
}

.icy-pilotea-product-stage figcaption {
  position: absolute;
  right: 1.15rem;
  bottom: 1rem;
  left: 1.15rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255,255,255,.65);
  font-family: 'Cy Grotesk', Arial, sans-serif;
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.icy-pilotea-product-stage figcaption span { color: var(--icy-acid); }

/* Kit ------------------------------------------------------------------- */
.icy-pilotea-kit .icy-interior-shell,
.icy-pilotea-method .icy-interior-shell {
  display: flex;
  min-height: calc(100svh - var(--icy-interior-offset) - 2 * clamp(2.75rem, 5.5svh, 5rem));
  flex-direction: column;
  justify-content: center;
}

.icy-pilotea-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .55fr);
  align-items: end;
  gap: clamp(2.5rem, 8vw, 8rem);
  margin-bottom: clamp(2.4rem, 5svh, 4rem);
}

.icy-pilotea-heading > p {
  max-width: 36ch;
  margin-bottom: 0;
  color: var(--pilot-muted-dark);
  font-family: 'Cy Grotesk', Arial, sans-serif;
  font-size: clamp(1rem, 1.15vw, 1.22rem);
  line-height: 1.48;
}

.icy-pilotea-kit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--pilot-line-dark);
  border-left: 1px solid var(--pilot-line-dark);
}

.icy-pilotea-kit-grid article {
  display: flex;
  min-height: clamp(230px, 28svh, 310px);
  padding: clamp(1rem, 2vw, 1.7rem);
  border-right: 1px solid var(--pilot-line-dark);
  border-bottom: 1px solid var(--pilot-line-dark);
  flex-direction: column;
}

.icy-pilotea-kit-grid article > span,
.icy-pilotea-metrics article > span,
.icy-pilotea-steps article > span {
  color: #000;
  font-family: 'Cy Grotesk', Arial, sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.icy-pilotea-kit-grid strong {
  display: block;
  margin-top: auto;
  color: #000;
  font-size: clamp(1.25rem, 1.6vw, 1.75rem);
  line-height: .95;
  letter-spacing: -.035em;
}

.icy-pilotea-kit-grid p {
  margin: .8rem 0 0;
  color: var(--pilot-muted-dark);
  font-family: 'Cy Grotesk', Arial, sans-serif;
  font-size: .9rem;
  line-height: 1.45;
}

/* Measurement ----------------------------------------------------------- */
.icy-pilotea-measure .icy-interior-shell {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(520px, 1fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 9rem);
}

.icy-pilotea-measure-copy > p:last-child {
  max-width: 37ch;
  margin: 1.35rem 0 0;
  color: var(--pilot-muted);
  font-family: 'Cy Grotesk', Arial, sans-serif;
  font-size: clamp(1rem, 1.15vw, 1.22rem);
  line-height: 1.48;
}

.icy-pilotea-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--pilot-line);
  border-left: 1px solid var(--pilot-line);
}

.icy-pilotea-metrics article {
  display: flex;
  min-height: clamp(190px, 24svh, 250px);
  padding: clamp(1rem, 2vw, 1.6rem);
  border-right: 1px solid var(--pilot-line);
  border-bottom: 1px solid var(--pilot-line);
  flex-direction: column;
}

.icy-pilotea-metrics article > span { color: var(--icy-acid); }

.icy-pilotea-metrics strong {
  max-width: 13ch;
  margin-top: auto;
  color: #fff;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: .92;
  letter-spacing: -.04em;
}

.icy-pilotea-metrics small {
  margin-top: .55rem;
  color: rgba(255,255,255,.55);
  font-family: 'Cy Grotesk', Arial, sans-serif;
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

/* Method ---------------------------------------------------------------- */
.icy-pilotea-method-heading {
  display: grid;
  grid-template-columns: minmax(0, .55fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(2.5rem, 7vw, 7rem);
  margin-bottom: clamp(2.5rem, 5svh, 4rem);
}

.icy-pilotea-method-heading .icy-interior-kicker { margin-bottom: .2rem; }
.icy-pilotea-method-heading h2 { max-width: 13ch; }

.icy-pilotea-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr) 42px minmax(0, 1fr);
  align-items: stretch;
}

.icy-pilotea-steps article {
  display: flex;
  min-height: clamp(210px, 27svh, 280px);
  padding: clamp(1rem, 2vw, 1.6rem);
  border: 1px solid #000;
  background: #000;
  color: #fff;
  flex-direction: column;
}

.icy-pilotea-steps article > span { color: var(--icy-acid); }

.icy-pilotea-steps article strong {
  max-width: 14ch;
  margin-top: auto;
  font-size: clamp(1.25rem, 1.7vw, 1.8rem);
  line-height: .94;
  letter-spacing: -.035em;
}

.icy-pilotea-steps article p {
  margin: .75rem 0 0;
  color: var(--pilot-muted);
  font-family: 'Cy Grotesk', Arial, sans-serif;
  font-size: .88rem;
  line-height: 1.42;
}

.icy-pilotea-steps > i {
  display: grid;
  place-items: center;
  color: #000;
  font-family: 'Cy Grotesk', Arial, sans-serif;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 700;
}

/* Request --------------------------------------------------------------- */
.icy-pilotea-request {
  display: flex;
  min-height: calc(100svh - var(--icy-interior-offset));
  padding-bottom: 76px !important;
  flex-direction: column;
}

.icy-pilotea-request > .icy-interior-shell {
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: minmax(0, .72fr) minmax(520px, 1fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 9rem);
}

.icy-pilotea-request-copy h2 em {
  display: block;
  color: var(--icy-acid);
  font-style: normal;
}

.icy-pilotea-request-copy > p:not(.icy-interior-kicker) {
  max-width: 36ch;
  margin: 1.35rem 0 0;
  color: var(--pilot-muted);
  font-family: 'Cy Grotesk', Arial, sans-serif;
  font-size: clamp(1rem, 1.15vw, 1.22rem);
  line-height: 1.48;
}

.icy-pilotea-request-note {
  margin-top: clamp(2rem, 5svh, 4rem);
  padding-top: 1rem;
  border-top: 1px solid var(--pilot-line);
}

.icy-pilotea-request-note span,
.icy-pilotea-request-note strong {
  display: block;
  font-family: 'Cy Grotesk', Arial, sans-serif;
}

.icy-pilotea-request-note span {
  color: var(--icy-acid);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .09em;
}

.icy-pilotea-request-note strong {
  margin-top: .65rem;
  color: #fff;
  font-size: clamp(1.1rem, 1.45vw, 1.45rem);
  line-height: 1.1;
}

.icy-pilotea-form {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: clamp(1.25rem, 2.5vw, 2.2rem);
  border: 1px solid var(--pilot-line);
  background: #050505;
  box-shadow: 9px 9px 0 var(--icy-acid);
}

.icy-pilotea-trap {
  position: absolute !important;
  top: auto !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.icy-pilotea-field {
  display: grid;
  gap: .45rem;
}

.icy-pilotea-form .is-wide { grid-column: 1 / -1; }

.icy-pilotea-field label {
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.icy-pilotea-field label > span { color: var(--icy-acid); }
.icy-pilotea-field label small { color: #fff; font-size: inherit; opacity: .72; }

.icy-pilotea-field input,
.icy-pilotea-field select,
.icy-pilotea-field textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: .75rem .85rem;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 0;
  outline: 0;
  background: #000;
  color: #fff !important;
  caret-color: #fff;
  font-family: 'Cy Grotesk', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.35;
  -webkit-text-fill-color: #fff;
}

.icy-pilotea-field textarea { min-height: 86px; resize: vertical; }
.icy-pilotea-field select { color-scheme: dark; }
.icy-pilotea-field select option,
.icy-pilotea-field select optgroup {
  background: #000 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
}
.icy-pilotea-field select option:checked { background: #151515 !important; color: #fff !important; }
.icy-pilotea-field input::placeholder,
.icy-pilotea-field textarea::placeholder {
  color: #fff;
  opacity: .62;
  -webkit-text-fill-color: #fff;
}

.icy-pilotea-field input:-webkit-autofill,
.icy-pilotea-field input:-webkit-autofill:hover,
.icy-pilotea-field input:-webkit-autofill:focus {
  box-shadow: 0 0 0 1000px #000 inset;
  caret-color: #fff;
  -webkit-text-fill-color: #fff !important;
}

.icy-pilotea-field input:focus,
.icy-pilotea-field select:focus,
.icy-pilotea-field textarea:focus {
  border-color: var(--icy-acid);
  box-shadow: 0 0 0 1px var(--icy-acid);
}

.icy-pilotea-consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: .65rem;
  color: rgba(255,255,255,.62);
  font-size: .72rem;
  font-weight: 400;
  line-height: 1.4;
}

.icy-pilotea-consent input {
  width: 16px;
  height: 16px;
  margin: .05rem 0 0;
  accent-color: var(--icy-acid);
}

.icy-pilotea-submit {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1rem;
  border: 1px solid var(--icy-acid);
  border-radius: 0;
  background: var(--icy-acid);
  color: #000;
  cursor: pointer;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-align: left;
}

.icy-pilotea-submit:hover,
.icy-pilotea-submit:focus-visible { background: #fff; border-color: #fff; }

.icy-pilotea-submit:disabled {
  cursor: wait;
  opacity: .72;
}

.icy-pilotea-form[aria-busy="true"] .icy-pilotea-field,
.icy-pilotea-form[aria-busy="true"] .icy-pilotea-consent { opacity: .68; }

.icy-pilotea-form-meta,
.icy-pilotea-form-status,
.icy-pilotea-noscript {
  margin: 0;
  font-family: 'Cy Grotesk', Arial, sans-serif;
  font-size: .66rem;
  line-height: 1.4;
}

.icy-pilotea-form-meta { color: rgba(255,255,255,.42); }
.icy-pilotea-form-status { color: #ff8585; font-weight: 700; }
.icy-pilotea-form-status.is-success { color: var(--icy-acid); }
.icy-pilotea-noscript { color: #fff; }
.icy-pilotea-noscript a { color: var(--icy-acid); }

.icy-pilotea-request > .icy-site-footer[data-icy-site-footer] {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
}

/* Responsive ------------------------------------------------------------ */
@media (min-width: 1181px) and (min-height: 760px) {
  .icy-pilotea-request.icy-interior-snap {
    height: auto !important;
    min-height: calc(100svh - var(--icy-interior-offset));
  }

  .icy-pilotea-request > .icy-interior-shell { padding-block: 2rem 4.5rem; }
}

@media (min-width: 861px) and (max-width: 1180px) {
  .icy-pilotea-page .icy-interior-section.icy-interior-snap:not([data-icy-interior-hero]) {
    height: auto !important;
    min-height: calc(100svh - var(--icy-interior-offset));
  }
}

@media (max-width: 1180px) {
  .icy-pilotea-hero .icy-interior-shell,
  .icy-pilotea-measure .icy-interior-shell,
  .icy-pilotea-request > .icy-interior-shell {
    grid-template-columns: minmax(0, .78fr) minmax(440px, 1fr);
    gap: clamp(2.5rem, 5vw, 5rem);
  }

  .icy-pilotea-kit-grid strong { font-size: 1.2rem; }
}

@media (max-width: 1024px) {
  .icy-pilotea-hero .icy-interior-shell,
  .icy-pilotea-measure .icy-interior-shell,
  .icy-pilotea-request > .icy-interior-shell {
    grid-template-columns: 1fr;
  }

  .icy-pilotea-hero,
  .icy-pilotea-kit,
  .icy-pilotea-measure,
  .icy-pilotea-method,
  .icy-pilotea-request { height: auto !important; }

  .icy-pilotea-hero-copy,
  .icy-pilotea-measure-copy,
  .icy-pilotea-request-copy { max-width: 760px; }

  .icy-pilotea-product-stage { width: 100%; min-height: 540px; }
  .icy-pilotea-kit-grid { grid-template-columns: 1fr 1fr; }
  .icy-pilotea-kit-grid article { min-height: 220px; }
  .icy-pilotea-measure-copy h2 { max-width: 13ch; }
  .icy-pilotea-metrics { width: 100%; }

  .icy-pilotea-method-heading { grid-template-columns: 1fr; gap: .4rem; }
  .icy-pilotea-steps article { min-height: 230px; }

  .icy-pilotea-request { padding-bottom: 0 !important; }
  .icy-pilotea-request > .icy-interior-shell { padding-bottom: 4rem; }
  .icy-pilotea-request > .icy-site-footer[data-icy-site-footer] { position: relative; margin-top: auto; }
}

@media (max-width: 860px) {
  .icy-pilotea-heading { grid-template-columns: 1fr; gap: 1.2rem; }

  .icy-pilotea-heading h2,
  .icy-pilotea-measure-copy h2,
  .icy-pilotea-method-heading h2,
  .icy-pilotea-request-copy h2 {
    max-width: 100%;
    font-size: clamp(2.45rem, 7.2vw, 4rem);
    text-wrap: balance;
  }

  .icy-pilotea-steps {
    grid-template-columns: 1fr;
  }

  .icy-pilotea-steps > i {
    width: 100%;
    height: 38px;
    transform: rotate(90deg);
  }

  .icy-pilotea-steps article { min-height: 190px; }
}

@media (max-width: 599px) {
  .icy-pilotea-hero { padding-block: 2.8rem 3.5rem; }

  .icy-pilotea-title {
    max-width: 100%;
    font-size: clamp(2.65rem, 10.8vw, 3.7rem);
  }

  .icy-pilotea-assurance { display: grid; grid-template-columns: auto 1fr; }

  .icy-pilotea-product-stage {
    min-height: 390px;
    box-shadow: 6px 6px 0 var(--icy-acid);
  }

  .icy-pilotea-product-stage img { width: 100%; max-height: 390px; }

  .icy-pilotea-product-stage figcaption {
    right: .75rem;
    bottom: .7rem;
    left: .75rem;
    font-size: .52rem;
  }

  .icy-pilotea-heading h2,
  .icy-pilotea-measure-copy h2,
  .icy-pilotea-method-heading h2 {
    font-size: clamp(2rem, 8.3vw, 2.9rem);
  }

  .icy-pilotea-request-copy h2 { font-size: clamp(1.9rem, 7.6vw, 2.65rem); }

  .icy-pilotea-kit-grid { grid-template-columns: 1fr; }
  .icy-pilotea-kit-grid article { min-height: 185px; }

  .icy-pilotea-metrics article { min-height: 165px; padding: .85rem; }
  .icy-pilotea-metrics strong { font-size: 1.05rem; }
  .icy-pilotea-metrics small { font-size: .55rem; }

  .icy-pilotea-steps article { min-height: 170px; }

  .icy-pilotea-form {
    grid-template-columns: 1fr;
    padding: 1rem;
    box-shadow: 6px 6px 0 var(--icy-acid);
  }

  .icy-pilotea-form .is-wide { grid-column: 1; }
}

@media (max-width: 380px) {
  .icy-pilotea-metrics { grid-template-columns: 1fr; }
  .icy-pilotea-metrics article { min-height: 150px; }
  .icy-pilotea-product-stage figcaption strong { max-width: 18ch; text-align: right; }
}

@media (prefers-reduced-motion: reduce) {
  .icy-pilotea-submit { transition: none; }
}
