/* The FAQ page and the download pages (landing/build.mjs, «The FAQ and the downloads»; docs/landing-sistema.md): inside
   src/learn.html, after learn.css, with the landing's system: raspberry accents, cards with their bottom edge, the
   highlighter under one word, Yema alive. The download pages' first screen is the home's hero (site.css). DS tokens,
   light only. */

/* ===== The FAQ: Yema with the title, the topics (a list beside the questions on a desktop), every question ===== */
.fq-layout{display:grid;grid-template-columns:272px minmax(0,1fr);gap:clamp(28px,4vw,56px);align-items:start;margin-top:8px}
.fq-chips{position:sticky;top:calc(var(--head) + 20px);flex-direction:column;align-items:stretch;margin:0}
.fq-chips a{justify-content:flex-start;gap:10px;padding:0 12px 0 14px}
.fq-chips a:hover{box-shadow:inset 0 0 0 1.5px var(--berry-mark)}
.fq-n{margin-left:auto;min-width:24px;height:24px;padding:0 7px;box-sizing:border-box;border-radius:9999px;display:inline-grid;place-items:center;background:var(--berry-soft);color:var(--berry);font-size:13px;line-height:1}
.fq-topics{max-width:780px}
.fq-topic + .fq-topic{margin-top:40px}
.fq-topic-h{display:flex;align-items:center;gap:12px;margin:0 0 4px;font-family:var(--font-display);font-weight:400;font-size:clamp(28px,3.2vw,36px);line-height:1.15;letter-spacing:-.01em;scroll-margin-top:calc(var(--head) + 16px)}
.fq-topic-ic{flex:none;width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:var(--berry-soft);color:var(--berry)}
.fq-item{padding:18px 0;border-bottom:1px solid var(--line);scroll-margin-top:calc(var(--head) + 16px)}
.fq-item h3{margin:0 0 6px;font-size:19px;line-height:26px;font-weight:700;text-wrap:balance}
.fq-item p{margin:0;color:var(--ink-muted);font-size:17px;line-height:27px;text-wrap:pretty}
.fq-item p a{color:var(--link);font-weight:600;text-decoration-thickness:1px;text-underline-offset:3px}
.fq-item p a:hover{color:var(--berry)}
/* The question someone came to by its link: its card lights up, once. */
.fq-item:target{margin:0 -18px;padding:18px;border-radius:20px;border-bottom-color:transparent;background:var(--yolk-soft)}
@media (prefers-reduced-motion:no-preference){.fq-item:target{animation:fq-found 1.6s var(--ease) both}}
@keyframes fq-found{from{box-shadow:0 0 0 3px var(--berry-mark)}to{box-shadow:0 0 0 3px transparent}}
.fq-more{margin-top:32px}
.fq-more a{color:var(--link);font-weight:700}
.fq .ln-social{margin-top:48px}
@media (max-width:959px){
.fq-layout{grid-template-columns:minmax(0,1fr)}
.fq-chips{position:static;flex-direction:row;flex-wrap:wrap}
.fq-n{margin-left:2px}
}

/* ===== «Seguridad y privacidad» (landing/security/page.json): the FAQ's page, the day its facts were checked under the
   title, «En corto» in the downloads' cards, and the answers that are a list (what goes to Google, how long it keeps it). */
.sc-date{margin:14px 0 0}
.sc-date svg{flex:none;color:var(--leaf)}
.sc-short{margin:4px 0 clamp(36px,6vh,56px)}
.sc-short .dl-h2{font-size:clamp(28px,3.2vw,36px)}
.sc-list{margin:10px 0 0;padding:0 0 0 22px;color:var(--ink-muted);font-size:17px;line-height:27px}
.sc-list li + li{margin-top:8px}
.sc-list li::marker{color:var(--berry)}
.sc-list strong{color:var(--ink)}
.sc-list a{color:var(--link);font-weight:600}
.fq-item .sc-note{margin-top:10px}

/* ===== The download pages ===== */
.dl-main{padding:0}
.dl-hero .ln-crumbs ol{margin:0 0 clamp(14px,2.4vh,22px)}
/* The store's state: a raspberry pill, its dot breathing while the app is still to come. */
.dl-status{display:inline-flex;align-items:center;gap:8px;margin:0 0 clamp(12px,2vh,18px);padding:6px 14px 6px 12px;border-radius:9999px;background:var(--berry-soft);color:var(--berry);font:700 14px/20px var(--font-sans)}
.dl-dot{flex:none;width:8px;height:8px;border-radius:50%;background:currentColor}
@media (prefers-reduced-motion:no-preference){.dl-status.is-soon .dl-dot{animation:dl-pulse 2s ease-out infinite}}
@keyframes dl-pulse{0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--berry) 45%,transparent)}100%{box-shadow:0 0 0 9px transparent}}
.dl-lead{margin:clamp(12px,2vh,18px) 0 0;max-width:28em;font-size:clamp(17px,1.4vw,20px);line-height:1.45;color:var(--ink-muted);text-wrap:pretty}
.dl-social{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.dl-social-hero{margin-top:clamp(16px,3vh,28px)}
.dl-social .lp-btn{gap:8px}
.dl-social svg{flex:none;width:18px;height:18px}
.dl-get{margin-top:clamp(16px,3vh,28px)}
.dl-get .lp-badge img{height:52px}
.dl-get .lp-badge-android img{height:75px;margin:-11px -8px}

/* The sections under the hero: one heading, then cards. */
.dl-sec{padding:clamp(48px,9vh,96px) 0 0}
.dl-h2{margin:0 0 clamp(18px,3vh,28px);font-family:var(--font-display);font-weight:400;font-size:clamp(32px,3.8vw,48px);line-height:1.1;letter-spacing:-.015em;text-wrap:balance}
.dl-cards{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.dl-card{padding:24px;border-radius:28px;background:var(--surface-raised);border:1.5px solid var(--line);box-shadow:0 3px 0 var(--line)}
.dl-card-ic{width:52px;height:52px;margin-bottom:14px;border-radius:16px;display:grid;place-items:center;background:var(--berry-soft);color:var(--berry)}
.dl-card h3{margin:0 0 6px;font-size:20px;line-height:26px;font-weight:700}
.dl-card p{margin:0;color:var(--ink-muted);font-size:16px;line-height:24px}
.dl-facts{margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.dl-fact{padding:20px 22px;border-radius:24px;background:var(--surface-sunken)}
.dl-fact dt{display:flex;align-items:center;gap:10px;margin:0 0 8px;font-size:16px;line-height:22px;font-weight:700}
.dl-fact-ic{flex:none;display:grid;color:var(--berry)}
.dl-fact dd{margin:0;color:var(--ink-muted);font-size:15px;line-height:22px}
.dl-fact dd a{color:var(--link);font-weight:600}
.dl-sec .lp-faqs-list{width:100%}
.dl-all{margin:20px 0 0}
.dl-end{display:flex;flex-direction:column;gap:20px;padding-top:clamp(40px,7vh,72px);padding-bottom:clamp(48px,9vh,96px)}
.dl-end > .ln-social{margin:0}
/* The other platform: one card, all of it the link. */
.dl-other a{display:flex;align-items:center;gap:16px;padding:18px 22px;border-radius:24px;background:var(--surface-raised);border:1.5px solid var(--line);box-shadow:0 3px 0 var(--line);color:var(--ink);text-decoration:none;transition:border-color .2s,transform .2s}
.dl-other a:hover{border-color:var(--berry-mark);transform:translateY(-1px)}
.dl-other-ic{flex:none;width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:var(--berry-soft);color:var(--berry)}
.dl-other-t{flex:1;display:flex;flex-direction:column;font-size:19px;line-height:24px;font-weight:700}
.dl-other-t small{font-size:14px;line-height:20px;font-weight:600;color:var(--ink-muted)}
.dl-other a > svg:last-child{flex:none;color:var(--berry)}

/* The hub: Yema showing her phone, and the two platforms (src/site.js puts the visitor's first, marked). */
.dl-hub{padding:20px 0 0;background:radial-gradient(44% 60% at 88% 24%,color-mix(in srgb,var(--berry-mark) 34%,transparent),transparent 70%),radial-gradient(28% 36% at 4% 12%,var(--yolk-soft),transparent 72%)}
.dl-pick{list-style:none;margin:8px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.dl-plat{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:28px;border-radius:32px;background:var(--surface-raised);border:1.5px solid var(--line);box-shadow:0 4px 0 var(--line)}
.dl-plat.is-yours{order:-1;border-color:var(--berry);box-shadow:0 0 0 3px var(--berry-soft),0 4px 0 var(--line)}
.dl-yours{position:absolute;top:22px;right:22px;padding:4px 10px;border-radius:9999px;background:var(--berry);color:var(--on-berry);font:700 12px/16px var(--font-sans)}
.dl-plat-ic{width:56px;height:56px;margin-bottom:6px;border-radius:18px;display:grid;place-items:center;background:var(--berry-soft);color:var(--berry)}
.dl-plat h2{margin:0;font-family:var(--font-display);font-weight:400;font-size:36px;line-height:1.1}
.dl-plat-req{margin:0;color:var(--ink-muted);font-size:16px;line-height:22px;font-weight:600}
.dl-plat .dl-status{margin:8px 0 14px}
.dl-plat .lp-btn{margin-top:auto}

@media (max-width:959px){
/* The phone's room at the bottom of the first screen, a bit shorter than the home's: the words above are more. */
.lp-sec.lp-hero.dl-hero{--vis:min(50svh,430px)}
.dl-cards{grid-template-columns:minmax(0,1fr)}
.dl-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:719px){
.dl-pick{grid-template-columns:minmax(0,1fr)}
.dl-facts{grid-template-columns:minmax(0,1fr)}
.dl-plat{padding:22px}
.dl-hero .ln-crumbs{display:none}
.dl-lead{font-size:16px;line-height:23px}
/* The three accounts on one row, and the topics as small chips, so the first screen keeps its room. */
.dl-social-hero{gap:6px}
.dl-social-hero .lp-btn{min-height:40px;padding:6px 12px;gap:6px;font-size:14px}
.dl-social-hero svg{width:16px;height:16px}
.fq-chips{gap:6px}
.fq-chips a{min-height:38px;padding:0 8px 0 12px;gap:6px;font-size:14px}
.fq-chips a svg{width:16px;height:16px}
}

/* ===== «Funciones» (landing/tools/features.mjs, 31 October 2026): the downloads' hero with the app's capture and the
   part that matters ringed, how it works in cards, the two plans side by side, the questions and where to go next ===== */
.ft-main.ln{padding-bottom:0}
.dl-main.ft-main{padding-bottom:0}
.ft-kicker a{color:inherit;text-decoration:none}
.ft-kicker a:hover{text-decoration:underline;text-underline-offset:3px}
.ft-kicker svg{flex:none}
.ft-h1{max-width:13em;font-size:clamp(2.1rem,min(3.4vw,6.2vh),3.4rem);line-height:1.08}
.ft-hero .dl-lead{max-width:30em}
/* The cast beside the phone, as the hero's Yema; a picture here (castImg), so it takes the room's width. */
.lp-hero-yema.ft-cast img{display:block;width:100%;height:auto}
.ft-solo .ft-solo-yema{position:relative;z-index:2;width:min(46cqh,300px)}
.ft-solo .ft-solo-yema img{display:block;width:100%;height:auto}
.ft-points.is-four{grid-template-columns:repeat(2,minmax(0,1fr))}
.ft-point h3{text-wrap:balance}
.ft-plans{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.ft-plan{padding:24px;border-radius:28px;background:var(--surface-raised);border:1.5px solid var(--line);box-shadow:0 3px 0 var(--line)}
.ft-plan p{margin:0;color:var(--ink-muted);font-size:17px;line-height:26px;text-wrap:pretty}
.ft-plan .ft-plan-h{display:flex;align-items:center;gap:10px;margin:0 0 10px;color:var(--ink);font-size:20px;line-height:26px;font-weight:700}
.ft-plan-h svg{flex:none;color:var(--leaf)}
/* Yema Plus in ink, as its pill (docs/landing-sistema.md §11). */
.ft-plan.is-plus{background:var(--ink);border-color:var(--ink);box-shadow:0 3px 0 #000}
.ft-plan.is-plus p{color:rgba(255,255,255,.82)}
.ft-plan.is-plus .ft-plan-h{color:#fff}
.ft-plan.is-plus .ft-plan-h svg{color:var(--berry-mark)}
.ft-privacy{margin-top:16px}
.ft-privacy b{color:var(--ink)}
.ln-wrap.ft-wrap{max-width:1200px;padding-top:clamp(24px,5vh,56px);padding-bottom:clamp(48px,9vh,96px)}
.ft-faq h2{margin-top:0;font-family:var(--font-display);font-weight:400;font-size:clamp(30px,3.4vw,42px);line-height:1.1}
.ft-faq{max-width:860px}
/* A feature as a card: its icon in its tint, its name, one line, and «Yema Plus» where it lives there. */
.ft-card{grid-template-columns:48px minmax(0,1fr);grid-template-rows:auto 1fr auto}
.ft-card-ic{grid-row:1 / 4;width:48px;height:48px;border-radius:16px;display:grid;place-items:center;background:var(--berry-soft);color:var(--berry)}
.ft-card .ln-card-d{grid-column:2}
.ft-card-plus{grid-column:2;justify-self:start;align-self:end;display:inline-flex;align-items:center;min-height:24px;padding:0 10px;border-radius:9999px;background:var(--ink);color:#fff;font-size:12px;line-height:16px;font-weight:700}
.ft-hub .ln-hub-char img{display:block;width:100%;height:auto}
@media (max-width:959px){
.lp-sec.lp-hero.ft-hero{--vis:min(52svh,440px)}
.ft-points.is-four{grid-template-columns:minmax(0,1fr)}
.ft-plans{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:719px){
.ft-h1{font-size:clamp(1.9rem,8vw,2.5rem)}
.ft-hero .ln-crumbs{display:none}
}
