/* DoW Instruction 8430.01: the figure-eight loop diagram and the 8430 call to action. */

@layer components {
  @media (prefers-reduced-motion: reduce) {
    #sec-8430 .rv-runners,
    #sec-8430 .rv-anim {
      display: none;
    }
  }
  @media (max-width:960px) {
    .rv-row {
      row-gap: 8px;
    }
    .rv-row > :nth-child(n+3) {
      grid-column: 2;
    }
  }
  @media (max-width:760px) {
    .rv-loops > * + * {
      border-top: 1px solid var(--line-soft);
    }
    .rv-x8 > svg {
      min-width: 760px;
    }
  }
}

@layer sections {
  .dow-section {
    padding: 96px 0 0;
    border-bottom: 1px solid var(--line);
    background: var(--white);
  }

  .dow-label-dow-instruction {
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--blue);
  }

  .dow-heading-less-time {
    font-weight: 600;
    font-size: 36px;
    line-height: 1.08;
    letter-spacing: -.02em;
    margin: 14px 0 0;
    color: var(--ink);
  }

  .dow-row-dow-instruction {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    flex-wrap: wrap;
    margin-top: 24px;
  }

  .dow-copy-dow-instruction {
    margin: 0;
    flex: 1 1 100%;
    font-size: 18px;
    line-height: 1.6;
    color: #3b4656;
  }

  .dow-loops {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--paper);
    margin-top: 40px;
  }

  .dow-box-inner-loop {
    padding: 22px 28px 24px;
  }

  .dow-label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--blue);
  }

  .dow-text {
    font-weight: 600;
    font-size: 22px;
    letter-spacing: -.02em;
    color: var(--ink);
    margin-top: 6px;
  }

  .dow-text-2 {
    font-size: 14px;
    color: var(--muted);
    margin-top: 4px;
  }

  .dow-box-outer-loop {
    padding: 22px 28px 24px;
    text-align: right;
    border-left: 1px solid #D5DCE6;
  }

  .dow-band2 {
    background: #0B1422;
    color: var(--white);
    margin-top: 48px;
    padding: 8px 0 88px;
    position: relative;
    overflow: hidden;
  }

  .dow-x8 {
    margin-top: 48px;
    opacity: 1;
    transform: none;
    transition: opacity .8s cubic-bezier(.2,.7,.2,1) .1s,transform .8s cubic-bezier(.2,.7,.2,1) .1s;
  }

  .dow-svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
  }

  .dow-band {
    background: var(--paper);
    padding: 24px 0 96px;
  }

  .dow-box-authorize-factory {
    border-top: 0;
    opacity: 1;
    transform: none;
    transition: opacity .8s cubic-bezier(.2,.7,.2,1),transform .8s cubic-bezier(.2,.7,.2,1);
  }

  .dow-grid {
    display: grid;
    grid-template-columns: 56px minmax(0,300px) minmax(0,1fr) 128px;
    column-gap: 28px;
    padding: 26px 0;
    border-bottom: 1px solid var(--line);
  }

  .dow-label-2 {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    color: var(--blue);
    padding-top: 3px;
  }

  .dow-subhead {
    margin: 0;
    font-weight: 600;
    font-size: 19px;
    line-height: 1.3;
    letter-spacing: -.01em;
    color: var(--ink);
  }

  .dow-copy {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--muted);
  }

  .dow-label-3 {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: .08em;
    color: var(--faint);
    text-align: right;
    padding-top: 5px;
  }

  .dow-row-talk-us {
    display: flex;
    justify-content: flex-end;
    margin-top: 48px;
  }

  .dow-rv8430-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--blue);
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 17px 30px;
    white-space: nowrap;
    transition: background .25s ease;
  }
}

/* Breakpoint and state overrides: these win over the section styles above. */
@layer overrides {
  @media (max-width:960px) {
    .rv-row {
      grid-template-columns: 40px 1fr;
    }
    .rv-row > :nth-child(4) {
      text-align: left;
      padding-top: 0;
    }
  }
  @media (max-width:760px) {
    #sec-8430 {
      padding-top: 56px;
    }
    .rv-band {
      padding-bottom: 56px;
    }
    .rv-band2 {
      padding-bottom: 56px;
    }
    .rv-loops > * {
      text-align: left;
      border-left: 0;
      border-right: 0;
    }
  }
}
