:root {
  --blue: #0e568c;
  --blue-deep: #0b446e;
  --green: #187a3a;
  --ink: #122433;
  --muted: #4c6270;
  --faint: #6b7e8c;
  --paper: #eef3f5;
  --card: rgba(255, 255, 255, 0.78);
  --font: "Readex Pro", "Segoe UI", Tahoma, sans-serif;
  --display: "Alexandria", "Readex Pro", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  min-height: 100dvh;
  padding: 22px;
  color: var(--ink);
  font-family: var(--font);
  background:
    radial-gradient(circle at 88% 0%, rgba(14, 86, 140, 0.18), transparent 34%),
    radial-gradient(circle at 6% 100%, rgba(24, 122, 58, 0.16), transparent 32%),
    linear-gradient(180deg, #f7fafb 0%, var(--paper) 100%);
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(14, 86, 140, 0.09) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at 50% 42%, #000 12%, transparent 72%);
}

::selection {
  background: #d7edc9;
  color: var(--blue-deep);
}

.page {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 44px);
  min-height: calc(100dvh - 44px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--blue-deep);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.dot {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #2f9e4f, #0e568c);
  box-shadow: 0 0 0 4px rgba(14, 86, 140, 0.1);
}

.site-mark a,
footer a {
  color: inherit;
  text-decoration: none;
}

.site-mark a:hover,
footer a:hover,
.forgot a:hover {
  text-decoration: underline;
}

main {
  width: min(100%, 40rem);
  min-width: 0;
  margin-block: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.4rem 0.2rem 1.6rem;
}

.logo {
  width: min(168px, 46vw);
  height: auto;
  margin-bottom: 1.15rem;
  filter: drop-shadow(0 18px 28px rgba(12, 48, 80, 0.14));
}

.logo-small {
  width: min(112px, 32vw);
  margin-bottom: 0.85rem;
}

.soon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.95rem;
  padding: 0.38rem 0.85rem;
  border: 1px solid rgba(24, 122, 58, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(18, 36, 51, 0.04);
}

.soon::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #2f9e4f;
  box-shadow: 0 0 0 4px rgba(47, 158, 79, 0.16);
}

h1 {
  width: 100%;
  min-width: 0;
  margin: 0;
  font-weight: inherit;
}

.org {
  display: block;
  color: var(--blue-deep);
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  font-weight: 500;
  line-height: 1.65;
  text-wrap: balance;
}

.nama {
  display: block;
  margin-top: 0.15rem;
  color: var(--green);
  font-family: var(--display);
  font-size: clamp(3.4rem, 8vw, 5.4rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.nama-small {
  font-size: clamp(2.15rem, 6vw, 3.15rem);
  letter-spacing: 0;
}

.soon-en {
  margin: 0.55rem 0 0;
  color: var(--faint);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.lead {
  width: min(100%, 26rem);
  min-width: 0;
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.85;
  text-wrap: balance;
}

.contact {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  max-width: 100%;
  margin-top: 1.15rem;
  padding: 0.72rem 1.05rem;
  border: 1px solid rgba(14, 86, 140, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--blue-deep);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(16, 42, 64, 0.06);
  transition: transform 0.2s ease, background 0.2s ease;
}

.contact svg {
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact:hover {
  background: #fff;
  transform: translateY(-1px);
}

.contact:focus-visible {
  outline: 3px solid #7dba4a;
  outline-offset: 3px;
}

.login {
  width: min(100%, 24rem);
  margin-top: 1.35rem;
  padding: 1.15rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: right;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 24px 50px rgba(16, 42, 64, 0.08);
  backdrop-filter: blur(16px);
}

.login label {
  margin-top: 0.7rem;
  color: var(--faint);
  font-size: 0.78rem;
  font-weight: 600;
}

.login label:first-child {
  margin-top: 0;
}

.login input {
  width: 100%;
  margin-top: 0.35rem;
  border: 1px solid rgba(14, 86, 140, 0.12);
  background: #f6f9fb;
  border-radius: 14px;
  padding: 0.9rem 0.95rem;
  color: var(--ink);
  font: inherit;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.login input:focus {
  outline: none;
  border-color: rgba(14, 86, 140, 0.55);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(14, 86, 140, 0.12);
}

.login input:-webkit-autofill {
  -webkit-text-fill-color: var(--ink);
  box-shadow: 0 0 0 1000px #f6f9fb inset;
}

.mail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1rem;
  padding: 0.92rem 1.2rem;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #15639e 0%, var(--blue-deep) 100%);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(11, 68, 110, 0.22);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.login button.mail {
  width: 100%;
}

.mail:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.mail:focus-visible {
  outline: 3px solid #7dba4a;
  outline-offset: 3px;
}

.mail:active {
  transform: translateY(0);
}

.forgot {
  margin: 0.9rem 0 0;
  font-size: 0.88rem;
}

.forgot a {
  color: var(--blue);
  text-decoration: none;
}

footer {
  width: min(100%, 36rem);
  min-width: 0;
  padding-inline: 0.6rem;
  color: var(--faint);
  font-size: 0.8rem;
  text-align: center;
}

footer p {
  margin: 0;
}

@media (max-width: 520px) {
  body {
    padding: 14px;
  }

  .page {
    min-height: calc(100vh - 28px);
    min-height: calc(100dvh - 28px);
  }

  .logo {
    width: min(148px, 46vw);
  }

  .nama {
    letter-spacing: 0;
  }

  .login {
    padding-inline: 0.9rem;
  }
}

@media (max-height: 740px) {
  .logo {
    width: min(132px, 34vh);
  }

  .nama {
    font-size: clamp(2.7rem, 8vw, 3.8rem);
  }

  main {
    padding-block: 0.7rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .logo,
  .soon,
  .org,
  .nama,
  .soon-en,
  .lead,
  .contact,
  .login {
    animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .soon { animation-delay: 0.05s; }
  .org { animation-delay: 0.1s; }
  .nama { animation-delay: 0.14s; }
  .soon-en { animation-delay: 0.18s; }
  .lead { animation-delay: 0.22s; }
  .contact { animation-delay: 0.26s; }
  .login { animation-delay: 0.26s; }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mail,
  .contact,
  .login input {
    transition: none;
  }
}
