@font-face {
  font-family: Manrope;
  src: url('/assets/manrope-latin.woff2') format('woff2');
  font-display: swap;
  font-weight: 400 800;
}
:root {
  color-scheme: light;
  font: 16px/1.55 Manrope, system-ui, sans-serif;
  color: #23232c;
  --muted: #595966;
  --purple: #5842ad;
  --line: #e1dfe8;
  --ease: cubic-bezier(.2,.8,.2,1);
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, ol { margin: 0; }
body { background: radial-gradient(ellipse at 88% 12%,#f0eafb 0,transparent 42rem), #fbfafd; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #755ade; outline-offset: 4px; }
::selection { color: #2e2054; background: #dfd1ff; }
.frame { width: min(1216px, calc(100% - clamp(40px,10vw,144px))); margin-inline: auto; }
.glyph { display: inline-block; flex: none; width: 19px; height: 19px; vertical-align: middle; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; z-index: 5; top: 6px; left: 12px; padding: 12px; background: white; border-radius: 10px; transform: translateY(-150%); }
.skip:focus { transform: none; }
header { border-bottom: 1px solid #e8e6ec; background: #fbfafdde; }
.topbar { min-height: 73px; display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 9px; font-size: 23px; font-weight: 800; letter-spacing: -.08em; }
.brand .brand-logo { width:5em; }
.header-section { border-left: 1px solid #d3cfdd; padding-left: 18px; color: #625d6e; font-size: 13px; font-weight: 650; }
.studio-link, .primary, .lesson-next { display: inline-flex; align-items: center; justify-content: center; gap: 14px; border: 0; border-radius: 100px; min-height: 48px; padding: 10px 19px; font-weight: 750; font-size: 14px; transition: background .2s, transform .25s var(--ease); }
.studio-link { margin-left: auto; min-height: 42px; background: #272631; color: white; font-size: 13px; }
.studio-link .glyph { width: 15px; }
.studio-link:hover, .primary:hover { background: #47346b; }
.lead-grid { display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: clamp(32px,6vw,85px); padding-block: clamp(36px,3.8vw,64px) clamp(38px,4.5vw,69px); }
.introduction { min-width: 0; }
.kicker { display: flex; gap: 9px; align-items: center; color: var(--purple); font-size: 14px; font-weight: 750; }
.kicker .glyph { width: 20px; height: 20px; }
h1 { font-size: clamp(75px,7.7vw,119px); font-weight: 660; line-height: .97; letter-spacing: -.086em; margin: 23px 0 27px; }
h1 em { font-style: normal; background: linear-gradient(104deg,#5133a0,#8e69aa 72%,#9d617d); background-clip: text; -webkit-background-clip: text; color: transparent; }
.introduction > p { max-width: 37ch; font-size: clamp(16px,1.3vw,20px); line-height: 1.55; color: var(--muted); letter-spacing: -.024em; }
.intro-links { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 21px; margin-top: 27px; }
.primary { background: #5640ab; color: white; box-shadow: 0 4px 10px #4c39951c; }
.secondary, .permalink { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; font-weight: 700; color: #514461; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #ada6b9; }
.secondary:hover, .permalink:hover { color: var(--purple); text-decoration-color: currentColor; }
.lesson { isolation: isolate; position: relative; min-width: 0; padding: clamp(21px,2.1vw,34px); background: radial-gradient(ellipse at 112% -5%,#675089 0,transparent 60%),linear-gradient(135deg,#302c48,#241f36 68%); border: 1px solid #fff8; border-radius: clamp(24px,3vw,40px); box-shadow: 0 20px 40px -26px #39334888,inset 0 1px 0 #ffffff35; color: #fff; }
.lesson-top, .lesson-actions, .lesson-label, .lesson-dots { display: flex; align-items: center; }
.lesson-top { justify-content: space-between; gap: 12px; }
.lesson-label { gap: 7px; font-size: 11px; font-weight: 730; color: #e3daf5; letter-spacing: .04em; }
.lesson-label span { width: 7px; height: 7px; background: #c8dea6; border-radius: 50%; box-shadow: 0 0 0 3px #cfebb518; }
.lesson-dots { gap: 4px; }
.lesson-dots i { width: 10px; height: 4px; border-radius: 4px; background: #ffffff35; transition: background .25s,width .25s; }
.lesson-dots .current { width: 16px; background: #d9c4ff; }
.lesson h2 { line-height: 1.1; font-weight: 650; font-size: clamp(24px,2.5vw,38px); letter-spacing: -.063em; margin: 8px 0 15px; }
.sample { position: relative; isolation: isolate; height: clamp(164px,13.5vw,210px); overflow: hidden; border-radius: 15px; border: 1px solid #ffffff61; box-shadow: 0 7px 21px #100c222b; background: #415865; }
.sample-photo { position: absolute; inset: 0; z-index: -2; background: url('/assets/mountain-cover.jpg') 50% 44%/cover; }
.sample-photo.italy { background-image: url('/assets/italy-feature.jpg'); background-position: 50% 45%; opacity: 0; transform: scale(1.045); transition: opacity .42s var(--ease),transform .6s var(--ease); }
.sample[data-scene=italie] .italy { opacity: 1; transform: none; }
.sample::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg,#111828bc,transparent 80%); }
.sample-view { position: absolute; left: 13px; top: 12px; font-size: 10px; line-height: 1.3; font-weight: 750; color: #292439; padding: 6px 10px; border-radius: 20px; background: #fffc; border: 1px solid #fffa; backdrop-filter: blur(9px); }
.sample-copy { position: absolute; bottom: 14px; left: 17px; right: 12px; display: grid; gap: 2px; color: white; text-shadow: 0 1px 8px #13162548; }
.sample-copy span { font-size: 11px; font-weight: 650; }
.sample-copy strong { font: 500 clamp(27px,2.45vw,38px)/1.08 Georgia,serif; letter-spacing: -.045em; }
.lesson-text,.offline-lesson { margin: 14px 0 0; min-height: 3em; font-size: 14px; color: #e4deed; line-height: 1.5; }
.lesson-actions { justify-content: space-between; gap: 10px; margin-top: 11px; }
.lesson-back { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid #94879f; border-radius: 50%; background: transparent; color: white; }
.lesson-back .glyph { transform: rotate(180deg); width: 16px; }
.lesson-back:disabled { opacity: .35; }
.lesson-next { min-height: 43px; background: #f3ecff; color: #332947; font-size: 13px; }
.lesson-next:hover { background: white; }
.lesson button:focus-visible { outline-color: #e1c4ff; }
.library { background: #f6f5fa; border-top: 1px solid #e7e4ed; padding-block: clamp(32px,4vw,64px) 65px; scroll-margin-block-start: 14px; }
.library-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 30px; }
.library-head h2 { font-size: clamp(30px,3.5vw,54px); line-height: 1.1; font-weight: 670; letter-spacing: -.074em; }
.library-head h2 span { color: var(--purple); }
.search { position: relative; display: flex; align-items: center; gap: 10px; width: min(100%,390px); border: 1px solid #d7d3e2; border-radius: 16px; min-height: 49px; padding: 0 13px; background: white; color: #686176; }
.search:focus-within { outline: 2px solid var(--purple); outline-offset: 2px; }
.search input { min-width: 0; flex: 1; width: 100%; font-size: 14px; min-height: 46px; background: transparent; border: 0; outline: none; color: #302c39; }
.search input::placeholder { color: #676372; }
.search input::-webkit-search-cancel-button { display: none; }
.clear { border: 0; background: transparent; color: #5e576d; font-size: 22px; width: 34px; height: 40px; }
.library-grid { display: grid; grid-template-columns: minmax(180px,.31fr) minmax(0,1fr); align-items: start; gap: clamp(23px,4.5vw,72px); }
.library-grid:has(.topic-list[hidden]) { grid-template-columns: 1fr; }
.topic-list { position: sticky; top: 18px; display: grid; gap: 4px; }
.topic-list button { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; min-height: 45px; border: 0; border-radius: 13px; padding: 8px 14px; color: #565362; background: transparent; font-size: 13px; font-weight: 670; }
.topic-list button:hover { background: #ece9f2; }
.topic-list button[aria-pressed=true] { background: #e8e1f7; color: #452779; }
.topic-list .glyph { width: 16px; height: 16px; }
#matches:not(.sr-only) { color: #655d72; font-size: 13px; margin-bottom: 12px; }
.chapter, .empty { background: white; border-radius: 22px; padding: clamp(17px,2.1vw,31px); box-shadow: 0 0 0 1px #38304713,0 4px 11px #33303b03; }
.chapter + .chapter { margin-top: 16px; }
.chapter h3 { display: flex; align-items: center; gap: 11px; color: #312b3e; font-size: clamp(19px,1.7vw,25px); line-height: 1.3; font-weight: 740; letter-spacing: -.05em; padding-bottom: 15px; }
.chapter-icon { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 10px; background: #ebe4fa; color: #62428a; flex: none; }
[data-topic=composer] .chapter-icon { background: #ffebdd; color: #81502c; }
[data-topic=publier] .chapter-icon { background: #e1ecf7; color: #2e628c; }
[data-topic=partager] .chapter-icon { background: #dfeee5; color: #336450; }
[data-topic=depanner] .chapter-icon { background: #fae5e6; color: #954857; }
.answer { border-top: 1px solid #e6e3eb; scroll-margin-top: 16px; }
.answer summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 55px; padding: 10px 3px; font-size: 15px; font-weight: 650; line-height: 1.45; }
.answer summary::-webkit-details-marker { display: none; }
.expand { flex: none; color: #716c7d; transition: transform .22s var(--ease); }
.expand .glyph { width: 16px; height: 16px; }
.answer[open] .expand { transform: rotate(45deg); color: var(--purple); }
.answer[open] summary,.answer summary:hover { color: var(--purple); }
.answer-body { color: #4d4858; font-size: 15px; line-height: 1.65; padding: 0 8px 12px 2px; }
.answer-body ol { padding-left: 1.55em; }
.answer-body li { padding-left: .4em; margin-bottom: 7px; }
.answer-body li::marker { color: #6c5688; font-weight: 750; }
.answer-body b { font-weight: 740; color: #40364e; }
.answer-body ol a { text-decoration: underline; text-underline-offset: 3px; color: var(--purple); }
.permalink { font-size: 12px; color: #655975; }
.empty h3 { font-size: 21px; }.empty p { color: var(--muted); margin: 7px 0 18px; }
footer { border-top: 1px solid #e4e1eb; background: #f6f5fa; }
footer .frame { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; padding-block: 20px; }
footer a { display: inline-flex; align-items: center; min-height: 40px; font-size: 13px; font-weight: 650; color: #5c5568; }
footer a:last-child { margin-left: auto; }
@keyframes rise { from { opacity: .3; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media(prefers-reduced-motion:no-preference) {
  .introduction, .lesson { animation: rise .52s var(--ease) both; }
  .lesson { animation-delay: .07s; }
  .answer[open] .answer-body { animation: rise .2s var(--ease); }
  .primary:hover,.lesson-next:hover { transform: translateY(-1px); }
}
@media(max-width:820px) {
  .lead-grid { gap: 23px; grid-template-columns: 1fr 1fr; }
  h1 { font-size: clamp(62px,9vw,76px); }
  .library-grid { gap: 18px; }
}
@media(max-width:700px) {
  .frame { width: calc(100% - 34px); }
  .topbar { min-height: 62px; gap: 10px; }
  .header-section { display: none; }
  .lead-grid { grid-template-columns: 1fr; gap: 26px; padding-block: 31px; }
  .introduction { padding: 0 3px; }
  .kicker { font-size: 12px; }
  h1 { font-size: clamp(62px,11vw,79px); margin: 14px 0 16px; }
  h1 br { display: block; }
  .introduction > p { max-width: 43ch; }
  .intro-links { margin-top: 17px; gap: 8px 17px; }
  .primary { font-size: 13px; gap: 8px; padding: 10px 15px; }
  .lesson { padding: 20px; }
  .sample { height: clamp(148px,38vw,215px); }
  .lesson-text,.offline-lesson { min-height: auto; }
  .library-head { align-items: stretch; flex-direction: column; gap: 14px; margin-bottom: 16px; }
  .search { width: 100%; }
  .search input { font-size: 16px; }
  .library-grid { grid-template-columns: 1fr; gap: 16px; }
  .topic-list { position: static; display: flex; flex-wrap: wrap; gap: 5px; }
  .topic-list button { width: auto; min-height: 38px; gap: 6px; padding: 6px 10px; border-radius: 10px; font-size: 12px; background: #efeef4; }
  .topic-list .glyph { width: 14px; height: 14px; }
  .answer summary { font-size: 14px; }
  footer .frame { gap: 5px 15px; }
}
@media(max-width:370px) {
  .frame { width: calc(100% - 28px); }.intro-links { gap: 4px 12px; }
  .secondary { font-size: 12px; }.lesson { padding: 16px; }
  .studio-link { padding: 8px 13px; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation: none!important; transition: none!important; } }
@media(forced-colors:active) {
  h1 em { color: CanvasText; }.sample-copy { background: Canvas; color: CanvasText; }
  .topic-list button[aria-pressed=true] { outline: 2px solid Highlight; }.primary,.studio-link,.lesson-next { border: 1px solid ButtonText; }
}

/* The guide uses the same paper, ink and editorial type as the home page. */
.guide-body { --purple:var(--fp-deep-orange); --muted:var(--fp-muted); --line:var(--fp-line); background:var(--fp-paper); color:var(--fp-ink); font-family:Archivo,Arial,sans-serif; }
.guide-body .frame { width:min(calc(100% - 2 * clamp(18px,4.5vw,78px)), 1570px); }
.guide-body header { background:transparent; border:0; }.guide-body .topbar { min-height:82px; border-bottom:1px solid var(--fp-line); }
.guide-body .brand { font-size:29px; letter-spacing:-.073em; gap:6px; }
.guide-body .header-section { color:var(--fp-muted); border-color:var(--fp-line); }.guide-body .secondary,.guide-body .permalink { color:var(--fp-muted); text-decoration-color:var(--fp-edge); }
.guide-body .lead-grid { grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr); gap:clamp(24px,5vw,80px); padding-block:clamp(32px,4.7vw,76px); }
.introduction h1 { font-size:clamp(69px,7.4vw,124px); line-height:.93; letter-spacing:-.065em; font-weight:840; margin:0 0 25px; }
.introduction h1 em { display:inline-block; font:italic 500 1.08em/.99 Newsreader,Georgia,serif; color:var(--fp-ink); background:none; letter-spacing:-.058em; }
.guide-body .lesson { background:var(--fp-ink); border:1px solid var(--fp-ink); border-radius:23px; box-shadow:0 10px 25px -18px #18201050; }
.lesson .lesson-label,.lesson .lesson-text,.lesson .offline-lesson { color:var(--fp-paper); }
.lesson-label span,.lesson-dots .current { background:var(--fp-orange); box-shadow:none; }
.lesson .sample { border-radius:13px; height:clamp(164px,15vw,242px); }
.sample .sample-copy strong { font-family:Newsreader,Georgia,serif; font-style:italic; }
.lesson .lesson-text { min-height:2.9em; }.sample .sample-view { color:var(--fp-ink); background:#f9faf3eb; }
.guide-body .library,.guide-body footer { background:var(--fp-wash); border-color:var(--fp-line); }
.library-head h2 { font-weight:780; letter-spacing:-.055em; }.library-head h2 span { color:#bf3925; }
.library .search { border-color:var(--fp-line); border-radius:999px; }.search input,.search input::placeholder,.search .clear { color:var(--fp-muted); }
.guide-body .topic-list button { color:var(--fp-muted); }.guide-body .topic-list button[aria-pressed=true] { background:var(--fp-ink); color:white; }
.guide-body .topic-list button:not([aria-pressed=true]):hover { background:var(--fp-wash); }
.guide-body .chapter,.guide-body .empty { border:1px solid var(--fp-line); box-shadow:none; border-radius:17px; }
.guide-body .chapter h3 { color:var(--fp-ink); }.guide-body .chapter-icon { background:var(--fp-wash); color:var(--fp-muted); }
.guide-body .answer { border-color:var(--fp-line); }.guide-body .answer-body,.guide-body .answer-body b { color:var(--fp-muted); }
.guide-body .expand { color:var(--fp-muted); }.guide-body .answer-body li::marker,.guide-body .answer[open] summary { color:var(--fp-deep-orange); }
.guide-body footer a { color:var(--fp-muted); min-height:44px; }
@media(max-width:700px){
  .guide-body .topbar { min-height:62px; }.guide-body .brand { font-size:24px; }
  .guide-body .lead-grid { grid-template-columns:1fr; gap:24px; padding-block:31px; }.introduction h1 { font-size:clamp(58px,13vw,80px); margin:0 0 13px; }
  .guide-body .introduction { padding:0; }.guide-body .intro-links { gap:8px 15px; }
  .guide-body .topic-list button { background:var(--fp-wash); border-radius:999px; min-height:44px; }
  .guide-body .lesson { padding:18px; }.lesson .lesson-text { min-height:0; }
}


.guide-body .skip:not(:focus) { clip-path:inset(50%); overflow:hidden; width:1px; height:1px; padding:0; white-space:nowrap; }

.guide-body .library .search { border-radius:10px; }
.guide-body .topic-list button { border-radius:8px; }
.guide-body .lesson { box-shadow:none; }
.guide-body .lesson .lesson-dots .current { background:var(--fp-orange); }
.guide-body .header-section,.guide-body footer a { color:var(--fp-muted); }
.guide-body .topic-list button:focus-visible { outline-offset:2px; }
