/* The site's own pages (Rólunk, Ingyenes anyagok). Two parts:
   1. the homepage demo v0.79's section rules these pages use (sections, FAQ, "Ki áll mögötte", the 12 questions list, the
      gift line), cut from its CSS: the homepage itself is not on the site yet, so site.css does not carry them;
   2. Gréti's pages.css of the Rólunk v0.4 / Ingyenes anyagok v0.2 demos, as built (Maris msg 5940, 5949, 5952). */

/* ---------- 1 · from the homepage demo v0.79 ---------- */
.sec,.foot,.legalpage,.ck{color-scheme:light}
.sec{color:var(--ink);padding-block:88px}
.sec .wrap{display:block}
.sec-head{max-width:42rem;margin:0 0 40px}
.sec h2{font-size:clamp(26px,3vw,38px);line-height:1.08;font-weight:800;letter-spacing:-.02em;margin:0 0 16px;text-wrap:balance}
.on-sand{background:var(--sand)}.on-cream{background:var(--cream)}.on-mist{background:var(--mist)}.on-paper{background:var(--paper)}
.on-night .eyebrow{color:var(--vivid)}.on-night .lead,.on-night .ph{color:#C9D9D6}
/* the landing's night section: .sec{color:var(--ink)} above loads after site.css's .on-night{color:var(--cream)} at the same
   specificity and won, so the h2, which has no colour of its own, came out ink on night (Anita TG 5890/5893, Artúr 9701) */
.sec.on-night{color:var(--cream)}
.getlist{margin:0 0 22px;padding:0;list-style:none;display:grid;gap:14px;counter-reset:g}
.getlist li{display:grid;grid-template-columns:30px 1fr;gap:10px;line-height:1.55;color:#DDE7E5}
.getlist li::before{counter-increment:g;content:counter(g);font-weight:800;color:var(--vivid);font-size:18px}
.getlist b{color:var(--cream)}
.about .wrap{display:grid;grid-template-columns:minmax(0,340px) minmax(0,1fr);gap:72px;align-items:center}
.about .photos{position:relative;padding-bottom:80px;padding-right:48px}
.about .frame{margin:0;background:var(--cream);border:1px solid var(--line);padding:7px 7px 22px;border-top-right-radius:24px;box-shadow:-2px 3px 4px var(--shadow-near),-10px 14px 24px var(--shadow-far)}
.about .frame img{display:block;width:100%;height:auto}
.about .main{position:relative;z-index:1;width:100%;max-width:290px;border-top-right-radius:40px;transform:rotate(-2deg)}   /* same plain frame as the small photo, no olive line (Anita 23:09) */
.about .main img{border-top-right-radius:33px}
.about .second{position:absolute;z-index:2;right:0;bottom:0;width:140px;transform:rotate(3.5deg)}
.about .second img{border-top-right-radius:16px}
.about p.body{margin:0 0 24px;color:var(--muted);line-height:1.65;max-width:36em}
.about ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.about li{display:grid;grid-template-columns:22px 1fr;gap:10px;align-items:start;line-height:1.5}
.about li svg{margin-top:2px}
.faq{display:grid;gap:12px;max-width:52rem}
.faq details{background:var(--paper);border:1px solid var(--line);border-left:3px solid var(--sand);border-radius:var(--arc-md)}
.faq summary{cursor:pointer;list-style:none;padding:18px 22px;font-weight:700;font-size:17px;display:flex;justify-content:space-between;gap:16px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-weight:800;color:var(--deep)}
.faq details[open] summary::after{content:"–"}
.faq summary:focus-visible{outline:3px solid var(--deep);outline-offset:2px}   /* light sections only: deep, not vivid (Teo, PR #45 B1) */
.faq .a{padding:0 22px 18px;line-height:1.6}
.faq .a p{margin:0 0 10px}
.faq .a p:last-child{margin-bottom:0}   /* a two-paragraph answer (landing, the lawyer's e-mail answer) */
.faq .a a{color:var(--deep);text-decoration:underline;text-underline-offset:3px;font-weight:600}
.faq .a a:focus-visible{outline:3px solid var(--deep);outline-offset:2px;border-radius:2px}
.ck a,.legalpage a,.faq a{color:var(--deep);font-weight:600;text-underline-offset:3px}
.sec :focus-visible,.top :focus-visible,.foot :focus-visible,.valaszto :focus-visible{outline:3px solid var(--deep);outline-offset:2px}
/* a dark section keeps the light rings site.css gives it (the rule above came later and won: the landing's "Mit kapsz"
   button had a deep ring on night, 2.08 : 1; Teo, PR #45 B1): vivid 5.30 : 1, a button cream 11.12 : 1 as in the demo */
.sec.on-night :focus-visible{outline-color:var(--vivid)}
.sec.on-night .btn:focus-visible{outline-color:var(--cream);outline-offset:3px}
.on-cream .getlist li{color:var(--ink)}
.on-cream .getlist li::before{color:var(--deep)}
.on-cream .getlist b{color:var(--ink)}
.sec .btnw svg.arc path{stroke:var(--deep)}.sec .btnw svg.arc circle{fill:var(--deep)}
.bonus{display:flex;gap:12px;align-items:flex-start;margin:26px 0 0;padding:14px 18px;max-width:34em;background:var(--mist);border-left:3px solid var(--deep);border-radius:var(--arc-md);font-weight:600;line-height:1.5}   /* like the blog sidebar's mint .prod box (Anita TG 4353); vivid only on the primary button and the score ring (style sheet 2) */
.bonus svg{flex:none;width:26px;height:26px;margin-top:-1px}
.faq details[open]{border-left-color:var(--deep)}   /* every card sand (style sheet 6.5), only the open one deep turquoise (owner, Telegram 3575) */
.faq summary{min-height:var(--tap);align-items:center}
.faq summary::after{transition:transform .3s}
.faq details[open] summary::after{content:"+";transform:rotate(45deg)}
.motion .faq details[open] .a{animation:rise .45s cubic-bezier(.2,.7,.2,1)}
.on-sand .eyebrow{color:var(--deep-text)}

@media (max-width:860px){
 .sec{padding-block:56px}
 .about .wrap{grid-template-columns:minmax(0,1fr);gap:40px}
 .about .photos{max-width:340px;margin:0 auto;width:100%;padding-right:40px;padding-bottom:104px}
 .about .main{max-width:260px}.about .second{width:120px}
}

/* ---------- 2 · pages.css of the Rólunk v0.4 / Ingyenes anyagok v0.2 demos ---------- */
/* Rólunk and Ingyenes anyagok pages (Maris 5929, text: rolunk-es-ingyenes-anyagok-szoveg-maris-v0.2.md). Everything shared
   (tokens, header, sections, FAQ, buttons, sign-up band, footer, cookie bar) comes from the homepage build; only what these
   pages add is here. */

/* page head: the contact page's night band, its bottom-right corner a door arc cut into the next section's colour */
.phead-wrap{background:var(--next)}
/* the demo's style="--next:..." as classes (CSP: no style attribute) */
.phead-wrap.next-paper{--next:var(--paper)}
.phead-wrap.next-cream{--next:var(--cream)}
.phead{background:var(--night);color:var(--cream);border-radius:2px 2px clamp(64px,11vw,150px) 2px}
.phead .wrap{padding-block:56px 72px}
.phead h1{max-width:16ch;margin:0 0 16px}
.phead h1:focus{outline:none}
.phead .lead{color:#C9D9D6;max-width:34em}
.phead :focus-visible{outline-color:var(--vivid)}
.jump{display:flex;flex-wrap:wrap;gap:4px 22px;margin-top:24px}
.jump a{display:inline-flex;align-items:center;min-height:var(--tap);color:var(--cream);font-weight:700;font-size:15px;text-decoration:underline;text-decoration-color:var(--vivid);text-underline-offset:5px;text-decoration-thickness:2px}
.jump a:hover{color:var(--vivid)}

/* sections reached by a jump link or from another page land under the sticky header */
#mi-a-livabli,#ki-all-mogotte,#gyik,#kapcsolat,#megosztas,#12-kerdes,#levelek,#blog,#feliratkozas{scroll-margin-top:calc(var(--hdr) + 12px)}

/* 2.1 · running text */
.prose{max-width:46rem}
.prose p{margin:0 0 16px;line-height:1.65;font-size:17px}
.prose .listhead{margin:24px 0 8px;font-weight:700}
.avail{margin:0 0 20px;padding:0;list-style:none;display:grid;gap:8px}
.avail li{position:relative;padding-left:26px;line-height:1.6;font-size:17px}
.avail li::before{content:"";position:absolute;left:2px;top:.45em;width:12px;height:12px;border:2px solid var(--deep);border-left:0;border-bottom:0;border-radius:0 12px 0 0}   /* the brand's door arc, as the list mark */

/* 2.3 · eight questions: the same sand edges as the homepage, the open one deep turquoise (rule 1 above) */

/* 2.4 · contact: the contact page v0.7 form, scoped to the section (the homepage already uses .card, form and .band) */
.kap .kgrid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:56px;align-items:start}
.kap .side{display:grid;gap:22px}
.kap .share{background:var(--mist);border-radius:var(--arc-md);padding:24px 24px 22px;border-left:3px solid var(--deep)}
.kap .share h3{font-size:21px;line-height:1.25;margin:0 0 10px;letter-spacing:-.01em;text-wrap:balance}
.kap .share p{margin:0 0 14px;line-height:1.6}
.kap .share ol{margin:0 0 16px;padding:0;list-style:none;display:grid;gap:8px;counter-reset:q}
.kap .share li{counter-increment:q;display:grid;grid-template-columns:28px minmax(0,1fr);gap:8px;line-height:1.5}
.kap .share li::before{content:counter(q);font-weight:800;color:var(--deep);font-variant-numeric:tabular-nums}
.kap .linkbtn{font:inherit;font-weight:700;color:var(--deep);background:none;border:0;padding:0;min-height:32px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.kap .facts{display:grid;gap:14px;font-size:15px;line-height:1.55}
.kap .facts div{display:grid;grid-template-columns:28px minmax(0,1fr);gap:8px;align-items:start}
.kap .facts svg{margin-top:2px}
.kap .facts p{margin:0}
.kap .facts b{display:block}
.kap .card{background:var(--paper);border:1px solid var(--line);border-left:3px solid var(--deep);border-radius:var(--arc-md);padding:32px;box-shadow:0 1px 0 rgba(74,56,36,.06),0 18px 40px -24px rgba(74,56,36,.30)}
.kap .card h3{font-size:24px;margin:0 0 6px;letter-spacing:-.01em}
.kap .card .req{margin:0 0 24px;font-size:14px;color:var(--muted)}
.kap form{display:grid;gap:20px}
.kap .row2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}
.kap .f{display:grid;gap:7px;min-width:0}
.kap .f label,.kap .f legend{font-weight:700;font-size:15px}
.kap .f .opt{font-weight:500;color:var(--muted);font-size:13px}
.kap .f input,.kap .f textarea{font:inherit;font-size:16px;color:var(--ink);background:var(--cream);border:1.5px solid var(--line-strong);border-radius:2px;padding:13px 14px;width:100%;min-width:0}
.kap .f textarea{min-height:168px;resize:vertical;line-height:1.55}
.kap .f input:focus-visible,.kap .f textarea:focus-visible{outline:3px solid var(--deep);outline-offset:1px;border-color:var(--deep);background:var(--paper)}
.kap .f [aria-invalid="true"]{border-color:var(--terra-ink);background:var(--paper)}
.kap .err{margin:0;font-size:14px;font-weight:600;color:var(--terra-ink)}
.kap .err:empty{display:none}
.kap .f .hint{margin:0;font-size:13px;color:var(--muted);display:flex;justify-content:space-between;gap:12px}
.kap fieldset.f{border:0;padding:0;margin:0}
.kap .topics{display:flex;flex-wrap:wrap;gap:8px;margin-top:2px}
.kap .topics label{position:relative;font-weight:600;font-size:15px}
.kap .topics input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
.kap .topics span{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border:1.5px solid var(--line-strong);border-radius:var(--arc-sm);background:var(--cream);transition:background .2s,border-color .2s,color .2s}
.kap .topics input:checked+span{background:var(--deep);border-color:var(--deep);color:var(--paper)}
.kap .topics input:focus-visible+span{outline:3px solid var(--deep);outline-offset:2px}
.kap .pnote{margin:0;font-size:14px;line-height:1.5;color:var(--muted)}
/* the download page (card #194): one button per file, the name and under it the file type, both inside the button
   (Anita TG 3907, her sketch): the type never wraps away from its button on a phone */
.dllist{list-style:none;margin:0;padding:0;display:grid;gap:16px;justify-items:start}
.dllist .dlbtn{display:inline-flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;max-width:100%;padding:14px 26px}
.dllist .dlname{font-weight:700}
/* .9: 4.97:1 on the button, AA for small text (Teo, PR #54 N1; .75 gave 3.73:1) */
.dllist .dltype{font-size:13px;font-weight:600;opacity:.9}
/* on the darker hover background (#17B0A2) .9 gives 4.29:1; full opacity keeps AA, 4.99:1 (Gréti msg 6953) */
.dllist .dlbtn:hover .dltype{opacity:1}
.kap .pnote p{margin:0}
.kap .pnote p+p{margin-top:8px}
.kap .pnote a{color:var(--deep);font-weight:600}
.kap .hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}   /* the honeypot field `website` (Contact::submit) */
.kap .send{display:flex;flex-wrap:wrap;gap:14px;align-items:center}
.kap .formerr{flex:1 1 260px;min-width:0;margin:0;font-weight:600;line-height:1.45;color:var(--terra-ink)}
.kap .formerr:empty{display:none}
.kap .done{display:grid;gap:14px;justify-items:start;padding-block:8px}
.kap .done:focus{outline:none}
.kap .done h3{font-size:26px;margin:0}
.kap .done p{margin:0;line-height:1.6;max-width:32em}
.kap .done svg{width:72px;height:72px}
/* operator: quiet, under the contact block */
.kap .op{margin-top:48px;padding-top:18px;border-top:1px solid var(--line);font-size:14px;line-height:1.6;color:var(--muted);display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr));gap:18px 40px}
.kap .op p{margin:0 0 6px}
.kap .op b{color:var(--ink)}
.kap .op a{color:var(--deep);font-weight:600}

/* Ingyenes anyagok: three cards in a row on wide screens, the button at each card's foot */
.freecards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}
.fcard{display:flex;flex-direction:column;background:var(--paper);border:1px solid var(--line);border-left:3px solid var(--sand);border-radius:var(--arc-md);padding:28px 26px}   /* every card sand (style sheet 6.5; Anita TG 3616) */
.fcard h2{font-size:clamp(22px,2.2vw,28px)}
.fcard p{margin:0 0 14px;line-height:1.6}
.fcard .gift{font-size:15px;color:var(--muted)}
.fcard .getlist{margin-bottom:8px}
.fcta{margin-top:auto;padding-top:10px}
.fcta .bonus{margin-top:18px}
.fcta .bonus:first-child{margin:0 0 18px}   /* Ingyenes demo v0.6: the letters card's gift above its button, so the three cards' buttons line up at the foot (owner, Telegram 2385) */

@media (max-width:1100px){.freecards{grid-template-columns:minmax(0,1fr)}.fcard{max-width:46rem}}
@media (max-width:900px){.kap .kgrid{grid-template-columns:minmax(0,1fr);gap:32px}}   /* one column: the source order, share box and promises first, then the form its "Erről írok" leads to (Anita, comment db60f78f; Maris 5961, 5971) */
@media (max-width:640px){
 .phead .wrap{padding-block:36px 56px}
 .kap .card{padding:24px 18px}
 .kap .row2{grid-template-columns:minmax(0,1fr)}
 .fcard{padding:24px 18px}
}
/* the contact form's answers without JS (Contact::submit): the address instead of the form when no consent text is published */
.kap .bymail{margin:0;line-height:1.6}
.kap .bymail a{color:var(--deep);font-weight:700}
