:root {
  --accent: #43a0ff;
  --text: #111111;
  --muted: #3b3b3b;
  --light-line: #cfe5f7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: #fff;
  position: relative;
  isolation: isolate;
}

.page-bg-device {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  width: 50vw;
  max-width: 100%;
  pointer-events: none;
  line-height: 0;
}

.page-bg-device img {
  display: block;
  width: 100%;
  height: auto;
}

.page {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100dvh;
  padding: 0 24px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 58% 42%;
  column-gap: 28px;
  align-items: end;
  min-height: 100dvh;
  max-width: 1400px;
  margin: 0 auto;
}

.left-column {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px 0 48px;
}

.brand {
  width: 128px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0;
}

h1 {
  margin: 0;
  font-size: clamp(82px, 8.8vw, 116px);
  line-height: 0.93;
  letter-spacing: -1.1px;
  font-weight: 800;
  max-width: 780px;
}

.accent {
  color: var(--accent);
}

.right-column {
  max-width: 520px;
  justify-self: center;
  margin-left: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px 0 48px;
}

.testimonial {
  margin: 0;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 300;
  color: var(--muted);
  max-width: 500px;
}

.testimonial p {
  margin: 0;
}

.testimonial .person {
  margin-top: 10px;
  color: var(--accent);
}

.testimonial .role {
  margin-top: 4px;
}

.body-copy {
  margin-top: auto;
  max-width: 500px;
}

.body-copy p {
  margin: 0 0 18px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 300;
  color: #2f2f2f;
}

hr {
  border: 0;
  border-top: 1px solid var(--light-line);
  margin: 18px 0 16px;
  max-width: 500px;
}

.product-row {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  max-width: 500px;
  text-align: left;
}

.chips {
  display: flex;
  gap: 8px;
  margin-top: 2px;
}

/* blacksign.png is 258×174 — match aspect ratio so the asset fits, not stretches */
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 32px;
  width: auto;
  aspect-ratio: 258 / 174;
  background-image: url("assets/blacksign.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.chip span {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 9px;
  font-weight: 300;
  line-height: 1;
}

.product-row p {
  margin: 0;
  font-size: 9px;
  line-height: 1.2;
  font-weight: 300;
  color: #363636;
  max-width: 300px;
}

.contact {
  margin: 20px 0 0;
  max-width: 500px;
  text-align: left;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 300;
}

.contact p {
  margin: 0 0 6px;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  color: #2d2d2d;
}

.email-link {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.email-link:hover,
.email-link:focus-visible {
  color: var(--accent);
}

.partners {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: nowrap;
}

.partners-top {
  margin-bottom: 14px;
  max-width: 500px;
  width: 100%;
}

.partners img {
  height: auto;
  display: block;
  max-height: 34px;
  width: auto;
}

@media (max-width: 1200px) {
  .page {
    padding: 0 18px;
  }

  .hero-layout {
    grid-template-columns: 54% 46%;
    column-gap: 22px;
    min-height: 100dvh;
  }

  .left-column,
  .right-column {
    min-height: 100dvh;
    padding: 28px 0 36px;
  }

  h1 {
    font-size: clamp(68px, 7.9vw, 98px);
  }

  .testimonial {
    font-size: 12px;
  }

  .body-copy {
    margin-top: auto;
  }

  .body-copy p {
    font-size: 18px;
  }

  .contact {
    font-size: 18px;
  }

}

@media (max-width: 900px) {
  .page-bg-device {
    display: none;
  }

  .page {
    min-height: auto;
    padding: max(24px, env(safe-area-inset-top))
      max(24px, env(safe-area-inset-right))
      max(40px, env(safe-area-inset-bottom))
      max(24px, env(safe-area-inset-left));
    overflow-x: hidden;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    row-gap: 40px;
    min-height: auto;
  }

  .brand {
    width: 132px;
    margin-bottom: 0;
  }

  h1 {
    font-size: clamp(2.5rem, 10vw + 0.75rem, 4rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    max-width: 100%;
    overflow-wrap: break-word;
    hyphens: manual;
  }

  .left-column {
    min-height: auto;
    justify-content: flex-start;
    gap: 28px;
    padding: 0 0 8px;
  }

  .right-column {
    min-height: auto;
    justify-self: stretch;
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin-left: 0;
    justify-content: flex-start;
    gap: 32px;
  }

  .partners-top {
    max-width: 100%;
    margin-bottom: 0;
  }

  .partners {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 20px;
    row-gap: 20px;
  }

  .partners img {
    max-height: 32px;
  }

  .testimonial {
    margin-top: 0;
    font-size: 1rem;
    line-height: 1.5;
    max-width: 100%;
    padding: 4px 0;
  }

  .body-copy {
    margin-top: 0;
    max-width: 100%;
  }

  .body-copy p {
    font-size: 1.125rem;
    line-height: 1.55;
    margin: 0 0 1.35rem;
  }

  hr {
    margin: 22px 0 20px;
    max-width: 100%;
  }

  .contact {
    font-size: 1.125rem;
    line-height: 1.55;
    max-width: 100%;
    margin-top: 8px;
  }

  hr,
  .product-row,
  .contact {
    max-width: 100%;
  }

  .product-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    max-width: 100%;
  }

  .chips {
    margin-top: 0;
  }

  .chip {
    height: 36px;
    width: auto;
    aspect-ratio: 258 / 174;
  }

  .chip span {
    font-size: 11px;
  }

  .product-row p {
    font-size: 1rem;
    line-height: 1.55;
    font-weight: 300;
    max-width: 100%;
  }

  .email-link {
    display: inline-block;
    padding: 14px 0 18px;
    margin: 4px 0 0;
    -webkit-tap-highlight-color: transparent;
  }

  .contact p {
    margin: 0 0 0.5rem;
  }
}

@media (max-width: 520px) {
  .page {
    padding: max(22px, env(safe-area-inset-top))
      max(20px, env(safe-area-inset-right))
      max(48px, env(safe-area-inset-bottom))
      max(20px, env(safe-area-inset-left));
  }

  h1 {
    font-size: clamp(2.125rem, 11vw + 0.5rem, 3.25rem);
  }

  .brand {
    width: 120px;
  }

  .testimonial {
    font-size: 0.9375rem;
    line-height: 1.52;
    padding: 6px 0;
  }

  .body-copy p {
    font-size: 1.0625rem;
    margin: 0 0 1.5rem;
  }

  .contact {
    font-size: 1.0625rem;
  }

  .product-row {
    gap: 20px;
  }

  .product-row p {
    font-size: 0.9375rem;
  }

  .partners img {
    max-height: 28px;
  }

  .partners {
    justify-content: flex-start;
    gap: 14px 16px;
    row-gap: 18px;
  }

  .hero-layout {
    row-gap: 44px;
  }

  .right-column {
    gap: 36px;
  }

  .left-column {
    gap: 32px;
  }

  hr {
    margin: 26px 0 24px;
  }
}
