:root {
    --bg: #f7f9fb;
    --text: #11141a;
    --muted: #68707d;
    --line: rgba(17, 20, 26, 0.1);
    --line-strong: rgba(17, 20, 26, 0.16);
    --accent: #ff3b4a;
    --accent-cool: #e3476a;
    --shadow-card: 0 24px 70px rgba(13, 21, 32, 0.1);
    --content-width: 1180px;
    --section-space: clamp(72px, 10vw, 128px);
    --screenshot-gap: 18px;
    --radius-xl: 34px;
    --radius-lg: 28px;
    --radius-md: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

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

button {
    font: inherit;
}

.site-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        linear-gradient(135deg, rgba(255, 59, 74, 0.025), rgba(227, 71, 106, 0.018) 42%, rgba(255, 255, 255, 0)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 249, 251, 0));
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: rgba(247, 249, 251, 0.78);
    border-bottom: 1px solid rgba(17, 20, 26, 0.08);
}

.nav-shell,
.section-shell,
.footer-shell {
    width: min(var(--content-width), calc(100vw - 32px));
    margin: 0 auto;
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 78px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.brand-icon,
.footer-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    box-shadow: 0 12px 26px rgba(17, 20, 26, 0.2);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
    display: none;
}

.main-nav a {
    color: var(--muted);
    font-size: 0.98rem;
    font-weight: 500;
    white-space: nowrap;
    padding: 10px 12px;
    border-radius: 999px;
    transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.main-nav a:hover {
    color: var(--text);
    background: rgba(27, 22, 18, 0.04);
}

.download-pill {
    color: #fff !important;
    background: #121212;
    padding-inline: 22px !important;
    box-shadow: 0 10px 22px rgba(18, 18, 18, 0.16);
}

.is-disabled {
    cursor: default;
    opacity: 0.72;
}

.is-disabled:hover {
    transform: none;
}

.download-pill:hover {
    background: #000;
    transform: translateY(-1px);
}

main {
    padding-bottom: 48px;
}

.hero,
.faq-section {
    padding-top: var(--section-space);
}

.hero {
    padding-top: clamp(32px, 4vw, 56px);
    padding-bottom: clamp(22px, 3vw, 34px);
}

.hero-inner {
    width: min(1120px, calc(100vw - 32px));
    margin: 0 auto;
    text-align: center;
}

.hero-icon {
    width: clamp(110px, 12vw, 140px);
    height: clamp(110px, 12vw, 140px);
    margin: 0 auto 24px;
    border-radius: 28px;
    box-shadow: 0 24px 50px rgba(17, 20, 26, 0.22);
}

.section-kicker,
.card-kicker,
.footer-kicker {
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
}

.hero h1,
.section-heading h2,
.showcase-card h3,
.faq-card h3,
.footer-brand h2 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

.hero h1 {
    margin: 0 auto 12px;
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    line-height: 1.1;
    font-weight: 800;
}

.hero-tagline {
    margin: 0 auto;
    max-width: 500px;
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    color: var(--muted);
    line-height: 1.5;
}

.hero-rating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 24px;
}

.hero-stars {
    display: inline-flex;
    gap: 2px;
    color: #f5a623;
}

.hero-stars svg {
    width: 18px;
    height: 18px;
}

.hero-rating-text {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--muted);
}

.hero-rating-divider {
    font-size: 0.92rem;
    color: var(--muted);
}

.section-description,
.showcase-copy p,
.faq-card p,
.footer-description,
.footer-note {
    color: var(--muted);
    line-height: 1.7;
}

.hero-actions {
    margin-top: 28px;
    display: flex;
    justify-content: center;
}

.product-hunt-spotlight {
    margin-top: 20px;
    display: grid;
    justify-items: center;
    gap: 8px;
}

.product-hunt-kicker {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    opacity: 0.8;
}

.product-hunt-badge-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 12px;
    opacity: 0.88;
    transition: transform 180ms ease, opacity 180ms ease;
}

.product-hunt-badge-link:hover {
    transform: translateY(-1px);
    opacity: 1;
}

.product-hunt-badge {
    width: min(185px, 100%);
    height: auto;
}

.store-badge-link {
    display: inline-flex;
    border-radius: 14px;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.store-badge-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(18, 18, 18, 0.12);
}

.store-badge-link.is-disabled:hover {
    box-shadow: none;
}

.store-badge {
    width: 172px;
    height: auto;
}

.section-heading {
    margin-bottom: 30px;
}

.section-heading h2,
.faq-card h3 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

.section-heading h2 {
    margin: 12px 0 0;
    max-width: 720px;
    font-size: clamp(2.35rem, 5vw, 3.35rem);
    line-height: 1.02;
}

.hero-screens {
    margin-top: clamp(34px, 5vw, 52px);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.screenshot-rail-shell {
    position: relative;
}

.screenshot-rail {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: clamp(232px, 28vw, 432px);
    grid-auto-columns: clamp(250px, 22vw, 308px);
    gap: var(--screenshot-gap);
    overflow-x: auto;
    scroll-snap-type: none;
    padding-bottom: 22px;
    scrollbar-width: none;
    cursor: grab;
}

.screenshot-spacer {
    pointer-events: none;
}

.screenshot-rail::-webkit-scrollbar {
    display: none;
}

.screenshot-card {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    background: transparent;
    box-shadow: 0 12px 28px rgba(13, 21, 32, 0.09);
}

.screenshot-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 1242 / 2688;
    object-fit: cover;
    border-radius: inherit;
}

.screenshot-fade {
    position: absolute;
    top: 0;
    bottom: 22px;
    width: clamp(36px, 5vw, 92px);
    z-index: 2;
    pointer-events: none;
}

.screenshot-fade-left {
    display: none;
}

.screenshot-fade-right {
    right: 0;
    background: linear-gradient(270deg, var(--bg), rgba(247, 249, 251, 0));
}

.faq-grid {
    display: grid;
    gap: 22px;
}

.faq-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(17, 20, 26, 0.08);
    box-shadow: 0 18px 50px rgba(13, 21, 32, 0.07);
}

.faq-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(140deg, rgba(255, 255, 255, 0.42), transparent 42%),
        linear-gradient(150deg, rgba(255, 59, 74, 0.028), rgba(227, 71, 106, 0.02));
    pointer-events: none;
}

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

.faq-card {
    padding: 30px 28px;
}

.faq-card h3 {
    margin: 0 0 14px;
    font-size: 1.48rem;
    line-height: 1.08;
}

.faq-card p {
    margin: 0;
    font-size: 1rem;
}

.site-footer {
    padding: 48px 0 36px;
    border-top: 1px solid rgba(17, 20, 26, 0.08);
}

.footer-shell {
    width: min(var(--content-width), calc(100vw - 32px));
    margin: 0 auto;
}

.footer-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-brand-simple {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-wordmark {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.footer-description,
.footer-note {
    margin: 8px 0 0;
    max-width: 560px;
}

.footer-note {
    display: none;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(17, 20, 26, 0.08);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-links a,
.footer-mail {
    color: var(--muted);
    transition: color 180ms ease;
}

.footer-links a:hover,
.footer-mail:hover {
    color: var(--text);
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

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

    .faq-grid article:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 820px) {
    .nav-shell {
        min-height: 70px;
    }

    .brand-name {
        display: none;
    }

    .hero h1 {
        line-height: 1.02;
    }

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

    .faq-grid article:last-child {
        grid-column: auto;
    }

    .footer-topline,
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .nav-shell,
    .section-shell,
    .footer-shell {
        width: min(var(--content-width), calc(100vw - 24px));
    }

    .main-nav {
        gap: 6px;
        margin-right: -4px;
    }

    .main-nav a {
        font-size: 0.88rem;
        padding: 8px 9px;
    }

    .download-pill {
        padding-inline: 16px !important;
    }

    #nav-story {
        display: none;
    }

    .hero-inner {
        width: calc(100vw - 24px);
    }

    .hero-icon {
        margin-bottom: 16px;
    }

    .store-badge {
        width: 156px;
    }

    .product-hunt-spotlight {
        margin-top: 18px;
        gap: 6px;
    }

    .product-hunt-badge-link {
        width: auto;
    }

    .product-hunt-badge {
        width: min(152px, 100%);
    }

    .screenshot-rail {
        grid-template-columns: 24px;
        grid-auto-columns: minmax(250px, 72vw);
    }

    .screenshot-card {
        border-radius: 22px;
    }

    .faq-card,
    .footer-shell {
        border-radius: 28px;
    }

    .faq-card h3 {
        font-size: 1.65rem;
    }

    .screenshot-fade {
        width: 22px;
    }

    .screenshot-fade-left {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

.coming-soon-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 172px;
    min-height: 56px;
    padding: 8px 20px;
    color: #fff;
    background: #121212;
    border-radius: 11px;
    text-align: left;
    box-shadow: 0 12px 26px rgba(18, 18, 18, 0.16);
    user-select: none;
}

.coming-soon-small {
    font-size: 0.66rem;
    line-height: 1;
}

.coming-soon-badge strong {
    margin-top: 4px;
    font-size: 1.2rem;
    line-height: 1;
}

@media (max-width: 640px) {
    .coming-soon-badge { width: 156px; }
}

.subpage {
    background: var(--bg);
}

.legal-shell,
.story-shell {
    width: min(920px, calc(100vw - 32px));
    margin: 0 auto;
    padding: clamp(64px, 9vw, 108px) 0;
}

.legal-header,
.story-header {
    margin-bottom: 46px;
    padding-bottom: 34px;
    border-bottom: 1px solid var(--line);
}

.legal-header .eyebrow,
.story-header .eyebrow {
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.legal-header h1,
.story-header h1 {
    margin: 0 0 18px;
    font-size: clamp(3rem, 8vw, 5.5rem);
    line-height: 0.98;
}

.legal-header p,
.story-header p,
.story-copy p {
    color: var(--muted);
    line-height: 1.7;
}

.legal-content {
    display: grid;
    gap: 34px;
}

.legal-content section {
    padding-bottom: 30px;
    border-bottom: 1px solid var(--line);
}

.legal-content h2 {
    margin: 0 0 14px;
    font-size: 1.55rem;
}

.legal-content h3 {
    margin: 24px 0 8px;
    font-size: 1.06rem;
}

.legal-content p,
.legal-content li {
    color: #4f5662;
    line-height: 1.72;
}

.legal-content a {
    color: #4b49bd;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-note {
    padding: 18px 20px;
    border-left: 4px solid var(--accent);
    border-radius: 0 12px 12px 0;
    background: #fff;
}

.story-lead {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

.story-copy h2 {
    margin: 0;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 1.04;
}

.story-visual {
    min-height: 410px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-xl);
    background: linear-gradient(145deg, var(--accent-cool), #f07956);
}

.story-visual img {
    width: 150px;
    border-radius: 34px;
    box-shadow: 0 30px 60px rgba(80, 14, 30, 0.28);
    transform: rotate(5deg);
}

@media (max-width: 720px) {
    .story-lead { grid-template-columns: 1fr; }
    .story-visual { min-height: 330px; }
}
