/* Apps Pay public landing page — v3 "Local" (Concept C, 22 Nov 2026).
   Same brand system as the G3 sign-in and the app top bar: logo tile,
   two-tone "Apps Pay" wordmark, Option A logo colours and Inter.
   No inline styles, scripts or data: images (server CSP img-src 'self'). */
@font-face {
  font-family: "Inter";
  src: url("/app/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --navy: #041d4a;
  --navy-deep: #030b1e;
  --blue: #0a4fc4;
  --blue-bright: #1f7bef;
  --azure: #3fa9f5;
  --blue-50: #e8f1fc;
  --ink: #101d33;
  --ink-2: #3b4a66;
  --ink-3: #4f5c76;
  --line: #e3e8f0;
  --surface: #f3f7fe;
  --page: #fbfcff;
  --green: #0f7a4c;
  --green-50: #e7f5ee;
  --green-glow: #4fd1a1;
  --amber: #a85a06;
  --amber-50: #fdf3e3;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --float:
    0 1px 2px rgba(16, 29, 51, 0.04), 0 18px 48px -16px rgba(4, 29, 74, 0.28);
  --soft:
    0 1px 2px rgba(16, 29, 51, 0.04), 0 8px 24px -12px rgba(16, 29, 51, 0.14);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
html,
body {
  margin: 0;
}
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--page);
  font-feature-settings: "cv11", "ss01", "ss03";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a {
  color: inherit;
}
img {
  max-width: 100%;
}
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.num {
  font-variant-numeric: tabular-nums;
}
:focus-visible {
  outline: 3px solid var(--azure);
  outline-offset: 2px;
  border-radius: 6px;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

/* ---------- Shared brand ---------- */
.ap-brand {
  --tile: 40px;
  display: inline-flex;
  align-items: center;
  gap: calc(var(--tile) * 0.3);
  text-decoration: none;
}
.ap-logo {
  flex: none;
  width: var(--tile);
  height: var(--tile);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: calc(var(--tile) * 0.24);
  background: #fff;
  box-shadow:
    0 0 0 1px var(--line),
    0 4px 10px -4px rgba(4, 29, 74, 0.25);
}
.ap-logo img {
  display: block;
  width: 86%;
  height: 86%;
  object-fit: contain;
  scale: 1.22;
}
.ap-word {
  font-size: calc(var(--tile) * 0.5);
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1;
  white-space: nowrap;
  color: var(--navy);
}
.ap-word .pay {
  color: var(--blue);
}
footer .ap-word {
  color: #fff;
}
footer .ap-word .pay {
  color: var(--azure);
}
footer .ap-logo {
  box-shadow: 0 0 0 3px rgba(63, 169, 245, 0.2);
}
.ap-brand-foot {
  --tile: 34px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font: 600 14.5px/1 var(--font);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.15s,
    background 0.15s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: linear-gradient(90deg, var(--blue), var(--blue-bright));
  color: #fff;
  box-shadow: 0 10px 26px -8px rgba(31, 123, 239, 0.55);
}
.btn-primary:hover {
  background: linear-gradient(90deg, #073f9e, #1a6ad6);
}
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: 0 1px 2px rgba(16, 29, 51, 0.05);
}
.btn-lg {
  height: 52px;
  padding: 0 24px;
  font-size: 15.5px;
  border-radius: 12px;
}

/* ---------- Header ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
}
.top.scrolled {
  border-bottom-color: var(--line);
}
.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.menu {
  display: flex;
  gap: 28px;
  font-size: 14.5px;
  font-weight: 500;
}
.menu a {
  text-decoration: none;
  color: var(--ink-2);
}
.menu a:hover {
  color: var(--blue);
}
.actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.link-signin {
  padding: 10px;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 44px 0 0;
  background: radial-gradient(
    ellipse 50% 60% at 90% 0%,
    rgba(63, 169, 245, 0.14),
    transparent 70%
  );
}
.hero-head {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: end;
}
.eyebrow {
  display: inline-block;
  margin: 0 0 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--blue);
  font-size: 14px;
  font-weight: 650;
  color: var(--ink-2);
}
h1 {
  margin: 0;
  font-size: clamp(40px, 5.2vw, 70px);
  font-weight: 780;
  letter-spacing: -0.05em;
  line-height: 1.02;
  color: var(--navy);
}
h1 span {
  color: var(--blue);
}
.lede {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-2);
}
.cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.fine {
  margin: 12px 0 0;
  font-size: 13.5px;
  color: var(--ink-3);
}
.band-wrap {
  position: relative;
  margin-top: 40px;
}
.scenes {
  position: relative;
  aspect-ratio: 2400 / 852;
  overflow: hidden;
  border-radius: 28px;
  background: #0a2a66;
  box-shadow: 0 40px 80px -30px rgba(4, 29, 74, 0.5);
}
.scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.scene.on {
  opacity: 1;
}
.scene img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.scenes::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(3, 11, 30, 0.45));
  pointer-events: none;
}
.scene-cap {
  position: absolute;
  left: 24px;
  top: 22px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(3, 11, 30, 0.55);
  backdrop-filter: blur(8px);
  color: #dce7ff;
  font-size: 12.5px;
  font-weight: 600;
}
.chips {
  position: absolute;
  left: 24px;
  bottom: 22px;
  z-index: 3;
  display: flex;
  gap: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(3, 11, 30, 0.55);
  backdrop-filter: blur(8px);
  color: #fff;
  font: 600 13px/1 var(--font);
  cursor: pointer;
}
.chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}
.chip[aria-pressed="true"] {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}
.chip[aria-pressed="true"]::before {
  background: var(--green);
}
.float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 14px;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(10, 79, 196, 0.08),
    0 20px 40px -12px rgba(4, 29, 74, 0.45);
}
.float b {
  display: block;
  font-size: 13px;
  font-weight: 700;
}
.float small {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  color: var(--ink-3);
}
.fi {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
}
.fi-green {
  background: var(--green-50);
}
.tick-s {
  width: 6px;
  height: 11px;
  margin-top: -3px;
  border: solid var(--green);
  border-width: 0 2.4px 2.4px 0;
  transform: rotate(45deg);
}
.float-leave {
  right: 350px;
  bottom: -24px;
}
.float-run {
  right: 36px;
  bottom: -34px;
  display: block;
  min-width: 290px;
  padding: 14px 16px;
}
.run-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.run-amt {
  margin: 6px 0 10px;
  font-size: 26px;
  font-weight: 780;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.run-bar {
  display: flex;
  gap: 4px;
}
.run-bar i {
  flex: 1;
  height: 6px;
  border-radius: 9px;
  background: #eef1f6;
}
.run-bar .d {
  background: var(--green);
}
.run-bar .n {
  background: var(--blue);
}
.run-st {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 10.5px;
  color: var(--ink-3);
}
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 72px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 18px;
  font-size: 14.5px;
  font-weight: 600;
}
.trust li + li {
  border-left: 1px solid var(--line);
}
.trust small {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-3);
}
.tick {
  position: relative;
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-glow);
}
.tick::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  width: 4px;
  height: 8px;
  border: solid #04203f;
  border-width: 0 2.2px 2.2px 0;
  transform: rotate(45deg);
}

/* ---------- Sections ---------- */
.sec {
  padding: 96px 0;
}
.sec-tint {
  background: var(--surface);
}
.kicker {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}
.kicker-light {
  color: #9fddff;
}
h2 {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--navy);
}
h3 {
  letter-spacing: -0.02em;
}
.intro {
  margin: 16px 0 0;
  max-width: 560px;
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--ink-2);
}
.center {
  text-align: center;
}
.center .intro {
  margin-left: auto;
  margin-right: auto;
}
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.split-rev {
  grid-template-columns: 1.05fr 0.95fr;
}
.ticks {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}
.ticks li {
  display: flex;
  gap: 12px;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
.ticks b {
  color: var(--ink);
  font-weight: 650;
}
.ticks i {
  position: relative;
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 7px;
  background: var(--blue-50);
}
.ticks i::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid var(--blue);
  border-width: 0 2.4px 2.4px 0;
  transform: rotate(45deg);
}
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}
.tag-blue {
  background: var(--blue-50);
  color: var(--blue);
}
.tag-green {
  background: var(--green-50);
  color: var(--green);
}
.tag-amber {
  background: var(--amber-50);
  color: var(--amber);
}
.tag-grey {
  background: #eef1f6;
  color: var(--ink-3);
}
.up {
  color: var(--green);
}
.down {
  color: var(--amber);
}
.same {
  color: var(--ink-3);
}

/* Changes since last run */
.panel {
  padding: 22px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--float);
  border: 1px solid rgba(10, 79, 196, 0.08);
}
.panel-h {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.panel-h b {
  display: block;
  font-size: 16px;
}
.panel-h small {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  color: var(--ink-3);
}
.sum {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0 6px;
}
.sum div {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface);
}
.sum small {
  display: block;
  font-size: 12px;
  color: var(--ink-3);
}
.sum b {
  display: block;
  margin: 2px 0;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.sum em {
  font-style: normal;
  font-size: 12px;
  color: var(--ink-3);
}
.sum em.up {
  color: var(--green);
}
.chg {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px 16px;
  padding: 12px 4px;
  border-bottom: 1px solid #eef1f6;
}
.chg .tag {
  grid-column: 1 / -1;
  justify-self: start;
  white-space: normal;
}
.chg > b {
  font-size: 15px;
}
.emp {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 620;
}
.av {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-style: normal;
  font-size: 10.5px;
  font-weight: 700;
  color: #fff;
}
.a1 {
  background: var(--blue);
}
.a2 {
  background: var(--green);
}
.a3 {
  background: #6b4fd8;
}
.a4 {
  background: #b4540a;
}
.panel-f {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 14px;
}
.chk {
  position: relative;
  padding-left: 22px;
  font-size: 13px;
  color: var(--ink-2);
}
.chk::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  translate: 0 -50%;
}
.chk.ok::before {
  background: var(--green);
}
.chk.ok::after {
  content: "";
  position: absolute;
  left: 5.5px;
  top: 50%;
  width: 3px;
  height: 7px;
  border: solid #fff;
  border-width: 0 1.8px 1.8px 0;
  transform: translateY(-62%) rotate(45deg);
}
.chk.warn::before {
  background:
    linear-gradient(#fff, #fff) 50% 3px / 2px 5px no-repeat,
    linear-gradient(#fff, #fff) 50% 10px / 2px 2px no-repeat,
    var(--amber);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 52px 0 0;
  padding: 0;
  list-style: none;
}
.step {
  padding: 28px 26px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--soft);
}
.step-n {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-bright));
  color: #fff;
  font-weight: 750;
}
.step h3 {
  margin: 16px 0 0;
  font-size: 20px;
}
.step p {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
}
.mini {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

/* Phones */
.phones {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 20px 0;
}
.phone {
  width: 250px;
  padding: 10px;
  border-radius: 34px;
  background: #0b1a38;
  box-shadow: var(--float);
}
.phone-2 {
  margin-top: 56px;
}
.ph-in {
  min-height: 340px;
  padding: 22px 16px;
  border-radius: 26px;
  background: #fff;
}
.ph-t {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
}
.ph-net {
  margin-bottom: 12px;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(160deg, #0a2a66, #041d4a);
  color: #fff;
}
.ph-net small {
  font-size: 11px;
  color: #9fddff;
}
.ph-net b {
  display: block;
  margin-top: 2px;
  font-size: 26px;
  letter-spacing: -0.02em;
}
.ln {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid #f0f3f8;
  font-size: 12.5px;
}
.ln-yr {
  color: var(--ink-3);
}
.lb {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
  padding: 10px 0;
  font-size: 12.5px;
}
.lb i {
  grid-column: 1 / -1;
  height: 7px;
  border-radius: 9px;
  background: #eef1f6;
  overflow: hidden;
}
.lb em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}
.w-62 {
  width: 62%;
}
.w-100 {
  width: 100%;
}
.req {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  background: var(--surface);
  font-size: 12px;
}
.ph-btn {
  display: block;
  margin-top: 16px;
  padding: 12px;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright));
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 650;
}

/* Built for NZ */
.sec-navy {
  color: #fff;
  background:
    radial-gradient(
      ellipse 60% 80% at 85% 0%,
      rgba(31, 123, 239, 0.3),
      transparent 60%
    ),
    linear-gradient(165deg, #0a2a66 0%, #041d4a 50%, #030b1e 100%);
}
.sec-navy h2 {
  color: #fff;
}
.nz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}
.nz-grid li {
  padding: 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(124, 195, 255, 0.25);
}
.nz-grid b {
  display: block;
  font-size: 17px;
}
.nz-grid span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.5;
  color: #b9c7e6;
}
.not-yet {
  max-width: 820px;
  margin: 28px auto 0;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
  color: #a9bcdd;
}
.not-yet b {
  color: #fff;
}

/* Trial */
.trial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.how-trial {
  margin: 0;
  padding: 26px;
  list-style: none;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--float);
}
.how-trial li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
}
.how-trial li + li {
  border-top: 1px solid var(--line);
}
.how-trial .n {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue);
  font-weight: 750;
}
.how-trial b {
  display: block;
  font-size: 15.5px;
}
.how-trial li > span:last-child {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}

/* FAQ */
.faq-wrap {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 64px;
}
.faq details {
  border-bottom: 1px solid rgba(10, 79, 196, 0.14);
}
.faq summary {
  position: relative;
  padding: 20px 44px 20px 0;
  list-style: none;
  cursor: pointer;
  font-size: 17px;
  font-weight: 650;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 24px;
  height: 24px;
  translate: 0 -50%;
  border-radius: 7px;
  background:
    linear-gradient(var(--blue), var(--blue)) center / 11px 2.4px no-repeat,
    linear-gradient(var(--blue), var(--blue)) center / 2.4px 11px no-repeat,
    var(--blue-50);
  transition: rotate 0.2s;
}
.faq details[open] summary::after {
  rotate: 45deg;
}
.faq details p {
  margin: -6px 0 20px;
  max-width: 660px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-2);
}

/* Closing */
.closing {
  padding: 88px 0;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(
      ellipse at 50% 0%,
      rgba(31, 123, 239, 0.35),
      transparent 60%
    ),
    linear-gradient(165deg, #0a2a66 0%, #041d4a 55%, #030b1e 100%);
}
.closing h2 {
  color: #fff;
}
.closing p {
  margin: 14px 0 28px;
  font-size: 17.5px;
  color: #c3d1ee;
}

/* Footer */
footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(124, 195, 255, 0.12);
}
footer .wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px 32px;
  padding: 32px 24px 36px;
  font-size: 14px;
  color: #8fa6cf;
}
footer nav {
  display: flex;
  gap: 22px;
}
footer a {
  text-decoration: none;
  color: #a9bcdd;
}
footer a:hover {
  color: #fff;
}
.secured {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #bfe6ff;
}
.secured img {
  height: 26px;
  width: auto;
}
.copy {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid rgba(124, 195, 255, 0.1);
  font-size: 13px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .float-leave {
    display: none;
  }
}
@media (max-width: 960px) {
  .menu {
    display: none;
  }
  .hero-head,
  .split,
  .split-rev,
  .trial,
  .faq-wrap,
  .steps {
    grid-template-columns: 1fr;
  }
  .hero-head {
    gap: 20px;
  }
  .split-rev > .phones {
    order: 2;
  }
  .trust {
    grid-template-columns: 1fr 1fr;
  }
  .trust li:nth-child(3) {
    border-left: 0;
  }
  .trust li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .nz-grid {
    grid-template-columns: 1fr 1fr;
  }
  .faq-wrap {
    gap: 16px;
  }
}
@media (max-width: 640px) {
  .top .wrap {
    height: 64px;
  }
  .ap-brand {
    --tile: 34px;
  }
  .actions .btn-primary {
    display: none;
  }
  .btn-lg {
    width: 100%;
  }
  .sec {
    padding: 64px 0;
  }
  .hero {
    padding-top: 30px;
  }
  .band-wrap {
    margin-top: 28px;
  }
  .scenes {
    aspect-ratio: 4 / 3;
    border-radius: 20px;
  }
  .scene[data-scene="cafe"] img {
    object-position: 60% 50%;
  }
  .scene[data-scene="manufacturing"] img {
    object-position: 52% 50%;
  }
  .scene[data-scene="office"] img {
    object-position: 45% 50%;
  }
  .scene-cap {
    display: none;
  }
  .chips {
    left: 12px;
    right: 12px;
    top: 12px;
    bottom: auto;
    gap: 6px;
  }
  .chip {
    height: 32px;
    padding: 0 10px;
    font-size: 12px;
  }
  .float-run {
    position: relative;
    right: auto;
    bottom: auto;
    min-width: 0;
    margin: -36px 14px 0;
  }
  .trust {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }
  .trust li + li {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .sum {
    grid-template-columns: 1fr;
  }
  .phone {
    width: 200px;
  }
  .phone-2 {
    display: none;
  }
  .nz-grid {
    grid-template-columns: 1fr;
  }
  footer .wrap {
    grid-template-columns: 1fr;
  }
  .secured {
    justify-self: start;
  }
}
@media (max-width: 360px) {
  .chip {
    padding: 0 8px;
    font-size: 11.5px;
  }
  h1 {
    font-size: 36px;
  }
}

/* ---------- Motion ---------- */
html[data-reduce-motion] .scene,
html[data-reduce-motion] .btn {
  transition: none;
}
html[data-reduce-motion] .btn:hover {
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .scene,
  .btn {
    transition: none;
  }
}

/* Demo badge / build label (server-added) — unchanged */
.apps-pay-demo-badge {
  position: fixed;
  left: 12px;
  bottom: 12px;
  z-index: 10000;
  max-width: min(420px, calc(100vw - 24px));
  padding: 6px 12px;
  border-radius: 999px;
  background: #a85a06;
  color: #fff;
  font:
    600 12px/1.35 "Inter",
    "Segoe UI",
    system-ui,
    sans-serif;
  box-shadow: 0 4px 14px rgba(4, 29, 74, 0.25);
  pointer-events: none;
}
.apps-pay-build-label {
  position: fixed;
  right: 10px;
  bottom: 8px;
  z-index: 9999;
  max-width: calc(100vw - 20px);
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(4, 29, 74, 0.82);
  color: #fff;
  font:
    500 11px/1.4 "Inter",
    "Segoe UI",
    system-ui,
    sans-serif;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
  user-select: none;
}
@media print {
  .apps-pay-demo-badge,
  .apps-pay-build-label {
    display: none;
  }
}

/* ======================================================================
   Navy hero (matches the current G3+ sign-in) (owner, 22 November 2026): the header and hero use the same
   navy and grid as the sign-in screen, so landing → sign-in is one colour.
   ====================================================================== */
.top {
  background: rgba(3, 11, 30, 0.92);
}
.top.scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.2);
  background: rgba(3, 11, 30, 0.96);
}
.top .ap-word {
  color: #ffffff;
}
.top .ap-word .pay {
  color: #3fa9f5;
}
.top .ap-logo {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}
.menu a {
  color: #dce9ff;
}
.menu a:hover {
  color: #ffffff;
}
.top .link-signin {
  color: #ffffff;
}
.top .btn-primary {
  background: linear-gradient(90deg, #0a4fc4, #1f7bef);
  color: #ffffff;
}
.hero {
  color: #ffffff;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(124, 195, 255, 0.045) 0 1px,
      transparent 1px 180px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(124, 195, 255, 0.045) 0 1px,
      transparent 1px 240px
    ),
    radial-gradient(ellipse at 50% 40%, #0f2f66 0%, #071a3f 42%, #030b1e 100%);
  padding-bottom: 0;
}
.hero::after {
  /* the band of white the photo cards and trust row sit on */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 150px;
  background: var(--page);
  z-index: 0;
}
.hero > .wrap {
  position: relative;
  z-index: 1;
}
.eyebrow {
  color: #cfe3ff;
  border-bottom-color: #3fa9f5;
}
h1 {
  color: #ffffff;
}
h1 span {
  color: #3fa9f5;
}
.lede {
  color: #c3d1ee;
}
.hero .fine {
  color: #9fb4d9;
}
.hero .btn-primary {
  background: linear-gradient(90deg, #0a4fc4, #1f7bef);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(31, 123, 239, 0.45);
}
.hero .btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border-color: rgba(124, 195, 255, 0.45);
  box-shadow: none;
}
.hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}
.scenes {
  box-shadow:
    0 0 0 1.5px rgba(92, 200, 255, 0.55),
    0 0 40px rgba(92, 200, 255, 0.3),
    0 40px 80px -30px rgba(3, 11, 30, 0.6);
}
.trust {
  color: var(--ink);
}
/* Closing band and "Built for NZ" use the same navy */
.sec-navy,
.closing {
  background:
    repeating-linear-gradient(
      0deg,
      rgba(124, 195, 255, 0.045) 0 1px,
      transparent 1px 180px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(124, 195, 255, 0.045) 0 1px,
      transparent 1px 240px
    ),
    radial-gradient(ellipse at 50% 40%, #0f2f66 0%, #071a3f 42%, #030b1e 100%);
}
.sec-navy .nz-grid li {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}
.sec-navy .nz-grid span,
.not-yet {
  color: #dce9ff;
}
.closing p {
  color: #e3eefc;
}
.closing .btn-primary {
  background: linear-gradient(90deg, #0a4fc4, #1f7bef);
  color: #ffffff;
}
@media (max-width: 640px) {
  .hero::after {
    height: 0;
  }
  .hero {
    padding-bottom: 28px;
  }
  .trust {
    margin-top: 28px;
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
  }
  .trust li + li {
    border-top-color: rgba(255, 255, 255, 0.3);
  }
  .trust small {
    color: #dce9ff;
  }
}
.hero .float {
  color: var(--ink);
}

/* ======================================================================
   Test and draft marks on printouts (owner, 28 November 2026;
   src/app/document-marks.ts). Outside live the server adds
   .apps-pay-print-mark to every page: hidden on screen, printed large and
   light across every page with a line at the foot. body.print-draft (a
   pay run that isn't finalised) adds DRAFT, in live too.
   ====================================================================== */
.apps-pay-print-mark,
.apps-pay-draft-mark {
  display: none;
}
@media print {
  .apps-pay-print-mark,
  body.print-draft .apps-pay-draft-mark {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    pointer-events: none;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .apps-pay-print-mark-text,
  .apps-pay-draft-mark-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-35deg);
    white-space: nowrap;
    font:
      800 72pt/1 "Inter",
      "Segoe UI",
      system-ui,
      sans-serif;
    letter-spacing: 0.04em;
    color: rgba(92, 102, 120, 0.16);
  }
  body.print-draft .apps-pay-print-mark-text {
    margin-top: -48pt;
  }
  body.print-draft
    .apps-pay-print-mark
    ~ .apps-pay-draft-mark
    .apps-pay-draft-mark-text {
    margin-top: 48pt;
  }
  .apps-pay-print-mark-foot,
  .apps-pay-draft-mark-foot {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4mm;
    text-align: center;
    font:
      700 7.5pt/1.3 "Inter",
      "Segoe UI",
      system-ui,
      sans-serif;
    color: #8c2919;
  }
  body.print-draft .apps-pay-print-mark-foot {
    bottom: 8mm;
  }
}
