:root {
  --ek-business-blue: #0038a8;
  --ek-focus: #0c53ed;
  --ek-campus-green: #acb504;
  --ek-sunlit-energy: #e8d285;
  --ek-daylight: #f8edca;
  --ek-academic-fire: #fe4c61;
  --ek-poolside-study: #33abb5;
  --ek-pencil-grey: #333333;
  --surface: #fffaf0;
  --white: #ffffff;
  --border: rgba(0, 56, 168, 0.18);
  --muted: #5f5f5f;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ek-pencil-grey);
  background: var(--surface);
  font-family: "Oso Sans", Aptos, Calibri, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--ek-business-blue);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ek-focus);
}

:focus-visible {
  outline: 3px solid var(--ek-academic-fire);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: -999px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--white);
  border: 2px solid var(--ek-business-blue);
  border-radius: 4px;
}

.skip-link:focus {
  left: 12px;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  max-width: 820px;
}

.stack {
  display: grid;
  gap: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 237, 202, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  color: var(--ek-business-blue);
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: min(210px, 38vw);
}

.brand-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand-title {
  font-weight: 800;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.92rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 4px;
  color: var(--ek-business-blue);
  font-weight: 700;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: var(--white);
}

.hero,
.page-hero {
  background:
    linear-gradient(90deg, rgba(248, 237, 202, 0.94), rgba(255, 250, 240, 0.92)),
    linear-gradient(135deg, var(--ek-daylight), var(--ek-sunlit-energy));
}

.hero {
  padding: clamp(48px, 8vw, 96px) 0 clamp(32px, 6vw, 72px);
}

.page-hero {
  padding: clamp(44px, 7vw, 84px) 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 326px);
  grid-template-areas:
    "eyebrow eyebrow"
    "title title"
    "lead overview"
    "actions overview";
  column-gap: clamp(24px, 5vw, 56px);
  row-gap: 20px;
  align-items: start;
}

.hero-copy {
  display: contents;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--ek-business-blue);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  grid-area: eyebrow;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ek-business-blue);
  line-height: 1.1;
}

h1 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: 2.6rem;
  hyphens: auto;
  overflow-wrap: break-word;
}

.hero h1 {
  grid-area: title;
  max-width: 1000px;
}

h1 em {
  font-family: "Oso Serif", "Aptos Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

h2 {
  margin-bottom: 0;
  font-size: 2rem;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.14rem;
}

p {
  max-width: 72ch;
}

.lead {
  margin-bottom: 0;
  color: var(--ek-pencil-grey);
  font-size: 1.1rem;
}

.hero .lead {
  grid-area: lead;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero .button-row {
  grid-area: actions;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 2px solid var(--ek-business-blue);
  border-radius: 4px;
  background: var(--ek-business-blue);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  background: var(--ek-focus);
  border-color: var(--ek-focus);
  color: var(--white);
}

.button.secondary {
  background: var(--white);
  color: var(--ek-business-blue);
}

.button.secondary:hover {
  background: var(--ek-daylight);
  color: var(--ek-business-blue);
}

.button.inverted {
  background: var(--white);
  color: var(--ek-business-blue);
  border-color: var(--white);
  width: fit-content;
}

.overview,
.feature-card,
.download-card,
.data-level {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
}

.overview {
  grid-area: overview;
  padding: 24px;
  border-top: 8px solid var(--ek-poolside-study);
}

.overview h2 {
  margin-bottom: 16px;
  font-size: 1.4rem;
}

.overview-actions {
  margin-top: 22px;
}

.overview-actions .button {
  width: 100%;
}

.clean-list,
.check-grid {
  list-style: none;
  margin: 0;
  padding: 0;
}

.clean-list {
  display: grid;
  gap: 12px;
}

.clean-list li,
.check-grid li {
  position: relative;
  padding-left: 24px;
}

.clean-list li::before,
.check-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  background: var(--ek-campus-green);
  border-radius: 50%;
}

.section {
  padding: clamp(44px, 7vw, 88px) 0;
}

.band-light {
  background: var(--ek-daylight);
}

.band-blue {
  background: var(--ek-business-blue);
  color: var(--white);
}

.band-blue h2,
.band-blue h3,
.band-blue p,
.band-blue .section-kicker {
  color: var(--white);
}

.section-head {
  display: grid;
  gap: 8px;
  max-width: 760px;
  margin-bottom: 28px;
}

.formula {
  max-width: 920px;
  margin: 0;
  padding: 18px 22px;
  background: var(--white);
  border-left: 8px solid var(--ek-poolside-study);
  color: var(--ek-business-blue);
  font-size: 1.15rem;
  font-weight: 800;
}

.work-equation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}

.work-equation-image {
  display: flex;
  justify-content: center;
}

.work-equation-image img {
  width: auto;
  max-width: 100%;
  max-height: 360px;
  object-fit: contain;
}

.timeline {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
}

.timeline li {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.timeline time {
  color: var(--ek-business-blue);
  font-weight: 900;
}

.timeline p,
.feature-card p,
.download-card p,
.install-card p,
.data-level p {
  margin-bottom: 0;
}

.feature-grid,
.download-grid,
.install-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.download-card,
.install-card {
  padding: 22px;
}

.feature-card h3,
.download-card h3,
.install-card h3 {
  color: var(--ek-business-blue);
}

.feature-card p,
.download-card p,
.install-card p {
  color: var(--ek-pencil-grey);
}

.download-card,
.install-card {
  display: grid;
  gap: 14px;
  align-content: start;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
}

.number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--ek-sunlit-energy);
  color: var(--ek-business-blue);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
}

.text-link {
  font-weight: 800;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.data-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

.data-level {
  padding: 20px;
  border-top: 8px solid var(--ek-campus-green);
}

.data-level.warning {
  border-top-color: var(--ek-sunlit-energy);
}

.data-level.danger {
  border-top-color: var(--ek-academic-fire);
}

.folder-tree {
  margin: 0;
  overflow-x: auto;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--ek-pencil-grey);
}

.video-container {
  display: grid;
  gap: 16px;
}

.video-wrapper {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #000000;
  aspect-ratio: 16 / 9;
}

.video-wrapper video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-note {
  margin-bottom: 0;
  color: var(--muted);
}

code,
pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.syntax-grid {
  display: grid;
  gap: 10px;
}

.markdown-course {
  display: grid;
  gap: 16px;
}

.markdown-panel {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
}

.markdown-panel h2 {
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.markdown-panel pre {
  overflow-x: auto;
  margin: 14px 0 0;
  padding: 16px;
  border-radius: 8px;
  background: #10224f;
  color: #ffffff;
}

.markdown-panel code {
  font-size: 0.95rem;
}

.markdown-panel p:last-child,
.markdown-panel ol:last-child,
.markdown-panel ul:last-child {
  margin-bottom: 0;
}

.task-panel {
  border-top: 8px solid var(--ek-poolside-study);
}

.step-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.step-list li::marker {
  color: var(--ek-business-blue);
  font-weight: 900;
}

.syntax-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.syntax-row code {
  color: var(--ek-business-blue);
  font-weight: 800;
}

.site-footer {
  background: var(--ek-business-blue);
  color: var(--white);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner p {
  margin: 6px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: start;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--white);
  font-weight: 800;
}

@media (max-width: 860px) {
  .header-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav,
  .footer-links {
    justify-content: flex-start;
  }

  .hero-grid,
  .split,
  .work-equation-grid,
  .data-grid {
    grid-template-columns: 1fr;
  }

  .work-equation-image {
    justify-content: flex-start;
  }

  .work-equation-image img {
    width: min(360px, 100%);
    max-height: none;
  }

  .hero-grid {
    grid-template-areas:
      "eyebrow"
      "title"
      "lead"
      "actions"
      "overview";
  }

  .feature-grid,
  .download-grid,
  .install-grid {
    grid-template-columns: 1fr;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (min-width: 720px) {
  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.65rem;
  }

  .lead {
    font-size: 1.22rem;
  }

  .formula {
    font-size: 1.35rem;
  }
}

@media (min-width: 1040px) {
  h1 {
    font-size: 5.2rem;
  }

  h2 {
    font-size: 3.05rem;
  }

  .lead {
    font-size: 1.3rem;
  }

  .formula {
    font-size: 1.48rem;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(var(--max), calc(100% - 28px));
  }

  .brand {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .brand-logo {
    width: min(190px, 62vw);
  }

  .nav {
    width: 100%;
  }

  .nav a {
    padding: 0 10px;
  }

  .button {
    width: 100%;
  }

  .check-grid,
  .syntax-row {
    grid-template-columns: 1fr;
  }
}
