:root {
  --barkos-ink: #07100f;
  --barkos-ink-soft: #0d1917;
  --barkos-panel: #12211e;
  --barkos-paper: #f4f6f3;
  --barkos-white: #ffffff;
  --barkos-text: #13201e;
  --barkos-muted: #63706d;
  --barkos-line: #d6ddda;
  --barkos-teal: #55d8bf;
  --barkos-teal-dark: #0e6d5f;
  --barkos-gold: #d7ad6c;
  --barkos-max: 1380px;
  --barkos-font: Inter, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.barkos-product {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--barkos-paper);
  color: var(--barkos-text);
  color-scheme: light;
  font-family: var(--barkos-font);
}

.barkos-product h1,
.barkos-product h2,
.barkos-product h3,
.barkos-product p,
.barkos-product dl {
  margin-top: 0;
}

.barkos-product a {
  color: inherit;
  text-decoration: none;
}

.barkos-product a:focus-visible,
.barkos-product button:focus-visible {
  outline: 2px solid var(--barkos-teal);
  outline-offset: 3px;
}

.barkos-shell {
  width: min(calc(100% - 72px), var(--barkos-max));
  margin-inline: auto;
}

.barkos-header {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  min-height: 76px;
  align-items: center;
  padding: 0 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 13, 12, 0.97);
  color: var(--barkos-white);
}

.barkos-site-brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.barkos-site-brand img {
  width: 46px;
  height: 46px;
}

.barkos-site-brand span,
.barkos-footer-brand span {
  display: grid;
  gap: 2px;
}

.barkos-site-brand strong,
.barkos-footer-brand strong {
  font-size: 0.9rem;
}

.barkos-site-brand small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.62rem;
  text-transform: uppercase;
}

.barkos-nav {
  display: flex;
  gap: 25px;
  align-items: center;
  margin-left: auto;
}

.barkos-nav a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
  font-weight: 680;
}

.barkos-nav a:hover,
.barkos-nav a:focus-visible {
  color: var(--barkos-white);
}

.barkos-header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-left: 28px;
}

.barkos-language,
.barkos-menu {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background: transparent;
  color: var(--barkos-white);
  cursor: pointer;
}

.barkos-product .barkos-header-download {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 18px;
  border-radius: 4px;
  background: var(--barkos-white);
  color: var(--barkos-ink);
  font-size: 0.76rem;
  font-weight: 760;
}

.barkos-menu {
  display: none;
}

.barkos-menu span,
.barkos-menu::before,
.barkos-menu::after {
  display: block;
  width: 17px;
  height: 1px;
  background: currentColor;
  content: "";
}

.barkos-menu span {
  margin: 4px 0;
}

.barkos-hero {
  padding: 78px 0 72px;
  background: var(--barkos-ink);
  color: var(--barkos-white);
}

.barkos-hero-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(0, 1.22fr);
  gap: 68px;
  align-items: center;
}

.barkos-product-lockup {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 34px;
}

.barkos-product-lockup img {
  width: 72px;
  height: 72px;
  border-radius: 17px;
}

.barkos-product-lockup span {
  display: grid;
  gap: 3px;
}

.barkos-product-lockup b {
  font-size: 1.5rem;
}

.barkos-product-lockup small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.68rem;
}

.barkos-eyebrow {
  margin-bottom: 16px;
  color: var(--barkos-teal-dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.barkos-hero .barkos-eyebrow,
.barkos-dark-section .barkos-eyebrow {
  color: var(--barkos-teal);
}

.barkos-hero h1 {
  max-width: 710px;
  margin-bottom: 24px;
  font-size: clamp(2.75rem, 4.5vw, 5.25rem);
  font-weight: 680;
  line-height: 0.98;
}

.barkos-hero-lead {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.03rem;
  line-height: 1.72;
}

.barkos-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.barkos-button {
  display: inline-flex;
  min-height: 52px;
  gap: 26px;
  align-items: center;
  justify-content: space-between;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 760;
}

.barkos-product .barkos-button-primary {
  background: var(--barkos-teal);
  color: var(--barkos-ink);
}

.barkos-product .barkos-button-primary:hover,
.barkos-product .barkos-button-primary:focus-visible {
  background: var(--barkos-white);
}

.barkos-product .barkos-button-secondary {
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--barkos-white);
}

.barkos-product .barkos-button-secondary:hover,
.barkos-product .barkos-button-secondary:focus-visible {
  border-color: var(--barkos-teal);
  color: var(--barkos-teal);
}

.barkos-release-note {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.68rem;
}

.barkos-hero-visual {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #161616;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.4);
}

.barkos-window-bar {
  display: grid;
  grid-template-columns: 10px 10px 10px 1fr;
  gap: 7px;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: #202020;
}

.barkos-window-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

.barkos-window-bar span {
  padding-right: 44px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.67rem;
  text-align: center;
}

.barkos-hero-visual > img {
  display: block;
  width: 100%;
  height: auto;
}

.barkos-window-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.barkos-window-status > span {
  display: flex;
  gap: 9px;
  align-items: center;
}

.barkos-window-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--barkos-teal);
}

.barkos-window-status b,
.barkos-window-status small {
  font-size: 0.68rem;
}

.barkos-window-status small {
  color: rgba(255, 255, 255, 0.42);
}

.barkos-proof {
  border-bottom: 1px solid var(--barkos-line);
  background: var(--barkos-white);
}

.barkos-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.barkos-proof-grid > div {
  display: grid;
  min-height: 118px;
  align-content: center;
  padding: 26px 34px;
  border-left: 1px solid var(--barkos-line);
}

.barkos-proof-grid > div:last-child {
  border-right: 1px solid var(--barkos-line);
}

.barkos-proof-grid strong {
  margin-bottom: 6px;
  font-size: 0.84rem;
}

.barkos-proof-grid span {
  color: var(--barkos-muted);
  font-size: 0.76rem;
  line-height: 1.55;
}

.barkos-section,
.barkos-support {
  padding: 112px 0;
}

.barkos-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 56px;
}

.barkos-section-heading h2,
.barkos-download-grid h2 {
  max-width: 780px;
  margin-bottom: 0;
  font-size: clamp(2.3rem, 3.6vw, 4rem);
  line-height: 1.04;
}

.barkos-section-heading > p,
.barkos-download-grid > div > p:not(.barkos-eyebrow) {
  margin-bottom: 0;
  color: var(--barkos-muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

.barkos-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--barkos-line);
  border-left: 1px solid var(--barkos-line);
  list-style: none;
}

.barkos-steps li {
  min-height: 280px;
  padding: 30px;
  border-right: 1px solid var(--barkos-line);
  border-bottom: 1px solid var(--barkos-line);
  background: var(--barkos-white);
}

.barkos-steps li > span,
.barkos-capability-grid article > span {
  display: block;
  margin-bottom: 78px;
  color: var(--barkos-teal-dark);
  font-size: 0.68rem;
  font-weight: 800;
}

.barkos-steps h3,
.barkos-capability-grid h3,
.barkos-support-grid h3 {
  margin-bottom: 12px;
  font-size: 1.08rem;
}

.barkos-steps p,
.barkos-capability-grid p,
.barkos-support-grid p {
  margin-bottom: 0;
  color: var(--barkos-muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.barkos-dark-section {
  padding: 112px 0;
  background: var(--barkos-ink-soft);
  color: var(--barkos-white);
}

.barkos-section-heading-dark > p {
  color: rgba(255, 255, 255, 0.58);
}

.barkos-capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.barkos-capability-grid article {
  min-height: 310px;
  padding: 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.barkos-capability-grid article > span {
  color: var(--barkos-teal);
}

.barkos-capability-grid h3 {
  color: var(--barkos-white);
}

.barkos-capability-grid p {
  color: rgba(255, 255, 255, 0.58);
}

.barkos-download-section {
  background: var(--barkos-white);
}

.barkos-download-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 90px;
  align-items: start;
}

.barkos-download-grid h2 {
  margin-bottom: 24px;
}

.barkos-download-grid > div > p:not(.barkos-eyebrow) {
  max-width: 690px;
  margin-bottom: 28px;
}

.barkos-download-grid .barkos-button-primary {
  background: var(--barkos-ink);
  color: var(--barkos-white);
}

.barkos-download-grid .barkos-button-primary:hover,
.barkos-download-grid .barkos-button-primary:focus-visible {
  background: var(--barkos-teal-dark);
}

.barkos-requirements {
  padding: 30px;
  border: 1px solid var(--barkos-line);
  border-radius: 6px;
  background: var(--barkos-paper);
}

.barkos-requirements h3 {
  margin-bottom: 22px;
}

.barkos-requirements dl {
  margin-bottom: 22px;
}

.barkos-requirements dl > div {
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid var(--barkos-line);
  font-size: 0.78rem;
}

.barkos-requirements dt {
  color: var(--barkos-muted);
}

.barkos-requirements dd {
  margin: 0;
  font-weight: 720;
}

.barkos-requirements p {
  margin-bottom: 0;
  color: var(--barkos-muted);
  font-size: 0.75rem;
  line-height: 1.6;
}

.barkos-support {
  border-top: 1px solid var(--barkos-line);
}

.barkos-support .barkos-section-heading {
  grid-template-columns: 1fr;
}

.barkos-support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--barkos-line);
  border-left: 1px solid var(--barkos-line);
}

.barkos-support-grid article {
  min-height: 240px;
  padding: 30px;
  border-right: 1px solid var(--barkos-line);
  border-bottom: 1px solid var(--barkos-line);
  background: var(--barkos-white);
}

.barkos-support-grid p {
  margin-bottom: 22px;
}

.barkos-support-grid a {
  color: var(--barkos-teal-dark);
  font-size: 0.78rem;
  font-weight: 760;
}

.barkos-footer {
  padding: 34px 0;
  background: var(--barkos-ink);
  color: var(--barkos-white);
}

.barkos-footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
}

.barkos-footer-brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.barkos-footer-brand img {
  border-radius: 11px;
}

.barkos-footer-brand small,
.barkos-footer nav a,
.barkos-footer-inner > a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
}

.barkos-footer nav {
  display: flex;
  gap: 22px;
}

.barkos-footer-inner > a {
  justify-self: end;
}

@media (max-width: 1080px) {
  .barkos-nav,
  .barkos-header-download {
    display: none;
  }

  .barkos-menu {
    display: block;
  }

  .barkos-header-actions {
    margin-left: auto;
  }

  .barkos-nav.is-open {
    position: absolute;
    top: 76px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 12px 24px 20px;
    background: var(--barkos-ink);
  }

  .barkos-nav.is-open a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .barkos-hero-grid {
    grid-template-columns: 1fr;
  }

  .barkos-hero-copy {
    max-width: 820px;
  }

  .barkos-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .barkos-capability-grid,
  .barkos-support-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .barkos-shell {
    width: min(calc(100% - 32px), var(--barkos-max));
  }

  .barkos-header {
    min-height: 70px;
    padding: 0 16px;
  }

  .barkos-site-brand small {
    display: none;
  }

  .barkos-nav.is-open {
    top: 70px;
  }

  .barkos-hero {
    padding: 54px 0 46px;
  }

  .barkos-product-lockup {
    margin-bottom: 28px;
  }

  .barkos-product-lockup img {
    width: 60px;
    height: 60px;
  }

  .barkos-hero h1 {
    font-size: 2.65rem;
    line-height: 1.02;
  }

  .barkos-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .barkos-button {
    width: 100%;
  }

  .barkos-window-status {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .barkos-proof-grid,
  .barkos-section-heading,
  .barkos-download-grid,
  .barkos-footer-inner {
    grid-template-columns: 1fr;
  }

  .barkos-proof-grid > div,
  .barkos-proof-grid > div:last-child {
    border-right: 1px solid var(--barkos-line);
  }

  .barkos-section,
  .barkos-dark-section,
  .barkos-support {
    padding: 78px 0;
  }

  .barkos-section-heading {
    gap: 22px;
    margin-bottom: 38px;
  }

  .barkos-steps,
  .barkos-capability-grid,
  .barkos-support-grid {
    grid-template-columns: 1fr;
  }

  .barkos-steps li,
  .barkos-capability-grid article {
    min-height: 230px;
  }

  .barkos-steps li > span,
  .barkos-capability-grid article > span {
    margin-bottom: 48px;
  }

  .barkos-footer-inner {
    gap: 24px;
  }

  .barkos-footer nav {
    flex-wrap: wrap;
  }

  .barkos-footer-inner > a {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
