:root {
    --bg: #ffffff;
    --text: #1a1a1b;
    --text-inverted: #ffffff;
    --muted: rgba(11, 18, 32, 0.72);
    --border: rgba(15, 30, 60, 0.10);

    --accent-color: #0B68FF;
    --accent-color-light: #2898eb;
    --secondary-accent-color: #33a6e9;
    --amber: #f2ab27;
    --blackish: #1a1a1e;
    --darker-med-gray: #606070;
    --dark-med-gray: #9090a0;
    --med-gray: #a9a9ba;
    --light-gray: #dadadc;
    --lighter-gray: #ebebed;
    --lightest-gray: #f1f1f4;

    --container: 1100px;
    --nav-height: 74px;

    --r-lg: 18px;
    --r-md: 14px;
    --r-sm: 8px;

    /* elevation */
    --shadow-surface-sm: 0 10px 26px -14px rgba(11, 18, 32, 0.34), 0 3px 10px -8px rgba(11, 18, 32, 0.20);
    --shadow-surface-md: 0 22px 52px -20px rgba(11, 18, 32, 0.36), 0 8px 20px -12px rgba(11, 18, 32, 0.22);
    --shadow-surface-lg: 0 34px 74px -28px rgba(11, 18, 32, 0.40), 0 14px 30px -16px rgba(11, 18, 32, 0.24);

    --shadow-cta-rest: 0 6px 14px -8px rgba(11, 18, 32, 0.34), 0 2px 6px -4px rgba(11, 18, 32, 0.24);
    --shadow-cta-hover: 0 12px 26px -10px rgba(11, 18, 32, 0.38), 0 4px 10px -6px rgba(11, 18, 32, 0.26);
    --shadow-cta-active: 0 3px 8px -5px rgba(11, 18, 32, 0.34), 0 1px 3px -2px rgba(11, 18, 32, 0.24);
    --shadow-focus-ring: 0 0 0 3px rgba(11, 104, 255, 0.28);
    --shadow-pill: 0 1px 0 rgba(0, 0, 0, 0.04);

    /* backwards-compatible aliases */
    --shadow-sm: var(--shadow-surface-sm);
    --shadow-md: var(--shadow-surface-md);
    --shadow-lg: var(--shadow-surface-lg);

    --text-shadow: 4px 4px 12px rgb(182,182,190,0.25);
    --text-shadow-dark: 4px 4px 12px rgb(0,0,0,0.25);

    --font-size-xxs: 1rem;
    --font-size-xs: 1.2rem;
    --font-size-s: 1.4rem;
    --font-size-m: 1.8rem;
    --font-size-xl: 2.8rem;

    --font-size-list: 1.1rem;

    --hero-image-max-width: clamp(860px, 70vw, 1320px);
    --hero-image-overlap: clamp(56px, calc(var(--hero-image-max-width) * 0.085), 112px);

    /* spacing scale */
    --s-1: 8px;
    --s-2: 12px;
    --s-3: 16px;
    --s-4: 24px;
    --s-5: 32px;
    --s-6: 48px;
    --s-7: 72px;
    --s-8: 96px;

    /* font weights */
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-black: 800;

    /* motion */
    --ease-out: cubic-bezier(.2,.8,.2,1);
    --ease-inout: cubic-bezier(.4,0,.2,1);
    --t-1: 140ms; --t-2: 220ms; --t-3: 360ms;
}

html {
    /* scroll-behavior: smooth;           
    scroll-snap-type: y proximity;      */
    /* scroll-padding-top: 72px;          if you have a fixed header */
    /* For Chrome, Safari, and Opera */
    &::-webkit-scrollbar {
        display: none;
    }

    /* For Internet Explorer and Edge */
    -ms-overflow-style: none;

    /* For Firefox */
    scrollbar-width: none;

    box-sizing: border-box;
}
*, *::before, *::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    color: var(--text);
    background: var(--bg);
    display: block;
    flex-direction: column;
    align-items: center;
    padding-top: var(--nav-height);
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -56px;
    z-index: 1200;
    padding: 10px 14px;
    border-radius: var(--r-sm);
    color: #ffffff;
    background: #111827;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: top var(--t-2) var(--ease-out);
}

.skip-link:focus-visible {
    top: 12px;
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

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

.top-nav {
    width: 100%;
    border-bottom: 1px solid #e7e7ea;
    background: #ffffff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transition:
        background-color var(--t-2) var(--ease-out),
        border-color var(--t-2) var(--ease-out),
        box-shadow var(--t-2) var(--ease-out),
        backdrop-filter var(--t-2) var(--ease-out),
        -webkit-backdrop-filter var(--t-2) var(--ease-out);
}

.top-nav.top-nav--glassy {
    background: rgba(255, 255, 255, 0.72);
    border-bottom-color: rgba(15, 30, 60, 0.12);
    box-shadow: 0 10px 24px -18px rgba(11, 18, 32, 0.34);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
}

@supports not ((backdrop-filter: blur(1px))) {
    .top-nav.top-nav--glassy {
        background: rgba(255, 255, 255, 0.9);
    }
}

.top-nav__inner {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
    min-height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.top-nav__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #1f2328;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
    line-height: 1;
}

.top-nav__brand:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 4px;
    border-radius: var(--r-sm);
}

.top-nav__brand img {
    width: 34px;
    height: auto;
    display: block;
}

.top-nav__links {
    display: inline-flex;
    align-items: center;
    gap: 56px;
}

.top-nav__links a {
    color: #626973;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    line-height: 1;
    transition: color var(--t-2) var(--ease-out);
}

.top-nav__links a:hover {
    color: #1f2328;
}

.top-nav__links a.is-active {
    color: #1f2328;
}

.top-nav__links a:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 4px;
    border-radius: var(--r-sm);
}

.cta.top-nav__cta {
    white-space: nowrap;
    font-size: 1.0rem;
}

@media (max-width: 900px) {
    :root {
        --nav-height: 64px;
    }

    .top-nav__inner {
        min-height: 64px;
        gap: 16px;
        width: calc(100% - 24px);
    }

    .top-nav__brand {
        font-size: 20px;
    }

    .top-nav__brand img {
        width: 32px;
    }

    .top-nav__links {
        display: none;
    }

    .top-nav__cta {
        margin-left: auto;
    }
}

section {
    padding: var(--s-8) 0;
    scroll-margin-top: var(--nav-height);

    /* min-height: clamp(1024px, 100svh, 100vw); */
    height: auto;
    width: 100%;
    padding: var(--s-8) 0;

    /* scroll-snap-align: start;         
    scroll-snap-stop: always;          */
    
    border-bottom: 2px solid var(--lightest-gray);

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

hgroup {
    margin-top: 5vh;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

hgroup.narrow-header {
    max-width: 700px;
}

section#hero {
    background-image: url(../img/scribbles.png);
    background-size: 100vw 130vh;
    background-position: 0vw 15vh;
    background-repeat: no-repeat;
    padding: var(--s-8) 0 0;
    border-bottom: 0;
    
    flex-direction: column;
    align-items: center;

    overflow: hidden;
    gap: var(--s-6);
    margin-bottom: calc(var(--hero-image-overlap) * -1);
    min-height: calc(100svh - var(--nav-height) + var(--hero-image-overlap));
}

section#hero #hero-image {
    position: relative;
    width: min(var(--hero-image-max-width), calc(100% - 48px));
    max-width: 100%;
    min-width: 0;
    height: auto;
    border-radius: var(--r-lg);
    border: 1px solid rgba(15, 30, 60, 0.10);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    isolation: isolate;
}

section#hero #hero-image img {
    width: 100%;
    display: block;
}

section#hero .hero-image__slide {
    will-change: opacity;
}

section#hero .hero-image__slide--primary {
    position: relative;
    z-index: 1;
    opacity: 1;
    animation: hero-image-primary 12s var(--ease-inout) infinite;
}

section#hero .hero-image__slide--secondary {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0;
    animation: hero-image-secondary 12s var(--ease-inout) infinite;
}

@keyframes hero-image-primary {
    0%, 42% {
        opacity: 1;
    }

    50%, 92% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes hero-image-secondary {
    0%, 42% {
        opacity: 0;
    }

    50%, 92% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

section hgroup p {
    width: 85%;
}

section#hero hgroup {
    flex-grow: 1;
    margin-top: 5vh;
}

#hero h1 {
    font-size: 3.2rem;
}

section#macro-micro {
    min-height: auto;
    padding: calc(clamp(48px, 7vh, 88px) + var(--hero-image-overlap)) 0 clamp(48px, 7vh, 88px);
    position: relative;
    z-index: 1;
}

section#macro-micro .macro-micro__inner {
    width: min(1600px, calc(100% - 48px));
    margin-inline: auto;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: clamp(24px, 4vw, 72px);
    padding-inline: clamp(16px, 2vw, 40px);
    min-height: auto;
}

section#macro-micro .macro-micro__inner hgroup {
    margin-top: clamp(40px, 9vh, 140px);
    max-width: clamp(400px, 40vw, 480px);
    text-align: left;
    align-items: flex-start;
    flex: 0 1 min(540px, 34vw);
}

section#macro-micro .macro-micro__inner hgroup p {
    width: 100%;
}

section#macro-micro .macro-micro__zoom-line {
    display: inline-block;
}

section#macro-micro .macro-micro__inner .info-images {
    width: clamp(520px, 62vw, 1320px);
    flex: 1 1 auto;
    align-self: center;
}

section#macro-micro .macro-micro__inner .info-images img {
    width: 100%;
    max-height: min(78vh, 980px);
    object-fit: contain;
}

section#macro-micro .macro-micro__inner hgroup * {
    margin-left: 0;
    text-shadow: var(--text-shadow-dark);
}

section#how-it-works {
    display: flex;
    flex-direction: column;
    align-items: center;
}

section#how-it-works #how-it-works-content {
    display: flex;
    flex-direction: row;
    gap: var(--s-6);
    margin-top: var(--s-6);
    width: min(var(--container), calc(100% - 48px));
    margin-left: auto;
    margin-right: auto;
}

section#how-it-works #steps {
    display: flex;
    flex-direction: column;
    flex-basis: 1;
}

section#how-it-works .step {
    flex: 1;
    display: flex;
    flex-direction: row;
    padding: var(--s-4);
    gap: var(--s-2);
}

section#how-it-works .step .step-number {
    background-color: var(--amber);
    border-radius: 100%;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-inverted);
    font-weight: 800;
    box-shadow: var(--shadow-sm);
    transition:
        transform var(--t-2) var(--ease-out),
        box-shadow var(--t-2) var(--ease-out),
        background-color var(--t-2) var(--ease-out),
        filter var(--t-2) var(--ease-out);
}

section#how-it-works .step .step-words h2 {
    font-size: var(--font-size-xs);
    font-weight: var(--fw-semibold);
    margin: 0;
}

section#how-it-works .step .step-words p {
    margin-top: var(--s-1);
}

section#how-it-works #how-it-works-content #how-it-works-image {
    flex-basis: 2;
    max-width: 40vw;
    height: auto;
}

section#how-it-works #how-it-works-content #how-it-works-image img {
    width: 100%;
    max-width: 760px;
    height: auto;

    border-radius: 18px;
    border: 1px solid rgba(15, 30, 60, 0.10);

    box-shadow: var(--shadow-sm);

    background: #fff;
    display: block;

    transition:
        transform var(--t-2) var(--ease-out),
        box-shadow var(--t-2) var(--ease-out);
}

#how-it-works-image img:hover {
    transform: scale(1.008);
    box-shadow: var(--shadow-md);
}

section#trust {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    overflow: visible;
}

section#trust .trust-grid {
  position: relative;
  width: min(960px, 100%);
  margin-top: var(--s-6);

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 32px);
  justify-items: center;
  align-items: start;
}


/* dashed cross */
.trust-grid::before,
.trust-grid::after {
    content: "";
    position: absolute;
    pointer-events: none;
    opacity: 0.85;
    inset: 0;    
}

/* vertical dash */
.trust-grid::before {
    top: 0;
    bottom: 0;
    left: 50%;
    border-left: 2px dashed var(--lighter-gray);
    transform: translateX(-1px);
}

/* horizontal dash */
.trust-grid::after {
    left: 0;
    right: 0;
    top: 50%;
    border-top: 2px dashed var(--lighter-gray);
    transform: translateY(-1px);
}

section#trust .trust-grid .trust-card {
    padding: clamp(18px, 3vw, 30px);
    min-width: 100%;
    transition: color var(--t-2) var(--ease-out);
}

section#trust .trust-card__header {
    display: flex;
    align-items: center;
    gap: var(--s-2);
    margin-bottom: var(--s-2);
}

section#trust .trust-grid .trust-card h3 {
    font-size: clamp(1.15rem, 1.4vw, 1.5rem);
    font-weight: var(--fw-bold);
    margin: 0;
    transition: color var(--t-2) var(--ease-out);
}

section#trust .trust-grid ul {
    color: var(--dark-med-gray);
    min-width: 100%;
    margin: 0;
    padding-left: var(--s-3);
}

section#trust .trust-grid ul li {
    font-size: clamp(0.95rem, 1.1vw, 1.0rem);
    margin-bottom: var(--s-2);
    transition:
        color var(--t-2) var(--ease-out),
        transform var(--t-2) var(--ease-out);
}

section#trust .trust-card__icon img {
    width: 35px;
    height: 35px;
    margin-bottom: 0;
    transition:
        transform var(--t-2) var(--ease-out),
        filter var(--t-2) var(--ease-out);
}

section#trust .trust-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (hover: hover) and (pointer: fine) {
    section#trust .trust-card:hover {
        color: var(--text);
    }

    section#trust .trust-card:hover h3 {
        color: color-mix(in srgb, var(--accent-color) 60%, var(--text));
    }

    section#trust .trust-card:hover .trust-card__icon img {
        transform: translateY(-1px) scale(1.03) rotate(-3deg);
        filter: saturate(1.08);
    }

    section#trust .trust-card:hover li {
        color: color-mix(in srgb, var(--text) 72%, var(--dark-med-gray));
        transform: translateX(1px);
    }
}

@media (max-width: 820px) {
  section#trust .trust-grid {
    grid-template-columns: 1fr;
    gap: clamp(18px, 4vw, 28px);
    width: min(560px, 100%);
  }

  /* Cross doesn’t make sense in 1-col layout */
  .trust-grid::before,
  .trust-grid::after {
    display: none;
  }

  section#trust .trust-card {
    padding: clamp(18px, 3vw, 28px);
  }
}

section#testimonials {
    background-image: url(../img/scribbles.png);
    background-size: 100vw 170vh;
    background-position: 0vw -10vw;
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    gap: var(--s-6);

    position: relative;
    overflow-x: clip;

    
    height: auto !important;
    min-height: 100svh;   
    overflow-y: visible; 
    padding-bottom: clamp(24px, 6vh, 80px); 
}

.testimonials-wrap {
    width: min(1040px, 100%);
    padding-inline: 24px;
    margin: var(--s-4) auto 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 2vw, 30px);
    align-items: start;
    justify-items: center;

    width: 100%;
    margin: 0 auto;
}

.testimonials-col {
    display: flex;
    flex-direction: column;
    gap: var(--s-5);
    align-items: stretch; 
}

.testimonial-card {
    border: var(--lighter-gray) solid 1px;
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    background-color: var(--bg);

    width: 100%;
    max-width: 420px;
    padding: var(--s-4);
    margin: 0;
    transition: box-shadow var(--t-2) var(--ease-out), transform var(--t-2) var(--ease-out);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.testimonial-quote {
    margin: 0 0 var(--s-4) 0;
}

.testimonial-quote p {
    margin: 0;
    color: var(--dark-med-gray);
    line-height: 1.55;
    font-size: var(--font-size-xxs);
}

.testimonial-toggle {
    display: none;
    width: 100%;
}

.testimonial-toggle__summary {
    display: block;
}

.testimonial-toggle__action {
    display: inline;
    color: var(--med-gray);
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    opacity: 0.9;
    white-space: nowrap;
}

.testimonial-meta {
    display: flex;
    align-items: center;
    gap: var(--s-2);
}

.meta-primary {
    font-weight: var(--fw-semibold);
}

.avatar {
    width: 34px;
    height: 34px;
    border-radius: 9999px;
    object-fit: cover;
    display: block;

    background: var(--lightest-gray);
}

.avatar--placeholder {
    display: inline-block;
}

section#pricing {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: var(--s-8);
    min-height: clamp(800px, 100svh, 100vw);

    background-image: url(../img/scribbles2.svg);
    background-size: 100% auto;
    background-position: 0 -15vh;
    background-repeat: no-repeat;
}

.pricing-wrap {
    width: min(1300px, calc(100% - 48px));
    margin: var(--s-4) auto 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--s-5);
    align-items: stretch;

    width: 100%;
    margin: 0 auto;
}

.pricing-card {
    position: relative;

    background: var(--bg);
    border: var(--lighter-gray) solid 1px;
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);

    padding: var(--s-4);

    display: flex;
    flex-direction: column;
    gap: var(--s-2);

    min-height: 250px;

    transition: box-shadow var(--t-2) var(--ease-out), transform var(--t-2) var(--ease-out);
}

.pricing-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.pricing-card__header h3 {
    margin: 0;
    font-size: var(--font-size-xs);
    font-weight: var(--fw-medium);
    color: var(--text)
}

.pricing-price {
    display: inline-flex;
    align-items: flex-end;
    gap: 0.2em;
    font-size: 2.0rem;
    font-weight: var(--fw-semibold);
    color: var(--text);
    margin: 4px 0 0 0;
}

.pricing-price__amount {
    position: relative;
    display: inline-block;
    /* padding-right: 0.85em; */
    line-height: 1;
}

.pricing-price__cents {
    position: absolute;
    top: 0.05em;
    right: 0;
    font-size: 0.5em;
    font-weight: inherit;
    color: var(--dark-med-gray);
    line-height: 1;
}

.pricing-features {
    margin: 0;
    padding-left: var(--s-3);
    font-size: var(--font-size-xxs);
    color: var(--dark-med-gray);
    line-height: 1.8;
}

.pricing-badge {
    position: absolute;
    top: var(--s-3);
    right: var(--s-3);
    background-color: var(--accent-color);
    color: var(--text-inverted);
    padding: 6px 10px;
    border-radius: var(--r-sm);
    font-size: 0.9rem;
    font-weight: var(--fw-semibold);
}

/* ── Compare toggle ── */

.compare-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: var(--s-4) auto 0;
    padding: 12px 24px;
    background-color: white;
    border: var(--lighter-gray) solid 1px;
    box-shadow: var(--shadow-sm);
    border-radius: 9999px;
    color: var(--text);
    font-size: 1.1rem;
    font-weight: var(--fw-semibold);
    cursor: pointer;
    transition: color var(--t-2) var(--ease-out), border-color var(--t-2) var(--ease-out);
}

.compare-toggle:hover {
    color: var(--text);
    border-color: var(--light-gray);
    box-shadow: var(--shadow-cta-hover);
}

.compare-toggle__icon {
    transition: transform var(--t-3) var(--ease-out);
}

.compare-toggle[aria-expanded="true"] .compare-toggle__icon {
    transform: rotate(180deg);
}

.compare-toggle:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
}

/* ── Compare collapse wrapper ── */

.compare-collapse__inner {
    overflow: hidden;
    max-height: 0;
    transition: max-height 500ms cubic-bezier(.4, 0, .2, 1);
}

.compare-collapse[aria-hidden="false"] .compare-collapse__inner {
    max-height: 6200px;
    transition: max-height 600ms cubic-bezier(.2, 0, .2, 1);
}

/* ── Compare table ── */

.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: var(--s-5);
    font-size: var(--font-size-xxs);
    color: var(--text);
    table-layout: fixed;
}

.compare-table th,
.compare-table td {
    padding: 10px var(--s-3);
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid var(--lighter-gray);
}

.compare-table__feature-col {
    text-align: left;
    width: 40%;
    color: var(--darker-med-gray);
    font-weight: var(--fw-regular);
}

.compare-table td:first-child {
    text-align: left;
    color: var(--darker-med-gray);
    vertical-align: top;
}

.compare-table__feature-title {
    display: block;
    font-weight: var(--fw-semibold);
    color: var(--text);
    margin-bottom: 4px;
}

.compare-table__feature-detail {
    display: block;
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--dark-med-gray);
}

.compare-table__plan-col {
    width: 20%;
    font-weight: var(--fw-semibold);
    color: var(--text);
    padding-bottom: var(--s-2);
}

.compare-table__plan-col--featured {
    color: var(--accent-color);
}

/* featured column highlight */
.compare-table td:nth-child(3) {
    background: rgba(11, 104, 255, 0.03);
}

.compare-table thead th:nth-child(3) {
    background: rgba(11, 104, 255, 0.03);
    border-radius: var(--r-sm) var(--r-sm) 0 0;
}

.compare-table tbody tr:last-child td:nth-child(3) {
    border-radius: 0 0 var(--r-sm) var(--r-sm);
}

/* group rows */
.compare-table__group-row td {
    font-weight: var(--fw-semibold);
    color: var(--text);
    padding-top: var(--s-4);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--light-gray);
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

/* icons */
.icon-check {
    width: 18px;
    height: 18px;
    color: var(--accent-color);
    vertical-align: middle;
}

.icon-dash {
    color: var(--light-gray);
    font-size: 1.2rem;
    font-weight: var(--fw-bold);
    line-height: 1;
}

section#features {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: auto;
    height: auto;
    /* scroll-snap-align: none;
    scroll-snap-stop: normal; */
}

.features-wrap {
    width: min(var(--container), calc(100% - var(--s-4)));
    margin: var(--s-4) auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--s-8);
}

.feature {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(24px, 3.2vw, 48px);
}

.feature.feature--left {
    flex-direction: row;
}

.feature.feature--right {
    flex-direction: row-reverse;
}

.feature-copy--right {
    text-align: right;
}

.feature-copy,
.feature-copy--right {
    flex: 1 1 420px;
    min-width: 320px;
    max-width: 520px;
}

.feature-icon img {
    width: 40px;
    height: 40px;
    margin-bottom: var(--s-1);
}

.feature-copy h3 {
    margin: 0;
    font-size: 2.3rem;
    font-weight: var(--fw-bold);
    color: var(--text);
}

.feature-desc {
    margin: var(--s-2) 0 var(--s-1) 0;
    font-size: 1.1rem;
    color: var(--med-gray);
    line-height: 1.6;
}

.feature-media {
    flex: 1 1 560px;
    min-width: 0;
    display: flex;
}

.feature.feature--left .feature-media {
    justify-content: flex-end;
}

.feature.feature--right .feature-media {
    justify-content: flex-start;
}

.feature-media > img {
    width: 100%;
    max-width: 760px;
    height: auto;

    border-radius: 18px;
    border: 1px solid rgba(15, 30, 60, 0.10);

    box-shadow: var(--shadow-sm);

    background: #fff;
    display: block;

    transition:
        transform var(--t-2) var(--ease-out),
        box-shadow var(--t-2) var(--ease-out);
}

.feature-carousel {
    position: relative;
    width: 100%;
    max-width: 760px;
    border-radius: 18px;
}

.feature-carousel-track {
    display: flex;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    border-radius: 18px;
    border: 1px solid rgba(15, 30, 60, 0.10);
    box-shadow: var(--shadow-sm);
    background: #ffffff;
}

.feature-carousel-track::-webkit-scrollbar {
    display: none;
}

.feature-carousel.is-single .feature-carousel-track {
    overflow: hidden;
    scroll-snap-type: none;
}

.feature-carousel.is-single .feature-carousel-control,
.feature-carousel.is-single .feature-carousel-dots {
    display: none;
}

.feature-carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    height: auto;
    display: block;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.feature-carousel-control {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(8, 15, 30, 0.38);
    border-radius: 999px;
    background: rgba(8, 15, 30, 0.74);
    color: #ffffff;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    transform: translateY(-50%);
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(8, 15, 30, 0.25);
    transition:
        background-color var(--t-2) var(--ease-out),
        border-color var(--t-2) var(--ease-out),
        opacity var(--t-2) var(--ease-out),
        transform var(--t-2) var(--ease-out),
        box-shadow var(--t-2) var(--ease-out);
}

.feature-carousel-control--prev {
    left: 12px;
}

.feature-carousel-control--next {
    right: 12px;
}

.feature-carousel-control:disabled {
    opacity: 0.28;
    cursor: default;
}

.feature-carousel-control:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.feature-carousel-control span {
    display: block;
    width: 1em;
    line-height: 1;
    text-align: center;
    transform: translateY(-1px);
}

.feature-carousel-control--prev span {
    transform: translate(-0.5px, -1px);
}

.feature-carousel-control--next span {
    transform: translate(0.5px, -1px);
}

.feature-carousel-dots {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(10, 17, 32, 0.38);
}

.feature-carousel-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.48);
    cursor: pointer;
    transition: background-color var(--t-2) var(--ease-out), transform var(--t-2) var(--ease-out);
}

.feature-carousel-dot.is-active {
    background: #ffffff;
    transform: scale(1.15);
}

.feature-carousel-dot:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .feature-carousel-track {
        scroll-behavior: auto;
    }

    .feature-carousel-control,
    .feature-carousel-dot {
        transition: none;
    }

    .feature-spotlight-copy,
    .feature-spotlight-media {
        transition: none;
    }
}

.feature-explorer {
    margin-top: var(--s-2);
}

.feature-explorer h2 {
    margin: 0 0 var(--s-4) 0;
    text-align: center;
    font-size: 2.2rem;
    color: var(--text);
}

.feature-spotlight {
    overflow: hidden;
    border: 1px solid rgba(15, 30, 60, 0.08);
    box-shadow: var(--shadow-sm);
    background: var(--lightest-gray);
    transition:
        transform var(--t-2) var(--ease-out),
        box-shadow var(--t-2) var(--ease-out),
        border-color var(--t-2) var(--ease-out);
}

.feature-spotlight-tabs {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    align-items: center;
    padding: 6px;
    border-bottom: 1px solid var(--lighter-gray);
    background: var(--lightest-gray);
}

.feature-spotlight-tab {
    border: none;
    background: transparent;
    color: var(--dark-med-gray);
    font-size: 0.98rem;
    font-weight: var(--fw-medium);
    padding: var(--s-2) var(--s-1);
    cursor: pointer;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.feature-spotlight-tab-icon {
    width: 22px;
    height: 22px;
    display: none;
}

.feature-spotlight-tab-label {
    display: inline;
}

.feature-spotlight-tab[aria-selected="true"] {
    color: var(--text);
    font-weight: var(--fw-semibold);
    background: #ffffff;
    box-shadow: inset 0 0 0 1px var(--border);
}

.feature-spotlight-tab:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: -2px;
    border-radius: 999px;
}

.feature-spotlight-panel {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.15fr);
    gap: var(--s-5);
    align-items: stretch;
    padding: var(--s-5);
}

.feature-spotlight-copy {
    max-width: 420px;
    align-self: center;
    transition:
        opacity 180ms var(--ease-out),
        transform 220ms var(--ease-out);
}

.feature-spotlight-copy h3 {
    margin: 0;
    font-size: 2.1rem;
    color: var(--text);
}

.feature-spotlight-media {
    position: relative;
    min-height: 300px;
    transition:
        opacity 180ms var(--ease-out),
        transform 220ms var(--ease-out);
}

.feature-spotlight-media .feature-carousel {
    width: 100%;
    max-width: none;
}

.feature-spotlight-panel.is-transitioning {
    pointer-events: none;
}

.feature-spotlight-panel.is-transitioning .feature-spotlight-copy,
.feature-spotlight-panel.is-transitioning .feature-spotlight-media {
    opacity: 0;
    transform: translateY(6px);
}

.feature-spotlight-media img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 980px) {
    .feature,
    .feature.feature--left,
    .feature.feature--right {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .feature-copy,
    .feature-copy--right {
        flex: 0 1 auto;
        min-width: 0;
        max-width: 680px;
        text-align: center;
        margin-inline: auto;
    }

    .feature-icon {
        display: flex;
        justify-content: center;
    }

    .feature-media {
        flex: 0 1 auto;
        width: 100%;
        justify-content: center;
        align-items: flex-start;
    }

    .feature-media > img {
        width: min(760px, 100%);
        max-width: 100%;
        height: auto;
    }

    .feature-carousel {
        width: min(760px, 100%);
        max-width: 100%;
    }

    .feature-carousel-control {
        width: 34px;
        height: 34px;
        font-size: 1.35rem;
    }

    .feature-carousel-dots {
        bottom: 10px;
    }

    .feature-spotlight-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--s-1);
        padding: var(--s-2);
    }

    .feature-spotlight-tab {
        background: #ffffff;
        box-shadow: inset 0 0 0 1px var(--border);
    }

    .feature-spotlight-tab[aria-selected="true"] {
        box-shadow: inset 0 0 0 1px rgba(11, 104, 255, 0.25);
    }

    .feature-spotlight-tab:last-child {
        grid-column: auto;
    }

    .feature-spotlight-panel {
        grid-template-columns: 1fr;
        padding: var(--s-4);
        gap: var(--s-4);
    }

    .feature-spotlight-copy {
        text-align: center;
        margin: 0 auto;
    }

    .feature-spotlight-media {
        min-height: 220px;
    }
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin: 0 auto;
}

.card {
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    background: #fff;
    box-shadow: var(--shadow-md);
}

.center-align {
    text-align: center;
}

h1 {
    font-size: var(--font-size-xl);
    color: var(--text);
    font-weight: var(--fw-bold);
    margin: 0;
    text-shadow: var(--text-shadow);
}

.cta {
    background-color: var(--accent-color);
    color: var(--text-inverted);
    padding: var(--s-2) var(--s-3);
    border-radius: var(--r-sm);
    font-weight: 600;
    font-size: var(--font-size-xs);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: var(--shadow-cta-rest);
    transform: none;
    cursor: pointer;
    transition:
        border-color var(--t-2) var(--ease-out),
        box-shadow var(--t-2) var(--ease-out),
        transform var(--t-2) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .cta:hover {
        border-color: rgba(255, 255, 255, 0.38);
        box-shadow: var(--shadow-cta-hover);
        transform: translateY(-2px);
    }

    .feature-media > img:hover {
        transform: translateY(-3px) scale(1.008);
        box-shadow: var(--shadow-md);
    }

    .feature-carousel-control:not(:disabled):hover {
        background: rgba(8, 15, 30, 0.9);
        border-color: rgba(8, 15, 30, 0.58);
        box-shadow: 0 14px 28px rgba(8, 15, 30, 0.32);
        transform: translateY(-50%) scale(1.06);
    }

    .feature-spotlight:hover {
        transform: translateY(-3px);
        border-color: rgba(15, 30, 60, 0.14);
        box-shadow: var(--shadow-md);
    }

    section#how-it-works .step:not(.step--cta):hover .step-number,
    section#how-it-works .step:not(.step--cta):focus-within .step-number {
        transform: translateY(-1px) scale(1.04);
        background-color: color-mix(in srgb, var(--amber) 86%, #e08a00);
        box-shadow: var(--shadow-sm);
        filter: saturate(1.05);
    }
}

.cta:active {
    transform: translateY(0);
    box-shadow: var(--shadow-cta-active);
}

.cta:focus-visible {
    outline: 2px solid rgba(11, 104, 255, 0.9);
    outline-offset: 3px;
    box-shadow: var(--shadow-focus-ring), var(--shadow-cta-rest);
}

section#pricing .cta, section#how-it-works .cta {
    background-color: var(--blackish);
    font-size: 1.0rem;
    margin-top: var(--s-2);
}

hgroup .header-pill {
    padding: 0px 24px;
    border-radius: 9999px;
    height: 40px;
    display: flex;
    justify-content: center;
    margin-bottom: var(--s-4);
}

hgroup .header-pill .pill {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--lightest-gray);
    padding: 4px 20px 3px 20px;      /* tweak until it matches */
    border-radius: 9999px;   /* the “pill” part */
    color: #111827;          /* near-black */
    font-weight: 600;
    font-size: 16px;
    line-height: 1;

    box-shadow: var(--shadow-pill);
}

hgroup p.subheader {
    color: var(--med-gray);
    font-size: var(--font-size-xs);
}

/* text gradient accent */
.gradient-text {
    background: linear-gradient(270deg, var(--accent-color), var(--secondary-accent-color), var(--accent-color));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 7s linear infinite;
}

@keyframes shimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.accent {
    color: var(--accent-color);
}
/*                      */

/* diagonal line background */
.diag {
    position: relative;
    overflow: hidden;   /* hides anything outside the diagonal */
}

.diag h1 {
    color: var(--text-inverted);
}

.diag p.subheader {
    color: var(--light-gray);
}

.diag::before {
    content:"";
    position: absolute;
    inset: 0;
    background-image: conic-gradient(from 35deg at 30% 50%, var(--accent-color-light), var(--accent-color));
    background-position: right;
    background-repeat: no-repeat;
    clip-path: polygon(0 0, 100% 0, 100% 15%, 0 95%);
    z-index: -1;
}

.diag .container {
    position: relative;
    z-index: 1;  /* content above the background */
}
/***********************/

@media (prefers-reduced-motion: reduce) {
  section#hero .hero-image__slide {
    animation: none;
    opacity: 1;
  }

  section#hero .hero-image__slide--secondary {
    display: none;
  }

  #testimonials .testimonial-card {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

#testimonials .testimonials-wrap{
  position: static !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
}
/* Just in case columns were targeted too */
#testimonials .testimonials-col{
  position: static !important;
  inset: auto !important;
}

@media (max-width: 1100px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
    section {
        min-height: auto;
        padding: var(--s-7) 0;
        background-position: fill;
    }

    section#hero {
        background-size: cover;
        background-position: center top;
        gap: var(--s-4);
        margin-bottom: 0;
        min-height: auto;
    }

    section#hero hgroup {
        margin-top: 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    #testimonials .testimonial-card--collapsible .testimonial-quote {
        margin: 0 0 var(--s-3) 0;
    }

    #testimonials .testimonial-card--collapsible .testimonial-toggle {
        display: block;
        margin: 0 0 var(--s-2) 0;
        line-height: 1.55;
    }

    #testimonials .testimonial-card--collapsible .testimonial-toggle__summary {
        display: inline;
        color: var(--dark-med-gray);
        font-size: var(--font-size-xxs);
    }

    #testimonials .testimonial-card--collapsible .testimonial-toggle__action {
        margin-left: 0.42rem;
        text-transform: lowercase;
    }

    #testimonials .testimonial-card--collapsible.is-expanded .testimonial-toggle__summary {
        display: none;
    }

    #testimonials .testimonial-card--collapsible.is-expanded .testimonial-toggle {
        display: flex;
        justify-content: flex-end;
        margin: var(--s-2) 0 0 0;
        line-height: 1.2;
    }

    #testimonials .testimonial-card--collapsible.is-expanded .testimonial-toggle__action {
        margin-left: 0;
    }

    #testimonials .testimonial-card--collapsible {
        cursor: pointer;
    }

    #testimonials .testimonial-card--collapsible:focus-visible {
        outline: 2px solid var(--accent-color);
        outline-offset: 4px;
        border-radius: var(--r-sm);
    }

    h1 {
        font-size: clamp(1.7rem, 6vw, 2.1rem);
        line-height: 1.15;
    }

    hgroup p.subheader {
        font-size: 1.05rem;
        line-height: 1.55;
    }

    #hero h1 {
        font-size: clamp(1.95rem, 7.4vw, 2.3rem);
    }

    section#hero #hero-image {
        width: 92%;
        min-width: 0;
        max-width: 92%;
        height: auto;
    }

    section#macro-micro {
        padding: var(--s-6) 0;
    }

    section#macro-micro .macro-micro__inner {
        flex-direction: column;
        align-items: center;
        gap: var(--s-4);
        width: min(760px, calc(100% - 24px));
        padding-inline: 0;
    }

    section#macro-micro .macro-micro__inner hgroup {
        margin-top: 0;
        text-align: center;
        align-items: center;
    }

    section#macro-micro .macro-micro__inner hgroup * {
        margin-left: 0;
    }

    section#macro-micro .macro-micro__inner .info-images {
        height: auto;
        width: min(760px, 100%);
    }

    section#macro-micro .macro-micro__inner .info-images img {
        width: 100%;
        max-height: none;
    }

    section#how-it-works #how-it-works-content {
        flex-direction: column;
        gap: var(--s-4);
        width: min(720px, calc(100% - 24px));
        margin-top: var(--s-4);
    }

    section#how-it-works .step {
        padding: var(--s-3) 0;
    }

    section#how-it-works #how-it-works-content #how-it-works-image {
        max-width: 100%;
    }

    section#trust .trust-card {
        text-align: center;
    }

    section#trust .trust-card__header {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--s-1);
    }

    section#trust .trust-card__list {
        display: inline-block;
        margin: var(--s-3) auto 0;
        text-align: left;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .compare-table__feature-col {
        width: 34%;
    }

    .compare-table__plan-col {
        width: 22%;
    }

    .feature-copy h3 {
        font-size: clamp(1.6rem, 6.2vw, 1.95rem);
    }

    .feature-explorer h2 {
        font-size: clamp(1.5rem, 6vw, 1.85rem);
    }

    .feature-spotlight-copy h3 {
        font-size: clamp(1.5rem, 6vw, 1.8rem);
    }
}

@media (max-width: 600px) {
    section hgroup {
        width: 100%;
        padding-inline: 16px;
    }

    .feature-copy,
    .feature-spotlight-copy {
        width: 100%;
        max-width: 36rem;
        margin-inline: auto;
        padding-inline: 12px;
    }

    h1 {
        font-size: clamp(1.7rem, 8vw, 2rem);
    }

    hgroup p.subheader {
        font-size: 1rem;
    }

    .feature-spotlight-tabs {
        grid-template-columns: repeat(8, minmax(0, 1fr));
        gap: 6px;
        padding: 6px;
    }

    .feature-spotlight-tab {
        min-height: 48px;
        padding: 10px;
    }

    .feature-spotlight-tab-icon {
        display: block;
        opacity: 0.42;
        filter: grayscale(1);
        transition: opacity var(--t-2) var(--ease-out), filter var(--t-2) var(--ease-out);
    }

    .feature-spotlight-tab[aria-selected="true"] .feature-spotlight-tab-icon {
        opacity: 1;
        filter: none;
    }

    .feature-spotlight-tab-label {
        display: none;
    }

    .feature-spotlight-tab:last-child {
        grid-column: auto;
    }

    .feature-spotlight-panel {
        padding: var(--s-3);
    }

    .top-nav__brand span {
        display: none;
    }

    .top-nav__cta {
        font-size: 0.9rem;
        padding: 10px 12px;
    }

    section hgroup p {
        width: 100%;
    }

    .pricing-wrap {
        width: calc(100% - 24px);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .compare-table {
        font-size: 0.85rem;
    }

    .compare-table th,
    .compare-table td {
        padding: 8px 8px;
    }

    .compare-table__feature-col {
        width: 38%;
    }

    .compare-table__plan-col {
        width: auto;
    }
}
