:root {
  --background: #f5f6f8;
  --surface: #ffffff;
  --surface-soft: #f0f2f5;
  --text: #16181d;
  --text-muted: #727784;
  --border: #e1e4e8;
  --primary: #238653;
  --primary-dark: #176b42;
  --primary-soft: #eaf5ef;
  --core: #26303d;
  --focus: #1d6fd8;
  --danger: #d64545;
  --core-bg: #0b0d10;
  --core-bg-soft: #12161c;
  --core-card: #171c23;
  --core-border: #2a3039;
  --core-text: #f5f7fa;
  --core-muted: #a8b0bc;
  --core-accent: #f47a00;
  --core-accent-bright: #ff9418;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.55;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 20;
  transform: translateY(-140%);
  background: var(--text);
  color: #ffffff;
  padding: 10px 12px;
  border-radius: 6px;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.narrow {
  width: min(760px, calc(100% - 32px));
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  padding-block: 10px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--core);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.site-brand img {
  display: block;
  flex: 0 0 auto;
  width: auto;
  max-width: 190px;
  height: auto;
  max-height: 34px;
  object-fit: contain;
}

.site-brand .site-brand-logo {
  width: 34px;
  height: auto;
  max-height: 34px;
  object-fit: contain;
}

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

.site-nav a {
  border-radius: 6px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 10px;
  text-decoration: none;
}

.site-nav a:hover {
  background: var(--surface-soft);
  color: var(--text);
}

.theme-coredevbot {
  background: var(--core-bg);
  color: var(--core-text);
}

.theme-coredevbot .site-header {
  background: rgba(11, 13, 16, 0.86);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.theme-coredevbot .site-brand {
  color: var(--core-text);
}

.theme-coredevbot .site-nav a {
  color: var(--core-muted);
}

.theme-coredevbot .site-nav a:hover {
  background: rgba(255, 148, 24, 0.12);
  color: var(--core-text);
}

.hero {
  padding: 72px 0 56px;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: center;
}

.hero-copy {
  max-width: 720px;
}

.hero h1,
.simple-page h1 {
  margin: 8px 0 14px;
  color: var(--text);
  font-size: clamp(38px, 7vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h2,
.section-heading h2,
.card h2,
.card h3 {
  letter-spacing: 0;
}

.lead {
  margin: 0;
  color: var(--text-muted);
  font-size: 20px;
  max-width: 760px;
}

.eyebrow,
.card-kicker {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-panel {
  display: grid;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 18px 48px rgba(22, 24, 29, 0.08);
}

.hero-panel span,
.hero-panel small {
  color: var(--text-muted);
}

.hero-panel strong {
  color: var(--primary);
  font-size: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.section {
  padding: 56px 0;
}

.section-soft {
  background: #ffffff;
  border-block: 1px solid var(--border);
}

.section-heading {
  margin-bottom: 20px;
}

.section-heading h2 {
  margin: 6px 0 0;
  font-size: 32px;
  line-height: 1.15;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.single-card {
  grid-template-columns: minmax(0, 520px);
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px;
}

.card h2,
.card h3 {
  margin: 8px 0 10px;
  color: var(--text);
  font-size: 22px;
  line-height: 1.2;
}

.card p {
  margin: 0;
  color: var(--text-muted);
}

.product-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 236px;
  gap: 22px;
}

.link-card {
  text-decoration: none;
}

.link-card:hover {
  border-color: var(--primary);
  box-shadow: 0 14px 34px rgba(22, 24, 29, 0.08);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  background: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 6px;
  color: #ffffff;
  font-weight: 800;
  padding: 10px 16px;
  text-align: center;
  text-decoration: none;
}

.button:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.button-secondary {
  background: #ffffff;
  border-color: var(--border);
  color: var(--text);
}

.button-secondary:hover {
  background: var(--primary-soft);
  border-color: var(--primary);
  color: var(--text);
}

.status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 800;
  padding: 3px 10px;
}

.status-active {
  background: var(--primary-soft);
  border-color: #b7dbc6;
  color: var(--primary-dark);
}

.simple-page {
  min-height: 54vh;
  padding: 72px 0;
}

.simple-page .button {
  margin-top: 24px;
}

.site-footer {
  background: var(--core-bg);
  color: #ffffff;
  padding: 40px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 26px;
}

.site-footer h2 {
  margin: 0 0 10px;
  font-size: 16px;
}

.site-footer p,
.site-footer a {
  color: #c6cbd3;
}

.site-footer p {
  margin: 0;
}

.site-footer ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

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

  .site-nav {
    justify-content: flex-start;
  }

  .hero {
    padding: 48px 0 40px;
  }

  .hero-grid,
  .two-column,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .lead {
    font-size: 18px;
  }
}

@media (max-width: 430px) {
  .container,
  .narrow {
    width: calc(100% - 24px);
  }

  .site-nav a {
    font-size: 13px;
    padding: 7px 8px;
  }

  .site-brand img {
    max-width: 160px;
  }

  .hero h1,
  .simple-page h1 {
    font-size: 36px;
  }

  .card {
    padding: 18px;
  }
}
