:root {
  /* base */
  --register-body-color: #0A0A0A;
  --register-body-font: "Geist", sans-serif;
  --register-body-fs: 12px;
  --register-body-bg: #EEE;

  /* left */
  --register-left-bg: #EEE;
  --register-left-margin-bottom: 48px;
  --register-left-min-width: 360px;

  /* logo */
  --register-logo-padding: 20px;
  --register-logo-img-width: 80px;
  --register-logo-img-ml: 12px;
  --register-logo-img-mt: 8px;

  /* form */
  --register-form-max-width: 500px;
  --register-form-padding: 20px;
  --register-form-gap: 16px;
  --register-form-color: #000;
  --register-form-h1-fs: 24px;
  --register-form-h1-font: "Inter", sans-serif;
  --register-form-h1-fw: 600;

  /* form-row */
  --register-form-row-gap: 8px;

  /* input */
  --register-input-padding-y: 8px;
  --register-input-padding-x: 10px;
  --register-input-radius: 8px;
  --register-input-placeholder-color: #18181B;
  --register-input-placeholder-fs: 14px;
  --register-input-fs: 12px;

  /* checkbox */
  --register-checkbox-color: #222;
  --register-checkbox-fw: 600;
  --register-checkbox-mr: 10px;
  --register-checkbox-size: 14px;

  /* submit button */
  --register-submit-padding-y: 8px;
  --register-submit-padding-x: 12px;
  --register-submit-bg: #000;
  --register-submit-color: #fff;
  --register-submit-radius: 8px;
  --register-submit-scale: 0.95;
  --register-submit-fs: 12px;

  /* alt + bottom links */
  --register-alt-color: #222;
  --register-alt-fw: 600;
  --register-bottom-bottom: 20px;
  --register-bottom-fs: 11px;
  --register-bottom-color: #000;
  --register-bottom-fw: 600;

  /* right side */
  --register-right-bg: #18181B;
  --register-right-color: #fff;
  --register-right-padding-top: 66px;
  --register-right-min-width: 700px;
  --register-right-min-height: 900px;
  --register-right-header-fs: 72px;
  --register-right-header-fw: 400;
  --register-right-header-line-height: 1.2;
  --register-right-header-mt: 10px;

  /* art */
  --register-art-height-offset: 370px;
  --register-art-min-width: 600px;
  --register-svg-height-offset: 300px;
}

/* Reset & base */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  height: 100%;
  overflow: hidden;
  color: var(--register-body-color);
  font-family: var(--register-body-font);
  font-size: var(--register-body-fs);
  background: var(--register-body-bg);
}

.container { display: flex; height: 100vh; }
.left, .right { flex: 1; position: relative; }

/* Left Side */
.left {
  background: var(--register-left-bg);
  display: flex;
  flex-direction: column;
  padding-bottom: var(--register-left-margin-bottom);
  min-width: var(--register-left-min-width);
}
.logo { padding: var(--register-logo-padding); display: flex; }
.logo img {
  width: var(--register-logo-img-width);
  margin-left: var(--register-logo-img-ml);
  margin-top: var(--register-logo-img-mt);
}
.content { flex: 1; display: flex; align-items: center; justify-content: center; }

.form-wrapper {
  max-width: var(--register-form-max-width);
  padding: var(--register-form-padding);
  display: flex;
  flex-direction: column;
  color: var(--register-form-color);
  gap: var(--register-form-gap);
}
.form-wrapper h1 {
  font-size: var(--register-form-h1-fs);
  text-align: center;
  font-family: var(--register-form-h1-font);
  font-weight: var(--register-form-h1-fw);
}
.form-row { display: flex; gap: var(--register-form-row-gap); }
.form-wrapper input[type="text"],
.form-wrapper input[type="email"],
.form-wrapper input[type="password"] {
  width: 100%;
  padding: var(--register-input-padding-y) var(--register-input-padding-x);
  border: 0px solid #ccc;
  outline: none;
  border-radius: var(--register-input-radius);
  font-size: var(--register-input-fs);
}
.form-wrapper input::placeholder { color: var(--register-input-placeholder-color); }
.form-wrapper .placeholder { color: var(--register-input-placeholder-color) !important; }

.checkbox-wrapper {
  display: flex;
  align-content: center;
  justify-content: flex-end;
  align-self: flex-end;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--register-checkbox-color);
  font-weight: var(--register-checkbox-fw);
  text-decoration-line: underline;
  text-decoration-skip-ink: none;
}
.checkbox-wrapper input { margin-right: var(--register-checkbox-mr); width: var(--register-checkbox-size); height: var(--register-checkbox-size);}

.submit-button {
  padding: var(--register-submit-padding-y) var(--register-submit-padding-x);
  background: var(--register-submit-bg);
  color: var(--register-submit-color);
  border: none;
  border-radius: var(--register-submit-radius);
  cursor: pointer;
  transition: transform 100ms ease-out;
  font-size: var(--register-submit-fs);
}
.submit-button.pressed { transform: scale(var(--register-submit-scale)); }

.alt-link { text-align: center; }
.alt-link a {
  color: var(--register-alt-color);
  font-weight: var(--register-alt-fw);
  text-decoration-line: underline;
  text-decoration-skip-ink: none;
}
.bottom-link {
  bottom: var(--register-bottom-bottom);
  width: 100%;
  text-align: center;
  font-size: var(--register-bottom-fs);
  text-decoration-line: underline;
  text-decoration-skip-ink: none;
}
.bottom-link a { text-decoration: none; color: var(--register-bottom-color); font-weight: var(--register-bottom-fw); }

/* Right Side */
.right {
  flex: 1;
  background: var(--register-right-bg);
  color: var(--register-right-color);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  height: 100vh;
  position: relative;
  padding-top: var(--register-right-padding-top);
  min-width: var(--register-right-min-width);
  min-height: var(--register-right-min-height);
}
.right-header h2 {
  font-size: var(--register-right-header-fs);
  font-weight: var(--register-right-header-fw);
  margin: 0;
  line-height: var(--register-right-header-line-height);
}
.right-header .top-line { display: block; text-align: left; }
.right-header .bottom-line { display: block; text-align: left; margin-top: var(--register-right-header-mt); }

.art-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  height: calc(100vh - var(--register-art-height-offset));
  min-width: var(--register-art-min-width);
}
.svg-object { width: 100%; height: calc(100vh - var(--register-svg-height-offset)); }

/* Placeholder sizes */
input::placeholder,
input::-webkit-input-placeholder,
input::-moz-placeholder,
input:-moz-placeholder,
input:-ms-input-placeholder {
  font-size: var(--register-input-placeholder-fs);
}

/* 1920 × 1080 */
@media (min-width: 1920px) {
  :root {
    --register-body-fs: clamp(12px, 1.1vw, 16px);

    --register-left-margin-bottom: clamp(48px, 3.5vw, 64px);
    --register-left-min-width: clamp(360px, 22vw, 480px);

    --register-logo-padding: clamp(20px, 2vw, 30px);
    --register-logo-img-width: clamp(80px, 6vw, 110px);
    --register-logo-img-ml: clamp(12px, 1.5vw, 18px);
    --register-logo-img-mt: clamp(8px, 1vw, 12px);

    --register-form-max-width: clamp(500px, 40vw, 640px);
    --register-form-padding: clamp(20px, 2vw, 30px);
    --register-form-gap: clamp(16px, 1.6vw, 22px);
    --register-form-h1-fs: clamp(24px, 2.4vw, 32px);

    --register-form-row-gap: clamp(8px, 1vw, 12px);

    --register-input-padding-y: clamp(8px, 1vw, 12px);
    --register-input-padding-x: clamp(10px, 1vw, 14px);
    --register-input-radius: clamp(8px, 1vw, 12px);
    --register-input-placeholder-fs: clamp(14px, 1.2vw, 17px);
    --register-input-fs: clamp(12px, 1.2vw, 16px);

    --register-checkbox-mr: clamp(10px, 1vw, 14px);
    --register-checkbox-size: clamp(14px, 1.3vw, 18px);

    --register-submit-padding-y: clamp(8px, 1vw, 12px);
    --register-submit-padding-x: clamp(12px, 1vw, 16px);
    --register-submit-radius: clamp(8px, 1vw, 12px);
    --register-submit-fs: clamp(12px, 1.2vw, 16px);

    --register-bottom-bottom: clamp(20px, 2vw, 30px);
    --register-bottom-fs: clamp(11px, 1vw, 14px);
  }
}

/* 2560 × 1440 */
@media (min-width: 2560px) {
  :root {
    --register-body-fs: clamp(16px, 1.2vw, 20px);

    --register-left-margin-bottom: clamp(64px, 4vw, 80px);
    --register-left-min-width: clamp(480px, 25vw, 600px);

    --register-logo-padding: clamp(30px, 2vw, 40px);
    --register-logo-img-width: clamp(110px, 7vw, 140px);
    --register-logo-img-ml: clamp(18px, 1.5vw, 24px);
    --register-logo-img-mt: clamp(12px, 1vw, 16px);

    --register-form-max-width: clamp(640px, 45vw, 800px);
    --register-form-padding: clamp(30px, 2.2vw, 40px);
    --register-form-gap: clamp(22px, 2vw, 28px);
    --register-form-h1-fs: clamp(32px, 3vw, 40px);

    --register-form-row-gap: clamp(12px, 1.2vw, 16px);

    --register-input-padding-y: clamp(12px, 1.2vw, 14px);
    --register-input-padding-x: clamp(14px, 1.4vw, 18px);
    --register-input-radius: clamp(12px, 1vw, 14px);
    --register-input-placeholder-fs: clamp(17px, 1.4vw, 20px);
    --register-input-fs: clamp(16px, 1.4vw, 20px);

    --register-checkbox-mr: clamp(14px, 1.2vw, 16px);
    --register-checkbox-size: clamp(18px, 1.4vw, 22px);

    --register-submit-padding-y: clamp(12px, 1.2vw, 14px);
    --register-submit-padding-x: clamp(16px, 1.4vw, 24px);
    --register-submit-radius: clamp(12px, 1.2vw, 14px);
    --register-submit-fs: clamp(16px, 1.4vw, 20px);

    --register-bottom-bottom: clamp(30px, 2.2vw, 40px);
    --register-bottom-fs: clamp(14px, 1.4vw, 18px);

    --register-right-padding-top: clamp(66px, 5vw, 90px);
    --register-right-min-width: clamp(700px, 50vw, 950px);
    --register-right-min-height: clamp(900px, 60vw, 1200px);
    --register-right-header-fs: clamp(72px, 6vw, 100px);
    --register-right-header-mt: clamp(10px, 1vw, 15px);

    --register-art-height-offset: clamp(370px, 28vw, 500px);
    --register-art-min-width: clamp(600px, 50vw, 900px);
    --register-svg-height-offset: clamp(300px, 24vw, 400px);
  }
}


/* 4K adjustments */
@media (min-width: 3840px) {
  :root {
    --register-body-fs: 20px;

    --register-left-margin-bottom: 80px;
    --register-left-min-width: 600px;

    --register-logo-padding: 40px;
    --register-logo-img-width: 140px;
    --register-logo-img-ml: 24px;
    --register-logo-img-mt: 16px;

    --register-form-max-width: 800px;
    --register-form-padding: 40px;
    --register-form-gap: 28px;
    --register-form-h1-fs: 40px;

    --register-form-row-gap: 16px;

    --register-input-padding-y: 14px;
    --register-input-padding-x: 18px;
    --register-input-radius: 14px;
    --register-input-placeholder-fs: 20px;
    --register-input-fs: 20px;

    /* --register-checkbox-fw: 600; */
    --register-checkbox-mr: 16px;
    --register-checkbox-size: 22px;

    --register-submit-padding-y: 14px;
    --register-submit-padding-x: 24px;
    --register-submit-radius: 14px;
    --register-submit-fs: 20px;

    --register-alt-fw: 600;
    --register-bottom-bottom: 40px;
    --register-bottom-fs: 18px;

    --register-right-padding-top: 120px;
    --register-right-min-width: 1200px;
    --register-right-min-height: 1600px;
    --register-right-header-fs: 120px;
    --register-right-header-mt: 20px;

    --register-art-height-offset: 640px;
    --register-art-min-width: 1200px;
    --register-svg-height-offset: 520px;
  }
}
