/* ============================================================================
   TAPN™ One, featuring ACE. The marketing page, in the TAPN master design
   (attendeeos/MASTER_DESIGN.md) as the product ships it: near-white canvas with
   a teal wash, navy ink, TAPN teal as the one accent, Nunito, pill buttons,
   white cards on soft wide shadows, uppercase teal eyebrows, one teal phrase per
   headline. The footer is the only dark surface.

   Loaded LAST, after product-tokens / kiosk / studio / demos, so the block at
   the end can restyle the "Use it yourself" shell without touching those files.
   Site tokens are prefixed --tp- so they never collide with the product tokens
   the demos pin for their own screens.
   ========================================================================== */

:root {
  --tp-primary: #0fbbb3;  --tp-primary-hover: #3fcfc8;  --tp-primary-focus: #0da49d;  --tp-primary-pressed: #0a8a84;
  --tp-primary-soft: #e6f7f6;  --tp-primary-tint: #f2fbfa;  --tp-primary-ink: #0b8f89;
  --tp-ink: #0e1b26;  --tp-ink-muted: #4a5c68;  --tp-ink-subtle: #7b8b95;  --tp-ink-tertiary: #a6b3ba;
  --tp-canvas: #fbfdfd;  --tp-wash: #f2faf9;  --tp-s1: #fff;  --tp-s2: #f7fafa;  --tp-s3: #eef4f4;
  --tp-hairline: #e6ecec;  --tp-hairline-strong: #d4dedd;
  --tp-inverse: #0e1b26;  --tp-inverse-s1: #17262f;
  --tp-danger: #d24b4b;

  --tp-font: Nunito, "Nunito Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
  --tp-xl: clamp(2.5rem, 6vw, 5.5rem);
  --tp-lg: clamp(2rem, 4.5vw, 3.5rem);
  --tp-md: clamp(1.75rem, 3.2vw, 2.5rem);

  --tp-r-xs: 6px; --tp-r-sm: 10px; --tp-r-md: 14px; --tp-r-lg: 18px; --tp-r-xl: 24px; --tp-r-xxl: 32px; --tp-r-pill: 9999px;
  --tp-sh-card: 0 2px 24px rgba(14, 27, 38, .06);
  --tp-sh-hover: 0 8px 32px rgba(14, 27, 38, .10);
  --tp-sh-lifted: 0 16px 48px rgba(14, 27, 38, .12);
  --tp-sh-cta: 0 4px 16px rgba(15, 187, 179, .24);
  --tp-sh-cta-pressed: 0 1px 6px rgba(15, 187, 179, .20);
  --tp-sh-white: 0 2px 10px rgba(14, 27, 38, .06);
  --tp-sh-chrome: 0 1px 24px rgba(14, 27, 38, .05);
  --tp-sh-kiosk: 0 32px 80px rgba(14, 27, 38, .18);
  --tp-ease: cubic-bezier(.32, .72, 0, 1);
  --tp-max: 1240px;
  --tp-gutter: clamp(1.25rem, 4vw, 3rem);
  --tp-section: clamp(4.5rem, 9vw, 7.5rem);
  --tp-nav: 76px;

  /* Names the carried demo styles (demos.css) still read. */
  --display: var(--tp-font);  --cond: var(--tp-font);  --mono: var(--tp-font);
  --black: var(--tp-ink);  --white: var(--tp-s1);  --volt: var(--tp-primary);  --grey: var(--tp-ink-subtle);
  --gutter: var(--tp-gutter);  --pad: var(--tp-section);  --nav: var(--tp-nav);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--tp-nav) + 12px); }
body {
  margin: 0; background: var(--tp-canvas); color: var(--tp-ink-muted);
  font: 400 1rem/1.6 var(--tp-font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }
:focus-visible { outline: 3px solid rgba(13, 164, 157, .55); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--tp-max) + 2 * var(--tp-gutter)); margin: 0 auto; padding: 0 var(--tp-gutter); }
.sec { padding: var(--tp-section) 0; position: relative; }
/* The teal wash: pools top-left of a section and is gone by the middle. */
.wash::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(60% 70% at 0% 0%, var(--tp-wash) 0, rgba(242, 250, 249, 0) 62%); }
.wash { isolation: isolate; }

/* ---- Type ----------------------------------------------------------------- */
.d-xl, .d-lg, .d-md { font-family: var(--tp-font); font-weight: 800; color: var(--tp-ink); text-wrap: balance; }
.d-xl { font-size: var(--tp-xl); line-height: 1.05; letter-spacing: -.028em; }
.d-lg { font-size: var(--tp-lg); line-height: 1.1; letter-spacing: -.025em; }
.d-md { font-size: var(--tp-md); line-height: 1.15; letter-spacing: -.02em; }
.t { color: var(--tp-primary); }
.eyebrow { font-size: .8125rem; font-weight: 700; line-height: 1.3; letter-spacing: .15em; text-transform: uppercase; color: var(--tp-primary-ink); margin-bottom: 1rem; }
.lede { font-size: 1.125rem; line-height: 1.6; color: var(--tp-ink-muted); max-width: 46ch; }
.sec-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.5rem 3rem; align-items: end; margin-bottom: 3.5rem; }
.sec-head > .lede { justify-self: end; }

/* ---- Buttons: pills, pressed on pointer-down ------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .625rem;
  font: 700 1.0625rem/1.2 var(--tp-font); padding: 18px 40px; border-radius: var(--tp-r-pill);
  transition: transform 100ms ease-out, background-color 180ms var(--tp-ease), box-shadow 180ms var(--tp-ease);
  white-space: nowrap; -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--tp-primary); color: #fff; box-shadow: var(--tp-sh-cta); }
.btn--primary:hover { background: var(--tp-primary-hover); }
.btn--primary:active { background: var(--tp-primary-pressed); box-shadow: var(--tp-sh-cta-pressed); }
.btn--secondary { background: var(--tp-s1); color: var(--tp-ink); box-shadow: var(--tp-sh-white); }
.btn--secondary:hover { box-shadow: var(--tp-sh-hover); }
.btn--tertiary { color: var(--tp-primary-ink); padding: 18px 32px; }
.btn--tertiary:hover { background: var(--tp-primary-soft); }
.btn--sm { font-size: .9375rem; padding: 12px 26px; }
.btn .play { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent currentColor; }

.pill-tag { display: inline-flex; align-items: center; gap: .4rem; padding: 4px 12px; border-radius: var(--tp-r-pill); background: var(--tp-primary-soft); color: var(--tp-primary-ink); font-size: .75rem; font-weight: 700; line-height: 1.4; letter-spacing: .01em; }

/* ---- ACE ------------------------------------------------------------------
   ACE is white, so he always sits on teal: a disc for the face, a disc or a
   teal panel behind the figure. The wave is the product's own: the arm layer
   turns about the shoulder (40.87% / 36.76%), three waves, then rest.        */
.ace-face { display: inline-block; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--tp-primary) url(../img/ace/ace-face.webp) 50% 62% / 84% auto no-repeat; vertical-align: middle; }
.ace-face--sm { width: 1.25rem; height: 1.25rem; }
.ace-face--lg { width: 3rem; height: 3rem; box-shadow: var(--tp-sh-cta); }
.ace-face--xl { width: 4rem; height: 4rem; box-shadow: var(--tp-sh-cta); }
.ace-fig { position: relative; display: block; aspect-ratio: 554 / 760; filter: drop-shadow(0 10px 18px rgba(14, 27, 38, .16)); }
.ace-fig img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ace-fig__arm { transform-origin: 40.87% 36.76%; }
.ace-fig.is-waving .ace-fig__arm { animation: aceWave 2.6s cubic-bezier(.45, 0, .55, 1) 2; }
a:hover .ace-fig__arm, button:hover .ace-fig__arm, .ace-fig:hover .ace-fig__arm { animation: aceWave 2.6s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes aceWave {
  0%, 62%, 100% { transform: rotate(0); }
  9% { transform: rotate(-12deg); }  20% { transform: rotate(6deg); }
  31% { transform: rotate(-12deg); } 42% { transform: rotate(6deg); }
  52% { transform: rotate(-10deg); }
}
/* A figure standing in a teal disc, feet cropped by the disc's edge. */
.ace-disc { position: relative; display: block; border-radius: 50%; background: linear-gradient(160deg, #12c4bc, #0a9b95); box-shadow: var(--tp-sh-cta); overflow: hidden; aspect-ratio: 1; }
.ace-disc > .ace-fig, .ace-disc > img { position: absolute; left: 50%; top: 9%; width: 68%; transform: translateX(-50%); }
.ace-disc > img { filter: drop-shadow(0 10px 18px rgba(14, 27, 38, .16)); }

/* ---- 1. Nav: white chrome that materializes on scroll --------------------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--tp-nav); transition: background-color 200ms ease, box-shadow 200ms ease, backdrop-filter 200ms ease; }
.nav.scrolled { background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); box-shadow: var(--tp-sh-chrome); }
.nav__in { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .625rem; flex: none; color: var(--tp-ink); }
.brand img { height: 26px; width: auto; }
.brand__one { font-weight: 800; font-size: 1.375rem; letter-spacing: -.02em; line-height: 1; color: var(--tp-primary-ink); }
.brand__feat { display: inline-flex; align-items: center; gap: .4rem; margin-left: .25rem; padding: 4px 12px 4px 4px; border-radius: var(--tp-r-pill); background: var(--tp-s1); box-shadow: var(--tp-sh-white); font-size: .75rem; font-weight: 700; letter-spacing: .01em; color: var(--tp-ink-muted); white-space: nowrap; }
.nav__links { display: flex; gap: .25rem; margin: 0 auto; }
.nav__links a { padding: 10px 14px; border-radius: var(--tp-r-pill); font-size: .9375rem; font-weight: 600; color: var(--tp-ink); transition: background-color 180ms var(--tp-ease), color 180ms var(--tp-ease); white-space: nowrap; }
.nav__links a:hover { background: var(--tp-primary-soft); color: var(--tp-primary-ink); }
.nav__cta { flex: none; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--tp-s1); box-shadow: var(--tp-sh-white); place-items: center; flex: none; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--tp-ink); position: relative; transition: transform 200ms var(--tp-ease), top 200ms var(--tp-ease), background-color 200ms; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
.menu { position: fixed; z-index: 49; left: 12px; right: 12px; top: calc(var(--tp-nav) + 4px); padding: 12px; border-radius: var(--tp-r-xl); background: var(--tp-s1); box-shadow: var(--tp-sh-lifted); opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: 100% 0; transition: opacity 200ms ease, transform 250ms var(--tp-ease), visibility 200ms; }
.menu.open { opacity: 1; visibility: visible; transform: none; }
.menu a { display: block; padding: 14px 16px; border-radius: var(--tp-r-md); font-size: 1.0625rem; font-weight: 700; color: var(--tp-ink); }
.menu a:hover { background: var(--tp-primary-tint); }
.menu a.sales { margin-top: 8px; text-align: center; background: var(--tp-primary); color: #fff; border-radius: var(--tp-r-pill); box-shadow: var(--tp-sh-cta); }
@media (max-width: 1080px) { .nav__links { display: none; } .nav__in { justify-content: space-between; } .burger { display: grid; } .nav__cta { margin-left: auto; } }
@media (max-width: 560px) { .brand__feat { display: none; } .nav__cta { padding: 10px 18px; } }
@media (min-width: 1081px) { .menu { display: none; } }

/* ---- 2. Hero: centered, badges floating off both edges -------------------- */
.hero { position: relative; padding: calc(var(--tp-nav) + clamp(3rem, 7vw, 5.5rem)) 0 clamp(2.5rem, 5vw, 4rem); text-align: center; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(70% 90% at 0% 0%, var(--tp-wash) 0, rgba(242, 250, 249, 0) 60%), radial-gradient(50% 60% at 100% 10%, var(--tp-primary-tint) 0, rgba(242, 251, 250, 0) 60%); }
.hero__in { display: flex; flex-direction: column; align-items: center; }
.intro { display: inline-flex; align-items: center; gap: .625rem; padding: 6px 18px 6px 6px; margin-bottom: 1.75rem; border-radius: var(--tp-r-pill); background: var(--tp-s1); box-shadow: var(--tp-sh-card); font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tp-primary-ink); }
.intro b { color: var(--tp-ink); font-weight: 800; }
.hero h1 { max-width: 12ch; }
.hero .sub { margin: 1.75rem auto 0; max-width: 40ch; font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.5; letter-spacing: -.005em; color: var(--tp-ink-muted); }
.hero .sub b { color: var(--tp-ink); font-weight: 700; }
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 2.5rem; }
.hero__badges { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__badges img { position: absolute; width: clamp(110px, 11vw, 168px); border-radius: var(--tp-r-md); box-shadow: var(--tp-sh-lifted); transform: rotate(var(--r)); animation: drift var(--d, 13s) ease-in-out infinite alternate; }
@keyframes drift { from { transform: translateY(-7px) rotate(var(--r)); } to { transform: translateY(7px) rotate(var(--r)); } }
.hero__badges img:nth-child(1) { left: -2.5%; top: 17%; --r: -9deg; --d: 12s; }
.hero__badges img:nth-child(2) { left: 9%; top: 52%; --r: 6deg; --d: 15s; }
.hero__badges img:nth-child(3) { left: 16.5%; top: 9%; --r: 4deg; --d: 17s; width: clamp(84px, 8vw, 120px); opacity: .92; }
.hero__badges img:nth-child(4) { right: -2.5%; top: 14%; --r: 8deg; --d: 14s; }
.hero__badges img:nth-child(5) { right: 9.5%; top: 50%; --r: -6deg; --d: 16s; }
.hero__badges img:nth-child(6) { right: 17%; top: 8%; --r: -5deg; --d: 13s; width: clamp(84px, 8vw, 120px); opacity: .92; }
@media (max-width: 1280px) { .hero__badges img:nth-child(3), .hero__badges img:nth-child(6) { display: none; } }
@media (max-width: 1024px) { .hero__badges img:nth-child(2), .hero__badges img:nth-child(5) { display: none; } .hero__badges img { opacity: .5; } }
@media (max-width: 640px) { .hero__badges { display: none; } .hero__cta { flex-direction: column; width: 100%; } .hero__cta .btn { width: 100%; } }

/* ---- 3. The ACE film: the big stage --------------------------------------- */
.film { padding: 0 0 var(--tp-section); }
.film__stage { position: relative; aspect-ratio: 16 / 9; border-radius: var(--tp-r-xxl); overflow: hidden; background: #0bbdb6; box-shadow: var(--tp-sh-kiosk); isolation: isolate; }
.film__stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #0bbdb6; }
.film__poster { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; width: 100%; background: radial-gradient(60% 80% at 50% 45%, #1fcfc7 0, #0bbdb6 60%, #09aaa4 100%); color: #fff; text-align: center; transition: opacity 300ms ease, visibility 300ms; }
.film.playing .film__poster { opacity: 0; visibility: hidden; }
.film__poster .ace-fig { position: absolute; left: 50%; bottom: -6%; height: 88%; transform: translateX(-50%); filter: drop-shadow(0 18px 30px rgba(6, 80, 77, .28)); }
.film__play { position: absolute; z-index: 1; left: 50%; bottom: 7%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: .875rem; padding: 10px 28px 10px 10px; border-radius: var(--tp-r-pill); background: #fff; color: var(--tp-ink); font-weight: 800; font-size: 1.0625rem; box-shadow: 0 12px 40px rgba(6, 80, 77, .30); transition: transform 100ms ease-out; white-space: nowrap; }
.film__poster:active .film__play { transform: translateX(-50%) scale(.97); }
.film__play i { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--tp-primary); box-shadow: var(--tp-sh-cta); }
.film__play i::before { content: ""; width: 0; height: 0; margin-left: 4px; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff; }
.film__play small { font-weight: 600; font-size: .875rem; color: var(--tp-ink-subtle); }
.film__tag { position: absolute; z-index: 1; left: 50%; top: 6%; transform: translateX(-50%); font-size: .8125rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.film__cap { display: flex; align-items: center; justify-content: center; gap: .875rem; margin: 1.75rem auto 0; max-width: 62ch; font-size: 1.0625rem; line-height: 1.5; color: var(--tp-ink-muted); }
.film__cap b { color: var(--tp-ink); font-weight: 700; }
@media (max-width: 640px) { .film__stage { border-radius: var(--tp-r-xl); } .film__play { padding: 6px 18px 6px 6px; font-size: .9375rem; gap: .625rem; } .film__play i { width: 40px; height: 40px; } .film__play small, .film__tag { display: none; } .film__cap { align-items: flex-start; font-size: 1rem; } }

/* ---- 4. Stats ------------------------------------------------------------- */
.stats { padding: 0 0 var(--tp-section); }
.stats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.stat { padding: 2rem; border-radius: var(--tp-r-xl); background: var(--tp-s1); box-shadow: var(--tp-sh-card); }
.stat .n { display: block; font-weight: 800; font-size: clamp(2.5rem, 4.4vw, 3.5rem); line-height: 1.05; letter-spacing: -.025em; color: var(--tp-ink); }
.stat .n i { font-style: normal; color: var(--tp-primary); }
.stat .c { display: block; margin-top: .75rem; font-size: 1rem; line-height: 1.5; color: var(--tp-ink-muted); }
.stat .c a { color: var(--tp-primary-ink); font-weight: 700; }
.stat .c a:hover { text-decoration: underline; text-underline-offset: 3px; }
.handles { display: flex; align-items: center; gap: 1rem 1.5rem; flex-wrap: wrap; margin-top: 2.5rem; }
.handles .eyebrow { margin: 0; flex: none; }
.handles ul { display: flex; flex-wrap: wrap; gap: .625rem; }
.handles li { display: inline-flex; align-items: center; gap: .5rem; padding: 8px 16px; border-radius: var(--tp-r-pill); background: var(--tp-s1); box-shadow: var(--tp-sh-white); font-size: .9375rem; font-weight: 700; color: var(--tp-ink); }
.handles li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--tp-primary); }
@media (max-width: 1024px) { .stats__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .stats__grid { grid-template-columns: 1fr; } }

/* ---- 5. About: the statement and the three layers ------------------------- */
.about__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 3rem 4rem; align-items: center; }
.about h2 { margin-bottom: 2.25rem; }
.stack { padding: 2.25rem; border-radius: var(--tp-r-xl); background: var(--tp-s1); box-shadow: var(--tp-sh-card); display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 1.75rem; align-items: center; }
.stack svg { width: 100%; overflow: visible; }
.stack svg path { fill: var(--tp-primary); }
.stack svg .mid path { opacity: .62; }
.stack svg .bot path { opacity: .34; }
.stack ol { margin: 0; padding: 0; list-style: none; display: grid; gap: .75rem; }
.stack li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: .75rem; align-items: center; padding: 14px 16px; border-radius: var(--tp-r-lg); background: var(--tp-s2); }
.stack li:first-child { background: var(--tp-primary-soft); }
.stack li .num { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--tp-s3); font-size: .75rem; font-weight: 700; color: var(--tp-ink-subtle); }
.stack li:first-child .num { background: var(--tp-primary); color: #fff; }
.stack li b { display: block; font-size: 1.0625rem; font-weight: 700; line-height: 1.2; color: var(--tp-ink); }
.stack li span.s { display: block; font-size: .875rem; line-height: 1.4; color: var(--tp-ink-muted); }
@media (max-width: 1024px) { .about__in { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .stack { grid-template-columns: 1fr; padding: 1.5rem; } .stack svg { max-width: 120px; margin: 0 auto; } }

/* ---- 6. The team: three layers and the loop ------------------------------- */
.team__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 3rem 4rem; align-items: start; }
.team__lead { position: sticky; top: calc(var(--tp-nav) + 2rem); display: grid; gap: 1.5rem; justify-items: start; }
.team__lead .eyebrow { margin: 0; }
.offer { font-size: 1.125rem; line-height: 1.6; color: var(--tp-ink-muted); max-width: 34ch; }
.offer b { color: var(--tp-ink); font-weight: 800; }
.layers { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.layer { display: flex; flex-direction: column; border-radius: var(--tp-r-xl); background: var(--tp-s1); box-shadow: var(--tp-sh-card); overflow: hidden; position: relative; }
/* Hover lift: a second, deeper shadow fades in, so the shadow itself is never animated. */
.layer::after, .cap::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: var(--tp-sh-hover); opacity: 0; transition: opacity 180ms var(--tp-ease); pointer-events: none; }
.layer:hover::after, .cap:hover::after { opacity: 1; }
.layer__vis { position: relative; aspect-ratio: 4 / 3; margin: 12px 12px 0; border-radius: var(--tp-r-lg); background: var(--tp-primary-tint); overflow: hidden; }
.layer__txt { padding: 1.5rem 1.75rem 1.75rem; display: grid; gap: .5rem; }
.layer__txt .num { justify-self: start; }
.layer__txt h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; color: var(--tp-ink); }
.layer__txt p { font-size: 1rem; line-height: 1.5; color: var(--tp-ink-muted); }
.layer--entry .layer__vis { background: url(../img/entry-kiosks-404.webp) 35% center / cover no-repeat; }
.orbit { position: absolute; left: 50%; top: 50%; height: 118%; aspect-ratio: 1; transform: translate(-50%, -50%); }
.orbit .ring { fill: none; stroke: var(--tp-hairline-strong); stroke-width: 1; stroke-dasharray: 3 5; }
.orbit .spoke { stroke: rgba(15, 187, 179, .35); stroke-width: 1; }
.orbit .node circle { stroke-width: 2; }
.orbit .node.done circle { fill: var(--tp-primary); stroke: var(--tp-primary); }
.orbit .node.work circle { fill: #fff; stroke: var(--tp-primary); animation: orbPulse 2s ease-in-out infinite; }
.orbit .node.wait circle { fill: #fff; stroke: var(--tp-hairline-strong); }
.orbit .node.you circle { fill: var(--tp-ink); stroke: var(--tp-ink); }
.orbit .node text { font-family: var(--tp-font); font-weight: 700; font-size: 11px; fill: var(--tp-ink-muted); text-anchor: middle; }
.orbit .g1 { animation: orbSpin 70s linear infinite; }
.orbit .g2 { animation: orbSpin 110s linear infinite reverse; }
.orbit .g3 { animation: orbSpin 160s linear infinite; }
.orbit .g1 .node { animation: orbSpin 70s linear infinite reverse; }
.orbit .g2 .node { animation: orbSpin 110s linear infinite; }
.orbit .g3 .node { animation: orbSpin 160s linear infinite reverse; }
.orbit .g1, .orbit .g2, .orbit .g3 { transform-origin: 200px 200px; }
.orbit .node { transform-box: fill-box; transform-origin: center; }
@keyframes orbSpin { to { transform: rotate(360deg); } }
@keyframes orbPulse { 0%, 100% { stroke-opacity: 1; } 50% { stroke-opacity: .35; } }
.orbit-core { position: absolute; left: 50%; top: 50%; width: 21%; aspect-ratio: 1; height: auto; transform: translate(-50%, -50%); box-shadow: 0 0 0 8px rgba(15, 187, 179, .14), var(--tp-sh-cta); }
.phone { position: absolute; left: 50%; top: 8%; width: 46%; max-width: 230px; transform: translateX(-50%); aspect-ratio: 9 / 19; background: #fbfbfa; border-radius: 28px; border: 6px solid var(--tp-ink); box-shadow: var(--tp-sh-lifted); overflow: hidden; font: 400 9px/1.3 var(--tp-font); color: var(--tp-ink); text-align: left; }
.phone .notch { position: absolute; left: 50%; top: 0; width: 40%; height: 14px; transform: translateX(-50%); background: var(--tp-ink); border-radius: 0 0 10px 10px; }
.phone .pbrand { margin: 22px 10px 8px; background: #14213D; color: #fff; border-radius: 12px; padding: 12px 11px 11px; }
.phone .pbrand b { display: block; font-size: 11.5px; font-weight: 800; line-height: 1.15; margin-bottom: 3px; }
.phone .pbrand span { opacity: .8; }
.phone .psec { margin: 0 10px 8px; }
.phone .k { font-size: 7.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #6b7280; margin-bottom: 4px; }
.phone .row { background: #fff; border-radius: 10px; padding: 8px 10px; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.phone .row b { display: block; font-size: 9.5px; font-weight: 800; }
.phone .row small { color: #6b7280; }
.phone .tick { width: 14px; height: 14px; border-radius: 50%; background: #14213D; flex: none; position: relative; }
.phone .tick::after { content: ""; position: absolute; left: 5px; top: 2.5px; width: 3px; height: 6px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.phone .pills { display: flex; gap: 5px; margin: 0 10px 8px; }
.phone .pills span { flex: 1; text-align: center; background: #fff; border-radius: 99px; padding: 5px 0; font-weight: 700; font-size: 8px; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.phone .pills span:first-child { background: #14213D; color: #fff; }
.phone .ptabs { position: absolute; left: 0; right: 0; bottom: 0; background: #fff; box-shadow: 0 -1px 6px rgba(0, 0, 0, .06); display: flex; padding: 7px 4px 10px; }
.phone .ptabs span { flex: 1; text-align: center; font-size: 6.5px; font-weight: 700; color: #6b7280; }
.phone .ptabs span::before { content: ""; display: block; width: 12px; height: 12px; border-radius: 4px; background: #d1d5db; margin: 0 auto 3px; }
.phone .ptabs span.on { color: #14213D; }
.phone .ptabs span.on::before { background: #14213D; }
.loop { position: absolute; inset: 0; display: grid; place-items: center; }
.loop svg { width: 62%; }
.loop .a { fill: none; stroke: var(--tp-primary); stroke-width: 5; stroke-linecap: round; }
.loop .b { fill: none; stroke: var(--tp-hairline-strong); stroke-width: 5; stroke-linecap: round; }
.loop .ah { fill: var(--tp-primary); } .loop .bh { fill: var(--tp-hairline-strong); }
.loop text { font-family: var(--tp-font); font-weight: 700; font-size: 11px; fill: var(--tp-ink-muted); text-anchor: middle; }
.loop .ace-face { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
@media (max-width: 1024px) { .team__in { grid-template-columns: 1fr; } .team__lead { position: static; } }
@media (max-width: 680px) { .layers { grid-template-columns: 1fr; } }

.num { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px; border-radius: var(--tp-r-pill); background: var(--tp-primary-soft); color: var(--tp-primary-ink); font-size: .75rem; font-weight: 700; }

/* ---- 8. Before / with TAPN ------------------------------------------------ */
.compare table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--tp-s1); border-radius: var(--tp-r-xl); box-shadow: var(--tp-sh-card); overflow: hidden; }
.compare th { text-align: left; padding: 1.25rem 1.5rem; font-size: .8125rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--tp-ink-subtle); background: var(--tp-s2); }
.compare th:last-child { color: var(--tp-primary-ink); background: var(--tp-primary-soft); }
.compare td { vertical-align: top; padding: 1.375rem 1.5rem; font-size: 1rem; line-height: 1.55; border-top: 1px solid var(--tp-hairline); }
.compare tbody tr:first-child td { border-top: 0; }
.compare td.job { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; color: var(--tp-ink); white-space: nowrap; }
.compare td.job i { font-style: normal; display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: .75rem; border-radius: 50%; background: var(--tp-s3); font-size: .75rem; font-weight: 700; letter-spacing: 0; color: var(--tp-ink-subtle); vertical-align: 2px; }
.compare td.before { color: var(--tp-ink-subtle); }
.compare td.after { color: var(--tp-ink); background: var(--tp-primary-tint); position: relative; padding-left: 4rem; }
.compare td.after::before { content: ""; position: absolute; left: 1.25rem; top: 1.25rem; width: 1.875rem; height: 1.875rem; border-radius: 50%; background: var(--tp-primary) url(../img/ace/ace-face.webp) 50% 62% / 84% auto no-repeat; }
.close-line { margin-top: 3rem; }
@media (max-width: 860px) {
  .compare thead { display: none; }
  .compare table, .compare tbody, .compare tr, .compare td { display: block; }
  .compare table { background: none; box-shadow: none; border-radius: 0; overflow: visible; }
  .compare tr { background: var(--tp-s1); border-radius: var(--tp-r-xl); box-shadow: var(--tp-sh-card); overflow: hidden; margin-bottom: 1rem; }
  .compare td { border: 0; padding: 1rem 1.25rem; }
  .compare td.job { white-space: normal; padding-bottom: 0; }
  .compare td.after { padding-left: 3.75rem; }
}

/* ---- 9. Capabilities ------------------------------------------------------ */
.caps__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.cap { position: relative; display: flex; flex-direction: column; gap: .75rem; padding: 1.75rem; border-radius: var(--tp-r-xl); background: var(--tp-s1); box-shadow: var(--tp-sh-card); }
.cap .g { align-self: flex-start; }
.cap .g--ace { padding-left: 4px; }
.cap h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; color: var(--tp-ink); }
.cap p { font-size: 1rem; line-height: 1.55; color: var(--tp-ink-muted); }
.more-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: auto; padding-top: .25rem; font-size: .9375rem; font-weight: 700; color: var(--tp-primary-ink); position: relative; z-index: 1; }
.more-link::after { content: "\2192"; transition: transform 180ms var(--tp-ease); }
.more-link:hover::after { transform: translateX(3px); }
.caps .more { margin-top: 1.5rem; padding: 1.5rem 1.75rem; border-radius: var(--tp-r-xl); background: var(--tp-primary-tint); font-size: .9375rem; line-height: 1.7; color: var(--tp-ink-muted); }
.caps .more b { margin-right: .5rem; font-size: .8125rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--tp-primary-ink); }
@media (max-width: 1024px) { .caps__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .caps__grid { grid-template-columns: 1fr; } }

/* ---- 10. Results ---------------------------------------------------------- */
.quotes .photo { margin: 0 0 2.5rem; }
.quotes .photo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: center 40%; border-radius: var(--tp-r-xxl); box-shadow: var(--tp-sh-lifted); }
.quotes .photo figcaption { padding: .875rem .5rem 0; font-size: .875rem; color: var(--tp-ink-subtle); }
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.case { display: flex; flex-direction: column; padding: 2.5rem; border-radius: var(--tp-r-xl); background: var(--tp-s1); box-shadow: var(--tp-sh-card); }
.case .k { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tp-primary-ink); margin-bottom: .875rem; }
.case h3 { font-size: 1.75rem; font-weight: 700; line-height: 1.2; letter-spacing: -.014em; color: var(--tp-ink); margin-bottom: 1.5rem; text-wrap: balance; }
.case .nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin-bottom: 1.5rem; }
.case .nums div { padding: 1rem; border-radius: var(--tp-r-lg); background: var(--tp-primary-tint); }
.case .nums b { display: block; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: var(--tp-ink); }
.case .nums span { display: block; margin-top: .25rem; font-size: .8125rem; font-weight: 600; line-height: 1.3; color: var(--tp-ink-muted); }
.case p { font-size: 1rem; line-height: 1.6; color: var(--tp-ink-muted); margin-bottom: .875rem; }
.case .said { margin: .5rem 0 1.25rem; padding: 1rem 1.25rem; border-radius: var(--tp-r-lg); background: var(--tp-primary-soft); color: var(--tp-ink); }
.case .said b { font-weight: 700; }
.case .take { margin: auto 0 0; font-size: 1.25rem; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; color: var(--tp-ink); }
.case .take i { font-style: normal; color: var(--tp-primary-ink); }
@media (max-width: 860px) { .cases { grid-template-columns: 1fr; } .case { padding: 1.75rem; } }

/* ---- 11. Works with what you use ------------------------------------------ */
.groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.grp { display: flex; flex-direction: column; padding: 1.75rem; border-radius: var(--tp-r-xl); background: var(--tp-s1); box-shadow: var(--tp-sh-card); }
@supports (grid-template-rows: subgrid) { .groups { grid-template-rows: repeat(4, auto); } .grp { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; } }
.grp .k { display: flex; align-items: center; gap: .625rem; margin-bottom: .875rem; font-size: .8125rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--tp-primary-ink); }
.grp .k span { letter-spacing: 0; }
.grp h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; color: var(--tp-ink); margin-bottom: .5rem; }
.grp .lead { font-size: 1rem; line-height: 1.5; color: var(--tp-ink-muted); margin-bottom: 1.25rem; }
.grp ul { align-self: start; display: grid; gap: .5rem; width: 100%; }
.grp li { display: grid; gap: 2px; padding: .75rem .875rem; border-radius: var(--tp-r-md); background: var(--tp-s2); }
.grp li b { font-size: .9375rem; font-weight: 700; line-height: 1.3; color: var(--tp-ink); }
.grp li span { font-size: .875rem; line-height: 1.45; color: var(--tp-ink-muted); }
.grp li a { color: var(--tp-primary-ink); font-weight: 700; white-space: nowrap; }
.grp li a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1100px) { .groups { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .groups { grid-template-columns: 1fr; } }

/* ---- 12. Control: the decision ACE brings you ----------------------------- */
.ask { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.25rem; align-items: start; max-width: 760px; margin: 0 0 2rem; padding: 1.75rem; border-radius: var(--tp-r-xl); background: var(--tp-s1); box-shadow: var(--tp-sh-lifted); }
.ask__k { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tp-primary-ink); margin-bottom: .375rem; }
.ask__q { font-size: 1.25rem; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; color: var(--tp-ink); }
.ask__meta { margin-top: .5rem; font-size: .9375rem; color: var(--tp-ink-muted); }
.ask__btns { display: flex; flex-wrap: wrap; gap: .625rem; margin-top: 1.25rem; }
.ask__btns span { padding: 10px 22px; border-radius: var(--tp-r-pill); background: var(--tp-s2); font-size: .9375rem; font-weight: 700; color: var(--tp-ink); }
.ask__btns span:first-child { background: var(--tp-primary); color: #fff; box-shadow: var(--tp-sh-cta); }
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-bottom: 2.5rem; }
.col { padding: 2rem; border-radius: var(--tp-r-xl); background: var(--tp-s1); box-shadow: var(--tp-sh-card); display: flex; flex-direction: column; gap: .75rem; align-items: flex-start; }
.col h3 { font-size: 1.75rem; font-weight: 700; line-height: 1.2; letter-spacing: -.014em; color: var(--tp-ink); }
.col p { font-size: 1.0625rem; line-height: 1.55; color: var(--tp-ink-muted); }
.col .pill-tag.no { background: var(--tp-s3); color: var(--tp-ink-muted); }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; } .ask { grid-template-columns: 1fr; } }

/* ---- 13. The wall: badges printed on TAPN --------------------------------- */
.badges { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2.5rem 2rem; }
.badges li { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.badges img { width: 100%; max-width: 156px; border-radius: var(--tp-r-md); box-shadow: var(--tp-sh-lifted); transform: rotate(var(--r, 0deg)); transition: transform 350ms var(--tp-ease); }
.badges li:nth-child(odd) img { --r: -3deg; } .badges li:nth-child(even) img { --r: 2.5deg; } .badges li:nth-child(3n) img { --r: 4deg; }
.badges li:hover img { transform: rotate(0); }
.badges span { font-size: .9375rem; font-weight: 700; color: var(--tp-ink); text-align: center; }
.press { margin-top: 3.5rem; display: flex; align-items: center; gap: .75rem 1rem; flex-wrap: wrap; }
.press .eyebrow { margin: 0 .5rem 0 0; }
.press a { padding: 10px 20px; border-radius: var(--tp-r-pill); background: var(--tp-s1); box-shadow: var(--tp-sh-white); font-size: .9375rem; font-weight: 700; color: var(--tp-ink); transition: color 180ms var(--tp-ease); }
.press a:hover { color: var(--tp-primary-ink); }
.press a.award { background: var(--tp-primary-soft); box-shadow: none; color: var(--tp-primary-ink); }
@media (max-width: 1024px) { .badges { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 680px) { .badges { grid-template-columns: repeat(2, 1fr); } }

/* ---- 14. FAQ -------------------------------------------------------------- */
.faq__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem 4rem; align-items: start; }
.faq__lead { position: sticky; top: calc(var(--tp-nav) + 2rem); }
.faq__ace { display: flex; align-items: center; gap: 1.25rem; margin-top: 2.5rem; }
.faq__ace .ace-disc { width: 148px; flex: none; }
.faq__ace p { font-size: 1.0625rem; line-height: 1.5; color: var(--tp-ink-muted); max-width: 22ch; }
.faq__ace p b { display: block; color: var(--tp-ink); font-weight: 700; }
.faq__list { display: grid; gap: 1rem; }
.faq details { border-radius: var(--tp-r-lg); background: var(--tp-s1); box-shadow: var(--tp-sh-card); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.375rem 1.5rem; font-size: 1.125rem; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; color: var(--tp-ink); border-radius: var(--tp-r-lg); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--tp-primary-soft); color: var(--tp-primary-ink); font-size: 1.375rem; font-weight: 600; line-height: 1; transition: transform 250ms var(--tp-ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.5rem 1.5rem; font-size: 1rem; line-height: 1.6; color: var(--tp-ink-muted); max-width: 64ch; }
@media (max-width: 1024px) { .faq__in { grid-template-columns: 1fr; } .faq__lead { position: static; } }

/* ---- 15. Contact ---------------------------------------------------------- */
.banner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; padding: clamp(2rem, 5vw, 4rem); border-radius: var(--tp-r-xxl); background: var(--tp-primary-soft); overflow: hidden; margin-bottom: 2.5rem; }
.banner h2 { max-width: 12ch; }
.banner p { margin-top: 1.25rem; font-size: 1.125rem; line-height: 1.6; color: var(--tp-ink-muted); max-width: 44ch; }
.banner p b { color: var(--tp-ink); font-weight: 800; }
.banner .ace-disc { width: clamp(180px, 22vw, 280px); }
.contact__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem; align-items: start; }
.office { display: grid; gap: 1rem; }
.office > div { padding: 1.375rem 1.5rem; border-radius: var(--tp-r-lg); background: var(--tp-s1); box-shadow: var(--tp-sh-card); }
.office .k { font-size: .8125rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--tp-primary-ink); margin-bottom: .375rem; }
.office .v { font-size: 1.0625rem; line-height: 1.5; color: var(--tp-ink); font-weight: 600; }
.office .v span { font-weight: 400; color: var(--tp-ink-muted); }
.office .v a:hover { color: var(--tp-primary-ink); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--tp-r-xl); background: var(--tp-s1); box-shadow: var(--tp-sh-card); }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: .875rem; font-weight: 700; color: var(--tp-ink); margin-bottom: .375rem; }
.form input, .form select, .form textarea { width: 100%; min-height: 50px; padding: 14px 18px; border: 0; border-radius: var(--tp-r-md); background: var(--tp-s2); box-shadow: inset 0 0 0 1.5px var(--tp-hairline); color: var(--tp-ink); font: 400 1rem/1.4 var(--tp-font); -webkit-appearance: none; appearance: none; transition: box-shadow 150ms ease, background-color 150ms ease; }
.form select { padding-right: 44px; background: var(--tp-s2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230b8f89' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") right 18px center no-repeat; }
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; background-color: #fff; box-shadow: inset 0 0 0 1.5px var(--tp-primary-focus), 0 0 0 3px rgba(13, 164, 157, .25); }
.form .hint { font-size: .8125rem; color: var(--tp-ink-subtle); margin-top: .375rem; }
.form .submit { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .status { min-height: 1.4em; font-size: 1rem; font-weight: 600; color: var(--tp-primary-ink); margin: 0; }
.form .status.err { color: var(--tp-danger); }
.form.busy button { opacity: .5; pointer-events: none; }
@media (max-width: 1024px) { .contact__in { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .form { grid-template-columns: 1fr; } .banner { grid-template-columns: 1fr; } .banner .ace-disc { width: 160px; } }

/* ---- 16. Footer: the only dark surface ------------------------------------ */
.footer { background: var(--tp-inverse); color: var(--tp-ink-tertiary); padding: 4rem 0 2.5rem; font-size: .875rem; line-height: 1.55; }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer .brand { color: #fbfdfd; }
.footer .brand__one { color: var(--tp-primary); }
.footer .brand__feat { background: var(--tp-inverse-s1); box-shadow: none; color: #fbfdfd; }
.footer__links { display: flex; gap: .25rem 1.5rem; flex-wrap: wrap; }
.footer__links a { font-weight: 600; color: #fbfdfd; }
.footer__links a:hover, .footer .mail:hover { color: var(--tp-primary-hover); }
.footer__bot { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid var(--tp-inverse-s1); }
.footer .mail { font-weight: 700; color: #fbfdfd; }
.footer .soc { display: flex; gap: .5rem; }
.footer .soc a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--tp-inverse-s1); transition: background-color 180ms var(--tp-ease); }
.footer .soc a:hover { background: var(--tp-primary); }
.footer .soc svg { width: 16px; height: 16px; fill: #fbfdfd; }
.footer .award { display: flex; align-items: center; gap: .75rem; }
.footer .award img { height: 22px; width: auto; }

/* ---- ACE, floating: a way back to the demo from anywhere ------------------ */
.ace-fab { position: fixed; z-index: 40; right: clamp(12px, 2vw, 24px); bottom: clamp(12px, 2vw, 24px); display: inline-flex; align-items: center; gap: .625rem; padding: 6px 20px 6px 6px; border-radius: var(--tp-r-pill); background: var(--tp-s1); box-shadow: var(--tp-sh-lifted); font-size: .9375rem; font-weight: 800; color: var(--tp-ink); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 200ms ease, transform 350ms var(--tp-ease), visibility 200ms; }
.ace-fab.on { opacity: 1; visibility: visible; transform: none; }
.ace-fab:active { transform: scale(.97); }
.ace-fab .ace-face { width: 2.75rem; height: 2.75rem; }
@media (max-width: 560px) { .ace-fab span.l { display: none; } .ace-fab { padding: 6px; } }

/* ---- "Use it yourself": the carried demo shell, in this design ------------
   demos.css is untouched; these rules load after it. The devices and the
   product screens inside them are pictures of the application and keep its
   own styles.                                                               */
.try { background: transparent; color: var(--tp-ink); max-width: 1560px; margin: 0 auto; padding: var(--tp-section) var(--tp-gutter); font-size: 1rem; line-height: 1.6; }
.try .head { align-items: end; margin-bottom: 2rem; }
.try .head .label { font-size: .8125rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--tp-primary-ink); margin: 0 0 .75rem; display: flex; align-items: center; gap: .625rem; }
.try .head .h2 { font-family: var(--tp-font); font-weight: 800; font-size: var(--tp-md); line-height: 1.15; letter-spacing: -.02em; text-transform: none; color: var(--tp-ink); }
.try .head-desc p { font-size: 1rem; line-height: 1.55; color: var(--tp-ink-muted); }
.try .head-desc p b { color: var(--tp-ink); font-weight: 700; }
.try .chip { padding: 4px 12px; border: 0; border-radius: var(--tp-r-pill); background: var(--tp-primary-soft); color: var(--tp-primary-ink); font-size: .75rem; font-weight: 700; letter-spacing: .01em; text-transform: none; }
.try .chip::before { border-radius: 50%; }
.try-list { border: 0; gap: .625rem; }
.try-list .tab { grid-template-columns: 26px minmax(0, 1fr); column-gap: .875rem; row-gap: 2px; align-items: center; padding: 14px 18px; border: 0; border-radius: var(--tp-r-lg); background: var(--tp-s2); color: var(--tp-ink-muted); transition: background-color 180ms var(--tp-ease), color 180ms var(--tp-ease), transform 100ms ease-out; }
.try-list .tab:active { transform: scale(.97); }
.try-list .tab .n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--tp-s3); font-size: .75rem; font-weight: 700; letter-spacing: 0; color: var(--tp-ink-subtle); }
.try-list .tab .nm { font-size: 1.0625rem; font-weight: 700; line-height: 1.2; letter-spacing: 0; text-transform: none; }
.try-list .tab .dv { font-size: .875rem; line-height: 1.35; color: var(--tp-ink-subtle); }
.try-list .tab:hover { color: var(--tp-ink); }
.try-list .tab[aria-selected="true"] { background: var(--tp-primary-soft); color: var(--tp-ink); }
.try-list .tab[aria-selected="true"] .n { background: var(--tp-primary); color: #fff; }
.try-list .tab[aria-selected="true"] .dv { color: var(--tp-ink-muted); }
/* ACE's own tab wears his face in place of the numeral. */
.try-list #t-ace .n { background: var(--tp-primary) url(../img/ace/ace-face.webp) 50% 62% / 84% auto no-repeat; color: transparent; }
@media (max-width: 1100px) {
  .try-list { flex-direction: row; flex-wrap: wrap; border: 0; gap: .5rem; }
  .try-list .tab { width: auto; margin: 0; padding: 8px 16px 8px 8px; border: 0; border-radius: var(--tp-r-pill); }
}
.try .demo-note, .try-note .demo-note { border: 0; border-radius: var(--tp-r-md); background: var(--tp-s2); font-size: .875rem; line-height: 1.5; color: var(--tp-ink-muted); }
.demo-note b { color: var(--tp-ink); font-weight: 700; }
.demo-note svg { color: var(--tp-primary-ink); }
.try .demo-steps li { font-size: .875rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--tp-ink-subtle); border-top-color: var(--tp-s3); }
.try .demo-steps li b { font-weight: 800; font-size: 1.75rem; letter-spacing: -.02em; }
.try .demo-steps li[data-state="done"] { border-top-color: var(--tp-primary); color: var(--tp-ink); }
.try .demo-steps li[data-state="done"] b { color: var(--tp-primary-ink); }
.try .demo-steps li[data-state="now"] { border-top-color: var(--tp-ink); color: var(--tp-ink); }
.demo-timer-wrap { font-size: .8125rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--tp-ink-subtle); }
.demo-timer-wrap b { font-weight: 800; font-size: 1.75rem; letter-spacing: -.02em; color: var(--tp-ink); }
.ace-reset button, .guide-replay { padding: 10px 20px; border: 0; border-radius: var(--tp-r-pill); background: var(--tp-s1); box-shadow: var(--tp-sh-white); font: 700 .875rem/1.2 var(--tp-font); letter-spacing: 0; text-transform: none; text-decoration: none; color: var(--tp-ink); transition: transform 100ms ease-out; }
.ace-reset button:hover, .guide-replay:hover { background: var(--tp-s1); color: var(--tp-primary-ink); box-shadow: var(--tp-sh-hover); }
.ace-reset button:active, .guide-replay:active { transform: scale(.97); }
.guide-replay svg { fill: var(--tp-primary); }
.guide, .guide__tip { font-family: var(--tp-font); }
.guide__tip { background: var(--tp-ink); }
.guide__n { color: #fff; }
.guide__cursor svg { fill: var(--tp-ink); }

/* ---- Accessibility preferences -------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__badges img, .ace-fig__arm, .orbit .g1, .orbit .g2, .orbit .g3, .orbit .node, .orbit .node.work circle { animation: none !important; }
  .btn, .menu, .ace-fab, .badges img, .try-list .tab { transition: none; }
}
@media (prefers-reduced-transparency: reduce) { .nav.scrolled { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; } }
@media (prefers-contrast: more) {
  body { color: var(--tp-ink); }
  .stat, .layer, .cap, .case, .grp, .col, .ask, .form, .office > div, .faq details, .compare table, .stack { box-shadow: none; border: 1px solid var(--tp-hairline-strong); }
}

/* ---- Small screens: one-column section heads, a tighter nav --------------- */
@media (max-width: 860px) {
  .sec-head { grid-template-columns: 1fr; margin-bottom: 2.25rem; }
  .sec-head > .lede { justify-self: start; }
}
@media (max-width: 420px) {
  .nav__in { gap: .625rem; }
  .brand { gap: .4rem; }
  .brand img { height: 21px; }
  .brand__one { font-size: 1.125rem; }
  .nav__cta { padding: 9px 14px; font-size: .875rem; }
  .burger { width: 40px; height: 40px; }
}

/* ============================================================================
   Navy, the secondary colour (16 Nov, Andrew's ask): more contrast where the
   page needs to read at a glance. Ink itself becomes a true navy, and navy
   fills a few surfaces: the numbers band, the table header, the selected demo,
   the secondary button, the contact banner and the footer. Teal stays the one
   accent on top of it.
   ========================================================================== */
:root {
  --tp-navy: #10244a;  --tp-navy-hover: #1a3566;  --tp-navy-deep: #0b1b3a;
  --tp-on-navy: #fff;  --tp-on-navy-muted: rgba(255, 255, 255, .78);  --tp-navy-line: rgba(255, 255, 255, .12);
  --tp-sh-navy: 0 4px 16px rgba(16, 36, 74, .22);
  --tp-ink: var(--tp-navy);  --tp-inverse: var(--tp-navy-deep);  --tp-inverse-s1: rgba(255, 255, 255, .09);
}

/* Header logo: the teal wordmark, TAPN™. */
.brand img { height: 28px; }
.brand__tm { align-self: flex-start; margin: 1px 0 0 -6px; font-size: .6875rem; font-weight: 800; line-height: 1; color: var(--tp-primary); }
.footer .brand__tm { color: #fff; }
@media (max-width: 420px) { .brand img { height: 23px; } }

/* Hero: The AI / Event / Team. "Event" opens between the two lines, as on the
   Combined Site, behind its teal rule. */
.hero h1.hero__h { max-width: none; display: flex; flex-direction: column; align-items: center; }
.hero__ev { display: grid; grid-template-rows: 0fr; animation: evOpen .7s var(--tp-ease) .9s both; }
.hero__ev-in { overflow: hidden; min-height: 0; }
.hero__ev-in > span { display: block; margin: .06em 0 .1em; padding: 0 .16em 0 .2em; border-left: .075em solid var(--tp-primary); border-radius: 0; color: var(--tp-primary); line-height: 1.02; opacity: 0; animation: evRise .5s ease 1.25s both; }
@keyframes evOpen { from { grid-template-rows: 0fr; } to { grid-template-rows: 1fr; } }
@keyframes evRise { from { opacity: 0; transform: translateX(-.15em); } to { opacity: 1; transform: none; } }
.no-js .hero__ev { animation: none; grid-template-rows: 1fr; } .no-js .hero__ev-in > span { animation: none; opacity: 1; }

/* Secondary button: navy. */
.btn--secondary { background: var(--tp-navy); color: var(--tp-on-navy); box-shadow: var(--tp-sh-navy); }
.btn--secondary:hover { background: var(--tp-navy-hover); box-shadow: var(--tp-sh-navy); }
.nav__links a:hover { background: var(--tp-s3); color: var(--tp-navy); }

/* The numbers: one navy band. */
.stats__grid { gap: 0; padding: clamp(.5rem, 1.5vw, 1rem); border-radius: var(--tp-r-xxl); background: var(--tp-navy); box-shadow: 0 16px 48px rgba(16, 36, 74, .22); }
.stat { background: none; box-shadow: none; border-radius: 0; padding: clamp(1.5rem, 2.4vw, 2.25rem); border-left: 1px solid var(--tp-navy-line); }
.stat:first-child { border-left: 0; }
.stat .n { color: var(--tp-on-navy); }
.stat .n i { color: var(--tp-primary); }
.stat .c { color: var(--tp-on-navy-muted); }
.stat .c a { color: var(--tp-primary-hover); }
@media (max-width: 1024px) { .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--tp-navy-line); } }
@media (max-width: 560px) { .stat { border-left: 0; } .stat + .stat { border-top: 1px solid var(--tp-navy-line); } }

/* The layers list and numerals. */
.stack li:first-child { background: var(--tp-navy); }
.stack li:first-child b { color: var(--tp-on-navy); } .stack li:first-child span.s { color: var(--tp-on-navy-muted); }
.layer__txt .num { background: var(--tp-navy); color: var(--tp-on-navy); }

/* Before / with TAPN: a navy header, the TAPN column called out in teal. */
.compare th, .compare th:last-child { background: var(--tp-navy); color: var(--tp-on-navy-muted); }
.compare th:last-child { color: var(--tp-primary-hover); }
.compare td.job i { background: var(--tp-navy); color: var(--tp-on-navy); }
.compare td.before { color: var(--tp-ink-muted); }

/* Use it yourself: the selected demo is navy. */
.try-list .tab[aria-selected="true"] { background: var(--tp-navy); color: var(--tp-on-navy); box-shadow: var(--tp-sh-navy); }
.try-list .tab[aria-selected="true"] .dv { color: var(--tp-on-navy-muted); }

/* Decision card, FAQ, tools: small navy anchors. */
.ask { box-shadow: var(--tp-sh-lifted), inset 4px 0 0 var(--tp-navy); }
.ask__btns span:nth-child(2) { background: var(--tp-navy); color: var(--tp-on-navy); }
.faq details[open] summary::after { background: var(--tp-navy); color: var(--tp-on-navy); }
.grp .k .num { background: var(--tp-navy); color: var(--tp-on-navy); }
.case .nums div { background: var(--tp-s2); }
.caps .more b, .press a.award { color: var(--tp-navy); }
.press a.award { background: var(--tp-s3); }

/* Contact banner: navy, with ACE on his teal. */
.banner { background: var(--tp-navy); box-shadow: 0 16px 48px rgba(16, 36, 74, .22); }
.banner .eyebrow { color: var(--tp-primary-hover); }
.banner h2 { color: var(--tp-on-navy); }
.banner p { color: var(--tp-on-navy-muted); } .banner p b { color: var(--tp-on-navy); }
.footer__bot { border-top-color: var(--tp-navy-line); }

@media (prefers-reduced-motion: reduce) { .hero__ev { animation: none; grid-template-rows: 1fr; } .hero__ev-in > span { animation: none; opacity: 1; } }

/* The line that closes the before/after table: its navy footer, not a stray
   heading. ACE, the line, and the way to the demo. */
.compare table { border-radius: var(--tp-r-xl) var(--tp-r-xl) 0 0; }
.close-line { display: flex; align-items: center; gap: 1.25rem; margin: 0; padding: 1.5rem 1.75rem; border-radius: 0 0 var(--tp-r-xl) var(--tp-r-xl); background: var(--tp-navy); box-shadow: 0 16px 48px rgba(16, 36, 74, .18); }
.close-line p { flex: 1; min-width: 0; font-size: clamp(1.25rem, 2.2vw, 1.75rem); font-weight: 800; line-height: 1.2; letter-spacing: -.014em; color: var(--tp-on-navy); }
.close-line .btn { flex: none; }
@media (max-width: 860px) {
  .compare table { border-radius: 0; }
  .close-line { border-radius: var(--tp-r-xl); flex-wrap: wrap; padding: 1.25rem; }
  .close-line p { flex-basis: calc(100% - 4.5rem); }
}

/* ============================================================================
   The top bar and the check-in and badges page (checkin.html), 16 Nov.
   The bar scrolls away with the page; the nav sticks under it. The menu now
   lives inside the header so it always opens just below the nav.
   ========================================================================== */
.topbar { position: relative; z-index: 51; display: flex; align-items: center; justify-content: center; gap: .625rem 1rem; flex-wrap: wrap; min-height: 44px; padding: 8px var(--tp-gutter); background: var(--tp-navy); color: var(--tp-on-navy-muted); font-size: .9375rem; font-weight: 600; line-height: 1.3; text-align: center; }
.topbar b { color: var(--tp-on-navy); font-weight: 800; }
.topbar__btn { display: inline-flex; align-items: center; gap: .375rem; padding: 6px 16px; border-radius: var(--tp-r-pill); background: var(--tp-primary); color: #fff; font-size: .875rem; font-weight: 800; white-space: nowrap; box-shadow: var(--tp-sh-cta); transition: background-color 180ms var(--tp-ease), transform 100ms ease-out; }
.topbar:hover .topbar__btn { background: var(--tp-primary-hover); }
.topbar:active .topbar__btn { transform: scale(.97); }
.topbar__go { color: var(--tp-primary-hover); font-weight: 800; transition: transform 180ms var(--tp-ease); }
.topbar:hover .topbar__go { transform: translateX(3px); }
@media (max-width: 640px) { .topbar { font-size: .875rem; } .topbar b { display: block; } }

.nav { position: sticky; inset: auto; top: 0; }
.ci .banner h2 { max-width: 16ch; }
.menu { position: absolute; top: calc(100% + 4px); }
.hero { padding-top: clamp(2.5rem, 6vw, 4.5rem); }
.brand__feat--plain { padding: 5px 12px; color: var(--tp-navy); }

/* ---- Check-in and badges page --------------------------------------------- */
.ci-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 var(--tp-section); position: relative; }
.ci-hero__in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 3rem 4rem; align-items: center; }
.ci-hero .lede { margin-top: 1.5rem; max-width: 48ch; }
.ci-hero__cta { justify-content: flex-start; margin-top: 2rem; }
.ci-hero__photo { margin: 0; }
.ci-hero__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 35% center; border-radius: var(--tp-r-xxl); box-shadow: var(--tp-sh-kiosk); }
.ci-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.ci-points li { padding: 1rem 1.125rem; border-radius: var(--tp-r-lg); background: var(--tp-s1); box-shadow: var(--tp-sh-card); }
.ci-points b { display: block; font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; color: var(--tp-navy); }
.ci-points span { display: block; margin-top: .25rem; font-size: .875rem; line-height: 1.4; color: var(--tp-ink-muted); }
@media (max-width: 960px) { .ci-hero__in { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .ci-points { grid-template-columns: 1fr; } }

.ci-steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.ci-steps li { padding: 1.75rem; border-radius: var(--tp-r-xl); background: var(--tp-s1); box-shadow: var(--tp-sh-card); display: grid; gap: .625rem; align-content: start; justify-items: start; }
.ci-steps .num { background: var(--tp-navy); color: var(--tp-on-navy); }
.ci-steps h3, .ci-box h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; color: var(--tp-ink); }
.ci-steps p { font-size: 1rem; line-height: 1.55; color: var(--tp-ink-muted); }
@media (max-width: 1024px) { .ci-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ci-steps { grid-template-columns: 1fr; } }

/* The switch: with or without the software. */
.ci-toggle { display: inline-flex; padding: 5px; border-radius: var(--tp-r-pill); background: var(--tp-s3); max-width: 100%; }
.ci-toggle button { padding: 12px 24px; border-radius: var(--tp-r-pill); font-size: 1rem; font-weight: 800; line-height: 1.2; color: var(--tp-ink-muted); transition: background-color 180ms var(--tp-ease), color 180ms var(--tp-ease), transform 100ms ease-out; }
.ci-toggle button:active { transform: scale(.97); }
.ci-toggle button[aria-pressed="true"] { background: var(--tp-navy); color: var(--tp-on-navy); box-shadow: var(--tp-sh-navy); }
.ci-mode { margin: 1rem 0 2rem; font-size: 1.0625rem; color: var(--tp-ink-muted); min-height: 1.6em; }
@media (max-width: 560px) { .ci-toggle { display: flex; } .ci-toggle button { flex: 1; padding: 12px 10px; font-size: .9375rem; } }

.ci-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.ci-tier { display: flex; flex-direction: column; align-items: flex-start; padding: 2rem; border-radius: var(--tp-r-xl); background: var(--tp-s1); box-shadow: var(--tp-sh-card); }
.ci-tier.picked { box-shadow: 0 0 0 2px var(--tp-primary), var(--tp-sh-hover); }
.ci-tier h3 { margin-top: 1rem; font-size: 1.75rem; font-weight: 700; line-height: 1.2; letter-spacing: -.014em; color: var(--tp-ink); }
.ci-price { margin-top: .75rem; font-size: clamp(2.75rem, 5vw, 3.75rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--tp-navy); font-variant-numeric: tabular-nums; }
.ci-price sup { font-size: .45em; font-weight: 800; vertical-align: .75em; margin-right: 2px; color: var(--tp-primary-ink); }
.ci-per { margin-top: .25rem; font-size: .9375rem; font-weight: 600; color: var(--tp-ink-subtle); }
.ci-what { margin: 1rem 0 1.5rem; font-size: 1rem; line-height: 1.5; color: var(--tp-ink-muted); min-height: 3em; }
.ci-tier .btn { margin-top: auto; align-self: stretch; }
.ci-fine { margin-top: 1.5rem; font-size: .9375rem; color: var(--tp-ink-muted); }
@media (max-width: 860px) { .ci-tiers { grid-template-columns: 1fr; } .ci-what { min-height: 0; } }

.ci-incl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; align-items: start; }
.ci-box { padding: 2rem; border-radius: var(--tp-r-xl); background: var(--tp-s1); box-shadow: var(--tp-sh-card); display: grid; gap: 1rem; align-content: start; justify-items: start; }
.ci-box__k { margin: 0; }
.ci-checks, .ci-nos { display: grid; gap: .75rem; width: 100%; }
.ci-checks li, .ci-nos li { position: relative; padding-left: 2rem; font-size: 1rem; line-height: 1.5; color: var(--tp-ink-muted); }
.ci-checks li::before { content: ""; position: absolute; left: 0; top: .15em; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--tp-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 7L10 17l-5-5'/%3E%3C/svg%3E") center / 62% no-repeat; }
.ci-nos li::before { content: ""; position: absolute; left: .3rem; top: .7em; width: .7rem; height: 2px; border-radius: 2px; background: var(--tp-ink-tertiary); }
.ci-box--sw { transition: background-color 180ms var(--tp-ease); }
.ci-box--sw[data-on="false"] { background: var(--tp-s2); box-shadow: inset 0 0 0 2px var(--tp-hairline); }
.ci-box--sw[data-on="false"] .ci-checks li::before { background-color: var(--tp-hairline-strong); }
.ci-box--sw[data-on="false"] .ci-checks li { color: var(--tp-ink-subtle); }
.ci-box--sw[data-on="false"] .ci-sw__tag { background: var(--tp-s3); color: var(--tp-ink-muted); }
.ci-box--sw[data-on="true"] { box-shadow: 0 0 0 2px var(--tp-primary), var(--tp-sh-hover); }
.ci-box--no { background: none; box-shadow: none; padding: 2rem 0 0 .5rem; }
@media (max-width: 1024px) { .ci-incl { grid-template-columns: 1fr 1fr; } .ci-box--no { grid-column: 1 / -1; padding: 0; } }
@media (max-width: 680px) { .ci-incl { grid-template-columns: 1fr; } }
@media (prefers-contrast: more) { .ci-tier, .ci-box, .ci-steps li, .ci-points li { box-shadow: none; border: 1px solid var(--tp-hairline-strong); } }

/* ---- Check-in and badges, always within reach ------------------------------
   Wide screens: a quiet white pill in the sticky nav, beside Contact sales.
   Phones: once the top bar has scrolled away, a slim strip under the nav.     */
.nav__ci { flex: none; display: inline-flex; align-items: center; gap: .5rem; padding: 10px 18px 10px 12px; border-radius: var(--tp-r-pill); background: var(--tp-s1); box-shadow: inset 0 0 0 1.5px var(--tp-navy), var(--tp-sh-white); font-size: .9375rem; font-weight: 800; line-height: 1.2; color: var(--tp-navy); white-space: nowrap; transition: background-color 180ms var(--tp-ease), color 180ms var(--tp-ease), transform 100ms ease-out; }
.nav__ci:hover { background: var(--tp-navy); color: var(--tp-on-navy); }
.nav__ci:active { transform: scale(.97); }
/* A small badge-on-a-lanyard mark. */
.nav__ci-ic { position: relative; width: 16px; height: 20px; border-radius: 4px; background: var(--tp-primary); flex: none; }
.nav__ci-ic::before { content: ""; position: absolute; left: 5px; top: 3px; width: 6px; height: 2px; border-radius: 2px; background: #fff; }
.nav__ci-ic::after { content: ""; position: absolute; left: 3px; right: 3px; bottom: 4px; height: 5px; border-radius: 1.5px; background: rgba(255, 255, 255, .85); }
.nav__links { margin: 0 auto; }
.nav__strip { display: none; }
@media (max-width: 1320px) { .nav__links { display: none; } .nav__in { justify-content: flex-start; } .burger { display: grid; } .nav__ci { margin-left: auto; } .nav__cta { margin-left: 0; } .menu { display: block; } }
@media (min-width: 1321px) { .menu { display: none; } .burger { display: none; } }
@media (max-width: 760px) {
  .nav__ci { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__strip { position: absolute; left: 0; right: 0; top: 100%; display: flex; align-items: center; justify-content: center; gap: .375rem; min-height: 34px; padding: 4px var(--tp-gutter); background: var(--tp-navy); color: var(--tp-on-navy-muted); font-size: .8125rem; font-weight: 600; line-height: 1.2; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 200ms ease, transform 250ms var(--tp-ease), visibility 200ms; }
  .nav__strip b { color: var(--tp-primary-hover); font-weight: 800; white-space: nowrap; }
  .nav.scrolled .nav__strip { opacity: 1; visibility: visible; transform: none; }
  .menu { top: calc(100% + 40px); }
}
@media (prefers-reduced-motion: reduce) { .nav__strip, .nav__ci { transition: none; } }
.ci .menu { top: calc(100% + 4px); }

/* ---- The demo guide, clearer (17 Nov): a heavier ring, a bigger note that
   says "Step 2 of 4", and both travel to the next target when a step is done. */
.guide__ring { border-width: 3px; box-shadow: 0 0 0 5px rgba(15, 187, 179, .30), 0 6px 22px rgba(15, 187, 179, .35); }
.guide__ring.on::after { inset: -3px; border-width: 3px; }
.guide__tip { gap: 12px; padding: 11px 10px 11px 12px; border-radius: 16px; font-size: 15.5px; font-weight: 700; max-width: min(380px, calc(100vw - 32px)); box-shadow: 0 14px 40px rgba(16, 36, 74, .35), 0 0 0 3px rgba(255, 255, 255, .9); }
.guide__n { padding: 5px 11px; font-size: 12.5px; letter-spacing: .02em; background: var(--tp-primary); color: #fff; }
.guide__tip.is-done .guide__n { background: #fff; color: var(--tp-navy); }
.guide.is-moving .guide__ring { transition: transform .45s var(--tp-ease), width .45s var(--tp-ease), height .45s var(--tp-ease), opacity .25s; }
.guide.is-moving .guide__tip { transition: left .45s var(--tp-ease), top .45s var(--tp-ease), opacity .2s; }
.guide__tip.pop .guide__n { animation: guidePop .55s var(--tp-ease); }
@keyframes guidePop { 0% { transform: scale(.6); } 55% { transform: scale(1.18); } 100% { transform: scale(1); } }

/* ---- Check-in and badges only: hard to miss. The pill is filled navy now and
   a teal ring pulses out of it; the badge mark blinks in time. ---------------- */
.nav__ci { position: relative; background: var(--tp-navy); color: var(--tp-on-navy); box-shadow: var(--tp-sh-navy); }
.nav__ci:hover { background: var(--tp-navy-hover); }
.nav__ci::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(15, 187, 179, .65); animation: ciPulse 1.8s ease-out infinite; pointer-events: none; }
.nav__ci-ic { animation: ciBlink 1.8s ease-in-out infinite; }
@keyframes ciPulse { 0% { box-shadow: 0 0 0 0 rgba(15, 187, 179, .65); } 70%, 100% { box-shadow: 0 0 0 12px rgba(15, 187, 179, 0); } }
@keyframes ciBlink { 0%, 100% { background: var(--tp-primary); transform: scale(1); } 50% { background: var(--tp-primary-hover); transform: scale(1.14); } }
.topbar__btn { position: relative; }
.topbar__btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; animation: ciPulse 1.8s ease-out infinite; pointer-events: none; }
@media (max-width: 760px) { .nav__strip b { animation: ciText 1.8s ease-in-out infinite; } }
@keyframes ciText { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .nav__ci::after, .nav__ci-ic, .topbar__btn::after, .nav__strip b, .guide__tip.pop .guide__n { animation: none; } .guide.is-moving .guide__ring, .guide.is-moving .guide__tip { transition: none; } }

/* The demo descriptions were removed (17 Nov): the guide says what to do. The
   header is the title with its sample-data chip beside it. */
.try .head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; margin-bottom: 1.5rem; }
.try .head-desc { min-height: 0; }
@media (max-width: 1024px) { .try .head { grid-template-columns: 1fr; } }

/* ---- What TAPN handles: icon tiles (17 Nov), in place of the row of pills. -- */
.handles { display: block; margin-top: 3.5rem; }
.handles__head { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem 2rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.handles .eyebrow { margin: 0; }
.handles__lead { font-size: 1.0625rem; color: var(--tp-ink-muted); }
.handles ul.handles__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.handles li.handle { position: relative; display: flex; align-items: flex-start; gap: .875rem; padding: 1.25rem; border-radius: var(--tp-r-lg); background: var(--tp-s1); box-shadow: var(--tp-sh-card); font-size: 1rem; font-weight: 400; color: var(--tp-ink-muted); }
.handles li.handle::before { content: none; }
.handles li.handle::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: var(--tp-sh-hover); opacity: 0; transition: opacity 180ms var(--tp-ease); pointer-events: none; }
.handles li.handle:hover::after { opacity: 1; }
.handle__ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--tp-r-md); background: var(--tp-primary-soft); color: var(--tp-primary-ink); transition: background-color 180ms var(--tp-ease), color 180ms var(--tp-ease); }
.handle:hover .handle__ic { background: var(--tp-navy); color: #fff; }
.handle__ic svg { width: 24px; height: 24px; }
.handle__tx { display: grid; gap: 2px; min-width: 0; }
.handle__tx b { font-size: 1.0625rem; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; color: var(--tp-navy); }
.handle__tx span { font-size: .875rem; line-height: 1.45; color: var(--tp-ink-muted); }
@media (max-width: 1100px) { .handles ul.handles__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .handles ul.handles__grid { grid-template-columns: 1fr; } .handles li.handle { padding: 1rem; } }
@media (prefers-contrast: more) { .handles li.handle { box-shadow: none; border: 1px solid var(--tp-hairline-strong); } }

/* ---- The confidence band (17 Nov): three proof stats and the events that ran
   on TAPN, straight under the film. Replaces the four-stat band and the badge
   wall lower down. --------------------------------------------------------- */
.proof { border-radius: var(--tp-r-xxl); background: var(--tp-navy); box-shadow: 0 16px 48px rgba(16, 36, 74, .22); overflow: hidden; }
.proof__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: clamp(.5rem, 1.5vw, 1rem); }
.proof__stats li { display: grid; gap: .375rem; align-content: start; padding: clamp(1.5rem, 2.6vw, 2.5rem); border-left: 1px solid var(--tp-navy-line); }
.proof__stats li:first-child { border-left: 0; }
.proof__stats .n { font-weight: 800; font-size: clamp(3rem, 6.2vw, 5rem); line-height: 1; letter-spacing: -.035em; color: #fff; font-variant-numeric: tabular-nums; }
.proof__stats .n i { font-style: normal; color: var(--tp-primary); margin: 0 .04em; }
.proof__stats b { margin-top: .5rem; font-size: 1.25rem; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; color: #fff; }
.proof__stats .c { font-size: .9375rem; line-height: 1.5; color: var(--tp-on-navy-muted); }
.proof__stats .c a { color: var(--tp-primary-hover); font-weight: 700; }
.proof__stats .c a:hover { text-decoration: underline; text-underline-offset: 3px; }
.proof__logos { padding: clamp(1.25rem, 2.4vw, 2rem) clamp(1.5rem, 3vw, 3rem) clamp(1.5rem, 2.6vw, 2.25rem); background: rgba(255, 255, 255, .05); border-top: 1px solid var(--tp-navy-line); }
.proof__lh { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem 2rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.proof__logos .eyebrow { margin: 0; color: var(--tp-primary-hover); }
.proof__press { font-size: .875rem; color: var(--tp-on-navy-muted); }
.proof__press a { color: #fff; font-weight: 700; }
.proof__press a:hover { color: var(--tp-primary-hover); }
.proof__logos ul { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 1rem; }
.proof__logos li { display: flex; flex-direction: column; align-items: center; gap: .625rem; }
.proof__logos img { width: 100%; max-width: 84px; border-radius: 9px; box-shadow: 0 10px 24px rgba(0, 0, 0, .3); transform: rotate(var(--r, 0deg)); transition: transform 350ms var(--tp-ease); }
.proof__logos li:nth-child(odd) img { --r: -3deg; } .proof__logos li:nth-child(even) img { --r: 2.5deg; }
.proof__logos li:hover img { transform: rotate(0) scale(1.06); }
.proof__logos span { font-size: .75rem; font-weight: 700; line-height: 1.3; text-align: center; color: var(--tp-on-navy-muted); }
@media (max-width: 1024px) { .proof__logos ul { grid-template-columns: repeat(5, minmax(0, 1fr)); row-gap: 1.25rem; } .proof__logos li:nth-child(n+6) { display: none; } }
@media (max-width: 760px) {
  .proof__stats { grid-template-columns: 1fr; }
  .proof__stats li { border-left: 0; padding: 1.25rem 1.25rem; }
  .proof__stats li + li { border-top: 1px solid var(--tp-navy-line); }
  .proof__logos ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } .proof__logos li:nth-child(n+5) { display: none; }
  .proof__logos span { display: none; }
}
@media (prefers-reduced-motion: reduce) { .proof__logos img { transition: none; } }
.proof__stats .n small { margin-left: .12em; font-size: .38em; font-weight: 800; letter-spacing: -.01em; color: var(--tp-on-navy-muted); }
.proof__stats .n small i { margin: 0 .02em 0 .1em; }
