:root {
  --tek-navy: #10253e;
  --tek-navy-soft: #183755;
  --tek-green: #39b982;
  --tek-green-dark: #167a56;
  --tek-sky: #eaf4fb;
  --tek-ink: #172334;
  --tek-muted: #5c6b7a;
  --tek-border: #dbe4ec;
  --md-primary-fg-color: var(--tek-navy);
  --md-primary-fg-color--light: var(--tek-navy-soft);
  --md-primary-fg-color--dark: #091827;
  --md-accent-fg-color: var(--tek-green-dark);
  --md-typeset-a-color: #096c87;
}

body {
  color: var(--tek-ink);
}

.md-header {
  background: linear-gradient(105deg, #0d2036 0%, #173a58 72%, #176447 100%);
  box-shadow: 0 2px 18px rgba(7, 24, 40, 0.2);
}

.md-header__title {
  font-weight: 750;
  letter-spacing: -0.015em;
}

.md-typeset h1,
.md-typeset h2,
.md-typeset h3 {
  color: var(--tek-navy);
  font-weight: 760;
  letter-spacing: -0.025em;
}

.md-typeset h1 {
  margin-bottom: 0.55em;
}

.md-typeset .tek-hero {
  position: relative;
  overflow: hidden;
  margin: 0 0 2rem;
  padding: clamp(1.7rem, 4vw, 3.2rem);
  border: 1px solid rgba(57, 185, 130, 0.28);
  border-radius: 1rem;
  color: white;
  background:
    radial-gradient(circle at 90% 10%, rgba(57, 185, 130, 0.42), transparent 34%),
    linear-gradient(125deg, #0c2037 0%, #183d5b 62%, #176447 100%);
  box-shadow: 0 22px 55px rgba(15, 37, 62, 0.18);
}

.md-typeset .tek-hero h1 {
  max-width: 14ch;
  margin: 0 0 0.55rem;
  color: white;
  font-size: clamp(2rem, 5vw, 3.55rem);
  line-height: 1.02;
}

.md-typeset .tek-hero p {
  max-width: 62ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
}

.tek-eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: #8ce2be;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tek-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.25rem 0 2.25rem;
}

.tek-card {
  display: block;
  min-height: 10rem;
  padding: 1.25rem;
  border: 1px solid var(--tek-border);
  border-radius: 0.8rem;
  color: var(--tek-ink) !important;
  background: linear-gradient(180deg, #fff 0%, #f8fbfd 100%);
  box-shadow: 0 10px 24px rgba(16, 37, 62, 0.06);
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.tek-card:hover,
.tek-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(22, 122, 86, 0.55);
  box-shadow: 0 14px 32px rgba(16, 37, 62, 0.12);
}

.tek-card strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--tek-navy);
  font-size: 1.05rem;
}

.tek-card span {
  color: var(--tek-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.tek-task-list li {
  margin-bottom: 0.55rem;
}

.md-typeset .admonition,
.md-typeset details {
  border-radius: 0.65rem;
  box-shadow: none;
}

.md-typeset table:not([class]) {
  border: 1px solid var(--tek-border);
  border-radius: 0.5rem;
  box-shadow: none;
}

@media screen and (max-width: 44.984375em) {
  .md-typeset .tek-hero {
    border-radius: 0.75rem;
  }

  .tek-card-grid {
    grid-template-columns: 1fr;
  }
}

