:root {
    --fl-bg: #F6F3FB;
    --fl-card: #ffffff;
    --fl-text: #2C3440;
    --fl-muted: #5c6775;
    --fl-line: #E4DDEA;
    --fl-accent: #6B5BD6;
    --fl-ink: #2A3358;
    --fl-max: 1080px;
    color-scheme: light;
}

* { box-sizing: border-box; }

body.fl-page {
    margin: 0;
    font-family: "Segoe UI", system-ui, sans-serif;
    background: var(--fl-bg);
    color: var(--fl-text);
    line-height: 1.55;
}

img { max-width: 100%; height: auto; }

a { color: var(--fl-accent); }

.fl-skip {
    position: absolute;
    left: 12px;
    top: -40px;
    background: #fff;
    padding: 8px 12px;
    z-index: 5;
}

.fl-skip:focus { top: 12px; }

.fl-wrap {
    width: min(var(--fl-max), calc(100% - 32px));
    margin: 0 auto;
}

.fl-narrow { width: min(720px, calc(100% - 32px)); }

.fl-nav {
    position: sticky;
    top: 0;
    z-index: 4;
    background: rgba(246, 243, 251, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--fl-line);
}

.fl-nav-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 72px;
}

.fl-brand { display: flex; align-items: center; }

.fl-brand img { height: 36px; width: auto; }

.fl-nav-links {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

.fl-nav-links a {
    color: var(--fl-text);
    text-decoration: none;
    font-weight: 700;
    padding: 8px 10px;
    border-radius: 999px;
}

.fl-nav-links a[aria-current="page"] {
    background: var(--fl-ink);
    color: #fff;
}

.fl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--fl-accent);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    border-radius: 999px;
    padding: 12px 18px;
    border: 0;
}

.fl-btn-small { padding: 8px 14px; margin-left: 8px; }

.fl-btn-ghost {
    background: transparent;
    color: var(--fl-ink);
    box-shadow: inset 0 0 0 1.5px var(--fl-line);
}

.fl-hero { padding: 28px 0 10px; }

.fl-hero-grid,
.fl-try-grid,
.fl-split-grid {
    display: grid;
    gap: 28px;
}

.fl-crumb {
    display: flex;
    gap: 8px;
    color: var(--fl-muted);
    font-size: 14px;
    margin-bottom: 12px;
}

.fl-crumb a { color: inherit; }

h1 {
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin: 0 0 12px;
    color: var(--fl-ink);
}

h2 {
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 10px;
    color: var(--fl-ink);
}

h3 { margin: 8px 0; }

.fl-lead, .fl-try p, .fl-split p, .fl-faq p {
    font-size: 18px;
    color: var(--fl-muted);
}

.fl-free {
    margin: 12px 0 0;
    font-size: 16px;
    color: var(--fl-ink);
}

.fl-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.fl-hero-figure,
.fl-split figure {
    margin: 0;
}

.fl-hero-figure img,
.fl-split img,
.fl-more-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 28px;
    background: #efeaf8;
}

.fl-kicker {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--fl-accent);
    margin: 0 0 6px;
}

.fl-try, .fl-split, .fl-faq, .fl-more { padding: 28px 0; }

.fl-steps { margin: 0; padding-left: 18px; color: var(--fl-muted); }

.fl-steps li + li { margin-top: 8px; }

.fl-demo-next { margin-top: 14px; font-size: 16px; }

.fl-trust { padding: 8px 0 20px; }

.fl-trust-grid {
    list-style: none;
    display: grid;
    gap: 12px;
    margin: 16px 0 0;
    padding: 0;
}

.fl-trust-grid li {
    background: #fff;
    border: 1px solid var(--fl-line);
    border-radius: 18px;
    padding: 16px;
}

.fl-trust-grid h3 { margin-top: 0; color: var(--fl-ink); font-size: 18px; }

.fl-trust-grid p { margin: 0 0 12px; color: var(--fl-muted); font-size: 15px; }

.fl-trust-grid a { color: var(--fl-accent); font-weight: 800; }

.fl-usp-lead { max-width: 40rem; margin-top: 0; }

.fl-phone {
    background: var(--fl-ink);
    color: #fff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(30, 20, 60, 0.18);
}

.fl-scene { position: relative; height: 168px; background: #7CB07A; }

.fl-scene-warm { background: #E7C9A4; }

.fl-scene-bg { width: 100%; height: 100%; object-fit: cover; display: block; }

.fl-scene-pet {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 110px;
    height: 100px;
    transform: translateX(-50%);
    object-fit: contain;
}

.fl-scene-chip,
.fl-goal-label {
    position: absolute;
    left: 12px;
    top: 12px;
    margin: 0;
    background: rgba(0, 0, 0, 0.28);
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 800;
}

.fl-phone.is-locked .fl-phone-body { filter: blur(3px); }

.fl-phone-body { padding: 14px; display: flex; flex-direction: column; gap: 12px; }

.fl-moods { display: flex; gap: 6px; }

.fl-mood, .fl-task, .fl-chip {
    font: inherit;
    cursor: pointer;
}

.fl-mood {
    flex: 1;
    border: 0;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-radius: 14px;
    padding: 6px 2px;
}

.fl-mood img { width: 36px; height: 36px; display: block; margin: 0 auto 4px; }

.fl-mood span { display: block; font-size: 11px; font-weight: 700; }

.fl-mood[aria-pressed="true"], .fl-task[aria-pressed="true"] {
    background: var(--fl-accent);
    color: #fff;
}

.fl-cal-label { margin: 0; font-weight: 800; }

.fl-cal {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.fl-dow, .fl-day {
    text-align: center;
    font-size: 12px;
}

.fl-dow { color: rgba(255, 255, 255, 0.6); font-weight: 700; }

.fl-day {
    min-height: 28px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.06);
}

.fl-day.has-entry, .fl-day.is-marked { background: #E6E2EE; color: var(--fl-ink); font-weight: 800; }

.fl-day.is-today { outline: 2px solid var(--fl-accent); }

.fl-entries { display: flex; flex-direction: column; gap: 8px; }

.fl-entry {
    display: flex;
    gap: 10px;
    align-items: center;
    background: #E6E2EE;
    color: var(--fl-ink);
    border-radius: 16px;
    padding: 10px;
}

.fl-entry img { width: 36px; height: 36px; }

.fl-entry span { display: flex; flex-direction: column; }

.fl-entry small, .fl-story-hint { color: #5c6775; }

.fl-meters small { color: rgba(255, 255, 255, 0.75); }

.fl-row { display: flex; gap: 8px; }

.fl-chip {
    flex: 1;
    border: 0;
    border-radius: 999px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-weight: 800;
}

.fl-chip-strong { background: var(--fl-accent); }

.fl-tasks { display: flex; flex-direction: column; gap: 8px; }

.fl-task {
    display: flex;
    gap: 10px;
    align-items: center;
    text-align: left;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 12px;
    font-weight: 700;
}

.fl-check {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.7);
    flex: 0 0 auto;
}

.fl-task[aria-pressed="true"] .fl-check { background: #fff; box-shadow: none; }

.fl-meters p { margin: 0 0 6px; }

.fl-energy {
    height: 12px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.15);
    overflow: hidden;
}

.fl-energy span {
    display: block;
    height: 100%;
    background: #FFD36A;
    border-radius: inherit;
}

.fl-buddy {
    margin: 0;
    background: rgba(255, 211, 106, 0.16);
    color: #FFD36A;
    border-radius: 12px;
    padding: 10px 12px;
    font-weight: 800;
}

.fl-journey-top { padding: 22px 14px 0; text-align: center; position: relative; }

.fl-ring {
    width: 168px;
    height: 168px;
    margin: 0 auto;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: conic-gradient(#E2B657 calc(var(--p) * 1%), rgba(255, 255, 255, 0.14) 0);
}

.fl-ring img {
    width: 112px;
    height: 112px;
    object-fit: contain;
    background: var(--fl-ink);
    border-radius: 50%;
    padding: 8px;
}

.fl-daycount { font-size: 28px; font-weight: 800; margin: 12px 0 0; }

.fl-daycount span { font-size: 14px; letter-spacing: 0.08em; }

.fl-goal-label { position: static; display: inline-block; margin-top: 4px; }

.fl-help {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 12px;
}

.fl-help p { margin: 0 0 8px; }

.fl-help a { color: #fff; font-weight: 800; }

.fl-story { padding: 0 14px 16px; }

.fl-story-kicker {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.fl-story-card {
    background: #fff;
    color: var(--fl-ink);
    border-radius: 18px;
    padding: 14px;
    text-align: center;
}

.fl-story-card img { width: 96px; height: 96px; object-fit: contain; }

.fl-story-caption { font-weight: 800; white-space: pre-line; margin: 8px 0; }

.fl-story-hint { margin: 0; font-size: 13px; }

.fl-split-grid figure img { background: #fff; }

.fl-gallery { padding-bottom: 10px; }

.fl-gallery-row {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 0;
    padding: 0;
}

.fl-gallery-row img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    background: #fff;
    border-radius: 22px;
    padding: 12px;
    border: 1px solid var(--fl-line);
}

.fl-usp {
    background: var(--fl-ink);
    color: #fff;
    padding: 56px 0;
    margin-top: 12px;
}

.fl-usp h2, .fl-kicker-light { color: #fff; }

.fl-usp-grid {
    display: grid;
    gap: 16px;
    margin-top: 18px;
}

.fl-usp article {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 22px;
    padding: 16px;
}

.fl-usp img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
}

.fl-usp p { color: rgba(255, 255, 255, 0.8); }

.fl-faq details {
    background: #fff;
    border-radius: 16px;
    padding: 12px 16px;
    margin-top: 10px;
    border: 1px solid var(--fl-line);
}

.fl-faq summary { font-weight: 800; cursor: pointer; color: var(--fl-ink); }

.fl-faq details p { margin: 10px 0 4px; font-size: 16px; }

.fl-more-grid { display: grid; gap: 14px; }

.fl-more-card {
    display: block;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--fl-line);
}

.fl-more-card img { aspect-ratio: 16 / 9; border-radius: 0; }

.fl-more-card span, .fl-more-card strong { display: block; padding: 0 16px; }

.fl-more-card span {
    margin-top: 12px;
    color: var(--fl-accent);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.fl-more-card strong { padding-bottom: 16px; font-size: 20px; color: var(--fl-ink); }

.fl-foot {
    padding: 28px 0 40px;
    color: var(--fl-muted);
}

.fl-foot-inner { display: grid; gap: 12px; }

.fl-foot strong { color: var(--fl-ink); }

.fl-foot nav { display: flex; flex-wrap: wrap; gap: 12px; }

.fl-foot a { color: var(--fl-ink); font-weight: 700; }

@media (min-width: 860px) {
    .fl-hero-grid, .fl-try-grid, .fl-split-grid, .fl-usp-grid, .fl-more-grid {
        grid-template-columns: 1.05fr 0.95fr;
        align-items: center;
    }

    .fl-usp-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }

    .fl-trust-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }

    .fl-split-flip .fl-split-grid figure { order: 2; }

    .fl-foot-inner { grid-template-columns: 1.4fr 1fr; align-items: end; }
}

@media (max-width: 720px) {
    .fl-nav-links { display: none; }
    .fl-gallery-row { grid-template-columns: repeat(2, 1fr); }
    .fl-mood span { font-size: 10px; }
}

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