@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/poppins-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2192, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/poppins-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2192, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/poppins-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2192, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/poppins-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2192, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/poppins-latin-800.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2192, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("assets/fonts/poppins-latin-900.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2192, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #101212;
}

body {
  min-width: 320px;
  margin: 0;
  font-family: Poppins, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
  flex: 0 0 auto;
}

.login-shell {
  --era-paper: #f3f4f0;
  --era-muted: #9b9e9b;
  --era-jade: #6ad2a5;
  display: grid;
  grid-template-columns: minmax(0,1.6fr) minmax(0,1fr);
  min-height: 100svh;
  background: #101212;
  color: var(--era-paper);
}

.hero-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #0b0d0e;
}

.hero-panel::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,rgb(6 9 9/18%),transparent 35%,transparent 80%,rgb(6 9 9/65%));
  pointer-events: none;
}

.brand-header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 38px clamp(32px,3.6vw,70px);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .025em;
  color: #c0c6c1;
}

.brand-header img {
  width: 32px;
  height: 32px;
  -o-object-fit: contain;
  object-fit: contain;
}

.brand-divider {
  width: 1px;
  height: 18px;
  background: rgb(255 255 255/20%);
}

.hero-copy {
  position: relative;
  padding: clamp(24px,4.2vh,52px) clamp(32px,6.1vw,118px) 0;
}

.eyebrow {
  margin: 0 0 19px;
  color: #afb9b3;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .24em;
}

.hero-copy h1 {
  margin: 0 0 19px -8px;
  font-size: clamp(115px,11.8vw,196px);
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.09em;
}

.title-dot {
  color: #d4eadb;
}

.hero-caption {
  margin: 0;
  font-size: clamp(16px,1.37vw,23px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -.035em;
  color: #d6dcd7;
}

.hero-footnote {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: auto;
  padding: 42px clamp(32px,3.6vw,70px);
  font-size: 11px;
  letter-spacing: .015em;
  color: #c1c8c2;
}

.scene-edition {
  margin-left: auto;
  font-size: 9px;
  letter-spacing: .18em;
  color: #a6afa8;
}

.color-signature {
  display: flex;
  gap: 5px;
}

.color-signature i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #599981;
}

.color-signature i:nth-child(2) {
  background: #c38572;
}

.color-signature i:nth-child(3) {
  background: #d3af57;
}

.form-panel {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding: 33px clamp(30px,4.3vw,84px) 26px;
  border-left: 1px solid rgb(255 255 255/7%);
  background: #101212;
}

.access-top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 44px;
}

.partner-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid #353838;
  border-radius: 999px;
  color: #c3c6c2;
  font-size: 11px;
  transition: border-color .2s,color .2s,background .2s;
}

.partner-link:hover {
  border-color: #606a62;
  background: #191d1b;
  color: #fff;
}

.recovery-link:focus-visible,.panel-footer a:focus-visible,.partner-link:focus-visible,.request-access a:focus-visible {
  outline: 2px solid var(--era-jade);
  outline-offset: 5px;
  border-radius: 3px;
}

.login-card {
  width: 100%;
  max-width: 386px;
  margin: auto;
  padding: 58px 0 70px;
}

.access-eyebrow {
  display: block;
  color: #94b7a3;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .2em;
}

.form-heading h2 {
  margin: 15px 0 12px;
  color: var(--era-paper);
  font-size: clamp(25px,2.05vw,36px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.055em;
}

.form-heading p {
  color: var(--era-muted);
  margin: 0;
  font-size: 12px;
  line-height: 1.8;
}

.login-form {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 23px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.field label {
  color: #d2d5d0;
  font-size: 11px;
  font-weight: 500;
}

.field input {
  width: 100%;
  height: 54px;
  border: 1px solid #353a36;
  border-radius: 11px;
  background: #191c1a;
  color: var(--era-paper);
  padding: 0 17px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color .2s,box-shadow .2s,background .2s;
}

.field input::-moz-placeholder {
  color: #858d86;
}

.field input::placeholder {
  color: #858d86;
}

.field input:hover {
  border-color: #4b554d;
}

.field input:focus {
  border-color: var(--era-jade);
  box-shadow: 0 0 0 3px rgb(106 210 165/12%);
  background: #1c211e;
}

.field input[aria-invalid=true] {
  border-color: #c78e81;
}

.field input:-webkit-autofill {
  -webkit-text-fill-color: var(--era-paper);
  -webkit-box-shadow: inset 0 0 0 1000px #191c1a;
  caret-color: var(--era-paper);
}

.field-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.recovery-link {
  padding: 3px 0;
  margin: -3px 0;
  color: #b0b6af;
  font-size: 10px;
  transition: color .2s;
}

.recovery-link:hover {
  color: #fff;
}

.password-field {
  position: relative;
}

.field .password-input {
  padding-right: 52px;
}

.reveal-password {
  position: absolute;
  top: 5px;
  right: 5px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #a4aca5;
  cursor: pointer;
}

.reveal-password:hover {
  color: #e8ede9;
  background: rgb(255 255 255/4%);
}

.reveal-password:focus-visible {
  outline: 2px solid var(--era-jade);
  outline-offset: -3px;
}

.login-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 54px;
  padding: 0 22px;
  margin-top: 5px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #ecefe7;
  color: #152019;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s,transform .2s,box-shadow .2s;
}

.login-button:hover {
  background: #fff;
  box-shadow: 0 4px 24px rgb(191 215 194/8%);
}

.login-button:active {
  transform: scale(.985);
}

.login-button:focus-visible {
  outline: 2px solid var(--era-jade);
  outline-offset: 5px;
}

.login-button:disabled {
  cursor: wait;
  opacity: .65;
  transform: none;
}

.request-access {
  margin: 27px 0 0;
  color: #9da49d;
  font-size: 10px;
  line-height: 1.8;
  text-align: center;
}

.request-access a {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #d5dfd6;
  white-space: nowrap;
}

.request-access a:hover {
  color: #fff;
}

.panel-footer {
  margin: 0 auto;
  width: 100%;
  max-width: 440px;
  color: #929a92;
  font-size: 9px;
}

.panel-footer nav {
  gap: 5px 14px;
}

.panel-footer a {
  text-decoration: none;
}

.panel-footer p {
  margin-top: 13px;
  font-size: 9px;
  color: #7f877f;
}

@media (min-width:1600px) {
  .form-heading p {
    font-size: 14px;
  }

  .field label {
    font-size: 12px;
  }

  .recovery-link,.request-access {
    font-size: 11px;
  }

  .panel-footer {
    font-size: 10px;
  }
}

@media (min-width:768px) and (max-width:1023px) {
  .login-shell {
    grid-template-columns: 48% 52%;
  }

  .brand-header {
    padding: 28px;
    gap: 10px;
  }

  .brand-generation {
    font-size: 9px;
  }

  .hero-copy {
    padding: 60px 30px 0;
  }

  .hero-copy h1 {
    font-size: 126px;
  }

  .hero-caption {
    font-size: 17px;
  }

  .hero-footnote {
    padding: 30px;
  }

  .scene-edition {
    display: none;
  }

  .form-panel {
    padding: 24px 32px;
  }

  .form-heading h2 {
    font-size: 29px;
  }
}

@media (max-width:767px) {
  .login-shell {
    display: block;
  }

  .hero-panel {
    min-height: 0;
    height: 270px;
  }

  .brand-header {
    padding: max(20px,env(safe-area-inset-top)) 25px 0;
    gap: 11px;
  }

  .brand-header img {
    width: 26px;
    height: 26px;
  }

  .brand-divider,.brand-generation {
    display: none;
  }

  .hero-panel::before {
    background: linear-gradient(90deg,rgb(7 10 9/80%),rgb(7 10 9/10%) 72%);
  }

  .hero-copy {
    padding: 31px 26px 0;
  }

  .eyebrow {
    display: none;
  }

  .hero-copy h1 {
    margin: 0 0 11px -4px;
    font-size: 88px;
  }

  .hero-caption {
    max-width: 220px;
    font-size: 12px;
    line-height: 1.7;
  }

  .hero-footnote {
    display: none;
  }

  .form-panel {
    min-height: calc(100svh - 270px);
    border-left: 0;
    border-top: 1px solid rgb(255 255 255/8%);
    padding: 25px 26px max(24px,env(safe-area-inset-bottom));
  }

  .access-top {
    position: absolute;
    top: max(17px,env(safe-area-inset-top));
    right: 18px;
  }

  .partner-link {
    min-height: 44px;
    font-size: 10px;
    padding: 0 12px;
    background: rgb(10 14 12/60%);
    border-color: rgb(255 255 255/18%);
    backdrop-filter: blur(10px);
  }

  .login-card {
    max-width: 400px;
    padding: 15px 0 40px;
  }

  .access-eyebrow {
    display: none;
  }

  .form-heading h2 {
    font-size: 29px;
    margin: 0 0 9px;
  }

  .form-heading p {
    font-size: 12px;
  }

  .login-form {
    margin-top: 28px;
    gap: 22px;
  }

  .field label {
    font-size: 12px;
  }

  .field input {
    height: 54px;
    font-size: 16px;
  }

  .recovery-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin: -16px 0;
    font-size: 11px;
  }

  .login-button {
    height: 54px;
    font-size: 14px;
  }

  .request-access {
    margin-top: 23px;
    font-size: 11px;
  }

  .request-access a {
    min-height: 44px;
  }

  .panel-footer {
    margin-top: auto;
    font-size: 10px;
  }

  .panel-footer nav {
    gap: 0 14px;
  }

  .panel-footer a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .panel-footer p {
    margin-top: 7px;
    font-size: 9px;
  }
}

@media (min-width:768px) and (max-height:760px) {
  .brand-header {
    padding-top: 26px;
    padding-bottom: 20px;
  }

  .hero-copy {
    padding-top: 18px;
  }

  .hero-copy h1 {
    font-size: clamp(100px,10vw,150px);
  }

  .hero-caption {
    font-size: 17px;
  }

  .hero-footnote {
    padding-top: 24px;
    padding-bottom: 26px;
  }

  .form-panel {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .login-card {
    padding: 30px 0 35px;
  }

  .login-form {
    margin-top: 27px;
    gap: 20px;
  }
}

@media (hover:none) and (pointer:coarse) {
  .field input {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .field input,.partner-link,.login-button {
    transition: none;
  }
}

/* El encargo usa la foto AMAI a panel completo, sin la mascara de Era. */
.hero-art {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background-image: url("assets/ARDAILY_HERO-AMAI_2026-10-10.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 8%;
  pointer-events: none;
}

.hero-panel::before {
  z-index: 1;
  background: linear-gradient(180deg, rgba(6, 9, 9, 0.18), rgba(6, 9, 9, 0.12) 40%, transparent 68%);
  content: "";
}

.brand-header,
.hero-copy,
.hero-footnote {
  z-index: 2;
}

.hero-copy {
  margin: 0;
}

.brand-mark {
  display: block;
}

.form-panel {
  position: relative;
}

.partner-link,
.recovery-link,
.reveal-password {
  font-family: inherit;
  cursor: pointer;
}

.recovery-link {
  border: 0;
  background: none;
  font-weight: 400;
  line-height: inherit;
}

.partner-link {
  background: transparent;
}

.panel-footer {
  line-height: 20px;
}

.panel-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.panel-footer p {
  margin-bottom: 0;
  text-align: center;
}

.prototype-note {
  color: #929a92;
}

.form-status {
  margin: 10px 0 0;
  color: #c4dfce;
  font-size: 11px;
  line-height: 1.6;
}

.form-status[hidden] {
  display: none;
}

@media (max-width: 767px) {
  /* La altura conserva el emblema entero del asset vertical en 320 y 390 px. */
  .hero-panel {
    height: clamp(480px, 143.6vw, 560px);
  }

  .brand-divider,
  .brand-generation {
    display: block;
  }

  .brand-header img {
    width: 32px;
    height: 32px;
  }

  .brand-generation {
    font-size: 11px;
  }

  .hero-copy h1 {
    font-size: clamp(72px, 22.56vw, 88px);
  }

  .form-panel {
    min-height: calc(100svh - clamp(480px, 143.6vw, 560px));
  }

  .access-top {
    position: static;
    margin-bottom: 20px;
  }
}

@media (max-width: 360px) {
  .hero-copy {
    padding-top: 20px;
  }
}
