/* ==========================================================================
   The App — product tour
   A tilted hero screenshot, one browser frame the visitor drives with tabs,
   a spec strip, and the access levels drawn as a ladder rather than a table.
   Prefix: ap-
   ========================================================================== */

.ap-page { background: #030303; position: relative; overflow: clip; }
@supports not (overflow: clip) { .ap-page { overflow: hidden; } }

.ap-wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 5; }

/* ------------------------------------------------------------------ hero */

.ap-hero {
  position: relative;
  padding: 190px 0 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 60% at 75% 10%, rgba(216,35,52,.3), transparent 60%),
    linear-gradient(180deg, #0a0a0a, #030303);
}
.ap-hero:before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 70px);
  mask-image: linear-gradient(180deg, #000, transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.ap-hero__grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 60px; align-items: center; }

.ap-kick {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--primary);
  text-transform: uppercase; letter-spacing: .22em;
  font-family: 'Chakra Petch', sans-serif; font-size: 11px; font-weight: 600;
  margin-bottom: 26px;
}
.ap-kick:before { content: ""; width: 26px; height: 1px; background: var(--primary); }

.ap-hero h1 {
  margin: 0; color: #fff; text-transform: uppercase;
  font-family: 'Chakra Petch', sans-serif; font-weight: 700;
  font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: 1.02; letter-spacing: -.02em;
}
.ap-hero h1 span { color: var(--primary); }
.ap-hero p {
  margin: 28px 0 0; color: rgba(255,255,255,.6);
  font-weight: 300; font-size: 18px; line-height: 1.8; max-width: 50ch;
}
.ap-hero__acts { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 40px; padding-bottom: 40px; }
.ap-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 15px 30px;
  border: 2px solid var(--primary); background: var(--primary); color: #fff;
  text-transform: uppercase; letter-spacing: .12em;
  font-family: 'Chakra Petch', sans-serif; font-size: 13px; font-weight: 600;
  transition: all .4s cubic-bezier(.22,.61,.36,1);
}
.ap-btn:hover { background: transparent; color: #fff; transform: translateY(-2px); }
.ap-btn--line { border-color: rgba(255,255,255,.3); background: transparent; }
.ap-btn--line:hover { border-color: #fff; background: #fff; color: #000; }

/* The screenshot leans into the page rather than sitting flat on it. */
.ap-tilt { perspective: 1800px; margin-bottom: -70px; }
.ap-tilt__inner {
  transform: rotateY(-15deg) rotateX(7deg) rotateZ(1.5deg) scale(1.06);
  transform-origin: left center;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 6px; overflow: hidden;
  box-shadow: -30px 50px 120px rgba(0,0,0,.85), 0 0 90px rgba(216,35,52,.16);
  transition: transform 1s cubic-bezier(.22,.61,.36,1);
}
.ap-tilt:hover .ap-tilt__inner { transform: rotateY(-8deg) rotateX(4deg) rotateZ(.5deg) scale(1.06); }
.ap-tilt img { width: 100%; display: block; }
@media (prefers-reduced-motion: reduce) { .ap-tilt__inner { transition: none; } }

/* ------------------------------------------------------------ spec strip */

.ap-spec {
  border-block: 1px solid rgba(255,255,255,.12);
  background: #070707;
  display: grid; grid-template-columns: repeat(4, 1fr);
  position: relative; z-index: 6;
}
.ap-spec div { padding: 34px 30px; border-right: 1px solid rgba(255,255,255,.12); }
.ap-spec div:last-child { border-right: 0; }
.ap-spec b {
  display: block; color: #fff;
  font-family: 'Chakra Petch', sans-serif; font-weight: 600;
  font-size: 34px; line-height: 1; letter-spacing: -.02em;
}
.ap-spec b i { color: var(--primary); font-style: normal; }
.ap-spec span {
  display: block; margin-top: 12px; color: rgba(255,255,255,.4);
  text-transform: uppercase; letter-spacing: .16em;
  font-family: 'Chakra Petch', sans-serif; font-size: 10px; font-weight: 600;
}

/* -------------------------------------------------------------- tab tour */

/* The tour sat on the same flat #030303 as everything else, so a row of
   transparent outlined buttons had nothing to sit against. The section now
   lifts away from the page and the tabs are gathered into one solid bar. */
.ap-tour {
  position: relative; padding: 120px 0;
  background:
    radial-gradient(ellipse 72% 52% at 50% 0%, rgba(216,35,52,.11), transparent 62%),
    linear-gradient(180deg, #0b0b0b 0%, #080808 46%, #030303 100%);
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.ap-tour:before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.032) 0 1px, transparent 1px 80px);
  mask-image: linear-gradient(180deg, #000, transparent 58%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 58%);
}
.ap-tour__head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.ap-tour__head h2 {
  margin: 0; color: #fff; text-transform: uppercase;
  font-family: 'Chakra Petch', sans-serif; font-weight: 600;
  font-size: clamp(1.7rem, 4vw, 2.7rem); line-height: 1.05;
}
.ap-tour__head p { margin: 18px 0 0; color: rgba(255,255,255,.5); font-weight: 300; line-height: 1.8; }

.ap-tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
  width: fit-content; max-width: 100%;
  margin: 0 auto 40px; padding: 7px;
  background: rgba(9,9,9,.9);
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: 0 20px 46px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.045);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.ap-tab {
  border: 1px solid transparent;
  background: rgba(255,255,255,.055); color: rgba(255,255,255,.72);
  padding: 12px 22px; cursor: pointer;
  text-transform: uppercase; letter-spacing: .12em;
  font-family: 'Chakra Petch', sans-serif; font-size: 12px; font-weight: 600;
  transition: all .35s cubic-bezier(.22,.61,.36,1);
}
.ap-tab:hover { color: #fff; background: rgba(255,255,255,.11); }
.ap-tab[aria-selected="true"] {
  background: var(--primary); border-color: var(--primary); color: #fff;
  box-shadow: 0 6px 20px rgba(216,35,52,.38);
}

.ap-stage { display: grid; grid-template-columns: 1.35fr .65fr; gap: 0; border: 1px solid rgba(255,255,255,.14); }
.ap-stage__shot { background: #0b0b0b; position: relative; overflow: hidden; }
.ap-chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 18px; border-bottom: 1px solid rgba(255,255,255,.12); background: #0d0d0d;
}
.ap-chrome i { width: 9px; height: 9px; border-radius: 50%; background: #2b2b2b; display: block; }
.ap-chrome i:first-child { background: var(--primary); }
.ap-chrome span {
  margin-left: 12px; color: rgba(255,255,255,.35);
  text-transform: uppercase; letter-spacing: .12em;
  font-family: 'Chakra Petch', sans-serif; font-size: 10px; font-weight: 600;
}
.ap-stage__shot img { width: 100%; display: block; cursor: zoom-in; }
.ap-panel { display: none; }
.ap-panel.is-live { display: block; animation: ap-fade .45s cubic-bezier(.22,.61,.36,1); }
@keyframes ap-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.ap-stage__body { background: #070707; border-left: 1px solid rgba(255,255,255,.14); padding: 40px 36px; }
.ap-stage__body h3 {
  margin: 0; color: #fff; text-transform: uppercase;
  font-family: 'Chakra Petch', sans-serif; font-size: 20px; font-weight: 600; line-height: 1.2;
}
.ap-stage__body p { margin: 16px 0 0; color: rgba(255,255,255,.58); font-weight: 300; font-size: 15px; line-height: 1.8; }
.ap-stage__body ul { list-style: none; margin: 22px 0 0; padding: 0; }
.ap-stage__body li {
  color: rgba(255,255,255,.58); font-weight: 300; font-size: 14px; line-height: 1.65;
  padding: 11px 0 11px 22px; border-top: 1px solid rgba(255,255,255,.08); position: relative;
}
.ap-stage__body li:before {
  content: ""; position: absolute; left: 0; top: 19px; width: 10px; height: 2px; background: var(--primary);
}
.ap-stage__body li strong { color: #fff; font-weight: 600; }

/* --------------------------------------------------------- access ladder */

.ap-levels { padding: 0 0 120px; }
.ap-levels__head { max-width: 620px; margin-bottom: 50px; }
.ap-levels__head h2 {
  margin: 0; color: #fff; text-transform: uppercase;
  font-family: 'Chakra Petch', sans-serif; font-weight: 600;
  font-size: clamp(1.6rem, 3.6vw, 2.4rem); line-height: 1.05;
}
.ap-levels__head p { margin: 16px 0 0; color: rgba(255,255,255,.5); font-weight: 300; line-height: 1.8; }

/* Five cards over a six-column grid — two wide ones on top, three underneath,
   so an odd count never leaves a hole. The stepped indent that used to carry
   the hierarchy cannot survive a grid, so the strength bar does that job
   alone now: it is the one element that still ranks the five at a glance. */
.ap-ladder { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.ap-rung {
  grid-column: span 2;
  display: flex; flex-direction: column;
  border: 1px solid rgba(255,255,255,.15);
  background:
    radial-gradient(ellipse 74% 60% at 16% 0%, rgba(255,255,255,.10), transparent 62%),
    linear-gradient(158deg, #d42535 0%, #bb1c2b 54%, #9c1522 100%);
  box-shadow: 0 16px 38px rgba(216,35,52,.15);
  padding: 30px 30px 34px;
}
.ap-rung:nth-child(-n+2) { grid-column: span 3; }
.ap-rung h3 {
  margin: 0; color: #fff; text-transform: uppercase; letter-spacing: .04em;
  font-family: 'Chakra Petch', sans-serif; font-size: 19px; font-weight: 600;
}
.ap-rung:nth-child(-n+2) h3 { font-size: 21px; }
/* white on red now, so the fill reads against the card rather than the page */
.ap-rung__bar {
  height: 3px; background: rgba(0,0,0,.28); margin-top: 16px; position: relative;
  max-width: 240px;
}
.ap-rung__bar i { position: absolute; inset: 0 auto 0 0; background: #fff; display: block; }
.ap-rung p {
  margin: 20px 0 0; color: rgba(255,255,255,.95);
  font-weight: 300; font-size: 14.5px; line-height: 1.75;
}

/* the note used to be a red tint on black; under five solid red cards that
   just read as a weak fifth copy, so it steps back to neutral */
.ap-note {
  border: 1px solid rgba(255,255,255,.14);
  background: #0a0a0a;
  padding: 26px 30px; margin-top: 16px;
}
.ap-note b {
  display: block; color: var(--primary); margin-bottom: 10px;
  text-transform: uppercase; letter-spacing: .16em;
  font-family: 'Chakra Petch', sans-serif; font-size: 11px; font-weight: 600;
}
.ap-note p { margin: 0; color: rgba(255,255,255,.75); font-weight: 300; line-height: 1.8; font-size: 15px; }
.ap-note a { color: var(--primary); text-transform: none; font-family: inherit; font-size: inherit; display: inline; }

/* ------------------------------------------------------------ value grid */

.ap-value { padding: 0 0 120px; }
.ap-value__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ap-card {
  border: 1px solid rgba(255,255,255,.12);
  background: #060606; padding: 36px 32px;
  transition: all .4s cubic-bezier(.22,.61,.36,1);
}
.ap-card:hover { background: #0d0d0d; border-color: rgba(255,255,255,.28); }
.ap-card h3 {
  margin: 0 0 14px; color: #fff; text-transform: uppercase;
  font-family: 'Chakra Petch', sans-serif; font-size: 17px; font-weight: 600; line-height: 1.3;
}
.ap-card p { margin: 0; color: rgba(255,255,255,.55); font-weight: 300; font-size: 14.5px; line-height: 1.8; }
/* One cell carries the headline number and spans two columns. */
.ap-card--feature {
  grid-column: span 2;
  background: linear-gradient(120deg, rgba(216,35,52,.16), #060606 60%);
  border-color: rgba(216,35,52,.4);
  display: flex; flex-direction: column; justify-content: center;
}
.ap-card--feature b {
  display: block; color: #fff;
  font-family: 'Chakra Petch', sans-serif; font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1; letter-spacing: -.02em;
  margin-bottom: 18px;
}
.ap-card--feature b i { color: var(--primary); font-style: normal; }
.ap-card--feature p { color: rgba(255,255,255,.7); font-size: 16px; }

/* --------------------------------------------------------------- red end */

.ap-end {
  background: linear-gradient(120deg, var(--primary), #a5182a);
  padding: 90px 0;
}
.ap-end__in { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.ap-end h2 {
  margin: 0; color: #fff; text-transform: uppercase;
  font-family: 'Chakra Petch', sans-serif; font-weight: 600;
  font-size: clamp(1.5rem, 3.6vw, 2.6rem); line-height: 1.05;
}
.ap-end p { margin: 14px 0 0; color: rgba(255,255,255,.85); font-weight: 300; max-width: 48ch; }
.ap-end__acts { display: flex; gap: 14px; flex-wrap: wrap; }
.ap-end__acts a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 16px 30px;
  border: 2px solid #fff; color: #fff;
  text-transform: uppercase; letter-spacing: .12em;
  font-family: 'Chakra Petch', sans-serif; font-size: 13px; font-weight: 600;
  transition: all .4s cubic-bezier(.22,.61,.36,1);
}
.ap-end__acts a.is-solid { background: #000; border-color: #000; }
.ap-end__acts a:hover { background: #fff; color: var(--primary); border-color: #fff; }

/* ------------------------------------------------------- rollout / on-site

   One enclosed panel rather than another grid of cards: prose on the left,
   a hairline readout on the right, and the two channels welded to the
   bottom edge. It reads as a spec sheet for the install, which is the only
   part of the product this page had nothing to say about.
   ------------------------------------------------------------------------ */

.ap-onsite { padding: 0 0 120px; }
.ap-onsite__panel {
  display: grid; grid-template-columns: 1.15fr .85fr;
  border: 1px solid rgba(255,255,255,.14);
  background:
    radial-gradient(ellipse 80% 70% at 0% 0%, rgba(216,35,52,.12), transparent 62%),
    #070707;
}
.ap-onsite__lede { padding: 54px 50px; }
.ap-onsite__lede h2 {
  margin: 0; color: #fff; text-transform: uppercase;
  font-family: 'Chakra Petch', sans-serif; font-weight: 600;
  font-size: clamp(1.5rem, 3.2vw, 2.2rem); line-height: 1.06;
}
.ap-onsite__lede p {
  margin: 20px 0 0; color: rgba(255,255,255,.55);
  font-weight: 300; font-size: 15px; line-height: 1.85;
}
.ap-onsite__lede p strong { color: #fff; font-weight: 600; }

.ap-onsite__read {
  margin: 0; padding: 54px 50px;
  border-left: 1px solid rgba(255,255,255,.14);
  display: flex; flex-direction: column; justify-content: center; gap: 0;
}
.ap-onsite__read > div {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.1);
}
.ap-onsite__read > div:last-child { border-bottom: 0; }
.ap-onsite__read dt {
  color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .14em;
  font-family: 'Chakra Petch', sans-serif; font-size: 10.5px; font-weight: 600;
  flex: none; max-width: 46%;
}
.ap-onsite__read dd {
  margin: 0; text-align: right; color: #fff;
  font-weight: 300; font-size: 14px; line-height: 1.6;
}
.ap-onsite__read dd.is-figure b {
  font-family: 'Chakra Petch', sans-serif; font-weight: 700; letter-spacing: -.02em;
  font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1;
}
.ap-onsite__read dd.is-figure i { color: var(--primary); font-style: normal; }

.ap-onsite__foot {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,.14);
  padding: 26px 50px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.ap-onsite__foot p { margin: 0; color: rgba(255,255,255,.55); font-weight: 300; font-size: 15px; }
.ap-onsite__acts { display: flex; gap: 12px; flex-wrap: wrap; }

.ap-chan {
  display: grid; grid-template-columns: 1fr auto; align-items: center;
  gap: 2px 18px; padding: 14px 22px; min-height: 60px;
  border: 1px solid rgba(255,255,255,.2); background: #0c0c0c;
  transition: border-color .4s ease, background .4s ease, transform .4s cubic-bezier(.22,.61,.36,1);
}
.ap-chan__k {
  grid-column: 1; color: rgba(255,255,255,.45);
  text-transform: uppercase; letter-spacing: .16em;
  font-family: 'Chakra Petch', sans-serif; font-size: 9.5px; font-weight: 600;
}
.ap-chan__v {
  grid-column: 1; color: #fff;
  font-family: 'Chakra Petch', sans-serif; font-size: 15px; font-weight: 600; letter-spacing: .01em;
}
.ap-chan__go {
  grid-column: 2; grid-row: 1 / -1;
  color: rgba(255,255,255,.4); font-size: 15px; line-height: 1;
  transition: color .4s ease, transform .4s cubic-bezier(.22,.61,.36,1);
}
.ap-chan:hover { border-color: rgba(255,255,255,.5); background: #111; transform: translateY(-2px); }
.ap-chan:hover .ap-chan__go { color: #fff; transform: translate(3px, -3px); }
.ap-chan--wa { border-color: rgba(216,35,52,.45); }
.ap-chan--wa:hover { border-color: var(--primary); background: rgba(216,35,52,.12); }
.ap-chan--wa:hover .ap-chan__go { color: var(--primary); }

/* ------------------------------------------------------------ responsive */

@media (max-width: 1100px) {
  .ap-onsite__panel { grid-template-columns: 1fr; }
  .ap-onsite__read { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); padding: 40px 50px; }
  .ap-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .ap-tilt { perspective: none; margin-bottom: -40px; }
  .ap-tilt__inner { transform: none; transform-origin: center; }
  .ap-tilt:hover .ap-tilt__inner { transform: none; }
  .ap-stage { grid-template-columns: 1fr; }
  .ap-stage__body { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
}

@media (max-width: 860px) {
  .ap-spec { grid-template-columns: repeat(2, 1fr); }
  .ap-spec div:nth-child(2) { border-right: 0; }
  .ap-spec div:nth-child(1), .ap-spec div:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .ap-value__grid { grid-template-columns: repeat(2, 1fr); }
  .ap-card--feature { grid-column: span 2; }
  .ap-ladder { grid-template-columns: repeat(2, 1fr); }
  .ap-rung, .ap-rung:nth-child(-n+2) { grid-column: span 1; }
  .ap-rung:nth-child(5) { grid-column: span 2; }
  .ap-tour, .ap-levels, .ap-value { padding-bottom: 80px; }
  .ap-tour { padding-top: 90px; }
  .ap-onsite { padding-bottom: 80px; }
  .ap-onsite__lede { padding: 40px 32px; }
  .ap-onsite__read { padding: 32px; }
  .ap-onsite__foot { padding: 24px 32px; }
}

@media (max-width: 560px) {
  .ap-hero { padding-top: 150px; }
  .ap-spec { grid-template-columns: 1fr; }
  .ap-spec div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .ap-value__grid { grid-template-columns: 1fr; }
  .ap-card--feature { grid-column: span 1; }
  .ap-ladder { grid-template-columns: 1fr; }
  .ap-rung, .ap-rung:nth-child(-n+2), .ap-rung:nth-child(5) { grid-column: span 1; }
  .ap-rung { padding: 26px 24px 28px; }
  /* the bar goes full width so the two-up tabs have a basis to divide */
  .ap-tabs { width: auto; padding: 6px; }
  .ap-tab { flex: 1 1 44%; padding: 12px 10px; letter-spacing: .08em; }
  .ap-end__acts a { width: 100%; }
  .ap-onsite__lede, .ap-onsite__read, .ap-onsite__foot { padding-left: 24px; padding-right: 24px; }
  .ap-onsite__read > div { flex-direction: column; align-items: flex-start; gap: 6px; }
  .ap-onsite__read dt { max-width: none; }
  .ap-onsite__read dd { text-align: left; }
  .ap-onsite__acts { width: 100%; }
  .ap-chan { width: 100%; }
}
