:root {
  color-scheme: dark;
  font-family: "Montserrat", system-ui, sans-serif;
  color: #f7fbff;
  background: #071427;
  font-synthesis: none;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 82% 10%, rgba(0, 193, 255, 0.13), transparent 30rem),
    radial-gradient(circle at 12% 90%, rgba(22, 102, 255, 0.1), transparent 32rem),
    #071427;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.portal-shell {
  width: min(1240px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 42px 0 32px;
  display: flex;
  flex-direction: column;
}

.brand {
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.brand-logo {
  display: block;
  width: clamp(160px, 18vw, 210px);
  height: auto;
}
.brand-label {
  margin: 0;
  color: #9cb1c8;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
}

.welcome {
  align-self: center;
  margin: clamp(27px, 4.9vh, 49px) 0 24px;
  text-align: center;
}
.section-title {
  margin: 0;
  color: #00c7fa;
  font-size: clamp(.88rem, 1.5vw, 1.05rem);
  font-weight: 800;
  letter-spacing: .18em;
  line-height: 1.3;
}
.intro { margin: 10px 0 0; color: #9cb1c8; font-size: 1rem; line-height: 1.5; }

.applications {
  width: min(100%, 1120px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  row-gap: 18px;
  align-items: start;
}
.app-column { display: grid; gap: 18px; }
.app-card {
  position: relative; min-height: 126px; padding: 18px 20px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 17px;
  color: inherit; text-decoration: none; overflow: hidden;
  border: 1px solid rgba(154, 188, 221, .18); border-radius: 24px;
  background: linear-gradient(145deg, rgba(23, 49, 78, .82), rgba(11, 28, 49, .88));
  box-shadow: 0 24px 60px rgba(0, 0, 0, .19);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.app-card::after {
  content: ""; position: absolute; width: 190px; height: 190px; right: -100px; bottom: -100px;
  border-radius: 50%; background: var(--glow); filter: blur(8px); opacity: .14; transition: opacity .2s ease;
}
.app-card--fleet { --accent: #00c7fa; --glow: #00c7fa; }
.app-card--people { --accent: #61e2a8; --glow: #61e2a8; }
.app-card--assessment { --accent: #ffbd5b; --glow: #ffbd5b; }
.app-card--workshop { --accent: #a98bff; --glow: #a98bff; }
.app-card--assignment { --accent: #ff7fa6; --glow: #ff7fa6; }
.app-card--reservations { --accent: #4fd4d0; --glow: #4fd4d0; }
.app-card--traffic { --accent: #ff646f; --glow: #ff646f; }
.app-card.is-disabled {
  cursor: not-allowed;
  opacity: .68;
  filter: saturate(.75);
}
.app-card.is-disabled:hover {
  transform: none;
  border-color: rgba(154, 188, 221, .18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .19);
}
.app-card.is-disabled .arrow { display: none; }
.construction-badge {
  position: absolute;
  z-index: 2;
  top: 13px;
  right: -35px;
  width: 145px;
  padding: 5px 0;
  transform: rotate(35deg);
  background: #e73745;
  color: #fff;
  box-shadow: 0 4px 14px rgba(231, 55, 69, .3);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1;
  text-align: center;
}
.app-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent), transparent 42%); box-shadow: 0 28px 70px rgba(0, 0, 0, .28); }
.app-card:hover::after { opacity: .25; }
.app-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.icon-wrap {
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px;
  color: var(--accent); background: color-mix(in srgb, var(--accent), transparent 88%);
  border: 1px solid color-mix(in srgb, var(--accent), transparent 75%);
}
.icon-wrap svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.app-copy { display: flex; flex-direction: column; }
.app-kicker { color: var(--accent); font-size: .68rem; font-weight: 800; letter-spacing: .16em; }
.app-copy strong { margin-top: 7px; font-size: clamp(1.12rem, 1.8vw, 1.42rem); letter-spacing: -.025em; }
.app-copy > span:last-child { margin-top: 4px; color: #91a8bf; font-size: .82rem; line-height: 1.4; }
.arrow { color: var(--accent); font-size: 1.6rem; line-height: 1; transition: transform .2s ease; }
.app-card:hover .arrow { transform: translateX(5px); }

.site-credit {
  position: fixed;
  right: 22px;
  bottom: 18px;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #8a98ac;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 15px;
  text-align: center;
}
.dmp-brand {
  display: inline-flex;
  align-items: baseline;
  color: inherit;
  font-size: 17.5px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .1px;
  text-decoration: none;
}
.dmp-brand:hover .digitals-green { color: #a9d3cb; }
.dmp-brand:focus-visible { outline: 2px solid #8bbab1; outline-offset: 4px; border-radius: 2px; }
.dmp-main, .dmp-com { color: #f7fbff; }
.digitals-green { color: #8bbab1; transition: color .2s ease; }
.dmp-com { font-size: 8.75px; font-weight: 700; }

@media (max-width: 760px) {
  .portal-shell { width: min(100% - 28px, 620px); padding-top: 25px; }
  .welcome { margin: 36px 0 22px; }
  .applications { grid-template-columns: 1fr; row-gap: 18px; }
  .app-card { min-height: 118px; padding: 17px 18px; }
}

@media (max-width: 440px) {
  .app-card { grid-template-columns: auto 1fr; gap: 17px; }
  .arrow { display: none; }
  .icon-wrap { width: 50px; height: 50px; border-radius: 15px; }
  .intro { font-size: .96rem; }
  .site-credit { right: 12px; bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
