/*
 * Homepage iPhone touchpoints (home-iphone.js). Matches the homepage: statement
 * headings in SF Pro Display Medium with a muted continuation, square gray
 * media wells, pill CTAs, no cards or dividers.
 */
.oi-new {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: center;
  margin: 0 auto 26px;
  padding: 7px 14px 7px 7px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.05);
  color: rgba(0, 0, 0, 0.8);
  font: 500 15px/1 "SF Pro Display Medium", -apple-system, sans-serif;
  text-decoration: none;
  transition: background-color 150ms ease;
}

.oi-new:hover {
  background: rgba(0, 0, 0, 0.08);
}

.oi-new b {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgb(255, 91, 3);
  color: #fff;
  font-weight: 500;
  font-size: 13px;
}

.oi-new i {
  font-style: normal;
  opacity: 0.45;
}

/* Hero: the iPhone stands on the desk beside the Mac; lit like the product shots, with only a
   contact shadow where it meets the floor, so it sits in the same plane rather than floating */
.oi-hero-phone {
  position: absolute;
  left: 80.5%;
  bottom: 0.6%;
  z-index: 3;
}

.oi-hero-phone .oi-contact {
  pointer-events: none;
}

.oi-hero-phone .phone-wrap {
  filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, 0.22)) drop-shadow(0 3px 6px rgba(0, 0, 0, 0.06));
}

.oi-contact {
  position: absolute;
  left: -6%;
  right: -6%;
  bottom: -5px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.12) 60%, transparent);
  filter: blur(1.5px);
}

html[data-orvia-resolved-theme="dark"] .oi-contact {
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3) 60%, transparent);
}

/* Band */
.oi-band {
  align-self: stretch;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.oi-statement {
  max-width: 670px;
  margin: 0;
  color: rgba(0, 0, 0, 0.3);
  font: 500 32px/1.1 "SF Pro Display Medium", -apple-system, sans-serif;
}

.oi-statement span {
  color: rgba(0, 0, 0, 0.8);
}

.oi-well {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(420px, 44vw, 600px);
  overflow: hidden;
  background: rgb(230, 232, 230);
}

.oi-trio {
  display: flex;
  align-items: center;
}

.oi-ph .phone-wrap {
  filter: drop-shadow(0 22px 26px rgba(0, 0, 0, 0.18)) drop-shadow(0 5px 8px rgba(0, 0, 0, 0.1));
}

.oi-l,
.oi-r {
  margin-top: 60px;
}

.oi-l {
  margin-right: -40px;
}

.oi-r {
  margin-left: -40px;
}

.oi-c {
  position: relative;
  z-index: 1;
}

.oi-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  margin-top: -12px;
}

.oi-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 22px 0 18px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  text-decoration: none;
}

.oi-store img {
  width: 22px;
  height: 22px;
  filter: invert(1);
}

.oi-store span {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.oi-store small {
  font: 400 11px/1.1 "SF Pro Display Regular", -apple-system, sans-serif;
  opacity: 0.8;
}

.oi-store strong {
  font: 600 19px/1.1 "SF Pro Display Semibold", -apple-system, sans-serif;
}

.oi-link,
.oi-flink {
  color: rgba(0, 0, 0, 0.8);
  font: 500 16px/1.3 "SF Pro Display Medium", -apple-system, sans-serif;
  text-decoration: none;
}

.oi-link:hover,
.oi-flink:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.oi-flink {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
}

html[data-orvia-resolved-theme="dark"] .oi-new {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(245, 247, 250, 0.9);
}

html[data-orvia-resolved-theme="dark"] .oi-new:hover {
  background: rgba(255, 255, 255, 0.12);
}

html[data-orvia-resolved-theme="dark"] .oi-statement {
  color: rgba(245, 247, 250, 0.46);
}

html[data-orvia-resolved-theme="dark"] .oi-statement span,
html[data-orvia-resolved-theme="dark"] .oi-link,
html[data-orvia-resolved-theme="dark"] .oi-flink {
  color: rgba(245, 247, 250, 0.9);
}

html[data-orvia-resolved-theme="dark"] .oi-store {
  background: #f5f7fa;
  color: #111;
}

html[data-orvia-resolved-theme="dark"] .oi-store img {
  filter: none;
}

@media (min-width: 1920px) {
  .oi-statement {
    font-size: 42px;
  }
}

@media (max-width: 809px) {
  .oi-hero-phone {
    display: none;
  }

  .oi-statement {
    font-size: 26px;
  }

  .oi-well {
    height: 440px;
  }

  .oi-l,
  .oi-r {
    display: none;
  }
}
