/* Fala Manim: finite, playful gestures on the approved silhouette. */
.fm-symbol{display:block;width:100%;height:100%;overflow:visible}
.fm-draw-stroke{stroke-dasharray:1;stroke-dashoffset:0}
:is(.fm-hello,.fm-discover,.fm-celebrate) .fm-draw-stroke{animation:fm-brand-draw 1450ms linear both}
@keyframes fm-brand-draw{0%{stroke-dashoffset:1}28%{stroke-dashoffset:.64}37%{stroke-dashoffset:.64}69%{stroke-dashoffset:.22}77%{stroke-dashoffset:.22}100%{stroke-dashoffset:0}}
html[data-manim-motion=off] .fm-draw-stroke{animation:none!important;stroke-dashoffset:0!important}
@media(prefers-reduced-motion:reduce){.fm-draw-stroke{animation:none!important;stroke-dashoffset:0!important}}
.fm-shell-mark{display:inline-flex;vertical-align:middle;width:24px;height:20px;margin-right:8px;color:#176B4B}
[data-theme=dark] .fm-shell-mark{color:#D2EFA0}
.assistant-view .assistant-icon{display:grid;place-items:center}
.assistant-view .assistant-icon .fm-symbol{width:28px;height:23px;color:white}
#quick-start .fm-welcome-brand>svg{width:100%;height:auto;overflow:visible;display:block}
#quick-start .start-achievement .fm-symbol{width:45px;height:35px}
.fm-access-welcome{display:block;width:50px;height:38px;color:#176B4B;margin:0 0 20px}
[data-theme=dark] .fm-access-welcome{color:#D2EFA0}
/* One headline: familiar interface typography + the original brand lettering. */
.fm-public .hero-copy h1{font-family:var(--type-title-family,Arial,Helvetica,sans-serif);font-size:clamp(30px,4.8vw,62px);line-height:1.12;letter-spacing:-.045em;margin:0 auto 24px;max-width:900px}
.fm-public .fm-hero-signature{display:block;width:clamp(175px,22vw,265px);height:auto;max-width:75%;margin:24px auto 0;line-height:0}
.fm-public .fm-hero-signature>svg{display:block;width:100%;height:auto;overflow:visible}
.fm-public .hero-copy>p{max-width:570px;margin:0 auto;font-size:clamp(16px,1.4vw,19px);line-height:1.55;text-wrap:pretty}
.fm-public .fm-hero-actions{display:flex;justify-content:center;flex-wrap:wrap;align-items:center;gap:10px;margin:24px auto 0}
.fm-public .fm-hero-actions .button{min-height:48px;white-space:normal;padding:12px 22px}
.fm-public .fm-hero-actions .fm-secondary-link{color:#F7F8F2;border:1px solid #90AA98;background:#FFFFFF09;box-shadow:inset 0 1px #FFFFFF25}
.fm-section-mark{display:block;width:38px;height:30px;margin-bottom:15px;color:#176B4B}
[data-theme=dark] .fm-section-mark{color:#D2EFA0}
.fm-experience-controls{--fm-exp-ink:#203C32;--fm-exp-muted:#4B6457;--fm-exp-line:#B9CBBF;--fm-exp-surface:#F1F6EC;color:var(--fm-exp-ink);text-align:left}
[data-theme=dark] .fm-experience-controls{--fm-exp-ink:#F0F3EA;--fm-exp-muted:#C3D2C6;--fm-exp-line:#698571;--fm-exp-surface:#263C30}
.fm-experience-controls .fm-preference{display:flex!important;align-items:center;justify-content:space-between;gap:18px;margin:0!important;padding:16px 0!important;border-bottom:1px solid var(--fm-exp-line);font:inherit}
.fm-preference>span{min-width:0;flex:1}.fm-preference strong{display:block;font-size:14px;line-height:1.4;color:var(--fm-exp-ink)}
.fm-preference small{display:block;margin-top:4px;font-size:12px;line-height:1.5;color:var(--fm-exp-muted)}
.fm-experience-controls input[role=switch]{appearance:none!important;box-sizing:border-box;width:44px!important;min-width:44px!important;height:26px!important;min-height:26px!important;padding:0!important;border:1px solid #6A8373!important;border-radius:20px!important;background:#D3DED5!important;position:relative;cursor:pointer;margin:0!important;flex:none}
.fm-experience-controls input[role=switch]:after{content:'';position:absolute;width:18px;height:18px;left:3px;top:3px;background:#435F4F;border-radius:50%;transition:transform 160ms ease}
.fm-experience-controls input[role=switch]:checked{background:#176B4B!important;border-color:#176B4B!important}
.fm-experience-controls input[role=switch]:checked:after{transform:translateX(18px);background:#FFF}
.fm-experience-controls input:focus-visible,.fm-preview-button:focus-visible,.fm-close:focus-visible{outline:3px solid #459B73;outline-offset:4px}
.fm-preview-row{display:flex;align-items:center;gap:14px;margin:18px 0 6px}
.fm-preview-mark{display:grid;place-items:center;width:42px;height:34px;color:#176B4B;flex:none}
[data-theme=dark] .fm-preview-mark{color:#D2EFA0}
.fm-preview-button{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;min-height:44px;max-width:100%;border:1px solid var(--fm-exp-line,#B9CBBF);border-radius:24px;padding:10px 16px;font:600 13px/1.4 var(--type-title-family,Arial,Helvetica,sans-serif);background:var(--fm-exp-surface,#F1F6EC);color:var(--fm-exp-ink,#203C32);cursor:pointer;white-space:normal}
.fm-preview-button svg{width:18px;height:18px;flex:none}.fm-preview-button[aria-busy=true]{opacity:.7;cursor:progress}
.fm-motion-status{font-size:12px;line-height:1.45;min-height:1.45em;margin:4px 0 0;color:inherit}
.settings-appearance .fm-experience-controls{margin-top:4px}.settings-appearance #theme-error:empty{display:none}
.fm-public .fm-preferences-link{background:none;border:0;border-bottom:1px solid currentColor;padding:8px 0;font:inherit;color:inherit;cursor:pointer;min-height:44px}
#fm-experience-dialog{box-sizing:border-box;width:min(440px,calc(100vw - 28px));max-height:calc(100dvh - 32px);padding:22px;border:1px solid #A6B99B;border-radius:24px;background:#F7F8F2;color:#203C32;overflow:auto;box-shadow:0 22px 70px #102E2533}
#fm-experience-dialog::backdrop{background:#102E2566;backdrop-filter:blur(8px)}
[data-theme=dark] #fm-experience-dialog{background:#1B2C23;color:#F0F3EA;border-color:#698571}
.fm-experience-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:2px}.fm-experience-heading h2{font:700 22px/1.3 var(--type-title-family,Arial,Helvetica,sans-serif);margin:0}
.fm-close{display:grid;place-items:center;flex:none;width:38px;height:38px;min-height:38px;border:0;border-radius:50%;background:#E5EEDD;color:#203C32;font:24px/1 sans-serif;cursor:pointer}
[data-theme=dark] .fm-close{background:#304837;color:#F0F3EA}
@media(max-width:600px){.fm-public .hero-copy h1{font-size:clamp(29px,7.5vw,42px);letter-spacing:-.035em;margin-bottom:20px}.fm-public .fm-hero-signature{width:180px;margin-top:20px}.fm-public .hero-copy>p{font-size:16px;max-width:330px}.fm-public .fm-hero-actions{gap:8px;margin-top:20px}.fm-public .fm-hero-actions .button{font-size:13px;padding:11px 16px;min-height:44px}.fm-public .hero-grid{row-gap:20px}.fm-preference small{font-size:12px}.fm-preference>span{max-width:calc(100% - 60px)}}
@media(prefers-reduced-motion:reduce){.fm-motion-shape{animation:none!important;transform:none!important}.fm-experience-controls input[role=switch]:after{transition:none}}
@media(forced-colors:active){.fm-experience-controls input[role=switch]{appearance:auto!important}.fm-experience-controls input[role=switch]:after{display:none}.fm-symbol{color:CanvasText}}

/* Access controls follow the same quiet, compact treatment as the app. */
.fm-access header>a:not(.brand){display:inline-flex;align-items:center;min-height:44px;font:600 12px/1.4 var(--type-title-family,Arial,Helvetica,sans-serif);text-decoration:none;text-underline-offset:4px}
.fm-access header>a:not(.brand):hover{text-decoration:underline}
.fm-access .auth-shell details>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer;min-height:44px;font-size:13px}
.fm-access .auth-shell details>summary::marker{content:""}
.fm-access .auth-shell details>summary::-webkit-details-marker{display:none}
.fm-access .auth-shell details>summary::after{content:"+";display:grid;place-items:center;flex:none;width:24px;height:24px;border:1px solid currentColor;border-radius:50%;font-size:17px}
.fm-access .auth-shell details[open]>summary::after{content:"−"}
.fm-access #recover{background:transparent;padding:8px 0;min-height:44px;font-size:13px;text-decoration:underline;text-underline-offset:4px}
#quick-start .start-emblem.start-achievement{display:grid;place-items:center;width:44px;height:36px;margin:0 0 14px;padding:0;border:0;background:none;box-shadow:none;color:#D2EFA0}
.fm-experience-controls .fm-reduced-note{font-size:12px;line-height:1.5;margin:8px 0;color:var(--fm-exp-muted)}

/* Complete phrase, approved wordmark and companion symbol on one reading line. */
.fm-public .fm-hero-line{display:flex;align-items:center;justify-content:center;gap:.24em;flex-wrap:wrap;font-size:clamp(21px,4vw,50px);line-height:1.2;letter-spacing:-.035em;margin-top:.32em}
.fm-public .fm-hero-line>span:first-child{white-space:nowrap}
.fm-public .fm-hero-signature{display:inline-flex;align-items:center;gap:.2em;width:auto;max-width:100%;height:auto;margin:0;line-height:0;vertical-align:middle}
.fm-public .fm-hero-signature>.fm-inline-wordmark{width:5.85em;max-width:100%;height:1em;overflow:visible}
.fm-public .fm-hero-signature>.fm-inline-symbol{width:.96em;height:.65em;flex:none;overflow:visible}
@media(max-width:600px){.fm-public .fm-hero-line{font-size:clamp(21px,5.5vw,27px);gap:.23em;margin-top:.5em}.fm-public .hero-copy h1{margin-bottom:24px}}

#quick-start[data-step=done] .start-footer{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
#quick-start[data-step=done] .start-footer button{width:100%;min-width:0!important;padding-inline:10px}

/* Sales page: fixed signature palette and stronger editorial hierarchy. */
.fm-sales .hero-copy h1{font-size:clamp(38px,5.5vw,76px);line-height:1.08;letter-spacing:-.055em;color:#F7F8F2}
.fm-sales .fm-hero-title{display:block;font-weight:750;text-wrap:balance}
.fm-sales .fm-hero-line{font-weight:450;letter-spacing:-.04em;margin-top:.3em}
.fm-sales .fm-hero-actions .button:not(.fm-secondary-link){background:#D2EFA0;color:#102E25;border-color:#D2EFA0;box-shadow:inset 0 1px #FFFFFF70,0 8px 26px #081B1433}
.fm-sales .fm-hero-actions .button:not(.fm-secondary-link):hover{background:#E1F5BE}
@media(max-width:600px){.fm-sales .hero-copy h1{font-size:clamp(29px,8vw,42px);letter-spacing:-.055em}.fm-sales .fm-hero-line{margin-top:.55em}}
/* Glass finish on the recently introduced brand controls, with opaque ink. */
.fm-preview-button{background:linear-gradient(140deg,#ffffffb8,#e8f0e3db);border-color:#a6bda9;box-shadow:inset 0 1px #fff,0 3px 10px #102e2512;backdrop-filter:blur(12px) saturate(1.15)}
[data-theme=dark] .fm-preview-button{background:linear-gradient(140deg,#3c5544ed,#23392df5);border-color:#78917e;box-shadow:inset 0 1px #ffffff30,0 3px 10px #0003;color:#F0F3EA}
#fm-experience-dialog{background:linear-gradient(145deg,#fffffff5,#f1f6ecf5);backdrop-filter:blur(24px) saturate(1.15);box-shadow:inset 0 1px #fff,0 22px 70px #102E2533}
[data-theme=dark] #fm-experience-dialog{background:linear-gradient(145deg,#2b4134f5,#1b2c23fa);box-shadow:inset 0 1px #ffffff30,0 22px 70px #0005}
@media(prefers-reduced-transparency:reduce){.fm-preview-button,#fm-experience-dialog{backdrop-filter:none;background:#F1F6EC}[data-theme=dark] .fm-preview-button,[data-theme=dark] #fm-experience-dialog{background:#263C30}}
