/* Relay website — tokens from the Relay design system (tokens.json) as CSS variables, plus site layout and screen-placeholder classes. */
:root, [data-theme="light"] {
  --surface: #F8FAFC; --surface-raised: #FFFFFF; --surface-sunken: #EEF2F6; --line: #DDE4EA; --control-border: #7A8C9E;
  --ink: #233240; --ink-muted: #5B748A; --action: #233240; --on-action: #F8FAFC;
  --orange-text: #B35C00; --violet-text: #6A4FE8; --cyan-text: #0A7390; --link: #0A7390; --focus: #7B5CFF;
  --status-positive: #0A7390; --status-positive-soft: #E1F7FD; --status-caution: #A65400; --status-caution-soft: #FFF1E0;
  --status-critical: #C8322B; --status-critical-soft: #FDECEA; --neutral-soft: #E8EEF3;
  --glass-fill: rgba(255,255,255,0.55); --glass-stroke: rgba(255,255,255,0.85); --scrim: rgba(35,50,64,0.48);
  --shadow-sm: 0 1px 2px #2332400d, 0 1px 3px #23324014;
  --shadow-md: 0 4px 12px #2332400f, 0 12px 32px -4px #2332401f;
  --shadow-glass: 0 8px 32px #5b748a26, inset 0 1px 0 #ffffffcc;
  --focus-ring: 0 0 0 2px #F8FAFC, 0 0 0 4px #7B5CFF;
}
:root {
  --midnight-slate: #233240; --soft-cloud: #F8FAFC; --steel-blue: #5B748A; --electric-cyan: #2ED6FF; --relay-orange: #FF8A00;
  --vivid-violet: #7B5CFF; --fluorescent-lime: #C7FF38; --on-accent: #233240;
  --gradient-sky: #C4DDF4; --gradient-mist: #F6F7FB; --gradient-peach: #FCC6A0; --gradient-ember: #F4815C;
  --font-display: "Sora", "Manrope", system-ui, sans-serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, monospace;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px; --space-8: 32px; --space-12: 48px; --space-16: 64px;
  --radius-sm: 6px; --radius-md: 10px; --radius-lg: 16px; --radius-xl: 24px; --radius-full: 9999px;
  --container-max: 1200px; --gutter: 24px; --nav-height: 72px;
}
[data-theme="dark"] {
  --surface: #1C2834; --surface-raised: #233240; --surface-sunken: #16212B; --line: #33475A; --control-border: #6B8095;
  --ink: #F8FAFC; --ink-muted: #A9B8C6; --action: #F8FAFC; --on-action: #233240;
  --orange-text: #FF8A00; --violet-text: #A08BFF; --cyan-text: #2ED6FF; --link: #2ED6FF; --focus: #A08BFF;
  --status-positive: #2ED6FF; --status-positive-soft: #123A48; --status-caution: #FFB45C; --status-caution-soft: #3F2A12;
  --status-critical: #FF6B61; --status-critical-soft: #43201F; --neutral-soft: #2E4051;
  --glass-fill: rgba(35,50,64,0.6); --glass-stroke: rgba(248,250,252,0.16);
  --shadow-sm: 0 1px 3px #00000066; --shadow-md: 0 12px 32px -4px #000000a6;
  --shadow-glass: 0 8px 32px #00000066, inset 0 1px 0 #f8fafc1f;
  --focus-ring: 0 0 0 2px #1C2834, 0 0 0 4px #A08BFF;
}

/* Page frame */
.page { background: var(--surface); color: var(--ink); font-family: var(--font-sans); font-size: 16px; line-height: 24px; min-height: 100%; }
.page *, .page *::before, .page *::after { box-sizing: border-box; }
.wrap { max-width: var(--container-max); margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }
/* Section rhythm: generous vertical space between page sections */
.page .rl-section { padding-top: 112px; padding-bottom: 112px; }
.page .rl-hero { padding-top: 120px; padding-bottom: 128px; }
@media (max-width: 860px) { .page .rl-section { padding-top: 72px; padding-bottom: 72px; } .page .rl-hero { padding-top: 72px; padding-bottom: 80px; } }
/* One continuous ground: sections no longer change background. Spacing, cards and hairlines carry the structure. */
.band-raised { background: transparent; }
/* Midnight is used sparingly, as a contained rounded panel rather than a full-bleed stripe */
.band-midnight { background: transparent; padding: 0 var(--gutter); }
.band-midnight > .wrap { max-width: calc(var(--container-max) - 2 * var(--gutter)); background: var(--midnight-slate); color: var(--ink); border-radius: 32px; }
.band-midnight > .wrap.rl-section { padding: 88px 72px; }
@media (max-width: 860px) { .band-midnight > .wrap.rl-section { padding: 48px 24px; } }
/* Hairline between repeating feature pillars, inset to the content width */
#orders > .wrap, #distribution, #recipients > .wrap, #fulfillment, #reporting > .wrap, #configuration { background-image: linear-gradient(var(--line), var(--line)); background-size: calc(100% - 2 * var(--gutter)) 1px; background-position: top center; background-repeat: no-repeat; }
/* Hero gradient dissolves into the page ground instead of ending on a hard edge */
.page .rl-hero { position: relative; }
.page .rl-hero .rl-hero-inner { position: relative; z-index: 1; }
.page .rl-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 200px; background: linear-gradient(rgba(248,250,252,0), #F8FAFC); pointer-events: none; }
.muted { color: var(--ink-muted); }
.title { margin: 0; font-size: 18px; line-height: 26px; font-weight: 600; color: var(--ink); }
.body-sm { font-size: 14px; line-height: 20px; }
.lede { font-size: 18px; line-height: 28px; color: var(--ink-muted); margin: 0; }
.stack { display: flex; flex-direction: column; }
.row { display: flex; flex-wrap: wrap; align-items: center; }
.grid { display: grid; gap: var(--space-6); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--space-16); align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 1080px) { .g5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .g2, .g3, .g4, .g5, .split { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
  .split { gap: var(--space-8); }
  .rl-cta { padding: var(--space-8); }
}
@media (max-width: 560px) { .rl-display-lg { font-size: 30px; line-height: 34px; } .rl-hero .rl-display-xl { font-size: 34px; line-height: 38px; } }

/* Hero: the DS hero, with a SectionHeader for the headline */
.rl-hero .rl-sechead { max-width: 640px; }
.rl-hero .rl-sechead-intro { color: var(--midnight-slate); font-size: 20px; line-height: 30px; }
.hero-short { padding: var(--space-16) 0; }
.rl-cta.rl-gradient .rl-sechead-intro { color: var(--midnight-slate); }
.rl-cta .rl-sechead { max-width: 640px; }

/* Link-styled buttons (DS button classes on anchors, for page-to-page links) */
a.rl-btn { text-decoration: none; }
.rl-btn.full { width: 100%; justify-content: center; }

/* Equal-height cards in a row: the last item of each column fills the remaining height */
.eq-cards { align-items: stretch; }
.eq-cards > .stack > :last-child { flex: 1 1 auto; display: flex; flex-direction: column; }
.eq-cards .rl-feature { flex: 1 1 auto; height: 100%; box-sizing: border-box; }

/* Cards built from tokens */
.tile { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-sm); }
.tile-icon { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--radius-md); background: var(--surface-sunken); color: var(--ink); }
.quote-q { font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 26px; letter-spacing: -0.015em; margin: 0; color: var(--ink); }
/* Display type is sentence case everywhere; neutralize any leftover width/caps settings */
.page [style*="font-stretch"] { font-stretch: normal !important; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.check-list li { display: flex; gap: var(--space-3); align-items: flex-start; }
.check-list .rl-icon { margin-top: 3px; color: var(--cyan-text); flex: none; }
.feat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); }
.feat-list li { padding-top: var(--space-4); border-top: 1px solid var(--line); }
.feat-list strong { display: block; font-weight: 600; color: var(--ink); }
.feat-list span { color: var(--ink-muted); font-size: 15px; line-height: 22px; }
.chip-link { display: inline-flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-4); border-radius: var(--radius-full); border: 1px solid var(--control-border); background: var(--surface-raised); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; }
.chip-link:hover { background: var(--surface-sunken); }
.jump { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-8); }
.fit { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--space-6); align-items: center; padding: var(--space-8); border-radius: var(--radius-xl); background: var(--surface-raised); border: 1px solid var(--line); }
@media (max-width: 860px) { .fit { grid-template-columns: 1fr; } }
.num { font-family: var(--font-display); font-weight: 600; font-size: 28px; line-height: 36px; letter-spacing: -0.02em; color: var(--orange-text); }
.prose h2 { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 30px; letter-spacing: -0.015em; margin: var(--space-12) 0 var(--space-3); }
.prose p { margin: 0 0 var(--space-4); color: var(--ink-muted); }
.prose ul { margin: 0 0 var(--space-4); padding-left: 20px; color: var(--ink-muted); }
.prose li { margin-bottom: var(--space-2); }
.prose strong { color: var(--ink); font-weight: 600; }
.slot { border: 1.5px dashed var(--control-border); border-radius: var(--radius-lg); padding: var(--space-6); color: var(--ink-muted); font-size: 14px; line-height: 20px; text-align: center; }

/* ===== Platform screen placeholders ===== */
/* .shot: a flat screenshot slot. Skeleton UI drawn with gradients; label names the screen to drop in. */
.shot { position: relative; margin: 0; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden; background-color: #FFFFFF; border: 1px solid var(--line); box-shadow: var(--shadow-md);
  background-image:
    linear-gradient(#EEF2F6, #EEF2F6),
    linear-gradient(#233240, #233240),
    linear-gradient(#DDE4EA, #DDE4EA),
    linear-gradient(#DDE4EA, #DDE4EA),
    linear-gradient(#DDE4EA, #DDE4EA),
    linear-gradient(#F3F6F9, #F3F6F9),
    linear-gradient(#F3F6F9, #F3F6F9),
    linear-gradient(#F3F6F9, #F3F6F9),
    repeating-linear-gradient(180deg, transparent 0 34px, #E6ECF1 34px 35px);
  background-size: 19% 100%, 9% 3.2%, 26% 3%, 12% 2.4%, 12% 2.4%, 22% 18%, 22% 18%, 22% 18%, 74% 48%;
  background-position: 0 0, 4.5% 6%, 24% 7%, 24% 15%, 38% 15%, 24% 26%, 49% 26%, 74% 26%, 24% 92%;
  background-repeat: no-repeat; }
.shot.flat { box-shadow: var(--shadow-sm); }
.shot.tall { aspect-ratio: 4 / 3; }
.shot.wide { aspect-ratio: 21 / 10; }
.shot-label { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 18px; max-width: 80%; border-radius: var(--radius-md); background: rgba(255,255,255,0.92); border: 1px dashed #7A8C9E; color: #233240; text-align: center; font-size: 13px; line-height: 18px; font-weight: 600; box-shadow: 0 4px 12px #2332401a; }
.shot-label small { font-family: var(--font-sans); font-size: 11px; line-height: 14px; letter-spacing: .02em; color: #5B748A; font-weight: 600; }
/* mobile skeleton */
.shot.m { aspect-ratio: auto; height: 100%; border: 0; border-radius: inherit; box-shadow: none;
  background-image:
    linear-gradient(#233240, #233240),
    linear-gradient(#DDE4EA, #DDE4EA),
    linear-gradient(#EEF2F6, #EEF2F6), linear-gradient(#EEF2F6, #EEF2F6), linear-gradient(#EEF2F6, #EEF2F6), linear-gradient(#EEF2F6, #EEF2F6),
    linear-gradient(#FF8A00, #FF8A00);
  background-size: 34% 2.2%, 60% 1.6%, 42% 26%, 42% 26%, 42% 26%, 42% 26%, 84% 5%;
  background-position: 10% 9%, 14% 14%, 10% 24%, 90% 24%, 10% 56%, 90% 56%, 50% 92%; }

/* Browser window */
.dev-browser { border-radius: var(--radius-lg); overflow: hidden; background: #FFFFFF; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.dev-browser .bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; background: #EEF2F6; border-bottom: 1px solid #DDE4EA; }
.dev-browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: #C9D4DE; display: block; }
.dev-browser .bar span { margin-left: 14px; flex: 0 1 280px; height: 20px; border-radius: 6px; background: #FFFFFF; border: 1px solid #DDE4EA; font-size: 11px; line-height: 18px; color: #5B748A; padding: 0 10px; font-family: var(--font-mono); white-space: nowrap; overflow: hidden; }
.dev-browser .shot { border: 0; border-radius: 0; box-shadow: none; }

/* Laptop */
.dev-laptop { position: relative; padding-bottom: 3.4%; }
.dev-laptop .lid { background: #233240; border-radius: 18px 18px 6px 6px; padding: 2.2% 2.2% 3%; box-shadow: 0 30px 60px -20px #23324066; }
.dev-laptop .lid .shot { border: 0; border-radius: 4px; box-shadow: none; }
.dev-laptop .base { position: absolute; left: -6%; right: -6%; bottom: 0; height: 3.4%; min-height: 12px; border-radius: 0 0 18px 18px; background: linear-gradient(#C9D4DE, #9FB0BF); }
.dev-laptop .base::before { content: ''; position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 16%; height: 45%; border-radius: 0 0 8px 8px; background: #7A8C9E; }

/* Phone */
.dev-phone { width: 260px; aspect-ratio: 9 / 19; background: #233240; border-radius: 42px; padding: 10px; box-shadow: 0 30px 60px -20px #23324080; flex: none; }
.dev-phone .screen { position: relative; height: 100%; border-radius: 33px; overflow: hidden; background: #FFFFFF; }
.dev-phone .screen::before { content: ''; position: absolute; z-index: 2; top: 10px; left: 50%; transform: translateX(-50%); width: 34%; height: 22px; border-radius: 999px; background: #233240; }
.dev-phone.sm { width: 200px; border-radius: 34px; padding: 8px; }
.dev-phone.sm .screen { border-radius: 27px; }

/* Tablet */
.dev-tablet { background: #233240; border-radius: 28px; padding: 16px; box-shadow: 0 30px 60px -20px #23324066; }
.dev-tablet .shot { border: 0; border-radius: 12px; box-shadow: none; aspect-ratio: 4 / 3; }

/* Floating 3D screens: frameless screenshots tilted in perspective, layered at different depths */
.float3d { position: relative; perspective: 2000px; perspective-origin: 30% 40%; padding: 48px 0 96px; }
.float3d .plane { position: relative; transform-style: preserve-3d; transform: rotateX(12deg) rotateY(-24deg) rotateZ(4deg); }
.float3d .shot { border: 1px solid rgba(255,255,255,0.8); box-shadow: 0 2px 4px #2332400f, 0 24px 48px -12px #23324033, 0 70px 110px -30px #2332404d; }
.float3d .s-main { width: 112%; border-radius: 14px; }
.float3d .s-chip { position: absolute; left: -10%; top: -12%; width: 40%; aspect-ratio: 16 / 10; border-radius: 12px; transform: translateZ(90px); }
.float3d .s-chip .shot-label { padding: 6px 10px; font-size: 11px; line-height: 14px; }
.float3d .s-side { position: absolute; right: -14%; bottom: -16%; width: 30%; aspect-ratio: 9 / 19; border-radius: 26px; overflow: hidden; background: #FFFFFF; border: 1px solid rgba(255,255,255,0.8); box-shadow: 0 2px 4px #2332400f, 0 30px 60px -12px #2332403d, 0 80px 120px -30px #23324059; transform: translateZ(150px); }
.float3d .s-side .shot.m { border: 0; box-shadow: none; }
@media (max-width: 860px) {
  .float3d { padding: 24px 0 48px; }
  .float3d .plane { transform: rotateX(8deg) rotateY(-12deg) rotateZ(2deg); }
  .float3d .s-main { width: 100%; }
  .float3d .s-chip { display: none; }
  .float3d .s-side { right: -4%; width: 28%; }
}

/* Scroll performance: drop live background blurs, the most expensive effect to repaint while scrolling */
.page .rl-nav:not(.is-overlay) { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--surface); }
.page .rl-glass { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255, 255, 255, 0.86); }

/* Composites */
.stage { position: relative; }
.stage .float-phone { position: absolute; right: -4%; bottom: -8%; }
.stage .float-card { position: absolute; left: -6%; bottom: 8%; }
@media (max-width: 860px) { .stage .float-phone, .stage .float-card { display: none; } }
.screen-panel { border-radius: var(--radius-xl); padding: var(--space-12) var(--space-12) 0; overflow: hidden; }
.screen-panel .dev-browser, .screen-panel .shot { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
@media (max-width: 860px) { .screen-panel { padding: var(--space-6) var(--space-6) 0; } }

/* Footer brand: a large standard lockup so "by namebrand" reads clearly */
.rl-footer-brand .rl-logo { height: 88px; width: auto; display: block; }
.rl-footer-brand .rl-footer-tagline { font-size: 16px; line-height: 24px; margin-top: var(--space-6); }
@media (max-width: 720px) { .rl-footer-brand .rl-logo { height: 64px; } }

/* Taller header so the logo can be larger */
:root { --nav-height: 96px; }
@media (max-width: 860px) { :root { --nav-height: 72px; } }
.page .rl-nav-inner { height: var(--nav-height); }
@media (max-width: 860px) { .page .rl-nav-brand .rl-logo { height: 32px; width: auto; } }
/* Transparent header that floats over the hero (Home) */
.rl-nav.is-overlay { position: absolute; top: 0; left: 0; right: 0; background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.rl-nav.is-overlay .rl-nav-link:hover { background: rgba(255,255,255,0.5); }
.page .rl-hero.under-nav { padding-top: calc(var(--nav-height) + 112px); }
@media (max-width: 860px) { .page .rl-hero.under-nav { padding-top: calc(var(--nav-height) + 56px); } }

/* Nav extras */
.nav-caret { display: inline-flex; align-items: center; gap: 4px; }
.announce { background: var(--midnight-slate); color: #F8FAFC; font-size: 14px; line-height: 20px; }
.announce .wrap { display: flex; justify-content: center; align-items: center; gap: var(--space-3); min-height: 40px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; text-align: center; }
.announce a { color: #2ED6FF; font-weight: 600; text-decoration: none; }
.announce a:hover { text-decoration: underline; }
.menu-panel { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); padding: var(--space-8); display: grid; grid-template-columns: 2fr 1fr; gap: var(--space-8); }
.menu-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.menu-list a { display: block; padding: 8px 12px; border-radius: var(--radius-md); text-decoration: none; color: var(--ink); }
.menu-list a:hover { background: var(--surface-sunken); }
.menu-list b { display: block; font-size: 15px; line-height: 22px; font-weight: 600; }
.menu-list span { display: block; font-size: 13px; line-height: 18px; color: var(--ink-muted); }
@media (max-width: 860px) { .menu-panel { grid-template-columns: 1fr; } }

/* ===== Real platform screenshots and abstract screens in the .shot slots ===== */
.shot.has-img { background-image: none; background-color: #F7F9FB; }
.shot.has-img > img.shot-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.dev-phone .shot.has-img, .float3d .s-side .shot.has-img { position: relative; }

/* ===== Abstract UI collages (Clay-style): platform fragments layered and gently animated =====
   Each collage scales with its own width: --u is one design pixel. Animations use transform/opacity only. */
.ab-wrap { container-type: inline-size; width: 100%; }
.ab { --dw: 620; --u: calc(100cqw / var(--dw)); position: relative; width: 100%; font-family: var(--font-sans); color: #233240; font-size: calc(13 * var(--u)); line-height: 1.35; }
.ab *, .ab *::before, .ab *::after { box-sizing: border-box; }
.ab img { display: block; width: 100%; height: auto; }
.ab-card { position: absolute; background: #FFFFFF; border: 1px solid #E3E8EE; border-radius: calc(16 * var(--u)); box-shadow: 0 1px 2px #2332400f, 0 calc(18 * var(--u)) calc(44 * var(--u)) calc(-16 * var(--u)) #23324038; }
.ab-pad { padding: calc(18 * var(--u)); }
.ab-row { display: flex; align-items: center; gap: calc(10 * var(--u)); }
.ab-between { display: flex; align-items: center; justify-content: space-between; gap: calc(10 * var(--u)); }
.ab-h { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: calc(19 * var(--u)); line-height: 1.15; letter-spacing: -0.02em; color: #233240; }
.ab-h.sm { font-size: calc(15 * var(--u)); }
.ab-cap { margin: 0; font-size: calc(10 * var(--u)); line-height: 1.3; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #233240; }
.ab-muted { color: #5B748A; }
.ab-small { font-size: calc(11.5 * var(--u)); }
.ab-g { color: #3E8E2F; font-weight: 700; }
.ab-o { color: #C46A00; font-weight: 700; }
.ab-thumb { border: 1px solid #E3E8EE; border-radius: calc(10 * var(--u)); overflow: hidden; background: #FFFFFF; flex: none; }
.ab-badge { display: inline-flex; align-items: center; justify-content: center; min-width: calc(24 * var(--u)); height: calc(20 * var(--u)); padding: 0 calc(6 * var(--u)); border-radius: 999px; background: #EEF2F6; font-size: calc(11 * var(--u)); font-weight: 700; }
.ab-chip { position: absolute; display: inline-flex; align-items: center; gap: calc(8 * var(--u)); padding: calc(8 * var(--u)) calc(14 * var(--u)); border-radius: 999px; background: #FFFFFF; border: 1px solid #E3E8EE; box-shadow: 0 calc(10 * var(--u)) calc(24 * var(--u)) calc(-10 * var(--u)) #23324033; font-size: calc(12 * var(--u)); font-weight: 600; white-space: nowrap; }
.ab-dot { width: calc(8 * var(--u)); height: calc(8 * var(--u)); border-radius: 50%; background: #3E8E2F; flex: none; }
.ab-dot.o { background: #E07B00; }
.ab-btn { display: flex; align-items: center; justify-content: center; height: calc(38 * var(--u)); border-radius: calc(10 * var(--u)); border: 1.5px solid #233240; background: #F3F5F7; font-size: calc(11 * var(--u)); font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.ab-btn.dark { background: #233240; color: #F8FAFC; }
.ab-step { display: inline-flex; align-items: center; gap: calc(12 * var(--u)); font-weight: 600; }
.ab-step i { font-style: normal; color: #5B748A; }
/* number ticker: a column of values that steps upward */
.ab-tick { display: inline-block; height: 1.35em; overflow: hidden; vertical-align: bottom; }
.ab-tick > span { display: block; animation: ab-tick 10s infinite; }
.ab-tick > span > b { display: block; height: 1.35em; font-weight: inherit; }
@keyframes ab-tick { 0%, 22% { transform: translateY(0); } 28%, 48% { transform: translateY(-1.35em); } 54%, 92% { transform: translateY(-2.7em); } 98%, 100% { transform: translateY(0); } }
/* size pills with a sliding selection */
.ab-sizes { position: relative; display: flex; gap: calc(6 * var(--u)); }
.ab-sizes > span { position: relative; z-index: 1; width: calc(38 * var(--u)); height: calc(30 * var(--u)); border-radius: calc(8 * var(--u)); border: 1px solid #DCE3EA; display: flex; align-items: center; justify-content: center; font-size: calc(11 * var(--u)); font-weight: 600; }
.ab-sizes > em { position: absolute; z-index: 2; left: 0; top: 0; width: calc(38 * var(--u)); height: calc(30 * var(--u)); border-radius: calc(8 * var(--u)); background: transparent; box-shadow: inset 0 0 0 2px #233240; animation: ab-slide 10s infinite cubic-bezier(.6,0,.2,1); }
@keyframes ab-slide { 0%, 18% { transform: translateX(calc(88 * var(--u))); } 24%, 60% { transform: translateX(calc(132 * var(--u))); } 66%, 100% { transform: translateX(calc(88 * var(--u))); } }
/* gentle idle float for layered cards */
.ab-float { animation: ab-float 7s ease-in-out infinite; }
.ab-float.d1 { animation-delay: -2.3s; } .ab-float.d2 { animation-delay: -4.6s; }
@keyframes ab-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(calc(-6 * var(--u))); } }
/* toast that slides in, holds, then leaves */
.ab-toast { animation: ab-toast 10s infinite cubic-bezier(.2,.8,.2,1); }
@keyframes ab-toast { 0%, 34% { opacity: 0; transform: translateY(calc(16 * var(--u))) scale(.97); } 40%, 88% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: translateY(calc(-8 * var(--u))); } }
.ab-bar { height: calc(6 * var(--u)); border-radius: 999px; background: #EEF2F6; overflow: hidden; }
.ab-bar > i { display: block; height: 100%; border-radius: inherit; background: #3E8E2F; transform-origin: left center; animation: ab-fill 10s infinite ease-in-out; }
@keyframes ab-fill { 0%, 40% { transform: scaleX(0); } 70%, 92% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.ab-pulse { position: relative; }
.ab-pulse::after { content: ''; position: absolute; inset: calc(-4 * var(--u)); border-radius: 50%; border: 2px solid currentColor; opacity: 0; animation: ab-pulse 2.4s infinite; }
@keyframes ab-pulse { 0% { opacity: .6; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.6); } }
/* cursor that travels and clicks */
.ab-cursor { position: absolute; z-index: 5; width: calc(22 * var(--u)); height: calc(22 * var(--u)); filter: drop-shadow(0 2px 3px #23324059); }
.ab-cursor svg { display: block; width: 100%; height: 100%; }

/* --- Hero collage --- */
.ab-hero { --dw: 620; aspect-ratio: 620 / 640; }
.ab-hero .c-grid { left: 0; top: calc(44 * var(--u)); width: calc(380 * var(--u)); }
.ab-hero .c-grid .tiles { display: grid; grid-template-columns: 1fr 1fr; gap: calc(14 * var(--u)); margin-top: calc(16 * var(--u)); }
.ab-hero .c-grid .ab-ptile .ab-thumb { margin-bottom: calc(8 * var(--u)); }
.ab-hero .c-cart { right: 0; top: 0; width: calc(258 * var(--u)); }
.ab-hero .c-cart .line { display: grid; grid-template-columns: calc(46 * var(--u)) 1fr; gap: calc(12 * var(--u)); padding: calc(12 * var(--u)) 0; border-top: 1px solid #EEF2F6; }
.ab-hero .c-cart .qty { display: inline-flex; align-items: center; gap: calc(12 * var(--u)); margin-top: calc(6 * var(--u)); font-weight: 600; }
.ab-hero .c-cart .qty s { text-decoration: none; color: #5B748A; }
.ab-hero .c-size { left: calc(150 * var(--u)); bottom: 0; width: calc(300 * var(--u)); }
.ab-hero .c-toast { right: 0; bottom: calc(150 * var(--u)); width: calc(250 * var(--u)); }
.ab-hero .ok { width: calc(32 * var(--u)); height: calc(32 * var(--u)); border-radius: 50%; background: #E4F2E1; color: #3E8E2F; display: flex; align-items: center; justify-content: center; flex: none; }
.ab-hero .ab-cursor { left: 0; top: 0; animation: ab-hero-cursor 10s infinite cubic-bezier(.5,0,.2,1); }
@keyframes ab-hero-cursor {
  0%, 8% { transform: translate(calc(250 * var(--u)), calc(660 * var(--u))) scale(1); }
  18% { transform: translate(calc(316 * var(--u)), calc(604 * var(--u))) scale(1); }
  21% { transform: translate(calc(316 * var(--u)), calc(604 * var(--u))) scale(.82); }
  24%, 30% { transform: translate(calc(316 * var(--u)), calc(604 * var(--u))) scale(1); }
  44% { transform: translate(calc(500 * var(--u)), calc(232 * var(--u))) scale(1); }
  47% { transform: translate(calc(500 * var(--u)), calc(232 * var(--u))) scale(.82); }
  50%, 84% { transform: translate(calc(500 * var(--u)), calc(232 * var(--u))) scale(1); }
  100% { transform: translate(calc(250 * var(--u)), calc(660 * var(--u))) scale(1); }
}

/* --- Feature tiles (What Relay does) --- */
.ab-tile { --dw: 400; aspect-ratio: 400 / 330; border-radius: 20px; overflow: hidden; }
.ab-tile.sky { background: linear-gradient(160deg, #DCE9F6 0%, #F2F5FA 70%); }
.ab-tile.peach { background: linear-gradient(160deg, #FCE3D2 0%, #F8F4F1 70%); }
.ab-tile.mist { background: linear-gradient(160deg, #E6E3F8 0%, #F4F5FA 70%); }
/* inventory */
.ab-inv .c-prod { left: calc(26 * var(--u)); top: calc(30 * var(--u)); width: calc(168 * var(--u)); padding: calc(12 * var(--u)); }
.ab-inv .c-avail { right: calc(22 * var(--u)); top: calc(58 * var(--u)); width: calc(196 * var(--u)); }
.ab-inv .bars { display: flex; align-items: flex-end; gap: calc(8 * var(--u)); height: calc(96 * var(--u)); margin-top: calc(12 * var(--u)); }
.ab-inv .bars > div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: calc(4 * var(--u)); height: 100%; justify-content: flex-end; font-size: calc(10 * var(--u)); font-weight: 700; }
.ab-inv .bars i { display: block; width: 100%; border-radius: calc(5 * var(--u)) calc(5 * var(--u)) 0 0; background: #233240; transform-origin: bottom; animation: ab-grow 10s infinite cubic-bezier(.2,.8,.2,1); }
.ab-inv .bars i.low { background: #E07B00; }
.ab-inv .bars > div:nth-child(2) i { animation-delay: .12s; } .ab-inv .bars > div:nth-child(3) i { animation-delay: .24s; } .ab-inv .bars > div:nth-child(4) i { animation-delay: .36s; } .ab-inv .bars > div:nth-child(5) i { animation-delay: .48s; }
.ab-inv .bars span { color: #5B748A; font-weight: 600; }
@keyframes ab-grow { 0%, 6% { transform: scaleY(0); } 20%, 88% { transform: scaleY(1); } 96%, 100% { transform: scaleY(0); } }
.ab-inv .k1 { left: calc(26 * var(--u)); bottom: calc(30 * var(--u)); }
.ab-inv .k2 { right: calc(22 * var(--u)); bottom: calc(52 * var(--u)); color: #E07B00; }
.ab-inv .k2 b { color: #233240; font-weight: 600; }
/* fulfillment */
.ab-ful .c-order { left: calc(24 * var(--u)); right: calc(24 * var(--u)); top: calc(30 * var(--u)); }
.ab-ful .track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: calc(18 * var(--u)); }
.ab-ful .track::before, .ab-ful .track::after { content: ''; position: absolute; left: 12.5%; right: 12.5%; top: calc(11 * var(--u)); height: calc(3 * var(--u)); border-radius: 2px; background: #EEF2F6; }
.ab-ful .track::after { background: #3E8E2F; transform-origin: left center; animation: ab-track 10s infinite cubic-bezier(.5,0,.3,1); }
@keyframes ab-track { 0%, 8% { transform: scaleX(0); } 24%, 30% { transform: scaleX(.3333); } 46%, 52% { transform: scaleX(.6667); } 68%, 90% { transform: scaleX(1); } 98%, 100% { transform: scaleX(0); } }
.ab-ful .stop { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: calc(8 * var(--u)); font-size: calc(10.5 * var(--u)); font-weight: 600; color: #5B748A; }
.ab-ful .stop b { position: relative; width: calc(25 * var(--u)); height: calc(25 * var(--u)); border-radius: 50%; background: #FFFFFF; border: 2px solid #DCE3EA; }
.ab-ful .stop b::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; background: #3E8E2F; opacity: 0; animation: ab-stop 10s infinite; }
.ab-ful .stop:nth-child(1) b::after { opacity: 1; animation: none; }
.ab-ful .stop:nth-child(2) b::after { animation-delay: 2.4s; }
.ab-ful .stop:nth-child(3) b::after { animation-delay: 4.6s; }
.ab-ful .stop:nth-child(4) b::after { animation-delay: 6.8s; }
@keyframes ab-stop { 0% { opacity: 0; transform: scale(.4); } 3%, 20% { opacity: 1; transform: scale(1); } 24%, 100% { opacity: 1; transform: scale(1); } }
.ab-ful .stop b svg { position: absolute; z-index: 1; inset: 0; margin: auto; width: 60%; height: 60%; color: #FFFFFF; }
.ab-ful .c-pk { left: calc(20 * var(--u)); width: calc(176 * var(--u)); padding: calc(10 * var(--u)); gap: calc(8 * var(--u)); }
.ab-ful .c-pk.a { bottom: calc(26 * var(--u)); }
.ab-ful .c-pk.b { left: auto; right: calc(20 * var(--u)); bottom: calc(54 * var(--u)); }
.ab-ful .pk-tag { margin-left: auto; padding: calc(3 * var(--u)) calc(8 * var(--u)); border-radius: 999px; background: #E4F2E1; color: #3E8E2F; font-size: calc(10 * var(--u)); font-weight: 700; }
/* distribution */
.ab-dis .c-src { left: calc(24 * var(--u)); top: calc(92 * var(--u)); width: calc(128 * var(--u)); padding: calc(10 * var(--u)); }
.ab-dis svg.lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ab-dis svg.lines path { fill: none; stroke: #8A9BB0; stroke-width: 1.5; stroke-dasharray: 4 5; }
.ab-dis .dest { left: auto; right: calc(20 * var(--u)); width: calc(196 * var(--u)); padding: calc(10 * var(--u)) calc(12 * var(--u)); border-radius: calc(14 * var(--u)); }
.ab-dis .dest.d1 { top: calc(40 * var(--u)); } .ab-dis .dest.d2 { top: calc(138 * var(--u)); } .ab-dis .dest.d3 { top: calc(236 * var(--u)); }
.ab-dis .ic { width: calc(30 * var(--u)); height: calc(30 * var(--u)); border-radius: calc(9 * var(--u)); display: flex; align-items: center; justify-content: center; flex: none; }
.ab-dis .ic svg { width: 55%; height: 55%; }
.ab-dis .chk { margin-left: auto; width: calc(20 * var(--u)); height: calc(20 * var(--u)); border-radius: 50%; background: #3E8E2F; color: #FFFFFF; display: flex; align-items: center; justify-content: center; flex: none; opacity: 0; transform: scale(.4); animation: ab-chk 10s infinite; }
.ab-dis .chk svg { width: 60%; height: 60%; }
.ab-dis .d2 .chk { animation-delay: 1.4s; } .ab-dis .d3 .chk { animation-delay: 2.8s; }
@keyframes ab-chk { 0%, 18% { opacity: 0; transform: scale(.4); } 22%, 86% { opacity: 1; transform: scale(1); } 92%, 100% { opacity: 0; transform: scale(.4); } }
.ab-dis .runner { position: absolute; left: 0; top: 0; width: calc(10 * var(--u)); height: calc(10 * var(--u)); border-radius: 50%; background: #E07B00; box-shadow: 0 0 0 calc(4 * var(--u)) #E07B0033; opacity: 0; }
.ab-dis .runner.r1 { animation: ab-run1 10s infinite ease-in-out; }
.ab-dis .runner.r2 { animation: ab-run2 10s infinite ease-in-out 1.4s; }
.ab-dis .runner.r3 { animation: ab-run3 10s infinite ease-in-out 2.8s; }
@keyframes ab-run1 { 0% { opacity: 0; transform: translate(calc(150 * var(--u)), calc(160 * var(--u))); } 3% { opacity: 1; } 18% { opacity: 1; transform: translate(calc(180 * var(--u)), calc(70 * var(--u))); } 21%, 100% { opacity: 0; transform: translate(calc(180 * var(--u)), calc(70 * var(--u))); } }
@keyframes ab-run2 { 0% { opacity: 0; transform: translate(calc(150 * var(--u)), calc(160 * var(--u))); } 3% { opacity: 1; } 18% { opacity: 1; transform: translate(calc(180 * var(--u)), calc(168 * var(--u))); } 21%, 100% { opacity: 0; transform: translate(calc(180 * var(--u)), calc(168 * var(--u))); } }
@keyframes ab-run3 { 0% { opacity: 0; transform: translate(calc(150 * var(--u)), calc(160 * var(--u))); } 3% { opacity: 1; } 18% { opacity: 1; transform: translate(calc(180 * var(--u)), calc(266 * var(--u))); } 21%, 100% { opacity: 0; transform: translate(calc(180 * var(--u)), calc(266 * var(--u))); } }

/* --- Flow strip (How it works) --- */
.ab-flow { --dw: 1100; aspect-ratio: 1100 / 330; }
.ab-flow .stage-card { top: calc(40 * var(--u)); width: calc(236 * var(--u)); height: calc(250 * var(--u)); padding: calc(18 * var(--u)); display: flex; flex-direction: column; gap: calc(12 * var(--u)); }
.ab-flow .s1 { left: calc(10 * var(--u)); } .ab-flow .s2 { left: calc(296 * var(--u)); } .ab-flow .s3 { left: calc(582 * var(--u)); } .ab-flow .s4 { left: calc(868 * var(--u)); }
.ab-flow .stage-card::after { content: ''; position: absolute; inset: -1px; border-radius: inherit; box-shadow: 0 0 0 calc(3 * var(--u)) #FF8A00; opacity: 0; animation: ab-ring 10s infinite; }
.ab-flow .s2::after { animation-delay: 2.5s; } .ab-flow .s3::after { animation-delay: 5s; } .ab-flow .s4::after { animation-delay: 7.5s; }
@keyframes ab-ring { 0% { opacity: 0; } 4%, 22% { opacity: 1; } 27%, 100% { opacity: 0; } }
.ab-flow .num { display: inline-flex; align-items: center; justify-content: center; width: calc(24 * var(--u)); height: calc(24 * var(--u)); border-radius: 50%; background: #233240; color: #F8FAFC; font-size: calc(11 * var(--u)); font-weight: 800; flex: none; }
.ab-flow .mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(8 * var(--u)); }
.ab-flow .arrow { position: absolute; top: calc(152 * var(--u)); width: calc(50 * var(--u)); height: calc(24 * var(--u)); color: #8A9BB0; }
.ab-flow .a1 { left: calc(246 * var(--u)); } .ab-flow .a2 { left: calc(532 * var(--u)); } .ab-flow .a3 { left: calc(818 * var(--u)); }
.ab-flow .arrow svg { width: 100%; height: 100%; }
.ab-flow .sumrow { display: flex; justify-content: space-between; padding: calc(8 * var(--u)) 0; border-top: 1px solid #EEF2F6; }

/* --- Phone campaign screen --- */
.dev-phone .screen { container-type: inline-size; }
.ab-phone { --p: calc(100cqw / 240); position: relative; height: 100%; display: flex; flex-direction: column; background: #F7F9FB; font-family: var(--font-sans); color: #233240; font-size: calc(11 * var(--p)); line-height: calc(15 * var(--p)); overflow: hidden; }
.ab-phone .top { display: flex; align-items: center; justify-content: space-between; padding: calc(46 * var(--p)) calc(22 * var(--p)) calc(8 * var(--p)) calc(16 * var(--p)); }
.ab-phone .wordmark { font-family: var(--font-display); font-weight: 800; font-size: calc(17 * var(--p)); letter-spacing: -0.04em; }
.ab-phone .ham { width: calc(16 * var(--p)); height: calc(10 * var(--p)); border-top: calc(2 * var(--p)) solid #233240; border-bottom: calc(2 * var(--p)) solid #233240; }
.ab-phone .bag { position: relative; width: calc(16 * var(--p)); height: calc(16 * var(--p)); border: calc(2 * var(--p)) solid #233240; border-radius: calc(4 * var(--p)); }
.ab-phone .bag i { position: absolute; right: calc(-10 * var(--p)); top: calc(-10 * var(--p)); min-width: calc(16 * var(--p)); height: calc(16 * var(--p)); padding: 0 calc(4 * var(--p)); border-radius: calc(8 * var(--p)); background: #E07B00; color: #FFFFFF; font-style: normal; font-weight: 700; font-size: calc(9 * var(--p)); line-height: calc(16 * var(--p)); text-align: center; animation: ab-pop 10s infinite; }
.ab-phone .bag i { display: inline-flex; align-items: center; justify-content: center; }
.ab-phone .bag .ab-tick, .ab-phone .bag .ab-tick > span > b { height: 1.35em; line-height: 1.35em; }
@keyframes ab-pop { 0%, 46% { transform: scale(1); } 49% { transform: scale(1.35); } 53%, 100% { transform: scale(1); } }
.ab-phone .pimg { margin: calc(6 * var(--p)) calc(12 * var(--p)) 0; border-radius: calc(12 * var(--p)); overflow: hidden; background: #FFFFFF; }
.ab-phone .pimg img { display: block; width: 100%; height: auto; }
.ab-phone .body { padding: calc(12 * var(--p)) calc(14 * var(--p)); display: flex; flex-direction: column; gap: calc(8 * var(--p)); }
.ab-phone .ttl { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: calc(16 * var(--p)); line-height: calc(19 * var(--p)); letter-spacing: -0.02em; }
.ab-phone .ab-sizes { --u: calc(0.85 * var(--p)); }
.ab-phone .add { display: flex; gap: calc(8 * var(--p)); align-items: center; }
.ab-phone .add .ab-btn { flex: 1; --u: calc(0.9 * var(--p)); animation: ab-press 10s infinite; }
@keyframes ab-press { 0%, 40% { transform: scale(1); } 43% { transform: scale(.94); } 46%, 100% { transform: scale(1); } }
.ab-phone .stepper { display: inline-flex; gap: calc(10 * var(--p)); font-weight: 700; color: #5B748A; }
.ab-phone .stepper b { color: #233240; }
.ab-phone .added { position: absolute; left: calc(12 * var(--p)); right: calc(12 * var(--p)); top: calc(74 * var(--p)); z-index: 3; display: flex; align-items: center; gap: calc(8 * var(--p)); padding: calc(10 * var(--p)) calc(12 * var(--p)); border-radius: calc(12 * var(--p)); background: #233240; color: #F8FAFC; font-weight: 600; box-shadow: 0 calc(10 * var(--p)) calc(24 * var(--p)) calc(-8 * var(--p)) #23324066; animation: ab-added 10s infinite cubic-bezier(.2,.8,.2,1); }
@keyframes ab-added { 0%, 46% { opacity: 0; transform: translateY(calc(-14 * var(--p))); } 50%, 76% { opacity: 1; transform: none; } 82%, 100% { opacity: 0; transform: translateY(calc(-14 * var(--p))); } }
.ab-phone .tap { position: absolute; z-index: 4; width: calc(26 * var(--p)); height: calc(26 * var(--p)); border-radius: 50%; background: #23324026; border: calc(2 * var(--p)) solid #FFFFFFcc; left: 0; top: 0; animation: ab-tap 10s infinite cubic-bezier(.5,0,.2,1); }
@keyframes ab-tap { 0%, 10% { opacity: 0; transform: translate(calc(150 * var(--p)), calc(470 * var(--p))); } 14% { opacity: 1; transform: translate(calc(150 * var(--p)), calc(470 * var(--p))); } 18% { transform: translate(calc(150 * var(--p)), calc(470 * var(--p))) scale(.8); } 22%, 30% { transform: translate(calc(150 * var(--p)), calc(470 * var(--p))) scale(1); opacity: 1; } 38% { transform: translate(calc(170 * var(--p)), calc(512 * var(--p))) scale(1); } 42% { transform: translate(calc(170 * var(--p)), calc(512 * var(--p))) scale(.8); opacity: 1; } 46% { transform: translate(calc(170 * var(--p)), calc(512 * var(--p))) scale(1); opacity: 0; } 100% { opacity: 0; transform: translate(calc(150 * var(--p)), calc(470 * var(--p))); } }

@media (prefers-reduced-motion: reduce) { .ab *, .ab *::before, .ab *::after, .ab-phone *, .ab-phone *::after { animation: none !important; } .ab-toast, .ab-phone .added { opacity: 1; } .ab-dis .chk { opacity: 1; transform: none; } }

/* ===== Collage library for inner pages (tiles are 400 design px wide; .bare drops the tinted panel for use on hero gradients) ===== */
.ab-tile.bare { background: none; overflow: visible; }
.ab-tile.wide { --dw: 1000; aspect-ratio: 1000 / 340; }
.ab-wrap:has(> .ab-tile.wide) { max-width: 1000px; margin-left: auto; margin-right: auto; }
.ab-tile.lime { background: linear-gradient(160deg, #EAF6D6 0%, #F5F7F2 70%); }
.ab-fill { position: absolute; left: calc(22 * var(--u)); right: calc(22 * var(--u)); top: calc(24 * var(--u)); bottom: calc(24 * var(--u)); display: flex; flex-direction: column; gap: calc(12 * var(--u)); }
.ab-av { display: inline-flex; } .ab-av i { width: calc(24 * var(--u)); height: calc(24 * var(--u)); border-radius: 50%; border: 2px solid #FFFFFF; margin-left: calc(-7 * var(--u)); display: block; }
.ab-av i:first-child { margin-left: 0; }
.ab-tog { position: relative; width: calc(34 * var(--u)); height: calc(20 * var(--u)); border-radius: 999px; background: #3E8E2F; flex: none; }
.ab-tog::after { content: ''; position: absolute; top: calc(3 * var(--u)); left: calc(17 * var(--u)); width: calc(14 * var(--u)); height: calc(14 * var(--u)); border-radius: 50%; background: #FFFFFF; }
.ab-tog.flip { animation: ab-togbg 10s infinite; } .ab-tog.flip::after { animation: ab-togk 10s infinite cubic-bezier(.5,0,.2,1); }
@keyframes ab-togbg { 0%, 30% { background: #C9D4DE; } 34%, 90% { background: #3E8E2F; } 94%, 100% { background: #C9D4DE; } }
@keyframes ab-togk { 0%, 30% { transform: translateX(calc(-14 * var(--u))); } 34%, 90% { transform: none; } 94%, 100% { transform: translateX(calc(-14 * var(--u))); } }
.ab-ic { width: calc(30 * var(--u)); height: calc(30 * var(--u)); border-radius: calc(9 * var(--u)); display: flex; align-items: center; justify-content: center; flex: none; }
.ab-ic svg { width: 55%; height: 55%; }
.ab-hr { border-top: 1px solid #EEF2F6; }
.ab-pop-in { animation: ab-toast 10s infinite cubic-bezier(.2,.8,.2,1); }
.ab-chip.tr { right: calc(18 * var(--u)); bottom: calc(18 * var(--u)); }
.ab-chip.tl { left: calc(18 * var(--u)); bottom: calc(18 * var(--u)); }
.ab-chip.dark { background: #233240; color: #F8FAFC; border-color: #233240; }

/* report */
.ab-rep .main { left: calc(20 * var(--u)); right: calc(20 * var(--u)); top: calc(22 * var(--u)); bottom: calc(46 * var(--u)); padding: calc(16 * var(--u)); display: flex; flex-direction: column; gap: calc(12 * var(--u)); }
.ab-rep .kpis { display: flex; gap: calc(10 * var(--u)); }
.ab-rep .kpi { flex: 1; padding: calc(8 * var(--u)) calc(10 * var(--u)); border-radius: calc(10 * var(--u)); background: #F5F7FA; }
.ab-rep .kpi b { display: block; font-family: var(--font-display); font-size: calc(17 * var(--u)); line-height: 1.2; letter-spacing: -0.02em; }
.ab-rep .chart { flex: 1; display: flex; align-items: flex-end; gap: calc(6 * var(--u)); border-bottom: 1.5px solid #E3E8EE; min-height: 0; }
.ab-rep .chart i { flex: 1; border-radius: calc(4 * var(--u)) calc(4 * var(--u)) 0 0; background: #233240; transform-origin: bottom; animation: ab-grow 10s infinite cubic-bezier(.2,.8,.2,1); }
.ab-rep .chart i:nth-child(3n+2) { background: #5B748A; } .ab-rep .chart i.hl { background: #FF8A00; }
.ab-rep .chart i:nth-child(2) { animation-delay: .08s; } .ab-rep .chart i:nth-child(3) { animation-delay: .16s; } .ab-rep .chart i:nth-child(4) { animation-delay: .24s; } .ab-rep .chart i:nth-child(5) { animation-delay: .32s; } .ab-rep .chart i:nth-child(6) { animation-delay: .4s; } .ab-rep .chart i:nth-child(7) { animation-delay: .48s; } .ab-rep .chart i:nth-child(8) { animation-delay: .56s; } .ab-rep .chart i:nth-child(9) { animation-delay: .64s; } .ab-rep .chart i:nth-child(10) { animation-delay: .72s; }
.ab-rep .legend { display: flex; gap: calc(12 * var(--u)); }
.ab-rep .legend span { display: inline-flex; align-items: center; gap: calc(5 * var(--u)); }
.ab-rep .legend s { width: calc(8 * var(--u)); height: calc(8 * var(--u)); border-radius: 2px; background: #233240; display: block; }

/* access rules */
.ab-acc .grp { left: calc(22 * var(--u)); top: calc(30 * var(--u)); width: calc(160 * var(--u)); padding: calc(14 * var(--u)); display: flex; flex-direction: column; gap: calc(10 * var(--u)); }
.ab-acc .rules { right: calc(20 * var(--u)); top: calc(62 * var(--u)); width: calc(214 * var(--u)); padding: calc(6 * var(--u)) calc(14 * var(--u)); }
.ab-acc .rules > div { display: flex; align-items: center; gap: calc(10 * var(--u)); padding: calc(10 * var(--u)) 0; }
.ab-acc .rules > div + div { border-top: 1px solid #EEF2F6; }
.ab-acc .rules .t { flex: 1; min-width: 0; }
.ab-acc .lock { width: calc(36 * var(--u)); height: calc(36 * var(--u)); border-radius: calc(10 * var(--u)); background: #233240; color: #F8FAFC; display: flex; align-items: center; justify-content: center; }
.ab-acc .lock svg { width: 50%; height: 50%; }

/* bulk send */
.ab-bulk .sheet { left: calc(20 * var(--u)); top: calc(28 * var(--u)); width: calc(206 * var(--u)); overflow: hidden; }
.ab-bulk .sheet .r { display: grid; grid-template-columns: 1.2fr 1fr .6fr; gap: calc(6 * var(--u)); padding: calc(7 * var(--u)) calc(10 * var(--u)); font-size: calc(10.5 * var(--u)); border-top: 1px solid #EEF2F6; white-space: nowrap; overflow: hidden; }
.ab-bulk .sheet .r.h { border-top: 0; background: #F5F7FA; font-weight: 700; font-size: calc(9.5 * var(--u)); letter-spacing: .05em; text-transform: uppercase; }
.ab-bulk .sheet .r:not(.h) { animation: ab-rowin 10s infinite; }
.ab-bulk .sheet .r:nth-child(3) { animation-delay: .25s; } .ab-bulk .sheet .r:nth-child(4) { animation-delay: .5s; } .ab-bulk .sheet .r:nth-child(5) { animation-delay: .75s; } .ab-bulk .sheet .r:nth-child(6) { animation-delay: 1s; } .ab-bulk .sheet .r:nth-child(7) { animation-delay: 1.25s; }
@keyframes ab-rowin { 0%, 4% { opacity: 0; transform: translateX(calc(-10 * var(--u))); } 10%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
.ab-bulk .out { right: calc(20 * var(--u)); top: calc(70 * var(--u)); width: calc(146 * var(--u)); padding: calc(14 * var(--u)); display: flex; flex-direction: column; gap: calc(8 * var(--u)); }
.ab-bulk .big { font-family: var(--font-display); font-weight: 700; font-size: calc(30 * var(--u)); line-height: 1.1; letter-spacing: -0.03em; }
.ab-bulk .arr { position: absolute; left: calc(230 * var(--u)); top: calc(130 * var(--u)); width: calc(22 * var(--u)); color: #8A9BB0; }

/* campaign setup */
.ab-camp .cal { left: calc(20 * var(--u)); right: calc(20 * var(--u)); top: calc(26 * var(--u)); padding: calc(14 * var(--u)); }
.ab-camp .days { position: relative; display: grid; grid-template-columns: repeat(14, 1fr); gap: calc(3 * var(--u)); margin-top: calc(10 * var(--u)); }
.ab-camp .days span { position: relative; z-index: 1; height: calc(22 * var(--u)); display: flex; align-items: center; justify-content: center; font-size: calc(9.5 * var(--u)); font-weight: 600; color: #5B748A; }
.ab-camp .days em { position: absolute; z-index: 0; left: 14.3%; width: 64.3%; top: 0; height: calc(22 * var(--u)); border-radius: calc(6 * var(--u)); background: #FFE2BF; box-shadow: inset 0 0 0 1.5px #FF8A00; transform-origin: left center; animation: ab-range 10s infinite cubic-bezier(.5,0,.2,1); }
@keyframes ab-range { 0%, 8% { transform: scaleX(.08); } 30%, 90% { transform: scaleX(1); } 98%, 100% { transform: scaleX(.08); } }
.ab-camp .lim { left: calc(20 * var(--u)); bottom: calc(26 * var(--u)); width: calc(170 * var(--u)); padding: calc(14 * var(--u)); display: flex; flex-direction: column; gap: calc(8 * var(--u)); }
.ab-camp .lim .n { display: inline-flex; align-items: center; gap: calc(14 * var(--u)); font-family: var(--font-display); font-size: calc(22 * var(--u)); font-weight: 700; }
.ab-camp .lim .n s { text-decoration: none; color: #8A9BB0; font-family: var(--font-sans); font-size: calc(16 * var(--u)); }
.ab-camp .prods { right: calc(20 * var(--u)); bottom: calc(26 * var(--u)); width: calc(176 * var(--u)); padding: calc(12 * var(--u)); }
.ab-camp .prods .row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(6 * var(--u)); margin-top: calc(8 * var(--u)); }

/* kit builder */
.ab-kit .box { left: calc(120 * var(--u)); top: calc(40 * var(--u)); width: calc(260 * var(--u)); padding: calc(14 * var(--u)); }
.ab-kit .box .it { display: grid; grid-template-columns: calc(34 * var(--u)) 1fr auto; gap: calc(10 * var(--u)); align-items: center; padding: calc(7 * var(--u)) 0; border-top: 1px solid #EEF2F6; }
.ab-kit .box .it:nth-of-type(n) { animation: ab-rowin 10s infinite; }
.ab-kit .box .it:nth-of-type(2) { animation-delay: .4s; } .ab-kit .box .it:nth-of-type(3) { animation-delay: .8s; } .ab-kit .box .it:nth-of-type(4) { animation-delay: 1.2s; }
.ab-kit .fly { left: calc(22 * var(--u)); width: calc(80 * var(--u)); padding: calc(6 * var(--u)); }
.ab-kit .fly.f1 { top: calc(46 * var(--u)); } .ab-kit .fly.f2 { top: calc(150 * var(--u)); }
.ab-kit .ready { left: calc(22 * var(--u)); bottom: calc(22 * var(--u)); }

/* locations */
.ab-loc .lc { top: calc(32 * var(--u)); width: calc(112 * var(--u)); padding: calc(12 * var(--u)); display: flex; flex-direction: column; gap: calc(8 * var(--u)); }
.ab-loc .lc.l1 { left: calc(20 * var(--u)); } .ab-loc .lc.l2 { left: calc(144 * var(--u)); top: calc(52 * var(--u)); } .ab-loc .lc.l3 { left: calc(268 * var(--u)); }
.ab-loc .pin { width: calc(28 * var(--u)); height: calc(28 * var(--u)); border-radius: calc(8 * var(--u)); background: #E1F4F9; color: #0A7390; display: flex; align-items: center; justify-content: center; }
.ab-loc .pin svg { width: 60%; height: 60%; }
.ab-loc .m { display: flex; flex-direction: column; gap: calc(3 * var(--u)); font-size: calc(10 * var(--u)); }
.ab-loc .m .t { height: calc(6 * var(--u)); border-radius: 999px; background: #EEF2F6; overflow: hidden; }
.ab-loc .m .t i { display: block; height: 100%; border-radius: inherit; background: #233240; transform-origin: left center; animation: ab-meter 10s infinite cubic-bezier(.2,.8,.2,1); }
.ab-loc .m .t i.o { background: #E07B00; } .ab-loc .m .t i.g { background: #3E8E2F; }
@keyframes ab-meter { 0%, 4% { transform: scaleX(0); } 18%, 90% { transform: scaleX(1); } 97%, 100% { transform: scaleX(0); } }

/* catalog */
.ab-cat .main { left: calc(20 * var(--u)); right: calc(20 * var(--u)); top: calc(22 * var(--u)); padding: calc(16 * var(--u)); }
.ab-cat .chips { display: flex; gap: calc(6 * var(--u)); margin: calc(10 * var(--u)) 0 calc(12 * var(--u)); }
.ab-cat .chips span { padding: calc(4 * var(--u)) calc(10 * var(--u)); border-radius: 999px; border: 1px solid #DCE3EA; font-size: calc(10.5 * var(--u)); font-weight: 600; }
.ab-cat .chips span.on { animation: ab-chipon 10s infinite; }
@keyframes ab-chipon { 0%, 20% { background: #FFFFFF; color: #233240; border-color: #DCE3EA; } 24%, 86% { background: #233240; color: #F8FAFC; border-color: #233240; } 90%, 100% { background: #FFFFFF; color: #233240; border-color: #DCE3EA; } }
.ab-cat .g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(10 * var(--u)); }
.ab-cat .g3 .ab-thumb { margin-bottom: calc(6 * var(--u)); }

/* send a gift */
.ab-send .prod { left: calc(20 * var(--u)); top: calc(30 * var(--u)); width: calc(150 * var(--u)); padding: calc(10 * var(--u)); }
.ab-send .to { right: calc(20 * var(--u)); top: calc(58 * var(--u)); width: calc(200 * var(--u)); padding: calc(14 * var(--u)); display: flex; flex-direction: column; gap: calc(9 * var(--u)); }
.ab-send .fld { height: calc(28 * var(--u)); border-radius: calc(8 * var(--u)); border: 1px solid #DCE3EA; display: flex; align-items: center; padding: 0 calc(10 * var(--u)); font-size: calc(11 * var(--u)); overflow: hidden; white-space: nowrap; }
.ab-send .fld span { display: inline-block; overflow: hidden; white-space: nowrap; animation: ab-type 10s infinite steps(18, end); width: 100%; }
@keyframes ab-type { 0%, 6% { max-width: 0; } 26%, 92% { max-width: 100%; } 100% { max-width: 0; } }
.ab-send .to .ab-btn { animation: ab-press 10s infinite; }
.ab-send .toast { left: calc(40 * var(--u)); bottom: calc(22 * var(--u)); }

/* settings */
.ab-set .brand { left: calc(20 * var(--u)); top: calc(28 * var(--u)); width: calc(170 * var(--u)); padding: calc(14 * var(--u)); display: flex; flex-direction: column; gap: calc(10 * var(--u)); }
.ab-set .logo { height: calc(64 * var(--u)); border-radius: calc(10 * var(--u)); background: #233240; color: #F8FAFC; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: calc(22 * var(--u)); letter-spacing: .02em; }
.ab-set .sw { position: relative; display: flex; gap: calc(8 * var(--u)); }
.ab-set .sw i { width: calc(26 * var(--u)); height: calc(26 * var(--u)); border-radius: calc(7 * var(--u)); display: block; }
.ab-set .sw em { position: absolute; left: calc(-3 * var(--u)); top: calc(-3 * var(--u)); width: calc(32 * var(--u)); height: calc(32 * var(--u)); border-radius: calc(9 * var(--u)); box-shadow: 0 0 0 2px #233240; animation: ab-swsel 10s infinite cubic-bezier(.6,0,.2,1); }
@keyframes ab-swsel { 0%, 25% { transform: none; } 31%, 60% { transform: translateX(calc(68 * var(--u))); } 66%, 100% { transform: none; } }
.ab-set .admins { right: calc(20 * var(--u)); top: calc(70 * var(--u)); width: calc(200 * var(--u)); padding: calc(4 * var(--u)) calc(14 * var(--u)); }
.ab-set .admins > div { display: flex; align-items: center; gap: calc(9 * var(--u)); padding: calc(10 * var(--u)) 0; }
.ab-set .admins > div + div { border-top: 1px solid #EEF2F6; }
.ab-set .admins .face { width: calc(26 * var(--u)); height: calc(26 * var(--u)); border-radius: 50%; flex: none; }
.ab-set .role { margin-left: auto; padding: calc(3 * var(--u)) calc(8 * var(--u)); border-radius: 999px; background: #EEF2F6; font-size: calc(10 * var(--u)); font-weight: 700; }

/* ===== Phone screen variants ===== */
.ab-phone .pg { padding: calc(4 * var(--p)) calc(14 * var(--p)); display: flex; flex-direction: column; gap: calc(10 * var(--p)); }
.ab-phone .ph1 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: calc(20 * var(--p)); line-height: 1.1; letter-spacing: -0.02em; }
.ab-phone .g2 { display: grid; grid-template-columns: 1fr 1fr; gap: calc(10 * var(--p)); }
.ab-phone .pc { position: relative; }
.ab-phone .pc .im { position: relative; border: 1px solid #DCE3EA; border-radius: calc(10 * var(--p)); overflow: hidden; background: #FFFFFF; }
.ab-phone .pc .im img { display: block; width: 100%; height: auto; }
.ab-phone .pc .plus { position: absolute; right: calc(6 * var(--p)); bottom: calc(6 * var(--p)); width: calc(24 * var(--p)); height: calc(24 * var(--p)); border-radius: 50%; border: 1.5px solid #233240; background: #FFFFFF; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: calc(14 * var(--p)); line-height: 1; }
.ab-phone .pc.tapme .plus { animation: ab-press 10s infinite; }
.ab-phone .pc .nm { margin: calc(5 * var(--p)) 0 0; font-size: calc(8.5 * var(--p)); line-height: 1.25; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; text-align: center; }
.ab-phone .pc .av { margin: calc(2 * var(--p)) 0 0; font-size: calc(10 * var(--p)); text-align: center; }
.ab-phone .filter { display: flex; align-items: center; gap: calc(6 * var(--p)); font-size: calc(10 * var(--p)); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.ab-phone .center { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: calc(16 * var(--p)); gap: calc(10 * var(--p)); }
.ab-phone .field { position: relative; height: calc(38 * var(--p)); border-radius: calc(10 * var(--p)); border: 1px solid #DCE3EA; background: #FFFFFF; display: flex; align-items: center; padding: 0 calc(12 * var(--p)); overflow: hidden; white-space: nowrap; }
.ab-phone .field span { display: inline-block; overflow: hidden; white-space: nowrap; animation: ab-type 10s infinite steps(16, end); }
.ab-phone .code { display: grid; grid-template-columns: repeat(6, 1fr); gap: calc(6 * var(--p)); }
.ab-phone .code b { height: calc(36 * var(--p)); border-radius: calc(8 * var(--p)); border: 1px solid #DCE3EA; background: #FFFFFF; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: calc(15 * var(--p)); }
.ab-phone .code b span { opacity: 0; animation: ab-digit 10s infinite; }
.ab-phone .code b:nth-child(2) span { animation-delay: .25s; } .ab-phone .code b:nth-child(3) span { animation-delay: .5s; } .ab-phone .code b:nth-child(4) span { animation-delay: .75s; } .ab-phone .code b:nth-child(5) span { animation-delay: 1s; } .ab-phone .code b:nth-child(6) span { animation-delay: 1.25s; }
@keyframes ab-digit { 0%, 32% { opacity: 0; transform: translateY(calc(6 * var(--p))); } 35%, 90% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; } }
.ab-phone .bigok { width: calc(64 * var(--p)); height: calc(64 * var(--p)); border-radius: 50%; background: #E4F2E1; color: #3E8E2F; display: flex; align-items: center; justify-content: center; align-self: center; animation: ab-pop 10s infinite; }
.ab-phone .bigok svg { width: 50%; height: 50%; }
.ab-phone .vstep { display: grid; grid-template-columns: calc(20 * var(--p)) 1fr; gap: calc(10 * var(--p)); align-items: start; }
.ab-phone .vstep .d { position: relative; width: calc(18 * var(--p)); height: calc(18 * var(--p)); border-radius: 50%; border: 2px solid #DCE3EA; background: #FFFFFF; }
.ab-phone .vstep .d::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; background: #3E8E2F; opacity: 0; animation: ab-stop 10s infinite; }
.ab-phone .vstep.s1 .d::after { opacity: 1; animation: none; }
.ab-phone .vstep.s2 .d::after { animation-delay: 2s; } .ab-phone .vstep.s3 .d::after { animation-delay: 4s; } .ab-phone .vstep.s4 .d::after { animation-delay: 6s; }
.ab-phone .sum { display: flex; justify-content: space-between; padding: calc(7 * var(--p)) 0; border-top: 1px solid #E3E8EE; }
.ab-phone .note { padding: calc(10 * var(--p)); border-radius: calc(10 * var(--p)); background: #EEF2F6; text-align: center; color: #5B748A; }
.ab-phone .cta { --u: calc(0.9 * var(--p)); animation: ab-press 10s infinite; }
@media (prefers-reduced-motion: reduce) { .ab-phone .field span, .ab-send .fld span { max-width: none !important; } .ab-phone .code b span { opacity: 1; } }

/* ===== How it works: steps that advance on a timer, each driving its own scene below ===== */
.hw-steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-8); }
.hw-step { position: relative; padding-top: var(--space-6); border-top: 2px solid var(--line); animation: hw-step 12s infinite both; }
.hw-step::before { content: ''; position: absolute; top: -2px; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, var(--electric-cyan), var(--relay-orange)); transform-origin: left center; animation: hw-bar 12s infinite linear both; animation-delay: inherit; }
.hw-step .n { display: block; font-family: var(--font-display); letter-spacing: -0.02em; font-size: 32px; line-height: 36px; font-weight: 600; color: var(--ink); margin-bottom: var(--space-4); }
.hw-step h3 { margin: 0 0 var(--space-2); font-size: 18px; line-height: 26px; font-weight: 600; color: var(--ink); }
.hw-step p { margin: 0; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.hw-step.i2, .hw-scene.i2 { animation-delay: -8s; }
.hw-step.i3, .hw-scene.i3 { animation-delay: -4s; }
@keyframes hw-step { 0%, 32% { opacity: 1; } 36%, 96% { opacity: .42; } 100% { opacity: 1; } }
@keyframes hw-bar { 0% { transform: scaleX(0); opacity: 1; } 33% { transform: scaleX(1); opacity: 1; } 36%, 100% { transform: scaleX(1); opacity: 0; } }
@media (max-width: 720px) { .hw-steps { grid-template-columns: 1fr; gap: var(--space-6); } }
.hw-stage { position: relative; margin-top: 48px; border-radius: var(--radius-xl); background: var(--surface-sunken); padding: 24px; overflow: hidden; }
.hw-stage .ab { --dw: 1100; aspect-ratio: 1100 / 380; }
.hw-scene { position: absolute; inset: 0; animation: hw-scene 12s infinite both; }
@keyframes hw-scene { 0% { opacity: 0; transform: translateY(calc(14 * var(--u))); } 3%, 31% { opacity: 1; transform: none; } 34%, 100% { opacity: 0; transform: translateY(calc(-10 * var(--u))); } }
.hw-scene .ab-card { padding: calc(18 * var(--u)); display: flex; flex-direction: column; gap: calc(10 * var(--u)); }
.hw-list > div { display: flex; align-items: center; gap: calc(10 * var(--u)); padding: calc(9 * var(--u)) 0; }
.hw-list > div + div { border-top: 1px solid #EEF2F6; }
.hw-face { width: calc(28 * var(--u)); height: calc(28 * var(--u)); border-radius: 50%; flex: none; }
.hw-scene .ab-sizes { --u: calc(1 * 100cqw / 1100); }
.hw-scene .g4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: calc(8 * var(--u)); }
.hw-scene .chk { margin-left: auto; width: calc(20 * var(--u)); height: calc(20 * var(--u)); border-radius: 50%; background: #3E8E2F; color: #FFFFFF; display: flex; align-items: center; justify-content: center; flex: none; opacity: 0; transform: scale(.4); animation: ab-chk 10s infinite; }
.hw-scene .chk svg { width: 60%; height: 60%; }
.hw-scene .d2 .chk { animation-delay: .5s; } .hw-scene .d3 .chk { animation-delay: 1s; } .hw-scene .d4 .chk { animation-delay: 1.5s; }
.hw-link { height: calc(36 * var(--u)); border-radius: calc(9 * var(--u)); border: 1px solid #DCE3EA; display: flex; align-items: center; gap: calc(8 * var(--u)); padding: 0 calc(12 * var(--u)); overflow: hidden; white-space: nowrap; color: #0A7390; font-weight: 600; }
.hw-link span { display: inline-block; overflow: hidden; white-space: nowrap; animation: ab-type 10s infinite steps(20, end); }
@media (prefers-reduced-motion: reduce) { .hw-step, .hw-step::before { animation: none; } .hw-scene { animation: none; opacity: 0; } .hw-scene.i1 { opacity: 1; } }
.hw-scene .ab-card.ab-row { flex-direction: row; align-items: center; }

/* ===== Header: transparent on every page; Solutions mega menu opens on hover and floats over the page ===== */
.page .rl-nav-inner { position: relative; }
.nav-dd { display: flex; align-items: center; }
.nav-caret .rl-icon { transition: transform .18s ease; }
.nav-dd:hover .nav-caret .rl-icon, .nav-dd:focus-within .nav-caret .rl-icon { transform: rotate(180deg); }
.nav-mega { position: absolute; z-index: 40; left: var(--gutter); right: var(--gutter); top: calc(50% + 10px); padding-top: calc(var(--nav-height) / 2 - 2px); opacity: 0; visibility: hidden; transform: translateY(6px); pointer-events: none; transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s; }
.nav-mega .menu-panel { text-align: left; box-shadow: 0 2px 6px #2332400f, 0 28px 64px -16px #23324047; }
.nav-dd:hover .nav-mega, .nav-dd:focus-within .nav-mega, .nav-mega.is-open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: opacity .18s ease, transform .18s ease, visibility 0s; }
@media (max-width: 860px) { .nav-dd { display: block; } .nav-mega { display: none; } .nav-dd:hover .nav-caret .rl-icon { transform: none; } }
@media (prefers-reduced-motion: reduce) { .nav-mega, .nav-caret .rl-icon { transition: none; } }

/* ===== Hero gradient family: same palette, a different composition per page so each page reads as its own place ===== */
.rl-gradient.hg-1 { background: radial-gradient(90% 120% at 0% 0%, var(--gradient-ember) 0%, var(--gradient-peach) 30%, transparent 60%), linear-gradient(250deg, var(--gradient-sky) 0%, var(--gradient-mist) 60%); }
.rl-gradient.hg-2 { background: radial-gradient(140% 80% at 50% 125%, var(--gradient-ember) 0%, var(--gradient-peach) 35%, transparent 70%), linear-gradient(180deg, var(--gradient-sky) 0%, var(--gradient-mist) 60%); }
.rl-gradient.hg-3 { background: linear-gradient(100deg, var(--gradient-sky) 0%, var(--gradient-mist) 42%, var(--gradient-peach) 76%, var(--gradient-ember) 112%); }
.rl-gradient.hg-4 { background: radial-gradient(30% 45% at 96% 0%, var(--gradient-ember) 0%, transparent 70%), radial-gradient(60% 90% at 85% 15%, var(--gradient-peach) 0%, transparent 70%), radial-gradient(70% 100% at 8% 100%, var(--gradient-sky) 0%, transparent 72%), var(--gradient-mist); }
.rl-gradient.hg-5 { background: radial-gradient(120% 100% at 50% -20%, var(--gradient-sky) 0%, transparent 70%), radial-gradient(80% 90% at 100% 100%, var(--gradient-peach) 0%, transparent 70%), var(--gradient-mist); }
.rl-gradient.hg-6 { background: radial-gradient(70% 120% at 72% 112%, var(--gradient-ember) 0%, var(--gradient-peach) 35%, transparent 65%), linear-gradient(160deg, var(--gradient-mist) 20%, var(--gradient-sky) 100%); }
.rl-gradient.hg-7 { background: radial-gradient(80% 100% at 0% 100%, var(--gradient-ember) 0%, var(--gradient-peach) 30%, transparent 62%), radial-gradient(80% 100% at 100% 0%, var(--gradient-sky) 0%, transparent 70%), var(--gradient-mist); }
.rl-gradient.hg-8 { background: radial-gradient(40% 60% at 88% 60%, var(--gradient-ember) 0%, transparent 62%), radial-gradient(55% 80% at 80% 50%, var(--gradient-peach) 0%, transparent 70%), linear-gradient(90deg, var(--gradient-sky) 0%, var(--gradient-mist) 50%); }
.rl-gradient.hg-9 { background: radial-gradient(80% 120% at 0% 50%, var(--gradient-mist) 30%, transparent 72%), conic-gradient(from 200deg at 85% 35%, var(--gradient-sky), var(--gradient-mist), var(--gradient-peach), var(--gradient-ember), var(--gradient-sky)); }
.rl-gradient.hg-10 { background: radial-gradient(50% 50% at 62% -5%, var(--gradient-ember) 0%, transparent 70%), radial-gradient(100% 75% at 55% -5%, var(--gradient-peach) 0%, transparent 72%), linear-gradient(0deg, var(--gradient-sky) 0%, var(--gradient-mist) 70%); }
.rl-gradient.hg-11 { background: radial-gradient(45% 70% at 0% 100%, var(--gradient-ember) 0%, transparent 65%), linear-gradient(135deg, var(--gradient-peach) 0%, var(--gradient-mist) 35%, var(--gradient-sky) 68%, var(--gradient-mist) 100%); }
.rl-gradient.hg-12 { background: radial-gradient(40% 70% at 0% 55%, var(--gradient-ember) 0%, transparent 62%), radial-gradient(70% 110% at 0% 40%, var(--gradient-peach) 0%, transparent 72%), linear-gradient(270deg, var(--gradient-sky) 0%, var(--gradient-mist) 60%); }
.rl-gradient.hg-13 { background: radial-gradient(35% 50% at 100% 100%, var(--gradient-ember) 0%, transparent 70%), linear-gradient(160deg, transparent 38%, var(--gradient-peach) 58%, transparent 80%), linear-gradient(115deg, var(--gradient-sky) 0%, var(--gradient-mist) 60%); }
.rl-gradient.hg-14 { background: radial-gradient(50% 70% at 75% 35%, var(--gradient-ember) 0%, var(--gradient-peach) 30%, transparent 65%), radial-gradient(100% 100% at 0% 0%, var(--gradient-sky) 0%, transparent 70%), var(--gradient-mist); }
.rl-gradient.hg-15 { background: radial-gradient(130% 60% at 30% 112%, var(--gradient-sky) 0%, transparent 72%), radial-gradient(90% 90% at 100% 0%, var(--gradient-peach) 0%, transparent 65%), radial-gradient(35% 45% at 100% 0%, var(--gradient-ember) 0%, transparent 70%), var(--gradient-mist); }
.rl-gradient.hg-16 { background: radial-gradient(140% 140% at 110% 125%, transparent 42%, var(--gradient-peach) 54%, var(--gradient-ember) 62%, var(--gradient-peach) 68%, transparent 80%), linear-gradient(115deg, var(--gradient-sky) 0%, var(--gradient-mist) 60%); }
.rl-gradient.hg-17 { background: radial-gradient(60% 60% at 70% 25%, var(--gradient-sky) 0%, transparent 70%), radial-gradient(60% 75% at 88% 90%, var(--gradient-ember) 0%, var(--gradient-peach) 35%, transparent 70%), var(--gradient-mist); }
.rl-gradient.hg-18 { background: radial-gradient(45% 60% at 100% 0%, var(--gradient-ember) 0%, transparent 70%), linear-gradient(200deg, var(--gradient-peach) 0%, var(--gradient-mist) 42%, var(--gradient-sky) 100%); }
.rl-gradient.hg-19 { background: radial-gradient(35% 55% at 82% 42%, var(--gradient-ember) 0%, var(--gradient-peach) 40%, transparent 75%), linear-gradient(115deg, var(--gradient-mist) 0%, var(--gradient-sky) 100%); }
.rl-gradient.hg-20 { background: radial-gradient(120% 90% at 100% 0%, var(--gradient-ember) 0%, var(--gradient-peach) 25%, transparent 55%), radial-gradient(80% 80% at 0% 100%, var(--gradient-sky) 0%, transparent 70%), var(--gradient-mist); }
/* Trade Show: "booth spotlights" — two tall beams from above with a warm floor glow */
.rl-gradient.hg-21 { background: radial-gradient(22% 95% at 62% -8%, var(--gradient-peach) 0%, transparent 70%), radial-gradient(22% 95% at 84% -8%, var(--gradient-ember) 0%, var(--gradient-peach) 30%, transparent 72%), radial-gradient(90% 45% at 75% 110%, var(--gradient-peach) 0%, transparent 70%), linear-gradient(180deg, var(--gradient-sky) 0%, var(--gradient-mist) 70%); }

/* Larger hero visual (Trade Show): aside column ~20% wider than the default .85fr split */
@media (min-width: 861px) { .rl-hero.has-aside.aside-lg .rl-hero-inner { grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); } }

/* Trade Show hero: each card runs as a set — meters fill, outline selects, bubble pops — then the next card; all reset and loop (13s) */
.ab-tsq .lc::after { content: ""; position: absolute; inset: -2px; border-radius: inherit; border: 2px solid #0A7390; box-shadow: 0 0 0 calc(5 * var(--u)) #0A73901f; opacity: 0; pointer-events: none; animation: 13s infinite ease-in-out; }
.ab-tsq .m .t i { animation: 13s infinite cubic-bezier(.2,.8,.2,1); }
.ab-tsq .tb { top: calc(228 * var(--u)); opacity: 0; animation: 13s infinite cubic-bezier(.2,.8,.2,1); }
.ab-tsq .tb.b1 { left: calc(14 * var(--u)); } .ab-tsq .tb.b2 { left: calc(118 * var(--u)); top: calc(250 * var(--u)); } .ab-tsq .tb.b3 { right: calc(14 * var(--u)); }
.ab-tsq .lc.l1::after { animation-name: ab-tsq-ring1; } .ab-tsq .lc.l1 .m .t i { animation-name: ab-tsq-meter1; } .ab-tsq .tb.b1 { animation-name: ab-tsq-pop1; }
@keyframes ab-tsq-meter1 { 0% { transform: scaleX(0); } 8%, 92% { transform: scaleX(1); } 97%, 100% { transform: scaleX(0); } }
@keyframes ab-tsq-ring1 { 0% { opacity: 0; } 2%, 27% { opacity: 1; } 30%, 100% { opacity: 0; } }
@keyframes ab-tsq-pop1 { 0%, 5% { opacity: 0; transform: translateY(calc(12 * var(--u))) scale(.96); } 9%, 27% { opacity: 1; transform: none; } 30%, 100% { opacity: 0; transform: translateY(calc(-6 * var(--u))); } }
.ab-tsq .lc.l2::after { animation-name: ab-tsq-ring2; } .ab-tsq .lc.l2 .m .t i { animation-name: ab-tsq-meter2; } .ab-tsq .tb.b2 { animation-name: ab-tsq-pop2; }
@keyframes ab-tsq-meter2 { 0%, 30% { transform: scaleX(0); } 38%, 92% { transform: scaleX(1); } 97%, 100% { transform: scaleX(0); } }
@keyframes ab-tsq-ring2 { 0%, 30% { opacity: 0; } 32%, 57% { opacity: 1; } 60%, 100% { opacity: 0; } }
@keyframes ab-tsq-pop2 { 0%, 35% { opacity: 0; transform: translateY(calc(12 * var(--u))) scale(.96); } 39%, 57% { opacity: 1; transform: none; } 60%, 100% { opacity: 0; transform: translateY(calc(-6 * var(--u))); } }
.ab-tsq .lc.l3::after { animation-name: ab-tsq-ring3; } .ab-tsq .lc.l3 .m .t i { animation-name: ab-tsq-meter3; } .ab-tsq .tb.b3 { animation-name: ab-tsq-pop3; }
@keyframes ab-tsq-meter3 { 0%, 60% { transform: scaleX(0); } 68%, 92% { transform: scaleX(1); } 97%, 100% { transform: scaleX(0); } }
@keyframes ab-tsq-ring3 { 0%, 60% { opacity: 0; } 62%, 87% { opacity: 1; } 90%, 100% { opacity: 0; } }
@keyframes ab-tsq-pop3 { 0%, 65% { opacity: 0; transform: translateY(calc(12 * var(--u))) scale(.96); } 69%, 87% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; transform: translateY(calc(-6 * var(--u))); } }
@media (prefers-reduced-motion: reduce) { .ab-tsq .lc::after, .ab-tsq .tb, .ab-tsq .m .t i { animation: none !important; } .ab-tsq .tb { opacity: 0; } .ab-tsq .tb.b3, .ab-tsq .lc.l3::after { opacity: 1; } }

/* "The problem" panel — reads as a list of pain points Relay removes, distinct from feature lists */
.pb-panel { position: relative; border-radius: var(--radius-lg); border: 1px solid color-mix(in srgb, var(--orange-text) 22%, var(--line)); background: color-mix(in srgb, var(--orange-text) 5%, var(--surface-raised)); overflow: hidden; }
.pb-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 24px; border-bottom: 1px dashed color-mix(in srgb, var(--orange-text) 30%, var(--line)); }
.pb-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-text); }
.pb-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, var(--orange-text) 18%, transparent); }
.pb-count { font-size: 13px; color: var(--ink-muted, #5B748A); }
.pb-list { list-style: none; margin: 0; padding: 8px 24px; }
.pb-item { display: flex; align-items: flex-start; gap: 16px; padding: 16px 0; }
.pb-item + .pb-item { border-top: 1px solid color-mix(in srgb, var(--orange-text) 12%, var(--line)); }
.pb-mark { position: relative; flex: none; width: 32px; height: 32px; margin-top: 1px; }
.pb-mark > span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.pb-mark svg { width: 16px; height: 16px; }
.pb-mark .x { background: color-mix(in srgb, var(--orange-text) 14%, var(--surface-raised)); color: var(--orange-text); }
.pb-mark .c { background: #3E8E2F; color: #FFFFFF; opacity: 0; transform: scale(.6); }
.pb-text { position: relative; margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 28px; letter-spacing: -0.01em; color: var(--ink); }
.pb-foot { display: flex; align-items: center; gap: 12px; padding: 16px 24px; background: var(--ink); color: var(--surface); font-weight: 700; text-decoration: none; }
a.pb-foot, a.pb-foot:hover { color: var(--surface); }
.pb-foot .pb-ok { display: inline-flex; width: 24px; height: 24px; border-radius: 50%; background: #3E8E2F; color: #FFFFFF; align-items: center; justify-content: center; flex: none; }
.pb-foot .pb-ok svg { width: 13px; height: 13px; }
.pb-foot .pb-arrow { margin-left: auto; display: inline-flex; width: 20px; height: 20px; transition: transform .2s ease; }
.pb-foot:hover .pb-arrow { transform: translateY(3px); }
@media (max-width: 600px) { .pb-head, .pb-foot { padding: 14px 18px; } .pb-list { padding: 4px 18px; } .pb-text { font-size: 17px; line-height: 24px; } .pb-count { display: none; } }

/* Plan recommendation (replaces the old "Plan fit" strip) */
.fit.fit2 { grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-8); }
.fit-copy { display: flex; flex-direction: column; gap: 8px; max-width: 640px; }
.fit-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan-text); }
.fit-title { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 28px; line-height: 36px; letter-spacing: -0.02em; color: var(--ink); }
.fit-body { margin: 0; color: var(--ink-muted, #5B748A); font-size: 16px; line-height: 24px; }
.fit-side { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.fit-plans { display: inline-flex; padding: 4px; gap: 4px; border-radius: 999px; background: var(--surface-sunken); border: 1px solid var(--line); }
.fp { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-muted, #5B748A); white-space: nowrap; }
.fp em { font-style: normal; font-weight: 500; opacity: .75; }
.fp svg { width: 14px; height: 14px; }
.fp.is-on { background: var(--ink); color: var(--surface); }
@media (max-width: 860px) { .fit.fit2 { grid-template-columns: 1fr; gap: var(--space-6); } .fit-side { align-items: flex-start; } .fit-title { font-size: 24px; line-height: 32px; } }
@media (max-width: 420px) { .fp { padding: 7px 10px; font-size: 13px; } }

/* "Not just software" service list: hairline-divided rows that carry the right column */
.check-list.svc-list { gap: 0; margin: 0; }
.check-list.svc-list li { padding: 20px 0; border-top: 1px solid color-mix(in srgb, #FFFFFF 14%, transparent); font-size: 18px; line-height: 26px; align-items: flex-start; }
.check-list.svc-list li:last-child { border-bottom: 1px solid color-mix(in srgb, #FFFFFF 14%, transparent); }
.check-list.svc-list li svg { margin-top: 4px; }

/* Homepage static client logo row (light, under the hero) */
.logo-row { display: flex; flex-direction: column; align-items: center; gap: 28px; padding-top: 56px; padding-bottom: 8px; }
.lr-heading { margin: 0; font-family: var(--font-sans); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted, #5B748A); text-align: center; }
.lr-list { list-style: none; margin: 0; padding: 0; width: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 36px 72px; }
.lr-list li { flex: none; display: flex; align-items: center; justify-content: center; }
.lr-list img { display: block; width: auto; max-width: none; flex: none; opacity: .85; }
.lr-list .h-hilton { height: 38px; } .lr-list .h-adobe { height: 27px; } .lr-list .h-barclays { height: 24px; }
.lr-list .h-exxon { height: 20px; } .lr-list .h-micron { height: 24px; } .lr-list .h-frontier { height: 29px; }
@media (max-width: 600px) { .lr-list { gap: 28px 44px; } .lr-list .h-hilton { height: 32px; } .lr-list .h-adobe { height: 23px; } .lr-list .h-barclays { height: 20px; } .lr-list .h-exxon { height: 17px; } .lr-list .h-micron { height: 20px; } .lr-list .h-frontier { height: 25px; } }

/* Pricing fine print under the plan cards */
.fine-print { margin: 40px auto 0; max-width: 760px; text-align: center; font-size: 13px; line-height: 20px; color: var(--ink-muted, #5B748A); }

/* Pricing: equal-height plan cards, CTAs pinned to the bottom, "Best for" notes aligned */
.plan-grid > .stack { display: flex; flex-direction: column; }
.plan-grid > .stack > :first-child { flex: 1 1 auto; display: flex; flex-direction: column; }
.plan-grid .rl-plan { flex: 1 1 auto; }
.plan-grid .rl-plan-cta { margin-top: auto; }
.plan-grid .rl-plan-list { margin-bottom: var(--space-4); }

/* ===== Cookie consent ===== */
.ck { position: fixed; left: 24px; bottom: 24px; z-index: 100; width: min(440px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: auto; box-sizing: border-box; padding: 24px; background: var(--surface-raised); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 4px 12px #2332400f, 0 16px 40px -6px #23324033; font-family: var(--font-sans); }
.ck[hidden] { display: none; }
.ck-title { margin: 0 0 8px; font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 24px; letter-spacing: -0.01em; }
.ck-text { margin: 0; font-size: 14px; line-height: 21px; color: var(--ink-muted); }
.ck-text a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.ck-prefs { margin: 16px 0 0; border-top: 1px solid var(--line); }
.ck-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ck-row b { font-size: 14px; font-weight: 600; }
.ck-row span { grid-column: 1; font-size: 13px; line-height: 19px; color: var(--ink-muted); }
.ck-row .ck-on { grid-row: 1 / span 2; grid-column: 2; font-size: 12px; font-weight: 600; color: var(--ink-muted); }
.ck-sw { grid-row: 1 / span 2; grid-column: 2; appearance: none; -webkit-appearance: none; margin: 0; width: 40px; height: 24px; border-radius: 999px; background: #C9D3DC; position: relative; cursor: pointer; transition: background-color .15s ease; }
.ck-sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 2px #23324033; transition: transform .15s ease; }
.ck-sw:checked { background: var(--action); }
.ck-sw:checked::after { transform: translateX(16px); }
.ck-sw:disabled { opacity: .5; cursor: not-allowed; }
.ck-sw:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }
.ck-gpc { margin: 12px 0 0; font-size: 12px; line-height: 18px; color: var(--ink-muted); }
.ck-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ck-actions .rl-btn { flex: 1 1 auto; justify-content: center; }
.ck-link { flex: 1 0 100%; margin-top: 2px; padding: 4px 0; border: 0; background: none; font: inherit; font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
@media (max-width: 600px) { .ck { left: 16px; right: 16px; bottom: 16px; width: auto; padding: 20px; } }

/* ===== 404 quick links ===== */
.nf-link { transition: transform .15s ease, box-shadow .15s ease; }
.nf-link:hover { transform: translateY(-2px); color: inherit; }

/* Form privacy notice */
.form-note { margin: 0; font-size: 13px; line-height: 20px; color: #4E6377; }
.form-note a { color: #0A7390; text-decoration: underline; text-underline-offset: 2px; }
.form-note a:hover { color: #233240; }
/* Mobile header: keep "Get a demo" visible next to the menu toggle */
@media (max-width: 860px) {
  .page .rl-nav-actions { display: flex; margin-left: auto; }
  .page .rl-nav-actions .rl-btn { font-size: 14px; line-height: 18px; padding: 9px 14px; white-space: nowrap; }
  .page .rl-nav-toggle { margin-left: 4px; }
}
@media (max-width: 380px) {
  .page .rl-nav-inner { gap: 8px; }
  .page .rl-nav-actions .rl-btn { font-size: 13px; padding: 8px 10px; }
  .page .rl-nav-toggle { width: 40px; margin-left: 0; }
}
