:root {
  color-scheme: dark;
  --navy: #09263f;
  --navy-deep: #061b2e;
  --teal: #13a181;
  --mint: #74e0bf;
  --white: #f7fbff;
  --muted: #d3e1eb;
  font-family: "DM Sans", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--navy-deep);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
}

body,
a {
  color: var(--white);
}

a {
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 5px;
}

.landing {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  padding: 30px clamp(22px, 6vw, 88px) 22px;
  background: var(--navy-deep);
}

.backdrop,
.backdrop::after,
.ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.backdrop {
  z-index: -2;
  background-image: url("UIN%20Ar-Raniry%20Student%20Journal%20Portal.png");
  background-position: center 42%;
  background-size: cover;
  opacity: 0.58;
}

.backdrop::after {
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 25, 43, 0.78) 0%, rgba(5, 29, 48, 0.54) 38%, rgba(5, 29, 48, 0.12) 100%),
    linear-gradient(0deg, rgba(5, 22, 38, 0.58), transparent 42%, rgba(5, 22, 38, 0.12));
}

.ambient {
  z-index: -1;
  inset: auto;
  border-radius: 50%;
  filter: blur(1px);
}

.ambient--one {
  top: 20%;
  right: -140px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(116, 224, 191, 0.12);
  box-shadow: 0 0 0 42px rgba(116, 224, 191, 0.025), 0 0 0 92px rgba(116, 224, 191, 0.02);
}

.ambient--two {
  right: 22%;
  bottom: -230px;
  width: 480px;
  height: 480px;
  background: rgba(14, 128, 113, 0.15);
  filter: blur(100px);
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.brand__mark {
  display: grid;
  width: 47px;
  height: 47px;
  place-items: center;
  border: 1px solid rgba(116, 224, 191, 0.64);
  border-radius: 15px;
  background: rgba(13, 133, 104, 0.25);
  color: var(--mint);
  font-family: Manrope, sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -1.5px;
}

.brand__copy,
.brand__copy span {
  display: block;
}

.brand__copy strong {
  font-family: Manrope, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand__copy span {
  margin-top: 3px;
  color: rgba(225, 239, 248, 0.7);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.institution-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid rgba(225, 239, 248, 0.23);
  border-radius: 999px;
  background: rgba(8, 32, 52, 0.3);
  color: rgba(247, 251, 255, 0.88);
  font-size: 12px;
  transition: background 160ms ease, border-color 160ms ease;
}

.institution-link:hover {
  border-color: rgba(116, 224, 191, 0.65);
  background: rgba(8, 32, 52, 0.75);
}

.institution-link__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px rgba(116, 224, 191, 0.85);
}

.hero {
  width: min(100%, 690px);
  margin: auto 0;
  padding: clamp(56px, 10vh, 105px) 0 clamp(64px, 11vh, 112px);
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--mint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow-line {
  width: 28px;
  height: 1px;
  background: var(--mint);
}

h1 {
  margin: 0;
  font-family: Manrope, sans-serif;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.09;
}

h1 span {
  color: var(--mint);
}

.hero__description {
  max-width: 540px;
  margin: 22px 0 30px;
  color: var(--muted);
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.8;
}

.countdown-panel {
  width: min(100%, 510px);
  padding: 22px 24px 17px;
  border: 1px solid rgba(225, 239, 248, 0.2);
  border-radius: 16px;
  background: rgba(6, 26, 44, 0.6);
  box-shadow: 0 18px 55px rgba(2, 14, 25, 0.2);
  backdrop-filter: blur(16px);
}

.countdown-panel__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.countdown-label,
.launch-date {
  margin: 0;
}

.countdown-label {
  color: rgba(225, 239, 248, 0.68);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.launch-date {
  margin-top: 5px;
  font-family: Manrope, sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.launch-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(116, 224, 191, 0.25);
  border-radius: 12px;
  color: var(--mint);
}

.launch-icon svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.countdown {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  padding: 16px 0 14px;
  border-top: 1px solid rgba(225, 239, 248, 0.12);
  border-bottom: 1px solid rgba(225, 239, 248, 0.12);
  text-align: center;
}

.time-unit {
  display: grid;
  gap: 5px;
}

.time-unit__number {
  font-family: Manrope, sans-serif;
  font-size: clamp(27px, 4vw, 38px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.06em;
  line-height: 1;
}

.time-unit__label {
  color: rgba(225, 239, 248, 0.63);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.time-separator {
  align-self: start;
  padding-top: 3px;
  color: var(--teal);
  font-size: 24px;
  font-weight: 500;
}

.countdown-status {
  margin: 12px 0 0;
  color: rgba(225, 239, 248, 0.66);
  font-size: 11px;
  line-height: 1.5;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  color: rgba(247, 251, 255, 0.83);
  font-size: 12px;
  font-weight: 600;
  transition: color 160ms ease;
}

.contact-link:hover {
  color: var(--mint);
}

.contact-link__icon {
  color: var(--mint);
  font-size: 15px;
}

.site-footer {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  color: rgba(225, 239, 248, 0.62);
  font-size: 11px;
}

.footer-divider {
  width: 1px;
  height: 15px;
  margin: 0 auto 0 14px;
  background: rgba(225, 239, 248, 0.32);
}

.site-footer span:last-child {
  margin-left: 14px;
}

@media (max-width: 600px) {
  .landing {
    padding: 21px 22px 18px;
  }

  .backdrop {
    background-position: 55% center;
    opacity: 0.5;
  }

  .backdrop::after {
    background:
      linear-gradient(90deg, rgba(5, 25, 43, 0.74), rgba(5, 29, 48, 0.48)),
      linear-gradient(0deg, rgba(5, 22, 38, 0.7), transparent 55%);
  }

  .brand {
    gap: 9px;
  }

  .brand__mark {
    width: 40px;
    height: 40px;
    border-radius: 13px;
    font-size: 15px;
  }

  .brand__copy strong {
    font-size: 11px;
  }

  .brand__copy span {
    max-width: 150px;
    font-size: 9px;
  }

  .institution-link {
    gap: 6px;
    padding: 8px 9px;
    font-size: 10px;
  }

  .hero {
    padding: 65px 0;
  }

  .hero__eyebrow {
    margin-bottom: 18px;
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  h1 {
    font-size: clamp(39px, 11vw, 58px);
  }

  .hero__description {
    margin: 18px 0 25px;
    font-size: 14px;
  }

  .countdown-panel {
    padding: 19px 17px 15px;
  }

  .countdown {
    gap: 2px;
  }

  .time-unit__number {
    font-size: clamp(25px, 8vw, 34px);
  }

  .time-unit__label {
    font-size: 8px;
  }

  .time-separator {
    font-size: 20px;
  }

  .site-footer {
    font-size: 9px;
  }
}

@media (max-width: 360px) {
  .landing {
    padding-right: 16px;
    padding-left: 16px;
  }

  .institution-link {
    font-size: 9px;
  }

  .brand__copy span {
    max-width: 125px;
    letter-spacing: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
