/* Product page. Sizes measured on the template's /product at 1440 px. */
.p-hero { padding: 160px 0 32px; }
.p-hero-text { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding-left: 32px; }
.p-hero-text::after { content: ''; position: absolute; inset: 0; border-left: 1px solid var(--line-dark); pointer-events: none; }
.p-title { margin-top: 32px; max-width: 700px; font: 300 62px/71.3px var(--serif); letter-spacing: -3.1px; }
.p-hero-text .intro { color: var(--white); }
.p-hero-text .hero-cta { margin-top: 32px; }
.p-hero-img { position: relative; height: 765px; margin-top: 72px; border-radius: 4px; overflow: hidden; }
.p-hero-photo { position: absolute; inset: 0; }
.p-hero-photo > img { width: 100%; height: 100%; object-fit: cover; }
.p-hero-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0) 30%); pointer-events: none; }
.p-hero-img .ticker { position: absolute; left: 0; right: 0; bottom: 24px; }
.p-hero-img .phone { border-radius: 52px; }

/* Three cards with UI chips over photos */
.pcards { display: flex; gap: 16px; width: 100%; }
.pcard { flex: 1; }
.pcard-img { position: relative; height: 500px; border-radius: 4px; overflow: hidden; }
.pcard-img > img { width: 100%; height: 100%; object-fit: cover; }
.pcard-shade { position: absolute; inset: 0; background: rgba(0, 0, 0, .28); }
.pcard h4 { margin-top: 24px; font-weight: 400; font-size: 17px; line-height: 23.8px; letter-spacing: -.34px; }
.pcard p { margin-top: 12px; font-size: 14px; line-height: 18.2px; letter-spacing: -.14px; color: var(--stone); }
.chip-note { position: absolute; left: 16px; right: 16px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 10px; padding: 11px 10px 11px 12px; border-radius: 12px; background: rgba(28, 28, 28, .62); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); color: var(--white); }
.chip-note div { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.chip-note b { font-weight: 400; font-size: 14px; line-height: 19.6px; }
.chip-note div span { font-size: 12px; line-height: 15.6px; color: var(--white-60); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cn-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex: none; }
.cn-btn { padding: 8px 14px; border-radius: 8px; background: rgba(255, 255, 255, .14); font-size: 12px; }
.chip-metric, .chip-fig { position: absolute; left: 32px; right: 32px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--white); text-align: center; }
.chip-metric h3, .chip-fig h3 { font: 300 32px/38.4px var(--serif); letter-spacing: -1.6px; }
.chip-stamp { padding: 6px 12px; border: 2px solid var(--red); border-radius: 6px; font: 700 14px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--red); transform: rotate(-6deg); background: rgba(20, 20, 20, .45); }
.chip-fig { align-items: flex-start; padding: 12px; border-radius: 12px; background: rgba(28, 28, 28, .55); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); text-align: left; }
.chip-fig p { font: 400 11px/16.5px var(--mono); letter-spacing: .55px; text-transform: uppercase; }
.chip-fig > div { display: flex; align-items: center; gap: 12px; }
.chip-chg { padding: 2px 8px; border-radius: 6px; background: rgba(63, 207, 142, .2); color: var(--green); font-size: 12px; line-height: 18px; }
.chip-chg.down { background: rgba(255, 90, 110, .2); color: var(--red); }

/* Workflow tabs + big screen */
.wtabs { width: 100%; }
.wtab-row { display: flex; gap: 48px; }
.wtab { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 0 0 11px; background: none; border: 0; text-align: left; cursor: pointer; color: var(--white); opacity: .5; transition: opacity .3s; }
.wtab.on { opacity: 1; }
.wtab .tab-bar { margin-bottom: 10px; background: var(--line-dark); }
.wtab .tab-bar i { background: var(--white); }
.wtab b { font-weight: 400; font-size: 17px; line-height: 22.1px; letter-spacing: -.34px; }
.wtab > span:last-child { font-size: 14px; line-height: 18.2px; letter-spacing: -.14px; max-width: 380px; }
.wtab-img { display: grid; margin-top: 48px; }
.wshot { grid-area: 1 / 1; opacity: 0; transition: opacity .6s; aspect-ratio: 16 / 9; }
.wshot.on { opacity: 1; }

/* Integrations: two rows of tiles scrolling opposite ways */
.integ { display: flex; flex-direction: column; gap: 12px; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); overflow: hidden; }
.integ-row { overflow: hidden; }
.integ-row .ticker-track { gap: 40px; }
.itile { display: grid; place-items: center; width: 60px; height: 60px; }
.itile img { width: 30px; height: 30px; filter: invert(1); opacity: .9; }

/* Four colors */
.colors { display: flex; gap: 10px; width: 100%; }
.colors article { flex: 1; }
.col-img { position: relative; height: 237px; border-radius: 4px; overflow: hidden; }
.col-img img { width: 100%; height: 100%; object-fit: cover; }
.col-img .tag { position: absolute; left: 14px; bottom: 14px; font-size: 14px; padding: 6px 12px 6px 10px; }
.colors h4 { margin-top: 25px; font-weight: 400; font-size: 17px; line-height: 23.8px; letter-spacing: -.34px; }
.colors p { margin-top: 11px; max-width: 301px; font-size: 14px; line-height: 18.2px; letter-spacing: -.14px; color: var(--grey); }

/* Quote: a real receipt */
.quote-sec { padding: 48px 0 112px; }
.quote { display: flex; padding: 24px; border-radius: 4px; background: var(--card); color: var(--ink); }
.quote-img { position: relative; width: 555px; height: 555px; flex: none; border-radius: 4px; overflow: hidden; }
.quote-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.6); }
.quote-img canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.quote-body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 40px 0 0 32px; margin-left: 32px; border-left: 1px solid rgba(158, 158, 157, .4); }
.quote-body blockquote { margin: 30px 0 0; max-width: 555px; font: 300 24px/28.8px var(--serif); letter-spacing: -.96px; }
.q-who { display: flex; flex-direction: column; margin-top: 48px; }
.q-who b { font-weight: 400; font-size: 12px; line-height: 18px; color: var(--grey); }
.q-who span { font: 400 11px/16.5px var(--mono); letter-spacing: .55px; text-transform: uppercase; color: var(--grey); }
.q-metrics { display: flex; }
.q-metrics div { flex: 1; display: flex; flex-direction: column; gap: 12px; padding-left: 18px; border-left: 1px solid rgba(158, 158, 157, .4); }
.q-metrics div:first-child { padding-left: 0; border-left: 0; }
.q-metrics b { font: 300 38px/38px var(--serif); letter-spacing: -1.9px; }
.q-metrics span { font: 400 11px/16.5px var(--mono); letter-spacing: .55px; text-transform: uppercase; color: var(--stone); }

/* Safety */
.safe { display: flex; width: 100%; border-top: 1px solid var(--line-dark); }
.safe-el { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: space-between; height: 455px; padding: 16px; border-right: 1px solid var(--line-dark); }
.safe-el:first-child { border-left: 1px solid var(--line-dark); }
.safe-el strong { display: block; font-weight: 400; font-size: 15px; line-height: 19.5px; letter-spacing: -.3px; }
.safe-el p { margin-top: 8px; max-width: 360px; font-size: 14px; line-height: 18.2px; letter-spacing: -.14px; color: var(--white-60); }
.safe-el svg { width: 56px; height: 56px; color: var(--white); opacity: .85; }

@media (max-width: 1199.98px) {
  .p-hero { padding-top: 120px; }
  .p-title { font-size: 48px; line-height: 54px; letter-spacing: -2.2px; }
  .p-hero-img { height: 520px; }
  .pcards, .colors { flex-wrap: wrap; }
  .pcard { flex: 1 1 45%; }
  .colors article { flex: 1 1 45%; }
  .wtab-row { gap: 20px; }
  .quote { flex-direction: column; }
  .quote-img { width: 100%; height: 360px; }
  .quote-body { margin: 24px 0 0; padding: 24px 0 0; border-left: 0; border-top: 1px solid rgba(158, 158, 157, .4); gap: 32px; }
  .safe { flex-direction: column; }
  .safe-el { height: auto; gap: 40px; border-right: 0; border-left: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
}
@media (max-width: 809.98px) {
  .p-title { font-size: 38px; line-height: 42px; letter-spacing: -1.6px; }
  .p-hero-img { height: 420px; margin-top: 48px; }
  .pcard, .colors article { flex: 1 1 100%; }
  .pcard-img { height: 380px; }
  .wtab-row { flex-direction: column; gap: 8px; }
  .wtab { opacity: .45; }
  .q-metrics { flex-wrap: wrap; gap: 16px; }
}
