:root {
  color-scheme: light;
  --ink: #101215;
  --muted: #626871;
  --line: rgba(25, 35, 48, .14);
  --blue: #1676e8;
  --blue-dark: #075cbf;
  --glass: rgba(255, 255, 255, .76);
}

* { box-sizing: border-box; }

html, body { min-width: 320px; min-height: 100%; }

body {
  margin: 0;
  background: #eef4fb;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }

.storefront {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  overflow: hidden;
  background: #f4f8fd;
}

.product-scene {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: #eff5fc url("/tech-workspace.png") center center / cover no-repeat;
  animation: arrive 1.25s cubic-bezier(.2,.75,.2,1) both;
}

.storefront::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247,250,254,.98) 0%, rgba(247,250,254,.91) 29%, rgba(247,250,254,.2) 54%, rgba(247,250,254,0) 74%),
    linear-gradient(180deg, rgba(247,250,254,.5) 0%, transparent 24%, transparent 72%, rgba(241,246,252,.66) 100%);
  pointer-events: none;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 27px clamp(30px, 4.6vw, 76px);
}

.brand img {
  display: block;
  width: clamp(180px, 15.5vw, 236px);
  height: auto;
  filter: brightness(0);
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid rgba(18, 41, 65, .1);
  border-radius: 999px;
  background: rgba(255,255,255,.5);
  color: #3b4652;
  font-size: 12px;
  font-weight: 650;
  backdrop-filter: blur(14px);
}

.availability i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2db873;
}

.domain {
  color: #707781;
  font-size: 12px;
  font-weight: 600;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 38px;
  width: min(780px, 52vw);
  padding: 30px 0 48px clamp(30px, 6.5vw, 108px);
}

.hero-copy { max-width: 650px; }

.eyebrow {
  margin: 0 0 17px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: .15em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 700px;
  font-size: clamp(52px, 5.45vw, 88px);
  font-weight: 630;
  letter-spacing: -.063em;
  line-height: .94;
  text-wrap: balance;
}

h1 span {
  color: #707b88;
  font-weight: 500;
}

.intro {
  max-width: 540px;
  margin: 23px 0 0;
  color: #606871;
  font-size: 17px;
  line-height: 1.55;
}

.login-dock {
  position: relative;
  width: min(100%, 760px);
  padding: 24px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 24px;
  background: var(--glass);
  box-shadow: 0 24px 72px rgba(55,75,96,.17), inset 0 1px 0 rgba(255,255,255,.9);
  backdrop-filter: blur(26px) saturate(125%);
}

.login-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.login-heading p,
.access-note {
  margin: 0;
  color: #818995;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.login-heading h2 {
  order: -1;
  margin: 0;
  font-size: 22px;
  font-weight: 680;
  letter-spacing: -.025em;
}

form {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) minmax(170px, 1fr) 148px;
  gap: 12px;
  align-items: end;
}

.field label {
  display: block;
  margin: 0 0 8px 2px;
  color: #424850;
  font-size: 14px;
  font-weight: 650;
}

.password-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.password-label button {
  margin: 0 2px 8px 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

input {
  width: 100%;
  height: 52px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: 0;
  background: rgba(255,255,255,.79);
  color: var(--ink);
  font-size: 16px;
  box-shadow: inset 0 1px 1px rgba(23,38,53,.025);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

input:hover { background: rgba(255,255,255,.94); }

input:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(22,118,232,.1);
}

input[aria-invalid="true"] {
  border-color: #d9534f;
  box-shadow: 0 0 0 4px rgba(217,83,79,.09);
}

.login-button {
  height: 52px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(22,118,232,.22);
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.login-button:hover {
  transform: translateY(-1px);
  background: var(--blue-dark);
  box-shadow: 0 15px 30px rgba(22,118,232,.28);
}

.login-button:active { transform: translateY(0); }
.login-button:disabled { opacity: .58; cursor: wait; transform: none; }

.form-status {
  grid-column: 1 / -1;
  min-height: 0;
  margin: 0;
  color: #b04440;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.form-status:not(:empty) { min-height: 18px; margin-top: 2px; }

.access-note { margin-top: 16px; color: #9198a1; }

.supplier-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 34px;
  min-height: 72px;
  padding: 16px clamp(30px, 4.6vw, 76px);
  border-top: 1px solid rgba(21,36,52,.08);
  background: rgba(247,250,254,.7);
  backdrop-filter: blur(20px);
}

.supplier-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  max-width: 920px;
  color: #6c747e;
}

.supplier-logo {
  display: block;
  width: auto;
  height: 27px;
  max-width: 88px;
  object-fit: contain;
  opacity: .66;
}

.supplier-logo--apple { height: 29px; }
.supplier-logo--hp,
.supplier-logo--dell { height: 31px; }
.supplier-logo--lenovo { width: 78px; }
.supplier-logo--microsoft { height: 25px; }
.supplier-logo--cisco { height: 30px; }
.supplier-logo--logitech { width: 91px; max-width: 91px; }
.supplier-logo--samsung { width: 87px; max-width: 87px; }

.supplier-bar p {
  margin: 0;
  color: #9198a1;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .055em;
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes arrive {
  from { opacity: .35; transform: scale(1.025); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 1080px) {
  .hero { width: min(780px, 66vw); padding-left: 42px; }
  .storefront::before {
    background: linear-gradient(90deg, rgba(247,250,254,.98) 0%, rgba(247,250,254,.87) 42%, rgba(247,250,254,.08) 78%);
  }
  .supplier-list .supplier-logo:nth-child(6),
  .supplier-list .supplier-logo:nth-child(8) { display: none; }
}

@media (max-width: 900px) {
  .storefront { display: block; min-height: 100vh; overflow: visible; }
  .product-scene {
    position: absolute;
    height: 450px;
    background-position: 58% center;
    background-size: auto 450px;
  }
  .storefront::before {
    height: 450px;
    background: linear-gradient(90deg, rgba(247,250,254,.96) 0%, rgba(247,250,254,.72) 50%, rgba(247,250,254,.02) 100%);
  }
  .site-header { padding: 25px 28px; }
  .domain { display: none; }
  .hero { width: 100%; padding: 58px 28px 42px; }
  .hero-copy { max-width: 480px; min-height: 276px; }
  h1 { font-size: clamp(46px, 8vw, 66px); }
  .intro { max-width: 420px; font-size: 16px; }
  .login-dock { width: 100%; margin-top: 24px; background: rgba(255,255,255,.88); }
  form { grid-template-columns: 1fr 1fr; }
  .login-button { grid-column: 1 / -1; }
  .supplier-bar { grid-template-columns: 1fr; gap: 20px; background: #f7fafe; }
  .supplier-bar p { order: 2; }
}

@media (max-width: 600px) {
  .product-scene { height: 410px; background-position: 63% center; opacity: .72; }
  .storefront::before { height: 410px; background: linear-gradient(90deg, rgba(247,250,254,.97), rgba(247,250,254,.62)); }
  .site-header { padding: 21px 20px; }
  .brand img { width: 165px; }
  .availability { padding: 7px 10px; font-size: 11px; }
  .hero { padding: 48px 18px 36px; }
  .hero-copy { min-height: 266px; }
  h1 { font-size: 45px; }
  .intro { font-size: 15px; }
  .login-dock { padding: 21px 17px; border-radius: 20px; }
  .login-heading { display: block; }
  .login-heading p { margin-top: 8px; }
  form { grid-template-columns: 1fr; }
  .login-button { grid-column: auto; }
  .supplier-bar { padding: 24px 20px; }
  .supplier-list { display: grid; grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
  .supplier-logo { justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
