body{
    padding: 40px 0;
    row-gap: 180px;
}
.container-m{
    width: 686px;
    margin: 0 auto;
}
h2.semi-bold{
    font-weight: 600;
}
button{
    background: #1f1f1f;
    color: white;
    font-family: "Figtree", sans-serif;
    font-weight: 400;
    font-size: 20px;
    padding: 0 24px;
    border-radius: 100px;
    height: 54px;
    width: fit-content;
    border: none;
    text-align: center;
    min-width: 200px;
    box-shadow:
    inset 1px 1px 2px rgba(255, 255, 255, 0.5),   /* subtle light border inside */
    inset 2px 2px 6px rgba(0, 0, 0, 0.6),          /* darker inner shadow */
    4px 4px 12px rgba(0, 0, 0, 0.3),              /* outer shadow (bottom-right) */
    -4px -4px 12px rgba(255, 255, 255, 0.07);      /* outer highlight (top-left) */

  transition: all 0.2s ease-in-out;
  transform-origin: center;
  will-change: transform;
}
button:hover {
    background: #2a2a2a;
    cursor: pointer;
    transform: scale(1.04);
  }
  
  /* Active / pressed */
  button:active {
    box-shadow:
      inset 2px 2px 6px rgba(0, 0, 0, 0.7),
      inset -2px -2px 4px rgba(255, 255, 255, 0.1);
    transform: scale(0.98);
  }

@media (prefers-reduced-motion: reduce) {
  button,
  button:hover,
  button:active{
    transition: none !important;
    transform: none !important;
  }
}
.logo{
    width: 108px;
}
.company-logo{
    width: 148px;
}
.hero{
    background: url('./assets/square-grid.svg');
    background-size: cover;
    background-position: center;
}
/* Generic slide-up reveal animation */
.slide-up{
    opacity: 0;
    transform: translateY(14px);
}
.slide-up.in{
    opacity: 1;
    transform: translateY(0);
    transition: opacity 700ms ease, transform 700ms ease;
}
@media (prefers-reduced-motion: reduce) {
    .slide-up,
    .slide-up.in{
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}
.reveal-words{
    color: var(--secondary-text); /* initial grey */
}
.reveal-words .word{
    color: var(--secondary-text);
    transition: color 600ms ease;
}
.reveal-words.is-visible .word{
    color: var(--primary-text);
}
/* When using scroll-linked reveal, disable transitions for snappy, pauseable mapping */
.reveal-words.scroll-linked .word{
    transition: none;
}
.reveal-words .paragraph{
    display: block;
    margin-top: 24px;
}
.reveal-words .paragraph:first-child{
    margin-top: 0;
}
@media (prefers-reduced-motion: reduce) {
    .reveal-words .word{
        transition: none !important;
    }
}
.word {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.2em; /* nice spacing */
  }

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
    grid-template-rows: repeat(2, auto);  /* 2 rows with fixed height */
    gap: 16px; /* space between grid items */
}

.service{
    padding: 24px 16px;
    border-radius: var(--border-radius-m);
    display: flex;
    flex-direction: column;
    row-gap: 24px;
    justify-content: flex-end;
    align-items: center;
    background-color: var(--surface-1);
    height: fit-content;
}
.service img{
    width: 164px;
    height: 164px;
    transform: rotate(0deg);
    transition: transform 300ms ease;
}
.service:hover{
    background-color: var(--surface-2);
}
.service:hover img{
    transform: rotate(5deg);
}
#trial{
    border: 1px dashed var(--outline);
}


.icon{
    width: 24px;
    height: 24px;
}

.accordion{
    padding: 24px;
    background-color: var(--surface-1);
    border-radius: var(--border-radius-m);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: fit-content;
}
.accordion:hover{
    background-color: var(--surface-2);
}
/* Accordion behavior */
.accordion .accordion-content{
    overflow: hidden;
    height: 0;
    opacity: 0;
    transition: height 300ms ease, opacity 300ms ease;
    width: 100%;
}

.accordion.open .accordion-content{
    opacity: 1;
}

.accordion .accordion-title{
    cursor: pointer;
}

/* Copy text hover & transitions */
.copy-text{
    cursor: pointer;
}
.copy-text p{
    transition: color 200ms ease;
}
.copy-text:hover p{
    color: #000;
}
.copy-text .icon{
    transition: opacity 180ms ease, transform 180ms ease;
}
/* During icon swap animate out/in */
.copy-text.is-swap .icon{
    opacity: 0;
    transform: translateY(-2px);
}

/* Desktop/base: keep logos in a single row and hide duplicates */
.logos-scroller{
    overflow: hidden;
    width: 100%;
}
.logos-track{
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: nowrap;
}
.logos-track img[aria-hidden="true"]{
    display: none;
}

/* Toast styles */
#toast{
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%) translateY(16px);
    background: #111;
    color: #fff;
    padding: 16px 24px;
    border-radius: 100px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.16);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease, transform 200ms ease;
    font-size: 20px;
    font-family: "Figtree", sans-serif;
}

#toast.show{
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Staggered reveal for services grid */
.grid-container.stagger .service{
    opacity: 0;
    transform: translateY(12px);
}
.grid-container.stagger .service.revealed{
    opacity: 1;
    transform: translateY(0);
    transition: opacity 700ms ease, transform 700ms ease;
}

/* Staggered reveal for pricing cards */
.pricing.stagger > div{
    opacity: 0;
    transform: translateY(12px);
}
.pricing.stagger > div.revealed{
    opacity: 1;
    transform: translateY(0);
    transition: opacity 700ms ease, transform 700ms ease;
}

/* Staggered reveal for FAQ accordions */
.faq.stagger .accordion{
    opacity: 0;
    transform: translateY(12px);
}
.faq.stagger .accordion.revealed{
    opacity: 1;
    transform: translateY(0);
    transition: opacity 700ms ease, transform 700ms ease;
}

@media (prefers-reduced-motion: reduce) {
    .grid-container.stagger .service,
    .grid-container.stagger .service.revealed{
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .pricing.stagger > div,
    .pricing.stagger > div.revealed,
    .faq.stagger .accordion,
    .faq.stagger .accordion.revealed{
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}
footer{
    padding-bottom: 80px;
}

@media (max-width: 500px) {
   
    body{
        padding: 24px 16px;
        row-gap: 80px;
    }
    .container-m{
        width: 100%;
        margin: 0px auto;
        overflow: hidden;
    }
    .logo{
        width: 80px;
    }
    /* Logos marquee */
    .logos-scroller{
        position: relative;
        overflow: hidden;
        width: 100%;
        margin-top: 8px;
    }
    .logos-track{
        display: flex;
        align-items: center;
        gap: 24px;
        width: max-content;
        animation: logos-marquee 18s linear infinite;
    }
    .logos-track img[aria-hidden="true"]{
        display: inline;
    }
    @keyframes logos-marquee{
        0%{ transform: translateX(0); }
        100%{ transform: translateX(-50%); }
    }
    .grid-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 3 equal columns */
        grid-template-rows: repeat(3, auto);  /* 2 rows with fixed height */
        gap: 8px; /* space between grid items */
    }
    .border-radius-l{
        border-radius: 40px;
    }
    .service{
        height: 100%;
    }
    .service img{
        width: 132px;
        height: 132px;
    }
    .hero-text-cont{
        align-items: flex-start;
    }
    .hero-text-cont h1{
        text-align: left;
    }
    #calendar-sticker,
    #pencil-sticker{
        height: 56px;
        width: 56px;
    }
    .pricing h3{
        font-size: 40px;
    }
    #toast{

        left: 50%;
        bottom: 16px;
        padding: 8px 16px;
        font-size: 16px;
    }
    footer{
        padding-bottom: 40px;
    }

   
}