:root {
  --dark-blue: #001845;
  --medium-blue: #C7D6EB;
  --light-blue: #e3eefa;
  --lighter-blue: #e3eefa;
  --off-white: #E3E3E3;
  --bright-blue: #0099CC;
  --gray: #636363;
  --white: #ffffff;

  --font: 'Verdana';

  --max-width: 1100px;
  --nav-height: 64px;
}


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--dark-blue);
  background: var(--white);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
ul { list-style-type: none; }

img, video { max-width: 100%; display: block; }

video {
  background: #141414;
}


.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: var(--dark-blue);
  z-index: 100;
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  font-weight: 600;
}
.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  color: var(--medium-blue);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.nav-links a:hover { color: var(--white); }
.nav-toggle { display: none; }


section { padding: 5rem 2rem; }
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.section-label {
  font-family: var(--font);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--bright-blue);
  margin-bottom: 0.5rem;
  font-weight:bold;
}
.section-title {
  font-family: var(--font);
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.section-lead {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 600px;
  font-weight: 300;
}


#hero {
  min-height: 100vh;
  background: var(--dark-blue);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 3rem) 2rem 4rem;
}
.hero-title {
  font-family: var(--font);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 1.25rem;
}
.hero-title em { color: var(--medium-blue); font-style: italic; }
.hero-eyebrow {
  font-family: var(--font);
  font-size: 0.75rem;
  color: var(--bright-blue);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero-sub {
  color: var(--medium-blue);
  font-size: 0.9rem;
  font-weight: 300;
  max-width: 520px;
  margin: 0 auto 2rem;
}
.apk-button-container {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
}
.apk-button {
  background: rgba(199,214,235,0.12);
  border: 1px solid rgba(199,214,235,0.25);
  color: var(--medium-blue);
  font-size: 0.78rem;
  font-family: var(--font);
  padding: 0.35rem 0.9rem;
  border-radius: 99px;
}
.apk-button:hover {
  background-color: rgba(199,214,235,0.05);
  border: 1px solid white;
  transition: background-color 100ms linear;
}


#overview { background: var(--white); }
.overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  margin-top: 3rem;
}
.vision-block {
  background: var(--dark-blue);
  color: var(--white);
  padding: 2.5rem;
  border-radius: 6px;
}
.vision-block .section-label { color: var(--medium-blue); }
.vision-block .section-title { color: var(--white); font-size: 1.5rem; }
.vision-text {
  color: white;
  font-weight: 300;
  line-height: 1.75;
  margin-top: 0.75rem;
}
.users-block h3 {
  font-family: var(--font);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.user-card {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--off-white);
}
.user-card:last-child { border-bottom: none; }
.user-icon {
  width: 38px; height: 38px;
  background: var(--light-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.user-card h4 { font-weight: 600; font-size: 0.95rem; margin-bottom: 0.15rem; }
.user-card p { font-size: 0.875rem; color: var(--gray); }


#features { background: var(--light-blue); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
.feature-card {
  background: var(--white);
  border-radius: 6px;
  padding: 0.6rem 1.75rem 1.75rem 1.75rem;
  border: 1px solid rgba(0,24,69,0.06);
}
.feature-icon { font-size: 1.5rem; margin-bottom: 0.1rem; margin-left:-0.5rem; }
.feature-card h3 {
  font-family: var(--font);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.feature-card p { font-size: 0.875rem; color: var(--gray); }


#demo { background: var(--dark-blue); }
#demo .section-title { color: var(--white); }
#demo .section-lead { color: var(--medium-blue); }
.demo-video-wrap {
  margin-top: 2.5rem;
  background: rgba(199,214,235,0.06);
  border: 1px solid rgba(199,214,235,0.15);
  border-radius: 8px;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.demo-video-wrap video { width: 100%; height: 100%; object-fit: contain; }

.demo-flows {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.flow-step {
  background: rgba(199,214,235,0.07);
  border: 1px solid rgba(199,214,235,0.12);
  border-radius: 6px;
  padding: 1.25rem;
}
.flow-step .step-num {
  font-family: var(--font);
  font-size: 0.7rem;
  color: var(--bright-blue);
  letter-spacing: 0.1em;
  margin-bottom: 0.35rem;
}
.flow-step h4 { color: var(--white); font-size: 0.9rem; }
.flow-step p { color: var(--medium-blue); font-size: 0.8rem; margin-top: 0.3rem; }


#postmortem { background: var(--white); }
.postmortem-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 4rem;
  margin-top: 3rem;
}
.postmortem-nav {
  position: sticky;
  top: calc(var(--nav-height) + 1.5rem);
  height: fit-content;
}
.postmortem-nav a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--gray);
  border-left: 2px solid var(--off-white);
  margin-bottom: 0.15rem;
}
.postmortem-nav a:hover,
.postmortem-nav a.active {
  color: var(--dark-blue);
  border-left-color: var(--bright-blue);
  font-weight:bold;
}
.pm-section {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--off-white);
}
.pm-section:last-child { border-bottom: none; margin-bottom: 0; }
.pm-section h3 {
  font-family: var(--font);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}
.pm-section a {
  text-decoration: underline;
}
.pm-section p {
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}
.pm-section li {
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}
.pm-section ul { 
  margin-left: 20px;
  margin-top: 7px;
  list-style-type: disc;
}
.callout {
  background: var(--lighter-blue);
  border-left: 3px solid var(--dark-blue);
  padding: 1rem 1.25rem;
  border-radius: 0 6px 6px 0;
  margin: 1.25rem 0;
}
.callout h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}
.callout p { 
  color: var(--gray); 
  font-weight: 500; 
  margin: 0; 
  font-size: 0.875rem; 
  margin-bottom: 0.35rem;
}
.callout li { 
  color: var(--gray); 
  font-weight: 500; 
  margin: 0; 
  font-size: 0.875rem; 
  margin-bottom: 0.35rem;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 1.25rem 0;
}
.card-container {
  background: var(--off-white);
  border-radius: 6px;
  padding: 1.25rem;
}
.card-container h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}
.card-container ul { 
  list-style: disc; 
  padding-left: 1rem; 
}

.card-container.green { 
  background: #eef6ee; 
}
.card-container.green h4 { 
  color: var(--dark-blue); 
}
.card-container.blue { 
  background: var(--lighter-blue); 
}
.card-container.blue h4 { 
  color: var(--dark-blue); 
}


#team { background: var(--medium-blue); }
.team-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.team-card {
  background: var(--white);
  border-radius: 6px;
  padding: 1.75rem;
  display: flex;
  flex-direction: row;
  gap: 0;
}
.team-name-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 0.1rem;
  width: 120px;
  flex-shrink: 0;
  padding-right: 1.5rem;
}
.team-divider {
  width: 1px;
  background: var(--medium-blue);
  align-self: stretch;
  flex-shrink: 0;
}
.team-content {
  flex: 1;
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
}
.team-bio {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.7;
  margin-top: 0;
  margin-bottom: 0;
}
.team-section {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--medium-blue);
}
.team-section:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.team-section-label {
  font-size: 0.7rem;
  font-family: var(--font);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bright-blue);
  margin-bottom: 0.35rem;
}
.team-name-icon {
  width: 48px; height: 48px;
  background: var(--dark-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.team-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0; text-align: center; }
.team-card .team-role {
  font-size: 0.75rem;
  color: var(--bright-blue);
  font-family: var(--font);
  margin-bottom: 0.75rem;
  font-weight:bold;
}


.site-footer {
  background: var(--dark-blue);
  color: var(--medium-blue);
  text-align: center;
  padding: 2.5rem 2rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--white);
  font-weight: 600;
}
.footer-course { font-size: 0.85rem; margin-bottom: 0.25rem; }
.footer-copy { font-size: 0.8rem; color: var(--gray); }


@media (max-width: 900px) {
  .overview-grid { grid-template-columns: 1fr; gap: 2rem; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .demo-flows { grid-template-columns: 1fr 1fr; }
  .postmortem-layout { grid-template-columns: 1fr; }
  .postmortem-nav { display: none; }
  .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .demo-flows { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--dark-blue);
    padding: 1.5rem 2rem;
    gap: 1rem;
    border-top: 1px solid rgba(199,214,235,0.1);
  }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
  }
  .nav-toggle span {
    display: block;
    width: 22px; height: 2px;
    background: var(--white);
  }
}
