:root {
  color-scheme: light;
  --ink: #0c1420;
  --muted: #718096;
  --line: #dce3ea;
  --paper: #ffffff;
  --sprintbee: #ee9600;
  --crux: #0e4f82;
  --gutter: clamp(1.25rem, 5.7vw, 5.75rem);
  --content: 88rem;
}

* { box-sizing: border-box; }
html { min-width: 20rem; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.2em; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid rgba(14, 79, 130, 0.42);
  outline-offset: 4px;
}
.skip-link {
  position: fixed; z-index: 20; top: 0.75rem; left: 0.75rem;
  padding: 0.75rem 1rem; border-radius: 0.45rem;
  background: var(--ink); color: white; transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.site-header { border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.96); }
.header-inner {
  width: min(100%, calc(var(--content) + 2 * var(--gutter)));
  min-height: 4.65rem; margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.wordmark { display: inline-flex; text-decoration: none; }
.wordmark img { width: clamp(7.6rem, 11vw, 10rem); height: auto; }
.site-nav, .site-footer nav {
  display: flex; align-items: center; gap: clamp(1.5rem, 3.2vw, 3.25rem);
}
.site-nav a, .site-footer a {
  color: #52647a; font-size: 0.96rem; font-weight: 540; text-decoration: none;
}
.site-nav a:hover, .site-footer a:hover { color: var(--ink); }

.products { padding: clamp(3.25rem, 5.2vw, 5.4rem) 0 clamp(2.5rem, 4vw, 4rem); overflow: hidden; }
.section-heading { padding-inline: var(--gutter); text-align: center; }
.section-heading h1 {
  margin: 0; font-size: clamp(2.4rem, 4.05vw, 4rem);
  line-height: 1.02; letter-spacing: -0.055em;
}
.section-heading p {
  margin: 1rem auto 0; color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.55rem); line-height: 1.45;
}
.carousel {
  position: relative; margin-top: clamp(2.6rem, 4vw, 4.2rem); padding-bottom: 3.35rem;
}
.carousel-viewport { width: 100%; overflow: hidden; }
.carousel-track {
  display: flex; gap: 1.2rem;
  padding-left: max(var(--gutter), calc((100vw - var(--content)) / 2 + var(--gutter)));
  padding-right: var(--gutter);
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.product-card {
  flex: 0 0 min(72rem, calc(100vw - 16.5rem));
  min-width: 43rem; min-height: 31.75rem;
  display: grid; grid-template-columns: minmax(16rem, 0.72fr) minmax(0, 1.55fr);
  gap: clamp(1.5rem, 3.2vw, 3.2rem); align-items: center;
  padding: clamp(2rem, 3.5vw, 3.75rem);
  border: 1px solid var(--line); border-radius: 0.9rem; background: var(--paper);
}
.product-card[aria-hidden="true"] a { visibility: hidden; }
.product-copy { display: flex; flex-direction: column; align-items: flex-start; }
.product-logo--sprintbee { width: min(100%, 22rem); }
.product-logo--crux { width: min(100%, 18.25rem); }
.status {
  display: inline-flex; align-items: center; gap: 0.7rem;
  margin: 2rem 0 0; padding: 0.52rem 1rem; border-radius: 999px;
  font-size: 0.98rem; font-weight: 600;
}
.status span { width: 0.62rem; height: 0.62rem; border-radius: 50%; }
.status--live { color: #087446; background: #d4f7e4; }
.status--live span { background: #0a9860; }
.status--soon { color: #194f79; background: #e7f0f8; }
.status--soon span { background: #1d5f92; }
.product-description {
  max-width: 22rem; margin: 1.35rem 0 0; color: var(--muted);
  font-size: clamp(1.05rem, 1.65vw, 1.35rem); line-height: 1.45;
}
.product-card--sprintbee .product-description { margin-top: 2.25rem; }
.product-link {
  margin-top: 1.8rem; font-size: 1.08rem; font-weight: 600; text-decoration: none;
}
.product-link span {
  display: inline-block; margin-left: 0.35rem; transition: transform 180ms ease;
}
.product-link:hover span { transform: translateX(0.2rem); }
.product-link--sprintbee { color: var(--sprintbee); }
.product-link--crux { color: var(--crux); }
.product-visual {
  min-width: 0; overflow: hidden; border: 1px solid #d9e2e8; border-radius: 0.8rem;
  background: #f4f7f8; box-shadow: 0 1rem 3rem rgba(20, 38, 52, 0.08);
}
.product-visual img { width: 100%; height: 27.5rem; object-fit: cover; object-position: top left; }
.product-card--sprintbee .product-visual img { transform: scale(1.08); }
.product-card--crux .product-visual img { object-position: top center; }
.carousel-control {
  position: absolute; z-index: 3; top: calc(50% - 1.65rem);
  width: 3.4rem; height: 3.4rem; display: grid; place-items: center;
  border: 0; border-radius: 50%; color: var(--ink); background: #f0f3f6;
  font: 400 1.75rem/1 Arial, sans-serif; cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}
.carousel-control:hover { background: #e3e9ee; transform: scale(1.04); }
.carousel-control--previous { left: clamp(0.6rem, 4vw, 4.6rem); }
.carousel-control--next { right: clamp(0.6rem, 1.2vw, 1.4rem); }
.carousel-count {
  position: absolute; inset: auto 0 0; display: flex; justify-content: center;
  gap: 0.65rem; margin: 0; color: #94a1b2; font-size: 1.1rem;
}
.carousel-count strong { color: var(--ink); font-weight: 620; }

.identity-strip {
  min-height: 6.5rem; padding: 1.75rem var(--gutter); border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.identity-strip > div { display: grid; gap: 0.25rem; font-size: 0.84rem; }
.identity-strip > div span { color: var(--muted); }
.identity-strip nav { display: flex; gap: clamp(1.5rem, 3.2vw, 3.25rem); }
.identity-strip nav a {
  color: #52647a; font-size: 0.9rem; font-weight: 540; text-decoration: none;
}
.identity-strip nav a:hover { color: var(--ink); }

.company, .contact {
  max-width: calc(var(--content) + 2 * var(--gutter)); margin-inline: auto;
  padding: clamp(4rem, 8vw, 8rem) var(--gutter); border-top: 1px solid var(--line);
}
.company, .contact {
  display: grid; grid-template-columns: minmax(16rem, 0.85fr) minmax(20rem, 1.15fr);
  gap: clamp(3rem, 8vw, 9rem);
}
.section-label {
  margin: 0 0 1.2rem; color: var(--muted); font-size: 0.76rem;
  font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.company h2, .contact h2 {
  margin: 0; font-size: clamp(2.1rem, 4vw, 3.8rem);
  line-height: 1.04; letter-spacing: -0.045em;
}
.company > p {
  margin: 2.3rem 0 0; color: #3e4d5e;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.65;
}
.contact { grid-template-columns: 0.85fr 0.72fr 0.72fr; }
.contact-details, .contact-support { align-self: end; }
.contact-details { display: grid; gap: 0.7rem; color: #3e4d5e; }
.contact-details a { width: fit-content; font-weight: 600; }
.contact-details p, .contact-support p { margin: 0; line-height: 1.6; }
.contact-support h3 { margin: 0 0 0.7rem; font-size: 1rem; }
.contact-support p { color: var(--muted); }
.site-footer {
  min-height: 8.7rem; padding: 2rem var(--gutter); border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem 3rem;
}
.site-footer > div { display: grid; gap: 0.3rem; font-size: 0.86rem; }
.site-footer > div span, .site-footer > p { color: var(--muted); }
.site-footer > p { grid-column: 1 / -1; margin: 0; font-size: 0.75rem; }

@media (max-width: 900px) {
  .product-card {
    flex-basis: calc(100vw - 8.5rem); min-width: 38rem; min-height: 29rem;
    grid-template-columns: minmax(13rem, 0.7fr) minmax(0, 1.35fr); padding: 2rem;
  }
  .product-visual img { height: 23rem; }
  .carousel-control--previous { left: 0.65rem; }
  .carousel-control--next { right: 0.65rem; }
  .contact { grid-template-columns: 1fr 1fr; }
  .contact > div:first-child { grid-column: 1 / -1; }
}

@media (min-width: 681px) and (max-width: 1100px) {
  .product-card {
    flex-basis: calc(100vw - 9.5rem);
    grid-template-columns: minmax(13.5rem, 0.62fr) minmax(0, 1.5fr);
  }

  .product-card--sprintbee .product-visual img {
    height: auto;
    aspect-ratio: 3120 / 2120;
    object-fit: cover;
  }
}

@media (max-width: 680px) {
  .header-inner { min-height: 4.25rem; }
  .site-nav { gap: 1rem; }
  .site-nav a { font-size: 0.84rem; }
  .wordmark img { width: 7rem; }
  .products { padding-top: 2.75rem; }
  .section-heading { text-align: left; }
  .section-heading h1 { max-width: 11ch; }
  .carousel { margin-top: 2.25rem; padding-bottom: 3rem; }
  .carousel-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .carousel-viewport::-webkit-scrollbar { display: none; }
  .carousel-track { gap: 0.8rem; padding-left: var(--gutter); transition: none; }
  .product-card {
    flex-basis: calc(100vw - 3.8rem); min-width: 0; min-height: auto;
    grid-template-columns: 1fr; gap: 2rem; padding: 1.5rem; scroll-snap-align: start;
  }
  .product-logo--sprintbee { width: min(100%, 18rem); }
  .product-logo--crux { width: min(100%, 15rem); }
  .status { margin-top: 1.35rem; }
  .product-description { margin-top: 1rem; }
  .product-link { margin-top: 1.25rem; }
  .product-visual img { height: auto; aspect-ratio: 1.5; }
  .carousel-control { display: none; }
  .identity-strip { align-items: flex-start; flex-direction: column; }
  .identity-strip nav { flex-wrap: wrap; gap: 0.8rem 1.5rem; }
  .company, .contact { grid-template-columns: 1fr; gap: 2.25rem; }
  .company > p { margin-top: 0; }
  .contact > div:first-child { grid-column: auto; }
  .site-footer { grid-template-columns: 1fr; align-items: start; padding-block: 2.5rem; }
  .site-footer nav { flex-wrap: wrap; gap: 0.8rem 1.5rem; }
}

@media (max-width: 430px) {
  .site-nav a:nth-child(2) { display: none; }
  .product-card { flex-basis: calc(100vw - 2.8rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .carousel-track, .carousel-control, .product-link span { transition: none; }
}
