/* =========================================================
   speedRecon public marketing site
   ========================================================= */

.sr-site-body{
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, color-mix(in srgb, var(--primary) 11%, transparent) 0, transparent 34rem),
    radial-gradient(circle at 88% 8%, color-mix(in srgb, var(--primary) 8%, transparent) 0, transparent 30rem),
    var(--bg);
  color: var(--text);
}

.sr-site-shell{
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.sr-site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 75%, transparent);
}

.sr-site-header-inner{
  min-height: 74px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.sr-site-brand{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.sr-site-logo{
  display: block;
  height: 44px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
}

.sr-site-nav{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.sr-site-nav a{
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
}

.sr-site-nav a:hover{
  color: var(--text);
  background: var(--card);
}

.sr-site-actions{
  display: flex;
  align-items: center;
  gap: 10px;
}

.sr-site-login,
.sr-site-cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 15px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 850;
  white-space: nowrap;
}

.sr-site-login{
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--border);
}

.sr-site-login:hover{
  border-color: var(--primary);
}

.sr-site-cta{
  color: var(--on-primary);
  background: var(--primary);
  border: 1px solid var(--primary);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--primary) 26%, transparent);
}

.sr-site-cta:hover{
  filter: brightness(.98);
  transform: translateY(-1px);
}

.sr-site-menu-btn{
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  color: var(--text);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.sr-site-menu-btn span{
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
}

.sr-site-mobile-menu{
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.sr-site-mobile-menu-inner{
  padding: 12px 0 18px;
  display: grid;
  gap: 8px;
}

.sr-site-mobile-menu a{
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  background: var(--card);
  border: 1px solid var(--border);
}

/* Footer */

.sr-site-footer{
  margin-top: 28px;
  border-top: 1px solid var(--border);
  background: var(--card);
}

.sr-site-footer-inner{
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 30px 0;
}

.sr-site-footer-brand{
  display: grid;
  gap: 8px;
}

.sr-site-footer-logo{
  display: block;
  height: 38px;
  width: auto;
  max-width: 240px;
}

.sr-site-footer-brand p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.sr-site-footer-links{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 14px;
}

.sr-site-footer-links a{
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
}

.sr-site-footer-links a:hover{
  color: var(--text);
}

/* Temporary home placeholder 

.sr-home-placeholder{
  min-height: calc(100vh - 74px);
  display: flex;
  align-items: center;
  padding: 86px 0;
}

.sr-home-placeholder-card{
  width: min(880px, 100%);
}
*/
.sr-home-eyebrow{
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  margin-bottom: 22px;
}
/*
.sr-home-placeholder h1{
  max-width: 820px;
  margin: 0;
  font-size: clamp(44px, 7vw, 78px);
  line-height: .95;
  letter-spacing: -0.06em;
  color: var(--text);
}

.sr-home-placeholder p{
  max-width: 650px;
  margin: 24px 0 0;
  font-size: 19px;
  line-height: 1.65;
  color: var(--muted);
}
*/
.sr-home-actions{
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.sr-home-actions .sr-site-cta,
.sr-home-actions .sr-site-login{
  min-height: 48px;
  padding: 0 20px;
}

/* Responsive */

@media (max-width: 860px){
  .sr-site-header-inner{
    grid-template-columns: auto 1fr auto;
    min-height: 68px;
    gap: 14px;
  }

  .sr-site-nav,
  .sr-site-actions{
    display: none;
  }

  .sr-site-menu-btn{
    display: inline-flex;
    justify-self: end;
  }

  .sr-site-logo{
    height: 38px;
    max-width: 220px;
  }

  .sr-site-footer-inner{
    align-items: flex-start;
    flex-direction: column;
  }

  .sr-site-footer-links{
    justify-content: flex-start;
  }
}

@media (max-width: 560px){
  .sr-site-shell{
    width: min(100% - 24px, 1180px);
  }

  .sr-home-placeholder{
    padding: 58px 0;
  }

  .sr-home-placeholder p{
    font-size: 17px;
  }
}

/* =========================================================
   Phase 3: Hero section
   ========================================================= */

.sr-hero{
  position: relative;
  overflow: hidden;
  padding: 74px 0 34px;
}

.sr-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--bg) 86%, transparent) 100%),
    radial-gradient(circle at 76% 22%, color-mix(in srgb, var(--primary) 14%, transparent) 0, transparent 28rem);
  opacity: .9;
}

.sr-hero-grid{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, .98fr);
  gap: 58px;
  align-items: center;
}

.sr-hero-copy h1{
  max-width: 780px;
  margin: 0;
  font-size: clamp(46px, 6.2vw, 82px);
  line-height: .94;
  letter-spacing: -0.065em;
  color: var(--text);
}

.sr-hero-lede{
  max-width: 660px;
  margin: 24px 0 0;
  font-size: 19px;
  line-height: 1.65;
  color: var(--muted);
}

.sr-hero-actions{
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.sr-hero-primary,
.sr-hero-secondary{
  min-height: 50px;
  padding: 0 22px;
}

.sr-hero-proof{
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 700px;
}

.sr-hero-proof > div{
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: color-mix(in srgb, var(--card) 78%, transparent);
  box-shadow: var(--shadow-sm);
}

.sr-hero-proof strong{
  display: block;
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 4px;
}

.sr-hero-proof span{
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

/* Product preview */

.sr-hero-visual{
  position: relative;
  min-height: 520px;
}

.sr-product-card{
  position: relative;
  z-index: 2;
  width: min(100%, 620px);
  margin-left: auto;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: color-mix(in srgb, var(--card) 94%, transparent);
  box-shadow: 0 28px 90px color-mix(in srgb, var(--text) 16%, transparent);
  overflow: hidden;
}

.sr-product-topbar{
  min-height: 52px;
  padding: 0 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: color-mix(in srgb, var(--bg) 64%, var(--card));
}

.sr-product-topbar > div{
  display: flex;
  align-items: center;
  gap: 7px;
}

.sr-product-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--muted) 40%, transparent);
}

.sr-product-title{
  font-size: 13px;
  font-weight: 850;
  color: var(--muted);
}

.sr-product-tabs{
  display: flex;
  gap: 8px;
  padding: 16px 18px 0;
}

.sr-product-tabs span{
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--border);
}

.sr-product-tabs span.is-active{
  color: var(--on-primary);
  background: var(--primary);
  border-color: var(--primary);
}

.sr-product-stats{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 14px 18px 16px;
}

.sr-product-stats div{
  min-width: 0;
  padding: 13px 12px;
  border-radius: 18px;
  background: var(--bg);
  border: 1px solid var(--border);
}

.sr-product-stats span{
  display: block;
  font-size: 11px;
  line-height: 1.2;
  color: var(--muted);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.sr-product-stats strong{
  display: block;
  margin-top: 7px;
  font-size: 22px;
  line-height: 1;
  color: var(--text);
  font-weight: 950;
}

.sr-product-table{
  padding: 0 18px 18px;
}

.sr-product-row{
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-bottom: 0;
  background: var(--card);
}

.sr-product-row:first-child{
  border-radius: 16px 16px 0 0;
}

.sr-product-row:last-child{
  border-bottom: 1px solid var(--border);
  border-radius: 0 0 16px 16px;
}

.sr-product-head{
  min-height: 40px;
  background: var(--bg);
}

.sr-product-row span{
  min-width: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 750;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.sr-product-head span{
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .045em;
}

.sr-product-row em{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  border: 1px solid var(--border);
}

.sr-product-row em.is-ok{
  color: var(--success);
  background: var(--success-bg);
  border-color: var(--success-border);
}

.sr-product-row em.is-warn{
  color: var(--badge-warning-text);
  background: var(--badge-warning-bg);
  border-color: var(--badge-warning-border);
}

.sr-floating-card{
  position: absolute;
  z-index: 3;
  padding: 14px 16px;
  border-radius: 20px;
  background: color-mix(in srgb, var(--card) 90%, transparent);
  border: 1px solid var(--border);
  box-shadow: 0 20px 55px color-mix(in srgb, var(--text) 12%, transparent);
  backdrop-filter: blur(12px);
}

.sr-floating-card span{
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  margin-bottom: 5px;
}

.sr-floating-card strong{
  display: block;
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  font-weight: 950;
}

.sr-floating-card-a{
  left: 0;
  bottom: 64px;
  width: 210px;
}

.sr-floating-card-b{
  right: -8px;
  top: 92px;
  width: 170px;
}

.sr-mini-progress{
  margin-top: 11px;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
}

.sr-mini-progress i{
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--primary);
}

/* Workflow strip */

.sr-hero-workflow{
  position: relative;
  z-index: 1;
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--border);
  border-radius: 26px;
  background: color-mix(in srgb, var(--card) 86%, transparent);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.sr-workflow-step{
  min-height: 176px;
  padding: 24px 22px;
  border-right: 1px solid var(--border);
}

.sr-workflow-step:last-child{
  border-right: 0;
}

.sr-workflow-step span{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  margin-bottom: 18px;
}

.sr-workflow-step strong{
  display: block;
  color: var(--text);
  font-size: 20px;
  line-height: 1.1;
  font-weight: 950;
  margin-bottom: 10px;
}

.sr-workflow-step p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

/* Hide old placeholder rules now that hero is live 
.sr-home-placeholder,
.sr-home-placeholder-card{
  display: initial;
}
*/
/* Responsive hero */

@media (max-width: 1040px){
  .sr-hero-grid{
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .sr-hero-visual{
    min-height: 440px;
  }

  .sr-product-card{
    margin: 0 auto;
  }

  .sr-floating-card-a{
    left: 24px;
  }

  .sr-floating-card-b{
    right: 24px;
  }

  .sr-hero-workflow{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sr-workflow-step:nth-child(2){
    border-right: 0;
  }

  .sr-workflow-step:nth-child(1),
  .sr-workflow-step:nth-child(2){
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 680px){
  .sr-hero{
    padding-top: 52px;
  }

  .sr-hero-proof{
    grid-template-columns: 1fr;
  }

  .sr-hero-visual{
    min-height: auto;
  }

  .sr-product-card{
    border-radius: 22px;
  }

  .sr-product-stats{
    grid-template-columns: 1fr;
  }

  .sr-product-row{
    grid-template-columns: 1fr;
    gap: 4px;
    min-height: auto;
    padding: 12px 14px;
  }

  .sr-product-head{
    display: none;
  }

  .sr-floating-card{
    position: static;
    width: auto;
    margin-top: 12px;
  }

  .sr-hero-workflow{
    margin-top: 34px;
    grid-template-columns: 1fr;
  }

  .sr-workflow-step,
  .sr-workflow-step:nth-child(2){
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .sr-workflow-step:last-child{
    border-bottom: 0;
  }
}

/* =========================================================
   Phase 4: Features section
   ========================================================= */

.sr-features{
  position: relative;
  padding: 92px 0 36px;
}

.sr-section-heading{
  max-width: 820px;
  margin-bottom: 34px;
}

.sr-section-kicker{
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .065em;
  margin-bottom: 16px;
}

.sr-section-heading h2{
  margin: 0;
  max-width: 780px;
  color: var(--text);
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1;
  letter-spacing: -0.055em;
  font-weight: 950;
}

.sr-section-heading p{
  margin: 18px 0 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.sr-features-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.sr-feature-card{
  position: relative;
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--card) 96%, transparent),
      color-mix(in srgb, var(--card) 88%, var(--bg))
    );
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.sr-feature-card::after{
  content: "";
  position: absolute;
  inset: auto -40px -70px auto;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 8%, transparent);
  pointer-events: none;
}

.sr-feature-card-large{
  grid-column: span 2;
}

.sr-feature-card-accent{
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--primary) 18%, transparent), transparent 18rem),
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--card) 98%, transparent),
      color-mix(in srgb, var(--card) 88%, var(--bg))
    );
}

.sr-feature-icon{
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--primary);
  margin-bottom: 22px;
}

.sr-feature-icon svg{
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-feature-card h3{
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--text);
  font-size: 23px;
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 950;
}

.sr-feature-card p{
  position: relative;
  z-index: 1;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
}

.sr-feature-mini-list{
  position: relative;
  z-index: 1;
  margin-top: 22px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.sr-feature-mini-list span{
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 12px;
  font-weight: 850;
}

.sr-feature-card a{
  position: relative;
  z-index: 1;
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--btn-primary-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--primary) 22%, transparent);
}

.sr-feature-card a:hover{
  transform: translateY(-1px);
}

/* Responsive feature cards */

@media (max-width: 980px){
  .sr-features{
    padding-top: 72px;
  }

  .sr-features-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sr-feature-card-large{
    grid-column: span 2;
  }
}

@media (max-width: 640px){
  .sr-features-grid{
    grid-template-columns: 1fr;
  }

  .sr-feature-card,
  .sr-feature-card-large{
    grid-column: auto;
  }

  .sr-feature-card{
    min-height: auto;
    padding: 22px;
    border-radius: 22px;
  }

  .sr-section-heading p{
    font-size: 16px;
  }
}

/* =========================================================
   Phase 5: Product tour / screenshots
   ========================================================= */

.sr-product-tour{
  position: relative;
  padding: 92px 0 42px;
}

.sr-section-heading-centered{
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.sr-section-heading-centered p{
  margin-left: auto;
  margin-right: auto;
}

.sr-tour-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.sr-tour-card{
  position: relative;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--primary) 8%, transparent), transparent 18rem),
    color-mix(in srgb, var(--card) 94%, transparent);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.sr-tour-card-large,
.sr-tour-card-wide{
  grid-column: span 2;
}

.sr-tour-card-large{
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  gap: 18px;
  align-items: stretch;
}

.sr-tour-card-wide{
  display: grid;
  grid-template-columns: minmax(280px, .68fr) minmax(0, 1.32fr);
  gap: 18px;
  align-items: stretch;
}

.sr-tour-copy{
  position: relative;
  z-index: 1;
  padding: 12px 8px 12px 8px;
  align-self: center;
}

.sr-tour-step{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 13px;
  font-weight: 950;
  margin-bottom: 18px;
}

.sr-tour-copy h3{
  margin: 0;
  color: var(--text);
  font-size: clamp(25px, 2.2vw, 36px);
  line-height: 1.03;
  letter-spacing: -0.045em;
  font-weight: 950;
}

.sr-tour-copy p{
  margin: 14px 0 0;
  max-width: 480px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.sr-tour-shot{
  position: relative;
  min-height: 310px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--bg) 70%, var(--card)), var(--card));
  overflow: hidden;
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--card) 80%, transparent);
}

.sr-tour-card:not(.sr-tour-card-large):not(.sr-tour-card-wide) .sr-tour-shot{
  min-height: 240px;
  margin-top: 18px;
}

.sr-tour-shot::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--border) 40%, transparent) 1px, transparent 1px),
    linear-gradient(180deg, color-mix(in srgb, var(--border) 40%, transparent) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: .22;
  pointer-events: none;
}

.sr-tour-shot img{
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: top left;
}

/* If an image is missing, keep the box looking deliberate */
.sr-tour-shot img[src=""],
.sr-tour-shot img:not([src]){
  display: none;
}

.sr-tour-shot::after{
  content: "Screenshot";
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--card) 84%, transparent);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

/* When real images are present, hide the placeholder label visually behind image */
.sr-tour-shot img + *{
  display: none;
}

/* Responsive product tour */

@media (max-width: 980px){
  .sr-product-tour{
    padding-top: 72px;
  }

  .sr-tour-card-large,
  .sr-tour-card-wide{
    grid-template-columns: 1fr;
  }

  .sr-tour-copy{
    padding: 8px;
  }

  .sr-tour-shot{
    min-height: 300px;
  }
}

@media (max-width: 700px){
  .sr-tour-grid{
    grid-template-columns: 1fr;
  }

  .sr-tour-card,
  .sr-tour-card-large,
  .sr-tour-card-wide{
    grid-column: auto;
  }

  .sr-tour-card{
    border-radius: 24px;
    padding: 14px;
  }

  .sr-tour-shot,
  .sr-tour-card:not(.sr-tour-card-large):not(.sr-tour-card-wide) .sr-tour-shot{
    min-height: 230px;
    border-radius: 18px;
  }
}

/* =========================================================
   Phase 6: Pricing section
   ========================================================= */

.sr-pricing{
  position: relative;
  padding: 94px 0 42px;
}

.sr-pricing::before{
  content: "";
  position: absolute;
  inset: 12% 0 auto 0;
  height: 520px;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 20%, color-mix(in srgb, var(--primary) 10%, transparent), transparent 34rem);
  opacity: .9;
}

.sr-pricing > .sr-site-shell{
  position: relative;
  z-index: 1;
}

.sr-pricing-grid{
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.sr-price-card{
  position: relative;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--card) 98%, transparent),
      color-mix(in srgb, var(--card) 88%, var(--bg))
    );
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.sr-price-card::after{
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 190px;
  height: 190px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 7%, transparent);
  pointer-events: none;
}

.sr-price-card-featured{
  border-color: color-mix(in srgb, var(--primary) 50%, var(--border));
  box-shadow:
    0 22px 70px color-mix(in srgb, var(--primary) 18%, transparent),
    var(--shadow-sm);
  transform: translateY(-10px);
}

.sr-price-card-featured::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 85% 0%, color-mix(in srgb, var(--primary) 18%, transparent), transparent 18rem);
}

.sr-price-ribbon{
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 12px;
  font-weight: 950;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--primary) 24%, transparent);
}

.sr-price-card-head,
.sr-price-amount,
.sr-price-list,
.sr-price-btn{
  position: relative;
  z-index: 1;
}

.sr-price-badge{
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .055em;
  margin-bottom: 18px;
}

.sr-price-card h3{
  margin: 0;
  color: var(--text);
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 950;
}

.sr-price-card-head p{
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  min-height: 70px;
}

.sr-price-amount{
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.sr-price-amount strong{
  display: block;
  color: var(--text);
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 950;
}

.sr-price-amount span{
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.sr-price-list{
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}

.sr-price-list li{
  position: relative;
  padding-left: 28px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 750;
}

.sr-price-list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: .15em;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 13%, var(--bg));
  border: 1px solid color-mix(in srgb, var(--primary) 35%, var(--border));
}

.sr-price-list li::after{
  content: "";
  position: absolute;
  left: 6px;
  top: calc(.15em + 5px);
  width: 6px;
  height: 3px;
  border-left: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(-45deg);
}

.sr-price-btn{
  margin-top: 28px;
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 950;
}

.sr-price-btn-primary{
  background: var(--primary);
  border: 1px solid var(--primary);
  color: var(--on-primary);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--primary) 24%, transparent);
}

.sr-price-btn-secondary{
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
}

.sr-price-btn:hover{
  transform: translateY(-1px);
}

.sr-price-btn-secondary:hover{
  border-color: var(--primary);
}

.sr-pricing-note{
  margin: 22px auto 0;
  max-width: 820px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: color-mix(in srgb, var(--card) 88%, transparent);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.sr-pricing-note strong{
  color: var(--text);
}

/* Responsive pricing */

@media (max-width: 980px){
  .sr-pricing{
    padding-top: 74px;
  }

  .sr-pricing-grid{
    grid-template-columns: 1fr;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
  }

  .sr-price-card-featured{
    transform: none;
  }

  .sr-price-card-head p{
    min-height: 0;
  }
}

@media (max-width: 560px){
  .sr-price-card{
    padding: 22px;
    border-radius: 24px;
  }

  .sr-price-ribbon{
    position: static;
    width: fit-content;
    margin-bottom: 14px;
  }

  .sr-price-amount strong{
    font-size: 34px;
  }
}

/* =========================================================
   Phase 7: Security / trust section
   ========================================================= */

.sr-security{
  position: relative;
  padding: 96px 0 52px;
}

.sr-security::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 18%, color-mix(in srgb, var(--primary) 10%, transparent), transparent 30rem),
    radial-gradient(circle at 90% 72%, color-mix(in srgb, var(--primary) 8%, transparent), transparent 28rem);
}

.sr-security > .sr-site-shell{
  position: relative;
  z-index: 1;
}

.sr-security-grid{
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  gap: 34px;
  align-items: center;
}

.sr-security-copy h2{
  margin: 0;
  max-width: 680px;
  color: var(--text);
  font-size: clamp(36px, 4.8vw, 62px);
  line-height: 1;
  letter-spacing: -0.06em;
  font-weight: 950;
}

.sr-security-copy > p{
  margin: 20px 0 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.sr-security-callout{
  margin-top: 28px;
  max-width: 620px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: color-mix(in srgb, var(--card) 88%, transparent);
  box-shadow: var(--shadow-sm);
}

.sr-security-callout strong{
  display: block;
  color: var(--text);
  font-size: 15px;
  font-weight: 950;
  margin-bottom: 6px;
}

.sr-security-callout span{
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.sr-security-panel{
  border: 1px solid var(--border);
  border-radius: 32px;
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--card) 98%, transparent),
      color-mix(in srgb, var(--card) 90%, var(--bg))
    );
  box-shadow: var(--shadow);
  overflow: hidden;
}

.sr-security-panel-head{
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 64%, var(--card));
}

.sr-security-panel-head span{
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .065em;
  margin-bottom: 7px;
}

.sr-security-panel-head strong{
  display: block;
  color: var(--text);
  font-size: 22px;
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.sr-security-list{
  display: grid;
}

.sr-security-list article{
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
}

.sr-security-list article:last-child{
  border-bottom: 0;
}

.sr-security-icon{
  width: 50px;
  height: 50px;
  border-radius: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--primary);
}

.sr-security-icon svg{
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.05;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-security-list h3{
  margin: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.15;
  font-weight: 950;
  letter-spacing: -0.025em;
}

.sr-security-list p{
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.sr-security-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: 22px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 14px 36px rgba(15, 23, 42, .06);
}
.sr-trust-strip{
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--border);
  border-radius: 26px;
  background: color-mix(in srgb, var(--card) 88%, transparent);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.sr-trust-strip div{
  padding: 20px 18px;
  border-right: 1px solid var(--border);
}

.sr-trust-strip div:last-child{
  border-right: 0;
}

.sr-trust-strip strong{
  display: block;
  color: var(--text);
  font-size: 16px;
  line-height: 1.1;
  font-weight: 950;
  margin-bottom: 7px;
}

.sr-trust-strip span{
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
}

/* Responsive security section */

@media (max-width: 1040px){
  .sr-security-grid{
    grid-template-columns: 1fr;
  }

  .sr-security-panel{
    max-width: 760px;
  }

  .sr-trust-strip{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sr-trust-strip div:nth-child(2){
    border-right: 0;
  }

  .sr-trust-strip div:nth-child(1),
  .sr-trust-strip div:nth-child(2){
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 640px){
  .sr-security{
    padding-top: 74px;
  }

  .sr-security-panel{
    border-radius: 24px;
  }

  .sr-security-panel-head{
    padding: 20px;
  }

  .sr-security-list article{
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px;
  }

  .sr-trust-strip{
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .sr-trust-strip div,
  .sr-trust-strip div:nth-child(2){
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .sr-trust-strip div:last-child{
    border-bottom: 0;
  }
}

/* =========================================================
   Phase 8: Final CTA
   ========================================================= */

.sr-final-cta{
  position: relative;
  padding: 72px 0 28px;
}

.sr-final-cta-card{
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 42px;
  border: 1px solid color-mix(in srgb, var(--primary) 28%, var(--border));
  border-radius: 34px;
  background:
    radial-gradient(circle at 86% 20%, color-mix(in srgb, var(--primary) 22%, transparent), transparent 26rem),
    radial-gradient(circle at 0% 100%, color-mix(in srgb, var(--primary) 10%, transparent), transparent 24rem),
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--card) 98%, transparent),
      color-mix(in srgb, var(--card) 86%, var(--bg))
    );
  box-shadow:
    0 28px 90px color-mix(in srgb, var(--primary) 12%, transparent),
    var(--shadow);
}

.sr-final-cta-card::before{
  content: "";
  position: absolute;
  right: -110px;
  top: -120px;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  pointer-events: none;
}

.sr-final-cta-card::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--border) 36%, transparent) 1px, transparent 1px),
    linear-gradient(180deg, color-mix(in srgb, var(--border) 36%, transparent) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: .12;
}

.sr-final-cta-copy,
.sr-final-cta-actions{
  position: relative;
  z-index: 1;
}

.sr-final-cta-copy h2{
  max-width: 780px;
  margin: 0;
  color: var(--text);
  font-size: clamp(34px, 4.7vw, 62px);
  line-height: 1;
  letter-spacing: -0.06em;
  font-weight: 950;
}

.sr-final-cta-copy p{
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.sr-final-cta-actions{
  display: grid;
  gap: 12px;
  min-width: 280px;
  
}

.sr-final-cta-primary,
.sr-final-cta-secondary{
  min-height: 50px;
  padding: 0 22px;
  width: 100%;
}

.sr-final-cta-secondary{
  background: color-mix(in srgb, var(--card) 88%, transparent);
}

/* Responsive final CTA */

@media (max-width: 900px){
  .sr-final-cta-card{
    grid-template-columns: 1fr;
    padding: 34px;
  }

  .sr-final-cta-actions{
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
  }

  .sr-final-cta-primary,
  .sr-final-cta-secondary{
    width: auto;
  }
}

.sr-feature-card .sr-feature-cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--on-primary, #fff);
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
}

.sr-feature-card .sr-feature-cta:hover{
  transform: translateY(-1px);
}

@media (max-width: 560px){
  .sr-final-cta{
    padding-top: 54px;
  }

  .sr-final-cta-card{
    padding: 26px;
    border-radius: 26px;
  }

  .sr-final-cta-actions{
    display: grid;
  }

  .sr-final-cta-primary,
  .sr-final-cta-secondary{
    width: 100%;
  }

  .sr-final-cta-copy p{
    font-size: 16px;
  }
}
/* =========================================================
   Phase 9: final responsive polish
   ========================================================= */

@media (max-width: 760px){
  .sr-site-header{
    position: sticky;
  }

  .sr-hero,
  .sr-features,
  .sr-product-tour,
  .sr-pricing,
  .sr-security{
    padding-top: 62px;
  }

  .sr-section-heading{
    margin-bottom: 26px;
  }

  .sr-section-heading h2,
  .sr-security-copy h2,
  .sr-final-cta-copy h2{
    letter-spacing: -0.045em;
  }

  .sr-hero-copy h1{
    letter-spacing: -0.05em;
  }

  .sr-hero-lede,
  .sr-section-heading p,
  .sr-security-copy > p,
  .sr-final-cta-copy p{
    font-size: 16px;
    line-height: 1.58;
  }

  .sr-product-card,
  .sr-feature-card,
  .sr-tour-card,
  .sr-price-card,
  .sr-security-panel,
  .sr-final-cta-card{
    box-shadow: var(--shadow-sm);
  }
}

@media (max-width: 420px){
  .sr-site-logo{
    height: 34px;
    max-width: 190px;
  }

  .sr-site-header-inner{
    min-height: 64px;
  }

  .sr-hero-copy h1{
    font-size: 42px;
  }

  .sr-site-cta,
  .sr-site-login,
  .sr-price-btn,
  .sr-final-cta-primary,
  .sr-final-cta-secondary{
    width: 100%;
  }

  .sr-hero-actions,
  .sr-home-actions{
    align-items: stretch;
  }

  .sr-product-tabs{
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .sr-product-tabs span{
    white-space: nowrap;
  }
}

html{
  scroll-behavior: smooth;
}

#features,
#workflow,
#pricing,
#security{
  scroll-margin-top: 96px;
}

/* =========================================================
   Hero floating cards: safer tablet layout
   ========================================================= */

@media (min-width: 681px) and (max-width: 1040px){
  .sr-hero-visual{
    width: min(100%, 720px);
    margin: 0 auto;
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .sr-product-card{
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .sr-floating-card{
    position: relative;
    inset: auto;
    width: auto;
  }

  .sr-floating-card-a,
  .sr-floating-card-b{
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
  }
}

.sr-site-footer-brand p a{
  color: var(--primary);
  font-weight: 850;
  text-decoration: none;
}

.sr-site-footer-brand p a:hover{
  text-decoration: underline;
}

/* About page */
.sr-about-hero {
  padding: 92px 0 56px;
  background:
    radial-gradient(circle at 12% 10%, rgba(35, 99, 235, .14), transparent 34%),
    linear-gradient(180deg, rgba(248, 250, 252, 1), rgba(255, 255, 255, 1));
}

.sr-about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 32px;
  align-items: center;
}

.sr-about-copy h1 {
  margin: 12px 0 16px;
  max-width: 780px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: .98;
  letter-spacing: -0.055em;
  color: #0f172a;
}

.sr-about-copy p {
  max-width: 720px;
  margin: 0 0 14px;
  color: #475569;
  font-size: 17px;
  line-height: 1.75;
}

.sr-about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.sr-about-card {
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: 28px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 24px 70px rgba(15, 23, 42, .12);
}

.sr-about-card div {
  padding: 16px 0;
  border-bottom: 1px solid rgba(148, 163, 184, .22);
}

.sr-about-card div:last-child {
  border-bottom: 0;
}

.sr-about-card span {
  display: block;
  margin-bottom: 5px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sr-about-card strong {
  display: block;
  color: #0f172a;
  font-size: 17px;
  line-height: 1.4;
}

.sr-about-card a {
  color: #2563eb;
  text-decoration: none;
}

.sr-about-section {
  padding: 70px 0;
}

.sr-about-section-soft {
  background: #f8fafc;
}

.sr-about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.sr-about-value-card,
.sr-about-list-card {
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(15, 23, 42, .06);
}

.sr-about-value-card h3,
.sr-about-list-card h3 {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: 18px;
}

.sr-about-value-card p,
.sr-about-split p,
.sr-about-cta p {
  margin: 0;
  color: #475569;
  line-height: 1.7;
}

.sr-about-split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(300px, 1.1fr);
  gap: 30px;
  align-items: center;
}

.sr-about-split h2,
.sr-about-cta h2 {
  margin: 10px 0 14px;
  color: #0f172a;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.sr-about-list-card ul {
  margin: 0;
  padding-left: 20px;
  color: #475569;
  line-height: 1.8;
}

.sr-about-list-card li + li {
  margin-top: 8px;
}

.sr-about-cta {
  max-width: 850px;
  text-align: center;
}

.sr-about-cta p {
  margin: 0 auto 22px;
  max-width: 720px;
}

@media (max-width: 860px) {
  .sr-about-hero-grid,
  .sr-about-split,
  .sr-about-values-grid {
    grid-template-columns: 1fr;
  }

  .sr-about-hero {
    padding-top: 64px;
  }
}

/* Public legal pages */
.sr-legal-public-page {
  background: #f8fafc;
}

.sr-legal-public-hero {
  padding: 72px 0 34px;
  background:
    radial-gradient(circle at 12% 0%, rgba(37, 99, 235, .13), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.sr-legal-public-hero h1 {
  margin: 10px 0 12px;
  color: #0f172a;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.sr-legal-public-hero p {
  max-width: 760px;
  margin: 0;
  color: #475569;
  font-size: 16px;
  line-height: 1.7;
}

.sr-legal-public-hero a {
  color: #2563eb;
  font-weight: 700;
  text-decoration: none;
}

.sr-legal-public-content {
  padding: 0 0 70px;
}

.sr-legal-public-card {
  max-width: 920px;
  margin: 0 auto;
  padding: 30px;
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(15, 23, 42, .08);
  color: #334155;
  font-size: 15px;
  line-height: 1.75;
}

.sr-legal-public-card h1,
.sr-legal-public-card h2,
.sr-legal-public-card h3 {
  color: #0f172a;
  line-height: 1.2;
}

.sr-legal-public-card h1 {
  font-size: 30px;
}

.sr-legal-public-card h2 {
  margin-top: 28px;
  font-size: 22px;
}

.sr-legal-public-card h3 {
  margin-top: 22px;
  font-size: 18px;
}

.sr-legal-public-card p,
.sr-legal-public-card li {
  color: #334155;
}

.sr-legal-public-card a {
  color: #2563eb;
  font-weight: 700;
  text-decoration: none;
}

.sr-legal-public-card ul,
.sr-legal-public-card ol {
  padding-left: 22px;
}

@media (max-width: 720px) {
  .sr-legal-public-hero {
    padding-top: 52px;
  }

  .sr-legal-public-card {
    padding: 22px;
    border-radius: 20px;
  }
}

/* Homepage security/trust section */
.sr-site-security {
  background:
    radial-gradient(circle at 88% 18%, rgba(37, 99, 235, .10), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.sr-security-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(340px, 1.1fr);
  gap: 34px;
  align-items: start;
}

.sr-security-panel {
  display: grid;
  gap: 14px;
}

.sr-security-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: 22px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 14px 36px rgba(15, 23, 42, .06);
}

.sr-security-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 16px;
  background: #eff6ff;
  font-size: 20px;
}

.sr-security-item h3 {
  margin: 0 0 6px;
  color: #0f172a;
  font-size: 16px;
  line-height: 1.25;
}

.sr-security-item p {
  margin: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .sr-security-grid {
    grid-template-columns: 1fr;
  }
}

/* Homepage FAQ */
.sr-site-faq {
  background: #ffffff;
}

.sr-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.sr-faq-item {
  padding: 22px;
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(248, 250, 252, .9), rgba(255, 255, 255, 1));
  box-shadow: 0 14px 36px rgba(15, 23, 42, .055);
}

.sr-faq-item h3 {
  margin: 0 0 9px;
  color: #0f172a;
  font-size: 17px;
  line-height: 1.3;
}

.sr-faq-item p {
  margin: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 800px) {
  .sr-faq-grid {
    grid-template-columns: 1fr;
  }
}

/* Public site footer socials */
.sr-site-footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.sr-site-footer-social {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(148, 163, 184, .26);
  border-radius: 14px;
  color: #e2e8f0;
  background: rgba(15, 23, 42, .42);
  text-decoration: none;
  transition:
    transform .16s ease,
    border-color .16s ease,
    background .16s ease,
    color .16s ease;
}

.sr-site-footer-social:hover {
  transform: translateY(-1px);
  border-color: rgba(96, 165, 250, .55);
  background: rgba(37, 99, 235, .18);
  color: #ffffff;
}

/* =========================================================
   Public Help Center
   ========================================================= */

.sr-help-hero {
  padding: 76px 0 42px;
  background:
    radial-gradient(circle at 18% 0%, color-mix(in srgb, var(--primary) 16%, transparent), transparent 34rem),
    linear-gradient(180deg, color-mix(in srgb, var(--card) 90%, transparent), color-mix(in srgb, var(--bg) 100%, transparent));
  border-bottom: 1px solid color-mix(in srgb, var(--border) 78%, transparent);
}

.sr-help-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: 34px;
  align-items: center;
}

.sr-help-hero-copy h1 {
  margin: 12px 0 14px;
  max-width: 760px;
  color: var(--text);
  font-size: clamp(36px, 5vw, 62px);
  line-height: .98;
  letter-spacing: -.055em;
}

.sr-help-hero-copy p {
  margin: 0;
  max-width: 680px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 650;
}

.sr-help-search {
  padding: 22px;
  border: 1px solid color-mix(in srgb, var(--border) 82%, transparent);
  border-radius: 28px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--card) 96%, transparent), color-mix(in srgb, var(--card) 84%, transparent));
  box-shadow: 0 22px 60px color-mix(in srgb, #020617 10%, transparent);
}

.sr-help-search-label {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
}

.sr-help-search-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.sr-help-search-box-with-filter {
  grid-template-columns: minmax(0, 1fr) minmax(190px, auto) auto;
}

.sr-help-search-box select {
  min-height: 52px;
  width: 100%;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-weight: 800;
  outline: none;
}

.sr-help-search-box select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 14%, transparent);
}

.sr-help-search-box input {
  min-height: 52px;
  width: 100%;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  outline: none;
}

.sr-help-search-box input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 14%, transparent);
}

.sr-help-search-box button {
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid var(--primary);
  border-radius: 16px;
  background: var(--primary);
  color: var(--on-primary);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.sr-help-search-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.sr-help-search-hints a,
.sr-help-clear-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 900;
}

.sr-help-reset-filter {
  margin-left: auto;
  padding-left: 10px;
}

.sr-help-main {
  padding: 44px 0;
}

.sr-help-section-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 20px;
}

.sr-help-section-heading h2 {
  margin: 6px 0 0;
  color: var(--text);
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -.035em;
  line-height: 1.08;
}

.sr-help-section-heading-small {
  margin-top: 42px;
}

.sr-help-results-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.5;
}

.sr-help-topic-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -4px 0 20px;
}

.sr-help-topic-chips a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid color-mix(in srgb, var(--border) 82%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--card) 88%, transparent);
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 850;
}

.sr-help-topic-chips a:hover {
  border-color: color-mix(in srgb, var(--primary) 44%, var(--border));
  color: var(--primary);
}

.sr-help-section-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 16px;
  align-items: stretch;
  clear: both;
}

.sr-help-section-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 210px;
  padding: 20px;
  border: 1px solid color-mix(in srgb, var(--border) 82%, transparent);
  border-radius: 24px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--card) 98%, transparent), color-mix(in srgb, var(--card) 88%, transparent));
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 14px 36px color-mix(in srgb, #020617 6%, transparent);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.sr-help-section-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--primary) 44%, var(--border));
  box-shadow: 0 20px 46px color-mix(in srgb, #020617 9%, transparent);
}

.sr-help-section-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 17px;
  background: color-mix(in srgb, var(--primary) 10%, var(--card));
  font-size: 22px;
}

.sr-help-section-title {
  color: var(--text);
  font-size: 17px;
  font-weight: 950;
  letter-spacing: -.015em;
}

.sr-help-section-desc,
.sr-help-article-card p,
.sr-help-muted {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  font-weight: 650;
}

.sr-help-section-count {
  margin-top: auto;
  color: color-mix(in srgb, var(--primary) 86%, var(--text));
  font-size: 13px;
  font-weight: 900;
}

.sr-help-featured-block,
.sr-help-recent-block {
  margin-top: 38px;
}

.sr-help-article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.sr-help-article-grid-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sr-help-article-card a {
  display: grid;
  gap: 10px;
  min-height: 190px;
  padding: 20px;
  border: 1px solid color-mix(in srgb, var(--border) 82%, transparent);
  border-radius: 22px;
  background: var(--card);
  color: inherit;
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease;
}

.sr-help-article-card a:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--primary) 45%, var(--border));
}

.sr-help-article-section {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  color: color-mix(in srgb, var(--primary) 88%, var(--text));
  font-size: 12px;
  font-weight: 900;
}

.sr-help-article-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -.02em;
}

.sr-help-article-card p {
  margin: 0;
}

.sr-help-read-more {
  margin-top: auto;
  color: var(--primary);
  font-weight: 950;
  font-size: 14px;
}

.sr-help-side-panel {
  position: sticky;
  top: 94px;
  padding: 22px;
  border: 1px solid color-mix(in srgb, var(--border) 82%, transparent);
  border-radius: 24px;
  background: var(--card);
}

.sr-help-side-panel h2 {
  margin: 6px 0 16px;
  color: var(--text);
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: -.03em;
}

.sr-help-recent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.sr-help-recent-grid a {
  display: grid;
  gap: 6px;
  min-height: 92px;
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--border) 76%, transparent);
  border-radius: 18px;
  color: var(--text);
  text-decoration: none;
  background: color-mix(in srgb, var(--card) 96%, transparent);
}

.sr-help-recent-grid a:hover {
  border-color: color-mix(in srgb, var(--primary) 44%, var(--border));
  transform: translateY(-1px);
}

.sr-help-recent-grid strong {
  color: var(--text);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 950;
}

.sr-help-recent-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.sr-help-recent-list {
  display: grid;
  gap: 10px;
}

.sr-help-recent-list a {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--border) 72%, transparent);
  border-radius: 16px;
  color: var(--text);
  text-decoration: none;
  background: color-mix(in srgb, var(--bg) 54%, transparent);
}

.sr-help-recent-list a:hover {
  border-color: color-mix(in srgb, var(--primary) 44%, var(--border));
}

.sr-help-recent-list strong {
  font-size: 14px;
  line-height: 1.35;
}

.sr-help-recent-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.sr-help-empty-state {
  padding: 30px;
  border: 1px dashed color-mix(in srgb, var(--border) 92%, transparent);
  border-radius: 24px;
  background: color-mix(in srgb, var(--card) 82%, transparent);
}

.sr-help-empty-state-small {
  padding: 22px;
}

.sr-help-empty-state h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 20px;
}

.sr-help-empty-state p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 650;
}

.sr-help-contact {
  padding: 8px 0 54px;
}

.sr-help-contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 26px;
  border: 1px solid color-mix(in srgb, var(--primary) 22%, var(--border));
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 0%, color-mix(in srgb, var(--primary) 14%, transparent), transparent 22rem),
    var(--card);
}

.sr-help-contact-card h2 {
  margin: 6px 0 8px;
  color: var(--text);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.12;
  letter-spacing: -.035em;
}

.sr-help-contact-card p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 650;
}

@media (max-width: 980px) {
  .sr-help-hero-inner {
    grid-template-columns: 1fr;
  }

  .sr-help-side-panel {
    position: static;
  }

  .sr-help-section-grid,
  .sr-help-article-grid,
  .sr-help-article-grid-compact,
  .sr-help-recent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .sr-help-hero {
    padding: 48px 0 30px;
  }

  .sr-help-search-box,
  .sr-help-search-box-with-filter,
  .sr-help-section-grid,
  .sr-help-article-grid,
  .sr-help-article-grid-compact,
  .sr-help-recent-grid {
    grid-template-columns: 1fr;
  }

  .sr-help-reset-filter {
    margin-left: 0;
    padding-left: 0;
  }

  .sr-help-section-heading,
  .sr-help-contact-card {
    align-items: stretch;
    flex-direction: column;
  }

  .sr-help-search-box button,
  .sr-help-contact-card .sr-site-cta {
    width: 100%;
  }
}

/* =========================================================
   Public Help Article Page
   ========================================================= */

.sr-help-article-hero{
  padding:64px 0 38px;
  border-bottom:1px solid color-mix(in srgb, var(--border) 78%, transparent);
  background:
    radial-gradient(circle at 16% 0%, color-mix(in srgb, var(--primary) 14%, transparent), transparent 30rem),
    linear-gradient(180deg, color-mix(in srgb, var(--card) 94%, transparent), var(--bg));
}

.sr-help-breadcrumb{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:22px;
  color:var(--primary);
  text-decoration:none;
  font-size:14px;
  font-weight:900;
}

.sr-help-breadcrumb:hover{
  text-decoration:underline;
}

.sr-help-article-kicker{
  display:inline-flex;
  width:fit-content;
  padding:6px 10px;
  border-radius:999px;
  background:color-mix(in srgb, var(--primary) 10%, transparent);
  color:color-mix(in srgb, var(--primary) 86%, var(--text));
  font-size:12px;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.sr-help-article-hero h1{
  max-width:920px;
  margin:14px 0 14px;
  color:var(--text);
  font-size:clamp(34px, 5vw, 58px);
  line-height:1;
  letter-spacing:-.055em;
}

.sr-help-article-hero p{
  max-width:820px;
  margin:0;
  color:var(--muted);
  font-size:17px;
  line-height:1.75;
  font-weight:650;
}

.sr-help-article-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
  color:var(--muted);
  font-size:13px;
  font-weight:850;
}

.sr-help-article-meta span{
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.sr-help-article-meta span + span::before{
  content:"";
  width:5px;
  height:5px;
  border-radius:999px;
  background:color-mix(in srgb, var(--muted) 64%, transparent);
}

.sr-help-article-main{
  padding:42px 0 58px;
}

.sr-help-article-layout{
  display:grid;
  grid-template-columns:minmax(0, 1fr) 340px;
  gap:24px;
  align-items:start;
}

.sr-help-article-card-main{
  min-width:0;
  padding:32px;
  border:1px solid color-mix(in srgb, var(--border) 82%, transparent);
  border-radius:28px;
  background:var(--card);
  box-shadow:0 18px 50px color-mix(in srgb, #020617 7%, transparent);
}

.sr-help-article-body{
  color:var(--text);
  font-size:16px;
  line-height:1.78;
}

.sr-help-article-body > *:first-child{
  margin-top:0;
}

.sr-help-article-body > *:last-child{
  margin-bottom:0;
}

.sr-help-article-body h2,
.sr-help-article-body h3,
.sr-help-article-body h4{
  color:var(--text);
  line-height:1.18;
  letter-spacing:-.025em;
}

.sr-help-article-body h2{
  margin:30px 0 12px;
  font-size:28px;
}

.sr-help-article-body h3{
  margin:24px 0 10px;
  font-size:22px;
}

.sr-help-article-body h4{
  margin:20px 0 8px;
  font-size:18px;
}

.sr-help-article-body p{
  margin:0 0 16px;
}

.sr-help-article-body ul,
.sr-help-article-body ol{
  margin:0 0 18px 22px;
  padding:0;
}

.sr-help-article-body li{
  margin:7px 0;
}

.sr-help-article-body a{
  color:var(--primary);
  font-weight:850;
}

.sr-help-article-body code{
  padding:2px 6px;
  border:1px solid var(--border);
  border-radius:8px;
  background:var(--soft);
  color:var(--text);
  font-size:.92em;
}

.sr-help-article-body pre{
  overflow:auto;
  padding:16px;
  border:1px solid var(--border);
  border-radius:18px;
  background:var(--soft);
}

.sr-help-article-body pre code{
  padding:0;
  border:0;
  background:transparent;
}

.sr-help-article-body blockquote{
  margin:20px 0;
  padding:16px 18px;
  border-left:4px solid var(--primary);
  border-radius:16px;
  background:color-mix(in srgb, var(--primary) 8%, var(--card));
  color:var(--text);
}

.sr-help-article-body table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  margin:20px 0;
  border:1px solid var(--border);
  border-radius:18px;
}

.sr-help-article-body th,
.sr-help-article-body td{
  padding:12px 14px;
  border-bottom:1px solid var(--border);
  text-align:left;
  vertical-align:top;
}

.sr-help-article-body th{
  background:var(--soft);
  color:var(--text);
  font-weight:900;
}

.sr-help-article-body tr:last-child td{
  border-bottom:0;
}

.sr-help-article-body img{
  max-width:100%;
  height:auto;
  border-radius:18px;
  border:1px solid var(--border);
  box-shadow:0 12px 34px color-mix(in srgb, #020617 8%, transparent);
}

.sr-help-article-body iframe,
.sr-help-article-body video{
  display:block;
  width:100%;
  max-width:100%;
  aspect-ratio:16 / 9;
  height:auto;
  margin:22px 0;
  border:0;
  border-radius:22px;
  background:#000;
  box-shadow:0 16px 42px color-mix(in srgb, #020617 14%, transparent);
}

.sr-help-article-sidebar{
  position:sticky;
  top:94px;
  display:grid;
  gap:16px;
}

.sr-help-sidebar-card{
  padding:20px;
  border:1px solid color-mix(in srgb, var(--border) 82%, transparent);
  border-radius:24px;
  background:var(--card);
}

.sr-help-sidebar-card h2{
  margin:6px 0 8px;
  color:var(--text);
  font-size:21px;
  line-height:1.15;
  letter-spacing:-.025em;
}

.sr-help-sidebar-card p{
  margin:0 0 14px;
  color:var(--muted);
  font-size:14px;
  line-height:1.65;
  font-weight:650;
}

.sr-help-sidebar-button,
.sr-help-inline-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:0 14px;
  border-radius:13px;
  border:1px solid var(--primary);
  background:var(--primary);
  color:var(--on-primary);
  text-decoration:none;
  font-size:14px;
  font-weight:950;
}

.sr-help-sidebar-button-secondary{
  border-color:var(--border);
  background:var(--soft);
  color:var(--text);
}

.sr-help-related-list{
  display:grid;
  gap:10px;
  margin-top:12px;
}

.sr-help-related-list a{
  display:grid;
  gap:5px;
  padding:12px;
  border:1px solid color-mix(in srgb, var(--border) 76%, transparent);
  border-radius:16px;
  background:color-mix(in srgb, var(--bg) 54%, transparent);
  color:var(--text);
  text-decoration:none;
}

.sr-help-related-list a:hover{
  border-color:color-mix(in srgb, var(--primary) 44%, var(--border));
}

.sr-help-related-list strong{
  color:var(--text);
  font-size:14px;
  line-height:1.35;
}

.sr-help-related-list span{
  color:var(--muted);
  font-size:12px;
  line-height:1.45;
  font-weight:650;
}

@media (max-width: 980px){
  .sr-help-article-layout{
    grid-template-columns:1fr;
  }

  .sr-help-article-sidebar{
    position:static;
  }
}

@media (max-width: 680px){
  .sr-help-article-hero{
    padding:44px 0 30px;
  }

  .sr-help-article-card-main{
    padding:22px;
    border-radius:22px;
  }

  .sr-help-article-body{
    font-size:15px;
  }

  .sr-help-article-body h2{
    font-size:24px;
  }

  .sr-help-article-body h3{
    font-size:20px;
  }
}

/* =========================================================
   Help article polish: TOC + previous / next
   ========================================================= */

.sr-help-toc-card {
  max-height: calc(100vh - 128px);
  overflow: auto;
}

.sr-help-toc-list {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.sr-help-toc-list a {
  display: block;
  padding: 8px 10px;
  border-radius: 12px;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.sr-help-toc-list a:hover {
  background: color-mix(in srgb, var(--primary) 9%, var(--card));
  color: var(--primary);
}

.sr-help-toc-list a.is-sub {
  margin-left: 12px;
  font-size: 12px;
  font-weight: 750;
}

.sr-help-article-body h2,
.sr-help-article-body h3 {
  scroll-margin-top: 96px;
}

.sr-help-article-bottom-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid color-mix(in srgb, var(--border) 82%, transparent);
}

.sr-help-prev-next {
  display: grid;
  gap: 6px;
  min-height: 96px;
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--border) 82%, transparent);
  border-radius: 18px;
  background: color-mix(in srgb, var(--bg) 54%, transparent);
  color: var(--text);
  text-decoration: none;
  transition: border-color .16s ease, transform .16s ease, background .16s ease;
}

.sr-help-prev-next:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--primary) 44%, var(--border));
  background: color-mix(in srgb, var(--primary) 7%, var(--card));
}

.sr-help-prev-next span {
  color: var(--primary);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.sr-help-prev-next strong {
  color: var(--text);
  font-size: 15px;
  line-height: 1.35;
}

.sr-help-next {
  text-align: right;
}

@media (max-width: 980px) {
  .sr-help-toc-card {
    max-height: none;
  }
}

@media (max-width: 680px) {
  .sr-help-article-bottom-nav {
    grid-template-columns: 1fr;
  }

  .sr-help-next {
    text-align: left;
  }
}

/* =========================================================
   Help article video embeds
   ========================================================= */

.sr-help-video-block {
  margin: 26px 0;
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--primary) 20%, var(--border));
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--primary) 10%, transparent), transparent 18rem),
    color-mix(in srgb, var(--card) 96%, transparent);
  box-shadow: 0 18px 46px color-mix(in srgb, #020617 8%, transparent);
}

.sr-help-video-frame {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #000;
  aspect-ratio: 16 / 9;
}

.sr-help-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.sr-help-video-block figcaption {
  margin: 10px 4px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 750;
}

.sr-help-video-warning {
  margin: 18px 0;
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, #f59e0b 40%, var(--border));
  border-radius: 16px;
  background: color-mix(in srgb, #f59e0b 12%, var(--card));
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.sr-help-download-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.sr-help-download-pdf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--primary) 34%, var(--border));
  background: color-mix(in srgb, var(--primary) 9%, var(--card));
  color: var(--primary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}

.sr-help-download-pdf:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--on-primary);
}

@media (max-width: 680px) {
  .sr-help-download-row {
    justify-content: stretch;
  }

  .sr-help-download-pdf {
    width: 100%;
  }
}