/* The module pages (2026-10-18): the rules of the old Modules page, kept for the static pages that replace it, and the rules of the new parts. */
body{background:#fff}
.shell{display:grid;grid-template-columns:268px minmax(0,1fr);gap:clamp(24px,3vw,44px);align-items:start;padding-block:28px 72px}

/* ---------- the family list on the side ---------- */
.side{position:sticky;top:calc(86px + env(safe-area-inset-top,0px));max-height:calc(100vh - 110px);overflow-y:auto;padding-right:4px}
.side a.all{display:flex;align-items:center;gap:10px;font-family:var(--gt-display);font-weight:600;font-size:15px;color:var(--gt-geo);padding:8px 10px;border-radius:10px}
.side a.all:hover{background:var(--gt-ground)}
.side h3{font-size:11.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--gt-faint);font-weight:600;margin:18px 10px 6px}
.side .fam{display:flex;align-items:center;gap:11px;padding:7px 10px;border-radius:10px;font-family:var(--gt-display);font-weight:500;font-size:14.5px;color:var(--gt-ink-2)}
.side .fam:hover{background:var(--gt-ground)}
.side .fam[aria-current]{background:var(--gt-ground);color:var(--gt-geo);font-weight:600;box-shadow:var(--gt-shadow-sm)}
.side .fam .n{margin-left:auto;font-family:var(--gt-mono);font-size:12px;color:var(--gt-faint)}
@media (max-width:980px){
  .shell{grid-template-columns:minmax(0,1fr);padding-top:0}
  .side{position:sticky;top:calc(70px + env(safe-area-inset-top,0px));z-index:20;max-height:none;display:flex;gap:6px;overflow-x:auto;background:#fff;padding:10px 0;margin-inline:calc(-1 * clamp(16px,4vw,40px));padding-inline:clamp(16px,4vw,40px);border-bottom:1px solid var(--gt-line)}
  .side h3{display:none}
  .side .fam,.side a.all{flex:none;white-space:nowrap;background:var(--gt-ground);border:1px solid var(--gt-line)}
  .side .fam .n{display:none}
}

/* ---------- breadcrumb ---------- */
.crumbs{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--gt-muted);font-family:var(--gt-display)}
.crumbs a:hover{color:var(--gt-geo)}
.crumbs svg{width:14px;height:14px;color:var(--gt-faint)}

/* ---------- a family ---------- */
.fhead{background:var(--gt-ground);border:1px solid var(--gt-line);border-radius:22px;padding:clamp(22px,3.4vw,40px);display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:clamp(24px,3vw,44px);margin-top:16px}
.fhead .id{display:flex;gap:20px;align-items:flex-start}
.fhead h1{font-size:clamp(30px,3.6vw,46px);line-height:1.05}
.fhead .lede{font-family:var(--gt-display);font-weight:500;font-size:clamp(18px,1.7vw,21px);line-height:1.4;color:var(--gt-ink);margin-top:12px}
.fhead .about{font-size:16.5px;color:var(--gt-ink-2);margin-top:16px;max-width:64ch}
.fhead aside{border-left:1px solid var(--gt-line-2);padding-left:clamp(18px,2.4vw,32px);display:grid;gap:18px;align-content:start}
.fhead aside h4{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--gt-faint);font-weight:600}
.fhead aside .ticks li{font-size:15px}
@media (max-width:1100px){.fhead{grid-template-columns:minmax(0,1fr)}.fhead aside{border-left:0;padding-left:0;border-top:1px solid var(--gt-line-2);padding-top:20px}}
@media (max-width:520px){.fhead .id{flex-direction:column;gap:14px}}

.index{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}
.index a{display:inline-flex;align-items:center;gap:9px;background:var(--gt-ground);border:1px solid var(--gt-line);border-radius:12px;padding:6px 12px 6px 6px;font-family:var(--gt-display);font-weight:500;font-size:14px;color:var(--gt-ink-2)}
.index a:hover{border-color:#c8d1c0;color:var(--gt-geo)}

/* ---------- a module ---------- */
.mods{display:grid;gap:22px;margin-top:26px}
.fhead .chips li,.mod .chips li,.mod .frames,.fhead .frames{background:#fff}
.mod{background:var(--gt-ground);border:1px solid var(--gt-line);border-radius:22px;padding:clamp(20px,3vw,34px);scroll-margin-top:96px}
.mod.hit{box-shadow:0 0 0 3px var(--gt-terva-300),var(--gt-shadow-sm)}
.mhead{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.mhead .t{flex:1;min-width:220px}
.mhead h2{font-size:clamp(22px,2.3vw,28px);line-height:1.15}
.mhead p{font-size:16.5px;color:var(--gt-ink-2);margin-top:4px}
.mbody{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(22px,3vw,40px);margin-top:22px;align-items:start}
.mod>.io{margin-top:22px}
.mtext{display:grid;gap:20px}
.mtext>p{font-size:16.5px;color:var(--gt-ink-2)}
.io{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.io>div{background:#fff;border:1px solid var(--gt-line);border-radius:14px;padding:14px 16px}
.io h4{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--gt-faint);font-weight:600;margin-bottom:9px}
.io .ticks li{font-size:15px}
.meth h4{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--gt-faint);font-weight:600;margin-bottom:8px}
.mbody .win{box-shadow:var(--gt-shadow-sm)}
@media (max-width:1180px){.mbody{grid-template-columns:minmax(0,1fr)}}
@media (max-width:520px){.io{grid-template-columns:1fr}.mhead .btn{width:100%}}

/* ---------- next and previous family ---------- */
.pn{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:28px}
.pn a{display:flex;align-items:center;gap:14px;background:var(--gt-ground);border:1px solid var(--gt-line);border-radius:16px;padding:16px 18px}
.pn a:hover{border-color:#c8d1c0}
.pn a.next{justify-content:flex-end;text-align:right}
.pn small{display:block;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--gt-faint);font-family:var(--gt-display);font-weight:600}
.pn b{font-family:var(--gt-display);color:var(--gt-geo);font-size:17px}
@media (max-width:620px){.pn{grid-template-columns:1fr}}

/* ---------- for a visitor: opening a module asks for the sign-in (2026-10-16) ---------- */
.vnote{display:flex;gap:12px;align-items:flex-start;margin-top:16px;padding:12px 16px;border:1px solid var(--gt-terva-300);border-radius:14px;background:#f6faf0;font-size:15.5px;line-height:1.5;color:var(--gt-ink-2)}
.vnote svg{width:20px;height:20px;flex:none;margin-top:2px;color:var(--gt-terva)}
.vnote b{display:block;font-family:var(--gt-display);font-weight:600;color:var(--gt-ink)}
.vnote a{color:var(--gt-geo);font-weight:600;text-decoration:underline;text-underline-offset:3px}

/* ---------- all families ---------- */
/* the head of the Software page and of a discipline: the label above, the headline on the left and the sentence under it on the right (the whole width is used; on a phone they stack) */
.ohead{margin-top:16px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:clamp(32px,6vw,96px);align-items:start}
.ohead .eyebrow{grid-column:1/-1}
.ohead h1{font-size:clamp(30px,3.6vw,46px);line-height:1.05;margin:0}
.ohead p{font-size:18px;line-height:1.55;color:var(--gt-ink-2);margin:6px 0 0}
@media (max-width:900px){.ohead{grid-template-columns:minmax(0,1fr)}.ohead p{margin-top:14px}}
.ogroup{margin-top:34px}
.ogroup>h2{font-size:20px;padding-bottom:10px;border-bottom:1px solid var(--gt-line);margin-bottom:14px}
.ofam{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:20px;background:var(--gt-ground);border:1px solid var(--gt-line);border-radius:18px;padding:20px;margin-bottom:14px}
.ofam .h{display:flex;gap:16px;align-items:flex-start}
.ofam h3{font-size:21px}
.ofam p{font-size:15.5px;color:var(--gt-ink-2);margin-top:6px}
.ofam .link{margin-top:12px}
.ofam ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));gap:6px}
.ofam ul a{display:flex;align-items:center;gap:10px;padding:6px 8px;border-radius:10px;font-size:15px;color:var(--gt-ink-2)}
.ofam ul a:hover{background:#fff;color:var(--gt-geo)}
@media (max-width:900px){.ofam{grid-template-columns:minmax(0,1fr)}}

/* ---------- the pages of the modules ---------- */
main.cp{padding-bottom:80px}
.cp .crumbs{margin-top:22px;flex-wrap:wrap}
.cp h1{font-size:clamp(28px,3.4vw,44px);line-height:1.08}
.cp .sec{margin-top:clamp(36px,5vw,56px)}
.cp .sec>h2{font-size:clamp(21px,2.1vw,27px);line-height:1.15}
.cp .sec>p.lead{margin-top:10px;font-size:17px;color:var(--gt-ink-2);max-width:72ch}
.cp .fhead .about{max-width:68ch}
.cta{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.cp .fhead .ticks li{font-size:15.5px}
.fhead .eyebrow a:hover{text-decoration:underline}

/* the three promises: online, no dongle, on a phone and a tablet */
.promise{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}
.promise>div{display:flex;gap:14px;align-items:flex-start;background:var(--gt-geo-50);border:1px solid var(--gt-geo-100);border-radius:16px;padding:16px 18px}
.promise svg{width:30px;height:30px;flex:none;color:var(--gt-geo);margin-top:2px}
.promise b{display:block;font-family:var(--gt-display);font-weight:600;font-size:16.5px;line-height:1.25;color:var(--gt-geo)}
.promise span{display:block;margin-top:4px;font-size:15px;line-height:1.45;color:var(--gt-ink-2)}
@media (max-width:820px){.promise{grid-template-columns:minmax(0,1fr)}}

/* cards of modules and of packs */
.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,290px),1fr));gap:16px;margin-top:18px}
.card{display:flex;flex-direction:column;background:var(--gt-ground);border:1px solid var(--gt-line);border-radius:18px;overflow:hidden;transition:border-color .15s}
.card:hover{border-color:#b9c4ae}
.card .th{aspect-ratio:640/400;background:#f4f6f1;border-bottom:1px solid var(--gt-line);overflow:hidden}
.card .th img{width:100%;height:100%;object-fit:cover}
.card .tx{display:grid;gap:6px;padding:14px 16px 16px}
.card h3{font-size:18px;line-height:1.2}
.card p{font-size:15px;line-height:1.45;color:var(--gt-ink-2)}
.card .go{margin-top:4px;font-family:var(--gt-display);font-weight:600;font-size:14px;color:var(--gt-terva)}
.card .packic{display:flex;align-items:center;gap:12px}

/* the ways on from a module: the free demo, the theory, the manual, the prices */
.golinks{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.golinks a{display:inline-flex;align-items:center;gap:9px;padding:10px 16px;border:1px solid var(--gt-line);border-radius:12px;background:var(--gt-ground);font-family:var(--gt-display);font-weight:500;font-size:15px;color:var(--gt-geo)}
.golinks a:hover{border-color:#b9c4ae}
.golinks svg{width:18px;height:18px;color:var(--gt-terva);flex:none}

/* the body of a module page */
.cp .mod{margin-top:22px}
.cp .mbody .viewer{margin-top:0}
.cp .vnote{margin-top:14px}
.cp .ogroup>h2 a:hover{text-decoration:underline}
.cp .mtext .io{grid-template-columns:minmax(0,1fr);margin-top:0}
.cp .mtext>p{font-size:17px;line-height:1.6}

/* a label above a list: a paragraph, not a heading */
.lbl{margin:0 0 8px;font-family:var(--gt-display);font-size:12px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--gt-faint)}
.cp .fhead aside .lbl{margin-bottom:6px}

/* 2026-11-17 (a page must not scroll sideways at phone width): a word longer than the line breaks in a title (German), and a button of the head whose words do not fit on one line takes two (French, Spanish, Russian); while they fit, nothing moves */
.fhead h1,.ofam h3{overflow-wrap:anywhere}
.fhead .cta .btn{white-space:normal;height:auto;min-height:46px;text-align:center;overflow-wrap:anywhere}

/* questions on the module and pack pages (ai_visibility.py) */
.mfaq{margin:40px 0 8px}
.mfaq h2{font-family:var(--gt-display);font-size:clamp(22px,2.4vw,28px);color:var(--gt-geo);margin:0 0 14px}
.mfaq details{border:1px solid var(--gt-line);border-radius:14px;background:var(--gt-paper,#fff);margin:0 0 10px}
.mfaq summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:15px 20px;font-family:var(--gt-display);font-weight:600;color:var(--gt-geo);font-size:16.5px}
.mfaq summary::-webkit-details-marker{display:none}
.mfaq summary::after{content:"+";font-size:22px;line-height:1;color:var(--gt-terva);flex:none}
.mfaq details[open] summary::after{content:"\2212"}
.mfaq details p{padding:0 20px 16px;margin:0;color:var(--gt-ink-2);font-size:16px;max-width:75ch}
