/* =========================================================
  REDOVAR — ENTERPRISE
========================================================= */


/* =========================================================
  PAGE VARIABLES
========================================================= */

:root {
  --enterprise-blue:
    var(
      --redovar-blue,
      #0B369A
    );

  --enterprise-terracotta:
    var(
      --redovar-terracotta,
      #C34811
    );

  --enterprise-text:
    var(
      --light-text,
      #171717
    );

  --enterprise-secondary:
    var(
      --light-secondary,
      #6B6B68
    );

  --enterprise-soft:
    var(
      --light-soft,
      #8B8B86
    );

  --enterprise-surface:
    var(
      --light-surface,
      #F7F7F5
    );

  --enterprise-hover:
    var(
      --light-hover,
      #F2F2EF
    );

  --enterprise-stone:
    var(
      --light-hover,
      #F2F2EF
    );

  --enterprise-white:
    #FFFFFF;

  --enterprise-dark:
    #111111;

  --enterprise-radius:
    var(
      --radius,
      4px
    );

  --enterprise-ease:
    var(
      --ease,
      cubic-bezier(
        .22,
        .72,
        .22,
        1
      )
    );
}


/* =========================================================
  BASE
========================================================= */

html,
body {
  width:
    100%;

  max-width:
    100%;

  margin:
    0;

  overflow-x:
    hidden;
}


body {
  min-height:
    100vh;

  background:
    var(--enterprise-white);

  color:
    var(--enterprise-text);

  font-family:
    "Onest",
    "Segoe UI Variable",
    "Helvetica Neue",
    Arial,
    sans-serif;

  -webkit-font-smoothing:
    antialiased;

  text-rendering:
    optimizeLegibility;
}


*,
*::before,
*::after {
  box-sizing:
    border-box;
}


main,
header,
footer,
section,
div,
form,
nav {
  min-width:
    0;
}


img {
  display:
    block;

  max-width:
    100%;
}


a {
  color:
    inherit;

  text-decoration:
    none;
}


button,
input,
select,
textarea {
  min-width:
    0;

  font:
    inherit;
}


button {
  border:
    0;
}


h1,
h2,
p {
  text-wrap:
    pretty;
}


::selection {
  background:
    rgba(
      195,
      72,
      17,
      .14
    );

  color:
    var(--enterprise-text);
}


/* =========================================================
  ENTERPRISE HEADER
========================================================= */

.enterprise-header {
  position:
    fixed;

  top:
    0;

  left:
    0;

  right:
    0;

  z-index:
    1000;

  width:
    100%;

  height:
    var(
      --header-h,
      76px
    );

  background:
    var(--enterprise-dark);

  color:
    #FFFFFF;

  border-bottom: 0;
}


.enterprise-header-inner {
  min-height:
    var(
      --header-h,
      76px
    );

  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  gap:
    36px;
}


.enterprise-brand {
  flex:
    0
    0
    auto;
}


/* =========================================================
  HEADER RIGHT
========================================================= */

.enterprise-header-actions {
  margin-left:
    auto;

  display:
    flex;

  align-items:
    center;

  gap:
    clamp(
      14px,
      1.3vw,
      18px
    );
}


.enterprise-header-email {
  display: none;
  width: 26px;
  height: 26px;
  padding: 0;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(231, 231, 227, .48);
  border-radius: 50%;
  background: transparent;
}


.enterprise-header-email img {
  width: 13px;
  height: 13px;
  filter: brightness(0) invert(96%);
  opacity: .86;
  transition: opacity 150ms ease, transform 150ms ease;
}


.enterprise-header-email:hover,
.enterprise-header-email:focus-visible {
  border-color: rgba(245, 245, 243, .78);
  outline: 0;
}


.enterprise-header-email:hover img,
.enterprise-header-email:focus-visible img {
  opacity: 1;
  transform: scale(1.08);
}


/* =========================================================
  SALES EMAIL
========================================================= */

.enterprise-sales {
  display:
    flex;

  align-items:
    center;

  gap:
    9px;

  color:
    rgba(
      255,
      255,
      255,
      .50
    );

  font-size:
    12px;

  line-height:
    1;

  white-space:
    nowrap;
}


.enterprise-sales a {
  position:
    relative;

  color:
    rgba(
      255,
      255,
      255,
      .94
    );

  font-size:
    13px;

  line-height:
    1;

  font-weight:
    550;

  letter-spacing:
    -.01em;

  text-decoration:
    none !important;

  transition:
    color
    160ms
    ease;
}


.enterprise-sales a:hover,
.enterprise-sales a:focus-visible {
  color:
    var(--enterprise-blue);

  text-decoration:
    none !important;
}


/* =========================================================
  LEGACY LOGIN CONTROL
========================================================= */

.enterprise-login {
  width: 26px;
  height: 26px;
  padding: 0;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(231, 231, 227, .48);
  border-radius: 50%;
  background: transparent;
}


.enterprise-login img {
  width: 13px;
  height: 13px;
  filter: brightness(0) invert(96%);
  opacity: .86;
}


/* =========================================================
  REAL ACCOUNT CONTROL
========================================================= */

.enterprise-header-actions
.site-account {
  margin:
    0;

  flex:
    0
    0
    auto;
}


/* =========================================================
  MAIN
========================================================= */

.enterprise-main {
  width:
    100%;

  padding-top:
    var(
      --header-h,
      76px
    );

  overflow:
    clip;

  background:
    var(--enterprise-white);
}


/* =========================================================
  SPLIT LAYOUT
========================================================= */

.enterprise-layout {
  width:
    100%;

  max-width:
    100%;

  min-height:
    calc(
      100svh
      -
      var(
        --header-h,
        76px
      )
    );

  display:
    grid;

  grid-template-columns:
    repeat(
      2,
      minmax(
        0,
        1fr
      )
    );

  align-items:
    stretch;
}


/*
  Desktop is intentionally reversed from demo.

  Form remains first in the HTML so mobile keeps the
  same clean form-first sequence as the demo page.
*/

.enterprise-form-side {
  grid-column:
    2;

  grid-row:
    1;
}


.enterprise-visual {
  grid-column:
    1;

  grid-row:
    1;
}


/* =========================================================
  FORM SIDE
========================================================= */

.enterprise-form-side {
  min-width:
    0;

  padding:
    clamp(
      72px,
      7vw,
      112px
    )
    clamp(
      38px,
      6vw,
      96px
    )
    clamp(
      78px,
      8vw,
      120px
    );

  display:
    flex;

  align-items:
    center;

  justify-content:
    flex-start;

  background:
    var(--enterprise-surface);
}


/* =========================================================
  FORM INNER
========================================================= */

.enterprise-form-inner {
  width:
    min(
      100%,
      650px
    );

  min-width:
    0;
}


/* =========================================================
  INTRO
========================================================= */

.enterprise-intro {
  width:
    100%;

  max-width:
    650px;
}


/* =========================================================
  PAGE TITLE
========================================================= */

.enterprise-intro h1 {
  width:
    100%;

  max-width:
    590px;

  margin:
    0;

  color:
    var(--enterprise-text);

  font-size:
    clamp(
      42px,
      3.5vw,
      54px
    );

  line-height:
    .98;

  letter-spacing:
    -.05em;

  font-weight:
    500;
}


.enterprise-intro h1 span {
  display:
    block;

  white-space:
    normal;
}



/* =========================================================
  INTRO COPY
========================================================= */

.enterprise-intro > p:not(.enterprise-eyebrow) {
  margin:
    28px
    0
    0;

  max-width:
    560px;

  color:
    var(--enterprise-secondary);

  font-size:
    clamp(
      15px,
      1.15vw,
      17px
    );

  line-height:
    1.66;
}


/* =========================================================
  FORM
========================================================= */

.enterprise-form {
  width:
    100%;

  margin-top:
    clamp(
      46px,
      5vw,
      64px
    );
}


/* =========================================================
  FORM GRID
========================================================= */

.enterprise-form-grid {
  width:
    100%;

  display:
    grid;

  grid-template-columns:
    repeat(
      2,
      minmax(
        0,
        1fr
      )
    );

  gap:
    24px
    14px;
}


/* =========================================================
  FIELD
========================================================= */

.enterprise-field {
  min-width:
    0;

  display:
    grid;

  align-content:
    start;

  gap:
    9px;
}


.enterprise-field--wide {
  grid-column:
    1
    /
    -1;
}


/* =========================================================
  LABELS
========================================================= */

.enterprise-field label {
  display:
    flex;

  align-items:
    baseline;

  gap:
    7px;

  color:
    var(--enterprise-secondary);

  font-size:
    11px;

  line-height:
    1.25;

  font-weight:
    550;
}


/* =========================================================
  OPTIONAL LABEL
========================================================= */

.enterprise-field-optional {
  color:
    var(--enterprise-soft);

  font-size:
    10px;

  font-weight:
    450;
}


/* =========================================================
  INPUTS + SELECTS + TEXTAREA
========================================================= */

.enterprise-field input,
.enterprise-field select,
.enterprise-field textarea {
  width:
    100%;

  min-width:
    0;

  padding:
    0
    16px;

  border:
    0;

  border-radius:
    var(--enterprise-radius);

  outline:
    0;

  background:
    var(--enterprise-white);

  color:
    var(--enterprise-text);

  font-size:
    14px;

  font-weight:
    450;

  box-shadow:
    0
    0
    0
    0
    rgba(
      195,
      72,
      17,
      0
    );

  transition:
    background-color
    160ms
    ease,
    box-shadow
    180ms
    ease;
}


.enterprise-field input,
.enterprise-field select {
  height:
    56px;

  line-height:
    1;
}


.enterprise-field textarea {
  min-height:
    132px;

  padding-top:
    16px;

  padding-bottom:
    16px;

  line-height:
    1.55;

  resize:
    vertical;
}


.enterprise-field input::placeholder,
.enterprise-field textarea::placeholder {
  color:
    #999994;

  opacity:
    1;
}


/* =========================================================
  REMOVE NUMBER SPINNERS
========================================================= */

.enterprise-number-input::-webkit-outer-spin-button,
.enterprise-number-input::-webkit-inner-spin-button {
  margin:
    0;

  -webkit-appearance:
    none;
}


.enterprise-number-input {
  -moz-appearance:
    textfield;

  appearance:
    textfield;
}


/* =========================================================
  FIELD HOVER
========================================================= */

.enterprise-field input:hover,
.enterprise-field select:hover,
.enterprise-field textarea:hover {
  background:
    #FDFDFC;
}


/* =========================================================
  FIELD FOCUS
========================================================= */

.enterprise-field input:focus,
.enterprise-field select:focus,
.enterprise-field textarea:focus {
  background:
    #FFFFFF;

  box-shadow:
    0
    0
    0
    2px
    rgba(
      195,
      72,
      17,
      .14
    );
}


/* =========================================================
  FIELD ERROR
========================================================= */

.enterprise-field input[aria-invalid="true"],
.enterprise-field select[aria-invalid="true"],
.enterprise-field textarea[aria-invalid="true"] {
  box-shadow:
    0
    0
    0
    1px
    rgba(
      164,
      55,
      45,
      .62
    );
}


/* =========================================================
  SELECT
========================================================= */

.enterprise-select-wrap {
  position:
    relative;

  min-width:
    0;
}


.enterprise-select-wrap::after {
  content:
    "";

  position:
    absolute;

  top:
    50%;

  right:
    18px;

  width:
    7px;

  height:
    7px;

  border-right:
    1px
    solid
    var(--enterprise-secondary);

  border-bottom:
    1px
    solid
    var(--enterprise-secondary);

  transform:
    translateY(
      -70%
    )
    rotate(
      45deg
    );

  pointer-events:
    none;
}


.enterprise-field select {
  appearance:
    none;

  -webkit-appearance:
    none;

  padding-right:
    44px;

  cursor:
    pointer;
}


/* =========================================================
  FIELD ERRORS
========================================================= */

.enterprise-field-error {
  min-height:
    12px;

  color:
    #A4372D;

  font-size:
    10px;

  line-height:
    1.35;
}


/* =========================================================
  SUBMIT
========================================================= */

.enterprise-submit {
  width:
    100%;

  min-height:
    48px;

  margin-top:
    26px;

  padding:
    0
    20px;

  border:
    0;

  border-radius:
    var(--enterprise-radius);

  background:
    var(--enterprise-blue);

  color:
    #FFFFFF;

  font-size:
    12px;

  line-height:
    1;

  font-weight:
    600;

  cursor:
    pointer;

  transition:
    background-color
    160ms
    ease,
    transform
    180ms
    var(--enterprise-ease),
    opacity
    160ms
    ease;
}


.enterprise-submit:hover,
.enterprise-submit:focus-visible {
  background:
    #1245B3;
}


.enterprise-submit:active {
  transform:
    translateY(
      1px
    );
}


.enterprise-submit:disabled {
  opacity:
    .54;

  cursor:
    not-allowed;
}


/* =========================================================
  FORM STATUS
========================================================= */

.enterprise-form-status {
  min-height:
    18px;

  margin:
    15px
    0
    0;

  color:
    var(--enterprise-secondary);

  text-align:
    center;

  font-size:
    11px;

  line-height:
    1.5;
}


.enterprise-form-status.is-error {
  color:
    #A4372D;
}


.enterprise-form-status.is-success {
  color:
    #246139;
}


/* =========================================================
  CONSENT
========================================================= */

.enterprise-consent {
  margin:
    8px
    auto
    0;

  max-width:
    540px;

  color:
    var(--enterprise-soft);

  text-align:
    center;

  font-size:
    10px;

  line-height:
    1.6;
}


/* =========================================================
  PRIVACY STATEMENT
========================================================= */

.enterprise-consent a {
  position:
    relative;

  display:
    inline-block;

  padding-bottom:
    2px;

  color:
    var(--enterprise-text);

  text-decoration:
    none;

  transition:
    color
    180ms
    ease;
}


.enterprise-consent a::after {
  content:
    "";

  position:
    absolute;

  left:
    0;

  right:
    0;

  bottom:
    0;

  height:
    1px;

  background:
    currentColor;

  transform:
    scaleX(
      1
    );

  transform-origin:
    left
    center;

  transition:
    transform
    320ms
    var(--enterprise-ease);
}


.enterprise-consent a:hover,
.enterprise-consent a:focus-visible {
  color:
    var(--enterprise-soft);
}


.enterprise-consent a:hover::after,
.enterprise-consent a:focus-visible::after {
  transform:
    scaleX(
      0
    );
}


/* =========================================================
  SUPPORT LINK
========================================================= */

.enterprise-existing-account {
  margin-top:
    30px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  gap:
    8px;

  color:
    var(--enterprise-secondary);

  font-size:
    11px;

  line-height:
    1.4;

  text-align:
    center;
}


/* =========================================================
  SUPPORT LINK
========================================================= */

.enterprise-existing-account-link {
  display:
    inline-flex;

  align-items:
    center;

  gap:
    7px;

  color:
    var(--enterprise-blue);

  font-weight:
    550;

  text-decoration:
    none !important;

  transition:
    color
    170ms
    ease;
}


.enterprise-existing-account-link:hover,
.enterprise-existing-account-link:focus-visible {
  color:
    var(--enterprise-terracotta);

  text-decoration:
    none !important;
}


/* =========================================================
  SUPPORT ARROW
========================================================= */

.enterprise-existing-account-arrow {
  width:
    12px;

  height:
    12px;

  flex:
    0
    0
    12px;

  display:
    block;

  background-color:
    currentColor;

  -webkit-mask-image:
    url("../../assets/icons/arrow-right-363-svgrepo-com.svg");

  mask-image:
    url("../../assets/icons/arrow-right-363-svgrepo-com.svg");

  -webkit-mask-repeat:
    no-repeat;

  mask-repeat:
    no-repeat;

  -webkit-mask-position:
    center;

  mask-position:
    center;

  -webkit-mask-size:
    contain;

  mask-size:
    contain;

  transition:
    transform
    220ms
    var(--enterprise-ease);
}


.enterprise-existing-account-link:hover
.enterprise-existing-account-arrow,
.enterprise-existing-account-link:focus-visible
.enterprise-existing-account-arrow {
  transform:
    translateX(
      2px
    );
}


/* =========================================================
  VISUAL SIDE
========================================================= */

.enterprise-visual {
  position:
    relative;

  min-width:
    0;

  min-height:
    calc(
      100svh
      -
      var(
        --header-h,
        76px
      )
    );

  overflow:
    hidden;

  isolation:
    isolate;

  background:
    var(--enterprise-dark);
}


/* =========================================================
  VISUAL IMAGE
========================================================= */

.enterprise-visual-image {
  position:
    absolute;

  z-index:
    -3;

  inset:
    0;

  width:
    100%;

  height:
    100%;

  max-width:
    none;

  object-fit:
    cover;

  object-position:
    center;

  transform:
    scale(
      1.002
    );
}


/* =========================================================
  VISUAL SHADE
========================================================= */

.enterprise-visual-shade {
  position:
    absolute;

  z-index:
    -2;

  inset:
    0;

  pointer-events:
    none;

  background:
    linear-gradient(
      180deg,
      rgba(
        0,
        0,
        0,
        .01
      )
      0%,
      rgba(
        0,
        0,
        0,
        .015
      )
      48%,
      rgba(
        0,
        0,
        0,
        .50
      )
      100%
    );
}


/* =========================================================
  VISUAL COPY
========================================================= */

.enterprise-visual-copy {
  position:
    absolute;

  left:
    50%;

  bottom:
    clamp(
      46px,
      5vw,
      76px
    );

  width:
    min(
      calc(
        100%
        -
        72px
      ),
      760px
    );

  transform:
    translateX(
      -50%
    );

  text-align:
    center;

  color:
    #FFFFFF;
}


/* =========================================================
  VISUAL TITLE
========================================================= */

.enterprise-visual-copy h2 {
  margin:
    0;

  color:
    #FFFFFF;

  font-size:
    clamp(
      42px,
      4.7vw,
      68px
    );

  line-height:
    .96;

  letter-spacing:
    -.055em;

  font-weight:
    500;
}


/* =========================================================
  LEGAL FOOTER
========================================================= */

.enterprise-footer {
  width:
    100%;

  background:
    var(--enterprise-dark);
}


.enterprise-footer-legal {
  min-height:
    6px;

  color:
    #FFFFFF;
}


.enterprise-footer
.footer-legal-links a,
.enterprise-footer
.footer-legal-links button,
.enterprise-footer
.footer-copyright {
  color:
    rgba(
      255,
      255,
      255,
      .58
    );
}


.enterprise-footer
.footer-legal-links a:hover,
.enterprise-footer
.footer-legal-links a:focus-visible,
.enterprise-footer
.footer-legal-links button:hover,
.enterprise-footer
.footer-legal-links button:focus-visible {
  color:
    #FFFFFF;
}


/* =========================================================
  RESPONSIVE — 1180
========================================================= */

@media (max-width: 1180px) {

  .enterprise-form-side {
    padding-left:
      44px;

    padding-right:
      44px;
  }

}


/* =========================================================
  RESPONSIVE — 900
========================================================= */

@media (max-width: 900px) {

  .enterprise-layout {
    min-height:
      0;

    grid-template-columns:
      1fr;
  }


  /*
    Return to source order on smaller screens:
    form first, visual second.
  */

  .enterprise-form-side {
    grid-column:
      1;

    grid-row:
      1;

    padding:
      84px
      clamp(
        24px,
        7vw,
        70px
      )
      92px;

    justify-content:
      center;
  }


  .enterprise-visual {
    grid-column:
      1;

    grid-row:
      2;

    min-height:
      680px;
  }


  .enterprise-form-inner {
    width:
      min(
        100%,
        680px
      );
  }

}


/* =========================================================
  RESPONSIVE — 700
========================================================= */

@media (max-width: 700px) {

  /* =======================================================
    HEADER
  ======================================================== */

  .enterprise-header-inner {
    gap:
      18px;
  }


  .enterprise-header-actions {
    gap:
      13px;
  }


  .enterprise-sales span {
    display:
      none;
  }


  .enterprise-sales a {
    font-size:
      12px;
  }


  /* =======================================================
    FORM
  ======================================================== */

  .enterprise-form-side {
    padding:
      68px
      20px
      78px;
  }


  .enterprise-eyebrow {
    margin-bottom:
      16px;
  }


  .enterprise-intro h1 {
    font-size:
      clamp(
        40px,
        11vw,
        56px
      );
  }


  .enterprise-intro h1 span {
    white-space:
      normal;
  }


  .enterprise-intro > p:not(.enterprise-eyebrow) {
    margin-top:
      24px;
  }


  .enterprise-form {
    margin-top:
      46px;
  }


  .enterprise-form-grid {
    grid-template-columns:
      1fr;

    gap:
      21px;
  }


  .enterprise-field--wide {
    grid-column:
      auto;
  }


  .enterprise-field input,
  .enterprise-field select {
    height:
      56px;

    font-size:
      14px;
  }


  .enterprise-field textarea {
    font-size:
      14px;
  }


  .enterprise-existing-account {
    margin-top:
      28px;
  }


  /* =======================================================
    VISUAL
  ======================================================== */

  .enterprise-visual {
    min-height:
      580px;
  }


  .enterprise-visual-copy {
    width:
      calc(
        100%
        -
        40px
      );

    bottom:
      42px;
  }


  .enterprise-visual-copy h2 {
    font-size:
      clamp(
        38px,
        10.5vw,
        54px
      );
  }

}


/* =========================================================
  RESPONSIVE — 520
========================================================= */

@media (max-width: 520px) {

  .enterprise-header-email {
    display: grid;
  }

  .enterprise-sales {
    display:
      none;
  }


  .enterprise-header-actions {
    gap:
      10px;
  }


  .enterprise-form-side {
    padding-top:
      58px;
  }


  .enterprise-intro h1 {
    font-size:
      clamp(
        38px,
        10.5vw,
        50px
      );
  }


  .enterprise-submit {
    margin-top:
      22px;
  }


  .enterprise-existing-account {
    align-items:
      center;

    flex-wrap:
      wrap;

    row-gap:
      5px;
  }


  .enterprise-visual {
    min-height:
      520px;
  }


  .enterprise-footer-legal {
    padding-top:
      16px;

    padding-bottom:
      16px;
  }

}


/* =========================================================
  REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration:
      .01ms !important;

    animation-iteration-count:
      1 !important;

    transition-duration:
      .01ms !important;
  }


  .enterprise-consent a::after,
  .enterprise-existing-account-arrow {
    transition:
      none;
  }

}
