/* ── Reset ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    color: var(--c-text-dark);
    background-color: var(--c-bg-white);
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    line-height: var(--lh-heading);
    font-weight: 700;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p {
    line-height: var(--lh-body);
}

/* ── Layout Utilities ── */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--container-px);
    padding-right: var(--container-px);
}

.section {
    padding-top: var(--section-py);
    padding-bottom: var(--section-py);
}

.section--dark {
    background-color: var(--c-bg-dark);
    color: var(--c-text-white);
}

.section--light {
    background-color: var(--c-bg-light);
    color: var(--c-text-dark);
}

.section--white {
    background-color: var(--c-bg-white);
    color: var(--c-text-dark);
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--r-sm);
    font-size: var(--fs-body);
    font-weight: 500;
    transition: opacity var(--transition), transform var(--transition);
    white-space: nowrap;
}

.btn:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.btn--primary {
    background-color: var(--c-text-dark);
    color: var(--c-text-white);
}

.btn--secondary {
    background-color: transparent;
    color: var(--c-text-dark);
    border: 1px solid var(--c-border-light);
}

.btn--white {
    background-color: var(--c-bg-white);
    color: var(--c-text-dark);
}

.btn--ghost {
    background: none;
    color: inherit;
    padding: 0;
    font-weight: 500;
}

.btn--ghost:hover {
    opacity: 0.7;
    transform: none;
}

.btn--gradient {
    background: linear-gradient(90deg, #8a5cff 0%, #c44bf2 50%, #ff266a 100%);
    color: var(--c-text-white);
    border: none;
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(168, 76, 242, 0.35);
}

.btn--gradient:hover {
    opacity: 0.92;
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(168, 76, 242, 0.45);
}

/* ── Product page shared styles ── */
.product-hero {
    padding-top: 160px;
    padding-bottom: var(--section-py);
    background: var(--c-bg-white);
    text-align: center;
}

.product-hero__inner {
    max-width: 820px;
    margin: 0 auto;
}

.product-hero__eyebrow {
    display: inline-block;
    font-size: var(--fs-small);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-accent-purple);
    margin-bottom: var(--gap-sm);
}

.product-hero__title {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: var(--c-text-heading);
    margin-bottom: var(--gap-sm);
}

.product-hero__subtitle {
    font-size: 22px;
    font-weight: 500;
    color: var(--c-text-heading);
    margin-bottom: var(--gap-xs);
}

.product-hero__body {
    font-size: var(--fs-body-lg);
    line-height: var(--lh-body);
    color: var(--c-text-muted);
    margin-bottom: var(--gap-md);
}

.product-hero__actions {
    display: flex;
    gap: var(--gap-xs);
    flex-wrap: wrap;
    justify-content: center;
}

.product-hero__btn-pill {
    border-radius: 100px;
    padding: 14px 28px;
}

.product-block__eyebrow {
    display: block;
    font-size: var(--fs-small);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-accent-purple);
    margin-bottom: var(--gap-xs);
}

.product-block__title {
    font-size: var(--fs-h2);
    margin-bottom: var(--gap-sm);
    font-weight: 500;
    letter-spacing: -0.5px;
}

.product-block__body {
    font-size: var(--fs-body-lg);
    color: var(--c-text-muted);
    line-height: var(--lh-body);
    max-width: 760px;
    margin-bottom: var(--gap-lg);
}

.product-block__grid {
    margin-top: var(--gap-lg);
}

.product-block__card {
    background: var(--c-bg-white);
    border: 1px solid var(--c-border-light);
    border-radius: var(--r-lg);
    padding: var(--gap-md);
}

.section--dark .product-block__card {
    background: var(--c-bg-dark-card);
    border-color: var(--c-border-dark);
}

.product-block__number {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: var(--fs-caption);
    color: var(--c-text-subtle);
    margin-bottom: var(--gap-xs);
}

.product-block__card-title {
    font-size: var(--fs-h4);
    margin-bottom: var(--gap-xs);
}

.product-block__card-desc {
    color: var(--c-text-muted);
    line-height: var(--lh-body);
    font-size: var(--fs-body);
}

.section--dark .product-block__card-desc {
    color: var(--c-text-subtle);
}

@media (max-width: 768px) {
    .product-hero {
        padding-top: 120px;
    }
    .product-hero__title {
        font-size: 36px;
    }
    .product-hero__subtitle {
        font-size: 18px;
    }
}

/* ── Grid ── */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap-md);
}

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

@media (max-width: 768px) {
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
}

/* ── Chip / Tag ── */
.chip {
    display: inline-block;
    padding: 4px 12px;
    background: var(--c-chip-bg);
    border: 1px solid var(--c-chip-border);
    border-radius: 100px;
    font-size: var(--fs-small);
    color: var(--c-text-muted);
}

/* ── Screen Reader Only ── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
