/*!
 * osgit brand layer
 * Built on Start Bootstrap "New Age" v6.0.7 (Bootstrap 5.2.3)
 */

:root {
  --os-ink: #1b2430;
  --os-ink-soft: #4c5968;
  --os-navy: #253d52;
  --os-navy-deep: #172b3c;
  --os-orange: #2f6bff;
  --os-orange-soft: #9dbcff;
  --os-cream: #f7f5ef;
  --os-paper: #fffefa;
  --os-line: #d9ddd9;
  --os-code: #152434;
  --bs-primary: #253d52;
  --bs-primary-rgb: 37, 61, 82;
  --bs-secondary: #2f6bff;
  --bs-secondary-rgb: 47, 107, 255;
  --bs-body-font-family: "Mulish", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --bs-body-color: #1b2430;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .display-1, .display-4, .section-title {
  font-family: "Newsreader", Georgia, "Songti SC", "STSong", "Noto Serif SC", "SimSun", serif;
  letter-spacing: -.02em;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 2000;
  padding: .6rem 1rem;
  border-radius: .4rem;
  background: var(--os-navy);
  color: #fff;
  font-size: .85rem;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* Text accents ----------------------------------------------------------- */

.text-accent { color: var(--os-orange); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
  color: var(--os-orange);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 1.9rem;
  height: 2px;
  background: currentColor;
}

.section-title {
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.16;
  font-weight: 400;
}

/* Buttons ---------------------------------------------------------------- */

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--os-navy);
  --bs-btn-border-color: var(--os-navy);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--os-orange);
  --bs-btn-hover-border-color: var(--os-orange);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #cf5f33;
  --bs-btn-active-border-color: #cf5f33;
  --bs-btn-focus-shadow-rgb: 228, 111, 63;
}
.btn-outline-dark {
  --bs-btn-hover-bg: var(--os-navy);
  --bs-btn-hover-border-color: var(--os-navy);
  --bs-btn-active-bg: var(--os-navy);
  --bs-btn-active-border-color: var(--os-navy);
}
.btn {
  font-weight: 600;
  transition: transform .22s cubic-bezier(.2, .7, .2, 1),
    background-color .22s cubic-bezier(.2, .7, .2, 1),
    border-color .22s cubic-bezier(.2, .7, .2, 1),
    color .22s cubic-bezier(.2, .7, .2, 1),
    box-shadow .22s cubic-bezier(.2, .7, .2, 1);
}
.btn:hover { transform: translateY(-2px) rotate(-1deg); }
.btn:active { transform: translateY(1px) scale(.98); }

/* Navigation ------------------------------------------------------------- */

#mainNav {
  padding-top: .85rem;
  padding-bottom: .85rem;
  background-color: #fff;
  box-shadow: 0 .5rem 1.5rem rgba(23, 43, 60, .07);
  /* Keep the bar pinned even if Bootstrap's helper layer loads late or is cached stale. */
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
}
/* Fixed header must not cover anchored section titles on mobile. */
section[id],
header[id] { scroll-margin-top: 5.5rem; }
#mainNav .navbar-brand { padding-top: 0; padding-bottom: 0; }
#mainNav .navbar-brand img { display: block; height: 2rem; width: auto; }
/* Nav switch (hamburger) */

.nav-switch {
  position: relative;
  width: 35px;
  height: 35px;
  padding: 0;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  color: var(--os-navy);
}
@media (min-width: 992px) {
  .nav-switch { display: none; }
}
.nav-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.nav-switch .wrapper {
  width: 35px;
  height: 35px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all .2s;
}
.nav-switch .row {
  width: 100%;
  height: 50%;
  margin: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
}
.nav-switch .row > * {
  width: auto;
  max-width: none;
  padding: 0;
  margin: 0;
}
.nav-switch .row-bottom { align-items: flex-end; }
.nav-switch .dot {
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 50%;
  transition: all .2s;
}
.nav-switch .row-horizontal {
  position: absolute;
  width: 100%;
  height: fit-content;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all .2s;
}
.nav-switch .row-vertical {
  position: absolute;
  width: fit-content;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transition: all .2s;
}
.nav-switch input:checked + .wrapper { transform: rotate(45deg) scale(1.2); }
.nav-switch input:checked + .wrapper .row-vertical { height: 100px; }
.nav-switch input:checked + .wrapper .row-horizontal { width: 100px; }
.nav-switch input:checked + .wrapper .row-vertical .middle-dot {
  border-radius: 5px;
  height: 35px;
}
.nav-switch input:checked + .wrapper .row-horizontal .middle-dot-horizontal {
  border-radius: 5px;
  width: 35px;
}
.nav-switch input:focus-visible + .wrapper {
  border-radius: .4rem;
  box-shadow: 0 0 0 2px rgba(228, 111, 63, .45);
}
#mainNav .navbar-nav .nav-item .nav-link {
  color: var(--os-ink-soft);
  font-weight: 600;
  font-size: .95rem;
}
#mainNav .navbar-nav .nav-item .nav-link:hover,
#mainNav .navbar-nav .nav-item .nav-link.active { color: var(--os-orange); }

/* Masthead --------------------------------------------------------------- */

.masthead {
  background-color: #f8f9fa;
  padding-top: 8.5rem;
  padding-bottom: 5rem;
  overflow: hidden;
}
.masthead .display-1 {
  font-size: clamp(2.7rem, 5.1vw, 4.5rem);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -.03em;
  max-width: 30ch;
}
.masthead .display-1 .text-accent,
.section-title .text-accent { white-space: nowrap; }
.masthead .lead {
  max-width: 34rem;
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  line-height: 1.8;
}
.masthead-note {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0;
  color: #6c757d;
  font-size: .88rem;
}
.status-dot {
  display: inline-block;
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: #4c9a6d;
}

.masthead-visual,
.feature-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
}
.visual-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(104%, 34rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--os-orange-soft);
  transform: translate(-50%, -50%);
}
.visual-star {
  position: absolute;
  fill: var(--os-orange);
  z-index: 0;
}
.visual-star.star-1 {
  width: 2.4rem;
  height: 2.4rem;
  top: 3%;
  right: 0;
  transform: rotate(10deg);
}
.visual-star.star-2 {
  width: 1.15rem;
  height: 1.15rem;
  bottom: 1%;
  left: 2%;
  transform: rotate(-14deg);
  fill: #fff;
  opacity: .8;
}
.hero-art {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 32rem;
}

/* Workbench preview ------------------------------------------------------ */

.window-chrome {
  height: 2.25rem;
  padding: 0 .95rem;
  display: flex;
  align-items: center;
  gap: .375rem;
  color: #9eb2c2;
  background: var(--os-navy-deep);
  border-radius: .55rem .55rem 0 0;
  font: .7rem/1 ui-monospace, SFMono-Regular, Consolas, monospace;
}
.window-chrome span {
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: #668196;
}
.window-chrome span:first-child { background: #e27a56; }
.window-chrome code { margin-left: .65rem; }

.workbench {
  min-height: 0;
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  overflow: hidden;
  border: 1px solid #263d4e;
  border-top: 0;
  border-radius: 0 0 .55rem .55rem;
  background: #f0f2f1;
  box-shadow: 0 1.6rem 3.4rem rgba(23, 43, 60, .3);
}
.workbench-sidebar {
  padding: 1.1rem .65rem;
  color: #dce5e9;
  background: var(--os-navy);
  font-size: .69rem;
}
.mini-brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0 .25rem 1.6rem;
  font-size: .85rem;
}
.mini-brand img { border-radius: 50%; }
.mini-repo {
  margin: 0 .25rem 1.4rem;
  padding-bottom: .85rem;
  border-bottom: 1px solid rgba(220, 229, 233, .16);
}
.mini-repo strong { display: block; margin: .12rem 0; font-size: .75rem; }
.mini-label,
.mini-branch { display: block; color: #a5bdc9; font-size: .62rem; }
.mini-nav-label {
  margin: .85rem .25rem .35rem;
  color: #8ba2b0;
  font-size: .56rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.mini-nav {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .35rem;
  color: #c6d3d9;
  border-left: 2px solid transparent;
}
.mini-nav span { color: #94afbd; }
.mini-nav b { margin-left: auto; color: #e88963; font-weight: 600; }
.mini-nav.active {
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border-left-color: var(--os-orange);
}
.workbench-main { padding: 1.1rem; }
.mini-toolbar,
.panel-title { display: flex; align-items: center; justify-content: space-between; }
.mini-toolbar { margin-bottom: 1.1rem; color: var(--os-navy); font-size: .8rem; }
.toolbar-pill {
  display: inline-block;
  margin-left: .3rem;
  padding: .25rem .45rem;
  color: #657584;
  background: #fff;
  border: 1px solid #d7dcdb;
  border-radius: .2rem;
  font-size: .56rem;
}
.toolbar-pill.accent {
  color: #fff;
  background: var(--os-orange);
  border-color: var(--os-orange);
}
.workbench-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: .75rem; }
.change-panel,
.diff-panel { min-width: 0; background: #fff; border: 1px solid #d8ddda; }
.panel-title {
  padding: .7rem .75rem;
  color: var(--os-navy);
  border-bottom: 1px solid #e4e7e5;
  font-size: .69rem;
  font-weight: 700;
}
.panel-title strong {
  min-width: 1.25rem;
  padding: .05rem .3rem;
  color: var(--os-orange);
  background: #fff1eb;
  border-radius: .75rem;
  text-align: center;
  font-size: .62rem;
}
.change-row {
  display: grid;
  grid-template-columns: 1.1rem minmax(0, 1fr) auto;
  align-items: center;
  gap: .4rem;
  padding: .7rem .62rem;
  color: #536372;
  border-bottom: 1px solid #eff1ef;
  font: .62rem ui-monospace, SFMono-Regular, Consolas, monospace;
}
.change-row.selected { color: var(--os-navy); background: #f2f5f4; }
.change-row small { color: #94a0a6; font-size: .56rem; }
.change-mark {
  display: grid;
  width: 1rem;
  height: 1rem;
  place-items: center;
  border-radius: .15rem;
  font-size: .56rem;
  font-weight: 700;
}
.change-mark.modified { color: #a75a34; background: #ffe7dc; }
.change-mark.added { color: #407b5b; background: #e4f2e6; }
.commit-box {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: .95rem .62rem .62rem;
  padding: .55rem;
  color: #5b6974;
  background: #f7f8f6;
  border: 1px dashed #cfd7d4;
  font-size: .62rem;
}
.commit-box strong,
.commit-box small { display: block; }
.commit-box small { color: #8b969d; font-size: .56rem; }
.commit-dot {
  width: .45rem;
  height: .45rem;
  border: 1px solid var(--os-orange);
  border-radius: 50%;
}
.diff-mode { color: #73818b; font-size: .56rem; font-weight: 400; }
.diff-code {
  min-height: 9.5rem;
  padding: .75rem .62rem;
  background: var(--os-code);
  color: #d5e0e1;
  font: .62rem/1.8 ui-monospace, SFMono-Regular, Consolas, monospace;
}
.diff-code p { margin: 0; white-space: nowrap; }
.line-no {
  display: inline-block;
  width: 1.45rem;
  margin-right: .62rem;
  color: #657a83;
  text-align: right;
}
.code-muted { color: #a7b8bb; }
.line-add { color: #f5c4a5; background: rgba(227, 111, 63, .14); }
.diff-footer { padding: .55rem .62rem; color: #547363; font-size: .56rem; }

/* Quote band ------------------------------------------------------------- */

.os-quote { padding: 4.5rem 0; background: var(--os-navy); }
.os-quote .quote-text {
  font-family: "Newsreader", Georgia, "Songti SC", "STSong", "Noto Serif SC", serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -.01em;
}
.os-quote .quote-kicker {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
}

/* Feature grid ----------------------------------------------------------- */

.os-features { padding: 6rem 0; }
.feature-item .icon-feature {
  display: block;
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1.1rem;
  color: var(--os-orange);
}
.feature-item h3 {
  margin-bottom: .6rem;
  color: var(--os-navy);
  font-size: 1.25rem;
}
.feature-item p {
  max-width: 19rem;
  margin: 0 auto;
  color: var(--os-ink-soft);
  font-size: .92rem;
  line-height: 1.75;
}

.graph-card {
  position: relative;
  z-index: 1;
  width: 17rem;
  padding: 1.1rem 1.2rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 1.5rem 3rem rgba(23, 43, 60, .24);
}
.graph-head {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid #eef1ef;
  color: var(--os-navy);
  font-size: .85rem;
  font-weight: 700;
}
.graph-head small { margin-left: auto; color: #8b969d; font-size: .68rem; font-weight: 600; }
.graph-list { margin: 0; padding: .6rem 0 0; list-style: none; }
.graph-list li { position: relative; display: flex; gap: .7rem; padding: .55rem 0; }
.graph-list li::before {
  content: "";
  position: absolute;
  left: .3rem;
  top: 1.35rem;
  bottom: -.5rem;
  width: 2px;
  background: #e2e8e5;
}
.graph-list li:last-child::before { display: none; }
.graph-node {
  position: relative;
  z-index: 1;
  flex: none;
  width: .7rem;
  height: .7rem;
  margin-top: .3rem;
  border: 2px solid var(--os-orange);
  border-radius: 50%;
  background: #fff;
}
.graph-list li.is-head .graph-node { background: var(--os-orange); }
.graph-list strong { display: block; color: var(--os-navy); font-size: .76rem; font-weight: 600; line-height: 1.35; }
.graph-list small { display: block; color: #94a0a6; font-size: .66rem; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }

/* Workflow --------------------------------------------------------------- */

.os-workflow { padding: 6rem 0; background-color: #f8f9fa; }
.workflow-card {
  height: 100%;
  padding: 2rem 1.75rem;
  background: #fff;
  border-radius: 1.1rem;
  box-shadow: 0 .9rem 2.4rem rgba(23, 43, 60, .07);
  transition: transform .22s cubic-bezier(.2, .7, .2, 1),
    box-shadow .22s cubic-bezier(.2, .7, .2, 1);
}
.workflow-card:hover {
  transform: translateY(-4px) rotate(-.4deg);
  box-shadow: 0 1.5rem 3rem rgba(23, 43, 60, .16);
}
.workflow-card .step-number {
  color: var(--os-orange);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
}
.workflow-card h3 {
  margin: 1rem 0 .6rem;
  color: var(--os-navy);
  font-size: 1.2rem;
}
.workflow-card p {
  margin: 0;
  color: var(--os-ink-soft);
  font-size: .92rem;
  line-height: 1.78;
}

/* FAQ -------------------------------------------------------------------- */

.os-faq { padding: 6rem 0; }
.faq details {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--os-line);
}
.faq details:first-of-type { border-top: 1px solid var(--os-line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--os-navy);
  font-size: 1.02rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  color: var(--os-orange);
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p {
  max-width: 46rem;
  margin: .85rem 0 0;
  color: var(--os-ink-soft);
  font-size: .94rem;
  line-height: 1.8;
}

/* Call to action --------------------------------------------------------- */

.os-cta {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
  background: var(--os-navy-deep);
}
.os-cta .container { position: relative; z-index: 1; }
.os-cta .display-1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: -.02em;
}

/* Download --------------------------------------------------------------- */

.os-download { padding: 6rem 0; background: var(--os-navy); }
.os-download .display-4 {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 400;
  letter-spacing: -.02em;
}
.download-card {
  display: flex;
  align-items: center;
  gap: .9rem;
  height: 100%;
  padding: 1.15rem 1.25rem;
  background: #fff;
  border-radius: .9rem;
  color: var(--os-navy);
  text-align: left;
  text-decoration: none;
  box-shadow: 0 .8rem 1.8rem rgba(23, 43, 60, .16);
  transition: transform .22s cubic-bezier(.2, .7, .2, 1),
    box-shadow .22s cubic-bezier(.2, .7, .2, 1),
    color .22s cubic-bezier(.2, .7, .2, 1);
}
.download-card:hover,
.download-card:focus-visible {
  color: var(--os-navy);
  transform: translateY(-4px) rotate(-.4deg);
  box-shadow: 0 1.6rem 3rem rgba(0, 0, 0, .32);
}
.download-card > span:nth-child(2) { min-width: 0; }
.download-card .platform-icon {
  display: grid;
  flex: none;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  border-radius: .65rem;
  background: #fff1eb;
  color: var(--os-orange);
}
.download-card .platform { display: block; font-size: 1rem; font-weight: 700; }
.download-card .meta { display: block; color: #7b8792; font-size: .76rem; }
.download-card .arrow {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-left: auto;
  color: var(--os-orange);
  font-size: .8rem;
  font-weight: 700;
}
.download-card .arrow svg { transition: transform .22s cubic-bezier(.2, .7, .2, 1); }
.download-card:hover .arrow svg,
.download-card:focus-visible .arrow svg { transform: translateX(3px); }
.download-note { font-size: .8rem; }

/* Footer ----------------------------------------------------------------- */

.site-footer { padding: 4rem 0; background: #000; }
.site-footer .footer-brand img { display: block; height: 2rem; width: auto; }
.site-footer .footer-links a { color: rgba(255, 255, 255, .55); font-size: .82rem; text-decoration: none; }
.site-footer .footer-links a:hover { color: #fff; }

/* Responsive ------------------------------------------------------------- */

@media (max-width: 991.98px) {
  .masthead { padding-top: 7rem; padding-bottom: 3.5rem; }
  .masthead-visual { margin-top: 2.5rem; padding: 1rem 0; }
  .feature-visual { margin-bottom: 3rem; padding: 1rem 0; }
  .os-cta { padding: 6rem 0; }
  #mainNav .navbar-nav .nav-item .nav-link { padding-top: .65rem; padding-bottom: .65rem; }
  #mainNav .navbar-collapse { padding-bottom: .5rem; }
}

@media (max-width: 575.98px) {
  .container.px-5 {
    padding-right: 1.15rem !important;
    padding-left: 1.15rem !important;
  }
  .masthead { padding-top: 6.5rem; padding-bottom: 3rem; }
  .masthead .display-1 {
    font-size: clamp(2rem, 9vw, 2.8rem);
    letter-spacing: -.02em;
  }
  .masthead .lead { font-size: .98rem; }
  .masthead-visual,
  .feature-visual { padding: 0; }
  .visual-circle,
  .visual-star { display: none; }
  .hero-art { max-width: 100%; }
  .workbench { min-height: 0; grid-template-columns: 1fr; }
  .workbench-sidebar { display: none; }
  .workbench-main { padding: .85rem; }
  .workbench-grid { grid-template-columns: 1fr; }
  .diff-panel { display: none; }
  .window-chrome { font-size: .62rem; }
  .mini-toolbar { font-size: .85rem; }
  .panel-title { font-size: .75rem; }
  .change-row { padding: .8rem .75rem; font-size: .7rem; }
  .change-row small { font-size: .62rem; }
  .commit-box { font-size: .68rem; }
  .commit-box small { font-size: .6rem; }
  .graph-card { width: 100%; max-width: 19rem; }
  .workflow-card { padding: 1.5rem 1.35rem; }
  .os-quote { padding: 3.5rem 0; }
  .os-quote .quote-text { font-size: 1.45rem; }
  .os-cta { padding: 5rem 0; }
  .os-cta .display-1 { font-size: 2.1rem; }
  .os-features,
  .os-workflow,
  .os-faq,
  .os-download { padding: 4rem 0; }
  .download-card { gap: .75rem; padding: 1rem; }
  .download-card .platform { font-size: .93rem; }
  .download-card .meta { font-size: .72rem; }
  .download-card .arrow { font-size: .74rem; }
  .site-footer { padding: 3rem 0; }
}

@media (max-width: 399.98px) {
  .masthead .display-1 { font-size: 1.85rem; }
  .download-card .platform-icon { width: 2.4rem; height: 2.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
