        :root {
            /* Figma / Tailwind: container + max-w-7xl horizontal alignment */
            --home-layout-max: 80rem;
            /* Figma Make export (Tailwind): from-[#667eea] to-[#764ba2] */
            --brand-start: #667eea;
            --brand-end: #764ba2;
            --brand-gradient: linear-gradient(to right, var(--brand-start) 0%, var(--brand-end) 100%);
            --brand-gradient-br: linear-gradient(to bottom right, #ffffff 0%, #faf5ff 45%, #ffffff 100%);
            --text-primary: #1f2937;
            --text-secondary: #4b5563;
            --surface-page: #f9fafb;
            --surface-card: #ffffff;
        }

        html {
            scroll-behavior: smooth;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            background: var(--surface-page);
            min-height: 100vh;
            margin: 0;
            padding: 0;
            color: var(--text-primary);
        }

        .page {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        .site-header {
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid #e5e7eb;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
        }

        .site-header--figma .site-header-inner {
            max-width: var(--home-layout-max);
            width: 100%;
            margin: 0 auto;
            padding: 20px 1rem;
            display: grid;
            grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto;
            align-items: center;
            gap: 16px 32px;
        }

        @media (min-width: 640px) {
            .site-header--figma .site-header-inner {
                padding-left: 1.5rem;
                padding-right: 1.5rem;
            }
        }

        @media (min-width: 1024px) {
            .site-header--figma .site-header-inner {
                padding-left: 2rem;
                padding-right: 2rem;
            }
        }

        .site-header--inner .site-header-inner {
            max-width: 1100px;
            margin: 0 auto;
            padding: 14px 22px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
        }

        .site-brand--figma {
            display: inline-flex;
            flex-direction: row;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            color: var(--text-primary);
            min-width: 0;
        }

        .site-brand-mark {
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .site-brand-text {
            display: flex;
            flex-direction: column;
            gap: 0;
        }

        .site-brand-name {
            font-weight: 800;
            font-size: 1.2rem;
            letter-spacing: -0.03em;
            color: var(--text-primary);
        }

        .site-nav--figma {
            justify-self: center;
            display: flex;
            align-items: center;
            gap: 4px;
            flex-wrap: wrap;
            justify-content: center;
        }

        .site-nav--figma > a {
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 500;
            padding: 8px 12px;
            border-radius: 8px;
            transition: background 0.2s, color 0.2s;
        }

        .site-nav--figma > a:hover {
            background: #f3f4f6;
            color: var(--brand-start);
        }

        .nav-dropdown {
            position: relative;
        }

        .nav-dropdown__summary {
            list-style: none;
            cursor: pointer;
            color: var(--text-secondary);
            font-size: 0.9rem;
            font-weight: 500;
            padding: 8px 12px;
            border-radius: 8px;
            display: inline-flex;
            align-items: center;
            gap: 4px;
            user-select: none;
        }

        .nav-dropdown__summary::-webkit-details-marker {
            display: none;
        }

        .nav-dropdown__summary::marker {
            content: none;
        }

        .nav-dropdown__caret {
            display: inline-flex;
            align-items: center;
            margin-left: 2px;
            opacity: 0.75;
        }

        .nav-dropdown__caret-icon {
            width: 14px;
            height: 14px;
            flex-shrink: 0;
            transition: transform 0.2s ease;
        }

        .nav-dropdown[open] .nav-dropdown__caret-icon {
            transform: rotate(180deg);
        }

        .nav-dropdown:hover .nav-dropdown__summary,
        .nav-dropdown[open] .nav-dropdown__summary {
            background: #f3f4f6;
            color: var(--brand-start);
        }

        .nav-dropdown__panel {
            position: absolute;
            top: calc(100% + 8px);
            left: 50%;
            transform: translateX(-50%);
            min-width: 240px;
            background: var(--surface-card);
            border: 1px solid #e5e7eb;
            border-radius: 12px;
            box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(15, 23, 42, 0.06);
            padding: 10px;
            z-index: 200;
        }

        .nav-dropdown__panel a {
            display: block;
            padding: 12px 14px;
            border-radius: 8px;
            color: #111827;
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 500;
        }

        .nav-dropdown__panel a:hover {
            background: #f3f4f6;
            color: var(--brand-start);
        }

        .site-header-cta {
            justify-self: end;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 10px 20px;
            border-radius: 0.5rem;
            font-size: 0.9rem;
            font-weight: 600;
            color: #fff;
            text-decoration: none;
            background: var(--brand-gradient);
            box-shadow: 0 4px 14px rgba(102, 126, 234, 0.35);
            transition: transform 0.2s, box-shadow 0.2s;
            white-space: nowrap;
        }

        .site-header-cta:hover {
            transform: translateY(-1px);
            box-shadow: 0 6px 18px rgba(102, 126, 234, 0.45);
        }

        .site-nav--inner-bar {
            display: flex;
            align-items: center;
            gap: 4px;
            flex-wrap: wrap;
            justify-content: flex-end;
        }

        .site-header--inner .site-nav a {
            color: #4a5568;
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 600;
            padding: 8px 14px;
            border-radius: 8px;
            transition: background 0.2s, color 0.2s;
        }

        .site-header--inner .site-nav a:hover {
            background: #f0f2ff;
            color: var(--brand-start);
        }

        .site-header--inner .nav-dropdown__summary {
            color: #4a5568;
            font-weight: 600;
        }

        .site-header--inner .nav-dropdown:hover .nav-dropdown__summary,
        .site-header--inner .nav-dropdown[open] .nav-dropdown__summary {
            background: #f0f2ff;
            color: var(--brand-start);
        }

        .site-header--inner .nav-dropdown__panel {
            left: auto;
            right: 0;
            transform: none;
        }

        .main-content {
            flex: 1;
            display: flex;
            align-items: flex-start;
            justify-content: center;
            padding: 28px 20px 48px;
        }

        .home-page .main-content {
            flex-direction: column;
            align-items: stretch;
            padding-top: 0;
            padding-left: 0;
            padding-right: 0;
            padding-bottom: 72px;
        }

        .home-hero-wrap {
            background: var(--brand-gradient-br);
            padding: 5rem 1rem 5rem;
        }

        @media (min-width: 1024px) {
            .home-hero-wrap {
                padding: 8rem 2rem 8rem;
            }
        }

        .home-hero {
            max-width: 800px;
            margin: 0 auto;
            padding: 0;
            text-align: center;
        }

        .home-hero__title {
            margin: 0 0 28px;
            font-weight: 800;
            line-height: 1.06;
            letter-spacing: -0.04em;
        }

        .home-hero__h1-line {
            display: block;
            font-size: clamp(2.5rem, 6.5vw, 3.85rem);
            color: var(--text-primary);
            font-weight: 800;
        }

        .home-hero__subtitle-line {
            display: block;
            margin-top: 0.5rem;
            font-size: clamp(1.5rem, 3.6vw, 2.35rem);
            font-weight: 700;
            line-height: 1.2;
            letter-spacing: -0.035em;
            background: var(--brand-gradient);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        .home-hero__lede {
            margin: 0 auto 44px;
            max-width: 34rem;
        }

        .home-hero__lede p {
            margin: 0 auto 14px;
            font-size: 1.125rem;
            line-height: 1.7;
            color: var(--text-secondary);
        }

        .home-hero__lede p:last-child {
            margin-bottom: 0;
        }

        .home-hero__actions {
            display: flex;
            flex-wrap: wrap;
            gap: 16px;
            justify-content: center;
            margin-bottom: 0;
        }

        .home-hero__btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            min-height: 52px;
            padding: 16px 32px;
            border-radius: 0.5rem;
            font-size: 1.0625rem;
            font-weight: 600;
            text-decoration: none;
            transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
        }

        .home-hero__btn-arrow {
            font-size: 1.15em;
            line-height: 1;
        }

        .home-hero__btn--primary {
            color: #fff;
            background: var(--brand-gradient);
            box-shadow: 0 8px 28px rgba(102, 126, 234, 0.32);
        }

        .home-hero__btn--primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 32px rgba(102, 126, 234, 0.42);
        }

        .home-hero__btn--secondary {
            color: var(--text-primary);
            background: #fff;
            border: 2px solid #d1d5db;
            box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
        }

        .home-hero__btn--secondary:hover {
            background: #fafafa;
            border-color: #667eea;
        }

        .home-hero-trust-band {
            width: 100%;
            background: #fff;
            border-top: 1px solid #e5e7eb;
            border-bottom: 1px solid #e5e7eb;
            margin-top: 0;
        }

        .home-hero-trust-band__inner {
            max-width: var(--home-layout-max);
            width: 100%;
            margin: 0 auto;
            padding: 1rem 1rem;
            box-sizing: border-box;
        }

        @media (min-width: 640px) {
            .home-hero-trust-band__inner {
                padding-left: 1.5rem;
                padding-right: 1.5rem;
            }
        }

        @media (min-width: 1024px) {
            .home-hero-trust-band__inner {
                padding-left: 2rem;
                padding-right: 2rem;
            }
        }

        .home-hero__trust {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            gap: 2rem;
            width: 100%;
            margin: 0;
            padding: 0;
            border: none;
            border-radius: 0;
            background: #fff;
        }

        .home-hero__trust-item {
            display: inline-flex;
            align-items: center;
            justify-content: flex-start;
            gap: 0.5rem;
            font-size: 0.875rem;
            color: #4b5563;
            font-weight: 500;
            padding: 0;
            min-height: 0;
            background: transparent;
            border: none;
        }

        .home-hero__trust-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            width: 1rem;
            height: 1rem;
            color: #667eea;
        }

        .home-hero__trust-icon svg {
            width: 1rem;
            height: 1rem;
        }

        /* Full-bleed bands (Figma: py-20 bg-gray-50 / bg-white alternating) */
        .home-strip {
            padding: 5rem 0;
        }

        @media (max-width: 640px) {
            .home-strip {
                padding: 3rem 0;
            }
        }

        .home-strip--gray {
            background: #f9fafb;
        }

        .home-strip--white {
            background: #fff;
        }

        /* Tailwind: px-4 sm:px-6 lg:px-8 + max-w-7xl mx-auto (grid sits full width inside) */
        .home-strip__inner {
            max-width: var(--home-layout-max);
            width: 100%;
            margin: 0 auto;
            padding: 0 1rem;
            box-sizing: border-box;
        }

        @media (min-width: 640px) {
            .home-strip__inner {
                padding-left: 1.5rem;
                padding-right: 1.5rem;
            }
        }

        @media (min-width: 1024px) {
            .home-strip__inner {
                padding-left: 2rem;
                padding-right: 2rem;
            }
        }

        .home-page .home-strip__inner .feature-section,
        .home-page .home-strip__inner .why-snap,
        .home-page .home-strip__inner .home-faq {
            width: 100%;
            max-width: 100%;
            margin-inline: 0;
        }

        .home-page .home-strip__inner .feature-grid {
            width: 100%;
            max-width: 100%;
        }

        .home-page .container.container--wide {
            margin-left: auto;
            margin-right: auto;
        }

        .home-page .container--home-upload {
            margin-top: 0;
            margin-bottom: 0;
            padding: 48px 40px 52px;
            max-width: 920px;
        }

        @media (max-width: 640px) {
            .home-page .container--home-upload {
                margin-left: 16px;
                margin-right: 16px;
                padding: 36px 24px 40px;
            }
        }

        .upload-panel__title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 20px;
            text-align: center;
            letter-spacing: -0.02em;
        }

        .home-page .container--home-upload .upload-area {
            margin-top: 8px;
            margin-bottom: 28px;
            padding: 72px 28px;
        }

        @media (max-width: 480px) {
            .home-page .container--home-upload .upload-area {
                padding: 52px 18px;
            }
        }

        .home-page .home-strip .feature-section,
        .home-page .home-strip .popular-conversions,
        .home-page .home-strip .how-it-works,
        .home-page .home-strip .supported-formats,
        .home-page .home-strip .why-snap,
        .home-page .home-strip .home-faq {
            margin-top: 0;
            padding-top: 0;
            border-top: none;
        }

        .home-page .home-strip .seo-section {
            margin-top: 0;
            margin-bottom: 0;
            padding-top: 0;
            padding-bottom: 0;
            border-top: none;
        }

        /* Figma: Popular searches & tools — centered title + lede, 2×2 card grid on md+ */
        .home-page .seo-section--topics {
            text-align: center;
        }

        .home-page .seo-section--topics .seo-topics-grid {
            display: grid;
            grid-template-columns: minmax(0, 1fr);
            gap: 2rem;
            text-align: left;
        }

        @media (min-width: 768px) {
            .home-page .seo-section--topics .seo-topics-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        .home-page .seo-section--topics .seo-topic-card {
            background: #fff;
            border: 1px solid #e5e7eb;
            border-radius: 14px;
            padding: 24px 20px;
            box-shadow: 0 2px 12px rgba(102, 126, 234, 0.08);
            transition: box-shadow 0.2s, transform 0.2s;
        }

        .home-page .seo-section--topics .seo-topic-card:hover {
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.15);
            transform: translateY(-2px);
        }

        .home-page .seo-section--topics .seo-topic-card .seo-h3 {
            margin-top: 0;
            font-size: 1.25rem;
            line-height: calc(1.75 / 1.25);
            color: #111827;
            margin-bottom: 0.5rem;
            font-weight: 600;
        }

        .home-page .seo-section--topics .seo-topic-card p {
            margin: 0;
            font-size: 16px;
            line-height: 1.5;
            color: #4b5563;
            color: oklch(44.6% 0.03 256.802);
        }

        /* Figma: “Why use …?” — white cards on gray strip, 4-up on large screens */
        .home-page .why-snap {
            text-align: center;
        }

        .home-page .why-snap .why-snap-grid {
            display: grid;
            grid-template-columns: minmax(0, 1fr);
            gap: 2rem;
            text-align: left;
        }

        @media (min-width: 768px) {
            .home-page .why-snap .why-snap-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        @media (min-width: 1024px) {
            .home-page .why-snap .why-snap-grid {
                grid-template-columns: repeat(4, minmax(0, 1fr));
            }
        }

        .home-page .why-snap .why-snap-card {
            background: #fff;
            border: 1px solid #e5e7eb;
            border-radius: 14px;
            padding: 24px 20px;
            box-shadow: 0 2px 12px rgba(102, 126, 234, 0.08);
            transition: box-shadow 0.2s, transform 0.2s;
        }

        .home-page .why-snap .why-snap-card:hover {
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.15);
            transform: translateY(-2px);
        }

        .home-page .why-snap .why-snap-card h3 {
            margin-top: 0;
            font-size: 1.25rem;
            line-height: calc(1.75 / 1.25);
            color: #111827;
            margin-bottom: 0.5rem;
            font-weight: 600;
        }

        .home-page .why-snap .why-snap-card p {
            margin: 0;
            font-size: 16px;
            line-height: 1.5;
            color: #4b5563;
            color: oklch(44.6% 0.03 256.802);
        }

        /* Figma: FAQ — gray strip, white accordion cards, chevron-right row */
        .home-page .home-faq {
            text-align: center;
        }

        .home-page .home-faq .home-faq__list {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            text-align: left;
            max-width: 48rem;
            margin-left: auto;
            margin-right: auto;
        }

        .home-page .home-faq .faq-card {
            background: #fff;
            border: 1px solid #e5e7eb;
            border-radius: 12px;
            box-shadow: 0 2px 12px rgba(102, 126, 234, 0.06);
            overflow: hidden;
            transition: box-shadow 0.2s ease;
        }

        .home-page .home-faq .faq-card:hover {
            box-shadow: 0 4px 16px rgba(102, 126, 234, 0.1);
        }

        .home-page .home-faq .faq-card[open] {
            box-shadow: 0 4px 16px rgba(102, 126, 234, 0.12);
        }

        .home-page .home-faq .faq-card summary {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            padding: 1.125rem 1.25rem;
            cursor: pointer;
            list-style: none;
            font-weight: 600;
            font-size: 1rem;
            line-height: 1.4;
            color: #111827;
        }

        .home-page .home-faq .faq-card summary::-webkit-details-marker {
            display: none;
        }

        .home-page .home-faq .faq-card summary::marker {
            content: none;
        }

        .home-page .home-faq .faq-card summary:focus {
            outline: none;
        }

        .home-page .home-faq .faq-card summary:focus-visible {
            outline: 2px solid var(--brand-start);
            outline-offset: 2px;
            border-radius: 8px;
        }

        .home-page .home-faq .faq-card__q {
            text-align: left;
        }

        .home-page .home-faq .faq-card__chev {
            flex-shrink: 0;
            display: flex;
            align-items: center;
            color: #9ca3af;
            transition: transform 0.2s ease;
        }

        .home-page .home-faq .faq-card__chev svg {
            width: 1.25rem;
            height: 1.25rem;
        }

        .home-page .home-faq .faq-card[open] .faq-card__chev {
            transform: rotate(180deg);
        }

        .home-page .home-faq .faq-card__body {
            padding: 1rem 1.25rem 1.125rem;
        }

        .home-page .home-faq .faq-card[open] summary {
            border-bottom: 1px solid #f3f4f6;
            padding-bottom: 1rem;
        }

        .home-page .home-faq .faq-card__body p {
            margin: 0;
            font-size: 0.9375rem;
            line-height: 1.55;
            color: #4b5563;
            color: oklch(44.6% 0.03 256.802);
        }

        /* Figma: subtitle under section title — text-gray-600, centered, gap-8 to grid */
        .feature-section__lede,
        .popular-conversions__lede,
        .how-it-works__lede,
        .home-page .seo-section--topics .seo-topics__lede,
        .home-page .why-snap .why-snap__lede,
        .home-page .home-faq .home-faq__lede {
            text-align: center;
            font-size: 1rem;
            font-weight: 400;
            line-height: 1.5;
            color: #4b5563;
            color: oklch(44.6% 0.03 256.802);
            max-width: 42rem;
            margin: 0 auto 2rem;
            text-wrap: balance;
        }

        .home-page .feature-card {
            padding: 24px 20px;
        }

        /* Figma: grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8; white cards on gray strip */
        .home-page .popular-grid {
            display: grid;
            grid-template-columns: minmax(0, 1fr);
            gap: 2rem;
        }

        @media (min-width: 768px) {
            .home-page .popular-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        @media (min-width: 1024px) {
            .home-page .popular-grid {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }
        }

        .home-page .popular-card {
            background: #fff;
            border: 1px solid #e5e7eb;
            border-radius: 14px;
            padding: 24px 20px;
            box-shadow: 0 2px 12px rgba(102, 126, 234, 0.08);
            transition: box-shadow 0.2s, transform 0.2s;
        }

        .home-page .popular-card:hover {
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.15);
            transform: translateY(-2px);
        }

        .home-page .popular-card h3 {
            font-size: 1.25rem;
            line-height: calc(1.75 / 1.25);
            color: #111827;
            margin-bottom: 0.5rem;
            font-weight: 600;
        }

        .home-page .popular-card p {
            font-size: 16px;
            line-height: 1.5;
            color: #4b5563;
            color: oklch(44.6% 0.03 256.802);
            margin: 0 0 1rem;
        }

        .home-page .popular-card .popular-card__cta {
            display: inline-block;
            font-size: 0.875rem;
            font-weight: 600;
            color: var(--brand-start);
            text-decoration: none;
        }

        .home-page .popular-card .popular-card__cta:hover {
            text-decoration: underline;
        }

        .container {
            background: var(--surface-card);
            border-radius: 20px;
            box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08), 0 0 1px rgba(15, 23, 42, 0.06);
            max-width: 600px;
            width: 100%;
            padding: 40px;
            text-align: center;
        }

        h1 {
            color: #333;
            margin-bottom: 10px;
            font-size: 2.5em;
            font-weight: 700;
        }

        .subtitle {
            color: #666;
            margin-bottom: 30px;
            font-size: 1.1em;
        }

        .upload-area {
            border: 3px dashed var(--brand-start);
            border-radius: 15px;
            padding: 60px 20px;
            margin: 30px 0;
            background: #f8f9ff;
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
        }

        .upload-area:hover {
            border-color: var(--brand-end);
            background: #f0f2ff;
        }

        .upload-area.dragover {
            border-color: var(--brand-end);
            background: #e8ebff;
            transform: scale(1.02);
        }

        .upload-icon {
            font-size: 4em;
            color: var(--brand-start);
            margin-bottom: 20px;
        }

        .upload-text {
            color: #333;
            font-size: 1.2em;
            margin-bottom: 10px;
            font-weight: 600;
        }

        .upload-hint {
            color: #999;
            font-size: 0.9em;
        }

        #fileInput {
            display: none;
        }

        .file-info {
            margin-top: 20px;
            padding: 15px;
            background: #f0f2ff;
            border-radius: 10px;
            display: none;
        }

        .file-info.show {
            display: block;
        }

        .file-name {
            color: #333;
            font-weight: 600;
            margin-bottom: 5px;
        }

        .file-size {
            color: #666;
            font-size: 0.9em;
        }

        .convert-btn {
            background: var(--brand-gradient);
            color: white;
            border: none;
            padding: 15px 40px;
            font-size: 1.1em;
            border-radius: 50px;
            cursor: pointer;
            margin-top: 20px;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
        }

        .convert-btn:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.55);
        }

        .convert-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        .loading {
            display: none;
            margin-top: 20px;
        }

        .loading.show {
            display: block;
        }

        .spinner {
            border: 4px solid #f3f3f3;
            border-top: 4px solid var(--brand-start);
            border-radius: 50%;
            width: 40px;
            height: 40px;
            animation: spin 1s linear infinite;
            margin: 0 auto;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .success-message {
            display: none;
            margin-top: 20px;
            padding: 15px;
            background: #d4edda;
            border: 1px solid #c3e6cb;
            border-radius: 10px;
            color: #155724;
        }

        .success-message.show {
            display: block;
        }

        .error-message {
            display: none;
            margin-top: 20px;
            padding: 15px;
            background: #f8d7da;
            border: 1px solid #f5c6cb;
            border-radius: 10px;
            color: #721c24;
        }

        .error-message.show {
            display: block;
        }

        .download-btn {
            background: #28a745;
            color: white;
            border: none;
            padding: 12px 30px;
            font-size: 1em;
            border-radius: 50px;
            cursor: pointer;
            margin-top: 15px;
            font-weight: 600;
            text-decoration: none;
            display: inline-block;
            transition: all 0.3s ease;
        }

        .download-btn:hover {
            background: #218838;
            transform: translateY(-2px);
        }

        .supported-formats {
            margin-top: 30px;
            padding-top: 30px;
            border-top: 2px solid #eee;
        }

        .supported-formats h3 {
            color: #333;
            margin-bottom: 15px;
            font-size: 1.2em;
        }

        .formats {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
        }

        .format-badge {
            background: #f0f2ff;
            color: var(--brand-start);
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 0.9em;
            font-weight: 600;
        }

        .seo-intro {
            margin-top: 8px;
            margin-bottom: 8px;
            color: #555;
            font-size: 0.95em;
            line-height: 1.5;
            text-align: left;
        }

        .seo-intro.seo-intro--compact {
            text-align: center;
            max-width: 28rem;
            margin: 0 auto 32px;
            font-size: 0.98rem;
            line-height: 1.65;
            color: #6b7280;
        }

        .seo-section {
            margin-top: 28px;
            padding-top: 24px;
            border-top: 2px solid #eee;
            text-align: left;
        }

        .seo-section h2 {
            color: #333;
            font-size: 1.15em;
            margin-bottom: 12px;
            font-weight: 700;
        }

        .seo-h3 {
            color: #444;
            font-size: 1.02em;
            margin-top: 18px;
            margin-bottom: 8px;
            font-weight: 700;
        }

        .seo-h3:first-of-type {
            margin-top: 4px;
        }

        .seo-section p {
            color: #555;
            font-size: 0.9em;
            line-height: 1.55;
            margin-bottom: 12px;
        }

        .faq-item {
            margin-bottom: 14px;
        }

        .faq-item summary {
            cursor: pointer;
            color: var(--brand-start);
            font-weight: 600;
            font-size: 0.92em;
            list-style: none;
        }

        .faq-item summary::-webkit-details-marker {
            display: none;
        }

        .faq-item p {
            margin-top: 8px;
            margin-bottom: 0;
            padding-left: 0;
            font-size: 0.88em;
            color: #666;
        }

        @media (max-width: 900px) {
            .site-header--figma .site-header-inner {
                grid-template-columns: 1fr;
                justify-items: stretch;
            }

            .site-nav--figma {
                justify-self: stretch;
                justify-content: flex-start;
            }

            .site-header-cta {
                justify-self: stretch;
                text-align: center;
            }

            .nav-dropdown__panel {
                left: 0;
                right: auto;
                transform: none;
            }

            .site-header--inner .nav-dropdown__panel {
                left: 0;
                right: auto;
            }
        }

        /* Mobile Responsive Styles */
        @media (max-width: 768px) {
            .site-header--inner .site-header-inner {
                flex-direction: column;
                align-items: flex-start;
            }

            .site-header--inner .site-nav {
                width: 100%;
                justify-content: flex-start;
            }

            .site-header--inner .site-nav--inner-bar {
                justify-content: flex-start;
            }

            .main-content {
                padding: 20px 14px 40px;
            }

            .home-page .main-content {
                padding-left: 0;
                padding-right: 0;
            }

            .home-hero-wrap {
                padding: 44px 20px 56px;
            }

            .container {
                padding: 25px 20px;
                margin: 10px;
            }

            .home-page .container.container--wide {
                margin-left: 16px;
                margin-right: 16px;
                margin-top: 0;
                margin-bottom: 48px;
                padding: 32px 22px 40px;
            }

            h1 {
                font-size: 2em;
            }

            .subtitle {
                font-size: 1em;
            }

            .upload-area {
                padding: 40px 15px;
            }

            .upload-icon {
                font-size: 3em;
            }

            .upload-text {
                font-size: 1em;
            }

            .convert-btn {
                padding: 12px 30px;
                font-size: 1em;
                width: 100%;
            }

            .download-btn {
                width: 100%;
                padding: 12px 20px;
            }

            .formats {
                gap: 10px;
            }

            .format-badge {
                font-size: 0.8em;
                padding: 6px 12px;
            }
        }

        @media (max-width: 480px) {
            body {
                padding: 10px;
            }

            .container {
                padding: 20px 15px;
            }

            h1 {
                font-size: 1.75em;
            }

            .upload-area {
                padding: 30px 10px;
            }

            .upload-icon {
                font-size: 2.5em;
            }
        }

        /* Touch-friendly improvements */
        @media (hover: none) and (pointer: coarse) {
            .convert-btn,
            .download-btn {
                min-height: 44px; /* iOS recommended touch target */
            }

            .upload-area {
                min-height: 120px;
            }
        }

        /* Figma: final CTA — gradient band, white type, pill button */
        .home-cta {
            background: linear-gradient(90deg, #93c5fd 0%, #667eea 42%, #764ba2 100%);
            padding: 4.5rem 1.25rem;
            text-align: center;
        }

        @media (max-width: 640px) {
            .home-cta {
                padding: 3.25rem 1.25rem;
            }
        }

        .home-cta__inner {
            max-width: 36rem;
            margin: 0 auto;
        }

        .home-cta__title {
            color: #fff;
            font-size: clamp(1.75rem, 4vw, 2.25rem);
            font-weight: 700;
            line-height: 1.2;
            letter-spacing: -0.02em;
            margin: 0 0 0.75rem;
            text-wrap: balance;
        }

        .home-cta__sub {
            margin: 0 0 1.75rem;
            font-size: 1.0625rem;
            line-height: 1.55;
            color: rgba(255, 255, 255, 0.95);
            text-wrap: balance;
        }

        .home-cta__btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.4rem;
            padding: 0.875rem 1.85rem;
            background: #fff;
            color: #5b4dc9;
            font-size: 1rem;
            font-weight: 600;
            text-decoration: none;
            border-radius: 9999px;
            box-shadow: 0 4px 20px rgba(15, 23, 42, 0.12);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .home-cta__btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 28px rgba(15, 23, 42, 0.18);
        }

        .home-cta__btn-arrow {
            font-size: 1.1em;
            line-height: 1;
        }

        /* Figma: dark footer — 4 columns, brand + tools + resources + legal/social */
        .site-footer.site-footer--figma {
            margin-top: auto;
            background: #0f172a;
            color: #94a3b8;
            padding: 3.5rem 1.25rem 0;
            text-align: left;
            border-top: none;
        }

        .site-footer__inner {
            max-width: var(--home-layout-max);
            margin: 0 auto;
            padding: 0 0 2rem;
        }

        @media (min-width: 640px) {
            .site-footer.site-footer--figma {
                padding-left: 1.5rem;
                padding-right: 1.5rem;
            }
        }

        @media (min-width: 1024px) {
            .site-footer.site-footer--figma {
                padding-left: 2rem;
                padding-right: 2rem;
            }
        }

        .site-footer__top {
            display: grid;
            grid-template-columns: minmax(0, 1fr);
            gap: 2.5rem;
            padding-bottom: 2.5rem;
        }

        @media (min-width: 768px) {
            .site-footer__top {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            .site-footer__col--brand {
                grid-column: 1 / -1;
            }
        }

        @media (min-width: 1024px) {
            .site-footer__top {
                grid-template-columns: 1.35fr 1fr 1fr 1fr;
                gap: 2rem 2.5rem;
            }

            .site-footer__col--brand {
                grid-column: auto;
            }
        }

        .site-footer__brand-row {
            display: inline-flex;
            align-items: center;
            gap: 0.65rem;
            text-decoration: none;
            color: #fff;
            margin-bottom: 0.875rem;
        }

        .site-footer__brand-row:hover .site-footer__brand-name {
            color: #e2e8f0;
        }

        .site-footer__brand-mark {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 2.5rem;
            height: 2.5rem;
            border-radius: 10px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            flex-shrink: 0;
        }

        .site-footer__brand-name {
            font-size: 1.125rem;
            font-weight: 700;
            color: #fff;
            letter-spacing: -0.02em;
        }

        .site-footer__tagline {
            font-size: 0.875rem;
            line-height: 1.6;
            color: #94a3b8;
            max-width: 22rem;
            margin: 0;
        }

        .site-footer__heading {
            font-size: 0.9375rem;
            font-weight: 700;
            color: #fff;
            margin: 0 0 1rem;
            letter-spacing: -0.01em;
        }

        .site-footer__list {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
            flex-direction: column;
            gap: 0.65rem;
        }

        .site-footer__list a {
            color: #94a3b8;
            font-size: 0.875rem;
            font-weight: 500;
            text-decoration: none;
            transition: color 0.15s ease;
        }

        .site-footer__list a:hover {
            color: #f1f5f9;
        }

        .site-footer__social {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 0.875rem;
            margin-top: 1.25rem;
        }

        .site-footer__social-link {
            display: flex;
            align-items: center;
            justify-content: center;
            color: #94a3b8;
            transition: color 0.15s ease, transform 0.15s ease;
        }

        .site-footer__social-link:hover {
            color: #fff;
            transform: translateY(-1px);
        }

        .site-footer__bottom {
            border-top: 1px solid rgba(148, 163, 184, 0.2);
            padding: 1.25rem 0 2rem;
            text-align: center;
        }

        .site-footer__copy {
            margin: 0;
            font-size: 0.8125rem;
            color: #64748b;
        }

        /* Legal pages (privacy / terms) */
        .legal-page {
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
            padding: 2.5rem 1.25rem 3rem;
        }

        .legal-page__inner {
            max-width: 42rem;
            margin: 0 auto;
        }

        .legal-page__breadcrumb {
            font-size: 0.875rem;
            color: #64748b;
            margin-bottom: 1.25rem;
        }

        .legal-page__breadcrumb a {
            color: var(--brand-start);
            font-weight: 600;
            text-decoration: none;
        }

        .legal-page__breadcrumb a:hover {
            text-decoration: underline;
        }

        .legal-page__title {
            font-size: 1.75rem;
            font-weight: 700;
            color: #111827;
            margin: 0 0 1.25rem;
            letter-spacing: -0.02em;
        }

        .legal-page__body {
            font-size: 1rem;
            line-height: 1.65;
            color: #4b5563;
        }

        .legal-page__body p {
            margin: 0 0 1rem;
        }

        .legal-page__back {
            margin: 2rem 0 0;
            font-size: 0.9375rem;
        }

        .legal-page__back a {
            color: var(--brand-start);
            font-weight: 600;
            text-decoration: none;
        }

        .legal-page__back a:hover {
            text-decoration: underline;
        }

        .feature-section {
            margin-top: 28px;
            padding-top: 28px;
            border-top: 2px solid #eee;
            text-align: left;
        }

        /* Figma: text-4xl — 2.25rem, text-gray-900 */
        .feature-section > h2,
        .home-page .popular-conversions > h2,
        .how-it-works > h2,
        .home-page #topics > h2,
        .home-page .why-snap > h2,
        .home-page .home-faq > h2 {
            text-align: center;
            color: #111827;
            font-size: 2.25rem;
            line-height: calc(2.5 / 2.25);
            font-weight: 700;
            letter-spacing: -0.025em;
        }

        .feature-section > h2 {
            margin-bottom: 20px;
        }

        .home-page .feature-section > h2,
        .home-page .popular-conversions > h2,
        .home-page .how-it-works > h2,
        .home-page #topics > h2,
        .home-page .why-snap > h2,
        .home-page .home-faq > h2 {
            margin-bottom: 1.5rem;
        }

        /* Figma: grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 */
        .feature-grid {
            display: grid;
            grid-template-columns: minmax(0, 1fr);
            gap: 2rem;
        }

        @media (min-width: 768px) {
            .feature-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        @media (min-width: 1024px) {
            .feature-grid {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }
        }

        .feature-card {
            background: linear-gradient(180deg, #fafbff 0%, #fff 100%);
            border: 1px solid #e8ebf5;
            border-radius: 14px;
            padding: 20px 16px;
            box-shadow: 0 2px 12px rgba(102, 126, 234, 0.08);
            transition: box-shadow 0.2s, transform 0.2s;
        }

        .feature-card:hover {
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.15);
            transform: translateY(-2px);
        }

        /* Figma: icon left, text-[#667eea]; mb-4; h3 mb-2 text-xl font-semibold text-gray-900 */
        .feature-card-icon {
            display: flex;
            justify-content: flex-start;
            align-items: center;
            margin-bottom: 1rem;
            color: var(--brand-start);
        }

        .feature-card-icon svg {
            width: 2.5rem;
            height: 2.5rem;
            flex-shrink: 0;
        }

        .feature-card h3 {
            font-size: 1.25rem;
            line-height: calc(1.75 / 1.25);
            color: #111827;
            margin-bottom: 0.5rem;
            font-weight: 600;
        }

        /* Figma: 16px; gray-600 oklch — hex fallback; cap lines for card consistency */
        .feature-card p {
            font-size: 16px;
            line-height: 1.5;
            color: #4b5563;
            color: oklch(44.6% 0.03 256.802);
            margin: 0;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 5;
            line-clamp: 5;
            overflow: hidden;
        }

        .trust-strip {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 12px 20px;
            margin: 16px 0 4px;
            font-size: 0.82rem;
            color: #5a6578;
        }

        .trust-strip span {
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            justify-content: center;
            margin: 14px 0 0;
        }

        .btn-secondary {
            display: inline-block;
            background: #fff;
            color: var(--brand-start);
            border: 2px solid var(--brand-start);
            padding: 11px 22px;
            border-radius: 50px;
            font-weight: 600;
            text-decoration: none;
            font-size: 0.95em;
        }

        .btn-secondary:hover {
            background: #f8f9ff;
        }

        .popular-conversions {
            margin-top: 26px;
            padding-top: 22px;
            border-top: 2px solid #eee;
            text-align: left;
        }

        .popular-conversions h2 {
            font-size: 1.15rem;
            margin-bottom: 14px;
            color: #2d3748;
        }

        .popular-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
        }

        @media (min-width: 700px) {
            .popular-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        .popular-card {
            border: 1px solid #e8ebf5;
            border-radius: 12px;
            padding: 14px;
            background: #fafbff;
            transition: box-shadow 0.2s;
        }

        .popular-card:hover {
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.12);
        }

        .popular-card h3 {
            font-size: 0.92rem;
            margin-bottom: 6px;
            color: #2d3748;
        }

        .popular-card p {
            font-size: 0.8rem;
            color: #5a6578;
            margin-bottom: 8px;
            line-height: 1.4;
        }

        .popular-card a {
            font-size: 0.82rem;
            font-weight: 700;
            color: var(--brand-start);
        }

        .how-it-works {
            margin-top: 28px;
            padding-top: 22px;
            border-top: 2px solid #eee;
            text-align: center;
        }

        /* Figma: 3 columns md+, gap-8; centered steps */
        .how-steps {
            display: grid;
            grid-template-columns: minmax(0, 1fr);
            gap: 2rem;
        }

        @media (min-width: 768px) {
            .how-steps {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }
        }

        .how-step {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            padding: 0;
            background: transparent;
            border: none;
            border-radius: 0;
        }

        /* Figma: gradient circle, white number (to-br #667eea → #764ba2) */
        .how-step__badge {
            width: 3.5rem;
            height: 3.5rem;
            border-radius: 50%;
            background: linear-gradient(to bottom right, #667eea 0%, #764ba2 100%);
            color: #fff;
            font-size: 1.125rem;
            font-weight: 700;
            line-height: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1rem;
            flex-shrink: 0;
        }

        .how-step__title {
            font-size: 1.125rem;
            font-weight: 700;
            line-height: calc(1.75 / 1.125);
            color: #111827;
            margin: 0 0 0.5rem;
        }

        .how-step__desc {
            font-size: 16px;
            line-height: 1.5;
            color: #4b5563;
            color: oklch(44.6% 0.03 256.802);
            margin: 0;
            max-width: 22rem;
        }

        .container--wide {
            max-width: 960px;
        }

        .container--conversion {
            max-width: 640px;
        }

        .conversion-intro {
            text-align: left;
            color: #555;
            margin-bottom: 18px;
            line-height: 1.55;
            font-size: 0.95rem;
        }

        .breadcrumb {
            font-size: 0.85rem;
            margin-bottom: 14px;
            text-align: left;
        }

        .breadcrumb a {
            color: var(--brand-start);
            font-weight: 600;
        }

        .conversion-page h1 {
            font-size: 1.85em;
        }

        .site-nav {
            flex-wrap: wrap;
            row-gap: 8px;
        }

        .site-nav a.nav-tools {
            font-weight: 700;
        }
