:root {
  --bg: #f5f5f7;
  --bg-card: #ffffff;
  --bg-soft: #f0f4f8;
  --accent: steelblue;
  --accent-soft: rgba(31, 122, 140, 0.08);
  --accent-strong: #145366;
  --text-main: #1f2933;
  --text-muted: #6b7280;
  --border-subtle: #d4d7dd;
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --transition-fast: 150ms ease-out;
  --font-sans:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Text",
    "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background: radial-gradient(circle at top left, #e5f0f7 0, #f5f5f7 45%, #f5f5f7 100%);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 1.75rem clamp(1.5rem, 3vw, 3rem);
  max-width: 1040px;
  margin: 0 auto;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  position: relative;
  margin: -2rem clamp(1.5rem, 4rem, 5rem) -6.5rem auto;
  margin-right:-1rem;
  background: none;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  overflow: hidden;
}

.brand-logo-img {
  width: 57%;
  height: 57%;
  object-fit: cover;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.brand-name {
  font-size: clamp(1.15rem, 3vw + 0.5rem, 10rem);
  color: var(--accent-strong);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-tagline {
  font-size: clamp(0.85rem, 1vw + 0.4rem, 1.2rem);
  color: var(--text-muted);
}

nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
}

.nav-link {
  padding: 0;
  border: none;
  background: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.85rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.nav-link:hover {
  color: var(--accent-strong);
  transform: translateY(-1px);
}

.nav-cta {
  width:6rem;
  text-align: center;
  padding: 0.3rem 0.3rem;
  border-radius: 5px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 500;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  box-shadow: 0 8px 18px rgba(31, 122, 140, 0.25);
  transition: box-shadow var(--transition-fast), transform var(--transition-fast), background var(--transition-fast);
}

.nav-cta:hover {
  transform: translateY(-1px);
  background: var(--accent-strong);
  box-shadow: 0 10px 22px rgba(31, 122, 140, 0.3);
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  padding-bottom: 2rem;
}

.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.hero-inner {
  background: var(--bg-card);
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  box-shadow: var(--shadow-soft);
  padding: 1.6rem 1.7rem;
  width: 100%;
  max-width: 100%;
}

.hero-eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--text-muted);
  margin-top:1rem;
  margin-bottom: 0.6rem;
}

.hero-title {
  font-size: clamp(1.9rem, 3.1vw, 2.4rem);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.hero-title span {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  max-width: 100%;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
}

.pill-row {
  display: grid;
  grid-template-columns: repeat(3, var(--pill-track-width, max-content));
  justify-content: center;
  justify-items: center;
  gap: clamp(0.15rem, 1vw, 0.65rem);
  width: 100%;
  margin-bottom: 1.1rem;
}

@media (max-width: 900px) {
  .pill-row {
    grid-template-columns: repeat(2, var(--pill-track-width, max-content));
  }
}

@media (max-width: 520px) {
  .pill-row {
    grid-template-columns: var(--pill-track-width, max-content);
  }

  .pill-row > .pill {
    max-width: 100%;
    justify-self: center;
  }
}

.pill-row > .pill {
  width: var(--pill-track-width, auto);
  justify-self: center;
  margin-inline: auto;
}
.pill {
  padding: 0.3rem clamp(0.75rem, 2vw, 1.8rem);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--text-muted);
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  text-align: center;
  border-color: rgba(31, 122, 140, 0.35);
  white-space: nowrap;
}

.pill--accent {
  background: var(--accent-soft);
  color: var(--accent-strong);
  border-color: rgba(31, 122, 140, 0.35);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast), color var(--transition-fast);
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(31, 122, 140, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: var(--accent-strong);
  box-shadow: 0 12px 24px rgba(31, 122, 140, 0.3);
}

.btn-ghost {
  background: #ffffff;
  border-color: #d4d4d8;
  color: var(--text-main);
}

.btn-ghost:hover {
  background: #f3f4f6;
}

.btn-icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.meta-line {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    font-style: italic;
}

.meta-line strong {
  color: var(--accent-strong);
  font-weight: 500;
}

.section {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid #e5e7eb;
  box-shadow: var(--shadow-soft);
  padding: 1.6rem 1.7rem 1.7rem;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.section-title {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.section-tag {
  font-size: 0.78rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid #d4d7dd;
  color: var(--text-muted);
  white-space: nowrap;
}

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.9rem;
}

@media (max-width: 720px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
  }

  nav {
    align-self: stretch;
    justify-content: space-between;
  }

  .hero {
    align-items: stretch;
  }

  .hero-inner {
    padding: 1.4rem 1.3rem;
  }

  .grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid #e5e7eb;
  padding: 0.85rem 0.95rem;
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), background var(--transition-fast);
}

.card:hover {
  border-color: var(--accent-soft);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
  background: #fbfbfb;
}

.card-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.card-title {
  font-size: 0.96rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.card-body {
  font-size: 0.83rem;
  color: var(--text-muted);
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.6rem;
}

.tag {
  font-size: 0.72rem;
  padding: 0.12rem 0.45rem;
  border-radius: var(--radius-sm);
  background: #f3f4f6;
  color: var(--text-muted);
}

.tag--accent {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.section-subheading {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--text-muted);
  margin-top: 1.3rem;
  margin-bottom: 0.5rem;
}

.timeline {
  margin-top: 0.2rem;
  border-left: 1px solid #e5e7eb;
  padding-left: 0.9rem;
}

.timeline-item {
  margin-bottom: 0.8rem;
  position: relative;
}

.timeline-dot {
  position: absolute;
  left: -0.97rem;
  top: 0.22rem;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 2px var(--accent-soft);
}

.timeline-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--text-muted);
  margin-bottom: 0.1rem;
}

.timeline-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.1rem;
}

.timeline-body {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.cert-list {
  margin-top: 0.3rem;
  padding-left: 1.1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.cert-list li {
  margin-bottom: 0.2rem;
}

.working-text {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.working-actions {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

footer {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid #e5e7eb;
  padding-top: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px dotted transparent;
  padding-bottom: 1px;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.footer-link:hover {
  color: var(--accent-strong);
  border-color: var(--accent-strong);
}
