:root {
  --brand: #FF3333;
  --brand-deep: #1F1F1F;
  --accent: #A7B1B9;
  --ink: #152033;
  --muted: #667085;
  --line: #dfe5ee;
  --surface: #ffffff;
  --canvas: #f4f7fb;
  --shadow: 0 18px 50px rgba(20, 32, 51, .10);
}
* { box-sizing: border-box; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% -10%, color-mix(in srgb, var(--brand) 13%, transparent), transparent 35rem),
    var(--canvas);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(223, 229, 238, .82);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(18px);
}
.site-header__inner,
.page,
.site-footer__inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}
.site-header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand__logo-shell {
  min-width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}
.brand__logo { display: block; width: auto; max-width: 108px; max-height: 34px; }
.brand__copy { display: grid; line-height: 1.15; }
.brand__copy strong { font-size: 15px; letter-spacing: .01em; }
.brand__copy span { margin-top: 4px; color: var(--muted); font-size: 12px; }
.site-search {
  position: relative;
  flex: 1 1 320px;
  max-width: 360px;
  margin-left: auto;
}
.site-search__field {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fafc;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.site-search:focus-within .site-search__field {
  border-color: var(--brand);
  background: white;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 15%, transparent);
}
.site-search__field svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--muted); }
.site-search input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 14px;
}
.site-search input::placeholder { color: #87909f; }
.site-search__results {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  width: min(520px, calc(100vw - 32px));
  max-height: min(540px, calc(100vh - 110px));
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  box-shadow: 0 24px 60px rgba(20, 32, 51, .18);
}
.site-search__results[hidden] { display: none; }
.site-search__summary { padding: 12px 15px; color: var(--muted); font-size: 12px; font-weight: 750; }
.site-search__result {
  display: grid;
  gap: 3px;
  padding: 12px 15px;
  border-top: 1px solid #edf0f4;
  text-decoration: none;
}
.site-search__result:hover,
.site-search__result:focus,
.site-search__result.is-active { outline: 0; background: color-mix(in srgb, var(--brand) 8%, white); }
.site-search__result strong { color: var(--ink); font-size: 14px; line-height: 1.35; }
.site-search__result span { color: var(--muted); font-size: 12px; }
.site-nav { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; }
.site-nav a {
  padding: 9px 13px;
  color: #475467;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}
.site-nav a:hover { color: var(--brand-deep); background: #f0f4f8; }
.page { padding: 34px 0 84px; }
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 13px;
}
.breadcrumbs a { color: var(--brand-deep); text-decoration: none; font-weight: 650; }
.breadcrumbs svg { width: 14px; height: 14px; opacity: .55; }
.hero {
  position: relative;
  min-height: 370px;
  padding: clamp(34px, 6vw, 72px);
  overflow: hidden;
  display: grid;
  align-items: center;
  border-radius: 30px;
  color: white;
  background:
    linear-gradient(118deg, var(--brand-deep) 0%, color-mix(in srgb, var(--brand-deep) 70%, var(--brand)) 54%, var(--brand) 130%);
  box-shadow: 0 26px 70px color-mix(in srgb, var(--brand-deep) 25%, transparent);
}
.hero--compact { min-height: 300px; }
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}
.hero::before {
  width: 430px;
  height: 430px;
  top: -230px;
  right: -80px;
  border: 1px solid rgba(255,255,255,.19);
  box-shadow: 0 0 0 70px rgba(255,255,255,.04), 0 0 0 140px rgba(255,255,255,.025);
}
.hero::after {
  width: 240px;
  height: 240px;
  right: 15%;
  bottom: -190px;
  background: var(--accent);
  filter: blur(3px);
  opacity: .16;
}
.hero__content { position: relative; z-index: 1; width: 100%; min-width: 0; max-width: 770px; }
.hero__brand-art {
  position: absolute;
  z-index: 0;
  width: min(33vw, 390px);
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  opacity: .09;
  pointer-events: none;
}
.hero__brand-art img { display: block; width: 100%; max-height: 250px; object-fit: contain; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255,255,255,.82);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 18%, transparent);
}
.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.hero--compact h1 { font-size: clamp(34px, 5vw, 56px); }
.hero__lead {
  max-width: 700px;
  margin: 22px 0 0;
  color: rgba(255,255,255,.78);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 780;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button--primary { color: var(--brand-deep); background: white; }
.button--ghost { color: white; border-color: rgba(255,255,255,.26); background: rgba(255,255,255,.08); }
.button--ghost:hover { background: rgba(255,255,255,.14); }
.button svg { width: 17px; height: 17px; }
.hero__stats {
  position: relative;
  z-index: 1;
  align-self: end;
  display: flex;
  gap: 12px;
  margin-top: 38px;
}
.stat {
  min-width: 120px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 15px;
  background: rgba(255,255,255,.08);
}
.stat strong { display: block; font-size: 21px; }
.stat span { color: rgba(255,255,255,.66); font-size: 12px; }
.content-section { padding-top: 64px; }
.section-heading {
  max-width: 720px;
  margin-bottom: 25px;
}
.section-heading h2 { margin: 0; font-size: clamp(27px, 4vw, 38px); letter-spacing: -.03em; }
.section-heading p { margin: 10px 0 0; color: var(--muted); font-size: 16px; }
.section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.section-card,
.guide-card {
  position: relative;
  min-height: 260px;
  padding: 27px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 4px 18px rgba(20,32,51,.035);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.section-card:hover,
.guide-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--brand) 42%, var(--line));
  box-shadow: var(--shadow);
}
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.card-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--brand-deep);
  background: color-mix(in srgb, var(--brand) 12%, white);
}
.card-icon svg { width: 25px; height: 25px; }
.card-count,
.guide-card__meta {
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--muted);
  background: #f3f5f8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .03em;
}
.section-card h3,
.guide-card h3 { margin: 20px 0 8px; font-size: 22px; line-height: 1.2; letter-spacing: -.02em; }
.section-card > p,
.guide-card > p { margin: 0; color: var(--muted); font-size: 14px; }
.mini-list {
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
}
.mini-list li {
  padding: 5px 9px;
  border: 1px solid #e5eaf1;
  border-radius: 8px;
  color: #475467;
  background: #fafbfc;
  font-size: 12px;
}
.card-link {
  margin-top: auto;
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--brand-deep);
  font-size: 13px;
  font-weight: 800;
}
.card-link svg { width: 18px; height: 18px; transition: transform .18s ease; }
.section-card:hover .card-link svg,
.guide-card:hover .card-link svg { transform: translateX(4px); }
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.guide-card { min-height: 250px; }
.versions {
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
}
.version-chip {
  min-width: 112px;
  padding: 12px 15px;
  display: grid;
  border: 1px solid var(--line);
  border-radius: 13px;
  text-decoration: none;
  transition: border-color .18s ease, background .18s ease;
}
.version-chip strong { font-size: 16px; }
.version-chip span { margin-top: 2px; color: var(--muted); font-size: 11px; }
.version-chip:hover,
.version-chip--current { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 7%, white); }
.site-footer { border-top: 1px solid var(--line); background: white; }
.site-footer__inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 13px;
}
.site-footer a { color: var(--brand-deep); font-weight: 700; text-decoration: none; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 18px; }

/* Dark graphite composition with a turquoise-to-blue signature gradient. */
.theme-dark {
  --ink: #252935;
  --muted: #68707f;
  --line: #dfe2e7;
  --canvas: #eeeff1;
  --shadow: 0 24px 60px rgba(37, 41, 53, .14);
  font-family: Montserrat, "Segoe UI", Arial, sans-serif;
}
.theme-dark .site-header { background: rgba(255,255,255,.94); border-bottom-color: #e4e7eb; }
.theme-dark .brand__logo-shell { min-width: 90px; justify-content: start; }
.theme-dark .brand__logo { width: 82px; max-width: 82px; }
.theme-dark .site-nav a { border-radius: 999px; }
.theme-dark .site-nav a:last-child { padding-inline: 20px; color: white; background: #252935; }
.theme-dark .site-nav a:last-child:hover { background: #13151b; }
.theme-dark .hero { min-height: 480px; background: #252935; box-shadow: 0 30px 75px rgba(37,41,53,.2); }
.theme-dark .hero::before {
  width: 100%; height: 6px; left: 0; right: 0; top: auto; bottom: 0;
  border: 0; border-radius: 0; background: linear-gradient(90deg, #00cb9a, #1269d9); box-shadow: none;
}
.theme-dark .hero::after {
  width: 520px; height: 520px; right: -150px; bottom: -280px;
  border: 1px solid rgba(255,255,255,.09); background: transparent;
  box-shadow: 0 0 0 76px rgba(255,255,255,.025), 0 0 0 152px rgba(255,255,255,.018);
  filter: none; opacity: 1;
}
.theme-dark .hero__brand-art { right: 5%; opacity: .115; filter: saturate(.8); }
.theme-dark .eyebrow { padding: 7px 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; letter-spacing: .05em; text-transform: none; }
.theme-dark .hero h1 { max-width: 790px; font-weight: 650; }
.theme-dark .button { border-radius: 999px; }
.theme-dark .button--primary { color: white; background: linear-gradient(95deg, #00cb9a, #1269d9); }
.theme-dark .button--primary:hover { box-shadow: 0 12px 28px rgba(0,203,154,.2); }
.theme-dark .card-icon { color: #1269d9; background: linear-gradient(135deg, rgba(0,203,154,.14), rgba(18,105,217,.13)); }
.theme-dark .section-card:hover,
.theme-dark .guide-card:hover { border-color: #00cb9a; }
.theme-dark .card-link,
.theme-dark .breadcrumbs a,
.theme-dark .site-footer a { color: #1269d9; }

/* Light modular composition with the red product accent. */
.theme-light {
  --ink: #1f1f1f;
  --muted: #68727b;
  --line: #e1e5e7;
  --surface: #ffffff;
  --canvas: #f4f6f7;
  --shadow: 0 24px 65px rgba(9,8,9,.09);
  font-family: Onest, "Segoe UI", Arial, sans-serif;
  background: #f4f6f7;
}
.theme-light .site-header { padding-top: 8px; border: 0; background: transparent; backdrop-filter: none; }
.theme-light .site-header__inner { width: min(1280px, calc(100% - 40px)); }
.theme-light .brand { padding: 6px 18px 6px 7px; border-radius: 15px; background: #eceff0; }
.theme-light .brand__logo-shell { width: 48px; min-width: 48px; height: 48px; border-radius: 12px; background: white; }
.theme-light .brand__logo { width: 28px; max-height: 31px; }
.theme-light .site-nav { padding: 5px; border-radius: 15px; background: #eceff0; }
.theme-light .site-nav a { min-height: 42px; padding-inline: 16px; display: inline-flex; align-items: center; border-radius: 11px; }
.theme-light .site-nav a:hover { color: #1f1f1f; background: white; }
.theme-light .site-nav a:last-child { padding-inline: 20px; color: white; background: #ff3333; }
.theme-light .site-nav a:last-child:hover { color: white; background: #e72424; }
.theme-light .page { padding-top: 44px; }
.theme-light .breadcrumbs { margin-bottom: 4px; }
.theme-light .breadcrumbs a { color: #1f1f1f; }
.theme-light .hero {
  min-height: 455px; padding-top: 60px; padding-bottom: 60px; justify-items: center;
  color: #1f1f1f; background: transparent; border-radius: 0; box-shadow: none; text-align: center;
}
.theme-light .hero::before {
  width: 410px; height: 410px; top: 16px; right: -130px;
  border: 1px solid rgba(9,30,51,.08);
  box-shadow: 0 0 0 58px rgba(255,255,255,.42), 0 0 0 116px rgba(9,30,51,.025);
}
.theme-light .hero::after {
  width: 14px; height: 14px; right: 8%; bottom: 18%; background: #ff3333;
  box-shadow: 0 0 0 16px rgba(255,51,51,.09); filter: none; opacity: 1;
}
.theme-light .hero__content { max-width: 900px; }
.theme-light .hero__brand-art { width: 240px; right: 2%; opacity: .045; }
.theme-light .eyebrow { margin-bottom: 24px; padding: 8px 14px; color: #4c555c; background: #eceff0; border-radius: 999px; letter-spacing: .02em; text-transform: none; }
.theme-light .eyebrow::before { background: #ff3333; box-shadow: none; }
.theme-light .hero h1 { max-width: 970px; font-weight: 500; letter-spacing: -.035em; }
.theme-light .hero__lead { margin-inline: auto; color: #59636c; }
.theme-light .hero__actions,
.theme-light .hero__stats { justify-content: center; }
.theme-light .button { min-height: 52px; padding-inline: 22px; border-radius: 14px; }
.theme-light .button--primary { color: white; background: #ff3333; }
.theme-light .button--primary:hover { background: #e72424; }
.theme-light .button--ghost { color: #1f1f1f; border-color: #d8dddf; background: white; }
.theme-light .button--ghost:hover { background: #eceff0; }
.theme-light .stat { color: #1f1f1f; border-color: #dfe3e5; background: white; }
.theme-light .stat span { color: #68727b; }
.theme-light .content-section { padding-top: 54px; }
.theme-light .section-heading { max-width: 830px; }
.theme-light .section-heading h2 { font-weight: 500; }
.theme-light .section-card,
.theme-light .guide-card { border-color: transparent; border-radius: 20px; box-shadow: none; }
.theme-light .section-card:hover,
.theme-light .guide-card:hover { border-color: #ff3333; box-shadow: var(--shadow); }
.theme-light .card-icon { color: #1f1f1f; background: #eceff0; border-radius: 13px; }
.theme-light .card-count,
.theme-light .guide-card__meta { color: #5b646b; background: #eceff0; }
.theme-light .card-link,
.theme-light .site-footer a { color: #e72424; }
.theme-light .versions { border: 0; border-radius: 20px; }
.theme-light .version-chip:hover,
.theme-light .version-chip--current { border-color: #ff3333; background: #fff5f5; }
@media (max-width: 980px) {
  .site-header__inner { gap: 12px; }
  .site-nav a:first-child { display: none; }
  .site-search { flex-basis: 250px; }
}
@media (max-width: 760px) {
  .site-header__inner, .page, .site-footer__inner { width: min(1180px, calc(100% - 24px)); }
  .site-header__inner { min-height: 66px; }
  .brand__copy { display: none; }
  .site-search { max-width: none; }
  .site-nav a { padding: 8px; }
  .page { padding-top: 20px; }
  .hero { min-height: 0; padding: 34px 25px; border-radius: 22px; }
  .theme-dark .hero, .theme-light .hero { min-height: 0; }
  .theme-light .hero { padding: 42px 20px; border-radius: 0; }
  .hero__brand-art { display: none; }
  .hero__stats { flex-wrap: wrap; }
  .stat { min-width: 105px; }
  .content-section { padding-top: 46px; }
  .section-grid, .guide-grid { grid-template-columns: 1fr; }
  .section-card, .guide-card { min-height: 235px; padding: 23px; }
  .site-footer__inner { padding: 22px 0; align-items: flex-start; flex-direction: column; justify-content: center; }
}
@media (max-width: 520px) {
  .site-nav { display: none; }
  .site-search { margin-left: 0; }
  .brand__copy strong { font-size: 14px; }
  .hero__actions { display: grid; grid-template-columns: minmax(0, 1fr); }
  .hero__actions .button { width: 100%; max-width: 100%; }
  .hero h1, .hero__lead { overflow-wrap: anywhere; }
}
