:root {
    --purple: #6b21a8;
    --purple-dark: #581c87;
    --pink: #db2777;
    --green: #16a34a;
    --yellow: #f59e0b;
    --text: #1f2937;
    --muted: #6b7280;
    --bg-alt: #faf5ff;
    --border: #e5e7eb;
    --radius: 12px;
}

* { box-sizing: border-box; }

.skip-link {
    position: absolute;
    top: -100px; left: 12px;
    background: var(--purple-dark);
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    z-index: 200;
    transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 3px solid var(--purple);
    outline-offset: 2px;
}

body {
    margin: 0;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text);
    line-height: 1.5;
    background: #fff;
}
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 12px; }
.text-center { text-align: center; }
.text-pink { color: var(--pink); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 15px;
    text-align: center;
}
.btn-primary { background: linear-gradient(135deg, var(--purple), var(--pink)); color: #fff; }
.btn-primary:hover { opacity: .92; }
.btn-outline { background: #fff; color: var(--purple); border: 2px solid var(--purple); }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-cta { background: #fff; color: var(--purple); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 15px 28px; font-size: 17px; }
.btn-block { display: block; width: 100%; }

/* Announce bar */
.announce-bar {
    background: var(--purple-dark);
    color: #fff;
    font-size: 13px;
    padding: 8px 0;
    overflow: hidden;
}
/* Desktop/tablet: centered, wrapping row (the duplicate .announce-set
   used for the mobile marquee loop stays hidden here). */
.announce-track { display: flex; justify-content: center; }
.announce-set { display: flex; gap: 32px; flex-wrap: wrap; justify-content: center; }
.announce-set[aria-hidden] { display: none; }

@media (max-width: 640px) {
    /* Mobile: a continuously-scrolling marquee instead of wrapping to
       2+ lines. Both .announce-set copies render (each exactly half of
       .announce-track's width), and animating translateX(-50%) — then
       snapping back to 0 on loop — reads as one endless strip. */
    .announce-track {
        justify-content: flex-start;
        width: max-content;
        animation: announceMarquee 16s linear infinite;
    }
    .announce-set {
        flex-wrap: nowrap;
        white-space: nowrap;
        gap: 32px;
        padding-right: 32px;
    }
    .announce-set[aria-hidden] { display: flex; }
}
@keyframes announceMarquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .announce-track { animation: none !important; }
    .announce-set[aria-hidden] { display: none !important; }
}

/* Header */
.site-header { border-bottom: 1px solid var(--border); position: sticky; top: 0; background: #fff; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; gap: 16px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo-badge-img { height: 46px; width: auto; display: block; }
.logo-text { font-weight: 700; color: var(--purple-dark); font-size: 18px; }
.main-nav { display: flex; gap: 24px; }
.main-nav a { text-decoration: none; color: var(--text); font-weight: 500; font-size: 15px; }
.main-nav a:hover { color: var(--purple); }
.header-actions { display: flex; gap: 10px; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--bg-alt), #fff); padding: 48px 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding-bottom: 40px; }
.hero-copy h1 { font-size: 40px; line-height: 1.2; color: var(--purple-dark); }
.hero-sub { color: var(--muted); font-size: 16px; margin-bottom: 16px; }
.hero-price { font-size: 17px; color: var(--pink); margin-bottom: 16px; }
.hero-features { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.hero-trust { margin-top: 14px; font-size: 13px; color: var(--muted); }
.hero-media { display: block; }
.hero-video-frame { position: relative; width: 100%; }

.hero-video-wrap {
    position: relative;
    width: 100%;
    height: clamp(380px, 52vw, 620px);
    border-radius: 26px;
    overflow: hidden;
    background: linear-gradient(135deg, #fce7f3, #ede9fe);
    box-shadow: 0 24px 48px -12px rgba(107, 33, 168, .35);
    border: 5px solid #fff;
}
.hero-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000;
}
.hero-video-play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 64px; height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    border: none;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    color: var(--purple);
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
    transition: opacity .2s ease, transform .2s ease;
}
.hero-video-play:hover { transform: translate(-50%, -50%) scale(1.08); }
.hero-video-play.hidden { opacity: 0; pointer-events: none; }
.hero-media-note {
    position: absolute; top: -10px; right: -10px;
    background: #fff; padding: 6px 12px; border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,.1); font-size: 13px; font-weight: 600;
}

.trust-strip { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-strip-inner {
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
    padding: 16px 20px; font-size: 13px; color: var(--muted); font-weight: 600;
}

/* ---- "View Full Details" mobile-only reveal ---- */
/* Desktop: always show everything, no button, no collapsing. */
.view-details-cta { display: none; }

@media (max-width: 900px) {
    .view-details-cta {
        display: block;
        text-align: center;
        background: #fff;
        padding: 18px 20px 26px;
    }
    .view-details-btn { display: inline-flex; align-items: center; gap: 8px; }
    .view-details-arrow { display: inline-block; animation: viewDetailsBounce 1.6s ease-in-out infinite; }

    .details-section { display: none; }
    .details-section.is-expanded { display: block; animation: detailsReveal .5s ease; }
}

@keyframes viewDetailsBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}
@keyframes detailsReveal {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .view-details-arrow { animation: none; }
    .details-section.is-expanded { animation: none; }
}

/* Sections */
.section { padding: 60px 0; }
.section-alt { background: var(--bg-alt); }
.section-title-sm { margin-top: 56px; }

/* How it works + order form */
.two-col { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.steps { display: flex; flex-direction: column; gap: 20px; margin: 24px 0; }
.step { display: flex; flex-direction: column; align-items: flex-start; }
.step-icon {
    width: 44px; height: 44px; border-radius: 50%; color: #fff; font-weight: 700;
    display: flex; align-items: center; justify-content: center; margin-bottom: 8px;
}
.step-icon-purple { background: var(--purple); }
.step-icon-pink { background: var(--pink); }
.step-icon-green { background: var(--green); }
.step p { margin: 0; }
.note-pink { color: var(--pink); font-weight: 600; background: #fdf2f8; padding: 10px 16px; border-radius: 8px; display: inline-block; }

.order-form-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 28px; box-shadow: 0 4px 24px rgba(107,33,168,.08);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { margin-bottom: 14px; }
.form-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-field input, .form-field textarea, .form-field select {
    width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px;
    font-size: 14px; font-family: inherit;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: 2px solid var(--purple); border-color: var(--purple); }

.upload-box {
    position: relative;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    border: 2px dashed #d8b4fe; border-radius: 10px; padding: 28px 16px; text-align: center;
    cursor: pointer; background: #fdfaff; font-size: 13px; color: var(--muted);
}
.upload-icon { font-size: 26px; margin-bottom: 6px; }
/* Visually hidden, not display:none — keeps it keyboard-focusable and
   announced by screen readers; the wrapping <label> still handles clicks. */
.upload-box input[type="file"] {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.upload-box:focus-within { outline: 3px solid var(--purple); outline-offset: 2px; }
.upload-hint { font-size: 12px; color: var(--muted); margin-top: 6px; }

.product-radios { display: flex; flex-direction: column; gap: 8px; }
.product-radio {
    display: flex; align-items: center; gap: 10px; border: 1px solid var(--border);
    border-radius: 8px; padding: 10px 12px; font-size: 14px; cursor: pointer;
}
.product-radio input { width: auto; }
.mp { color: var(--pink); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 32px 0; }
.price-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 24px; position: relative; display: flex; flex-direction: column;
}
.price-card-popular { border: 2px solid var(--purple); box-shadow: 0 8px 24px rgba(107,33,168,.15); }
.price-badge {
    position: absolute; top: -12px; left: 20px; background: var(--yellow); color: #fff;
    font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
.price-line { display: flex; align-items: baseline; gap: 8px; margin: 10px 0; flex-wrap: wrap; }
.price-old { text-decoration: line-through; color: var(--muted); font-size: 14px; }
.price-new { font-size: 24px; font-weight: 700; color: var(--purple-dark); }
.price-save { background: #fef3c7; color: #92400e; font-size: 11px; padding: 2px 8px; border-radius: 999px; font-weight: 700; }
.feature-list { list-style: none; padding: 0; margin: 0 0 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--text); }
.bulk-card { background: var(--purple-dark); color: #fff; }
.bulk-card .feature-list { color: #ede9fe; }

.magic-heading { margin-top: 56px; }
.magic-sub { color: var(--muted); font-size: 15px; margin-top: -6px; }

.sparkle { display: inline-block; animation: sparkleFloat 2.4s ease-in-out infinite; }

/* ---- Before / after compare slider ---- */
.compare-wrap { max-width: 420px; margin: 28px auto 0; }
.compare-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 800 / 1080;
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 20px 40px -12px rgba(107, 33, 168, .3);
    border: 5px solid #fff;
    outline: 1px solid var(--border);
}
.compare-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}
.compare-img-after { background: #fff; }
.compare-img-before {
    clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0);
}
.compare-divider {
    position: absolute; top: 0; bottom: 0;
    left: var(--pos, 50%);
    width: 3px;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(107, 33, 168, .25);
    pointer-events: none;
    transform: translateX(-50%);
    z-index: 3;
}
.compare-handle {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 40px; height: 40px; border-radius: 50%;
    background: #fff;
    color: var(--purple);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; font-weight: 700;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
.compare-tag {
    position: absolute; top: 14px;
    background: rgba(31, 16, 51, .72);
    color: #fff; font-size: 12px; font-weight: 700;
    padding: 5px 12px; border-radius: 999px;
    pointer-events: none;
    z-index: 2;
}
.compare-tag-left { left: 14px; }
.compare-tag-right { right: 14px; }
.compare-range {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    margin: 0;
    opacity: 0;
    cursor: ew-resize;
    z-index: 4;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
}
.compare-range:focus-visible { opacity: 1; outline: 3px solid var(--purple); outline-offset: -3px; }
/* Thumb must be a fixed (small) width, NOT 100% — the browser maps
   pointer position to value across (track width - thumb width), so a
   full-width "thumb" leaves almost no travel distance and the drag
   barely moves / jumps to the ends. Keep it full-height so the whole
   vertical span of the image is grabbable, same idea as a real handle. */
.compare-range::-webkit-slider-thumb { -webkit-appearance: none; width: 44px; height: 100%; background: transparent; cursor: ew-resize; }
.compare-range::-moz-range-thumb { width: 44px; height: 100%; background: transparent; border: none; cursor: ew-resize; }
.compare-range::-moz-range-track { background: transparent; height: 100%; }
.compare-caption { text-align: center; font-size: 13px; color: var(--muted); margin-top: 12px; }

/* ---- 3-step explainer ---- */
.magic-steps { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 40px; }
.magic-step { text-align: center; max-width: 200px; }
.magic-label {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--purple-dark);
}
.magic-badge {
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
    background: var(--purple); color: #fff; font-size: 12px;
}
.magic-step-text { margin: 0; font-size: 13px; color: var(--muted); }
.magic-arrow { font-size: 20px; color: var(--muted); }
@media (max-width: 640px) {
    .magic-arrow { transform: rotate(90deg); }
}

/* ---- Open-book mockup: real photo (left page) -> sketch (right page) ---- */
.storybook-wrap { margin-top: 48px; }
.storybook {
    position: relative;
    max-width: 560px;
    margin: 0 auto;
    aspect-ratio: 3 / 2;
    border-radius: 14px;
    background: #1f1033;
    box-shadow: 0 20px 40px -14px rgba(107, 33, 168, .38);
    padding: 3px;
}
.storybook-spine {
    position: absolute; top: 3px; bottom: 3px; left: 50%;
    width: 10px; margin-left: -5px;
    background: linear-gradient(90deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, .35));
    z-index: 3;
    pointer-events: none;
}
.storybook-spread {
    position: absolute; inset: 3px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    opacity: 0;
    transition: opacity .6s ease;
    pointer-events: none;
}
.storybook-spread.is-active { opacity: 1; pointer-events: auto; }
.storybook-page { position: relative; overflow: hidden; background: #fff; }
.storybook-page-left { border-radius: 11px 0 0 11px; }
.storybook-page-right { border-radius: 0 11px 11px 0; }
.storybook-page picture, .storybook-page img { display: block; width: 100%; height: 100%; object-fit: cover; }
.storybook-tag {
    position: absolute; left: 10px; bottom: 10px;
    background: rgba(31, 16, 51, .72);
    color: #fff; font-size: 11px; font-weight: 700;
    padding: 4px 10px; border-radius: 999px;
}
.storybook-controls {
    display: flex; align-items: center; justify-content: center; gap: 14px;
    margin-top: 18px;
}
.storybook-nav {
    width: 34px; height: 34px; border-radius: 50%;
    border: 1px solid var(--border); background: #fff; color: var(--purple-dark);
    font-size: 18px; line-height: 1; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s ease, transform .15s ease;
}
.storybook-nav:hover { background: var(--bg-alt); transform: scale(1.06); }
.storybook-dots { display: flex; gap: 8px; }
.storybook-dot {
    width: 9px; height: 9px; border-radius: 50%; padding: 0;
    border: none; background: #ddd0f5; cursor: pointer;
}
.storybook-dot.is-active { background: var(--purple); transform: scale(1.2); }
.flipbook-caption { color: var(--muted); font-size: 13px; margin-top: 18px; }

@media (max-width: 560px) {
    .storybook { max-width: 320px; aspect-ratio: 3 / 2.4; }
    .storybook-tag { font-size: 9px; padding: 3px 7px; left: 6px; bottom: 6px; }
}

/* ---- Real transformations gallery ---- */
.magic-gallery {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-top: 24px;
}
.magic-tile {
    position: relative;
    margin: 0;
    aspect-ratio: 3 / 4;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 18px rgba(107, 33, 168, .14);
    transition: transform .2s ease, box-shadow .2s ease;
}
.magic-tile:hover { transform: translateY(-5px); box-shadow: 0 12px 26px rgba(107, 33, 168, .22); }
.magic-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.magic-tile-photo { z-index: 1; }
.magic-tile-sketch {
    z-index: 2;
    background: #fff;
    animation: magicCrossfade 8s ease-in-out infinite;
    animation-delay: var(--d, 0s);
}
.magic-tile:hover .magic-tile-sketch { animation-play-state: paused; opacity: .5; }
.magic-tile figcaption {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
    background: linear-gradient(0deg, rgba(31, 16, 51, .78), transparent);
    color: #fff; font-size: 11px; font-weight: 600;
    padding: 18px 10px 8px; text-align: center;
}

@keyframes magicCrossfade {
    0%, 12%   { opacity: 0; }
    38%, 62%  { opacity: 1; }
    88%, 100% { opacity: 0; }
}

/* ---- Scroll-reveal ---- */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s ease, transform .7s ease;
    transition-delay: var(--delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes sparkleFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-4px) rotate(12deg); }
}

@media (prefers-reduced-motion: reduce) {
    .sparkle, .magic-tile-sketch { animation: none !important; }
    .magic-tile-sketch { opacity: .5; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .storybook-spread { transition: none; }
}

@media (max-width: 900px) {
    .magic-gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
    .magic-gallery { grid-template-columns: repeat(2, 1fr); }
    .flipbook { width: 160px; height: 210px; }
}

/* Testimonials */
.rating-line { color: var(--muted); margin-top: -8px; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.testimonial-card { background: var(--bg-alt); border-radius: var(--radius); padding: 20px; }
.stars { margin-bottom: 8px; font-size: 13px; }

/* FAQ */
.faq-list { max-width: 800px; margin: 24px auto 0; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.faq-question {
    width: 100%; text-align: left; background: none; border: none; padding: 16px 18px;
    font-size: 15px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between;
}
.faq-answer { max-height: 0; overflow: hidden; padding: 0 18px; font-size: 14px; color: var(--muted); transition: max-height .2s ease, padding .2s ease; }
.faq-item.open .faq-answer { max-height: 200px; padding: 0 18px 16px; }
.faq-item.open .faq-question span { transform: rotate(45deg); }
.faq-question span { transition: transform .2s ease; }

/* Contact / inquiry */
.inquiry-form { max-width: 700px; margin: 24px auto 0; }

/* CTA banner */
.cta-banner { background: linear-gradient(135deg, var(--purple), var(--pink)); color: #fff; padding: 32px 0; }
.cta-banner-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.cta-banner-inner p { margin: 4px 0 0; opacity: .9; font-size: 14px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer */
.site-footer { background: #1f1033; color: #d1c4e9; padding: 48px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-grid h4 { color: #fff; margin-bottom: 10px; font-size: 15px; }
.footer-grid a, .footer-grid p { display: block; color: #c4b5fd; text-decoration: none; font-size: 13px; margin-bottom: 6px; }
.footer-copy { text-align: center; font-size: 12px; color: #8b7bab; margin: 32px 0 0; }

.whatsapp-float {
    position: fixed; bottom: 20px; right: 20px; background: #25d366; color: #fff;
    width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center;
    justify-content: center; font-size: 26px; text-decoration: none; box-shadow: 0 4px 14px rgba(0,0,0,.25); z-index: 60;
}

/* Toasts */
.toast {
    position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
    padding: 12px 22px; border-radius: 8px; font-size: 14px; z-index: 100; box-shadow: 0 4px 14px rgba(0,0,0,.15);
    transition: opacity .3s ease;
}
.toast-error { background: #fee2e2; color: #991b1b; }
.toast-success { background: #dcfce7; color: #166534; }
.toast-hide { opacity: 0; }

/* Checkout / success / failed pages */
.checkout-body { background: var(--bg-alt); min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 30px 16px; }
.checkout-card { background: #fff; border-radius: 16px; padding: 32px; max-width: 460px; width: 100%; box-shadow: 0 10px 40px rgba(107,33,168,.15); }
.checkout-logo { margin-bottom: 20px; }
.order-summary { background: var(--bg-alt); border-radius: 10px; padding: 14px 16px; margin: 16px 0; font-size: 14px; }
.order-summary div { display: flex; justify-content: space-between; padding: 4px 0; }
.success-icon { font-size: 48px; text-align: center; margin-bottom: 8px; }
.back-link { display: block; text-align: center; margin-top: 16px; font-size: 13px; color: var(--muted); text-decoration: none; }

/* Static pages (Privacy Policy, Terms, etc.) */
.static-page-section { padding-top: 32px; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--purple); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span[aria-hidden] { margin: 0 6px; }
.breadcrumb span[aria-current] { color: var(--text); font-weight: 600; }

.static-page-layout { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.static-page-toc-inner {
    position: sticky; top: 20px; background: var(--bg-alt); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 16px;
}
.static-page-toc-inner h2 { margin: 0 0 10px 0; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.static-page-toc-inner ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.static-page-toc-inner a { font-size: 13px; color: var(--purple); text-decoration: none; line-height: 1.4; }
.static-page-toc-inner a:hover { text-decoration: underline; }

.static-page { max-width: 780px; }
.static-page h1 { margin-bottom: 8px; }
.static-page-updated { color: var(--muted); font-size: 13px; margin: 0 0 28px 0; }
.static-page-content { color: var(--text); line-height: 1.7; }
.static-page-content h2 { margin: 36px 0 12px 0; scroll-margin-top: 20px; color: var(--purple-dark); }
.static-page-content h2:first-child { margin-top: 0; }
.static-page-content h3 { margin-top: 24px; scroll-margin-top: 20px; }
.static-page-content p { margin: 0 0 16px 0; }
.static-page-content ul, .static-page-content ol { margin: 0 0 16px 0; padding-left: 22px; }
.static-page-content li { margin-bottom: 6px; }
.static-page-content a { color: var(--purple); }

.policy-cta {
    margin-top: 40px; padding: 20px; background: var(--bg-alt); border: 1px solid var(--border);
    border-radius: var(--radius); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.policy-cta p { margin: 0; font-weight: 600; }

@media (max-width: 900px) {
    .static-page-layout { grid-template-columns: 1fr; }
    .static-page-toc-inner { position: static; }
}

/* Responsive */
@media (max-width: 900px) {
    .hero-grid, .two-col { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonial-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .pricing-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .hero-copy h1 { font-size: 30px; }
    .main-nav { display: none; }

    /* ---- Tighter overall rhythm on phones — less scrolling, denser feel ---- */
    .hero { padding-top: 28px; }
    .hero-grid { gap: 28px; padding-bottom: 24px; }
    .hero-features { gap: 6px; margin-bottom: 18px; }
    .section { padding: 36px 0; }
    .section-title-sm { margin-top: 36px; }
    .magic-heading { margin-top: 36px; }
    .two-col { gap: 28px; }
    .storybook-wrap { margin-top: 30px; }
    .magic-gallery { gap: 10px; margin-top: 18px; }

    /* ---- "How It Works": compact icon-beside-text timeline instead of
       stacked icon-above-text blocks with big gaps ---- */
    .steps { display: block; gap: 0; margin: 18px 0; }
    .step {
        display: grid;
        grid-template-columns: 34px 1fr;
        column-gap: 12px;
        row-gap: 2px;
        position: relative;
        padding-bottom: 18px;
    }
    .step:not(:last-child)::before {
        content: '';
        position: absolute; left: 16px; top: 34px; bottom: 2px;
        width: 2px; background: var(--border);
    }
    .step-icon { grid-row: 1 / 3; width: 34px; height: 34px; font-size: 13px; margin-bottom: 0; z-index: 1; }
    .step h3 { margin: 0; font-size: 15px; }
    .step p { font-size: 13px; }

    /* ---- "See the Magic" 3-step explainer: same compact timeline
       language, left-aligned, arrows replaced by the connecting line ---- */
    .magic-steps { display: block; margin-top: 24px; }
    .magic-step { max-width: none; text-align: left; position: relative; padding-bottom: 16px; }
    .magic-step:not(:last-child)::before {
        content: '';
        position: absolute; left: 10px; top: 26px; bottom: 2px;
        width: 2px; background: var(--border);
    }
    .magic-label { justify-content: flex-start; margin-bottom: 4px; }
    .magic-step-text { padding-left: 30px; }
    .magic-arrow { display: none; }
}
