/* ============================================================
   LOOPMERCE — CUSTOMER REP (Chrome side-panel extension)
   All rules scoped under .customer-rep-page so the locked
   homepage, global header and global footer are untouched.
   Shared primitives (.eyebrow, .sec-*, .btn-*, .faq, .reveal,
   header, footer) come from the shared CSS.
   ============================================================ */

.customer-rep-page {
  --accent:      var(--navy);        /* deep blue — product accent */
  --accent-ink:  #16305A;
  --accent-soft: #E9EEF6;
  --accent-wash: #F4F7FB;

  --cr-navy:  #1C3B6E;
  --cr-blue:  #2C7BF0;
  --cr-cyan:  #17A6CC;
  --cr-green: #15A98A;
  --cr-amber: #C6841C;
  --cr-wash:  #F5F8FD;
  --cr-line:  var(--line);

  /* light tokens for the dark (navy) sections */
  --cr-on-dark:      #FFFFFF;
  --cr-on-dark-soft: #CBD8EE;
  --cr-on-dark-mut:  #A9BEDD;

  position: relative; display: block;
}

/* ---- capture-safe scroll reveal (scoped) ----
   Scroll-reveal content is VISIBLE BY DEFAULT so full-page PDF / screenshot
   captures, print, and no-JS renders never show blank, hidden or "unreadable"
   sections. The gentle scroll-in is armed only when JS is live (customer-rep.js
   adds .cr-reveal-on) and is fully released for print, reduced motion, and by a
   JS failsafe so nothing can stay stuck at opacity 0. */
.customer-rep-page .reveal { opacity: 1; transform: none; }
.customer-rep-page.cr-reveal-on .reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.customer-rep-page.cr-reveal-on .reveal.in { opacity: 1; transform: none; }
@media print {
  .customer-rep-page.cr-reveal-on .reveal { opacity: 1 !important; transform: none !important; }
  .customer-rep-page .cr-hero .cr-hero__eyebrow,
  .customer-rep-page .cr-hero .cr-hero__title,
  .customer-rep-page .cr-hero .cr-hero__lead,
  .customer-rep-page .cr-hero .cr-hero__actions,
  .customer-rep-page .cr-hero .cr-hero__trust,
  .customer-rep-page .cr-hero .cr-stage__main,
  .customer-rep-page .cr-hero .cr-float,
  .customer-rep-page .cr-hero .cr-pill { opacity: 1 !important; transform: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .customer-rep-page.cr-reveal-on .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- section rhythm ---- */
.customer-rep-page .cr-sec { padding: clamp(64px, 8vw, 116px) 0; position: relative; }
.customer-rep-page .cr-sec--tight { padding: clamp(52px, 6.5vw, 96px) 0; }
.customer-rep-page .cr-sec--wash { background: var(--cr-wash); }
.customer-rep-page .cr-head { max-width: 800px; }
.customer-rep-page .cr-head .sec-title { margin: 16px 0 0; }
.customer-rep-page .cr-head .sec-lead  { margin: 16px 0 0; max-width: 680px; }
.customer-rep-page .cr-head--center { margin-inline: auto; text-align: center; }
.customer-rep-page .cr-head--center .sec-lead { margin-inline: auto; }
.customer-rep-page .cr-kicker { margin-top: clamp(26px, 3vw, 40px); font-size: 1.02rem; font-weight: 650; color: var(--cr-navy); }

/* ---- frames ---- */
.customer-rep-page .cr-frame {
  position: relative; background: #fff;
  border: 1px solid color-mix(in srgb, var(--cr-navy) 13%, var(--cr-line)); border-radius: 16px;
  box-shadow: 0 1px 2px rgba(16,24,48,.06), 0 4px 10px rgba(16,24,48,.05), 0 26px 56px rgba(16,24,48,.15);
  overflow: hidden;
}
.customer-rep-page .cr-frame__bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 15px; border-bottom: 1px solid var(--line-2);
  background: linear-gradient(180deg, #fff, #FBFCFE);
}
.customer-rep-page .cr-frame__bar span { width: 10px; height: 10px; border-radius: 50%; background: #E0E5EE; }
.customer-rep-page .cr-frame__bar span:nth-child(1) { background: #F3B7B0; }
.customer-rep-page .cr-frame__bar span:nth-child(2) { background: #F7DDA6; }
.customer-rep-page .cr-frame__bar span:nth-child(3) { background: #B7E3C8; }
.customer-rep-page .cr-frame__url {
  margin-left: 10px; font-size: .74rem; color: var(--muted); font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.customer-rep-page .cr-frame--panel { border-radius: 18px; }
.customer-rep-page .cr-shot { display: block; width: 100%; height: auto; }
.customer-rep-page .cr-shot--cover { object-fit: cover; object-position: top center; }

/* ============================================================
   1) HERO — Chrome side panel
   ============================================================ */
.customer-rep-page .cr-hero {
  position: relative; isolation: isolate; text-align: center; overflow: clip;
  padding: clamp(38px, 5vw, 72px) 0 clamp(52px, 7vw, 100px);
}
.customer-rep-page .cr-hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.customer-rep-page .cr-hero__grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(28,59,110,.10) 1px, transparent 1px);
  background-size: 30px 30px; opacity: .18;
  -webkit-mask-image: radial-gradient(78% 60% at 50% 6%, #000 0%, transparent 76%);
          mask-image: radial-gradient(78% 60% at 50% 6%, #000 0%, transparent 76%);
}
.customer-rep-page .cr-hero__glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .7; }
.customer-rep-page .cr-hero__glow--blue { width: 760px; height: 520px; left: 50%; top: -60px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(44,123,240,.26), transparent 72%); }
.customer-rep-page .cr-hero__glow--cyan { width: 520px; height: 400px; right: -60px; top: 190px; background: radial-gradient(closest-side, rgba(23,166,204,.18), transparent 72%); }

.customer-rep-page .cr-hero__inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.customer-rep-page .cr-hero__copy { max-width: 940px; margin: 0 auto; }
.customer-rep-page .cr-hero__title {
  margin: 18px 0 0; font-weight: 900; letter-spacing: -.035em; color: var(--ink);
  font-size: clamp(2.1rem, 1.3rem + 2.9vw, 3.5rem); line-height: 1.05;
}
.customer-rep-page .cr-hero__title .g {
  background: linear-gradient(120deg, var(--cr-navy) 0%, var(--cr-blue) 55%, var(--cr-cyan) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.customer-rep-page .cr-hero__lead { margin: 20px auto 0; max-width: 720px; font-size: clamp(1.02rem, 1.15vw, 1.18rem); line-height: 1.6; color: var(--muted); }
.customer-rep-page .cr-hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.customer-rep-page .cr-hero__trust { list-style: none; display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin: 24px 0 0; padding: 0; }
.customer-rep-page .cr-hero__trust li { display: inline-flex; align-items: center; gap: 9px; font-size: .92rem; font-weight: 600; color: var(--ink-2); }
.customer-rep-page .cr-hero__trust svg { width: 18px; height: 18px; color: var(--cr-green); flex: 0 0 auto; }
.customer-rep-page .cr-hero__micro { margin: 16px 0 0; font-size: .86rem; color: var(--muted); }

/* hero stage: browser workspace + floating panel closeup + status pills */
.customer-rep-page .cr-stage { position: relative; max-width: 1120px; margin: clamp(44px, 6vw, 76px) auto 0; }
.customer-rep-page .cr-stage__main { position: relative; z-index: 2; }
.customer-rep-page .cr-stage__main .cr-frame { border-radius: 18px; box-shadow: 0 2px 6px rgba(16,24,48,.06), 0 40px 84px rgba(16,24,48,.18); }
.customer-rep-page .cr-stage__main .cr-shot { aspect-ratio: 1920 / 1200; object-fit: cover; object-position: top center; }
.customer-rep-page .cr-float {
  position: absolute; z-index: 3; width: 220px; right: -14px; bottom: -34px;
  border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--cr-line);
  box-shadow: 0 6px 14px rgba(16,24,48,.10), 0 30px 60px rgba(16,24,48,.20);
  transform: rotate(2deg);
}
.customer-rep-page .cr-float .cr-shot { aspect-ratio: 1000 / 1240; object-fit: cover; object-position: top center; }

.customer-rep-page .cr-pill {
  position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px 9px 11px; border-radius: 100px;
  background: rgba(255,255,255,.95); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 2px 6px rgba(16,24,48,.08), 0 14px 30px rgba(16,24,48,.14);
  font-size: .82rem; font-weight: 700; color: var(--ink); white-space: nowrap;
}
.customer-rep-page .cr-pill .ic { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--cr-green); color: #fff; flex: 0 0 auto; }
.customer-rep-page .cr-pill .ic svg { width: 12px; height: 12px; }
.customer-rep-page .cr-pill--a { top: 30px;  left: 2%; }
.customer-rep-page .cr-pill--b { top: -14px; left: 42%; }
.customer-rep-page .cr-pill--c { top: 44%;   left: -10px; }
.customer-rep-page .cr-pill--d { bottom: 40px; left: 28%; }

/* hero entrance sequence (JS toggles .is-ready) */
.customer-rep-page .cr-hero .cr-hero__eyebrow,
.customer-rep-page .cr-hero .cr-hero__title,
.customer-rep-page .cr-hero .cr-hero__lead,
.customer-rep-page .cr-hero .cr-hero__actions,
.customer-rep-page .cr-hero .cr-hero__trust,
.customer-rep-page .cr-hero .cr-hero__micro,
.customer-rep-page .cr-hero .cr-stage__main,
.customer-rep-page .cr-hero .cr-float,
.customer-rep-page .cr-hero .cr-pill {
  opacity: 0; transform: translateY(20px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
}
.customer-rep-page .cr-hero .cr-float { transform: translateX(24px) rotate(2deg) scale(.96); }
.customer-rep-page .cr-hero .cr-pill { transform: scale(.86); }
.customer-rep-page .cr-hero.is-ready .cr-hero__eyebrow { opacity: 1; transform: none; transition-delay: .04s; }
.customer-rep-page .cr-hero.is-ready .cr-hero__title  { opacity: 1; transform: none; transition-delay: .12s; }
.customer-rep-page .cr-hero.is-ready .cr-hero__lead   { opacity: 1; transform: none; transition-delay: .22s; }
.customer-rep-page .cr-hero.is-ready .cr-hero__actions{ opacity: 1; transform: none; transition-delay: .30s; }
.customer-rep-page .cr-hero.is-ready .cr-hero__trust  { opacity: 1; transform: none; transition-delay: .38s; }
.customer-rep-page .cr-hero.is-ready .cr-hero__micro  { opacity: 1; transform: none; transition-delay: .44s; }
.customer-rep-page .cr-hero.is-ready .cr-stage__main  { opacity: 1; transform: none; transition-delay: .42s; }
.customer-rep-page .cr-hero.is-ready .cr-float { opacity: 1; transform: rotate(2deg); transition-delay: .62s; }
/* pills reveal in workflow order to "demonstrate" the sequence */
.customer-rep-page .cr-hero.is-ready .cr-pill { opacity: 1; transform: none; }
.customer-rep-page .cr-hero.is-ready .cr-pill--a { transition-delay: .70s; }
.customer-rep-page .cr-hero.is-ready .cr-pill--b { transition-delay: .90s; }
.customer-rep-page .cr-hero.is-ready .cr-pill--c { transition-delay: 1.10s; }
.customer-rep-page .cr-hero.is-ready .cr-pill--d { transition-delay: 1.30s; }

/* ============================================================
   2) MARKETPLACE COMPATIBILITY STRIP
   ============================================================ */
.customer-rep-page .cr-compat { text-align: center; }
.customer-rep-page .cr-compat__logos {
  margin: clamp(26px, 3vw, 40px) auto 0; display: flex; flex-wrap: wrap; justify-content: center;
  align-items: center; gap: 14px 18px; max-width: 900px;
}
.customer-rep-page .cr-chip-lg {
  display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px;
  background: #fff; border: 1px solid var(--cr-line); border-radius: 14px;
  box-shadow: var(--shadow-sm); font-weight: 700; color: var(--ink); font-size: .98rem;
}
.customer-rep-page .cr-chip-lg img { height: 22px; width: auto; }
.customer-rep-page .cr-chip-lg svg { width: 22px; height: 22px; color: var(--cr-navy); flex: 0 0 auto; }
.customer-rep-page .cr-compat__note { margin: clamp(22px, 2.4vw, 32px) auto 0; font-size: .86rem; color: var(--muted); max-width: 620px; }

/* ============================================================
   SHARED — pain grid, horizontal flow, chips, lists
   ============================================================ */
.customer-rep-page .cr-flow {
  margin-top: clamp(30px, 3.4vw, 48px); display: flex; align-items: stretch; gap: 8px;
  flex-wrap: wrap; justify-content: center;
}
.customer-rep-page .cr-flow__node {
  flex: 1 1 0; min-width: 128px; background: #fff; border: 1px solid var(--cr-line); border-radius: 14px;
  padding: 14px 14px; text-align: center; font-size: .86rem; font-weight: 650; color: var(--ink);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm);
}
.customer-rep-page .cr-flow__arrow { display: flex; align-items: center; color: color-mix(in srgb, var(--cr-navy) 45%, var(--cr-line)); }
.customer-rep-page .cr-flow__arrow svg { width: 20px; height: 20px; }

/* "eight scattered tools" diagram — filled, intentional composition */
.customer-rep-page .cr-scatter {
  margin-top: clamp(30px, 3.4vw, 48px);
  background: #fff; border: 1px solid var(--cr-line); border-radius: 22px;
  padding: clamp(24px, 3vw, 42px);
  box-shadow: 0 1px 2px rgba(16,24,48,.05), 0 20px 48px rgba(16,24,48,.10);
}
.customer-rep-page .cr-scatter__eyebrow { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--cr-amber); }
.customer-rep-page .cr-scatter__title { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.85rem); font-weight: 850; letter-spacing: -.02em; color: var(--ink); margin: 8px 0 0; }
.customer-rep-page .cr-scatter__lead { font-size: .96rem; color: var(--muted); line-height: 1.55; margin: 10px 0 0; max-width: 780px; }
.customer-rep-page .cr-scatter__rows { margin-top: clamp(22px, 2.6vw, 34px); display: grid; gap: 12px; }
.customer-rep-page .cr-scatter__row { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: stretch; gap: 8px; }
.customer-rep-page .cr-scatter__node {
  background: var(--cr-wash); border: 1px solid var(--cr-line); border-radius: 14px; padding: 16px 16px 15px;
  display: flex; flex-direction: column; gap: 4px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.customer-rep-page .cr-scatter__node:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: color-mix(in srgb, var(--nc, var(--cr-navy)) 40%, var(--cr-line)); }
.customer-rep-page .cr-scatter__ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 8px; background: #fff; border: 1px solid var(--cr-line); color: var(--nc, var(--cr-navy)); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--nc, var(--cr-navy)) 10%, transparent); }
.customer-rep-page .cr-scatter__ic svg { width: 19px; height: 19px; }
.customer-rep-page .cr-scatter__node .t { font-weight: 750; font-size: .98rem; color: var(--ink); letter-spacing: -.01em; }
.customer-rep-page .cr-scatter__node .s { font-size: .82rem; color: var(--muted); }
.customer-rep-page .cr-scatter__plus { align-self: center; color: color-mix(in srgb, var(--cr-navy) 38%, var(--cr-line)); font-weight: 700; font-size: 1.05rem; }
.customer-rep-page .cr-scatter__result {
  margin-top: clamp(20px, 2.4vw, 30px); display: flex; align-items: center; gap: 12px; justify-content: center; text-align: center;
  background: color-mix(in srgb, #E5484D 8%, #fff); border: 1px solid color-mix(in srgb, #E5484D 26%, var(--cr-line)); border-radius: 14px;
  padding: 14px 22px; font-weight: 700; color: #8a2b2f; font-size: .98rem; line-height: 1.4;
}
.customer-rep-page .cr-scatter__rx { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: #E5484D; color: #fff; flex: 0 0 auto; }
.customer-rep-page .cr-scatter__rx svg { width: 16px; height: 16px; }

.customer-rep-page .cr-pains { margin-top: clamp(28px, 3vw, 44px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.customer-rep-page .cr-pain {
  background: #fff; border: 1px solid var(--cr-line); border-radius: 16px; padding: 22px;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .22s ease, border-color .22s ease;
}
.customer-rep-page .cr-pain:hover { transform: translateY(-3px); box-shadow: 0 2px 6px rgba(16,24,48,.05), 0 18px 36px rgba(16,24,48,.10); border-color: color-mix(in srgb, var(--cr-navy) 22%, var(--cr-line)); }
.customer-rep-page .cr-pain__ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 14px; background: color-mix(in srgb, var(--cr-navy) 8%, #fff); color: var(--cr-navy); border: 1px solid color-mix(in srgb, var(--cr-navy) 14%, var(--cr-line)); }
.customer-rep-page .cr-pain__ic svg { width: 20px; height: 20px; }
.customer-rep-page .cr-pain h3 { font-size: 1.02rem; font-weight: 750; color: var(--ink); margin: 0 0 6px; letter-spacing: -.01em; }
.customer-rep-page .cr-pain p { font-size: .92rem; color: var(--muted); line-height: 1.55; }

.customer-rep-page .cr-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.customer-rep-page .cr-chips span {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 100px;
  background: var(--accent-soft); color: var(--accent-ink); font-size: .82rem; font-weight: 650;
  border: 1px solid color-mix(in srgb, var(--cr-navy) 12%, transparent);
}
.customer-rep-page .cr-chips--plain span { background: #fff; color: var(--ink-2); border-color: var(--cr-line); }

.customer-rep-page .cr-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 11px; }
.customer-rep-page .cr-list li { display: flex; align-items: flex-start; gap: 12px; font-size: .98rem; color: var(--ink-2); line-height: 1.5; }
.customer-rep-page .cr-list svg { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 1px; color: var(--cr-navy); }
.customer-rep-page .cr-list--check svg { color: var(--cr-green); }

/* ============================================================
   ALTERNATING DEMO ROW (feature sections)
   ============================================================ */
.customer-rep-page .cr-demo {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center;
}
.customer-rep-page .cr-demo--rev .cr-demo__copy  { order: 2; }
.customer-rep-page .cr-demo--rev .cr-demo__media { order: 1; }
.customer-rep-page .cr-demo--narrow { grid-template-columns: 1.06fr .94fr; }
.customer-rep-page .cr-demo__copy .sec-title { font-size: clamp(1.55rem, 1.2rem + 1.5vw, 2.35rem); margin: 14px 0 0; }
.customer-rep-page .cr-demo__copy .sec-lead { margin-top: 15px; }
.customer-rep-page .cr-demo__media .cr-frame { box-shadow: 0 2px 6px rgba(16,24,48,.06), 0 30px 64px rgba(16,24,48,.13); }
.customer-rep-page .cr-demo__media--land .cr-shot { aspect-ratio: 1600 / 1000; object-fit: cover; object-position: top center; }
.customer-rep-page .cr-demo__media--wide .cr-shot { aspect-ratio: 1920 / 1200; object-fit: cover; object-position: top center; }
/* portrait side-panel media — cropped tighter to the content (trims the panel's built-in top/bottom whitespace) */
.customer-rep-page .cr-demo__media--panel { max-width: 484px; margin-inline: auto; }
.customer-rep-page .cr-demo__media--panel .cr-shot { aspect-ratio: 1000 / 960; object-fit: cover; object-position: center 42%; }
.customer-rep-page .cr-demo__cta { margin-top: 24px; }

/* three output blocks (Auto Read) */
.customer-rep-page .cr-outputs { display: grid; gap: 12px; margin-top: 22px; }
.customer-rep-page .cr-output {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
  background: #fff; border: 1px solid var(--cr-line); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow-sm);
}
.customer-rep-page .cr-output__n { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; font-size: .9rem; color: #fff; background: linear-gradient(180deg, var(--cr-blue), var(--cr-navy)); }
.customer-rep-page .cr-output h4 { font-size: 1rem; font-weight: 750; color: var(--ink); margin: 3px 0 3px; letter-spacing: -.01em; }
.customer-rep-page .cr-output p { font-size: .92rem; color: var(--muted); line-height: 1.5; }

/* ============================================================
   MULTILINGUAL gallery / crossfade
   ============================================================ */
.customer-rep-page .cr-lang__stack { position: relative; }
.customer-rep-page .cr-lang__frames { position: relative; }
.customer-rep-page .cr-lang__frame { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.customer-rep-page .cr-lang__frame.is-active { position: relative; opacity: 1; }
.customer-rep-page .cr-lang__frame:not(.is-active) { pointer-events: none; }
.customer-rep-page .cr-lang__frame .cr-shot { aspect-ratio: 1000 / 940; object-fit: cover; object-position: center 44%; }
.customer-rep-page .cr-lang__dots { display: flex; gap: 8px; justify-content: center; margin-top: 16px; }
.customer-rep-page .cr-lang__dot { padding: 6px 12px; border-radius: 100px; font-size: .78rem; font-weight: 700; border: 1px solid var(--cr-line); background: #fff; color: var(--muted); cursor: pointer; transition: all .2s ease; }
.customer-rep-page .cr-lang__dot[aria-selected="true"] { background: var(--accent-soft); color: var(--accent-ink); border-color: color-mix(in srgb, var(--cr-navy) 30%, var(--cr-line)); }
.customer-rep-page .cr-lang__dot:focus-visible { outline: 3px solid color-mix(in srgb, var(--cr-blue) 45%, transparent); outline-offset: 2px; }
.customer-rep-page .cr-lang__rule { margin-top: 22px; display: grid; gap: 10px; }
.customer-rep-page .cr-rule {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px;
  background: var(--cr-wash); border: 1px solid var(--cr-line); font-size: .92rem; color: var(--ink-2); line-height: 1.5;
}
.customer-rep-page .cr-rule strong { color: var(--ink); }
.customer-rep-page .cr-rule svg { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; color: var(--cr-navy); }

/* ============================================================
   iCLOUD flow + locked/unlocked toggle
   ============================================================ */
.customer-rep-page .cr-icloud__steps { list-style: none; counter-reset: ic; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.customer-rep-page .cr-icloud__steps li { counter-increment: ic; display: flex; gap: 12px; align-items: flex-start; font-size: .96rem; color: var(--ink-2); line-height: 1.45; }
.customer-rep-page .cr-icloud__steps li::before { content: counter(ic); flex: 0 0 auto; width: 24px; height: 24px; border-radius: 7px; background: var(--accent-soft); color: var(--accent-ink); font-size: .78rem; font-weight: 800; display: grid; place-items: center; }
.customer-rep-page .cr-icloud__toggle { display: inline-flex; padding: 4px; gap: 4px; background: var(--cr-wash); border: 1px solid var(--cr-line); border-radius: 100px; margin-bottom: 14px; }
.customer-rep-page .cr-icloud__toggle button { padding: 8px 18px; border-radius: 100px; font-size: .88rem; font-weight: 700; color: var(--muted); background: transparent; cursor: pointer; transition: all .2s ease; }
.customer-rep-page .cr-icloud__toggle button[aria-selected="true"] { background: #fff; color: var(--cr-navy); box-shadow: var(--shadow-sm); }
.customer-rep-page .cr-icloud__toggle button:focus-visible { outline: 3px solid color-mix(in srgb, var(--cr-blue) 45%, transparent); outline-offset: 2px; }
.customer-rep-page .cr-icloud__view { position: relative; }
.customer-rep-page .cr-icloud__pane { display: none; }
.customer-rep-page .cr-icloud__pane.is-active { display: block; animation: crFade .45s ease both; }
.customer-rep-page .cr-icloud__pane .cr-shot { aspect-ratio: 1000 / 1000; object-fit: cover; object-position: center 44%; }
.customer-rep-page .cr-note {
  margin-top: 16px; display: flex; gap: 10px; align-items: flex-start; padding: 13px 15px; border-radius: 12px;
  background: color-mix(in srgb, var(--cr-amber) 10%, #fff); border: 1px solid color-mix(in srgb, var(--cr-amber) 30%, var(--cr-line));
  font-size: .88rem; color: #7a5410; line-height: 1.5;
}
.customer-rep-page .cr-note svg { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; color: var(--cr-amber); }
@keyframes crFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ============================================================
   POLICY principles
   ============================================================ */
.customer-rep-page .cr-principles { list-style: none; counter-reset: pr; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.customer-rep-page .cr-principles li { counter-increment: pr; display: flex; gap: 12px; align-items: center; padding: 12px 16px; background: #fff; border: 1px solid var(--cr-line); border-radius: 12px; font-size: .95rem; color: var(--ink-2); box-shadow: var(--shadow-sm); }
.customer-rep-page .cr-principles li::before { content: counter(pr); flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(180deg, var(--cr-blue), var(--cr-navy)); color: #fff; font-size: .8rem; font-weight: 800; display: grid; place-items: center; }

/* ============================================================
   GOOGLE SHEETS — tabs + fields
   ============================================================ */
.customer-rep-page .cr-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.customer-rep-page .cr-tabs span { padding: 8px 14px; border-radius: 10px 10px 0 0; background: #fff; border: 1px solid var(--cr-line); border-bottom: none; font-size: .84rem; font-weight: 650; color: var(--ink-2); }
.customer-rep-page .cr-tabs span:first-child { background: var(--accent-soft); color: var(--accent-ink); }
.customer-rep-page .cr-fieldcols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 20px; }
.customer-rep-page .cr-fieldcol h4 { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); font-weight: 800; margin-bottom: 12px; }
.customer-rep-page .cr-fieldcol ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.customer-rep-page .cr-fieldcol li { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--ink-2); }
.customer-rep-page .cr-fieldcol li svg { width: 16px; height: 16px; color: var(--cr-green); flex: 0 0 auto; }
.customer-rep-page .cr-fieldcol--manual li svg { color: var(--cr-navy); }

/* ============================================================
   REPEAT-RETURN callout
   ============================================================ */
.customer-rep-page .cr-repeat__alert {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 20px;
  padding: 14px 20px; border-radius: 14px;
  background: color-mix(in srgb, var(--cr-amber) 12%, #fff); border: 1px solid color-mix(in srgb, var(--cr-amber) 36%, var(--cr-line));
  color: #7a5410; font-weight: 750; font-size: 1rem;
}
.customer-rep-page .cr-repeat__alert .ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--cr-amber); color: #fff; flex: 0 0 auto; }
.customer-rep-page .cr-repeat__alert .ic svg { width: 17px; height: 17px; }

/* ============================================================
   AGENT SETTINGS — 3 features
   ============================================================ */
.customer-rep-page .cr-settings__grid { margin-top: clamp(30px, 3.4vw, 48px); display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 3vw, 44px); align-items: center; }
.customer-rep-page .cr-setfeats { display: grid; gap: 14px; }
.customer-rep-page .cr-setfeat { display: grid; grid-template-columns: auto 1fr; gap: 16px; background: #fff; border: 1px solid var(--cr-line); border-radius: 16px; padding: 20px 22px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .22s ease, border-color .22s ease; }
.customer-rep-page .cr-setfeat:hover { transform: translateY(-3px); box-shadow: 0 2px 6px rgba(16,24,48,.05), 0 18px 36px rgba(16,24,48,.10); border-color: color-mix(in srgb, var(--cr-navy) 20%, var(--cr-line)); }
.customer-rep-page .cr-setfeat__ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(160deg, var(--accent-soft), #fff); color: var(--cr-navy); border: 1px solid color-mix(in srgb, var(--cr-navy) 14%, var(--cr-line)); }
.customer-rep-page .cr-setfeat__ic svg { width: 22px; height: 22px; }
.customer-rep-page .cr-setfeat h3 { font-size: 1.04rem; font-weight: 750; color: var(--ink); margin: 2px 0 5px; letter-spacing: -.01em; }
.customer-rep-page .cr-setfeat p { font-size: .93rem; color: var(--muted); line-height: 1.55; }
.customer-rep-page .cr-settings__media { max-width: 432px; margin-inline: auto; }
.customer-rep-page .cr-settings__media .cr-shot { aspect-ratio: 1000 / 1020; object-fit: cover; object-position: center 46%; }
.customer-rep-page .cr-demolabel { margin-top: 10px; text-align: center; font-size: .8rem; color: var(--muted); }

/* ============================================================
   3-STEP SETUP
   ============================================================ */
.customer-rep-page .cr-steps3 { margin-top: clamp(32px, 4vw, 54px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.customer-rep-page .cr-step3 { background: #fff; border: 1px solid var(--cr-line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.customer-rep-page .cr-step3__media { border-bottom: 1px solid var(--line-2); }
.customer-rep-page .cr-step3__media .cr-shot { aspect-ratio: 1200 / 800; object-fit: cover; object-position: top center; }
.customer-rep-page .cr-step3__body { padding: 20px 22px 24px; }
.customer-rep-page .cr-step3__n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(180deg, var(--cr-blue), var(--cr-navy)); color: #fff; font-weight: 800; margin-bottom: 12px; }
.customer-rep-page .cr-step3 h3 { font-size: 1.1rem; font-weight: 750; color: var(--ink); letter-spacing: -.01em; margin-bottom: 6px; }
.customer-rep-page .cr-step3 p { font-size: .94rem; color: var(--muted); line-height: 1.56; }
.customer-rep-page .cr-setup__foot { margin-top: clamp(28px, 3vw, 40px); text-align: center; }
.customer-rep-page .cr-setup__foot .cr-kicker { margin: 0 0 20px; }
.customer-rep-page .cr-setup__note { margin: 14px 0 0; font-size: .88rem; color: var(--muted); }

/* ============================================================
   OUTCOMES
   ============================================================ */
.customer-rep-page .cr-outcomes__grid { margin-top: clamp(32px, 4vw, 52px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.customer-rep-page .cr-outcome { background: #fff; border: 1px solid var(--cr-line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .22s ease, border-color .22s ease; }
.customer-rep-page .cr-outcome:hover { transform: translateY(-3px); box-shadow: 0 2px 6px rgba(16,24,48,.05), 0 20px 40px rgba(16,24,48,.10); border-color: color-mix(in srgb, var(--cr-navy) 20%, var(--cr-line)); }
.customer-rep-page .cr-outcome__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; background: linear-gradient(160deg, var(--accent-soft), #fff); color: var(--cr-navy); border: 1px solid color-mix(in srgb, var(--cr-navy) 14%, var(--cr-line)); }
.customer-rep-page .cr-outcome__ic svg { width: 22px; height: 22px; }
.customer-rep-page .cr-outcome h3 { font-size: 1.04rem; font-weight: 750; color: var(--ink); letter-spacing: -.01em; margin-bottom: 6px; }
.customer-rep-page .cr-outcome p { font-size: .93rem; color: var(--muted); line-height: 1.56; }

/* ============================================================
   17) SECURITY — dark, high contrast
   ============================================================ */
.customer-rep-page .cr-security {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #14284A 0%, #1C3B6E 52%, #22497A 100%);
}
.customer-rep-page .cr-security::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(38% 50% at 86% 8%, rgba(23,166,204,.26), transparent 68%),
              radial-gradient(40% 55% at 6% 96%, rgba(44,123,240,.24), transparent 68%);
}
.customer-rep-page .cr-security > .sec-wrap { position: relative; z-index: 1; }
.customer-rep-page .cr-security .cr-sec-eyebrow { color: #CFE0FB; background: rgba(255,255,255,.12); }
.customer-rep-page .cr-security__title { color: var(--cr-on-dark); font-size: clamp(1.7rem, 1.2rem + 1.7vw, 2.6rem); font-weight: 850; letter-spacing: -.025em; line-height: 1.08; margin: 16px 0 0; }
.customer-rep-page .cr-security__lead { color: var(--cr-on-dark-soft); font-size: 1.04rem; line-height: 1.6; margin: 16px 0 0; max-width: 620px; }
.customer-rep-page .cr-security__grid { margin-top: clamp(30px, 3.4vw, 48px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 3.4vw, 56px); align-items: center; }
.customer-rep-page .cr-security__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; }
.customer-rep-page .cr-security__list li { display: flex; align-items: flex-start; gap: 11px; font-size: .96rem; font-weight: 600; color: var(--cr-on-dark); line-height: 1.4; }
.customer-rep-page .cr-security__list .mk { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: rgba(21,169,138,.95); color: #fff; }
.customer-rep-page .cr-security__list .mk svg { width: 13px; height: 13px; }
.customer-rep-page .cr-security__media .cr-frame { box-shadow: 0 24px 60px rgba(0,0,0,.34); }
.customer-rep-page .cr-security__media .cr-shot { aspect-ratio: 1600 / 900; object-fit: cover; object-position: center; }

/* ============================================================
   18) PRICING
   ============================================================ */
.customer-rep-page .cr-price {
  margin: clamp(34px, 4vw, 54px) auto 0; max-width: 620px; position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--cr-line); border-radius: 26px;
  box-shadow: 0 2px 6px rgba(16,24,48,.05), 0 30px 66px rgba(16,24,48,.12);
}
.customer-rep-page .cr-price__top { padding: clamp(28px, 3vw, 40px); border-bottom: 1px solid var(--line-2); background: linear-gradient(180deg, var(--accent-wash), #fff); }
.customer-rep-page .cr-price__head { display: flex; align-items: center; gap: 14px; }
.customer-rep-page .cr-price__ic { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: #fff; border: 1px solid var(--cr-line); box-shadow: var(--shadow-sm); }
.customer-rep-page .cr-price__ic img { width: 28px; height: 28px; }
.customer-rep-page .cr-price__name { font-size: 1.1rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.customer-rep-page .cr-price__tag { font-size: .88rem; color: var(--muted); }
.customer-rep-page .cr-price__amt { display: flex; align-items: flex-end; gap: 4px; margin-top: 18px; }
.customer-rep-page .cr-price__amt .cur { font-size: 1.6rem; font-weight: 800; color: var(--ink); line-height: 1; margin-bottom: 6px; }
.customer-rep-page .cr-price__amt .num { font-size: clamp(3rem, 5vw, 3.8rem); font-weight: 900; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.customer-rep-page .cr-price__amt .per { font-size: 1rem; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.customer-rep-page .cr-price__note { margin-top: 10px; font-size: .9rem; color: var(--muted); }
.customer-rep-page .cr-price__body { padding: clamp(24px, 3vw, 36px); }
.customer-rep-page .cr-price__feats { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 11px 20px; }
.customer-rep-page .cr-price__feats li { display: flex; align-items: flex-start; gap: 10px; font-size: .93rem; color: var(--ink-2); line-height: 1.4; }
.customer-rep-page .cr-price__feats svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--cr-green); margin-top: 1px; }
.customer-rep-page .cr-price__cta { width: 100%; justify-content: center; }
.customer-rep-page .cr-price__foot { margin-top: 14px; text-align: center; font-size: .9rem; color: var(--muted); }
.customer-rep-page .cr-price__foot a { color: var(--accent-ink); font-weight: 650; }
.customer-rep-page .cr-price__risk { margin-top: 8px; text-align: center; font-size: .84rem; color: var(--muted); }

/* ============================================================
   19) FAQ
   ============================================================ */
.customer-rep-page .cr-faq__wrap { max-width: 840px; margin: clamp(32px, 4vw, 50px) auto 0; }
.customer-rep-page .cr-faq__wrap .faq { display: grid; gap: 12px; }
.customer-rep-page .cr-faq__more { margin: 22px 0 0; text-align: center; font-size: .96rem; color: var(--muted); }
.customer-rep-page .cr-faq__more a { color: var(--accent-ink); font-weight: 650; }

/* ============================================================
   20) FINAL CTA — dark, high contrast
   ============================================================ */
.customer-rep-page .cr-final__card {
  position: relative; overflow: hidden; border-radius: 32px;
  padding: clamp(44px, 6vw, 90px) clamp(26px, 4vw, 72px); text-align: center;
  background: linear-gradient(155deg, #14284A 0%, #1C3B6E 46%, #22497A 100%);
  box-shadow: 0 40px 90px rgba(16,24,48,.28); color: var(--cr-on-dark);
}
.customer-rep-page .cr-final__card::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(36% 60% at 84% 6%, rgba(23,166,204,.32), transparent 66%),
              radial-gradient(40% 66% at 10% 100%, rgba(44,123,240,.30), transparent 66%);
}
.customer-rep-page .cr-final__inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.customer-rep-page .cr-final__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #CFE0FB; background: rgba(255,255,255,.14); padding: 7px 14px; border-radius: 100px; }
.customer-rep-page .cr-final__title { color: var(--cr-on-dark); font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.1rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.05; margin: 18px 0 0; }
.customer-rep-page .cr-final__lead { margin: 18px auto 0; max-width: 580px; color: var(--cr-on-dark-soft); font-size: 1.05rem; line-height: 1.6; }
.customer-rep-page .cr-final__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.customer-rep-page .cr-final__actions .btn-outline { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.42); color: #fff; }
.customer-rep-page .cr-final__actions .btn-outline:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.6); }
.customer-rep-page .cr-final__micro { margin: 18px 0 0; font-size: .86rem; color: var(--cr-on-dark-mut); }

/* shared eyebrow used on dark sections */
.customer-rep-page .cr-sec-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 7px 14px; border-radius: 100px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .customer-rep-page .cr-settings__grid { grid-template-columns: 1fr; }
  .customer-rep-page .cr-security__grid { grid-template-columns: 1fr; }
  .customer-rep-page .cr-float { width: 180px; }
}
@media (max-width: 860px) {
  .customer-rep-page .cr-demo { grid-template-columns: 1fr; gap: 26px; }
  .customer-rep-page .cr-demo--rev .cr-demo__copy  { order: 1; }
  .customer-rep-page .cr-demo--rev .cr-demo__media { order: 2; }
  .customer-rep-page .cr-pains { grid-template-columns: 1fr 1fr; }
  .customer-rep-page .cr-scatter__row { grid-template-columns: 1fr 1fr; }
  .customer-rep-page .cr-scatter__plus { display: none; }
  .customer-rep-page .cr-steps3 { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .customer-rep-page .cr-outcomes__grid { grid-template-columns: 1fr 1fr; }
  .customer-rep-page .cr-fieldcols { grid-template-columns: 1fr; }
  .customer-rep-page .cr-security__list { grid-template-columns: 1fr; }
  .customer-rep-page .cr-price__feats { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .customer-rep-page .cr-pains { grid-template-columns: 1fr; }
  .customer-rep-page .cr-scatter__row { grid-template-columns: 1fr; }
  .customer-rep-page .cr-outcomes__grid { grid-template-columns: 1fr; }
  .customer-rep-page .cr-hero__trust { gap: 12px 20px; }
  /* hero: drop floating panel + far pills on small screens */
  .customer-rep-page .cr-float { position: static; width: 100% !important; transform: none !important; margin-top: 16px; }
  .customer-rep-page .cr-hero .cr-float { opacity: 0; transform: translateY(18px); }
  .customer-rep-page .cr-hero.is-ready .cr-float { opacity: 1; transform: none; }
  .customer-rep-page .cr-pill--c, .customer-rep-page .cr-pill--d { display: none; }
  .customer-rep-page .cr-pill--a { top: 10px; left: 6px; }
  .customer-rep-page .cr-pill--b { top: -12px; left: auto; right: 6px; }
}

/* touch targets */
@media (max-width: 768px) {
  .customer-rep-page .cr-hero__actions .btn-cta,
  .customer-rep-page .cr-hero__actions .btn-outline,
  .customer-rep-page .cr-final__actions .btn-cta,
  .customer-rep-page .cr-final__actions .btn-outline,
  .customer-rep-page .cr-icloud__toggle button,
  .customer-rep-page .cr-lang__dot { min-height: 44px; }
  .customer-rep-page .cr-lang__dot { display: inline-flex; align-items: center; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .customer-rep-page .cr-hero .cr-hero__eyebrow,
  .customer-rep-page .cr-hero .cr-hero__title,
  .customer-rep-page .cr-hero .cr-hero__lead,
  .customer-rep-page .cr-hero .cr-hero__actions,
  .customer-rep-page .cr-hero .cr-hero__trust,
  .customer-rep-page .cr-hero .cr-hero__micro,
  .customer-rep-page .cr-hero .cr-stage__main,
  .customer-rep-page .cr-hero .cr-float,
  .customer-rep-page .cr-hero .cr-pill {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
  .customer-rep-page .cr-hero .cr-float { transform: rotate(2deg) !important; }
  .customer-rep-page .cr-lang__frame { transition: none; }
  .customer-rep-page .cr-icloud__pane.is-active { animation: none; }
  .customer-rep-page * { scroll-behavior: auto; }
}
