:root {
  color-scheme: light;
  --cream: #f8f6ef;
  --paper: #fffef9;
  --ink: #1b2920;
  --forest: #20392b;
  --deep: #172d22;
  --olive: #4f624d;
  --muted: #536255;
  --line: #dcded3;
  --pale: #e9eee2;
  --lime: #d9e8b6;
  --radius: 18px;
  --display: Georgia, "Times New Roman", serif;
  --body: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; font: 16px/1.65 var(--body); color: var(--ink); background: var(--cream); }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
button, select { font: inherit; }
button:not(:disabled) { cursor: pointer; }
button:disabled { opacity: .45; }
:focus-visible { outline: 3px solid #477a54; outline-offset: 4px; }
h1,h2,h3,p,figure { margin: 0; }
h1,h2,h3 { text-wrap: balance; }
h1,h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.047em; line-height: 1.06; }
h1 { font-size: clamp(3rem, 5.65vw, 6rem); }
h2 { font-size: clamp(2.2rem, 4vw, 4.1rem); }
h3 { font-size: 1.37rem; line-height: 1.24; letter-spacing: -.024em; }
.wrap { width: min(100% - 88px, 1320px); margin-inline: auto; }
.section { padding-block: clamp(3.9rem, 7.4vw, 7.4rem); }
.skip { position: fixed; top: 8px; left: 12px; transform: translateY(-160%); background: var(--paper); padding: 9px 16px; z-index: 4; }
.skip:focus { transform: none; }

.masthead { border-bottom: 1px solid var(--line); }
.mast-inner { display: flex; align-items: center; align-content: center; justify-content: space-between; gap: 1rem; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 11px; line-height: 1.12; text-decoration: none; font-size: .99rem; letter-spacing: -.025em; font-weight: 550; }
.brand b { font-weight: 800; }
.brand-symbol { position: relative; display: inline-block; width: 38px; height: 38px; background: var(--forest); border-radius: 12px; flex-shrink: 0; }
.brand-symbol::before { content: ""; position: absolute; width: 17px; height: 17px; border: 2px solid var(--lime); border-radius: 50%; top: 10.5px; left: 10.5px; }
.brand-symbol::after { content: ""; position: absolute; width: 7px; height: 2px; background: var(--lime); border-radius: 4px; transform: rotate(-47deg); transform-origin: 1px center; top: 18.5px; left: 18px; }
.masthead nav { display: flex; align-items: center; gap: clamp(.7rem, 2.8vw, 2.7rem); }
.masthead nav a { font-size: .9rem; font-weight: 650; text-decoration: none; padding: .55em .12em; }
nav a:hover, nav a[aria-current] { text-decoration: underline; }

.hero { display: grid; grid-template-columns: minmax(0,1.06fr) minmax(0,1fr); gap: clamp(24px, 5.1vw, 88px); align-items: center; padding-block: clamp(2rem, 5vw, 5rem); }
.hero-copy h1 { margin: .21em 0 .28em; }
.hero h1 em { color: var(--olive); }
.eyebrow, .index { font-weight: 750; font-size: .74rem; line-height: 1.45; letter-spacing: .09em; color: var(--muted); text-transform: uppercase; }
.eyebrow .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 7px; vertical-align: .08em; background: #55774f; }
.lead { font-size: clamp(1.05rem, 1.38vw, 1.25rem); color: var(--muted); max-width: 57ch; }
.hero-image { border-radius: 10px; overflow: hidden; position: relative; background: #d4bd98; }
.hero-image img { width: 100%; height: auto; aspect-ratio: 1.08; object-fit: cover; object-position: 53% 54%; }
.hero-image figcaption { position: absolute; inset: auto 0 0; padding: 32px 15px 11px; font-size: .75rem; text-align: right; color: #fff; background: linear-gradient(0deg, #1c150bc9, #1c150b00); }
.hero-actions, .result-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; margin-top: 1.55rem; }
.button, .secondary { display: inline-flex; align-items: center; justify-content: center; gap: 12px; text-decoration: none; border: 1px solid transparent; min-height: 49px; border-radius: 999px; padding: .72rem 1.16rem; font-weight: 720; line-height: 1.3; transition: background .16s ease, border-color .16s ease; }
.button { background: var(--forest); color: #fff; }
.button:hover { background: #365640; }
.secondary { background: var(--paper); color: var(--forest); border-color: #bfcabc; }
.secondary:hover { background: var(--pale); }
.text-link,.link-button { color: var(--forest); font-weight: 720; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.link-button { background: transparent; border: 0; padding: .45em 0; font-size: inherit; }
.minor { color: var(--muted); font-size: .84rem; }
.hero .minor { margin-top: 1.2rem; }
.hero .text-link { font-size: .94rem; }
.dates { background: var(--deep); color: #f6f6ed; }
.date-grid { min-height: 131px; display: grid; grid-template-columns: 1fr 1fr auto; gap: clamp(14px, 3vw, 52px); align-items: center; padding-block: 24px; }
.date-item { display: flex; gap: 17px; align-items: center; }
.date-item .year { flex-shrink: 0; color: var(--lime); font: 400 clamp(2.6rem, 4.3vw, 4.45rem)/1 var(--display); letter-spacing: -.085em; font-variant-numeric: lining-nums tabular-nums; }
.date-item p { color: #d5dfd1; font-size: .87rem; line-height: 1.45; }
.date-grid > a { font-size: .88rem; font-weight: 680; color: var(--lime); }

.quiz-layout { display: grid; gap: clamp(26px, 6vw, 96px); grid-template-columns: minmax(0,.72fr) minmax(0,1fr); align-items: start; }
.section-copy h2, .section-heading h2 { margin: .18em 0 .32em; }
.section-copy p + p { margin-top: 1rem; }
.source-inline { font-size: .87rem; }
.quiz-panel { border: 1px solid #d5dfd2; padding: clamp(18px, 4vw, 38px); background: var(--pale); border-radius: var(--radius); }
.quiz-panel fieldset { min-inline-size: 0; padding: 0; border: 0; margin: 8px 0 0; }
.quiz-panel legend { font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.75rem); line-height: 1.14; letter-spacing: -.039em; margin: 0 0 .25em; padding: 0; }
#quiz-hint { color: var(--muted); font-size: .92rem; }
.choices { display: grid; gap: .6rem; margin-top: 1.05rem; }
.choice { display: flex; align-items: center; gap: .75rem; padding: .78rem 1rem; background: var(--paper); border: 1px solid #c6d0c3; border-radius: 11px; cursor: pointer; }
.choice:hover { border-color: #678765; }
.choice:has(input:checked) { border-color: #436747; background: #f0f7e7; }
.choice input { accent-color: var(--forest); width: 18px; height: 18px; flex-shrink: 0; margin: 0; }
.choice strong, .choice small { display: block; }
.choice strong { line-height: 1.4; font-weight: 670; }
.choice small { font-size: .83rem; color: var(--muted); }
.quiz-actions { display: flex; justify-content: end; gap: .65rem; margin-top: 1.3rem; }
.result-status { display: inline-block; font-size: .83rem; font-weight: 750; padding: .24rem .63rem; background: #fdf9e3; border: 1px solid #bfb298; border-radius: 99px; }
[data-tone="applies"] .result-status { color: #fff; background: var(--forest); border-color: var(--forest); }
[data-tone="exempt"] .result-status { background: #fcfbf1; }
#quiz-result h3 { font: 400 clamp(1.75rem,3vw,2.6rem)/1.1 var(--display); letter-spacing: -.035em; margin-block: .5em; }
#quiz-result p[data-date] { margin-bottom: .5em; }

.guided { background: #eeefe5; border-block: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.section-heading > a { margin-bottom: .8em; }
.guide-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.guide-card { position: relative; min-height: 162px; padding: 21px 45px 20px 20px; display: block; text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.guide-card p { margin-top: .4rem; color: var(--muted); line-height: 1.55; font-size: .94rem; }
.guide-card a { cursor: pointer; }
.guide-card > span { position: absolute; top: 19px; right: 18px; }
.guide-card:hover { border-color: #6d866e; }
.faq { display: grid; grid-template-columns: minmax(0,.62fr) minmax(0,1fr); gap: clamp(16px, 6vw, 92px); }
details { border-top: 1px solid #d2d7ce; }
details:last-child { border-bottom: 1px solid #d2d7ce; }
summary { cursor: pointer; font-weight: 690; padding: 17px 0; }
details > p { margin: -5px 0 19px; color: var(--muted); max-width: 70ch; }

.page-intro { background: var(--pale); border-bottom: 1px solid var(--line); padding-block: clamp(2.9rem, 5.6vw, 5.4rem); }
.page-intro h1 { margin-block: .12em .24em; max-width: 21ch; font-size: clamp(2.8rem, 6vw, 5.25rem); }
.reading { max-width: 760px; margin-inline: auto; padding-block: 45px 75px; }
.reading section + section { margin-top: 35px; }
.reading h2 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); margin-bottom: .5em; }
.reading h3 { margin-block: 1.3em .4em; }
.reading p + p { margin-top: 1rem; }
.reading .minor { margin-bottom: 1.3rem; }
.reading .button { margin-top: 1.5rem; }
.sources { padding-left: 1.15rem; }
.sources li + li { margin-top: .3rem; }
.specs { display: grid; grid-template-columns: minmax(8rem,.45fr) 1fr; gap: 0 18px; }
.specs dt,.specs dd { border-top: 1px solid var(--line); padding-block: .7em; margin: 0; }
.specs dt { font-weight: 720; }

.catalog { padding-top: 28px; }
.catalog-note { max-width: 75ch; margin-bottom: 1.6rem; font-size: .96rem; color: var(--muted); }
.filters { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)) auto; align-items: end; gap: 12px; border: 1px solid var(--line); padding: 16px; border-radius: 14px; background: var(--paper); }
.filters label { display: grid; min-width: 0; gap: 4px; font-weight: 660; font-size: .89rem; }
.filters select { display: block; width: 100%; min-height: 45px; border: 1px solid #b8c3b7; border-radius: 8px; color: var(--ink); background: #fff; padding: .5em .65em; }
.filters button { min-height: 45px; }
.compare-controls { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-block: 16px; font-size: .9rem; }
.compare-controls #selection { margin-right: .45em; }
.products { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.product-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; overflow: clip; }
.product-top { background: #e6e9dc; position: relative; min-height: 117px; display: grid; place-items: center; padding: 28px 8px 22px; }
.device { width: 54px; height: 50px; border: 1px solid #b4bcae; background: #f9f8f0; border-radius: 10px; box-shadow: 0 7px 14px -8px #5c6852; display: grid; place-items: center; }
.device span { display: block; width: 25px; height: 15px; background: #c3cebd; border: 1px solid #afbdab; border-radius: 4px; }
.device.radio { width: 66px; height: 42px; }
.device.module { width: 43px; height: 46px; border-radius: 5px; }
.device.module span { width: 7px; height: 7px; border-radius: 50%; background: var(--olive); }
.tag { position: absolute; right: 9px; top: 8px; border: 1px solid #c4cabc; background: #f0f3e8; border-radius: 30px; padding: 2px 7px; font-size: .71rem; }
.product-body { display: flex; flex-direction: column; align-items: start; flex-grow: 1; padding: 17px; }
.product-body h3 { margin-block: .21rem .48rem; }
.product-body > p:not(.eyebrow) { color: var(--muted); font-size: .89rem; }
.product-body .protocol { margin: .7rem 0 1rem; font-weight: 700; padding: 4px 8px; background: var(--pale); border-radius: 6px; }
.card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: auto; font-size: .86rem; }
.card-actions .secondary { min-height: 37px; padding: .5rem .8rem; }
.card-actions .secondary[aria-pressed="true"] { background: var(--lime); }
.empty-result { margin-block: 20px; border: 1px solid var(--line); padding: 22px; border-radius: 12px; background: var(--paper); }
.empty-result h2 { font-size: 1.9rem; }
.empty-result p { margin-block: 8px 12px; }
#comparaison { margin-top: 2.5rem; }
#comparaison h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); margin-bottom: .4em; }
.table-scroll { overflow: auto; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); }
table { border-collapse: collapse; width: 100%; min-width: 680px; text-align: left; }
caption { text-align: left; padding: 10px 13px; }
td,th { border-top: 1px solid var(--line); padding: 10px 13px; vertical-align: top; }
th { background: var(--pale); }

.footer { background: var(--deep); color: #f7f8ee; }
.footer-inner { display: grid; grid-template-columns: auto minmax(0,1fr) minmax(0,1.5fr); align-items: center; gap: 24px; padding-block: 34px; }
.footer p,.footer li { font-size: .84rem; color: #d3dfd2; }
.footer ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: end; gap: .55rem 1.1rem; padding: 0; margin: 0; }

@media (max-width: 1020px) {
  .wrap { width: min(100% - 54px, 1320px); }
  .mast-inner { min-height: 76px; }
  .hero { gap: 24px; }
  .date-grid { grid-template-columns: 1fr 1fr; }
  .date-grid > a { grid-column: 1/-1; }
  .guide-grid, .products { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-inner { grid-template-columns: auto minmax(0,1fr); }
  .footer ul { justify-content: start; grid-column: 1/-1; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .hero, .quiz-layout, .faq { grid-template-columns: 1fr; }
  .hero { padding-block: 30px 24px; gap: 26px; }
  .hero h1 { max-width: 14ch; font-size: clamp(3.1rem, 9.4vw, 4.8rem); }
  .hero-image img { aspect-ratio: 1.6; }
  .hero-image figcaption { font-size: .68rem; }
  .hero-actions { gap: 12px 16px; }
  .hero .minor { margin-top: .85rem; }
  .date-grid { padding-block: 20px; }
  .date-item { flex-direction: column; align-items: start; gap: .3rem; }
  .date-item strong { line-height: 1.3; display: block; margin-bottom: .15rem; }
  .date-item p { font-size: .82rem; }
  .section-heading { display: block; }
  .filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 520px) {
  .mast-inner { min-height: 67px; gap: .4rem; }
  .brand { gap: 6px; font-size: .77rem; }
  .brand-symbol { transform: scale(.77); transform-origin: left center; margin-right: -8px; }
  .masthead nav { gap: .54rem; }
  .masthead nav a { font-size: .74rem; }
  .guide-grid, .products { grid-template-columns: 1fr; }
  .guide-card { min-height: unset; }
  .product-top { min-height: 93px; }
  .compare-controls { flex-wrap: wrap; gap: 5px 14px; }
  .filters { padding: 10px; gap: 9px; }
  .filters select { padding-inline: .34em; }
  .filters .secondary { padding-inline: .45rem; font-size: .86rem; }
  .specs { display: block; }
  .specs dd { padding-top: 0; border: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
