/*
 * v3 layout, motion and accessibility layer.
 * Visual identity still comes from tw.css, live-inline.css and sg-theme.css (byte copies of the live sources).
 * This file reads the live theme variables but never redefines them, and it declares no fonts.
 * Serif (Instrument Serif) carries headlines, numerals and pull lines. Montserrat stays on small labels,
 * card titles and buttons. Body copy stays Inter light.
 */

html {
  scroll-padding-top: 7rem;
}

.sgv2-skip {
  left: -999px;
  position: absolute;
  top: 0;
}

.sgv2-skip:focus {
  background: #e8eef8;
  border-radius: 999px;
  color: #07111f;
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
  left: 1rem;
  padding: 0.6rem 1rem;
  top: 1rem;
  z-index: 100;
}

/* Six result links plus the CTA need more room than the live four, so the live hamburger
   (same rules sg-theme.css applies below 640px) takes over below 1280px. */
@media (max-width: 1279px) {
  .sg-mobile-nav-ready .sg-desktop-nav {
    display: none !important;
  }

  .sg-mobile-nav-ready .sg-mobile-nav-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .sg-mobile-nav-ready .sg-mobile-nav-menu {
    display: grid;
    gap: 0.15rem;
  }
}

@media (min-width: 1280px) {
  .sg-desktop-nav {
    gap: 0.55rem !important;
  }
}

/* Small label, used sparingly (hero frame only). */
.sg3-kicker {
  color: var(--sg-muted);
  font-family: "Montserrat", sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ---------------------------------------------------------------------------------------------
   Home hero frame: result lines inside the original video footprint (max-w-4xl, 1280:814).
   One row at a time gets a soft highlight, on a CSS loop, so the frame reads as "what we aim for".
   --------------------------------------------------------------------------------------------- */
.sg3-outcomes {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  justify-content: center;
  padding: 1.1rem;
  text-align: left;
}

@media (min-width: 768px) {
  .sg3-outcomes {
    aspect-ratio: 1280 / 814;
    padding: 2rem 2.5rem;
  }
}

.sg3-outcomes-head {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.sg3-outcome {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 1.1rem;
  color: inherit;
  display: grid;
  gap: 0.25rem 1.1rem;
  grid-template-columns: 2.4rem 1fr auto;
  padding: 0.7rem 0.9rem;
  text-decoration: none;
  transition: border-color 220ms ease, background-color 220ms ease, transform 220ms ease;
}

.sg3-outcome-num {
  color: var(--sg-muted-2);
  font-family: "Instrument Serif", serif;
  font-size: 1.35rem;
}

.sg3-outcome-text {
  color: var(--sg-text);
  font-family: "Instrument Serif", serif;
  font-size: 1.65rem;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.sg3-outcome-label {
  color: var(--sg-muted);
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  margin-top: 0.25rem;
}

.sg3-outcome-arrow {
  color: var(--sg-muted);
  transition: transform 220ms ease, color 220ms ease;
}

.sg3-outcome:hover,
.sg3-outcome:focus-visible {
  background: rgba(79, 140, 255, 0.1);
  border-color: rgba(79, 140, 255, 0.4);
  transform: translateX(4px);
}

.sg3-outcome:hover .sg3-outcome-arrow {
  color: #8fb7ff;
  transform: translateX(4px);
}

@media (min-width: 768px) {
  .sg3-outcome-text {
    font-size: 2.15rem;
  }
}

@keyframes sg3-row-glow {
  0%, 22%, 100% { background-color: transparent; border-color: transparent; }
  4%, 18% { background-color: rgba(79, 140, 255, 0.1); border-color: rgba(79, 140, 255, 0.34); }
}

@keyframes sg3-num-glow {
  0%, 22%, 100% { color: var(--sg-muted-2); }
  4%, 18% { color: #9cc3ff; }
}

.sg3-outcome {
  animation: sg3-row-glow 12.5s ease-in-out infinite both;
}

.sg3-outcome .sg3-outcome-num {
  animation: sg3-num-glow 12.5s ease-in-out infinite both;
}

.sg3-outcome:nth-of-type(2), .sg3-outcome:nth-of-type(2) .sg3-outcome-num { animation-delay: 2.5s; }
.sg3-outcome:nth-of-type(3), .sg3-outcome:nth-of-type(3) .sg3-outcome-num { animation-delay: 5s; }
.sg3-outcome:nth-of-type(4), .sg3-outcome:nth-of-type(4) .sg3-outcome-num { animation-delay: 7.5s; }
.sg3-outcome:nth-of-type(5), .sg3-outcome:nth-of-type(5) .sg3-outcome-num { animation-delay: 10s; }

@media (max-width: 767px) {
  .sg3-outcome {
    grid-template-columns: 2rem 1fr;
  }

  .sg3-outcome-arrow {
    display: none;
  }
}

/* ---------------------------------------------------------------------------------------------
   Detail hero frame: one large serif result line at a time, cycling through three.
   --------------------------------------------------------------------------------------------- */
.sg3-cycler-wrap {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2.5rem 1.25rem;
  text-align: center;
}

@media (min-width: 768px) {
  .sg3-cycler-wrap {
    padding: 3.5rem 2.5rem;
  }
}

.sg3-cycler {
  display: grid;
  list-style: none;
  margin: 0;
  min-height: 5.5rem;
  padding: 0;
  place-items: center;
  width: 100%;
}

.sg3-cycler li {
  color: var(--sg-text);
  font-family: "Instrument Serif", serif;
  font-size: 1.9rem;
  grid-area: 1 / 1;
  letter-spacing: -0.02em;
  line-height: 1.1;
  max-width: 40rem;
}

@media (min-width: 768px) {
  .sg3-cycler {
    min-height: 7rem;
  }

  .sg3-cycler li {
    font-size: 3rem;
  }
}

@keyframes sg3-cycle {
  0% { opacity: 0; transform: translateY(14px); }
  4%, 29% { opacity: 1; transform: translateY(0); }
  33%, 100% { opacity: 0; transform: translateY(-14px); }
}

.sg3-cycler li {
  animation: sg3-cycle 10.5s cubic-bezier(0.16, 1, 0.3, 1) infinite both;
}

.sg3-cycler li:nth-child(2) { animation-delay: 3.5s; }
.sg3-cycler li:nth-child(3) { animation-delay: 7s; }

.sg3-cycler-dots {
  display: flex;
  gap: 0.5rem;
}

.sg3-cycler-dots span {
  background: rgba(148, 163, 184, 0.35);
  border-radius: 999px;
  height: 4px;
  width: 22px;
}

@keyframes sg3-dot {
  0%, 33%, 100% { background: rgba(148, 163, 184, 0.35); }
  2%, 31% { background: #8fb7ff; }
}

.sg3-cycler-dots span { animation: sg3-dot 10.5s linear infinite both; }
.sg3-cycler-dots span:nth-child(2) { animation-delay: 3.5s; }
.sg3-cycler-dots span:nth-child(3) { animation-delay: 7s; }

/* ---------------------------------------------------------------------------------------------
   Sections
   --------------------------------------------------------------------------------------------- */
.sg3-section {
  padding: 4.5rem 0;
}

@media (min-width: 768px) {
  .sg3-section {
    padding: 7rem 0;
  }
}

.sg3-head {
  margin: 0 auto 3rem;
  max-width: 46rem;
  text-align: center;
}

.sg3-head h2 {
  margin-bottom: 1.25rem;
}

.sg3-head-left {
  margin: 0 0 3rem;
  max-width: 46rem;
  text-align: left;
}

.sg3-h3 {
  color: var(--sg-text);
  font-family: "Instrument Serif", serif;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 0.9rem;
}

@media (min-width: 768px) {
  .sg3-h3 {
    font-size: 2.6rem;
  }
}

.sg3-label {
  color: #8fb7ff;
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
}

.sg3-textlink {
  align-items: center;
  border-bottom: 1px solid rgba(143, 183, 255, 0.35);
  color: #8fb7ff;
  display: inline-flex;
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding-bottom: 0.2rem;
  text-decoration: none;
  transition: border-color 200ms ease, gap 200ms ease;
}

.sg3-textlink:hover {
  border-color: #8fb7ff;
  gap: 0.75rem;
}

/* Big serif numerals, the style of the live "5 / 30" trio with no metric attached. */
.sg3-num {
  background-image: linear-gradient(160deg, #9cc3ff, #4f8cff 55%, rgba(var(--sg-page-accent-rgb), 0.9));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: "Instrument Serif", serif;
  font-size: 4.5rem;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

@media (min-width: 768px) {
  .sg3-num {
    font-size: 7.5rem;
  }
}

/* Home results: alternating split rows. */
.sg3-results {
  display: grid;
  gap: 1.25rem;
}

.sg3-result {
  align-items: center;
  border-top: 1px solid var(--sg-line);
  display: grid;
  gap: 1rem 3rem;
  padding: 2.5rem 0.25rem;
}

@media (min-width: 768px) {
  .sg3-result {
    grid-template-columns: 14rem 1fr;
    padding: 3.25rem 1rem;
  }

  .sg3-result-flip {
    grid-template-columns: 1fr 14rem;
  }

  .sg3-result-flip .sg3-num {
    order: 2;
    text-align: right;
  }
}

.sg3-result-body {
  max-width: 38rem;
}

/* Split layout used by the matrix teaser, the problem block and the fit block. */
.sg3-split {
  align-items: center;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .sg3-split {
    gap: 4.5rem;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.sg3-split-top {
  align-items: start;
}

/* Problem list: plain rows with hairlines, no icon cards. */
.sg3-problems {
  display: grid;
  margin: 0;
}

.sg3-problems > div {
  border-top: 1px solid var(--sg-line);
  padding: 1.4rem 0;
}

.sg3-problems > div:last-child {
  border-bottom: 1px solid var(--sg-line);
}

.sg3-problems dt {
  color: var(--sg-text);
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.sg3-problems dd {
  color: var(--sg-muted);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.65;
  margin: 0;
}

/* Full-width serif pull line. */
.sg3-pull {
  border-bottom: 1px solid var(--sg-line);
  border-top: 1px solid var(--sg-line);
  margin: 1rem 0;
  padding: 4rem 0.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .sg3-pull {
    padding: 6.5rem 2rem;
  }
}

.sg3-pull-text {
  color: var(--sg-text);
  font-family: "Instrument Serif", serif;
  font-size: 2.1rem;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 auto;
  max-width: 58rem;
}

@media (min-width: 768px) {
  .sg3-pull-text {
    font-size: 3.4rem;
  }
}

.sg3-pull-by {
  color: var(--sg-muted);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  margin: 1.75rem auto 0;
  max-width: 36rem;
}

/* Numbered steps with big serif numerals. */
.sg3-steps {
  display: grid;
  gap: 2.75rem 3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 768px) {
  .sg3-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.sg3-steps li {
  border-top: 1px solid var(--sg-line);
  padding-top: 1.5rem;
}

.sg3-step-num {
  display: block;
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .sg3-step-num {
    font-size: 4.5rem;
  }
}

.sg3-step-title {
  color: var(--sg-text);
  font-family: "Montserrat", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.55rem;
}

.sg3-step-text {
  color: var(--sg-muted);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.65;
}

.sg3-center {
  display: flex;
  justify-content: center;
  margin-top: 3.5rem;
}

/* Matrix teaser: small SVG where example tasks plot in. */
.sg3-mini {
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.18), transparent 40%),
    linear-gradient(145deg, rgba(8, 18, 34, 0.98), rgba(12, 27, 51, 0.94));
  border: 1px solid var(--sg-line);
  border-radius: 1.75rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  padding: 1.25rem;
}

.sg3-mini svg {
  display: block;
  height: auto;
  width: 100%;
}

.sg3-mini text {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.sg3-note {
  color: var(--sg-muted);
  font-family: "Montserrat", sans-serif;
  font-size: 0.75rem;
  margin-top: 1rem;
}

/* Guarantee block on each service page, after the live lead-gen guarantee (LIVE:288-302). */
.sg3-guarantee {
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--sg-page-accent-rgb), 0.2), transparent 55%),
    linear-gradient(160deg, rgba(16, 35, 66, 0.95), rgba(8, 18, 34, 0.95));
  border: 2px solid rgba(96, 165, 250, 0.35);
  border-radius: 2rem;
  box-shadow: 0 30px 90px rgba(37, 99, 235, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  margin: 1rem 0 2rem;
  padding: 4rem 1.25rem;
  text-align: center;
}

@media (min-width: 768px) {
  .sg3-guarantee {
    border-radius: 2.5rem;
    margin: 2rem 0 3rem;
    padding: 6rem 2.5rem;
  }
}

.sg3-guarantee-inner {
  margin: 0 auto;
  max-width: 50rem;
}

.sg3-guarantee-shield {
  align-items: center;
  background: var(--sg-panel-strong);
  border: 1px solid rgba(96, 165, 250, 0.4);
  border-radius: 9999px;
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.2);
  color: #60a5fa;
  display: flex;
  height: 5rem;
  justify-content: center;
  margin: 0 auto 2rem;
  width: 5rem;
}

@media (min-width: 768px) {
  .sg3-guarantee-shield {
    height: 6.5rem;
    width: 6.5rem;
  }
}

.sg3-guarantee-kicker {
  color: #60a5fa;
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.sg3-guarantee-title {
  color: var(--sg-text);
  font-family: "Instrument Serif", serif;
  font-size: 2.4rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .sg3-guarantee-title {
    font-size: 3.6rem;
  }
}

.sg3-guarantee-lede {
  color: var(--sg-muted);
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.65;
  margin: 0 auto 2.5rem;
  max-width: 42rem;
}

@media (min-width: 768px) {
  .sg3-guarantee-lede {
    font-size: 1.3rem;
  }
}

.sg3-guarantee-stats {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto 2.5rem;
  max-width: 26rem;
}

.sg3-guarantee-stats > div + div {
  border-left: 1px solid rgba(96, 165, 250, 0.3);
}

.sg3-guarantee-stat {
  color: var(--sg-text);
  display: block;
  font-family: "Instrument Serif", serif;
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .sg3-guarantee-stat {
    font-size: 4.5rem;
  }
}

.sg3-guarantee-stat-label {
  color: var(--sg-muted);
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sg3-guarantee-terms {
  background: var(--sg-panel);
  border: 1px solid var(--sg-line);
  border-radius: 1.5rem;
  margin: 0 auto 2.5rem;
  max-width: 36rem;
  padding: 1.5rem 1.25rem;
  text-align: left;
}

@media (min-width: 768px) {
  .sg3-guarantee-terms {
    padding: 1.75rem 2rem;
  }
}

.sg3-guarantee-terms-title {
  color: var(--sg-text);
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.sg3-guarantee-disclaimer {
  color: var(--sg-muted);
  font-family: "Montserrat", sans-serif;
  font-size: 0.75rem;
  line-height: 1.6;
  margin: 2rem auto 0;
  max-width: 40rem;
}

/* Band that links the Save Time page to the matrix. */
.sg3-band {
  align-items: center;
  background:
    radial-gradient(circle at 12% 0%, rgba(var(--sg-page-accent-rgb), 0.16), transparent 42%),
    linear-gradient(145deg, rgba(16, 35, 66, 0.9), rgba(8, 18, 34, 0.9));
  border: 1px solid var(--sg-line);
  border-radius: 2rem;
  display: grid;
  gap: 1.75rem;
  margin: 1rem 0 2rem;
  padding: 2rem 1.5rem;
}

@media (min-width: 768px) {
  .sg3-band {
    grid-template-columns: 1fr auto;
    padding: 2.75rem 3rem;
  }
}

.sg3-band h2 {
  color: var(--sg-text);
  font-family: "Instrument Serif", serif;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.6rem;
}

.sg3-band p {
  color: var(--sg-muted);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  max-width: 40rem;
}

/* Inputs and limits lists. */
.sgv2-list {
  display: grid;
  gap: 0.9rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sgv2-list li {
  align-items: flex-start;
  display: flex;
  gap: 0.75rem;
}

.sgv2-list-icon {
  align-items: center;
  background: rgba(79, 140, 255, 0.13);
  border: 1px solid var(--sg-line);
  border-radius: 999px;
  color: #8fb7ff;
  display: flex;
  flex: 0 0 auto;
  height: 1.5rem;
  justify-content: center;
  margin-top: 0.1rem;
  width: 1.5rem;
}

.sgv2-list-text {
  color: var(--sg-muted);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
}

.sg3-fit-title {
  color: var(--sg-text);
  font-family: "Instrument Serif", serif;
  font-size: 1.9rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 1.4rem;
}

/* Hover lift and glow on cards and CTAs. Transform and shadow only. */
.sg3-lift {
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 260ms ease, border-color 260ms ease;
}

.sg3-lift:hover {
  box-shadow: 0 22px 60px rgba(37, 99, 255, 0.16) !important;
  transform: translateY(-3px);
}

/* ---------------------------------------------------------------------------------------------
   Scroll reveals. Hidden states exist only after motion-init.js adds .sg3-motion to <html>
   (never under prefers-reduced-motion, never without JS). If motion.js never runs, the failsafe
   animation shows everything after 2.5s.
   --------------------------------------------------------------------------------------------- */
.sg3-motion main {
  overflow-x: clip;
}

.sg3-motion [data-reveal] {
  opacity: 0;
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    clip-path 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.sg3-motion [data-reveal="up"] { transform: translateY(28px); }
.sg3-motion [data-reveal="left"] { transform: translateX(-36px); }
.sg3-motion [data-reveal="right"] { transform: translateX(36px); }
.sg3-motion [data-reveal="clip"] { clip-path: inset(0 0 100% 0); }

.sg3-motion [data-reveal="stagger"] { opacity: 1; }

.sg3-motion [data-reveal="stagger"] > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.sg3-motion [data-reveal].is-in,
.sg3-motion [data-reveal="stagger"].is-in > * {
  clip-path: inset(0 0 0 0);
  opacity: 1;
  transform: none;
}

.sg3-motion [data-reveal="stagger"].is-in > *:nth-child(2) { transition-delay: 0.1s; }
.sg3-motion [data-reveal="stagger"].is-in > *:nth-child(3) { transition-delay: 0.2s; }
.sg3-motion [data-reveal="stagger"].is-in > *:nth-child(4) { transition-delay: 0.3s; }
.sg3-motion [data-reveal="stagger"].is-in > *:nth-child(5) { transition-delay: 0.4s; }
.sg3-motion [data-reveal="stagger"].is-in > *:nth-child(6) { transition-delay: 0.5s; }
.sg3-motion [data-reveal="stagger"].is-in > *:nth-child(n+7) { transition-delay: 0.6s; }

@keyframes sg3-failsafe {
  to { clip-path: inset(0 0 0 0); opacity: 1; transform: none; }
}

.sg3-motion:not(.sg3-motion-live) [data-reveal],
.sg3-motion:not(.sg3-motion-live) [data-reveal="stagger"] > *,
.sg3-motion:not(.sg3-motion-live) .sg3-mini .sg3-dot {
  animation: sg3-failsafe 0.6s ease 2.5s forwards;
}

/* Matrix teaser dots plot in once the teaser is revealed. */
@keyframes sg3-plot {
  from { opacity: 0; transform: scale(0.2); }
  to { opacity: 1; transform: scale(1); }
}

.sg3-motion .sg3-mini .sg3-dot {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.sg3-motion .sg3-mini.is-in .sg3-dot {
  animation: sg3-plot 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.sg3-motion .sg3-mini.is-in .sg3-dot:nth-of-type(2) { animation-delay: 0.42s; }
.sg3-motion .sg3-mini.is-in .sg3-dot:nth-of-type(3) { animation-delay: 0.54s; }
.sg3-motion .sg3-mini.is-in .sg3-dot:nth-of-type(4) { animation-delay: 0.66s; }
.sg3-motion .sg3-mini.is-in .sg3-dot:nth-of-type(5) { animation-delay: 0.78s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  [data-reveal] > *,
  .sg3-mini .sg3-dot {
    animation: none !important;
    clip-path: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .sg3-outcome,
  .sg3-outcome .sg3-outcome-num,
  .sg3-cycler-dots span {
    animation: none !important;
  }

  .sg3-cycler {
    gap: 0.75rem;
    min-height: 0;
  }

  .sg3-cycler li {
    animation: none !important;
    font-size: 1.6rem;
    grid-area: auto;
    opacity: 1 !important;
    transform: none !important;
  }

  .sg3-cycler-dots {
    display: none;
  }
}

/* Italic gradient phrase followed by punctuation: keep a hair of padding so the italic overhang
   is not clipped by background-clip:text, without a visible gap before the period. */
.grad-text.sg3-grad-tight {
  padding-right: 0.08em;
  margin-right: -0.04em;
}

/* The guarantee headline is larger, so the italic advance leaves a wider gap before the period. */
.sg3-guarantee-title .grad-text.sg3-grad-tight {
  margin-right: -0.14em;
}
