:root {
  color-scheme: light;
  --navy: #0a2540;
  --navy-light: #1e3a8a;
  --ink: #14283d;
  --muted: #64748b;
  --muted-light: #9aa8b7;
  --paper: #f4f6f8;
  --white: #fff;
  --line: #dce3e9;
  --line-dark: rgba(255, 255, 255, 0.15);
  --saffron: #e05a10;
  --emerald: #059669;
  --blue-pale: #e9f0f7;
  --shadow: 0 12px 30px rgba(10, 37, 64, 0.07);
  font-family: "Noto 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; scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #f59e0b; outline-offset: 3px; }

.tricolor-rule { display: flex; position: relative; z-index: 2; height: 4px; }
.tricolor-rule span { flex: 1; }
.tricolor-rule span:first-child { background: var(--saffron); }
.tricolor-rule span:nth-child(2) { background: #fff; }
.tricolor-rule span:last-child { background: var(--emerald); }

.site-header {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { width: 42px; height: 42px; object-fit: contain; }
.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { color: var(--navy); font-size: 15px; line-height: 1.2; font-weight: 800; }
.brand-copy strong span { margin-left: 5px; color: var(--saffron); font-weight: 600; }
.brand-copy small { color: var(--muted); font-size: 10px; line-height: 1.4; }
.header-actions { display: flex; align-items: center; gap: 28px; }
.directory-label { display: inline-flex; align-items: center; gap: 8px; color: #526275; font-size: 11px; font-weight: 600; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 3px #e0f2eb; }

main { width: min(1184px, calc(100% - 96px)); margin: 0 auto; }

.hero {
  position: relative;
  min-height: 310px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(270px, 0.8fr);
  align-items: center;
  gap: 56px;
  overflow: hidden;
  padding: 42px 58px;
  border-radius: 7px;
  background-color: var(--navy);
  background-image: linear-gradient(90deg, transparent 49.9%, rgba(255, 255, 255, 0.035) 50%, transparent 50.1%), linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 80px 100%, 100% 42px;
  color: var(--white);
}

.hero-copy { position: relative; z-index: 1; max-width: 570px; }
.eyebrow, .section-kicker { margin: 0 0 13px; color: #b7c8d8; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 9px; letter-spacing: 0.04em; }
.eyebrow-mark { width: 20px; height: 2px; background: var(--saffron); }
.hero h1 { margin: 0; color: #fff; font-size: clamp(32px, 4vw, 46px); font-weight: 700; line-height: 1.1; }
.hero h1 span { color: #d5e3ed; }
.hero-description { max-width: 470px; margin: 16px 0 20px; color: #c0ccd6; font-size: 12px; line-height: 1.7; }
.hero-link { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 11px; font-weight: 700; text-decoration: none; }
.hero-link svg { width: 17px; height: 17px; fill: none; stroke: var(--saffron); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 160ms ease; }
.hero-link:hover svg { transform: translateX(4px); }

.journey-panel { position: relative; z-index: 1; padding: 16px 18px 13px; border: 1px solid var(--line-dark); border-radius: 5px; background: rgba(255, 255, 255, 0.045); }
.journey-heading, .journey-footer { display: flex; align-items: center; justify-content: space-between; color: #9fb1c2; font-family: "JetBrains Mono", monospace; font-size: 8px; }
.journey-heading { padding-bottom: 11px; border-bottom: 1px solid var(--line-dark); }
.journey-steps { padding: 7px 0; }
.journey-step { min-height: 34px; display: grid; grid-template-columns: 36px 1fr 8px; align-items: center; gap: 8px; color: #f0f4f7; font-size: 10px; }
.step-number { color: #8095a8; font-family: "JetBrains Mono", monospace; font-size: 9px; }
.step-marker { width: 6px; height: 6px; border-radius: 1px; }
.step-marker.saffron { background: var(--saffron); }
.step-marker.blue { background: #7ba8df; }
.step-marker.green { background: #4dc598; }
.step-marker.white { background: #e7eef4; }
.journey-footer { padding-top: 10px; border-top: 1px solid var(--line-dark); }
.journey-line { width: 38px; height: 1px; background: linear-gradient(90deg, var(--saffron) 0 33%, #fff 33% 66%, var(--emerald) 66%); }
.hero-index { position: absolute; right: 17px; bottom: 10px; color: rgba(255, 255, 255, 0.18); font-family: "JetBrains Mono", monospace; font-size: 8px; }

.workspace-section { padding: 38px 0 30px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 17px; }
.section-kicker { margin-bottom: 5px; color: var(--saffron); letter-spacing: 0.04em; }
.section-heading h2 { margin: 0; color: var(--navy); font-size: 21px; line-height: 1.3; font-weight: 700; }
.section-note { margin: 0 0 2px; color: var(--muted); font-size: 10px; line-height: 1.7; text-align: right; }
.section-note span { color: var(--navy); font-family: "JetBrains Mono", monospace; font-size: 12px; font-weight: 600; }

.workspace-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.portal-card {
  position: relative;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  padding: 17px 18px 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  color: inherit;
  text-decoration: none;
  transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
  animation: card-enter 420ms both;
  animation-delay: var(--delay, 0ms);
}
.portal-card:hover { transform: translateY(-3px); border-color: #aebdca; box-shadow: var(--shadow); }
.portal-card:focus-visible { outline-offset: 2px; }
.portal-card--featured { grid-column: span 1; border-top: 3px solid var(--saffron); padding-top: 15px; }
.portal-card--review { border-top: 3px solid var(--navy-light); padding-top: 15px; }
.portal-card--evaluate { border-top: 3px solid var(--emerald); padding-top: 15px; }
.portal-card--submit { border-top: 3px solid #b8c7d5; padding-top: 15px; }
.portal-card--admin { border-top: 3px solid var(--saffron); padding-top: 15px; }
.card-topline { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-role { color: #69798a; font-size: 9px; font-weight: 700; letter-spacing: 0.035em; text-transform: uppercase; }
.card-number { color: #9aa8b6; font-family: "JetBrains Mono", monospace; font-size: 9px; }
.card-title-row { display: flex; align-items: start; justify-content: space-between; gap: 12px; margin-top: 14px; }
.card-title { margin: 0; color: var(--navy); font-size: 15px; line-height: 1.35; font-weight: 700; }
.card-arrow { flex: 0 0 auto; width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 4px; color: var(--navy); transition: color 150ms ease, background 150ms ease, border-color 150ms ease; }
.portal-card:hover .card-arrow { border-color: var(--navy); background: var(--navy); color: #fff; }
.card-arrow svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card-description { margin: 8px 0 14px; color: #627286; font-size: 10px; line-height: 1.65; }
.card-bottom { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: auto; padding-top: 10px; border-top: 1px solid #edf0f3; }
.card-open { flex: 0 0 auto; color: var(--navy); font-size: 9px; font-weight: 700; }

.site-footer { max-width: 1280px; min-height: 65px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 15px auto 0; padding: 0 48px; color: #748294; font-size: 9px; }
.footer-divider { margin: 0 6px; color: var(--saffron); }
.site-footer a { color: var(--navy); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }

@keyframes card-enter { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }

.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 48px 58px;
  background: var(--navy);
  color: var(--white);
  margin-top: 32px;
  border-radius: 7px;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 42px;
  pointer-events: none;
  z-index: 0;
}
.cta-content {
  position: relative;
  z-index: 1;
  max-width: 1184px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.cta-kicker {
  display: inline-block;
  margin: 0 0 8px;
  color: #b7c8d8;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cta-content h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 700;
  line-height: 1.25;
}
.cta-description {
  margin: 0;
  color: #c0ccd6;
  font-size: 12px;
  line-height: 1.7;
  max-width: 520px;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-self: end;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-radius: 4px;
  transition: all 150ms ease;
}
.cta-button--primary {
  background: var(--saffron);
  color: #fff;
  border: 1px solid var(--saffron);
}
.cta-button--primary:hover {
  background: #c44d0d;
  border-color: #c44d0d;
  transform: translateY(-1px);
}
.cta-button--secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.cta-button--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-1px);
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}
.status-label {
  color: #b7c8d8;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  background: rgba(5, 150, 105, 0.1);
  border: 1px solid rgba(5, 150, 105, 0.35);
  color: #4dc598;
  font-size: 9px;
  font-weight: 700;
  font-family: "JetBrains Mono", monospace;
  border-radius: 3px;
  text-transform: uppercase;
}

@media (min-width: 1100px) {
  .portal-card--featured { grid-column: span 1; }
  .workspace-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .site-header { padding: 0 28px; }
  main { width: min(100% - 56px, 760px); }
  .hero { gap: 30px; padding: 36px; }
  .workspace-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer { padding: 0 28px; }
  .cta-banner { padding: 36px; }
  .cta-content { grid-template-columns: 1fr; gap: 24px; }
  .cta-actions { flex-direction: row; justify-self: start; width: 100%; }
  .cta-button { width: 100%; justify-content: center; }
  .footer-status { flex-direction: column; align-items: flex-start; gap: 6px; margin-left: 0; }
}

@media (max-width: 620px) {
  .site-header { min-height: 68px; padding: 0 18px; }
  .brand-logo { width: 36px; height: 36px; }
  .brand-copy small { max-width: 170px; font-size: 9px; }
  .header-actions { gap: 10px; }
  .directory-label { display: none; }
  main { width: calc(100% - 32px); }
  .hero { grid-template-columns: 1fr; gap: 24px; padding: 28px 23px 24px; }
  .hero h1 { font-size: 34px; }
  .hero-description { margin: 12px 0 16px; }
  .journey-panel { max-width: 440px; }
  .workspace-section { padding: 29px 0 22px; }
  .section-heading { align-items: start; margin-bottom: 14px; }
  .section-heading h2 { font-size: 19px; }
  .section-note { font-size: 9px; }
  .workspace-grid { grid-template-columns: 1fr; gap: 9px; }
  .portal-card { min-height: 166px; padding: 15px; }
  .portal-card--featured, .portal-card--review, .portal-card--evaluate, .portal-card--submit, .portal-card--admin { padding-top: 13px; }
  .site-footer { min-height: 60px; flex-wrap: wrap; gap: 8px 16px; padding: 12px 16px; font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* LIVE DEPLOYMENTS SECTION */
.deployments-section {
  margin: 40px 0 32px;
}
.deployments-section .section-note {
  margin: 8px 0 24px;
  color: var(--muted);
  font-size: 12px;
}
.deployment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.deployment-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  animation: card-enter 400ms ease forwards;
  animation-delay: var(--delay, 0ms);
  opacity: 0;
}
.dep-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.dep-badge {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 3px 8px;
  background: var(--blue-pale);
  color: var(--navy);
  border-radius: 4px;
}
.dep-link {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}
.dep-link:hover {
  color: var(--saffron);
}
.dep-role {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 11px;
}
.dep-features {
  margin: 0 0 16px;
  padding-left: 16px;
  color: var(--ink);
  font-size: 11px;
  line-height: 1.5;
}
.dep-features li {
  margin-bottom: 6px;
  list-style: none;
  position: relative;
  padding-left: 14px;
}
.dep-features li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--saffron);
  font-weight: 700;
}
.dep-meta {
  display: flex;
  gap: 14px;
  margin-bottom: 10px;
  font-size: 10px;
}
.dep-label {
  color: var(--muted-light);
}
.dep-value {
  color: var(--ink);
  font-weight: 600;
}
.otp-value {
  color: var(--emerald);
  font-weight: 700;
}
.dep-persona {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 10px;
}
.dep-email {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

/* CREDENTIALS SECTION */
.credentials-section {
  margin: 40px 0 32px;
}
.credentials-section .section-note {
  margin: 8px 0 24px;
  color: var(--muted);
  font-size: 12px;
}
.credential-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.credential-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--white);
  animation: card-enter 400ms ease forwards;
  animation-delay: var(--delay, 0ms);
  opacity: 0;
}
.cred-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}
.cred-portal {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}
.cred-url {
  font-size: 10px;
  color: var(--saffron);
  text-decoration: none;
  word-break: break-all;
}
.cred-url:hover {
  text-decoration: underline;
}
.cred-body {
  font-size: 11px;
}
.cred-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  color: var(--ink);
}
.cred-label {
  color: var(--muted-light);
}
.cred-value {
  color: var(--ink);
  font-weight: 600;
  word-break: break-word;
}
.cred-highlight {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: var(--muted);
  line-height: 1.4;
}

/* INFRASTRUCTURE SECTION */
.infra-section {
  margin: 40px 0;
}
.infra-card {
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
  padding: 24px;
}
.infra-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.infra-kicker {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #b7c8d8;
}
.infra-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.infra-details {
  font-size: 12px;
}
.infra-detail-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.infra-detail-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.infra-label {
  color: #b7c8d8;
}
.infra-value {
  color: #fff;
  font-weight: 600;
  word-break: break-all;
}

@media (max-width: 900px) {
  .deployment-grid {
    grid-template-columns: 1fr;
  }
  .credential-grid {
    grid-template-columns: 1fr;
  }
  .dep-meta {
    flex-direction: column;
    gap: 6px;
  }
}