:root {
  color-scheme: light;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: #141819;
  background: #f8f8f7;
}

* { box-sizing: border-box; }
body { margin: 0; }

.layout {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 44% minmax(0, 1fr);
}

.visual {
  min-width: 0;
  position: relative;
  overflow: hidden;
  background: #202526;
}

.visual img {
  position: absolute;
  inset: 0;
  display: block;
  width: 227.15%;
  height: 100%;
}

/* The approved mockup contains both panels; only its illustration is displayed. */
@supports (object-view-box: inset(0)) {
  .visual img {
    width: 100%;
    object-fit: cover;
    object-view-box: inset(0 55.98% 0 0);
  }
}

.brand {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.login {
  display: grid;
  align-items: center;
  padding: 4rem clamp(2.5rem, 5vw, 6rem);
  min-width: 0;
}

.login-content {
  width: 100%;
  max-width: 52rem;
  margin-inline: auto;
}

h1 {
  margin: 0 0 2.75rem;
  font-size: 4.25rem;
  line-height: 1.04;
  letter-spacing: 0;
  font-weight: 750;
}

.email, summary {
  display: flex;
  align-items: center;
  min-height: 4.5rem;
  gap: 0.9rem;
  border-radius: 8px;
}

.email {
  border: 1.5px solid #9da1a4;
  padding-inline: 1.25rem;
  background: #fff;
  color: #343c3e;
}

svg {
  flex: none;
  width: 1.8rem;
  height: 1.8rem;
}

input {
  width: 100%;
  min-width: 0;
  background: transparent;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  font-size: 1.5rem;
  font-weight: 600;
}

input::placeholder { color: #434b4d; opacity: 1; }

.email:focus-within, summary:focus-visible {
  outline: 3px solid #14675c;
  outline-offset: 4px;
}

input:focus { outline: none; }

.access {
  position: relative;
  margin-top: 1.7rem;
}

summary {
  justify-content: center;
  padding: 0.85rem 1.25rem;
  list-style: none;
  cursor: pointer;
  background: #176053;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
}

summary::-webkit-details-marker { display: none; }
summary:hover { background: #114d43; }

.access p {
  margin: 0;
  position: absolute;
  inset-inline: 0;
  top: calc(100% + 0.75rem);
  color: #414b4c;
  font-size: 1rem;
}

@media (max-width: 1000px) {
  h1 { font-size: 3.5rem; }
}

@media (max-width: 680px) {
  .layout { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .visual { padding: 1.35rem 1.5rem; }
  .visual img { display: none; }
  .brand {
    position: static;
    width: auto;
    height: auto;
    clip-path: none;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
  }
  .login { padding: 3rem 1.5rem 5rem; }
  h1 { font-size: 2.65rem; margin-bottom: 1.65rem; }
  .email, summary { min-height: 3.6rem; }
  input, summary { font-size: 1.1rem; }
  svg { width: 1.35rem; height: 1.35rem; }
  .access { margin-top: 1rem; }
}
