/* Trill marketing site — shared styles */

:root {
    --pink: #F66BA4;
    --pink-dark: #E1417E;
    --pink-soft: #FDEAF2;
    --pink-bg: #FF8FC0;
    --ink: #1E1B29;
    --ink-soft: #5D5870;
    --paper: #FFFFFF;
    --paper-soft: #FBF9FB;
    --line: rgba(30, 27, 41, 0.08);
    --good: #23A566;
    --radius: 20px;
    --shadow: 0 10px 40px rgba(30, 27, 41, 0.08);
    --shadow-soft: 0 4px 16px rgba(30, 27, 41, 0.06);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a { color: var(--pink); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: min(100% - 40px, 1120px); margin-inline: auto; }
.wrap-narrow { width: min(100% - 40px, 760px); margin-inline: auto; }

/* ---------- nav ---------- */

.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 68px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Luckiest Guy', cursive;
    font-weight: 400;
    font-size: 24px;
    letter-spacing: 0.5px;
    color: var(--ink);
}

.nav-logo span { transform: translateY(3px); }
.nav-logo:hover { text-decoration: none; }

.nav-logo img { width: 36px; height: 36px; border-radius: 9px; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
    font-weight: 600;
    font-size: 15px;
}

.nav-links a { color: var(--ink-soft); }
.nav-links a:hover { color: var(--pink); text-decoration: none; }

.nav-cta {
    background: var(--pink);
    color: #fff !important;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 24px;
    font-size: 15px;
    box-shadow: 0 3px 0 var(--pink-dark);
}
.nav-cta:hover { text-decoration: none; transform: translateY(-1px); }

@media (max-width: 800px) {
    .nav-links a:not(.nav-cta) { display: none; }
}

/* ---------- buttons & badges ---------- */

.store-badges {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

.store-badges img { height: 56px; width: auto; }

.cta-note {
    font-size: 14px;
    color: var(--ink-soft);
    font-weight: 500;
}

.btn {
    display: inline-block;
    background: var(--pink);
    color: #fff;
    font-weight: 700;
    font-size: 17px;
    padding: 15px 34px;
    border-radius: 30px;
    box-shadow: 0 4px 0 var(--pink-dark);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--pink-soft);
    color: var(--pink-dark);
    font-weight: 700;
    font-size: 13.5px;
    border-radius: 20px;
    padding: 7px 14px;
}

.chip-lg {
    font-size: 17px;
    padding: 10px 20px;
    border-radius: 26px;
    gap: 8px;
}

/* ---------- hero ---------- */

.hero {
    padding: 64px 0 40px;
    background:
        radial-gradient(60% 50% at 85% 10%, rgba(246, 107, 164, 0.13), transparent),
        radial-gradient(50% 40% at 5% 80%, rgba(246, 107, 164, 0.08), transparent);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.hero-mascot {
    width: 96px;
    height: 96px;
    margin-bottom: 2px;
    animation: mascotBounce 3s ease-in-out infinite;
}

@keyframes mascotBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-7px) rotate(-3deg); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-mascot { animation: none; }
}

.hero-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
}

.hero-stars {
    color: #F7B500;
    font-size: 20px;
    letter-spacing: 3px;
    line-height: 1;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.hero-rating-text {
    font-size: 15px;
    color: var(--ink-soft);
    font-weight: 500;
}

.hero-rating-text b { color: var(--ink); font-weight: 700; }

.hero h1 {
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin: 18px 0;
}

.hero h1 em {
    font-style: normal;
    color: var(--pink);
}

.hero-sub {
    font-size: 19px;
    color: var(--ink-soft);
    max-width: 520px;
    margin-bottom: 28px;
}

.hero-quote {
    margin-top: 26px;
    font-size: 15px;
    color: var(--ink-soft);
}
.hero-quote b { color: var(--ink); }

.hero-shot {
    justify-self: center;
    width: min(100%, 330px);
    border-radius: 28px;
    box-shadow: var(--shadow);
    transform: rotate(2deg);
}

@media (max-width: 880px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-shot { transform: none; width: min(100%, 300px); }
}

/* ---------- stats strip ---------- */

.stats-strip {
    border-block: 1px solid var(--line);
    background: var(--paper-soft);
}

.stats-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 26px 0;
    text-align: center;
}

.stat b { display: block; font-size: 24px; font-weight: 800; }
.stat span { font-size: 13.5px; color: var(--ink-soft); font-weight: 500; }

@media (max-width: 700px) {
    .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
}

/* ---------- generic section ---------- */

.section { padding: 72px 0; }
.section-alt { background: var(--paper-soft); }
.section-pink { background: linear-gradient(135deg, #F66BA4, #FF8FC0); color: #fff; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }

.section-head h2 {
    font-size: clamp(26px, 3.6vw, 38px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.4px;
}

.section-head p { margin-top: 12px; font-size: 17px; color: var(--ink-soft); }
.section-pink .section-head p { color: rgba(255, 255, 255, 0.85); }

/* ---------- screenshots gallery ---------- */

.shots {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 10px 40px 22px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    /* edges dissolve into fog instead of a hard cut */
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
}

.shots::-webkit-scrollbar { height: 8px; }
.shots::-webkit-scrollbar-thumb { background: var(--pink-soft); border-radius: 4px; }

.shots img {
    width: 240px;
    flex-shrink: 0;
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
    scroll-snap-align: center;
}

/* ---------- how it works ---------- */

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.step {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow-soft);
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--pink-soft);
    color: var(--pink-dark);
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 14px;
}

.step h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--ink-soft); }

@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* ---------- focus lock band ---------- */

.focus-band { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: center; }

.focus-band img { width: 100%; border-radius: 24px; box-shadow: var(--shadow); }

.focus-band h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; line-height: 1.2; margin-bottom: 14px; }
.focus-band p { font-size: 17px; color: var(--ink-soft); margin-bottom: 12px; }

@media (max-width: 800px) { .focus-band { grid-template-columns: 1fr; } .focus-band img { max-width: 280px; margin: 0 auto; } }

/* ---------- research / stats ---------- */

.research-note { font-size: 13.5px; color: var(--ink-soft); text-align: center; margin-top: 26px; }

.bars { display: grid; gap: 14px; max-width: 640px; margin: 0 auto; }

.bar-row { display: grid; grid-template-columns: 190px 1fr 52px; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; }

.bar-track { background: rgba(30, 27, 41, 0.07); border-radius: 8px; height: 16px; overflow: hidden; }

.bar-fill { height: 100%; border-radius: 8px; background: linear-gradient(90deg, #F66BA4, #FF9DC9); }

.bar-val { text-align: right; font-weight: 800; color: var(--pink-dark); }

@media (max-width: 560px) { .bar-row { grid-template-columns: 130px 1fr 46px; font-size: 13.5px; } }

/* ---------- guides grid ---------- */

.guides-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.guide-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-soft);
    color: var(--ink);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; }

.guide-card .g-emoji { font-size: 26px; }
.guide-card h3 { font-size: 17px; font-weight: 700; line-height: 1.35; }
.guide-card p { font-size: 14px; color: var(--ink-soft); flex: 1; }
.guide-card span { color: var(--pink); font-weight: 700; font-size: 14px; }

@media (max-width: 900px) { .guides-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .guides-grid { grid-template-columns: 1fr; } }

/* ---------- testimonials ---------- */

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.quote {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow-soft);
}

.quote .stars { color: #F7B500; letter-spacing: 2px; font-size: 15px; }
.quote p { margin-top: 10px; font-size: 15.5px; }
.quote footer { margin-top: 12px; font-size: 13px; color: var(--ink-soft); }

@media (max-width: 800px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */

.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }

.faq details {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px 22px;
    box-shadow: var(--shadow-soft);
}

.faq summary {
    font-weight: 700;
    font-size: 16.5px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.faq summary::after { content: '+'; font-size: 22px; color: var(--pink); font-weight: 700; }
.faq details[open] summary::after { content: '–'; }
.faq summary::-webkit-details-marker { display: none; }

.faq details p { margin-top: 12px; font-size: 15px; color: var(--ink-soft); }

.learn-more { font-weight: 700; white-space: nowrap; }

/* ---------- CTA band ---------- */

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

.cta-band h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -0.4px; }

.cta-band p { margin: 12px auto 28px; font-size: 18px; max-width: 560px; color: rgba(255, 255, 255, 0.9); }

.cta-band .store-badges { justify-content: center; }

.cta-band .cta-note { color: rgba(255, 255, 255, 0.85); margin-top: 14px; }

/* ---------- footer ---------- */

.footer { background: #17141F; color: #B9B4C7; padding: 52px 0 36px; font-size: 14px; }

.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }

.footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 14px; }

.footer a { color: #B9B4C7; display: block; margin-bottom: 9px; }
.footer a:hover { color: #fff; text-decoration: none; }

.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-family: 'Luckiest Guy', cursive; font-weight: 400; font-size: 21px; margin-bottom: 12px; }
.footer-brand img { width: 34px; height: 34px; border-radius: 8px; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 22px; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- guide article layout ---------- */

.article-hero { padding: 48px 0 8px; }

.breadcrumbs { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 18px; }
.breadcrumbs a { color: var(--ink-soft); }
.breadcrumbs a:hover { color: var(--pink); }

.article h1 {
    font-size: clamp(30px, 4.4vw, 44px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.article .lead { font-size: 19px; color: var(--ink-soft); margin-bottom: 8px; }

.article h2 { font-size: 26px; font-weight: 800; margin: 40px 0 14px; letter-spacing: -0.3px; }
.article h3 { font-size: 19px; font-weight: 700; margin: 26px 0 10px; }
.article p { margin-bottom: 14px; font-size: 16.5px; }
.article ul, .article ol { margin: 0 0 16px 22px; font-size: 16.5px; }
.article li { margin-bottom: 8px; }
.article b { font-weight: 700; }

.answer-box {
    background: var(--pink-soft);
    border-left: 4px solid var(--pink);
    border-radius: 12px;
    padding: 18px 20px;
    margin: 22px 0;
    font-size: 16.5px;
}

.app-steps {
    background: var(--paper-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    margin: 26px 0;
}

.app-steps h3 { margin-top: 0; }

.article-cta {
    background: linear-gradient(135deg, #F66BA4, #FF8FC0);
    color: #fff;
    border-radius: var(--radius);
    padding: 32px 28px;
    text-align: center;
    margin: 44px 0;
}

.article-cta h2 { margin: 0 0 8px; color: #fff; font-size: 26px; }
.article-cta p { color: rgba(255, 255, 255, 0.9); margin-bottom: 20px; }
.article-cta .store-badges { justify-content: center; }
.article-cta .cta-note { color: rgba(255, 255, 255, 0.85); margin-top: 12px; }

.related { margin: 40px 0 64px; }
.related h2 { font-size: 22px; margin-bottom: 16px; }
.related-links { display: flex; flex-wrap: wrap; gap: 10px; }
.related-links a {
    background: var(--paper-soft);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 9px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}
.related-links a:hover { border-color: var(--pink); color: var(--pink); text-decoration: none; }
