/*
 * Our story (19.11.2026): the chapters of the landing page (landing.css) and a look that changes with the years.
 * 2017 looks like the old site itself (its examples.css and Bootstrap 3): Arial on #F8F6F6, the grey-to-black bars
 * with white text (.menuGradient), grey window bars; the quiet years fade from that paper to the chalk of today; from
 * 2026 on the style of the landing page.
 * The dots of the four stages turn from a square into a filled circle, the season tags from 2017/18 to 2025/26 from a
 * grey box into a green pill. Then/now: two screens one on top of the other, the line moved by history.js.
 */
.history {
  --hs-old-font: Arial, Helvetica, "Liberation Sans", sans-serif;
  --hs-paper: #f8f6f6; --hs-bar: linear-gradient(#808080, #000); --hs-ink: #333; --hs-muted: #555; --hs-line: #cccccc;
  --hs-old-green: #b7d968; --hs-old-blue: #27aae1; --hs-box: #fff; --hs-accent-night: #8fd9ad;
}
@media (prefers-color-scheme: dark) {
  .history { --hs-paper: #1c1b1b; --hs-ink: #e6e2e2; --hs-muted: #aba5a5; --hs-line: #4b4747; --hs-box: #262525; }
}

/* Hero: the title and the four stages on a line that goes from grey to green. */
.hs-hero { padding: clamp(48px, 9vw, 112px) 0 clamp(44px, 6vw, 80px); }
.hs-eyebrow { margin: 0 0 1.1em; font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lp-green); }
.hs-eyebrow-night { color: var(--hs-accent-night); }
.hs-steps { list-style: none; margin: clamp(36px, 5vw, 60px) auto 0; padding: 0; max-width: 940px; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.hs-steps::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 9px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, #808080, #94a093 45%, var(--lp-green) 75%); }
.hs-steps li { position: relative; text-align: center; }
.hs-steps a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 32px 6px 4px; text-decoration: none; color: var(--lp-ink); border-radius: 12px; }
.hs-steps a::before { content: ""; position: absolute; top: 0; left: 50%; width: 22px; height: 22px; margin-left: -11px; box-sizing: border-box;
  background: var(--lp-paper); border: 4px solid currentColor; border-radius: 50%; }
.hs-steps b { font-size: clamp(1.15rem, 2.2vw, 1.6rem); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hs-steps span { color: var(--lp-muted); font-size: .95rem; line-height: 1.3; }
.hs-steps a:hover b { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.hs-steps a:focus-visible { outline: 3px solid color-mix(in srgb, var(--lp-green) 60%, #fff); outline-offset: 2px; }
.hs-step-2017 a::before { color: #808080; border-radius: 3px; background: #f8f6f6; }
.hs-step-2017 b { font-family: var(--hs-old-font); font-weight: 700; letter-spacing: 0; color: #555; }
.hs-step-silent a::before { color: #9aa196; border-radius: 5px; }
.hs-step-2026 a::before { color: var(--lp-green); }
.hs-step-2027 a::before { color: var(--lp-green); background: var(--lp-green); }

/* Chapters: the big year, title and text. */
.hs-chapter { padding: clamp(72px, 10vw, 128px) 0; }
.hs-year { margin: 0 0 .2em; font-size: clamp(3.4rem, 10vw, 7.4rem); line-height: 1; font-weight: 800; letter-spacing: -.05em; font-variant-numeric: tabular-nums; color: var(--lp-green); }
@supports (-webkit-text-stroke: 1px black) {
  .hs-era-2026 .hs-year { color: transparent; -webkit-text-stroke: 2px var(--hs-accent-night); }
  .hs-final .hs-year { color: transparent; -webkit-text-stroke: 2.5px var(--lp-green); }
}
.hs-title { font-size: clamp(1.9rem, 4.4vw, 3.2rem); line-height: 1.08; letter-spacing: -.025em; font-weight: 720; margin: 0 0 .55em; text-wrap: balance; }
.hs-text { font-size: clamp(1.05rem, 1.45vw, 1.22rem); line-height: 1.6; color: var(--lp-muted); max-width: 36em; margin: 0 0 1em; text-wrap: pretty; }
.hs-text-strong { color: var(--lp-ink); font-weight: 600; }
.hs-gap { margin-top: 1em; }
.hs-split { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }

/* 2017: the old site's own look. */
.hs-era-2017 { background: var(--hs-paper); color: var(--hs-ink); font-family: var(--hs-old-font); }
.hs-era-2017 .hs-year { font-family: var(--hs-old-font); font-weight: 700; letter-spacing: -.03em; color: #9a9494; text-shadow: 1px 1px 0 #fff; }
.hs-era-2017 .hs-title { font-family: var(--hs-old-font); font-size: clamp(1.45rem, 2.9vw, 2.1rem); font-weight: 500; letter-spacing: 0; line-height: 1.25;
  padding: 10px 15px; color: #fff; background: var(--hs-bar); border: 1px solid #777; border-radius: 3px; text-wrap: balance; }
.hs-era-2017 .hs-text { font-family: var(--hs-old-font); font-size: 1rem; line-height: 1.6; color: var(--hs-muted); max-width: 34em; }
@media (prefers-color-scheme: dark) { .hs-era-2017 .hs-year { color: #6f6a6a; text-shadow: none; } }
.hs-then-box { margin: 8px 0 0; background: #f6f6f6; border-radius: 3px; box-shadow: 1px 2px 4px rgba(0, 0, 0, .5); font-size: .92rem; overflow: hidden; }
@media (prefers-color-scheme: dark) { .hs-then-box { background: var(--hs-box); } }
.hs-then-box h3 { margin: 0; padding: 8px 15px; font-size: .95rem; font-weight: 700; color: #fff; background: var(--hs-bar); border-bottom: 1px solid #000; }
.hs-then-box ul { margin: 0; padding: 12px 14px 14px 34px; }
.hs-then-box li { margin: 5px 0; line-height: 1.45; }
.hs-then-box li::marker { content: "✔  "; color: #1ab346; }

/* The window of a 2017 desktop browser around the screens of the old site. */
/* The original screens as polaroids, like on the old home page (examples.css: div.polaroid, rotate_*). */
.hs-oldlogo { display: block; width: 151px; height: auto; margin: 0 0 6px; image-rendering: auto; }
@media (prefers-color-scheme: dark) { .hs-oldlogo { background: #fff; padding: 4px 6px; border-radius: 3px; } }
.hs-polaroids { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(28px, 4vw, 52px) clamp(22px, 3vw, 40px); align-items: start; }
.hs-polaroid { margin: 0; padding: 10px 10px 16px; background: #fff; border: 1px solid #bfbfbf; box-shadow: 10px 10px 5px rgba(0, 0, 0, .22);
  transform: rotate(var(--tilt, 0deg)); transition: transform .35s ease, box-shadow .35s ease; }
.hs-polaroid:hover { transform: rotate(0deg) scale(1.03); box-shadow: 14px 14px 10px rgba(0, 0, 0, .2); position: relative; z-index: 1; }
.hs-polaroid img { display: block; width: 100%; height: auto; border: 1px solid #e4e4e4; }
.hs-polaroid-spider { justify-self: center; width: min(100%, 420px); }
.hs-polaroid figcaption { margin-top: 12px; font: .86rem/1.45 var(--hs-old-font); color: #444; text-align: center; }
.hs-polaroid:nth-child(1) { grid-column: span 3; --tilt: -2.2deg; }
.hs-polaroid:nth-child(2) { grid-column: span 3; --tilt: 1.8deg; margin-top: 40px; }
.hs-polaroid:nth-child(3) { grid-column: span 3; --tilt: 1.4deg; }
.hs-polaroid:nth-child(4) { grid-column: span 3; --tilt: -1.6deg; margin-top: 30px; }
.hs-polaroid:nth-child(5) { grid-column: span 4; --tilt: -1deg; }
.hs-polaroid:nth-child(6) { grid-column: span 2; --tilt: 2.6deg; margin-top: 26px; }
.hs-polaroid:nth-child(7) { grid-column: 2 / span 4; --tilt: -1.2deg; }
.hs-oldnote { margin: 30px 0 0; font-size: .82rem; color: var(--hs-muted); font-family: var(--hs-old-font); }
.hs-compare-note { margin: 18px 0 0; font-size: .82rem; color: rgba(255, 255, 255, .62); text-align: center; }

/* 2018–2025: from the paper of 2017 to the chalk of today. */
.hs-era-silent { background: linear-gradient(180deg, var(--hs-paper), var(--lp-chalk) 60%, var(--lp-paper)); }
.hs-era-silent .hs-year { color: #8f9a8d; }
.hs-seasons { list-style: none; margin: clamp(32px, 4vw, 48px) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hs-seasons li { padding: 8px 15px; font-weight: 650; font-size: .95rem; font-variant-numeric: tabular-nums; color: var(--lp-ink); border: 1px solid transparent; }
.hs-seasons li:nth-child(1) { font-family: var(--hs-old-font); font-weight: 700; color: #fff; background: var(--hs-bar); border-color: #777; border-radius: 3px; }
.hs-seasons li:nth-child(2) { background: color-mix(in srgb, var(--lp-green) 6%, var(--hs-box)); border-color: var(--hs-line); border-radius: 2px; }
.hs-seasons li:nth-child(3) { background: color-mix(in srgb, var(--lp-green) 12%, var(--hs-box)); border-color: color-mix(in srgb, var(--lp-green) 20%, var(--hs-line)); border-radius: 4px; }
.hs-seasons li:nth-child(4) { background: color-mix(in srgb, var(--lp-green) 20%, var(--lp-paper)); border-radius: 7px; }
.hs-seasons li:nth-child(5) { background: color-mix(in srgb, var(--lp-green) 30%, var(--lp-paper)); border-radius: 10px; }
.hs-seasons li:nth-child(6) { background: color-mix(in srgb, var(--lp-green) 44%, var(--lp-paper)); border-radius: 14px; }
.hs-seasons li:nth-child(7) { background: color-mix(in srgb, var(--lp-green) 62%, var(--lp-paper)); border-radius: 18px; color: #fff; }
.hs-seasons li:nth-child(8) { background: color-mix(in srgb, var(--lp-green) 80%, var(--lp-paper)); border-radius: 24px; color: #fff; }
.hs-seasons li:nth-child(9) { background: var(--lp-green); border-radius: 999px; color: #fff; box-shadow: 0 8px 20px -8px rgba(12, 51, 33, .6); }

/* 2026: under the floodlights; then and now. */
.hs-import { margin-top: 1.1em; color: var(--lp-night-ink); font-weight: 600; }
.hs-subtitle { margin: clamp(56px, 8vw, 96px) 0 .3em; text-align: center; font-size: clamp(1.4rem, 2.6vw, 1.9rem); letter-spacing: -.02em; }
.hs-hint { margin: 0 0 30px; text-align: center; color: var(--lp-night-muted); }
.hs-compare { margin: 0 0 clamp(44px, 6vw, 72px); }
.hs-compares.is-tabbed .hs-compare { margin-bottom: 0; }
.hs-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 26px; }
.hs-tabs button { min-height: 40px; padding: 0 18px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .28); background: transparent; color: var(--lp-night-ink);
  font: inherit; font-weight: 650; cursor: pointer; }
.hs-tabs button:hover { background: rgba(255, 255, 255, .08); }
.hs-tabs button[aria-selected="true"] { background: var(--lp-night-ink); border-color: var(--lp-night-ink); color: var(--lp-night); }
.hs-tabs button:focus-visible { outline: 3px solid var(--hs-accent-night); outline-offset: 2px; }
.hs-compare:last-child { margin-bottom: 0; }
.hs-compare-stage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.hs-compare-then, .hs-compare-now { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: #fff; }
.hs-compare-then { border: 1px solid #8e8e8e; }
.hs-compare-now { border-radius: 14px; }
.hs-compare-then img, .hs-compare-now img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.hs-compare-line { display: none; }
.hs-tag { position: absolute; bottom: 12px; padding: 4px 11px; font-size: .78rem; font-weight: 700; line-height: 1.4; letter-spacing: .02em; pointer-events: none; }
.hs-tag-then { left: 12px; font-family: var(--hs-old-font); color: #fff; background: linear-gradient(#808080, #000); border: 1px solid #777; border-radius: 3px; }
.hs-tag-now { right: 12px; color: #fff; background: var(--lp-green); border-radius: 999px; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.hs-compare figcaption { margin-top: 14px; text-align: center; font-weight: 650; font-size: 1.05rem; color: var(--lp-night-ink); }
.hs-compare-range { display: block; width: min(420px, 80%); margin: 16px auto 0; accent-color: var(--hs-accent-night); }
/* With history.js: one stage, the screen of today on top, cut at the line. */
.hs-compare.is-live .hs-compare-stage { --pos: 50%; display: block; position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; cursor: ew-resize;
  touch-action: pan-y; user-select: none; -webkit-user-select: none; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .08); }
.hs-compare.is-live .hs-compare-then, .hs-compare.is-live .hs-compare-now { position: absolute; inset: 0; aspect-ratio: auto; border: 0; border-radius: 0; }
.hs-compare.is-live .hs-compare-now { clip-path: inset(0 0 0 var(--pos)); }
.hs-compare.is-live img { pointer-events: none; -webkit-user-drag: none; }
.hs-compare.is-live .hs-compare-line { display: block; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .2), 0 0 18px rgba(0, 0, 0, .35); pointer-events: none; }
.hs-compare-line i { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .35); }
.hs-compare-line i::before, .hs-compare-line i::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; margin-top: -6px; border: 6px solid transparent; }
.hs-compare-line i::before { left: 8px; border-right: 8px solid var(--lp-night); border-left-width: 0; }
.hs-compare-line i::after { right: 8px; border-left: 8px solid var(--lp-night); border-right-width: 0; }
.hs-compare.is-live .hs-compare-range:focus-visible { outline: 3px solid var(--hs-accent-night); outline-offset: 4px; }
.hs-compare.is-live.is-moving .hs-compare-now, .hs-compare.is-live.is-moving .hs-compare-line { transition: clip-path .9s cubic-bezier(.2, .7, .2, 1), left .9s cubic-bezier(.2, .7, .2, 1); }

/* Today: more professional. */
.hs-duo { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hs-duo .lp-card { width: 100%; transform: rotate(-2deg); }

/* The app: phones side by side, the middle one raised. */
.hs-app .lp-copy { align-self: center; }
.hs-phones { display: flex; justify-content: center; align-items: flex-end; padding-top: 32px; }
.hs-phones .lp-phone { flex: 0 1 auto; width: min(230px, 42%); position: relative; }
.hs-phones .lp-phone + .lp-phone { margin-left: -7%; }
.hs-phones-2 .lp-phone:last-child, .hs-phones-3 .lp-phone:nth-child(2), .hs-phones-4 .lp-phone:nth-child(2) { z-index: 2; transform: translateY(-32px); }
.hs-phones-3 .lp-phone, .hs-phones-4 .lp-phone { width: min(210px, 36%); }
.hs-phones-4 .lp-phone { width: min(180px, 28%); }

/* Safer: then and now, row by row. */
.hs-safe .lp-text { max-width: 40em; }
.hs-vs { width: 100%; margin-top: clamp(32px, 4vw, 52px); border-collapse: collapse; }
.hs-vs th, .hs-vs td { text-align: left; vertical-align: top; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.hs-vs thead th { padding-top: 0; font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border-bottom: 2px solid var(--line); }
.hs-vs thead small { margin-left: 4px; font-size: .78rem; font-weight: 500; letter-spacing: 0; opacity: .75; }
.hs-vs thead .hs-vs-then { font-family: var(--hs-old-font); letter-spacing: .04em; color: var(--hs-muted); }
.hs-vs thead .hs-vs-now { color: var(--lp-green); }
.hs-vs tbody th { width: 22%; font-size: 1.08rem; font-weight: 700; letter-spacing: -.01em; }
.hs-vs td.hs-vs-then { width: 26%; font-family: var(--hs-old-font); font-size: .9rem; line-height: 1.55; color: var(--hs-muted); background: color-mix(in srgb, var(--hs-paper) 75%, transparent); }
.hs-vs td.hs-vs-none { font-style: italic; color: color-mix(in srgb, var(--hs-muted) 75%, transparent); }
.hs-vs td.hs-vs-now { position: relative; padding-left: 54px; font-size: 1.04rem; line-height: 1.55; color: var(--lp-ink); }
.hs-vs td.hs-vs-now::before { content: "✓"; position: absolute; left: 18px; top: 18px; width: 24px; height: 24px; border-radius: 50%; background: var(--lp-green); color: #fff;
  font-size: .8rem; font-weight: 800; line-height: 24px; text-align: center; }

/* Why we do it: the card and the assessment, the founder's sentence. */
.hs-keep { position: relative; display: flex; justify-content: center; align-items: center; padding: 4% 0 10%; }
.hs-keep .lp-card { position: relative; z-index: 2; width: min(300px, 60%); }
.hs-keep-spider { position: absolute; z-index: 1; right: 0; bottom: 0; width: 48%; transform: rotate(-3deg); }
.hs-quote { margin: clamp(64px, 9vw, 112px) auto 0; max-width: 900px; padding: 0; text-align: center; }
.hs-quote p { margin: 0; font-size: clamp(1.5rem, 3.4vw, 2.5rem); line-height: 1.24; font-weight: 680; letter-spacing: -.02em; color: var(--lp-night-ink); text-wrap: balance; quotes: "«" "»"; }
.hs-quote p:lang(fr) { quotes: "« " " »"; }
.hs-quote p::before { content: open-quote; color: var(--hs-accent-night); }
.hs-quote p::after { content: close-quote; color: var(--hs-accent-night); }
.hs-quote footer { margin-top: 20px; color: var(--lp-night-muted); font-size: 1rem; }
.hs-quote footer::before { content: "— "; }

/* 2027: the ten years, in the light of a match day; the pitch lines of the landing page behind. */
.hs-final { position: relative; overflow: hidden; background: var(--lp-chalk); }
.hs-final::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(1100px, 140vw); aspect-ratio: 2 / 1; transform: translate(-50%, -50%);
  border: 3px solid var(--lp-green); border-radius: 6px; opacity: .08; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, transparent 0 15%, var(--lp-green) 15% calc(15% + 3px), transparent calc(15% + 3px)),
    linear-gradient(90deg, transparent calc(50% - 1.5px), var(--lp-green) calc(50% - 1.5px) calc(50% + 1.5px), transparent calc(50% + 1.5px)); }
.hs-final .lp-inner { position: relative; }
.hs-final-title { max-width: none; }
.hs-final .lp-lead { margin-bottom: 1em; }
.hs-final .hs-ten { color: var(--lp-ink); font-weight: 600; margin-bottom: 1.6em; }

@media (prefers-reduced-motion: reduce) {
  .hs-compare.is-live.is-moving .hs-compare-now, .hs-compare.is-live.is-moving .hs-compare-line { transition: none; }
  .hs-polaroid { transition: none; }
}
@media (max-width: 900px) {
  .hs-split { grid-template-columns: 1fr; }
  .hs-then-box { max-width: 520px; }
}
@media (max-width: 760px) {
  .hs-steps { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .hs-steps::before { display: none; }
  .hs-polaroids { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .hs-polaroid:nth-child(n) { grid-column: auto; margin-top: 0; }
  .hs-compare-stage { grid-template-columns: minmax(0, 1fr); }
  .hs-compare.is-live .hs-compare-stage { aspect-ratio: 4 / 3; }
  .hs-compare-line i { width: 38px; height: 38px; margin: -19px 0 0 -19px; }
  .hs-tag { bottom: 8px; font-size: .72rem; padding: 3px 8px; }
  .hs-tag-then { left: 8px; }
  .hs-tag-now { right: 8px; }
  .hs-duo { grid-template-columns: 1fr; }
  .hs-duo .lp-card { width: min(380px, 88%); margin: 0 auto; }
  .hs-phones .lp-phone { border-radius: 30px; padding: 6px; }
  .hs-phones .lp-phone img { border-radius: 25px; }
  .hs-keep { flex-direction: column; padding: 0; gap: 28px; }
  .hs-keep .lp-card { width: min(300px, 82%); }
  .hs-keep-spider { position: relative; width: 100%; transform: none; }
  .hs-vs, .hs-vs tbody, .hs-vs tr, .hs-vs th, .hs-vs td { display: block; width: auto; }
  .hs-vs thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hs-vs tr { padding: 18px 0; border-bottom: 1px solid var(--line); }
  .hs-vs th, .hs-vs td { border: 0; padding: 0; }
  .hs-vs tbody th { width: auto; margin-bottom: 10px; }
  .hs-vs td::before { content: attr(data-label); display: block; margin-bottom: 4px; font-family: var(--font); font-style: normal; font-size: .72rem; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase; color: var(--lp-muted); }
  .hs-vs td.hs-vs-then { width: auto; padding: 10px 12px; margin-bottom: 10px; }
  .hs-vs td.hs-vs-now { padding: 0 0 0 36px; }
  .hs-vs td.hs-vs-now::before { content: attr(data-label); position: static; width: auto; height: auto; margin-left: -36px; border-radius: 0; background: none; color: var(--lp-green);
    font-size: .72rem; line-height: 1.4; text-align: left; }
  .hs-vs td.hs-vs-now::after { content: "✓"; position: absolute; left: 0; top: 22px; width: 24px; height: 24px; border-radius: 50%; background: var(--lp-green); color: #fff;
    font-size: .8rem; font-weight: 800; line-height: 24px; text-align: center; }
}
.hs-compares.is-tabbed .hs-compare figcaption { display: none; }
