/* Product, pricing and checkout pages. Loaded after scrollcraft.css and site.css, on <body class="ap">.
   One near-black ground, a 980px column, big type and big gaps. No script needed: the main header
   scrolls away, the page bar sticks, and the only motion is a single fade-up of the hero. */

.ap {
  --ap-w: 980px;
  --ap-g: clamp(20px, 5vw, 44px);
  --ap-space: clamp(90px, 3.5rem + 7vw, 160px);
  --ap-local-h: 54px;
  --ap-ink: var(--night-ink);
  --ap-soft: var(--night-soft);
  --ap-line: rgba(242, 240, 237, 0.11);
  --ap-glass: linear-gradient(160deg, rgba(30, 32, 38, 0.62) 0%, rgba(10, 11, 14, 0.82) 70%);
  --ap-solid: linear-gradient(165deg, #1c1e24 0%, #121317 52%, #0d0e11 100%);
  --ap-edge: 1px solid rgba(255, 255, 255, 0.13);
  --ap-lift: 0 30px 80px -34px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: var(--ap-ink);
  font-family: var(--sc-font-text);
  font-size: 1.0625rem;
  line-height: 1.55;
}
@media (min-width: 700px) { .ap { --ap-local-h: 52px; } }

.ap-wrap { width: min(var(--ap-w), 100% - 2 * var(--ap-g)); margin-inline: auto; }
.ap-main { padding-bottom: 0; }
.ap-main--bare { padding-top: calc(var(--bar-h) + var(--sat, 0px)); }

/* the main header scrolls away with the page; the page bar below it is what stays */
.ap .bar { position: absolute; }

/* ------------------------------------------------------------ page bar -- */
.ap-local {
  position: sticky; top: 0; z-index: 40;
  margin-top: calc(var(--bar-h) + var(--sat, 0px));
  height: var(--ap-local-h);
  background: rgba(14, 16, 20, 0.97);
  border-bottom: 1px solid var(--ap-line);
}
@media (min-width: 821px) and (hover: hover) {
  .ap-local {
    background: rgba(11, 13, 16, 0.74);
    -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4);
  }
}
.ap-local__in { display: flex; align-items: center; gap: 18px; height: 100%; }
.ap-local__name {
  margin-right: auto; white-space: nowrap; text-decoration: none; color: var(--ap-ink);
  font-family: var(--sc-font-display); font-stretch: 108%; font-weight: 720;
  font-size: clamp(1rem, 0.94rem + 0.3vw, 1.2rem); letter-spacing: -0.012em;
}
.ap-local__links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 30px); }
.ap-local__links a {
  font-size: 0.86rem; color: var(--ap-soft); text-decoration: none; white-space: nowrap;
  padding: 8px 0; transition: color 160ms var(--ease);
}
.ap-local__links a:hover, .ap-local__links a:focus-visible { color: var(--ap-ink); }
.ap-local .btn { min-height: 40px; padding: 0 18px; font-size: 0.9rem; }
@media (min-width: 700px) { .ap-local .btn { min-height: 34px; padding: 0 16px; font-size: 0.86rem; } }
@media (max-width: 699px) { .ap-local__links { display: none; } }

/* anything the bar links to lands just under it */
.ap-anchor { scroll-margin-top: calc(var(--ap-local-h) + 28px); }

/* ---------------------------------------------------------------- type -- */
.ap-eyebrow {
  margin: 0 0 16px; font-family: var(--sc-font-text); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--night-accent);
}
.ap-h1 {
  margin: 0; font-family: var(--sc-font-display); font-stretch: 112%; font-weight: 760;
  font-size: clamp(2.9rem, 1.1rem + 7.4vw, 6.75rem); line-height: 0.98; letter-spacing: -0.035em;
  text-wrap: balance;
}
.ap-h2 {
  margin: 0; font-family: var(--sc-font-display); font-stretch: 108%; font-weight: 720;
  font-size: clamp(2rem, 1.25rem + 3.2vw, 4rem); line-height: 1.04; letter-spacing: -0.03em;
  text-wrap: balance;
}
.ap-h3 {
  margin: 0; font-family: var(--sc-font-display); font-stretch: 106%; font-weight: 720;
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem); line-height: 1.14; letter-spacing: -0.02em;
  text-wrap: balance;
}
.ap-intro {
  margin: 18px 0 0; max-width: 36em; color: var(--ap-soft); text-wrap: pretty;
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.3125rem); line-height: 1.45; letter-spacing: -0.006em;
}
.ap-body { margin: 12px 0 0; color: var(--ap-soft); font-size: 1.0625rem; line-height: 1.55; text-wrap: pretty; }
.ap-fine { margin: 14px 0 0; color: var(--ap-soft); font-size: 0.875rem; line-height: 1.5; }
.ap-body strong, .ap-intro strong, .ap-fine strong { color: var(--ap-ink); font-weight: 650; }
.ap-main a:not(.btn) { color: var(--ap-ink); text-underline-offset: 0.22em; }

/* ------------------------------------------------------------- sections -- */
.ap-sec { padding-top: var(--ap-space); }
.ap-head { max-width: 46rem; margin-bottom: clamp(36px, 5vw, 64px); }
.ap-head--center { margin-inline: auto; text-align: center; }
.ap-head--center .ap-intro { margin-inline: auto; }

/* ----------------------------------------------------------------- hero -- */
.ap-hero { position: relative; padding-top: clamp(64px, 9vw, 128px); text-align: center; isolation: isolate; }
.ap-hero .ap-intro { margin: 24px auto 0; color: var(--ap-ink); }
.ap-hero__price { margin: 18px auto 0; max-width: 34em; color: var(--ap-soft); font-size: 1.0625rem; text-wrap: balance; }
.ap-hero__price strong { color: var(--ap-ink); font-weight: 650; }
/* the price on its own line, then each condition on its own line under it */
.ap-hero__price strong, .ap-hero__price span { display: block; }
.ap-hero__price strong { margin-bottom: 4px; }

/* buttons: the site's dark red .btn, plus a quiet outlined partner */
.ap-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; margin-top: 34px; }
.ap .btn.ap-ghost {
  color: var(--ap-ink); background: transparent;
  box-shadow: inset 0 0 0 1px rgba(242, 240, 237, 0.3);
}
@media (hover: hover) and (pointer: fine) {
  .ap .btn.ap-ghost:hover { background: rgba(242, 240, 237, 0.07); box-shadow: inset 0 0 0 1px rgba(242, 240, 237, 0.55); }
}
@media (max-width: 559px) {
  .ap-cta { flex-direction: column; align-items: stretch; }
  .ap-cta .btn { width: 100%; }
}

/* ---------------------------------------------------------------- tiles -- */
.ap-tiles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.ap-tile, .ap-card {
  position: relative; min-width: 0; overflow: hidden;
  padding: clamp(26px, 3.4vw, 40px);
  border-radius: 22px; border: var(--ap-edge);
  background: var(--ap-glass); box-shadow: var(--ap-lift);
}
.ap-tile::before {
  content: ""; position: absolute; left: clamp(26px, 3.4vw, 40px); top: 0; width: 46px; height: 2px;
  background: var(--night-accent);
}
@media (max-width: 820px) { .ap-tile, .ap-card { background: var(--ap-solid); } }
@media (min-width: 700px) {
  .ap-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ap-tile--wide { grid-column: 1 / -1; }
}
@media (min-width: 980px) {
  .ap-tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .ap-tiles > * { grid-column: span 3; }
  .ap-tiles > .ap-tile--wide { grid-column: span 4; }
  .ap-tiles > .ap-tile--narrow { grid-column: span 2; }
}
.ap-tile--split { display: grid; gap: 26px; align-items: center; }
@media (min-width: 700px) { .ap-tile--split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; } }

.ap-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.ap-chips li {
  padding: 8px 14px; border-radius: 999px; font-size: 0.92rem; line-height: 1.2; color: var(--ap-ink);
  background: rgba(242, 240, 237, 0.05); border: 1px solid rgba(242, 240, 237, 0.15);
}

/* an example text message, drawn in the page the way it lands on a phone: the receptionist's number at
   the top, then one grey incoming bubble with the exact lines the real text carries */
.ap-msg { margin: 0; justify-self: center; width: 100%; max-width: 340px; }
.ap-sms { padding: 14px 14px 16px; border-radius: 22px; background: #000; border: 1px solid rgba(255, 255, 255, 0.10); }
.ap-sms__head { margin: 0 0 12px; display: grid; justify-items: center; gap: 2px; text-align: center; }
.ap-sms__who { font-size: 0.86rem; font-weight: 600; color: var(--ap-ink); }
.ap-sms__meta { font-size: 0.72rem; color: var(--ap-soft); }
.ap .ap-sms__bubble {
  margin: 0; max-width: 92%; padding: 10px 14px; border-radius: 18px 18px 18px 6px;
  background: #26262A; color: #F2F1EF; font-size: 0.9rem; line-height: 1.38; overflow-wrap: anywhere;
}
.ap-sms__bubble span { display: block; }
/* an example website chat: the visitor's question on the right, the chat's answer on the left */
.ap-chatmock { display: grid; gap: 10px; padding: 14px 14px 16px; background: #000; border: 1px solid rgba(255, 255, 255, 0.10); }
.ap-chatmock .ap-sms__head { margin-bottom: 4px; }
.ap .ap-chatmock__them, .ap .ap-chatmock__bot { margin: 0; max-width: 88%; padding: 10px 14px; font-size: 0.9rem; line-height: 1.38; overflow-wrap: anywhere; }
.ap .ap-chatmock__them { justify-self: end; border-radius: 18px 18px 6px 18px; background: #8B0000; color: #F2F1EF; }
.ap .ap-chatmock__bot { justify-self: start; border-radius: 18px 18px 18px 6px; background: #26262A; color: #F2F1EF; }
.ap-msg figcaption { margin-top: 10px; font-size: 0.8rem; color: var(--ap-soft); text-align: center; }

/* ------------------------------------------------------------- 3 steps -- */
.ap-steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 860px) { .ap-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 700px) { .ap-steps--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ap-step__n {
  display: block; margin-bottom: 18px; font-family: var(--sc-font-display); font-stretch: 112%; font-weight: 800;
  font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); line-height: 1; letter-spacing: -0.04em; color: var(--night-accent);
}
.ap-ticks { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.ap-ticks li { position: relative; padding-left: 26px; color: var(--ap-soft); line-height: 1.45; }
.ap-ticks li::before {
  content: ""; position: absolute; left: 3px; top: 0.36em; width: 6px; height: 11px;
  border-right: 2px solid var(--night-accent); border-bottom: 2px solid var(--night-accent); rotate: 45deg;
}
.ap-ticks strong { color: var(--ap-ink); font-weight: 650; }

/* -------------------------------------------------------------- a band -- */
.ap-band { display: grid; gap: 22px; align-items: center; text-align: center; justify-items: center; }
@media (min-width: 760px) { .ap-band { grid-template-columns: minmax(0, 1fr) auto; text-align: left; justify-items: start; } }
.ap-band .ap-body { max-width: 34em; }

/* ------------------------------------------------------- pricing card -- */
.ap-price { max-width: 580px; margin-inline: auto; }
.ap-price__big {
  margin: 4px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px;
}
.ap-price__big b {
  font-family: var(--sc-font-display); font-stretch: 112%; font-weight: 800;
  font-size: clamp(3.6rem, 2.6rem + 4vw, 5.6rem); line-height: 1; letter-spacing: -0.045em; color: var(--ap-ink);
}
.ap-price__big span { color: var(--ap-soft); font-size: 1.0625rem; }
.ap-price__then { margin: 14px 0 0; font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.35rem); line-height: 1.35; }
.ap-price__then strong { font-weight: 700; }
.ap-prices { display: grid; gap: 22px; max-width: 1180px; margin-inline: auto; }
@media (min-width: 900px) { .ap-prices { grid-template-columns: 1fr 1fr; align-items: start; } }
.ap-prices .ap-price { max-width: none; margin: 0; }
.ap-price .ap-ticks { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--ap-line); }
.ap-price .btn { width: 100%; margin-top: 30px; }
.ap-price::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--brand);
}

/* ------------------------------------------------------------ the shop -- */
/* every product on one wet black card, the package first; price, three lines, two buttons */
.ap-sec--tight { padding-top: clamp(48px, 6vw, 80px); }
.ap-shop { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .ap-shop { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ap-shop__item--best { grid-column: 1 / -1; } }
.ap-shop__item { display: flex; flex-direction: column; cursor: pointer; transition: border-color 160ms var(--ease); }
/* the whole card is one link (its title, stretched over the card); only the Buy button sits above it */
.ap .ap-shop__link { color: inherit; text-decoration: none; }
.ap-shop__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.ap-shop__link:focus-visible { outline: none; }
.ap-shop__link:focus-visible::after { outline: 2px solid var(--ap-ink); outline-offset: -4px; }
.ap-shop__go .btn:not(.ap-shop__more) { position: relative; z-index: 2; }
@media (hover: hover) and (pointer: fine) {
  .ap-shop__item:hover { border-color: var(--brand); }
  .ap-shop__item:hover .ap-shop__more { box-shadow: inset 0 0 0 1px rgba(242, 240, 237, 0.55); }
}
.ap-shop__item .ap-ticks { flex: 1 0 auto; align-content: start; }
.ap-shop__item--best { border-color: rgba(139, 0, 0, 0.72); }
.ap .ap-shop__tag {
  margin: 0 0 14px; font-size: 0.78rem; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--night-accent);
}
.ap .ap-shop__price { margin: 12px 0 0; font-size: 1.0625rem; line-height: 1.45; }
.ap-shop__price b {
  font-family: var(--sc-font-display); font-stretch: 112%; font-weight: 800; font-size: 1.7rem;
  letter-spacing: -0.03em; color: var(--ap-ink);
}
.ap-shop__go { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.ap-shop__go .btn { flex: 1 1 0; justify-content: center; min-width: 120px; }

/* ------------------------------------------------------- compare table -- */
.ap-compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 1rem; line-height: 1.4; }
.ap-compare th, .ap-compare td { padding: 18px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--ap-line); }
.ap-compare thead th {
  font-family: var(--sc-font-display); font-stretch: 106%; font-weight: 720; font-size: 1.05rem; color: var(--ap-ink);
  border-bottom-color: rgba(242, 240, 237, 0.22); vertical-align: bottom;
}
.ap-compare tbody th { color: var(--ap-ink); font-weight: 600; width: 22%; }
.ap-compare td { color: var(--ap-soft); }
.ap-compare .is-us { background: rgba(139, 0, 0, 0.16); color: var(--ap-ink); }
.ap-compare thead .is-us { border-radius: 14px 14px 0 0; box-shadow: inset 0 3px 0 var(--brand); }
.ap-compare tbody tr:last-child .is-us { border-radius: 0 0 14px 14px; border-bottom: 0; }
.ap-compare strong { font-weight: 700; color: var(--ap-ink); }
@media (max-width: 699px) {
  .ap-compare, .ap-compare tbody, .ap-compare tr, .ap-compare th, .ap-compare td { display: block; width: auto; }
  .ap-compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .ap-compare tbody { display: grid; gap: 14px; }
  .ap-compare tr { padding: 6px 20px; border-radius: 18px; border: var(--ap-edge); background: var(--ap-solid); }
  .ap-compare tbody th { width: auto; padding: 16px 0 12px; font-family: var(--sc-font-display); font-stretch: 106%; font-weight: 720; font-size: 1.15rem; }
  .ap-compare td { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 12px; padding: 12px 0; }
  .ap-compare td::before { content: attr(data-label); color: var(--ap-soft); font-size: 0.9rem; }
  .ap-compare tr > :last-child { border-bottom: 0; }
  .ap-compare td.is-us { margin: 0 -12px 8px; padding: 12px; border-radius: 12px; border-bottom: 0; box-shadow: inset 3px 0 0 var(--brand); }
  .ap-compare td.is-us::before { color: var(--ap-ink); font-weight: 600; }
  .ap-compare tbody tr:last-child .is-us { border-radius: 12px; }
}

/* ----------------------------------------------------------------- FAQ -- */
.ap-faq { max-width: 50rem; margin-inline: auto; border-top: 1px solid var(--ap-line); }
.ap-faq details { border-bottom: 1px solid var(--ap-line); }
.ap-faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 44px; padding: 22px 0;
  font-family: var(--sc-font-display); font-stretch: 104%; font-weight: 680;
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); line-height: 1.25; letter-spacing: -0.012em; color: var(--ap-ink);
}
.ap-faq summary::-webkit-details-marker { display: none; }
/* the circled plus is DRAWN (two 2px bars centred in the circle by background-position), never a "+" glyph, and it
   turns 45deg into an X when the answer opens: the same icon as the film FAQ */
.ap-faq summary::after {
  content: ""; flex: none; box-sizing: border-box; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22); color: #c9c5c1;
  background:
    linear-gradient(currentColor, currentColor) 50% 50% / 12px 2px no-repeat,
    linear-gradient(currentColor, currentColor) 50% 50% / 2px 12px no-repeat;
  transition: rotate 240ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease);
}
.ap-faq details[open] > summary::after { rotate: 45deg; color: var(--night-accent); border-color: var(--night-accent); }
.ap-faq details > p { margin: -6px 0 26px; max-width: 40em; color: var(--ap-soft); font-size: 1.0625rem; line-height: 1.6; }

/* -------------------------------------------------------- final + notes -- */
.ap-final { text-align: center; }
.ap-final .ap-cta { margin-top: 30px; }
.ap-talk { margin: 30px 0 0; color: var(--ap-soft); font-size: 1.0625rem; }
.ap-talk__ways { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; margin: 8px 0 0; padding: 0; list-style: none; }
.ap-talk__ways a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

.ap-notes { margin-top: var(--ap-space); padding: 28px 0 64px; border-top: 1px solid var(--ap-line); }
.ap-notes ol, .ap-notes ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; color: var(--ap-soft); font-size: 0.875rem; line-height: 1.5; }

/* ------------------------------------------------------------- motion -- */
@media (prefers-reduced-motion: no-preference) {
  .ap-rise > * { animation: ap-rise 760ms var(--ease) both; }
  .ap-rise > :nth-child(2) { animation-delay: 70ms; }
  .ap-rise > :nth-child(3) { animation-delay: 140ms; }
  .ap-rise > :nth-child(4) { animation-delay: 210ms; }
  .ap-rise > :nth-child(n+5) { animation-delay: 280ms; }
}
@keyframes ap-rise { from { opacity: 0; translate: 0 16px; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: reduce) {
  .ap-faq summary::after, .ap-local__links a { transition: none; }
}

/* No glow anywhere: buttons keep only their edge highlight, never a coloured shadow. */
.ap .btn { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22); }

/* No red line along the top of a card. */
.ap-tile::before, .ap-price::before { content: none; }

/* CARDS: wet black (a pure black face with no reflection; only the edge catches light, a fine hairline
   along the top, fainter down the sides; solid, never see-through),
   no white band or white edge line, square corners, a super
   thin quiet red outline, and the body copy inside in matte white (headings keep their own colour). */
.ap {
  --ap-black: #000000;
  --ap-glass: var(--ap-black);
  --ap-solid: var(--ap-black);
  --ap-lift: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 1px 0 0 rgba(255, 255, 255, 0.05), inset -1px 0 0 rgba(255, 255, 255, 0.05), 0 30px 80px -34px rgba(0, 0, 0, 0.8);
  --ap-matte: #E7E5E1;
}
.ap-tile, .ap-card { border: 1px solid rgba(139, 0, 0, 0.42); border-radius: 0; }
@media (max-width: 820px) { .ap-compare tr { border: 1px solid rgba(139, 0, 0, 0.42); border-radius: 0; } }
.ap-tile :where(p, li, dt, dd, figcaption, td, th), .ap-card :where(p, li, dt, dd, figcaption, td, th),
.ap-compare tr :where(td, th) { color: var(--ap-matte); }

/* The comparison sits on one of the black cards: the card holds the table, square corners
   throughout, the AI receptionist column keeps its quiet red tint with no red bar on top. On a phone each
   row is already its own card, so the outer card steps back there. */
.ap-compare-card { padding: clamp(12px, 2vw, 24px); }
.ap-compare-card .ap-compare tbody tr:last-child > * { border-bottom: 0; }
.ap-compare .is-us, .ap-compare thead .is-us, .ap-compare tbody tr:last-child .is-us { border-radius: 0; }
.ap-compare thead .is-us { box-shadow: none; }
@media (max-width: 820px) {
  .ap-compare-card { padding: 0; background: none; border: 0; box-shadow: none; }
  .ap-compare td.is-us, .ap-compare tbody tr:last-child .is-us { border-radius: 0; box-shadow: none; }
}
.ap-tile, .ap-card { background-color: #000000; -webkit-backdrop-filter: none; backdrop-filter: none; }
