/* ENC Analytics additions on top of the licensed Webflow template design system.
   Uses the template's own colour variables; nothing here overrides its typography. */

[hidden] { display: none !important; }
[id] { scroll-margin-top: 88px; }

/* Logo: one swap point (assets/logo*.svg) */
.enc-logo { display: block; height: 30px; width: auto; }
.enc-logo.is-stacked { height: 64px; }

/* Labels for example / simulated data */
.enc-illus { margin-top: 20px; opacity: .8; }
.enc-sim-note { margin-top: 16px; color: var(--_enc-color---text--muted); }

/* Red-ish icon variant for blocked/alert cards */
.icon-accent.is-alert { color: var(--_enc-color---status--alert); }

/* "What you get": report contents sheet (replaces the phone mock) */
.enc-report {
  background-color: var(--_enc-color---bg--panel);
  background-image: repeating-linear-gradient(0deg, transparent 0 47px, var(--_enc-color---line--panel) 47px 48px);
  border-radius: 12px;
  padding: 48px 40px;
  display: flex;
  justify-content: center;
}
.enc-report_sheet {
  background-color: var(--_enc-color---bg--raised);
  color: var(--_enc-color---text--primary);
  border-radius: 8px;
  width: 100%;
  max-width: 380px;
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  row-gap: 14px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, .25);
}
.enc-report_title { font-family: "Brygada 1918", sans-serif; font-size: 28px; line-height: 1.1; }
.enc-report_toc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--_enc-color---line--paper); }
.enc-report_item {
  display: flex; column-gap: 12px; align-items: baseline;
  padding: 8px 0; font-size: 14px; line-height: 1.3;
  border-bottom: 1px solid var(--_enc-color---line--paper);
}
.enc-report_num { color: var(--_enc-color---accent--default); font-size: 11px; font-weight: 500; flex: none; width: 18px; }
.enc-states { display: flex; flex-wrap: wrap; gap: 6px; }
.enc-state { border-radius: 2px; padding: 3px 8px; font-size: 11px; font-weight: 500; line-height: 1.3; }
.enc-state.is-ok { background: var(--_enc-color---bg--subtle); color: var(--_enc-color---text--primary); }
.enc-state.is-flag { background: var(--_enc-color---accent--default); color: var(--_enc-color---accent--on); }
.enc-state.is-broken { background: var(--_enc-color---status--alert); color: #fff; }
.enc-state.is-nm { border: 1px solid var(--_enc-color---line--paper); color: var(--_enc-color---text--muted); }

/* Lab caching result: big number + write/read bars */
.enc-num-sub { color: var(--_enc-color---text--panel-muted); font-size: 16px; margin-top: 4px; }
.enc-bars { margin-top: 28px; display: flex; flex-direction: column; row-gap: 14px; }
.enc-bar { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "label value" "track track"; row-gap: 6px; }
.enc-bar_label { grid-area: label; color: var(--_enc-color---text--panel-muted); font-size: 13px; }
.enc-bar_value { grid-area: value; color: var(--_enc-color---text--panel); font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; }
.enc-bar_track { grid-area: track; height: 10px; background: var(--_enc-color---bg--panel-raised); border-radius: 2px; overflow: hidden; }
.enc-bar_fill { height: 100%; border-radius: 2px; }
.enc-bar_fill.is-write { width: 100%; background: var(--_enc-color---text--panel-muted); }
.enc-bar_fill.is-read { width: 10.09%; background: var(--_enc-color---accent--default); } /* 0.0004935 / 0.00489 */
.enc-lab-note { color: var(--_enc-color---text--panel-muted); font-size: 12px; line-height: 1.5; margin: 20px 0 0; }

/* Providers as plain text, five cells */
.logo-strip.enc-providers { grid-template-columns: repeat(5, 1fr); }

/* Two pricing tiers instead of three */
.pricing-grid.enc-two { grid-template-columns: 1fr 1fr; }

/* Contact line under the closing CTA */
.enc-contact-line { text-align: center; margin-top: 16px; margin-bottom: 0; }
.enc-contact-line a, .enc-footer-mail { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

@media screen and (max-width: 991px) {
  .logo-strip.enc-providers { grid-template-columns: repeat(3, 1fr); }
}
@media screen and (max-width: 767px) {
  .pricing-grid.enc-two { grid-template-columns: 1fr; }
  .enc-report { padding: 32px 20px; }
}
@media screen and (max-width: 479px) {
  .logo-strip.enc-providers { grid-template-columns: 1fr 1fr; }
  .enc-logo { height: 26px; }
}

/* Contact form (template .form-card / .field classes; additions only) */
.enc-form { width: 100%; max-width: 640px; margin-top: 12px; text-align: left; box-shadow: none; border-radius: 8px; }
.enc-form .field_input { width: 100%; font-family: inherit; }
.enc-form textarea.field_input { height: 140px; resize: vertical; line-height: 1.5; }
.enc-form select.field_input { appearance: auto; }
.enc-form .field_input[aria-invalid="true"] { border-color: var(--_enc-color---status--alert); }
.enc-form .field_input:focus-visible { outline: 2px solid var(--_enc-color---accent--default); outline-offset: 1px; }
.enc-form button.button { border: 0; font-family: inherit; font-weight: 500; line-height: 1.2; cursor: pointer; }
.enc-form button.button[disabled] { opacity: .6; cursor: progress; }
.enc-form .form-msg.is-error { margin-top: 0; }
.enc-form .form-msg a, .enc-form .form-card_note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.enc-form .form-msg:focus { outline: none; }
.enc-optional { color: var(--_enc-color---text--muted); font-weight: 400; }
.enc-field-error { color: var(--_enc-color---status--alert); font-size: 13px; line-height: 1.4; margin: 0; }
.enc-turnstile:empty { display: none; }
/* Honeypot: off-screen, not display:none (some bots skip hidden fields) */
.enc-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media screen and (max-width: 479px) {
  .enc-form { padding: 24px 20px; }
}
