/* ==========================================================================
   authenscan-pages.css
   Scoped styles for the /services/* and /solutions/* detail pages.

   Everything here is namespaced under .sp- (service page) or the .sp-page
   body class, so this file cannot affect index/about/pricing/blog/case-study
   templates. It is loaded AFTER authenscan-site-styles.css and authenscan.css
   and deliberately does not redefine anything either of those own.

   Visual language is taken from the existing pages: white cards on an
   off-white canvas, 1px --stroke borders, the reduced border-radius tokens
   set in authenscan.css, #161515 ink, #555151 body copy, and the five accent
   hues already used by the homepage .tp-card row.
   ========================================================================== */

.sp-page{
  --sp-ink:var(--_colors---text-color--dark-color);
  --sp-body:var(--_colors---text-color--gray);
  --sp-muted:#7b7676;
  --sp-line:var(--_colors---border-color--stroke);
  --sp-surface:#fff;
  --sp-canvas:var(--_colors---background-color--off-white);
  --sp-blue:#1f5fa8;
  --sp-pink:#df8be0;
  --sp-gap:1.25rem;
  --sp-radius:var(--_sizes---border-radius--radius-medium);
}

/* Section rhythm ---------------------------------------------------------- */
.sp-page .section.sp-hero,
.sp-page .section.sp-stats,
.sp-page .section.sp-process,
.sp-page .section.sp-deliver{background-color:var(--sp-canvas)}
.sp-page .section.sp-problem,
.sp-page .section.sp-caps,
.sp-page .section.sp-coverage,
.sp-page .section.sp-related{background-color:#fff}

/* Hero artwork makes the right-hand card taller than the left column, so the
   wrapper's standard 7.5rem bottom padding then reads as dead space between
   the card and the next section. Trimmed to 2rem — enough to clear the
   section colour change — but only at the widths where the artwork is
   actually rendered, so a hero showing just the proof card keeps the site's
   normal section rhythm. */
.sp-hero-has-image .sp-hero .wrapper{padding-bottom:2rem}
@media screen and (min-width:1200px){
  .sp-hero-has-board .sp-hero .wrapper{padding-bottom:2rem}
}
@media screen and (min-width:768px) and (max-width:991px){
  .sp-hero-has-board .sp-hero .wrapper{padding-bottom:2rem}
}

.sp-stack{display:flex;flex-direction:column;gap:2.75rem;width:100%}
/* .wrapper (site stylesheet) centres its children; these sections are
   full-bleed grids, so every direct child is pinned back to the full
   column width and left-aligned unless it opts into centring. */
.sp-stack>*,
.sp-hero-wrap>*{width:100%;align-self:stretch}

.sp-head{display:flex;flex-direction:column;gap:0.85rem;max-width:46rem;margin-right:auto;text-align:left}
.sp-head-center{max-width:52rem;margin-inline:auto;text-align:center;align-items:center}
.sp-eyebrow{margin:0}
.sp-h2{margin:0;font-weight:400;max-width:20em}
.sp-head-center .sp-h2{max-width:24em}
.sp-head-lede{margin:0;color:var(--sp-body);font-size:1.0625rem;line-height:1.65;max-width:44em}
.sp-body{margin:0 0 1.1rem;color:var(--sp-body);font-size:1.0625rem;line-height:1.7}
.sp-body:last-child{margin-bottom:0}

/* Breadcrumbs ------------------------------------------------------------- */
.sp-crumbs ol{
  display:flex;flex-wrap:wrap;align-items:center;gap:0.5rem;
  margin:0;padding:0;list-style:none;
  font-family:var(--font-family--geist-mono);
  font-size:0.75rem;letter-spacing:0.04em;text-transform:uppercase;
  color:var(--sp-muted);
}
.sp-crumbs a{color:var(--sp-muted);text-decoration:none;border-bottom:1px solid transparent}
.sp-crumbs a:hover{color:var(--sp-ink);border-bottom-color:currentColor}
.sp-crumbs li[aria-current]{color:var(--sp-ink)}

/* Hero -------------------------------------------------------------------- */
.sp-hero-wrap{gap:2rem}
.sp-hero-grid{
  display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);
  gap:3rem;align-items:start;width:100%;
}
.sp-hero-left{display:flex;flex-direction:column;gap:1.15rem}
.sp-h1{margin:0;font-weight:400;max-width:14em}
.sp-lede{margin:0;color:var(--sp-body);font-size:1.15rem;line-height:1.65;max-width:38em}
.sp-hero-buttons{display:flex;flex-wrap:wrap;align-items:center;gap:1.25rem;margin-top:0.5rem}
.sp-textlink{
  display:inline-flex;align-items:center;gap:0.4rem;
  color:var(--sp-ink);text-decoration:none;
  font-size:0.9375rem;font-weight:500;
  padding-bottom:2px;border-bottom:1px solid var(--sp-line);
  transition:border-color .2s ease,gap .2s ease;
}
.sp-textlink:hover{border-bottom-color:var(--sp-ink);gap:0.6rem;color:var(--sp-ink)}

.sp-hero-right{
  background:var(--sp-surface);
  border:1px solid var(--sp-line);
  border-radius:var(--sp-radius);
  padding:1.75rem;
  box-shadow:0 2px 10px #0000000d;
}
.sp-hero-points{display:flex;flex-direction:column;gap:1rem;margin:0;padding:0;list-style:none}
.sp-hero-points li,
.sp-deliver-list li{
  display:flex;gap:0.75rem;align-items:flex-start;
  color:var(--sp-ink);font-size:1rem;line-height:1.55;
}
.sp-tick{display:flex;flex:0 0 auto;width:1.25rem;height:1.25rem;margin-top:0.12rem;color:var(--sp-blue)}

/* Hero illustration. Lives below the proof card in the right-hand column and
   fills the space the column would otherwise leave empty next to the taller
   left column. Inline SVG, so it scales without a second request. */
.sp-hero-right{display:flex;flex-direction:column;gap:1.5rem}
.sp-hero-figure{margin:0;width:100%;padding-top:1.5rem;border-top:1px solid var(--sp-line)}
.sp-hero-figure svg{display:block;width:100%;height:auto}
.sp-hero-figure-cap{
  margin:0.85rem 0 0;color:var(--sp-muted);
  font-size:0.8125rem;line-height:1.55;text-align:left;
}

/* Generated channel board. One fixed-ratio SVG, so its type scales with its
   column: below roughly 400px of column width the 12.5px labels fall under
   ~9.5px. Shown only at the two widths where it stays legible — the wide
   two-column hero (>=1200px) and the stacked full-width card on tablets
   (768-991px). It is decorative, and every channel it names is repeated in
   the Coverage section below, so hiding it costs the page nothing. */
.sp-hero-board{display:none}
@media screen and (min-width:1200px){.sp-hero-board{display:block}}
@media screen and (min-width:768px) and (max-width:991px){.sp-hero-board{display:block}}

/* Static diagram. Unlike the board this is a simple three-label graphic that
   stays readable at any width, so it is shown at every breakpoint. The site
   base stylesheet applies img{width:100%;height:100%;object-fit:cover}, which
   would crop it to the column box — overridden here to its own aspect ratio,
   the same fix authenscan.css already makes for this asset on the case-study
   page. */
.sp-hero-image img{
  width:100%;
  height:auto;
  /* Fill the column, but never past the asset's own pixel width (passed in
     as --sp-img-max) so nothing is upscaled and soft. */
  max-width:var(--sp-img-max, 100%);
  object-fit:contain;
  display:block;
  margin-inline:auto;
}
.sp-tick svg{width:100%;height:100%;display:block}

/* Problem ----------------------------------------------------------------- */
.sp-problem-grid{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);
  gap:3rem;align-items:start;width:100%;
}
.sp-signals{
  display:grid;grid-template-columns:1fr 1fr;gap:1.25rem;
  margin:0;padding:0;list-style:none;
}
.sp-signal{
  border-left:2px solid var(--sp-line);
  padding:0.15rem 0 0.15rem 1rem;
}
.sp-signal-title{
  margin:0 0 0.4rem;
  font-family:Arial,Helvetica,sans-serif;letter-spacing:normal;
  font-size:1rem;line-height:1.35;font-weight:700;color:var(--sp-ink);
}
.sp-signal-text{margin:0;color:var(--sp-body);font-size:0.9375rem;line-height:1.55}

/* Stats ------------------------------------------------------------------- */
.sp-stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--sp-gap);width:100%}
.sp-stat{
  background:var(--sp-surface);border:1px solid var(--sp-line);
  border-radius:var(--sp-radius);padding:2rem 1.75rem;text-align:center;
  display:flex;flex-direction:column;gap:0.5rem;
}
.sp-stat-value{
  margin:0;font-family:var(--font-family--cambo);color:var(--sp-ink);
  font-size:2.75rem;line-height:1.05;font-weight:400;
}
.sp-stat-label{margin:0;color:var(--sp-body);font-size:1rem;line-height:1.5}
.sp-stat-source{
  margin:0.35rem 0 0;color:var(--sp-muted);
  font-family:var(--font-family--geist-mono);
  font-size:0.6875rem;letter-spacing:0.04em;text-transform:uppercase;
}
.sp-stats-note{
  margin:0;text-align:center;color:var(--sp-muted);
  font-size:0.8125rem;line-height:1.6;max-width:46rem;margin-inline:auto;
}

/* Capability cards -------------------------------------------------------- */
.sp-card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--sp-gap);width:100%}
.sp-card{
  position:relative;background:var(--sp-surface);
  border:1px solid var(--sp-line);border-radius:var(--sp-radius);
  padding:1.85rem 1.6rem 1.7rem;overflow:hidden;
  display:flex;flex-direction:column;gap:0.85rem;
  transition:box-shadow .25s ease,transform .25s ease;
}
.sp-card:hover{box-shadow:0 16px 40px #0000000f;transform:translateY(-2px)}
.sp-card-accent{position:absolute;inset:0 auto auto 0;width:38%;height:3px;border-radius:0 2px 2px 0}
.sp-card[data-accent="marketplace"] .sp-card-accent{background:#e59a5a}
.sp-card[data-accent="domains"] .sp-card-accent{background:#7eb8e8}
.sp-card[data-accent="social"] .sp-card-accent{background:#29f197}
.sp-card[data-accent="ads"] .sp-card-accent{background:#d4a84b}
.sp-card[data-accent="ai"] .sp-card-accent{background:#df8be0}
.sp-card[data-accent="trust"] .sp-card-accent{background:#1f5fa8}
.sp-card[data-accent="marketplace"] .sp-card-icon{color:#c97a34}
.sp-card[data-accent="domains"] .sp-card-icon{color:#3d82bd}
.sp-card[data-accent="social"] .sp-card-icon{color:#19a86a}
.sp-card[data-accent="ads"] .sp-card-icon{color:#a8802c}
.sp-card[data-accent="ai"] .sp-card-icon{color:#b563b6}
.sp-card[data-accent="trust"] .sp-card-icon{color:#1f5fa8}
.sp-card-icon{width:2rem;height:2rem;display:flex;align-items:center;justify-content:center}
.sp-card-icon svg{width:100%;height:100%;display:block}
.sp-card-title{
  margin:0;font-family:Arial,Helvetica,sans-serif;letter-spacing:normal;
  font-size:1.125rem;line-height:1.3;font-weight:700;color:var(--sp-ink);
}
.sp-card-text{margin:0;color:var(--sp-body);font-size:0.9375rem;line-height:1.6}

/* Process ----------------------------------------------------------------- */
.sp-steps{
  display:grid;grid-template-columns:1fr 1fr;gap:1.25rem 2.5rem;
  margin:0;padding:0;list-style:none;counter-reset:none;width:100%;
}
.sp-step{
  display:flex;gap:1.1rem;align-items:flex-start;
  background:var(--sp-surface);border:1px solid var(--sp-line);
  border-radius:var(--sp-radius);padding:1.5rem;
}
/* An odd final step would otherwise sit alone in a half-width cell. */
.sp-steps>:last-child:nth-child(odd){grid-column:1 / -1}
.sp-step-num{
  flex:0 0 auto;width:2.5rem;height:2.5rem;
  display:flex;align-items:center;justify-content:center;
  background:var(--sp-blue);color:#fff;
  border-radius:var(--_sizes---border-radius--radius-small);
  font-family:var(--font-family--geist-mono);font-size:0.875rem;letter-spacing:0.02em;
}
.sp-step-body{display:flex;flex-direction:column;gap:0.4rem}
.sp-step-title{
  margin:0;font-family:Arial,Helvetica,sans-serif;letter-spacing:normal;
  font-size:1.0625rem;line-height:1.3;font-weight:700;color:var(--sp-ink);
}
.sp-step-text{margin:0;color:var(--sp-body);font-size:0.9375rem;line-height:1.6}

/* Coverage ---------------------------------------------------------------- */
.sp-cov-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:1.75rem 1.5rem;
  margin:0;padding:0;list-style:none;width:100%;
}
.sp-cov{display:flex;gap:0.9rem;align-items:flex-start}
.sp-cov-icon{
  flex:0 0 auto;width:2.5rem;height:2.5rem;
  display:flex;align-items:center;justify-content:center;
  border:1px solid var(--sp-line);border-radius:var(--_sizes---border-radius--radius-small);
  color:var(--sp-blue);background:var(--sp-canvas);
}
.sp-cov-icon svg{width:1.25rem;height:1.25rem;display:block}
.sp-cov-title{
  margin:0 0 0.3rem;font-family:Arial,Helvetica,sans-serif;letter-spacing:normal;
  font-size:1rem;line-height:1.3;font-weight:700;color:var(--sp-ink);
}
.sp-cov-text{margin:0;color:var(--sp-body);font-size:0.9375rem;line-height:1.55}

/* Deliverables + quote ---------------------------------------------------- */
.sp-deliver-grid{
  display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);
  gap:3rem;align-items:start;width:100%;
}
.sp-deliver-left{display:flex;flex-direction:column;gap:1.1rem}
.sp-deliver-list{display:flex;flex-direction:column;gap:0.9rem;margin:0.35rem 0 0;padding:0;list-style:none}
.sp-quote{
  margin:0;background:var(--sp-ink);color:#fff;
  border-radius:var(--sp-radius);padding:2.25rem 2rem;
  display:flex;flex-direction:column;gap:1.25rem;
}
.sp-quote-text{
  /* Webflow's normalize gives blockquote a 5px light-grey rule and 20px of
     padding; restated here in the card's own palette rather than removed. */
  margin:0;padding:0 0 0 1.25rem;
  border-left:3px solid #ffffff40;
  font-family:var(--font-family--cambo);
  font-size:1.375rem;line-height:1.45;font-weight:400;color:#fff;
}
/* figcaption is centred by the site's base stylesheet. */
.sp-quote-by{display:flex;flex-direction:column;gap:0.15rem;text-align:left}
.sp-quote-name{font-size:0.9375rem;font-weight:600;color:#fff}
.sp-quote-role{
  font-family:var(--font-family--geist-mono);font-size:0.6875rem;
  letter-spacing:0.04em;text-transform:uppercase;color:#ffffffa8;
}

/* Related ----------------------------------------------------------------- */
.sp-rel-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--sp-gap);width:100%}
.sp-rel{
  display:flex;flex-direction:column;gap:0.6rem;
  background:var(--sp-canvas);border:1px solid var(--sp-line);
  border-radius:var(--sp-radius);padding:1.6rem;text-decoration:none;
  transition:box-shadow .25s ease,transform .25s ease,background .2s ease;
}
.sp-rel:hover{background:#fff;box-shadow:0 16px 40px #0000000f;transform:translateY(-2px)}
.sp-rel-title{
  margin:0;font-family:Arial,Helvetica,sans-serif;letter-spacing:normal;
  font-size:1.0625rem;line-height:1.3;font-weight:700;color:var(--sp-ink);
}
.sp-rel-text{margin:0;color:var(--sp-body);font-size:0.9375rem;line-height:1.55;flex:1}
.sp-rel-more{
  margin-top:0.35rem;font-family:var(--font-family--geist-mono);
  font-size:0.6875rem;letter-spacing:0.04em;text-transform:uppercase;color:var(--sp-blue);
}

/* FAQ width on these pages ------------------------------------------------ */
.sp-page .faq-items-wrapper{max-width:52rem;margin-inline:auto}
.sp-page .faq-answer{min-width:0;max-width:none}

/* Responsive -------------------------------------------------------------- */
@media screen and (max-width:991px){
  .sp-hero-grid,
  .sp-problem-grid,
  .sp-deliver-grid{grid-template-columns:1fr;gap:2rem}
  .sp-card-grid,
  .sp-cov-grid,
  .sp-rel-grid{grid-template-columns:1fr 1fr}
  .sp-stats-grid{grid-template-columns:1fr 1fr}
  .sp-stats-grid .sp-stat:last-child{grid-column:1 / -1}
  .sp-h1{max-width:none}
}
@media screen and (max-width:767px){
  .sp-stack{gap:2.25rem}
  .sp-signals,
  .sp-steps,
  .sp-card-grid,
  .sp-cov-grid,
  .sp-rel-grid,
  .sp-stats-grid{grid-template-columns:1fr}
  .sp-stats-grid .sp-stat:last-child{grid-column:auto}
  .sp-hero-right{padding:1.4rem}
  .sp-hero-buttons{flex-direction:column;align-items:flex-start;gap:1rem}
  .sp-hero-buttons .primary-button{width:100%;justify-content:space-between}
  .sp-stat-value{font-size:2.25rem}
  .sp-quote{padding:1.75rem 1.4rem}
  .sp-quote-text{font-size:1.1875rem}
}

/* as-cta-blue */
/* ── Page CTA ──────────────────────────────────────────────────────────
   "Request a Consultation" on these pages filled with the pink token and
   black text. It now follows the site accent (blue). Black on that blue
   is 3.5:1, so the label goes white.
   ------------------------------------------------------------------ */
.sp-page .primary-button:where(.w-variant-398aa8b5-44c8-5388-fdd7-baab8bd64e94){
  background-color:var(--_colors---background-color--green);
  color:var(--_colors---text-color--white);
}

/* as-advantages */
/* ── Advantages band ───────────────────────────────────────────────────
   Photo beside a panel of capability rows. Moved here from the homepage;
   only dmca-takedown-service carries the markup, but the rule lives in
   the shared stylesheet so it can be reused on any of these pages.
   ------------------------------------------------------------------ */
.section.adv-section{background-color:#fff}
.adv-wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:stretch;width:100%;margin:0}
.adv-media{min-width:0;overflow:hidden}
.adv-media img{display:block;width:100%;height:100%;object-fit:cover}
.adv-panel{display:flex;align-items:center;min-width:0;
  background-color:var(--_colors---background-color--green);
  padding:2.75rem 2.5rem}
.adv-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1.9rem 1.5rem;width:100%;margin:0;padding:0;list-style:none}
.adv-item{display:flex;align-items:center;gap:.9rem;min-width:0}
.adv-icon{flex:0 0 auto;display:flex;align-items:center;justify-content:center;
  width:2.4rem;height:2.4rem}
/* the icons are dark line art on transparency; knocked out to white */
.adv-icon img{display:block;width:100%;height:100%;object-fit:contain;
  filter:brightness(0) invert(1)}
.adv-label{margin:0;color:#fff;font-family:var(--font-family--aspekta);
  font-weight:var(--font-weight--medium);font-size:1.0625rem;line-height:1.28;
  letter-spacing:-.01em}
@media screen and (max-width:991px){
  .adv-wrap{grid-template-columns:minmax(0,1fr)}
  .adv-media img{height:auto;aspect-ratio:16 / 9}
  .adv-panel{padding:2.25rem 1.75rem}
}
@media screen and (max-width:560px){
  .adv-grid{grid-template-columns:minmax(0,1fr);gap:1.4rem}
}
