:root {
  --intelli-green: #01c591;
  --intelli-dark-green: #27917f;
  --intelli-darker-green: #0c454c;
  --intelli-blue: #012638;
  --intelli-light-blue: #29769b;
  --text-light: #ffffff;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-border: rgba(255, 255, 255, 0.2);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Helvetica Neue", Helvetica, Arial, Roboto, sans-serif;
}

body {
  min-height: 100vh;
}

a {
  color: inherit;
}

/* Welcome page (service-hiatus/index.html) */

.welcome-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #ffffff 0%, #f3f7fa 48%, #eef4f8 100%);
  color: #0c2230;
}

.welcome-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 72px;
  padding: 8px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #ffffff;
  border-bottom: 1px solid #d7e3ea;
  box-shadow: 0 6px 16px rgba(1, 38, 56, 0.08);
}

.logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-title {
  color: var(--intelli-green);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.helper-link {
  text-decoration: none;
  font-weight: 600;
  color: #2c4e64;
  padding: 6px 10px;
  border-radius: 999px;
}

.helper-link:hover,
.helper-link:focus-visible {
  background: #edf4f8;
  outline: none;
}

.signin-btn {
  text-decoration: none;
  background: var(--intelli-green);
  color: #ffffff;
  font-weight: 700;
  border-radius: 8px;
  padding: 9px 14px;
  box-shadow: 0 4px 10px rgba(1, 197, 145, 0.3);
}

.hero {
  width: 100%;
  min-height: 44vh;
  background-image: linear-gradient(95deg, rgba(1, 38, 56, 0.78) 0%, rgba(12, 69, 76, 0.74) 68%, rgba(1, 197, 145, 0.6) 100%),
    url("images/nrtb-hero.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: flex-end;
}

.hero-text-wrapper {
  width: min(45%, 680px);
  min-height: 44vh;
  padding: clamp(20px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  color: #ffffff;
  background: rgba(1, 38, 56, 0.5);
}

.hero-text-wrapper h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.hero-text-wrapper p {
  margin: 0;
  max-width: 50ch;
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  line-height: 1.6;
}

.accent {
  color: var(--intelli-green);
}

.tools-section {
  width: 100%;
  margin: 0 auto 116px;
  padding: 28px 0 34px;
  background: var(--intelli-blue);
}

.tools-inner {
  width: min(1200px, 88%);
  margin: 0 auto;
}

.tools-section h2 {
  margin: 0 0 14px;
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
  line-height: 1.2;
  color: #ffffff;
}

.accent-inline {
  color: var(--intelli-green);
}

.tools-copy {
  margin: 0;
  color: #d7ebf6;
  line-height: 1.65;
}

.tool-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tool-card {
  text-decoration: none;
  min-height: 170px;
  border-radius: 23px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background-image: linear-gradient(0deg, var(--intelli-light-blue), var(--intelli-green));
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(1, 38, 56, 0.22);
  transition: transform 0.14s ease, box-shadow 0.2s ease;
}

.tool-icon {
  width: clamp(78px, 9vw, 130px);
  height: clamp(78px, 9vw, 130px);
  object-fit: contain;
  margin-left: 16px;
  margin-right: 2px;
  flex-shrink: 0;
}

.tool-card:hover,
.tool-card:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 0 12px 3px rgba(1, 197, 145, 0.33), 0 0 22px 6px rgba(1, 197, 145, 0.2);
  outline: none;
}

.tool-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tool-card-content h3 {
  margin: 0;
  font-size: 1.2rem;
}

.tool-card-content p {
  margin: 0;
  line-height: 1.55;
}

.status {
  color: #e6fff7;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tool-subscribe-rail {
  width: 56px;
  background: var(--intelli-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tool-subscribe-rail span {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  font-weight: 700;
}

.welcome-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-top: 1px solid #d7e3ea;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  box-sizing: border-box;
}

.footer-link {
  text-decoration: none;
  text-align: center;
  color: #23485c;
  line-height: 1.4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.footer-logo {
  height: 34px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

/* Hiatus page (service-hiatus/hiatus.html) */

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 20px;
  color: var(--text-light);
  background-image: radial-gradient(circle at 10% 20%, rgba(41, 118, 155, 0.35), transparent 45%),
    linear-gradient(160deg, var(--intelli-blue) 0%, var(--intelli-darker-green) 100%);
}

.top-bar {
  width: min(980px, 100%);
  background: #ffffff;
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 20px rgba(1, 38, 56, 0.24);
}

.top-bar .brand-title {
  color: var(--intelli-green);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.status-card {
  width: min(980px, 100%);
  margin-top: 20px;
  border-radius: 23px;
  padding: clamp(22px, 4vw, 44px);
  background: linear-gradient(0deg, var(--intelli-light-blue) 0%, var(--intelli-dark-green) 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24);
  position: relative;
  overflow: hidden;
}

.status-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.13), transparent 38%);
  pointer-events: none;
}

.badge {
  margin: 0;
  display: inline-block;
  background: rgba(1, 197, 145, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.status-card h1 {
  margin: 16px 0 12px;
  font-size: clamp(1.75rem, 4vw, 2.85rem);
  line-height: 1.12;
}

.lead {
  margin: 0;
  max-width: 64ch;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.6;
}

.footnote {
  margin: 18px 0 0;
  opacity: 0.94;
}

@media (max-width: 760px) {
  .welcome-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-actions {
    width: 100%;
    flex-wrap: wrap;
    gap: 8px;
  }

  .hero {
    min-height: auto;
  }

  .hero-text-wrapper {
    width: 100%;
    min-height: 310px;
  }

  .tools-section {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 94px;
    padding: 20px 0 26px;
  }

  .tools-inner {
    width: calc(100% - 24px);
  }

  .tool-grid {
    grid-template-columns: 1fr;
  }

  .tool-subscribe-rail {
    width: 100%;
    min-height: 40px;
  }

  .tool-icon {
    margin: 16px auto 0;
  }

  .tool-subscribe-rail span {
    writing-mode: horizontal-tb;
  }

  .welcome-footer {
    position: static;
    margin-top: 20px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 18px 12px;
  }

  .top-bar {
    padding: 10px 12px;
  }

  .top-bar .brand-title {
    font-size: 0.94rem;
  }
}





