.oa-shero {
  position: relative;
  background: #fff;
  box-sizing: border-box;
  font-family: var(--oa-font-body);
  font-weight: 400;
}
.oa-shero *, .oa-shero *::before, .oa-shero *::after { box-sizing: border-box; }
.oa-shero img { display: block; max-width: 100%; }
.oa-shero p, .oa-shero h1 { margin: 0; padding: 20px 0 0; }

.oa-shero-frame {
  position: relative;
  width: calc(100% - 2 * var(--oa-content-padding));
  max-width: 1288px;
  margin-left: auto;
  margin-right: auto;
  background: #fff;
  border-left: 1px solid var(--oa-border-light);
  border-right: 1px solid var(--oa-border-light);
  border-bottom: 1px solid var(--oa-border-light);
  overflow: hidden;
}

.oa-shero-corner {
  position: absolute;
  bottom: 0;
  width: 12px;
  height: 12px;
  background: var(--oa-border-light);
  pointer-events: none;
}
.oa-shero-corner-bl { left: 0; clip-path: polygon(0 0, 100% 100%, 0 100%); }
.oa-shero-corner-br { right: 0; clip-path: polygon(100% 0, 100% 100%, 0 100%); }

.oa-shero-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  padding: 80px var(--oa-content-padding) 88px;
}

.oa-shero-left { flex: 1 1 440px; max-width: 540px; min-width: 0; container-type: inline-size; container-name: oa-shero-left; }
.oa-shero-eyebrow {
  font-family: var(--oa-font-mono);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: var(--oa-text-regular);
  margin-bottom: 20px;
}
.oa-shero-headline {
  font-family: var(--oa-font-heading);
  font-weight: 400;
  font-size: 46px;
  line-height: 1.14;
  letter-spacing: -.4px;
  color: #101820;
}
.oa-shero-headline .accent {
  display: block;
  white-space: nowrap;
  font-family: var(--oa-font-accent);
  font-style: italic;
  font-weight: 500;
  font-size: 52px;
  line-height: 1.1;
  color: var(--oa-green-500);
  letter-spacing: 0;
}
.oa-shero-sub {
  font-family: var(--oa-font-body);
  font-weight: 400;
  color: var(--oa-text-regular);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: .16px;
  margin-top: 20px;
}
/* .oa-shero-left's width isn't a simple function of the viewport — it's
   whatever's left over from its flex tug-of-war with .oa-shero-right, which
   doesn't shrink evenly (it dips as low as ~440px in the middle of the
   desktop range before widening back out to its 540px cap). A fixed 16px
   wraps this paragraph in 3 lines at 540px but forces an awkward 4th line
   the moment that width drops even a bit. Reacting to the column's real
   width (container queries) instead of guessing a viewport breakpoint means
   it keeps up with wherever that width actually lands, automatically.
   Steps (not a smooth fluid formula) because word-wrapping isn't linear
   with width — a slightly wider column can occasionally need a smaller font
   than a slightly narrower one, so each step below was checked against the
   actual copy rather than computed from a single curve. */
@container oa-shero-left (max-width: 530px) { .oa-shero-sub { font-size: 15px; } }
@container oa-shero-left (max-width: 500px) { .oa-shero-sub { font-size: 14.5px; } }
@container oa-shero-left (max-width: 480px) { .oa-shero-sub { font-size: 14px; } }
@container oa-shero-left (max-width: 465px) { .oa-shero-sub { font-size: 13.5px; } }
@container oa-shero-left (max-width: 450px) { .oa-shero-sub { font-size: 13px; } }
@container oa-shero-left (max-width: 435px) { .oa-shero-sub { font-size: 12.5px; } }
.oa-shero-buttons { margin-top: 32px; display: flex; align-items: stretch; gap: 12px; flex-wrap: wrap; }

.oa-shero-btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 14px 26px 13px;
  border: 1px solid var(--oa-border-light);
  border-radius: var(--oa-radius-sm);
  color: var(--oa-text-dark);
  font-family: var(--oa-font-body);
  font-weight: 400;
  font-size: 16px;
  text-decoration: none;
  transition: border-color .18s ease, background-color .18s ease;
}
.oa-shero-btn-secondary:hover {
  border-color: var(--oa-green-500);
  background: var(--oa-green-100);
}

.oa-shero-right { flex: 1 1 460px; max-width: 616px; min-width: 0; }

.oa-shero-media {
  border: 1px solid var(--oa-border-light);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.oa-shero-screen {
  position: relative;
  aspect-ratio: 1.58 / 1;
}
.oa-shero-screen img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: cover !important;
}
.oa-shero-screen-placeholder {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--oa-font-mono);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #a3acb5;
}

.oa-shero-divider {
  border-top: 1px solid var(--oa-border-light);
  margin: 0 var(--oa-content-padding);
  position: relative;
}
.oa-shero-divider::before,
.oa-shero-divider::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 12px;
  height: 12px;
  background: var(--oa-border-light);
  pointer-events: none;
}
.oa-shero-divider::before { left: calc(var(--oa-content-padding) * -1); clip-path: polygon(0 0, 100% 100%, 0 100%); }
.oa-shero-divider::after { right: calc(var(--oa-content-padding) * -1); clip-path: polygon(100% 0, 100% 100%, 0 100%); }

.oa-shero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 48px var(--oa-content-padding);
}
.oa-shero-stat {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.oa-shero-stat-value {
  font-family: var(--oa-font-heading);
  font-weight: 400;
  font-size: 34px;
  color: var(--oa-text-dark);
  line-height: 1.2;
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

@media (max-width: 1366px) {
  .oa-shero-stat-value {
    font-size: 30px !important;
  }
}

.oa-shero-stat-label {
  font-family: var(--oa-font-mono);
  font-weight: 400;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .4px;
  line-height: 1.5;
  color: var(--oa-text-regular);
  margin-top: 12px;
}

/* Keep Elementor/global typography from making the hero actions bold. */
.oa-shero .oa-btn-label {
  font-family: var(--oa-font-body);
  font-weight: 400;
}

@media (min-width: 1201px) {
  .oa-shero-main {
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: 64px;
  }
  .oa-shero-divider { margin-left: 36px; margin-right: 36px; }
  .oa-shero-stats {
    gap: 0;
    padding: 36px 0;
  }
  .oa-shero-stat {
    min-height: 149px;
    /* Side padding eats into the 4-column grid's already-tight cell width.
       At a fixed 40px it leaves too little room between ~1201px and ~1345px,
       so the stat labels' intentional 2-line break (see the widget's \n in
       stat_label) wraps to an unwanted 3rd line. Easing the padding down in
       that range buys back just enough width to fit; clamp()'s max keeps it
       at the original 40px from ~1366px up, so that layout is untouched. */
    padding: 25px clamp(20px, 12.3vw - 125px, 40px) 20px;
  }
  .oa-shero-stat + .oa-shero-stat {
    border-left: 1px solid var(--oa-border-light);
  }
  .oa-shero-divider::before { left: -36px; }
  .oa-shero-divider::after { right: -36px; }
}

@media (max-width: 1100px) {
  .oa-shero-main { padding-top: 64px; padding-bottom: 56px; }
  .oa-shero-headline { font-size: 38px; }
  .oa-shero-headline .accent { font-size: 44px; }
  .oa-shero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .oa-shero-main { padding: 56px 20px 48px; gap: 40px; }
  .oa-shero-headline { font-size: clamp(28px, 8.5vw, 34px); }
  .oa-shero-headline .accent { font-size: clamp(32px, 9.5vw, 38px); white-space: normal; }

  .oa-shero-divider { margin: 0 20px; }
  .oa-shero-divider::before { left: -20px; }
  .oa-shero-divider::after { right: -20px; }
  .oa-shero-stats { grid-template-columns: 1fr; padding: 32px 20px; gap: 28px; }
}

@media (max-width: 380px) {
  .oa-shero-main { padding-left: 16px; padding-right: 16px; }
  .oa-shero-divider { margin: 0 16px; }
  .oa-shero-divider::before { left: -16px; }
  .oa-shero-divider::after { right: -16px; }
  .oa-shero-stats { padding-left: 16px; padding-right: 16px; }
}
