/* Archivo, served from this site so no visitor data goes to a third party. SIL Open Font License. */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap; src: url('fonts/archivo-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap; src: url('fonts/archivo-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ControlsFixed: the page is an estimate form, printed in one ink.
   Red and green appear only where something fails or passes. */
:root {
  --paper: #fbfcff;
  --ink: #14246b;
  --ink-soft: #4a5796;
  --rule: #c3cbe8;
  --field: #eef2ff;
  --fail: #d1341f;
  --pass: #148046;
  --max: 1240px;
  --gutter: clamp(18px, 4.5vw, 56px);
  --type: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--type);
  font-stretch: 100%;
  font-variant-numeric: tabular-nums;
}
h1, h2, h3, p, ul, ol, fieldset, legend { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
code { font-family: inherit; font-weight: 600; background: var(--field); padding: .05em .3em; }

.skip { position: absolute; left: -9999px; top: 10px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 30; }
.skip:focus { left: 10px; }

/* ---------- top bar */
.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 28px;
  padding: 14px var(--gutter);
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}
.brand { font-weight: 800; font-stretch: 75%; font-size: 1.5rem; letter-spacing: -.01em; text-decoration: none; line-height: 1; }
.top nav { display: flex; gap: 24px; margin-left: auto; }
.top nav a, .lang { font-size: .95rem; text-decoration: none; }
.top nav a:hover, .lang:hover { text-decoration: underline; }
.lang { font-weight: 600; padding-left: 24px; border-left: 1px solid var(--rule); }

/* ---------- hero: the pitch beside the form */
.hero {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(28px, 5vw, 64px) var(--gutter) clamp(48px, 7vw, 96px);
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.pitch { position: sticky; top: 96px; }
h1 {
  font-weight: 800; font-stretch: 68%;
  font-size: clamp(2.7rem, 6.3vw, 5.4rem);
  line-height: .96; letter-spacing: -.012em;
  text-wrap: balance;
}
.sub { font-size: 1.14rem; max-width: 34ch; margin-top: 22px; color: var(--ink-soft); }
.terms { margin-top: 26px; border-top: 1px solid var(--rule); max-width: 30rem; }
.terms li { padding: 11px 0; border-bottom: 1px solid var(--rule); font-weight: 500; }
.proof { margin-top: 22px; font-size: .93rem; color: var(--ink-soft); }

/* ---------- the estimate */
.estimate { border: 2px solid var(--ink); background: #fff; }
.estimate-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 18px; border-bottom: 2px solid var(--ink); }
.estimate-head h2 { font-size: 1.5rem; font-weight: 800; font-stretch: 75%; letter-spacing: 0; }
.text-button { font: inherit; font-size: .93rem; color: var(--ink); background: none; border: 0; padding: 4px 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-align: right; }
.text-button:hover { text-decoration-thickness: 2px; }

legend { width: 100%; padding: 9px 18px; background: var(--field); font-weight: 700; font-size: .93rem; border-bottom: 1px solid var(--rule); }
.estimate fieldset + fieldset legend { border-top: 1px solid var(--rule); }

.row { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: start; gap: 14px; padding: 11px 18px; border-bottom: 1px solid var(--rule); cursor: pointer; }
.row:hover { background: #f6f8ff; }
.row input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 1px 0 0; border: 2px solid var(--ink); background: #fff; cursor: pointer; position: relative; }
.row input:checked { background: var(--fail); border-color: var(--fail); }
.row input:checked::before, .row input:checked::after { content: ""; position: absolute; left: 8px; top: 1px; width: 2.5px; height: 16px; background: #fff; }
.row input:checked::before { transform: rotate(45deg); }
.row input:checked::after { transform: rotate(-45deg); }
.name small { display: block; font-size: .84rem; color: var(--ink-soft); margin-top: 1px; }
.price { font-weight: 600; color: var(--ink-soft); text-align: right; white-space: nowrap; }
.row:has(input:checked) { background: #fff7f5; }
.row:has(input:checked) .name { font-weight: 600; }
.row:has(input:checked) .price { color: var(--ink); font-weight: 800; }

.total { position: sticky; bottom: 0; background: var(--ink); color: #fff; padding: 16px 18px; display: grid; gap: 14px; }
.total-figures { display: grid; grid-template-columns: auto auto 1fr; gap: 26px; align-items: end; }
.total-figures p { display: flex; flex-direction: column; }
.figure { font-weight: 800; font-stretch: 68%; font-size: 2.1rem; line-height: 1; }
.figure-label { font-size: .84rem; opacity: .82; margin-top: 4px; }
.amount { text-align: right; }
.amount .figure { font-size: 2.9rem; }
.total-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.send, .copy { font: inherit; font-weight: 700; min-height: 50px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; text-decoration: none; }
.send { flex: 1 1 200px; background: #fff; color: var(--ink); border: 2px solid #fff; }
.send:hover { background: var(--field); text-decoration: none; }
.copy { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .6); }
.copy:hover { border-color: #fff; }
.send:focus-visible, .copy:focus-visible { outline-color: #fff; }
.fine { padding: 12px 18px; font-size: .88rem; color: var(--ink-soft); }

/* ---------- the rest of the form: quiet sections */
.block { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gutter); border-top: 2px solid var(--ink); }
.block h2 { font-weight: 800; font-stretch: 68%; font-size: clamp(2rem, 4.4vw, 3.5rem); line-height: 1; letter-spacing: -.008em; margin-bottom: clamp(22px, 3vw, 36px); max-width: 18ch; }
.block h3 { font-size: 1.06rem; font-weight: 700; margin-bottom: 8px; }
.columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 4vw, 56px); }
.columns p, .columns li { max-width: 46ch; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.steps li { counter-increment: step; padding: 20px 20px 24px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.steps li::before { content: counter(step); display: block; font-weight: 800; font-stretch: 68%; font-size: 2.6rem; line-height: 1; margin-bottom: 14px; }
.steps p { font-size: .98rem; color: var(--ink-soft); }

.plain li { padding: 11px 0; border-top: 1px solid var(--rule); }
.plain li:last-child { border-bottom: 1px solid var(--rule); }

.questions { max-width: 52rem; border-top: 1px solid var(--rule); }
.questions details { border-bottom: 1px solid var(--rule); }
.questions summary { cursor: pointer; list-style: none; padding: 16px 40px 16px 0; font-weight: 600; font-size: 1.08rem; position: relative; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.5rem; font-weight: 400; line-height: 1; }
.questions details[open] summary::after { content: "−"; }
.questions details p { padding: 0 0 18px; max-width: 60ch; color: var(--ink-soft); }

footer { max-width: var(--max); margin: 0 auto; padding: 22px var(--gutter) 40px; border-top: 2px solid var(--ink); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; font-size: .88rem; color: var(--ink-soft); }

/* French runs longer */
html[lang="fr"] h1 { font-size: clamp(2.5rem, 5.6vw, 4.8rem); }

/* ---------- narrower screens */
@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr; }
  .pitch { position: static; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  body { font-size: 1rem; }
  .top { gap: 14px; }
  .top nav { display: none; }
  .lang { margin-left: auto; border-left: 0; padding-left: 0; }
  .columns, .steps { grid-template-columns: 1fr; }
  .row { padding: 12px 14px; gap: 12px; }
  .estimate-head, legend, .total, .fine { padding-left: 14px; padding-right: 14px; }
  .estimate-head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .text-button { text-align: left; }
  .total-figures { gap: 16px; }
  .figure { font-size: 1.7rem; }
  .amount .figure { font-size: 2.2rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .top, .total-actions, .text-button, .block, footer { display: none; }
  .hero { display: block; padding: 0; }
  .total { position: static; color: #000; background: none; border-top: 2px solid #000; }
}

/* two ways to order, under the payment promise */
.ways { margin-top: clamp(24px, 3vw, 40px); padding-top: clamp(20px, 2.6vw, 32px); border-top: 1px solid var(--rule); }

/* ---------- the order terms: a short document */
.doc { max-width: 46rem; margin: 0 auto; padding: clamp(32px, 6vw, 72px) var(--gutter) clamp(48px, 7vw, 96px); }
.doc h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); margin-bottom: 14px; }
.doc .sub { max-width: none; margin: 0 0 clamp(26px, 4vw, 44px); }
.doc ol { counter-reset: term; border-top: 2px solid var(--ink); }
.doc ol > li { counter-increment: term; display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); padding: 20px 0; border-bottom: 1px solid var(--rule); }
.doc ol > li::before { content: counter(term); font-weight: 800; font-stretch: 68%; font-size: 2rem; line-height: 1; }
.doc h2 { font-size: 1.14rem; font-weight: 700; margin-bottom: 6px; }
.doc li p { color: var(--ink-soft); }
.doc li p + p { margin-top: 8px; }
.doc .back { display: inline-block; margin-top: 28px; font-weight: 600; }
