:root {
  /* ── Core palette ── */
  --kl-black:       #000000;
  --kl-white:       #ffffff;
  --kl-surface:     #f8f8f8;
  --kl-hover:       #f0f0f0;
  --kl-rule:        #eeeeee;

  --kl-gold:        #9a7b0a;
  --kl-gold-soft:   #fffbf0;
  --kl-slogan-gold: #a08a5b;

  /* Numeric / semantic digit colours — only on numbers, never on chrome */
  --kl-digit-pos:   #009900;
  --kl-digit-neg:   #990000;
  --kl-digit-neu:   #000099;

  /* Foreground roles */
  --fg-1: #000000;
  --fg-2: #333333;
  --fg-3: #666666;
  --fg-4: #999999;

  /* Borders */
  --border-strong: 1px solid #000000;
  --border-soft:   1px solid #eeeeee;
  --border-dashed: 2px dashed #cccccc;

  --radius: 0;
  --shadow-modal: 0 2px 6px rgba(0, 0, 0, 0.15);

  --space-1: 4px;
  --space-2: 6px;
  --space-3: 8px;
  --space-4: 12px;
  --space-5: 16px;
  --space-6: 24px;
  --space-7: 32px;

  --font-mono: 'Roboto Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --fs-xs:   0.72rem;
  --fs-sm:   0.85rem;
  --fs-body: 0.9rem;
  --fs-base: 14px;
  --fs-h3:   1rem;
  --fs-h2:   1.2rem;
  --fs-h1:   1.5rem;

  --lh-tight: 1.4;
  --lh-base:  1.5;

  --weight-regular: 400;
  --weight-medium:  500;
  --weight-bold:    700;

  --letter-tracked: 0.04em;

  --motion-fast: 0.15s;
  --motion-base: 0.3s;
}

html, body {
  background: var(--kl-white);
  color: var(--kl-black);
  font-family: var(--font-mono);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  margin: 0;
}
* { box-sizing: border-box; }

@font-face{font-family:'Roboto Mono';src:url('/ressources/font/RobotoMono-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:'Roboto Mono';src:url('/ressources/font/RobotoMono-Bold.ttf') format('truetype');font-weight:700;font-display:swap}
:root{color-scheme:light}html{scroll-behavior:smooth;scroll-padding-top:32px}body{font-size:14px}a{color:inherit;text-decoration-thickness:1px;text-underline-offset:5px}button,input{font:inherit}button,a,input,summary{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid var(--kl-gold);outline-offset:5px}img{max-width:100%;height:auto}h1,h2,h3,p,figure{margin:0}p{line-height:1.85;color:var(--fg-2)}h1,h2{white-space:pre-line;letter-spacing:-.065em;font-weight:400;line-height:1.12}h1{font-size:clamp(42px,5.3vw,76px)}h2{font-size:clamp(28px,3vw,42px)}h3{font-size:18px;font-weight:400;letter-spacing:-.035em}main,.site-header,.site-footer{max-width:1280px;margin-inline:auto;padding-inline:48px}.site-header{display:flex;align-items:center;justify-content:space-between;gap:32px;min-height:100px;border-bottom:var(--border-soft)}.wordmark{font-weight:700;font-size:20px;letter-spacing:-1px;text-decoration:none;white-space:nowrap}.brand-dot{color:var(--kl-gold)}.site-header nav{display:flex;gap:28px;align-items:center}.site-header nav a{text-decoration:none;font-size:12px;padding:10px 0}.site-header nav a:hover,.site-header nav a[aria-current]{text-decoration:underline;text-underline-offset:9px}.header-actions{display:flex;align-items:center;gap:22px}.language-button{border:0;background:transparent;padding:12px 0;cursor:pointer;font-size:12px}.button{display:inline-flex;align-items:center;justify-content:center;background:var(--kl-black);color:var(--kl-white);border:var(--border-strong);padding:17px 24px;text-decoration:none;font-size:13px;white-space:nowrap}.button:hover{background:var(--kl-white);color:var(--kl-black)}.button.compact{padding:10px 24px}.text-link{font-size:12px;text-underline-offset:7px}.skip-link{position:absolute;top:-100px;background:var(--kl-white);padding:16px;z-index:10}.skip-link:focus{top:4px}.hero{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:28px;padding:80px 0 66px}.eyebrow{font-size:11px;color:var(--fg-3);margin-bottom:26px}.hero .lead{max-width:480px;margin-top:28px;font-size:15px;line-height:1.9}.hero-actions{display:flex;align-items:center;gap:26px;margin-top:32px}.hero-note{font-size:10px;margin-top:17px;color:var(--fg-3)}.kingdom-scene{position:relative;min-height:430px;border:var(--border-soft);background-color:var(--kl-surface);overflow:hidden;background-image:linear-gradient(var(--kl-rule) 1px,transparent 1px),linear-gradient(90deg,var(--kl-rule) 1px,transparent 1px);background-size:48px 48px}.scene-coordinate{position:absolute;top:18px;left:18px;font-size:9px;color:var(--fg-3)}.scene-piece{position:absolute;display:flex;flex-direction:column;align-items:center}.scene-piece img{width:100%;object-fit:contain}.scene-piece span{font-size:10px;background:var(--kl-white);border:var(--border-strong);padding:4px 9px}.scene-piece.tower{width:210px;top:49px;left:calc(50% - 105px)}.scene-piece.village{width:152px;left:12px;bottom:56px}.scene-piece.wizard{width:137px;right:16px;bottom:58px}.scene-cross{position:absolute;color:var(--fg-3);font-size:20px}.scene-cross.one{left:45px;top:100px}.scene-cross.two{right:33px;top:70px}.kingdom-scene figcaption{position:absolute;bottom:0;width:100%;padding:13px 8px;background:var(--kl-white);border-top:var(--border-soft);text-align:center;font-size:9px;color:var(--fg-3)}.intro-band{border-block:var(--border-strong);display:flex;justify-content:space-between;align-items:center;gap:24px;padding:20px 0}.intro-band p{font-size:13px;color:var(--kl-black)}.intro-band>span{font-size:10px;color:var(--fg-3)}.feature-section,.first-steps{padding:78px 0}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:32px;margin-bottom:40px}.section-heading p{max-width:350px;font-size:12px}.features{display:grid;grid-template-columns:repeat(3,1fr);gap:38px}.features article{border-top:var(--border-soft);padding-top:20px}.features img{width:92px;height:92px;object-fit:contain;margin-bottom:20px}.features h3{margin-bottom:15px}.features p{font-size:12px}.world-section{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:80px;border-block:var(--border-soft);padding:50px 0}.world-art{background:var(--kl-surface);min-height:320px;display:flex;flex-direction:column;align-items:center;justify-content:center}.world-art img{width:240px;height:240px;object-fit:contain}.world-art p{font-size:10px;padding:15px;text-align:center}.world-section>div>p{margin-block:22px;font-size:13px}.first-steps ol{display:grid;grid-template-columns:repeat(3,1fr);gap:42px;padding:0;list-style:none;counter-reset:step}.first-steps li{counter-increment:step;border-top:var(--border-strong);padding-top:18px}.first-steps li:before{content:'0' counter(step);display:block;font-size:11px;color:var(--fg-3);margin-bottom:25px}.first-steps h3{margin-bottom:12px}.first-steps li p{font-size:12px}.free-note{display:grid;grid-template-columns:1fr 1.6fr;gap:40px;padding:30px;border:var(--border-soft);background:var(--kl-surface)}.free-note p{font-size:11px}.end-cta{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:75px 0}.end-cta h2{font-size:30px}.end-cta p{font-size:12px;margin-top:14px}.site-footer{border-top:var(--border-strong);padding-top:40px;padding-bottom:24px}.footer-top{display:flex;justify-content:space-between;gap:35px}.footer-top p{font-size:10px;margin-top:12px}.footer-top nav{display:grid;grid-template-columns:1fr 1fr;gap:12px 32px;font-size:11px}.footer-bottom{display:flex;justify-content:space-between;gap:20px;margin-top:44px;color:var(--fg-3);font-size:9px}.page-intro{padding:72px 0 58px;border-bottom:var(--border-strong)}.page-intro .lead{max-width:690px;margin-top:24px;font-size:15px}.muted{color:var(--fg-3);font-size:11px;margin-top:18px}.reading-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:70px;padding:42px 0 70px}.reading-nav{align-self:start;position:sticky;top:24px}.reading-nav>p{font-size:11px;margin-bottom:18px}.reading-nav nav{display:flex;flex-direction:column;gap:14px}.reading-nav nav a{font-size:11px;text-decoration:none;color:var(--fg-3)}.reading-nav nav a:hover{text-decoration:underline;color:var(--kl-black)}.aside-art{width:120px;margin-top:40px}.faq-search label{display:block;font-size:12px;margin-bottom:12px}.faq-search input{width:100%;padding:16px;background:var(--kl-surface);border:var(--border-strong);border-radius:0;color:var(--kl-black);font-size:13px}.faq-search{margin-bottom:38px}.faq-search p{font-size:10px;margin-top:8px}.faq-chapter{margin-bottom:45px}.faq-chapter h2{font-size:23px;letter-spacing:-.045em;margin-bottom:20px}.faq-item{border-bottom:var(--border-soft)}.faq-item:first-of-type{border-top:var(--border-soft)}.faq-item summary{cursor:pointer;padding:20px 35px 20px 0;font-size:13px;position:relative;list-style:none;line-height:1.65}.faq-item summary::-webkit-details-marker{display:none}.faq-item summary:after{content:'+';position:absolute;right:6px;top:20px;font-size:18px}.faq-item[open] summary:after{content:'−'}.answer{padding:0 35px 24px 0}.answer p{font-size:12px}.help-note{font-size:12px}.story-layout{display:grid;grid-template-columns:1fr 1.3fr;gap:80px;align-items:center;padding:65px 0}.story-art{min-height:330px;background:var(--kl-surface);display:flex;align-items:center;justify-content:center;flex-direction:column}.story-art img{width:240px}.story-art p{font-size:10px}.story-layout h2{font-size:32px}.story-layout>div>p{font-size:13px;margin-block:20px}.contact-section{border-block:var(--border-strong);display:grid;grid-template-columns:1fr 1fr;gap:60px;padding:45px 0}.contact-section h2{font-size:30px}.contact-section p{font-size:12px;margin-top:20px}.contact-list a{display:flex;justify-content:space-between;gap:18px;padding:18px 0;border-bottom:var(--border-soft);text-decoration:none;font-size:11px}.contact-list a:hover strong{text-decoration:underline}.contact-list strong{font-weight:400;text-align:right;overflow-wrap:anywhere}.publisher-section{padding:48px 0 70px}.publisher-section h2{font-size:26px}.publisher-section dl{display:grid;grid-template-columns:repeat(4,1fr);gap:25px;margin:30px 0}.publisher-section dt{font-size:10px;color:var(--fg-3);margin-bottom:12px}.publisher-section dd{margin:0;font-size:12px;line-height:1.8}.publisher-section>p{font-size:11px}.legal-content{overflow-wrap:anywhere;font-size:12px;line-height:1.9}.legal-content section{margin-bottom:38px;scroll-margin-top:30px}.legal-content h2{font-size:23px;line-height:1.4;letter-spacing:-.035em;margin-bottom:20px}.legal-content h3{font-size:15px;margin:24px 0 14px}.legal-content p{margin-bottom:16px}.legal-content ul{padding-left:22px}.legal-content li{margin-bottom:8px}.legal-content table{width:100%;border-collapse:collapse;display:block;overflow-x:auto}.legal-content td,.legal-content th{padding:12px;border:var(--border-soft);text-align:left}.standalone{max-width:780px;margin:50px auto 80px}.en-only{display:none}html[lang=en] .fr-only{display:none}html[lang=en] .en-only{display:inline}[hidden]{display:none!important}
@media(min-width:1400px){.hero{padding-top:95px;padding-bottom:85px}}
@media(max-width:1000px){main,.site-header,.site-footer{padding-inline:28px}.hero{gap:18px}.kingdom-scene{min-height:380px}.scene-piece.tower{width:175px;left:calc(50% - 87px)}.scene-piece.village{width:120px}.scene-piece.wizard{width:115px}.hero-actions{flex-wrap:wrap;gap:20px}.reading-layout{gap:35px;grid-template-columns:190px minmax(0,1fr)}.world-section,.story-layout{gap:40px}.site-header{gap:20px}.site-header nav{gap:20px}}
@media(max-width:768px){main,.site-header,.site-footer{padding-inline:20px}.site-header{flex-wrap:wrap;gap:16px;min-height:112px;padding-block:18px}.wordmark{font-size:17px}.site-header nav{order:3;width:100%;justify-content:space-between;gap:15px}.site-header nav a{padding:4px 0;font-size:11px}.header-actions{gap:18px}.button.compact{padding:8px 18px}.hero{grid-template-columns:1fr;padding:45px 0 35px;gap:35px}.hero h1{font-size:clamp(34px,9.4vw,64px)}.hero .lead{font-size:13px}.eyebrow{font-size:10px;margin-bottom:20px}.hero-note{font-size:9px}.hero-actions{gap:18px}.button{padding:15px 18px;font-size:12px}.kingdom-scene{min-height:390px}.scene-piece.tower{width:195px;left:calc(50% - 97px)}.scene-piece.village{width:145px;left:5px}.scene-piece.wizard{width:130px;right:7px}.intro-band{align-items:start;flex-direction:column;gap:8px}.section-heading{align-items:start;flex-direction:column;gap:18px}.feature-section,.first-steps{padding:48px 0}.features{grid-template-columns:1fr;gap:28px}.features article{display:grid;grid-template-columns:76px 1fr;column-gap:18px}.features img{width:76px;height:76px;grid-row:1/3;margin:0}.features h3{font-size:17px}.features p{font-size:12px}.world-section,.story-layout{grid-template-columns:1fr;gap:32px;padding:38px 0}.world-art{min-height:260px}.first-steps ol{grid-template-columns:1fr;gap:26px}.first-steps li:before{margin-bottom:15px}.free-note{grid-template-columns:1fr;padding:23px;gap:15px}.end-cta{align-items:start;flex-direction:column;padding:46px 0}.end-cta h2{font-size:27px}.footer-top,.footer-bottom{flex-direction:column;gap:25px}.footer-bottom{font-size:9px;gap:8px}.footer-top nav{gap:15px 25px}.page-intro{padding:42px 0 32px}.page-intro h1{font-size:40px}.page-intro .lead{font-size:13px}.reading-layout{grid-template-columns:1fr;gap:30px;padding-top:28px}.reading-nav{position:static}.reading-nav nav{flex-direction:row;flex-wrap:wrap;gap:14px 22px}.aside-art{display:none}.faq-chapter h2{font-size:22px}.faq-item summary{font-size:12px}.answer{padding-right:10px}.contact-section{grid-template-columns:1fr;gap:25px}.contact-list a{font-size:10px}.publisher-section dl{grid-template-columns:1fr 1fr}.story-art{min-height:270px}.story-art img{width:210px}.legal-content h2{font-size:21px}.standalone{margin-top:30px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
