/* =========================================
   RepairWorkshop – Global Stylesheet
   Tokens, base, components, layout, pages
   ========================================= */
   /*
   --rs-primary: #2563eb;
    --rs-primary-700: #1d4ed8;
    --rs-ink: #0f172a;
    --rs-ink-2: #334155;
    --rs-bg: #f8fafc;
    --rs-card: #ffffff;
    --rs-muted: #e2e8f0;
    --rs-accent: #22c55e;
    
    --rs-shadow: 0 10px 20px rgba(2, 6, 23, .06), 0 2px 6px rgba(2, 6, 23, .06);
    --rs-radius: 16px;
    --rs-gap: clamp(16px, 2vw, 28px);
    --rs-max: 1180px;
    */


:root {
    --rs-primary: #346fec;
    /* blue-600 */
    --rs-primary-700: #1d4ed8;
    --rs-ink: #0f172a;
    /* slate-900 */
    --rs-ink-2: #334155;
    /* slate-600 */
    --rs-bg: #f8fafc;
    /* slate-50 */
    --rs-card: #ffffff;
    --rs-muted: #e2e8f0;
    /* slate-200 */
    --rs-accent: #22c55e;
    /* green-500 */
    --rs-shadow: 0 10px 20px rgba(2, 6, 23, .06), 0 2px 6px rgba(2, 6, 23, .06);
    --rs-radius: 16px;
    --rs-gap: clamp(16px, 2vw, 28px);
    --rs-max: 1180px;
}

/* ===== Base ===== */
* {
    box-sizing: border-box
}

html,
body {
    margin: 0;
    padding: 0
}
/* Offset anchor targets by sticky header height (~76px + breathing room) */
html {
    scroll-padding-top: 90px;
}

@media (prefers-reduced-motion: no-preference) {
    :root {
        scroll-behavior: smooth;
    }
}

body {
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
    color: var(--rs-ink);
    background: var(--rs-bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
    height: auto;
    display: block
}

a {
    color: var(--rs-primary);
    text-decoration: none
}

a:hover {
    text-decoration: underline
}

.rs-container {
    width: min(var(--rs-max), 92%);
    margin-inline: auto
}

.sr-only {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden
}

.muted {
    color: var(--rs-ink-2)
}

.card {
    background: var(--rs-card);
    border: 1px solid var(--rs-muted);
    border-radius: var(--rs-radius)
}

.shadow {
    box-shadow: var(--rs-shadow)
}

.center {
    text-align: center
}

.grid {
    display: grid;
    gap: var(--rs-gap)
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .9rem 1.2rem;
    border-radius: 12px;
    border: 1px solid transparent;
    font-weight: 700
}

.btn-primary {
    background: var(--rs-primary);
    color: #fff
}

#site-nav .btn-primary {
    color: #fff;
}

.btn-primary:hover {
    background: var(--rs-primary-700);
    text-decoration: none
}

.btn-outline {
    border-color: var(--rs-primary);
    color: var(--rs-primary);
    background: #fff
}

.btn-outline:hover {
    background: #eff6ff;
    text-decoration: none
}

.btn-ghost {
    color: var(--rs-ink-2);
    background: transparent
}

.subtext {
    font-size: .9rem;
    color: var(--rs-ink-2)
}

:focus-visible {
    outline: 3px solid #93c5fd;
    outline-offset: 2px
}

/* ===== Header / Navigation (shared) ===== */
.rs-header {
position: sticky;
    top: 0;
    z-index: 30;
    background: #fff;
    border-bottom: 1px solid var(--rs-muted);
   
}

.rs-header-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    padding: .8rem 0
}

.brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-weight: 800;
    font-size: 1.125rem;
    color: var(--rs-ink)
}

.brand img {
    height: 32px;
    width: 32px
}

/* Desktop nav centers links, keeps actions right */
@media (min-width:981px) {
    #site-nav {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 1rem
    }

    #site-nav ul {
        list-style: none;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1.2rem;
        margin: 0;
        padding: 0
    }

    #site-nav a {
        color: var(--rs-ink-2);
        font-weight: 600
    }

    #site-nav a:hover {
        color: var(--rs-ink)
    }

    #site-nav a[aria-current="page"] {
        color: var(--rs-ink);
        text-decoration: underline
    }

    .nav-actions {
        justify-self: end;
        display: flex;
        align-items: center;
        gap: .6rem
    }
}

/* Mobile drawer */
.nav-toggle {
      display: none;
  font-size: 1.6rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--rs-ink);
  padding: 0.5rem;
  transition: color 0.2s ease;
}
.nav-toggle:hover {
  color: var(--rs-primary);
}
@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  #site-nav ul {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    background: #fff;
    position: absolute;
    top: 64px; /* Adjust depending on header height */
    left: 0;
    right: 0;
    border-top: 1px solid var(--rs-muted);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  }

  #site-nav[data-open="true"] ul {
    display: flex;
  }

  .nav-actions {
    flex-direction: column;
    align-items: center;
    margin-top: 1rem;
    gap: 0.8rem;
  }
}

/* ===== Hero (shared) ===== */
.hero {
    padding: clamp(20px, 4vw, 48px) 0;
    display: grid;
    gap: var(--rs-gap);
    align-items: center
}

.hero .cols {
    display: grid;
    gap: var(--rs-gap);
    grid-template-columns: 1.1fr .9fr;
    align-items: center
}

.hero h1 {
    font-size: clamp(1.9rem, 3.6vw, 3rem);
    line-height: 1.15;
    margin: .2rem 0 .6rem
}

.hero p.lede {
    font-size: clamp(1.05rem, 1.2vw, 1.2rem);
    color: var(--rs-ink-2);
    max-width: 44ch
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: .8rem;
    flex-wrap: wrap;
    margin-top: 1rem
}

.hero .screen {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--rs-muted);
    background: #0b1220
}

.hero .screen img {
    display: block;
    width: 100%;
    height: auto
}

.hero .notice {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-top: .5rem
}

.hero .notice svg {
    flex: 0 0 20px
}
/* ===== Centered Hero Variant (clean vertical alignment) ===== */
.hero.center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: clamp(32px, 5vw, 56px) 1rem;
  background: var(--rs-bg);
}

/* Reset inherited grid alignment from base .hero */
.hero.center.rs-container,
.hero.center .rs-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  max-width: 720px;
  margin: 0 auto;
}

/* Center the pill and button */
.hero.center .pill {
  margin: 0 auto;
}

.hero.center .hero-cta {
  display: flex;
  justify-content: center;
  margin-top: 1.2rem;
}

/* Responsive tweaks */
@media (max-width: 640px) {
  .hero.center h1 {
    font-size: 1.8rem;
  }
  .hero.center p.lede {
    font-size: 1rem;
  }
}

.pill {
    display: inline-flex;
    gap: .5rem;
    align-items: center;
    border-radius: 999px;
    padding: .375rem .75rem;
    background: #e8f0ff;
    color: #1e3a8a;
    font-weight: 600;
    font-size: .875rem
}

@media (max-width:980px) {
    .hero .cols {
        grid-template-columns: 1fr
    }

    .hero p.lede {
        max-width: initial
    }
}

/* ===== Social proof strip (landing) ===== */
.proof {
    padding: 18px 0;
    border-top: 1px solid var(--rs-muted);
    border-bottom: 1px solid var(--rs-muted);
    background: #fff
}

.proof .items {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap
}

.proof .items>span {
    display: flex;
    gap: .5rem;
    align-items: center;
    color: var(--rs-ink-2);
    font-weight: 600
}

.star {
    color: #fbbf24
}

/* ===== “Industries” (landing) ===== */
.industries {
    padding: clamp(28px, 4vw, 56px) 0
}

.industries h2 {
    font-size: clamp(1.5rem, 2.4vw, 2.2rem);
    margin: 0 0 .8rem
}

.industries .grid {
    grid-template-columns: repeat(4, 1fr)
}

.tile {
    padding: 18px;
    border-radius: 14px;
    border: 1px dashed var(--rs-muted);
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: .6rem
}

.tile .icon {
    height: 42px;
    width: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #eff6ff
}

.tile h3 {
    margin: .2rem 0;
    font-size: 1.05rem
}

@media (max-width:980px) {
    .industries .grid {
        grid-template-columns: 1fr 1fr
    }
}

@media (max-width:560px) {
    .industries .grid {
        grid-template-columns: 1fr
    }
}

/* ===== Feature highlight cards (landing) ===== */
.features {
    padding: clamp(28px, 4vw, 56px) 0
}

.features h2 {
    font-size: clamp(1.5rem, 2.4vw, 2.2rem);
    margin: 0 0 .8rem
}

.features .grid {
    grid-template-columns: repeat(3, 1fr)
}

.fcard {
    padding: 18px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--rs-muted)
}

.fcard h3 {
    margin: .1rem 0 .25rem;
    font-size: clamp(1.05rem, 1.2vw + .6rem, 1.35rem);
    line-height: 1.25;
    letter-spacing: -0.01em
}

@supports (text-wrap: balance) {
    .fcard h3 {
        text-wrap: balance;
    }
}

.fcard p {
    margin: 0
}

.badge {
    display: inline-block;
    font-size: .75rem;
    padding: .25rem .5rem;
    border-radius: 999px;
    background: #ecfeff;
    color: #155e75;
    border: 1px solid #a5f3fc;
    font-weight: 700
}

@media (max-width:980px) {
    .features .grid {
        grid-template-columns: 1fr 1fr
    }
}

@media (max-width:640px) {
    .features .grid {
        grid-template-columns: 1fr
    }
}

/* ===== How it works (landing) ===== */
.how {
    padding: clamp(28px, 4vw, 56px) 0
}

.how h2 {
    font-size: clamp(1.5rem, 2.4vw, 2.2rem);
    margin: 0 0 .8rem
}

.steps {
    display: grid;
    gap: var(--rs-gap);
    grid-template-columns: repeat(3, 1fr)
}

.step { 
    padding: 22px;
    border-radius: 16px;
    background: linear-gradient(180deg, #fff, #f8fbff);
    border: 1px solid var(--rs-muted)
}

.step .num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    width: 34px;
    border-radius: 8px;
    background: var(--rs-primary);
    color: #fff;
    font-weight: 800
}

@media (max-width:980px) {
    .steps {
        grid-template-columns: 1fr
    }
}

/* ===== Compatibility (landing) ===== */
.compat {
    padding: clamp(28px, 4vw, 56px) 0
}

.compat h2 {
    font-size: clamp(1.5rem, 2.4vw, 2.2rem);
    margin: 0 0 .8rem
}

.compat .cards {
    display: grid;
    gap: var(--rs-gap);
    grid-template-columns: 1fr 1fr
}

.compat .cards .card {
    padding: 18px
}

@media (max-width:980px) {
    .compat .cards {
        grid-template-columns: 1fr
    }
}

/* Brand logos row */
.compat-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: clamp(24px, 4vw, 56px);
    padding: 12px 0;
    margin-top: .4rem
}

.compat-logos img {
    height: 44px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    filter: grayscale(1) opacity(0.55);
    transition: filter 0.3s ease;
}

.compat-logos img:hover {
    filter: grayscale(0) opacity(1);
}

@media (max-width:640px) {
    .compat-logos {
        gap: 28px
    }
    .compat-logos img {
        height: 36px
    }
}

/* ===== Pricing (landing) ===== */
.pricing {
    padding: clamp(28px, 4vw, 56px) 0
}

.pricing h2 {
    font-size: clamp(1.5rem, 2.4vw, 2.2rem);
    margin: 0 0 .8rem
}

.pwrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--rs-gap)
}

.plan {
    padding: 28px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--rs-muted)
}

.price {
    font-size: 2rem;
    font-weight: 900
}

.strike {
    color: var(--rs-ink-2);
    text-decoration: line-through;
    font-weight: 600
}

@media (max-width:980px) {
    .pwrap {
        grid-template-columns: 1fr
    }
}

/* ===== Reviews (landing) ===== */
.reviews {
    padding: clamp(28px, 4vw, 56px) 0;
    background: #ffffff;
    border-top: 1px solid var(--rs-muted);
    border-bottom: 1px solid var(--rs-muted)
}

.reviews h2 {
    font-size: clamp(1.5rem, 2.4vw, 2.2rem);
    margin: 0 0 .8rem
}

.quote {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: var(--rs-gap);
    align-items: center
}

.quote .avatar {
    border-radius: 16px;
    overflow: hidden
}

.quote p {
    margin: 0
}

@media (max-width:980px) {
    .quote {
        grid-template-columns: 1fr
    }
}

/* ===== FAQ (landing) ===== */
.faq {
    padding: clamp(28px, 4vw, 56px) 0
}

.faq h2 {
    font-size: clamp(1.5rem, 2.4vw, 2.2rem);
    margin: 0 0 .8rem
}

details {
    background: #fff;
    border: 1px solid var(--rs-muted);
    border-radius: 12px;
    padding: 1rem
}

details+details {
    margin-top: .8rem
}

summary {
    cursor: pointer;
    font-weight: 700;
    list-style: none
}

summary::-webkit-details-marker {
    display: none
}

.faq .sub {
    margin: 0 0 1rem;
    color: var(--rs-ink-2)
}

/* ===== Footer (shared) ===== */
footer {
    background: #0b1220;
    color: #dbeafe;
    padding: 60px 0 20px;
    margin-top: 40px
}

footer a {
    color: #bfdbfe
}

.fgrid {
    display: grid;
    gap: var(--rs-gap);
    grid-template-columns: 2fr 1fr 1fr 1fr
}

.fgridf {
    display: grid;
    gap: var(--rs-gap);
    grid-template-columns: 2fr 1fr 1fr 1fr
}

/* features page variant */
.ftitle {
    color: #93c5fd;
    font-weight: 800;
    margin: 0 0 .6rem
}

.copy {
    border-top: 1px solid #1e293b;
    margin-top: 24px;
    padding-top: 16px;
    color: #94a3b8
}

@media (max-width:980px) {

    .fgrid,
    .fgridf {
        grid-template-columns: 1fr 1fr
    }
}

@media (max-width:560px) {

    .fgrid,
    .fgridf {
        grid-template-columns: 1fr
    }
}
.login-body {
  background: var(--rs-bg);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-container input[type="text"],
.login-container input[type="email"],
.login-container input[type="password"] 
{
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 18px;
  border: 1px solid var(--rs-muted);
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.login-container {
  width: 100%;
  max-width: 400px;
  background: var(--rs-card);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 32px 24px;
}

.login-container h2 {
  text-align: center;
  color: var(--rs-ink);
  margin-bottom: 24px;
}

.login-container label {
  display: block;
  margin-bottom: 8px;
  color: var(--rs-ink-2);
  font-weight: 600;
}



.login-container input:focus {
  outline: none;
  border-color: var(--rs-primary);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

.login-container button {
  width: 100%;
  background: var(--rs-primary);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s;
}

.login-container button:hover {
  background: var(--rs-primary-700);
}

.footer-link {
  text-align: center;
  margin-top: 18px;
}

.footer-link a {
  color: var(--rs-primary);
  text-decoration: none;
  font-weight: 500;
}

.footer-link a:hover {
  text-decoration: underline;
}
/* ==========================================================
   Features page–specific styles (sticky sub‑nav, groups)
   ========================================================== */

/* Page hero */
.hero.rs-container h1 {
    font-size: clamp(1.9rem, 3.4vw, 2.8rem);
    line-height: 1.15;
    margin: 0 0 .6rem
}

/* Sticky sub‑nav */
.subnav-wrap {
    position: sticky;
    top: 0px;
    z-index: 20;
    background: linear-gradient(#fff, #fff);
}
   
    


.subnav {
    display: flex;
    gap: .5rem;
    overflow: auto;
    padding: .75rem;
    border: 1px solid var(--rs-muted);
    border-left: 0;
    border-right: 0;
    background: #fff;
}

.subnav::-webkit-scrollbar {
    height: 8px
}

.subnav::-webkit-scrollbar-thumb {
    background: #e5e7eb;
    border-radius: 999px
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem .8rem;
    border-radius: 999px;
    border: 1px solid var(--rs-muted);
    background: #fff;
    white-space: nowrap;
    font-weight: 700;
    color: var(--rs-ink-2)
}

.chip[data-active="true"] {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1e3a8a
}

/* Feature groups */
section.features-group {
    padding: clamp(24px, 4vw, 56px) 0
}

.group-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem
}

.group-head h2 {
    font-size: clamp(1.3rem, 2.2vw, 2rem);
    margin: 0
}

.lead {
    margin: 0;
    color: var(--rs-ink-2)
}

.ggrid {
    display: grid;
    gap: var(--rs-gap);
    grid-template-columns: 1.1fr .9fr;
    align-items: center
}

.ggrid .right .screen {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--rs-muted);
    background: #0b1220;
    box-shadow: 0 12px 32px -8px rgba(15, 23, 42, 0.25)
}

.ggrid .right .screen img {
    display: block;
    width: 100%;
    height: auto
}

.list {
    display: grid;
    gap: .8rem
}

.li {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: .6rem;
    align-items: flex-start;
    padding: 14px;
    border-radius: 14px;
    border: 1px dashed var(--rs-muted);
    background: #fff
}

.li .ic {
    height: 30px;
    width: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #eff6ff
}

.li h3 {
    margin: .1rem 0 .25rem;
    font-size: 1.05rem
}

.li p {
    margin: 0;
    color: var(--rs-ink-2)
}

@media (max-width:980px) {
    .ggrid {
        grid-template-columns: 1fr
    }
}

/* Quick highlight grid within groups */
.fgrid {
    display: grid;
    gap: var(--rs-gap);
    grid-template-columns: repeat(3, 1fr);
    margin-top: 1rem
}

.fgrid .fcard {
    padding: 18px;
    border-radius: 16px;
    border: 1px solid var(--rs-muted);
    background: #fff
}

.fgrid .fcard h4 {
    margin: .2rem 0
}

@media (max-width:980px) {
    .fgrid {
        grid-template-columns: 1fr 1fr
    }
}

@media (max-width:640px) {
    .fgrid {
        grid-template-columns: 1fr
    }
}

.animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .6s ease, transform .6s ease;
}
.animate.visible {
  opacity: 1;
  transform: translateY(0);
}


.num i {
  width: 18px;
  height: 18px;
}
.step i,
.card i {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  margin-right: .4rem;
  color: var(--rs-primaryz);
}
/* === Login page sign-up link === */
.signup-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--rs-ink-2);
}

.signup-row .btn {
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  border-radius: 8px;
  text-decoration: none;
}
select.form-select {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 18px;
    border: 1px solid var(--rs-muted);
    border-radius: 6px;
    font-size: 16px;
    background-color: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.pricingTiers {   
    grid-template-columns: repeat(3, 1fr);
    gap: var(--rs-gap);
    margin-top: 1.5rem;
}

.pricing ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pricing li{
    text-align: left;
    margin-bottom: 8px;
    font-size: 16px;
    display: flex;
    align-items: center;
}
.pricingTiers{
     display: grid;
  gap: 2rem;
  justify-content: center;
  align-items: stretch; 
  flex-wrap: wrap;
}
.plan {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--rs-muted);
  box-shadow: var(--rs-shadow);
  padding: 32px 28px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.plan:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

/* --- Header spacing --- */
.plan h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.plan .price {
  margin: 12px 0;
}

.plan .strike {
  margin-bottom: 4px;
  color: var(--rs-ink-2);
  text-decoration: line-through;
  font-size: 0.9rem;
}

/* --- List styling --- */
.plan .fgroup-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rs-accent, #2563eb);
  text-align: left;
  width: 100%;
  margin: 16px 0 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--rs-muted);
}

.plan .fgroup-title:first-of-type {
  margin-top: 8px;
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 4px;
  text-align: left;
  width: 100%;
}

.plan ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
  line-height: 1.35;
  font-size: 0.95rem;
}



/* --- Button styling --- */
.plan .btn {
  margin-top: auto;
  padding: 0.8rem 1.2rem;
  font-size: 1rem;
}
.plan .strike {
  display: block;
  color: var(--rs-ink-2);
  text-decoration: line-through;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

/* Reserve height ONLY when empty */
.plan .strike:empty::before {
  content: "\00a0"; /* non-breaking space */
  visibility: hidden;
  display: inline-block;
  height: 1.2em; /* ensures consistent spacing */
}
/* === Fade-Up Hero Animation === */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation class */
.fade-up {
  opacity: 0;
  animation: fadeUp 0.8s ease-out forwards;
}

/* Optional staggered delays */
.fade-up.delay-1 { animation-delay: 0.2s; }
.fade-up.delay-2 { animation-delay: 0.4s; }
.fade-up.delay-3 { animation-delay: 0.6s; }

/* ============================================================
   Cookie consent banner + modal — Loi 25 (Quebec, art. 8)
   Rendered by includes/cookie-consent.php
   ============================================================ */

#cc-banner[hidden],
#cc-modal-overlay[hidden] { display: none; }

/* ----- Banner (fixed bottom) ----- */
#cc-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--rs-ink);
    color: #e2e8f0;
    padding: 18px 20px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    border-top: 1px solid rgba(226, 232, 240, 0.12);
}
.cc-inner {
    max-width: var(--rs-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.cc-text {
    flex: 1 1 400px;
    min-width: 260px;
}
.cc-title {
    font-size: 1.05rem;
    margin: 0 0 6px;
    font-weight: 700;
    color: #fff;
}
.cc-desc {
    margin: 0 0 6px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #e2e8f0;
}
.cc-law {
    margin: 0;
    font-size: 0.82rem;
    color: #94a3b8;
}
.cc-law a {
    color: #93c5fd;
    text-decoration: underline;
}
.cc-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* ----- Equal-weight buttons (Loi 25: no dark pattern) ----- */
.cc-btn {
    min-height: 44px;
    padding: 10px 18px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid transparent;
    line-height: 1.2;
    transition: background 0.15s, border-color 0.15s;
    font-family: inherit;
}
.cc-btn-outline {
    background: transparent;
    border-color: rgba(226, 232, 240, 0.5);
    color: #e2e8f0;
}
.cc-btn-outline:hover,
.cc-btn-outline:focus-visible {
    background: rgba(226, 232, 240, 0.08);
    border-color: rgba(226, 232, 240, 0.85);
    outline: none;
}
.cc-btn-primary {
    background: var(--rs-primary);
    color: #fff;
}
.cc-btn-primary:hover,
.cc-btn-primary:focus-visible {
    background: var(--rs-primary-700);
    outline: none;
}
.cc-btn:focus-visible {
    outline: 2px solid #93c5fd;
    outline-offset: 2px;
}

/* ----- Modal ----- */
#cc-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(15, 23, 42, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
#cc-modal {
    background: var(--rs-card);
    color: var(--rs-ink);
    max-width: 540px;
    width: 100%;
    border-radius: var(--rs-radius);
    box-shadow: var(--rs-shadow);
    padding: 24px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
}
.cc-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.cc-modal-header h2 {
    font-size: 1.2rem;
    margin: 0;
    color: var(--rs-ink);
}
.cc-modal-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    line-height: 1;
    color: var(--rs-ink-2);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
}
.cc-modal-close:hover,
.cc-modal-close:focus-visible {
    background: var(--rs-muted);
    outline: none;
}
.cc-modal-desc {
    font-size: 0.9rem;
    color: var(--rs-ink-2);
    margin: 0 0 20px;
    line-height: 1.5;
}

/* ----- Category cards ----- */
.cc-category {
    border: 1px solid var(--rs-muted);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 12px;
}
.cc-category-locked {
    background: #f8fafc;
}
.cc-category-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    margin: 0;
}
.cc-category-locked .cc-category-head {
    cursor: default;
}
.cc-category-title {
    font-weight: 600;
    color: var(--rs-ink);
    font-size: 0.95rem;
}
.cc-category-desc {
    margin: 8px 0 0;
    font-size: 0.85rem;
    color: var(--rs-ink-2);
    line-height: 1.45;
}
.cc-modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
    flex-wrap: wrap;
}
.cc-modal-actions .cc-btn-outline {
    background: transparent;
    border-color: var(--rs-muted);
    color: var(--rs-ink-2);
}
.cc-modal-actions .cc-btn-outline:hover,
.cc-modal-actions .cc-btn-outline:focus-visible {
    background: var(--rs-muted);
    border-color: var(--rs-ink-2);
}

/* ----- Toggle switch ----- */
.cc-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}
.cc-toggle input[type="checkbox"] {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}
.cc-toggle-slider {
    position: absolute;
    inset: 0;
    background: #cbd5e1;
    border-radius: 24px;
    transition: background 0.2s;
}
.cc-toggle-slider::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 2px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
}
.cc-toggle input:checked + .cc-toggle-slider {
    background: var(--rs-primary);
}
.cc-toggle input:checked + .cc-toggle-slider::before {
    transform: translateX(20px);
}
.cc-toggle-locked .cc-toggle-slider {
    background: #94a3b8;
    opacity: 0.7;
}
.cc-toggle input:focus-visible + .cc-toggle-slider {
    box-shadow: 0 0 0 3px rgba(52, 111, 236, 0.4);
}

/* ----- Footer manage link ----- */
.cc-manage-link {
    background: none;
    border: none;
    color: inherit;
    padding: 0;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}
.cc-manage-link:hover,
.cc-manage-link:focus-visible {
    color: #93c5fd;
    outline: none;
}

/* ----- Mobile ----- */
@media (max-width: 640px) {
    .cc-inner { flex-direction: column; align-items: stretch; }
    .cc-actions { flex-direction: column-reverse; }
    .cc-actions .cc-btn { width: 100%; }
    #cc-modal { padding: 18px; }
    .cc-modal-actions { flex-direction: column-reverse; }
    .cc-modal-actions .cc-btn { width: 100%; }
}

/* ----- Reduced motion ----- */
@media (prefers-reduced-motion: reduce) {
    .cc-btn,
    .cc-toggle-slider,
    .cc-toggle-slider::before { transition: none; }
}
