/* PostCSS entry point. postcss-import inlines everything below before Tailwind
 * runs, so this order is what actually arbitrates the cascade:
 *
 *   tailwindcss/base       preflight
 *   wk/_base.css           the charter's reset -- must beat preflight
 *   tailwindcss/components
 *   wk/*                   the charter -- beats components, loses to utilities
 *   tailwindcss/utilities  must stay last
 *
 * The wk/ partials are deliberately NOT wrapped in @layer: at equal specificity
 * source order decides, which gives exactly that arbitration. Two consequences
 * worth knowing, both checked:
 *   - `p { color: var(--t2) }` is (0,0,1); @tailwindcss/typography emits
 *     `.prose :where(p):not(...)` at (0,1,0), so the legal pages still win.
 *   - `h1,h2,h3 { font-weight: 500 }` loses to a `font-bold` utility, as it
 *     should. */

/* Design tokens of the WIKIOAI charter, taken verbatim from the maquette.
 *
 * This file -- not tailwind.config.js -- is the single source of truth for the
 * palette. Tailwind points at these custom properties so utilities stay usable
 * on the legal pages, but the values live here.
 *
 * Guiding principle: one accent colour (the violet), everything else in greys
 * on near-black. No light sections. */

:root {
  /* Surfaces, darkest to lightest */
  --bg: #07070A;      /* page background */
  --bg2: #0A0A0E;     /* alternating sections, form fields */
  --panel: #101016;   /* cards */
  --panel2: #15151C;  /* raised surfaces */
  --panel3: #1B1B24;  /* avatars, chips */

  /* Hairlines */
  --line: rgba(255, 255, 255, .08);
  --line2: rgba(255, 255, 255, .16);
  --dots: rgba(255, 255, 255, .14);

  /* Text */
  --t1: #F1F1F1;  /* primary */
  --t2: #9E9EAB;  /* secondary */
  --t3: #5E5E6B;  /* tertiary, mono labels */

  /* The one accent */
  --accent: #7C5CFF;
  --accent-lift: #9F86FF;                       /* hover, highlights */
  --accent-soft: rgba(124, 92, 255, .12);       /* diffuse violet fills */

  /* Status */
  --warning: #FFB020;
  --success: #3DE1C4;

  /* Type stacks */
  --disp: "Geist", "General Sans", -apple-system, system-ui, "Segoe UI", sans-serif;
  --mono: "Fragment Mono", ui-monospace, "SF Mono", monospace;

  /* Layout */
  --maxw: 1240px;
  --gut: clamp(20px, 5vw, 56px);
}

/* The two typefaces of the charter, both self-hosted.
 *
 * The url() paths are bare and relative on purpose: Propshaft resolves them
 * against app/assets/fonts and rewrites them to digested /assets/... paths at
 * serve and precompile time. Do not turn them into asset_path() calls -- this
 * is a plain CSS file, not an ERB template.
 *
 * Both are OFL-1.1; the license texts sit next to the files. */

/* Geist -- display and UI.
 * One variable file rather than four static cuts: it covers the 300-600 range
 * the charter uses for ~62 KB, where the static faces would cost ~120 KB. */

@font-face {
  font-family: 'Geist';
  src: url("/assets/geist/Geist-Variable-dba01545.woff2") format('woff2-variations');
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}

/* Fragment Mono -- labels, prices, timecodes, figures.
 * Latin subset only (U+0000-00FF covers every French diacritic, plus OE/oe).
 * No italic: the maquette asks Google Fonts for one but never uses it. */

@font-face {
  font-family: 'Fragment Mono';
  src: url("/assets/fragment_mono/FragmentMono-Regular-623a0454.woff2") format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

/* ! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com */

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: #e5e7eb; /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-tab-size: 4; /* 3 */
  -o-tab-size: 4;
     tab-size: 4; /* 3 */
  font-family: Geist, General Sans, -apple-system, system-ui, Segoe UI, sans-serif; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: Fragment Mono, ui-monospace, SF Mono, monospace; /* 1 */
  font-feature-settings: normal; /* 2 */
  font-variation-settings: normal; /* 3 */
  font-size: 1em; /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  letter-spacing: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

/* Base layer of the charter, taken from the maquette.
 *
 * Imported AFTER tailwindcss/base so this reset wins over preflight, and BEFORE
 * tailwindcss/utilities so utilities still win over it. See the import order in
 * _application.tailwind.css -- it is load-bearing.
 *
 * These rules are plain CSS, not wrapped in @layer, on purpose: at equal
 * specificity source order decides, which is exactly the arbitration we want. */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* The header is fixed and 68px tall, so #features/#pricing/#faq would
   * otherwise land underneath it. The maquette cannot have caught this: it is
   * never navigated by anchor. */
  scroll-padding-top: 76px;
}

body {
  background: var(--bg);
  color: var(--t1);
  font-family: var(--disp);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  /* clip, not hidden: `hidden` computes overflow-y to auto, which turns body
   * into a scroll container and breaks position:sticky on the pinned hero in
   * older Safari. `clip` contains the overflow without creating one. */
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut);
}

section {
  position: relative;
  padding: clamp(84px, 12vw, 168px) 0;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-lift);
}

.mono {
  font-family: var(--mono);
}

.t2 { color: var(--t2); }

.t3 { color: var(--t3); }

h1, h2, h3 {
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.02;
  color: var(--t1);
}

p {
  color: var(--t2);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.6;
}

/* Scroll reveal. Driven by the `reveal` Stimulus controller, which adds .in. */

.rv {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1);
}

.rv.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .rv {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.container {
  width: 100%;
}

@media (min-width: 640px) {

  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {

  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {

  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {

  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1536px) {

  .container {
    max-width: 1536px;
  }
}

.prose {
  color: var(--tw-prose-body);
  max-width: 65ch;
}

.prose :where(p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}

.prose :where([class~="lead"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-lead);
  font-size: 1.25em;
  line-height: 1.6;
  margin-top: 1.2em;
  margin-bottom: 1.2em;
}

.prose :where(a):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-links);
  text-decoration: underline;
  font-weight: 500;
}

.prose :where(strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-bold);
  font-weight: 600;
}

.prose :where(a strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(blockquote strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(thead th strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: decimal;
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  padding-inline-start: 1.625em;
}

.prose :where(ol[type="A"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: upper-alpha;
}

.prose :where(ol[type="a"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: lower-alpha;
}

.prose :where(ol[type="A" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: upper-alpha;
}

.prose :where(ol[type="a" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: lower-alpha;
}

.prose :where(ol[type="I"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: upper-roman;
}

.prose :where(ol[type="i"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: lower-roman;
}

.prose :where(ol[type="I" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: upper-roman;
}

.prose :where(ol[type="i" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: lower-roman;
}

.prose :where(ol[type="1"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: decimal;
}

.prose :where(ul):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: disc;
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  padding-inline-start: 1.625em;
}

.prose :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker {
  font-weight: 400;
  color: var(--tw-prose-counters);
}

.prose :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker {
  color: var(--tw-prose-bullets);
}

.prose :where(dt):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 600;
  margin-top: 1.25em;
}

.prose :where(hr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-color: var(--tw-prose-hr);
  border-top-width: 1px;
  margin-top: 3em;
  margin-bottom: 3em;
}

.prose :where(blockquote):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 500;
  font-style: italic;
  color: var(--tw-prose-quotes);
  border-inline-start-width: 0.25rem;
  border-inline-start-color: var(--tw-prose-quote-borders);
  quotes: "\201C""\201D""\2018""\2019";
  margin-top: 1.6em;
  margin-bottom: 1.6em;
  padding-inline-start: 1em;
}

.prose :where(blockquote p:first-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
  content: open-quote;
}

.prose :where(blockquote p:last-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
  content: close-quote;
}

.prose :where(h1):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 800;
  font-size: 2.25em;
  margin-top: 0;
  margin-bottom: 0.8888889em;
  line-height: 1.1111111;
}

.prose :where(h1 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 900;
  color: inherit;
}

.prose :where(h2):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 700;
  font-size: 1.5em;
  margin-top: 2em;
  margin-bottom: 1em;
  line-height: 1.3333333;
}

.prose :where(h2 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 800;
  color: inherit;
}

.prose :where(h3):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 600;
  font-size: 1.25em;
  margin-top: 1.6em;
  margin-bottom: 0.6em;
  line-height: 1.6;
}

.prose :where(h3 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 700;
  color: inherit;
}

.prose :where(h4):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 600;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  line-height: 1.5;
}

.prose :where(h4 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 700;
  color: inherit;
}

.prose :where(img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 2em;
  margin-bottom: 2em;
}

.prose :where(picture):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  display: block;
  margin-top: 2em;
  margin-bottom: 2em;
}

.prose :where(video):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 2em;
  margin-bottom: 2em;
}

.prose :where(kbd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 500;
  font-family: inherit;
  color: var(--tw-prose-kbd);
  box-shadow: 0 0 0 1px var(--tw-prose-kbd-shadows), 0 3px 0 var(--tw-prose-kbd-shadows);
  font-size: 0.875em;
  border-radius: 0.3125rem;
  padding-top: 0.1875em;
  padding-inline-end: 0.375em;
  padding-bottom: 0.1875em;
  padding-inline-start: 0.375em;
}

.prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-code);
  font-weight: 600;
  font-size: 0.875em;
}

.prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
  content: "`";
}

.prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
  content: "`";
}

.prose :where(a code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(h1 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(h2 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
  font-size: 0.875em;
}

.prose :where(h3 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
  font-size: 0.9em;
}

.prose :where(h4 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(blockquote code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(thead th code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(pre):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-pre-code);
  background-color: var(--tw-prose-pre-bg);
  overflow-x: auto;
  font-weight: 400;
  font-size: 0.875em;
  line-height: 1.7142857;
  margin-top: 1.7142857em;
  margin-bottom: 1.7142857em;
  border-radius: 0.375rem;
  padding-top: 0.8571429em;
  padding-inline-end: 1.1428571em;
  padding-bottom: 0.8571429em;
  padding-inline-start: 1.1428571em;
}

.prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  background-color: transparent;
  border-width: 0;
  border-radius: 0;
  padding: 0;
  font-weight: inherit;
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
}

.prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
  content: none;
}

.prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
  content: none;
}

.prose :where(table):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  width: 100%;
  table-layout: auto;
  margin-top: 2em;
  margin-bottom: 2em;
  font-size: 0.875em;
  line-height: 1.7142857;
}

.prose :where(thead):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-bottom-width: 1px;
  border-bottom-color: var(--tw-prose-th-borders);
}

.prose :where(thead th):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 600;
  vertical-align: bottom;
  padding-inline-end: 0.5714286em;
  padding-bottom: 0.5714286em;
  padding-inline-start: 0.5714286em;
}

.prose :where(tbody tr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-bottom-width: 1px;
  border-bottom-color: var(--tw-prose-td-borders);
}

.prose :where(tbody tr:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-bottom-width: 0;
}

.prose :where(tbody td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  vertical-align: baseline;
}

.prose :where(tfoot):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-top-width: 1px;
  border-top-color: var(--tw-prose-th-borders);
}

.prose :where(tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  vertical-align: top;
}

.prose :where(th, td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  text-align: start;
}

.prose :where(figure > *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
  margin-bottom: 0;
}

.prose :where(figcaption):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-captions);
  font-size: 0.875em;
  line-height: 1.4285714;
  margin-top: 0.8571429em;
}

.prose {
  --tw-prose-body: #374151;
  --tw-prose-headings: #111827;
  --tw-prose-lead: #4b5563;
  --tw-prose-links: #111827;
  --tw-prose-bold: #111827;
  --tw-prose-counters: #6b7280;
  --tw-prose-bullets: #d1d5db;
  --tw-prose-hr: #e5e7eb;
  --tw-prose-quotes: #111827;
  --tw-prose-quote-borders: #e5e7eb;
  --tw-prose-captions: #6b7280;
  --tw-prose-kbd: #111827;
  --tw-prose-kbd-shadows: rgb(17 24 39 / 10%);
  --tw-prose-code: #111827;
  --tw-prose-pre-code: #e5e7eb;
  --tw-prose-pre-bg: #1f2937;
  --tw-prose-th-borders: #d1d5db;
  --tw-prose-td-borders: #e5e7eb;
  --tw-prose-invert-body: #d1d5db;
  --tw-prose-invert-headings: #fff;
  --tw-prose-invert-lead: #9ca3af;
  --tw-prose-invert-links: #fff;
  --tw-prose-invert-bold: #fff;
  --tw-prose-invert-counters: #9ca3af;
  --tw-prose-invert-bullets: #4b5563;
  --tw-prose-invert-hr: #374151;
  --tw-prose-invert-quotes: #f3f4f6;
  --tw-prose-invert-quote-borders: #374151;
  --tw-prose-invert-captions: #9ca3af;
  --tw-prose-invert-kbd: #fff;
  --tw-prose-invert-kbd-shadows: rgb(255 255 255 / 10%);
  --tw-prose-invert-code: #fff;
  --tw-prose-invert-pre-code: #d1d5db;
  --tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);
  --tw-prose-invert-th-borders: #4b5563;
  --tw-prose-invert-td-borders: #374151;
  font-size: 1rem;
  line-height: 1.75;
}

.prose :where(picture > img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
  margin-bottom: 0;
}

.prose :where(li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.prose :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-start: 0.375em;
}

.prose :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-start: 0.375em;
}

.prose :where(.prose > ul > li p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.75em;
  margin-bottom: 0.75em;
}

.prose :where(.prose > ul > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.25em;
}

.prose :where(.prose > ul > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-bottom: 1.25em;
}

.prose :where(.prose > ol > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.25em;
}

.prose :where(.prose > ol > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-bottom: 1.25em;
}

.prose :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.75em;
  margin-bottom: 0.75em;
}

.prose :where(dl):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}

.prose :where(dd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.5em;
  padding-inline-start: 1.625em;
}

.prose :where(hr + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.prose :where(h2 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.prose :where(h3 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.prose :where(h4 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.prose :where(thead th:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-start: 0;
}

.prose :where(thead th:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-end: 0;
}

.prose :where(tbody td, tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-top: 0.5714286em;
  padding-inline-end: 0.5714286em;
  padding-bottom: 0.5714286em;
  padding-inline-start: 0.5714286em;
}

.prose :where(tbody td:first-child, tfoot td:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-start: 0;
}

.prose :where(tbody td:last-child, tfoot td:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-end: 0;
}

.prose :where(figure):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 2em;
  margin-bottom: 2em;
}

.prose :where(.prose > :first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.prose :where(.prose > :last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-bottom: 0;
}

.prose-invert {
  --tw-prose-body: var(--tw-prose-invert-body);
  --tw-prose-headings: var(--tw-prose-invert-headings);
  --tw-prose-lead: var(--tw-prose-invert-lead);
  --tw-prose-links: var(--tw-prose-invert-links);
  --tw-prose-bold: var(--tw-prose-invert-bold);
  --tw-prose-counters: var(--tw-prose-invert-counters);
  --tw-prose-bullets: var(--tw-prose-invert-bullets);
  --tw-prose-hr: var(--tw-prose-invert-hr);
  --tw-prose-quotes: var(--tw-prose-invert-quotes);
  --tw-prose-quote-borders: var(--tw-prose-invert-quote-borders);
  --tw-prose-captions: var(--tw-prose-invert-captions);
  --tw-prose-kbd: var(--tw-prose-invert-kbd);
  --tw-prose-kbd-shadows: var(--tw-prose-invert-kbd-shadows);
  --tw-prose-code: var(--tw-prose-invert-code);
  --tw-prose-pre-code: var(--tw-prose-invert-pre-code);
  --tw-prose-pre-bg: var(--tw-prose-invert-pre-bg);
  --tw-prose-th-borders: var(--tw-prose-invert-th-borders);
  --tw-prose-td-borders: var(--tw-prose-invert-td-borders);
}

/* Buttons and links, from the maquette.
 *
 * This replaces the old charter's _buttons.css wholesale. Worth knowing: that
 * file was paired with a `.btn { height: auto !important }` rule in
 * _application.tailwind.css which would have silently beaten the 34px height
 * below. Both are gone. */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 18px;
  border-radius: 6px;
  font-family: var(--disp);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: -.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: .22s;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn > * {
  position: relative;
  z-index: 1;
}

/* The sheen that sweeps left to right on hover. */

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 42%;
  pointer-events: none;
  transform: skewX(-18deg);
  opacity: 0;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, .5), transparent);
}

.btn:hover::after {
  animation: sheen .6s cubic-bezier(.35, 0, .25, 1);
}

@keyframes sheen {
  0% { left: -60%; opacity: 0; }
  12% { opacity: 1; }
  100% { left: 135%; opacity: 0; }
}

.btn-light {
  background: var(--t1);
  color: #020202;
  border-color: var(--t1);
}

.btn-light:hover {
  background: #fff;
}

.btn-light::after {
  width: 52%;
  background: linear-gradient(110deg, transparent 18%, rgba(0, 0, 0, .09) 42%, rgba(255, 255, 255, .95) 56%, transparent 82%);
}

.btn-outline {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .14);
  color: var(--t1);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .26);
}

.btn-ghost {
  background: transparent;
  color: var(--t2);
  padding: 0 6px;
}

.btn-ghost:hover {
  color: var(--t1);
}

.btn .arw {
  transition: transform .25s;
}

.btn:hover .arw {
  transform: translateX(3px);
}

/* Underlined inline link. */

.lnk {
  color: var(--t1);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid var(--line2);
  padding-bottom: 3px;
  transition: .25s;
}

.lnk:hover {
  border-color: var(--accent);
  color: var(--accent-lift);
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover::after {
    animation: none;
  }
}

/* Site header, from the maquette. Fixed, transparent, opacifies on scroll --
 * the `header` Stimulus controller toggles .scrolled. */

.wk-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background .3s, border-color .3s;
}

.wk-header.scrolled {
  background: rgba(7, 7, 10, .72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
}

.brand .logo-img {
  height: 22px;
  width: auto;
}

/* The centred pill of anchors. Absolutely positioned so it stays centred on the
 * viewport regardless of how wide the brand and the CTAs are. */

.nav-pill {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px;
}

.nav-pill a {
  font-size: 13.5px;
  color: var(--t2);
  padding: 7px 15px;
  border-radius: 999px;
  transition: .2s;
}

.nav-pill a:hover {
  color: var(--t1);
  background: rgba(255, 255, 255, .05);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--t3);
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

.lang b {
  color: var(--t1);
  font-weight: 400;
}

.lang:hover {
  color: var(--t2);
}

@media (max-width: 900px) {
  .nav-pill {
    display: none;
  }
}

/* The pinned hero, from the maquette.
 *
 * A tall section holding a sticky viewport-height stage. Scroll progress
 * through the pin drives a single render(p) in the `hero-pin` controller:
 * thumbnails converge, a pseudo-timeline is revealed, a playhead scrubs, then
 * everything exits.
 *
 * svh rather than vh: on iOS the URL bar collapsing mid-scroll changes vh,
 * which fires resize and makes the pin maths jump under the reader. */

.hero-pin {
  height: 250svh;
  position: relative;
  padding: 0;
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding-top: clamp(60px, 7.5vh, 90px);
}

/* Violet stage-lights: three soft spots drifting like lights over a stage.
 * The `hero-glow` controller nudges them with the pointer. */

.glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  will-change: transform;
  transform-origin: 50% 22%;
}

.gw {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.g {
  position: absolute;
  left: 50%;
  top: 30%;
  border-radius: 50%;
  filter: blur(68px);
  mix-blend-mode: screen;
  will-change: transform;
}

.g1 {
  width: 520px;
  height: 420px;
  background: radial-gradient(closest-side, rgba(124, 92, 255, .34), transparent 70%);
  animation: spot1 19s ease-in-out infinite;
}

.g2 {
  width: 480px;
  height: 400px;
  background: radial-gradient(closest-side, rgba(90, 66, 224, .30), transparent 70%);
  animation: spot2 24s ease-in-out infinite;
}

.g3 {
  width: 400px;
  height: 340px;
  background: radial-gradient(closest-side, rgba(168, 142, 255, .26), transparent 70%);
  animation: spot3 16s ease-in-out infinite;
}

@keyframes spot1 {
  0%, 100% { transform: translate(-80%, -66%) scale(1); }
  50% { transform: translate(-74%, -60%) scale(1.05); }
}

@keyframes spot2 {
  0%, 100% { transform: translate(-22%, -64%) scale(1.03); }
  50% { transform: translate(-28%, -70%) scale(.97); }
}

@keyframes spot3 {
  0%, 100% { transform: translate(-50%, -22%) scale(.95); }
  50% { transform: translate(-50%, -30%) scale(1.04); }
}

.hero-inner {
  position: relative;
  z-index: 5;
}

/* Fixed height: the two titles are stacked and cross-fade, so the box must not
 * resize when they swap. */

.hero-titles {
  position: relative;
  font-size: clamp(2.7rem, 6.6vw, 5.4rem);
  height: 2.14em;
}

.htitle {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: min(92vw, 17ch);
  font-size: 1em;
  letter-spacing: -.03em;
  line-height: 1.0;
  will-change: opacity, transform;
}

.ht-b {
  opacity: 0;
}

.hero-inner .sub {
  margin: 20px auto 0;
  max-width: 46ch;
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--t2);
}

.hero-cta {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 26px;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 15px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--t3);
  letter-spacing: .03em;
}

.stage {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* Thumbnails are animated through width/height + translate, never scale --
 * scaling would distort the images inside them. */

.thumb {
  position: absolute;
  left: 50%;
  top: 42%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line2);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(0, 0, 0, .42));
}

.thumb .tag {
  position: absolute;
  left: 10px;
  top: 9px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 10.5px;
  color: #fff;
  background: rgba(0, 0, 0, .45);
  backdrop-filter: blur(4px);
  padding: 3px 7px;
  border-radius: 5px;
  opacity: 0;
}

.scrollcue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--t3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}

.scrollcue .ln {
  width: 1px;
  height: 26px;
  background: linear-gradient(var(--t3), transparent);
}

/* The pseudo-timeline, revealed once the thumbnails have lined up. */

.timeline {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -58px);
  z-index: 1;
  width: min(720px, 88vw);
  padding: 10px;
  opacity: 0;
  pointer-events: none;
  background: rgba(16, 16, 24, .5);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 30px 70px -34px rgba(0, 0, 0, .75);
}

.tl-ruler {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 16px;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--t3);
  letter-spacing: .02em;
}

.tl-ticks {
  flex: 1;
  height: 6px;
  margin: 0 10px;
  background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 30px);
}

.tl-track {
  position: relative;
  margin-top: 7px;
  border-radius: 6px;
  overflow: hidden;
}

.tl-subs {
  height: 20px;
  display: flex;
  gap: 6px;
}

.tl-seg {
  background: var(--accent-soft);
  border: 1px solid rgba(124, 92, 255, .28);
  border-radius: 4px;
  display: flex;
  align-items: center;
  padding: 0 8px;
  font-size: 8.5px;
  color: var(--accent-lift);
  white-space: nowrap;
  overflow: hidden;
}

.tl-audio {
  height: 38px;
  background: rgba(255, 255, 255, .02);
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 8px;
}

.tl-audio i {
  flex: 1;
  min-width: 1px;
  background: rgba(124, 92, 255, .45);
  border-radius: 1px;
}

.tl-plans {
  height: 84px;
  background: rgba(255, 255, 255, .025);
  border: 1px solid var(--line);
}

.tl-playhead {
  position: absolute;
  left: 34%;
  top: 28px;
  bottom: 10px;
  width: 1.5px;
  background: var(--accent-lift);
  z-index: 4;
  box-shadow: 0 0 8px rgba(124, 92, 255, .7);
}

.tl-playhead::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -3px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent-lift);
}

@media (max-width: 820px) {
  .timeline {
    display: none;
  }

  .hero-pin {
    height: 200svh;
  }

  .thumb.hide-m {
    display: none;
  }
}

/* Reduced motion flattens the whole thing: no pin, no sticky, one title. */

@media (prefers-reduced-motion: reduce) {
  .g {
    animation: none;
  }

  .hero-pin {
    height: auto;
  }

  .hero-sticky {
    position: static;
    height: auto;
    padding: 168px 0 108px;
  }

  .ht-b {
    display: none;
  }
}

/* Capability rows and their four mockups, from the maquette.
 *
 * The subtitle editor's "the AI has corrected this" state is .corrected here,
 * where the maquette calls it .fixed. It had to move: the maquette has no
 * Tailwind, but we do, and `.fixed { position: fixed }` is one of its
 * utilities -- imported last, so it won. Adding the state class yanked the
 * whole mockup out of the document flow, which knocked it out of its own
 * IntersectionObserver and reset the animation on every cycle. It never played.
 *
 * Two departures, both mechanical:
 *   - #segActive became .seg-active. The maquette keys styles off IDs, which
 *     break the moment anything renders twice.
 *   - The Unsplash URL in .vz-as points at our own copy. Bare and relative:
 *     Propshaft resolves it against app/assets/images and digests it.
 *
 * Every height here that looks arbitrary is load-bearing: .seg-active (104px)
 * and .ai-card (114px) are fixed so the subtitle cycle cannot shift the layout
 * as it swaps content. */

/* ---------- capability rows (cartes encadrées façon Ponder) ---------- */

.cap-head{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;flex-wrap:wrap;margin-bottom:clamp(22px,2.6vw,40px)}

.cap-head .eyebrow{margin-bottom:14px;display:block}

.cap-h2{font-size:clamp(1.9rem,3.4vw,2.9rem);letter-spacing:-.02em;max-width:15ch}

.cap-head-sub{max-width:32ch;color:var(--t2);font-size:15px;line-height:1.55}

.cap{display:flex;flex-direction:column;gap:16px}

.cap-row{display:grid;grid-template-columns:1.08fr .92fr;align-items:stretch;
  background:var(--panel);border:1px solid var(--line);border-radius:18px;overflow:hidden}

.cap-copy{display:flex;flex-direction:column;min-height:300px;padding:clamp(28px,3.2vw,50px)}

.cap-num{font-family:var(--mono);font-size:13px;color:var(--accent-lift);letter-spacing:.1em}

.cap-copy h2{font-size:clamp(1.7rem,3vw,2.6rem);margin-top:18px;max-width:15ch}

.cap-chip{display:inline-flex;align-items:center;gap:7px;align-self:flex-start;margin-top:18px;
  font-family:var(--mono);font-size:11.5px;color:var(--accent-lift);background:var(--accent-soft);
  border:1px solid rgba(124,92,255,.24);padding:5px 11px;border-radius:999px}

.cap-copy .desc{margin-top:auto;padding-top:36px;max-width:44ch}

.cap-copy .desc .more{margin-top:16px}

.cap-visual{border-left:1px solid var(--line);background:var(--bg2);position:relative;overflow:hidden;
  min-height:300px;display:flex;align-items:center;justify-content:center;padding:26px}

.cap-visual::before{content:"";position:absolute;inset:0;opacity:.5;
  background-image:radial-gradient(var(--dots) 1px,transparent 1px);background-size:22px 22px;
  -webkit-mask-image:radial-gradient(closest-side,#000,transparent);mask-image:radial-gradient(closest-side,#000,transparent)}

@media(max-width:860px){.cap-row{grid-template-columns:1fr}.cap-copy{min-height:auto}.cap-visual{border-left:0;border-top:1px solid var(--line);min-height:240px}.cap-copy .desc{padding-top:24px}}

/* --- mockup: short clips (9:16 with captions) --- */

.mk-phone{position:relative;width:190px;aspect-ratio:9/16;border-radius:20px;overflow:hidden;
  border:1px solid var(--line2);background:#000 center/cover;
  background-image:url("/assets/demo/pool/final-736ff4da.webp")}

.mk-phone .cap{position:absolute;left:12px;right:12px;bottom:44px;text-align:center;
  font-weight:600;font-size:14px;color:#fff;text-shadow:0 2px 8px rgba(0,0,0,.6)}

.mk-phone .cap b{color:var(--accent-lift)}

.mk-phone .pill{position:absolute;left:10px;top:10px;font-family:var(--mono);font-size:9.5px;color:#fff;
  background:rgba(124,92,255,.55);padding:3px 7px;border-radius:5px;backdrop-filter:blur(3px)}

.mk-phone .prog{position:absolute;left:12px;right:12px;bottom:22px;height:3px;border-radius:3px;background:rgba(255,255,255,.25)}

.mk-phone .prog::after{content:"";position:absolute;left:0;top:0;bottom:0;width:62%;background:var(--accent-lift);border-radius:3px}

.mk-side{position:absolute;right:20px;top:26px;display:flex;flex-direction:column;gap:8px}

.mk-moment{display:flex;align-items:center;gap:8px;background:var(--panel2);border:1px solid var(--line);
  border-radius:9px;padding:8px 10px;font-size:11.5px;color:var(--t2);width:150px}

.mk-moment .dot{width:6px;height:6px;border-radius:50%;background:var(--accent-lift)}

.mk-moment .tc{font-family:var(--mono);font-size:10px;color:var(--t3);margin-left:auto}

/* short clips : scan IA (images qui défilent) puis figeage + révélation */

.mk-phone .pill,.mk-phone .cap,.mk-phone .prog{opacity:0;transition:opacity .45s ease}

.mk-moment{opacity:0;transform:translateY(8px);transition:opacity .5s ease,transform .5s ease}

.scan-done .mk-phone .pill,.scan-done .mk-phone .cap,.scan-done .mk-phone .prog{opacity:1}

.scan-done .mk-moment{opacity:1;transform:none}

.scan-done .mk-moment:nth-child(1){transition-delay:.06s}

.scan-done .mk-moment:nth-child(2){transition-delay:.2s}

.scan-done .mk-moment:nth-child(3){transition-delay:.34s}

@keyframes lockflash{0%{box-shadow:0 0 0 0 rgba(124,92,255,.55)}100%{box-shadow:0 0 0 14px rgba(124,92,255,0)}}

.scan-done .mk-phone{animation:lockflash .6s ease-out}

@media(prefers-reduced-motion:reduce){.mk-phone .pill,.mk-phone .cap,.mk-phone .prog,.mk-moment{opacity:1;transform:none}}

/* --- mockup: verticaliser (16:9 with crop bracket) --- */

.mk-crop{position:relative;width:min(88%,420px);aspect-ratio:16/9;border-radius:12px;overflow:hidden;
  border:1px solid var(--line2);background:#050507;cursor:crosshair}

.mk-crop .ph{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;transition:opacity .7s ease}

.mk-crop .ph.on{opacity:1}

.mk-crop .frame{position:absolute;top:7%;bottom:38px;left:50%;transform:translateX(-50%);aspect-ratio:9/16;z-index:3;
  border:2px solid var(--accent-lift);border-radius:6px;box-shadow:0 0 0 2000px rgba(0,0,0,.42)}

.mk-crop .frame::before{content:"9:16";position:absolute;top:-20px;left:0;font-family:var(--mono);font-size:10px;color:var(--accent-lift)}

.mk-crop .frame::after{content:"";position:absolute;top:50%;left:50%;width:18px;height:18px;transform:translate(-50%,-50%);
  border:1.5px solid var(--accent-lift);border-radius:50%;box-shadow:0 0 10px rgba(124,92,255,.55);opacity:.85}

.mk-crop .hd{position:absolute;left:10px;top:9px;z-index:4;font-family:var(--mono);font-size:10px;color:#fff;background:rgba(0,0,0,.45);padding:3px 7px;border-radius:5px}

.mk-crop .track{position:absolute;left:10px;top:34px;z-index:4;font-family:var(--mono);font-size:9.5px;color:var(--accent-lift);
  background:rgba(0,0,0,.4);padding:2px 6px;border-radius:4px;opacity:0;transition:opacity .3s}

.mk-crop:hover .track{opacity:1}

.mk-crop .vtl{position:absolute;left:10px;right:10px;bottom:9px;height:20px;z-index:4;background:rgba(0,0,0,.55);
  border-radius:5px;display:flex;align-items:center;gap:4px;padding:0 6px}

.mk-crop .vtl .blk{height:8px;border-radius:2px;background:rgba(255,255,255,.13);transition:.4s}

.mk-crop .vtl .blk.sel{background:rgba(124,92,255,.5)}

.mk-crop .vtl .blk.act{background:var(--accent-lift);box-shadow:0 0 10px rgba(124,92,255,.85)}

/* --- mockup: assistant IA sous-titres (éditeur bilingue + correction IA en direct) --- */

.mk-sub{width:100%;max-width:430px;position:relative;z-index:1;font-family:var(--disp);
  background:var(--panel);border:1px solid var(--line);border-radius:13px;overflow:hidden;box-shadow:0 24px 48px -28px rgba(0,0,0,.75)}

.mk-sub .hd{display:flex;align-items:center;gap:9px;padding:10px 12px;border-bottom:1px solid var(--line)}

.mk-sub .spark{width:24px;height:24px;border-radius:7px;background:var(--accent-soft);border:1px solid rgba(124,92,255,.32);display:grid;place-items:center;color:var(--accent-lift);font-size:12px}

.mk-sub .ttl{font-size:12px;color:var(--t2)}

.mk-sub .tabs{display:flex;gap:5px;margin-left:auto;font-family:var(--mono);font-size:9.5px}

.mk-sub .tabs span{padding:3px 7px;border-radius:6px;color:var(--t3);white-space:nowrap}

.mk-sub .tabs span.on{background:var(--accent-soft);color:var(--accent-lift)}

.mk-sub .auto{display:flex;align-items:center;gap:7px;padding:8px 12px;border-bottom:1px solid var(--line);font-family:var(--mono);font-size:10px;color:var(--accent-lift);background:rgba(124,92,255,.05)}

.mk-sub .seg{padding:10px 12px 11px;border-bottom:1px solid var(--line);position:relative}

.mk-sub .seg::before{content:"";position:absolute;left:0;top:0;bottom:0;width:2px;background:transparent}

.mk-sub .seg.flag::before{background:var(--warning);transition:background .5s}

.mk-sub.corrected .seg-active::before{background:var(--success)}

.mk-sub .spk{font-family:var(--mono);font-size:9.5px;color:var(--t3);margin-bottom:6px}

.mk-sub .bi{display:grid;grid-template-columns:1fr 1.05fr;gap:12px;align-items:start}

.mk-sub .en{font-size:11.5px;color:var(--t3);line-height:1.35}

.mk-sub .fr{font-size:12.5px;color:var(--t1);font-weight:500;line-height:1.35;position:relative}

.mk-sub .fr .after{position:absolute;left:0;top:0;opacity:0;transition:opacity .5s}

.mk-sub .fr .before{transition:opacity .5s}

.mk-sub.corrected .seg-active .fr .before{opacity:0}

.mk-sub.corrected .seg-active .fr .after{opacity:1}

.mk-sub .meta{display:flex;gap:9px;margin-top:8px;font-family:var(--mono);font-size:9.5px;color:var(--t3)}

.mk-sub .mm{position:relative;display:inline-block}

.mk-sub .mm b{font-weight:400}

.mk-sub .mm .ma{position:absolute;left:0;top:0;opacity:0;transition:opacity .5s;white-space:nowrap}

.mk-sub .mm .mb{color:var(--warning);transition:opacity .5s}

.mk-sub.corrected .seg-active .mm .mb{opacity:0}

.mk-sub.corrected .seg-active .mm .ma{opacity:1;color:var(--success)}

.seg-active{height:104px;overflow:hidden;transition:opacity .28s}

.seg-active.swap{opacity:0}

/* carte IA — synchronisée avec le segment actif ci-dessus */

.mk-sub .ai-card{padding:12px;border-top:1px solid var(--line);background:rgba(124,92,255,.045);height:114px;overflow:hidden;transition:opacity .28s}

.mk-sub .ai-card.swap{opacity:0}

.mk-sub .ai-row{display:flex;align-items:center;gap:7px;font-family:var(--mono);font-size:9.5px}

.mk-sub .ai-dot{width:7px;height:7px;border-radius:50%;background:var(--warning);flex:none;transition:background .4s}

.mk-sub.corrected .ai-dot{background:var(--success)}

.mk-sub .ai-badge{padding:2px 7px;border-radius:5px;background:var(--accent-soft);color:var(--accent-lift)}

.mk-sub .ai-meta,.mk-sub .ai-sid{color:var(--t3)}

.mk-sub .ai-title{font-size:12px;color:var(--t1);margin-top:9px;font-weight:500;line-height:1.3}

.mk-sub .ai-foot{display:flex;align-items:center;gap:8px;margin-top:12px;min-height:24px}

.mk-sub .ai-metric{position:relative;display:inline-block;font-family:var(--mono);font-size:9.5px;color:var(--t3)}

.mk-sub .ai-metric .ma{position:absolute;left:0;top:0;opacity:0;transition:opacity .4s;white-space:nowrap}

.mk-sub .ai-metric .mb{transition:opacity .4s;white-space:nowrap}

.mk-sub.corrected .ai-metric .mb{opacity:0}

.mk-sub.corrected .ai-metric .ma{opacity:1;color:var(--success)}

.mk-sub .ai-btn{margin-left:auto;font-family:var(--mono);font-size:10px;color:var(--accent-lift);cursor:pointer;
  background:var(--accent-soft);border:1px solid rgba(124,92,255,.32);padding:5px 10px;border-radius:7px;display:inline-flex;gap:5px;align-items:center}

.mk-sub .ai-done{margin-left:auto;font-family:var(--mono);font-size:10px;color:var(--success);display:none;align-items:center;gap:5px}

.mk-sub.corrected .ai-btn{display:none}

.mk-sub.corrected .ai-done{display:inline-flex}

@keyframes pulsebtn{0%,100%{box-shadow:0 0 0 0 rgba(124,92,255,.4)}70%{box-shadow:0 0 0 6px rgba(124,92,255,0)}}

.mk-sub:not(.corrected) .ai-btn.pulse{animation:pulsebtn 1.6s ease-out infinite}

/* --- mockup: recherche vidéo (recherche animée + résultats) --- */

.mk-search{width:100%;max-width:440px;position:relative;z-index:1}

.mk-search .in{display:flex;align-items:center;gap:10px;background:var(--panel);border:1px solid var(--line2);
  border-radius:11px;padding:12px 14px;font-size:13.5px;color:var(--t1);min-height:46px}

.mk-search .in svg{width:16px;height:16px;color:var(--t2);flex:none}

.mk-search .q{white-space:nowrap;overflow:hidden}

.mk-search .cur{width:1.5px;height:15px;background:var(--accent-lift);display:inline-block;vertical-align:-2px;animation:bl 1.1s step-end infinite}

.mk-search.loading .cur{display:none}

.mk-search .spin{width:15px;height:15px;border:2px solid var(--line2);border-top-color:var(--accent-lift);border-radius:50%;margin-left:auto;animation:spin .7s linear infinite;display:none;flex:none}

.mk-search.loading .spin{display:block}

@keyframes bl{50%{opacity:0}}

@keyframes spin{to{transform:rotate(360deg)}}

.mk-search .count{font-family:var(--mono);font-size:9.5px;color:var(--t3);margin:11px 2px 0;min-height:12px}

.mk-search .res{margin-top:8px;display:flex;flex-direction:column;gap:8px;min-height:216px}

.mk-search .r{display:flex;align-items:center;gap:11px;background:var(--panel);border:1px solid var(--line);
  border-radius:10px;padding:8px 11px;opacity:0;transform:translateY(6px);transition:opacity .4s,transform .4s}

.mk-search .r.show{opacity:1;transform:none}

.mk-search .r .th{width:62px;height:38px;border-radius:6px;background:center/cover;flex:none}

.mk-search .r .mt{overflow:hidden;min-width:0}

.mk-search .r .mt b{color:var(--t1);font-weight:500;font-size:12.5px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.mk-search .r .mt span{color:var(--t3);font-size:11px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.mk-search .r .tc{margin-left:auto;font-family:var(--mono);font-size:11px;color:var(--accent-lift);flex:none}

/* The maquette carries these as inline style attributes on the <section>.
 * They are layout, so they belong here. */

.wk-features {
  padding: 0 0 clamp(40px, 5vw, 68px);
}

/* The "under the hood" grid: four animated bricks. Pure CSS, no JS -- the
 * animations are infinite keyframes that cost nothing to leave running.
 * From the maquette. */

/* ---------- socle (briques IA illustrées + animées) ---------- */

.socle-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:44px}

.socle-cell{background:var(--panel);border:1px solid var(--line);border-radius:16px;overflow:hidden;display:flex;flex-direction:column}

.socle-viz{height:120px;position:relative;overflow:hidden;background:var(--bg2);border-bottom:1px solid var(--line)}

.socle-body{padding:18px 20px 20px}

.socle-body .n{font-family:var(--mono);font-size:11px;color:var(--accent-lift);letter-spacing:.1em}

.socle-body h3{font-size:1.05rem;margin:11px 0 3px}

.socle-body .sub{font-family:var(--mono);font-size:9px;color:var(--t3);text-transform:uppercase;letter-spacing:.06em;margin-bottom:9px}

.socle-body p{font-size:12.5px;color:var(--t2);line-height:1.5}

@media(max-width:860px){.socle-grid{grid-template-columns:1fr 1fr}}

@media(max-width:520px){.socle-grid{grid-template-columns:1fr}}

/* A · transcription : forme d'onde → lignes de transcription */

.vz-tr .wf{position:absolute;top:22px;left:16px;right:16px;height:34px;display:flex;align-items:center;gap:3px}

.vz-tr .wf i{flex:1;height:30%;background:rgba(124,92,255,.55);border-radius:1px;animation:wf 1.1s ease-in-out infinite}

.vz-tr .wf i:nth-child(2n){animation-delay:.15s}

.vz-tr .wf i:nth-child(3n){animation-delay:.35s}

.vz-tr .wf i:nth-child(5n){animation-delay:.5s}

@keyframes wf{0%,100%{height:18%}50%{height:82%}}

.vz-tr .ln{position:absolute;left:16px;height:5px;border-radius:3px;background:var(--accent-lift);transform-origin:left;animation:trln 3.6s ease-in-out infinite}

.vz-tr .l1{right:42%;bottom:36px;animation-delay:.2s}

.vz-tr .l2{right:22%;bottom:24px;animation-delay:.7s}

.vz-tr .l3{right:55%;bottom:12px;animation-delay:1.2s}

@keyframes trln{0%{transform:scaleX(0)}20%,100%{transform:scaleX(1)}}

/* B · analyse de l'asset : image scannée + tags */

.vz-as{background:center/cover;background-image:url("/assets/demo/socle-asset-cf7fbf11.webp")}

.vz-as::before{content:"";position:absolute;inset:0;background:rgba(6,6,12,.42)}

.vz-as .scan{position:absolute;left:0;right:0;height:2px;background:linear-gradient(90deg,transparent,var(--accent-lift),transparent);box-shadow:0 0 12px rgba(124,92,255,.9);z-index:2;animation:scan 3s ease-in-out infinite}

@keyframes scan{0%,100%{top:8%}50%{top:90%}}

.vz-as .tag{position:absolute;z-index:3;font-family:var(--mono);font-size:8.5px;color:#fff;background:rgba(124,92,255,.78);padding:2px 6px;border-radius:4px;opacity:0;animation:tagp 3s ease-in-out infinite}

.vz-as .t1{top:16%;left:12%;animation-delay:.5s}

.vz-as .t2{top:48%;left:46%;animation-delay:1.2s}

.vz-as .t3{top:72%;left:16%;animation-delay:1.9s}

@keyframes tagp{0%,12%{opacity:0;transform:translateY(4px)}22%,82%{opacity:1;transform:none}94%,100%{opacity:0}}

/* C · résumé : contenu long qui se condense */

.vz-re .doc{position:absolute;top:16px;left:16px;right:16px;display:flex;flex-direction:column;gap:5px}

.vz-re .doc i{height:4px;border-radius:2px;background:rgba(255,255,255,.1)}

.vz-re .doc i:nth-child(1){width:92%}

.vz-re .doc i:nth-child(2){width:78%}

.vz-re .doc i:nth-child(3){width:88%}

.vz-re .doc i:nth-child(4){width:66%}

.vz-re .doc i:nth-child(5){width:82%}

.vz-re .sum{position:absolute;bottom:13px;left:16px;right:16px;display:flex;flex-direction:column;gap:6px;padding:9px 11px;background:var(--accent-soft);border:1px solid rgba(124,92,255,.3);border-radius:8px;animation:sumin 3.4s ease-in-out infinite}

.vz-re .sum i{height:5px;border-radius:2px;background:var(--accent-lift)}

.vz-re .sum i:nth-child(1){width:72%}

.vz-re .sum i:nth-child(2){width:44%}

@keyframes sumin{0%,25%{opacity:0;transform:translateY(10px)}42%,86%{opacity:1;transform:none}100%{opacity:0}}

/* D · indexation : marqueurs + entrées qui s'indexent */

.vz-ix .tl{position:absolute;top:26px;left:16px;right:16px;height:2px;background:rgba(255,255,255,.12)}

.vz-ix .mk{position:absolute;top:23px;width:8px;height:8px;border-radius:50%;background:var(--accent-lift);box-shadow:0 0 8px var(--accent-lift);opacity:0;animation:ixmk 3.6s ease-in-out infinite}

.vz-ix .m1{left:20%;animation-delay:.3s}

.vz-ix .m2{left:46%;animation-delay:.9s}

.vz-ix .m3{left:72%;animation-delay:1.5s}

@keyframes ixmk{0%,10%{opacity:0;transform:scale(0)}20%,86%{opacity:1;transform:scale(1)}100%{opacity:0}}

.vz-ix .ent{position:absolute;left:16px;right:16px;bottom:15px;display:flex;flex-direction:column;gap:6px}

.vz-ix .e{display:flex;align-items:center;gap:6px;font-family:var(--mono);font-size:8.5px;color:var(--t2);opacity:0;animation:ixe 3.6s ease-in-out infinite}

.vz-ix .e .d{width:6px;height:6px;border-radius:2px;background:var(--accent-lift);flex:none}

.vz-ix .e .tc{margin-left:auto;color:var(--accent-lift)}

.vz-ix .e1{animation-delay:.6s}

.vz-ix .e2{animation-delay:1.3s}

@keyframes ixe{0%,14%{opacity:0;transform:translateX(-6px)}26%,88%{opacity:1;transform:none}100%{opacity:0}}

@media(prefers-reduced-motion:reduce){.vz-tr .wf i,.vz-tr .ln,.vz-as .scan,.vz-as .tag,.vz-re .sum,.vz-ix .mk,.vz-ix .e{animation:none}.vz-tr .ln,.vz-as .tag,.vz-re .sum,.vz-ix .mk,.vz-ix .e{opacity:1;transform:none}}

/* Inline on the <section> in the maquette. */

.wk-socle {
  padding: clamp(44px, 6vw, 76px) 0;
}

.socle-head {
  max-width: 640px;
}

.socle-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-top: 16px;
}

.socle-head p {
  margin-top: 14px;
}

/* Pricing cards and the credit calculator, from the maquette.
 * #pricing is a real anchor -- the header and footer point at it -- so unlike
 * the mockups' IDs it stays an ID. */

/* ---------- pricing ---------- */

#pricing{padding:clamp(44px,6vw,76px) 0}

.price-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap}

.price-head h2{font-size:clamp(2rem,3.6vw,3rem);max-width:16ch}

.seats{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:var(--t2);border:1px solid var(--line2);border-radius:999px;padding:8px 15px}

.seats b{color:var(--t1);font-weight:500}

.prices{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:44px;perspective:1400px}

.pc{border:1px solid var(--line);border-radius:16px;padding:26px 24px;display:flex;flex-direction:column;position:relative;background:linear-gradient(180deg,rgba(255,255,255,.015),transparent);transition:border-color .28s ease,transform .35s cubic-bezier(.2,.8,.3,1),box-shadow .35s ease;transform-style:preserve-3d}

.pc:hover{border-color:var(--accent);transform:rotateX(4deg) translateY(-7px);box-shadow:0 22px 55px rgba(124,92,255,.14),0 0 0 1px rgba(124,92,255,.35)}

.pc.pop{border-color:rgba(124,92,255,.5);background:linear-gradient(180deg,var(--accent-soft),transparent)}

.pc .badge{position:absolute;top:-1px;right:20px;transform:translateY(-50%);font-family:var(--mono);font-size:10px;
  letter-spacing:.08em;text-transform:uppercase;color:var(--accent-lift);background:var(--bg);border:1px solid rgba(124,92,255,.4);padding:4px 10px;border-radius:999px}

.pc .name{font-size:1.05rem;font-weight:500}

.pc .price{font-family:var(--mono);font-size:2rem;letter-spacing:-.02em;margin:16px 0 2px;color:var(--t1)}

.pc .per{font-family:var(--mono);font-size:11px;color:var(--t3)}

.pc ul{list-style:none;margin:20px 0 24px;display:flex;flex-direction:column;gap:10px}

.pc li{font-size:13px;color:var(--t2);display:flex;gap:9px;align-items:flex-start}

.pc li svg{width:15px;height:15px;color:var(--accent-lift);flex:none;margin-top:1px}

.pc .btn{margin-top:auto;justify-content:center}

.price-foot{margin-top:20px;text-align:center}

@media(max-width:980px){.prices{grid-template-columns:1fr 1fr}}

@media(max-width:520px){.prices{grid-template-columns:1fr}}

/* calculateur de crédits */

.calc{margin-top:16px;border:1px solid var(--line);border-radius:18px;background:var(--panel);overflow:hidden;display:grid;grid-template-columns:1fr 1fr}

.calc-l{padding:26px 28px;border-right:1px solid var(--line)}

.calc-r{padding:26px 28px;background:var(--bg2);display:flex;flex-direction:column}

.calc-lbl{font-family:var(--mono);font-size:9.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--t3);margin-bottom:11px}

.calc-lbl b{color:var(--accent-lift);font-weight:400}

.calc .seg{display:inline-flex;background:var(--bg2);border:1px solid var(--line);border-radius:999px;padding:3px}

.calc .seg button{border:0;border-radius:999px;padding:8px 16px;font-size:13px;font-weight:500;color:var(--t2);background:transparent;cursor:pointer;font-family:var(--disp);transition:.2s}

.calc .seg button.on{background:var(--accent);color:#fff}

.rng{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;height:6px;border-radius:3px;margin:4px 0 10px;cursor:pointer;
  background:linear-gradient(90deg,var(--accent-lift) var(--fill,16%),rgba(255,255,255,.14) var(--fill,16%))}

.rng::-webkit-slider-thumb{-webkit-appearance:none;width:18px;height:18px;border-radius:50%;background:#fff;border:3px solid var(--accent);box-shadow:0 2px 8px rgba(0,0,0,.5)}

.rng::-moz-range-thumb{width:14px;height:14px;border-radius:50%;background:#fff;border:3px solid var(--accent)}

.calc-hint{font-family:var(--mono);font-size:10px;color:var(--t3)}

.calc-cost{font-family:var(--mono);font-size:clamp(2rem,3.4vw,2.6rem);letter-spacing:-.02em;color:var(--t1);line-height:1}

.calc-cr{font-family:var(--mono);font-size:13px;color:var(--accent-lift);margin-top:6px}

.plan-cov{margin-top:auto;padding-top:18px;display:flex;flex-direction:column;gap:0}

.plan-line{display:flex;justify-content:space-between;align-items:center;font-family:var(--mono);font-size:12px;color:var(--t3);padding:8px 0;border-top:1px solid var(--line)}

.plan-line .cnt{color:var(--t3);transition:color .2s}

.plan-line .cnt.ok{color:var(--accent-lift)}

.calc-note{margin-top:14px;font-size:12px;color:var(--t3);line-height:1.5;max-width:70ch}

.calc-note b{color:var(--t2)}

@media(max-width:720px){.calc{grid-template-columns:1fr}.calc-l{border-right:0;border-bottom:1px solid var(--line)}}

/* Enterprise has no figure, so its "on request" needs to sit at body size
 * rather than at the display size of a price. Inline on the element in the
 * maquette. */

.pc .price-quote {
  font-size: 1.5rem;
}

/* The duration label is a <label> tied to the range input, which the maquette
 * renders as a bare div. */

.calc-lbl-duration {
  margin-top: 24px;
  display: block;
}

/* Testimonials. Rendered but commented out of the page until real quotes
 * exist -- see pages/home.html.erb. */

/* ---------- testimonials ---------- */

.testi-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px}

.testi-head h2{font-size:clamp(1.8rem,3.2vw,2.7rem);max-width:18ch}

.arrows{display:flex;gap:10px}

.arrows button{width:44px;height:44px;border-radius:50%;border:1px solid var(--line2);background:transparent;color:var(--t1);cursor:pointer;display:grid;place-items:center;transition:.2s}

.arrows button:hover{border-color:var(--accent);color:var(--accent-lift)}

.testi-track{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:44px}

.tc-card{border:1px solid var(--line);border-radius:16px;padding:28px;display:flex;flex-direction:column;min-height:260px;background:linear-gradient(180deg,var(--panel),transparent)}

.tc-card .q{font-size:16px;line-height:1.55;color:var(--t1);font-weight:400}

.tc-card .who{margin-top:auto;display:flex;align-items:center;gap:12px;padding-top:24px}

.tc-card .av{width:42px;height:42px;border-radius:50%;background:var(--panel3);border:1px solid var(--line2);background-size:cover}

.tc-card .who b{font-weight:500;font-size:14px}

.tc-card .who span{font-size:12.5px;color:var(--t3);display:block}

@media(max-width:860px){.testi-track{grid-template-columns:1fr}}

/* Inline on the <section> in the maquette. */

.testi-sec {
  background: var(--bg2);
  padding: clamp(40px, 6vw, 72px) 0;
}

/* The client logo band. Commented out of the page alongside the
 * testimonials -- see pages/home.html.erb. */

/* logos strip */

.trust{padding:0 0 40px;text-align:center}

.trust p{font-family:var(--mono);font-size:11.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--t3)}

.logos{display:flex;flex-wrap:wrap;gap:clamp(30px,5.5vw,68px);justify-content:center;align-items:center;margin-top:38px}

.logos .clogo{height:32px;width:auto;max-width:130px;color:#8b8b96;opacity:.9;transition:opacity .25s,color .25s}

.logos .clogo:hover{opacity:1;color:#cfcfd7}

/* FAQ accordion. #faq is a real anchor, so it stays an ID. */

#faq{padding:clamp(44px,6vw,76px) 0}

.faq{display:grid;grid-template-columns:1.1fr 1fr;gap:clamp(30px,5vw,72px);align-items:start}

.faq h2{font-size:clamp(2.2rem,4.4vw,3.6rem);line-height:1.02}

.faq-list{border-top:1px dashed var(--line2)}

.faq-item{border-bottom:1px dashed var(--line2)}

.faq-q{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 2px;cursor:pointer;font-size:16px;color:var(--t1)}

.faq-q .pm{font-family:var(--mono);color:var(--accent-lift);font-size:18px;transition:.3s;flex:none}

.faq-a{max-height:0;overflow:hidden;transition:max-height .4s ease;color:var(--t2);font-size:14px}

.faq-a p{padding:0 2px 20px 2px;max-width:52ch}

.faq-item.open .pm{transform:rotate(45deg)}

.faq-side{border:1px solid var(--line);border-radius:16px;padding:28px;background:linear-gradient(180deg,var(--panel),transparent)}

.faq-side h3{font-size:1.2rem}

.faq-side p{margin:12px 0 20px;font-size:14px}

@media(max-width:860px){.faq{grid-template-columns:1fr}}

/* The question is a <button> here, not the maquette's <div>: it needs the
 * browser's button defaults stripped to look the same. */

.faq-q {
  width: 100%;
  background: none;
  border: 0;
  font-family: inherit;
  text-align: left;
}

/* Inline on the wrapper in the maquette. */

.faq-aside {
  margin-top: 36px;
}

.faq-side {
  max-width: 420px;
  margin-left: auto;
}

/* Closing CTA, the oversized wordmark, and the footer. */

.final{text-align:center;padding:clamp(44px,6vw,76px) 0 40px}

.final .hero-cta{margin-top:30px}

.bigmark{padding:40px 0 30px;overflow:hidden}

.bigmark svg{width:100%;display:block}

.bigmark text{fill:none;stroke:var(--line2);stroke-width:1;font-family:var(--disp);font-weight:500;font-size:230px;letter-spacing:-8px}

.bigmark-wm{width:100%;display:block;opacity:.5}

.logo-img{height:21px;width:auto;display:block}

.chat-mk{width:20px;height:20px;display:block}

footer{border-top:1px solid var(--line);padding:44px 0 40px}

.foot{display:flex;justify-content:space-between;gap:30px;flex-wrap:wrap;align-items:center}

.foot .soc{display:flex;gap:16px}

.foot .soc a{color:var(--t3)}

.foot .soc a:hover{color:var(--t1)}

.foot .made{font-family:var(--mono);font-size:11.5px;color:var(--t3);letter-spacing:.04em}

.foot-links{display:flex;gap:22px;font-size:13px}

.foot-links a{color:var(--t2)}

.foot-links a:hover{color:var(--t1)}

/* annotation toggle */

/* The legal links the maquette does not have. Quieter than the anchors beside
 * them: they are an obligation, not a destination. */

.foot-links .foot-legal {
  color: var(--t3);
}

.foot-links .foot-legal:hover {
  color: var(--t2);
}

/* The contact modal, from the maquette. */

/* ---------- modal contact ---------- */

.wk-ov{position:fixed;inset:0;z-index:600;display:none;align-items:center;justify-content:center;padding:20px;background:rgba(4,4,8,.72);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}

.wk-ov.open{display:flex;animation:wkfade .2s ease}

@keyframes wkfade{from{opacity:0}to{opacity:1}}

.wk-modal{width:100%;max-width:480px;background:var(--panel);border:1px solid var(--line2);border-radius:20px;padding:32px 32px 30px;position:relative;box-shadow:0 30px 90px rgba(0,0,0,.65);animation:wkpop .24s cubic-bezier(.2,.9,.3,1)}

@keyframes wkpop{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}

.wk-modal h3{font-size:1.42rem;margin:0 0 6px}

.wk-modal .sub{color:var(--t2);font-size:13.5px;line-height:1.5;margin:0 0 22px}

.wk-close{position:absolute;top:16px;right:16px;width:32px;height:32px;border-radius:50%;border:1px solid var(--line2);background:transparent;color:var(--t2);cursor:pointer;font-size:14px;display:grid;place-items:center;transition:.2s}

.wk-close:hover{color:var(--t1);border-color:var(--accent)}

.wk-row{display:flex;gap:12px}

.wk-field{margin-bottom:14px;flex:1}

.wk-field label{display:block;font-family:var(--mono);font-size:9.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--t3);margin-bottom:6px}

.wk-field input{width:100%;background:var(--bg2);border:1px solid var(--line);border-radius:10px;padding:11px 13px;color:var(--t1);font-size:14px;font-family:var(--disp);outline:none;transition:.2s}

.wk-field input:focus{border-color:var(--accent);background:rgba(124,92,255,.06)}

.wk-field input::-moz-placeholder{color:var(--t3)}

.wk-field input::placeholder{color:var(--t3)}

.wk-req{color:var(--accent-lift)}

.wk-int{margin:4px 0 22px}

.wk-int .lbl{font-family:var(--mono);font-size:9.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--t3);margin-bottom:10px}

.wk-chips{display:flex;flex-wrap:wrap;gap:8px}

.wk-chip{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}

.wk-chip input{position:absolute;opacity:0;pointer-events:none}

.wk-chip span{display:inline-block;padding:8px 14px;border:1px solid var(--line2);border-radius:999px;font-size:13px;color:var(--t2);transition:.18s}

.wk-chip input:checked+span{background:var(--accent-soft);border-color:var(--accent);color:var(--accent-lift)}

.wk-chip input:focus-visible+span{outline:2px solid var(--accent);outline-offset:2px}

.wk-submit{width:100%;justify-content:center;margin-top:2px}

.wk-done{text-align:center;padding:18px 0 8px}

.wk-done .ok{width:54px;height:54px;border-radius:50%;background:var(--accent-soft);border:1px solid var(--accent);color:var(--accent-lift);display:grid;place-items:center;margin:0 auto 16px;font-size:24px}

/* Honeypot. Off-screen rather than display:none -- some bots skip hidden
 * fields, and the point is that they fill this one. */

.wk-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Named for the field it sits under, not just "error": .wk-error used to
 * collide with the 404/410 page wrapper of the same name in _legal.css, which
 * is imported after this and won -- so the empty <p> under the email input
 * inherited a page's 220px/120px padding and made the modal 350px too tall. */

.wk-field-error {
  color: var(--warning);
  font-size: 11.5px;
  margin-top: 6px;
  min-height: 14px;
}

/* Firefox needs this told explicitly; other engines infer it from the flow. */

.wk-done[hidden] {
  display: none;
}

/* The legal pages: long-form markdown from legal.{en,fr}.yml.
 *
 * @tailwindcss/typography does the heavy lifting; this only teaches it the
 * charter's tokens. Its selectors are `.prose :where(p):not(...)` at (0,1,0),
 * so they already beat wk/_base.css's bare `p` at (0,0,1) -- the prose wins
 * without any !important. */

.wk-legal {
  padding: clamp(96px, 12vw, 140px) 0 clamp(56px, 7vw, 84px);
}

.wk-legal .legal-inner {
  max-width: 72ch;
}

.wk-legal h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -.02em;
  margin-bottom: clamp(28px, 3vw, 40px);
}

.wk-prose {
  --tw-prose-body: var(--t2);
  --tw-prose-headings: var(--t1);
  --tw-prose-lead: var(--t2);
  --tw-prose-links: var(--accent-lift);
  --tw-prose-bold: var(--t1);
  --tw-prose-counters: var(--t3);
  --tw-prose-bullets: var(--line2);
  --tw-prose-hr: var(--line);
  --tw-prose-quotes: var(--t1);
  --tw-prose-quote-borders: var(--accent);
  --tw-prose-captions: var(--t3);
  --tw-prose-code: var(--accent-lift);
  --tw-prose-pre-code: var(--t1);
  --tw-prose-pre-bg: var(--panel);
  --tw-prose-th-borders: var(--line2);
  --tw-prose-td-borders: var(--line);
}

.wk-prose :is(h2, h3) {
  font-weight: 500;
  letter-spacing: -.01em;
}

.wk-prose a {
  text-decoration-color: var(--line2);
  text-underline-offset: 3px;
  transition: color .2s, text-decoration-color .2s;
}

.wk-prose a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

/* 404 and 410. Same charter, nothing to read.
 *
 * -page suffix on purpose: this is a page wrapper, and a bare .wk-error once
 * collided with the modal's inline field error. */

.wk-error-page {
  padding: clamp(140px, 18vw, 220px) 0 clamp(80px, 10vw, 120px);
  text-align: center;
}

.wk-error-page h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.wk-error-page p {
  max-width: 46ch;
  margin: 18px auto 28px;
}

.visible {
  visibility: visible;
}

.static {
  position: static;
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.sticky {
  position: sticky;
}

.block {
  display: block;
}

.inline {
  display: inline;
}

.flex {
  display: flex;
}

.table {
  display: table;
}

.grid {
  display: grid;
}

.hidden {
  display: none;
}

.max-w-none {
  max-width: none;
}

.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.resize {
  resize: both;
}

.flex-wrap {
  flex-wrap: wrap;
}

.border {
  border-width: 1px;
}

.font-bold {
  font-weight: 700;
}

.uppercase {
  text-transform: uppercase;
}

.italic {
  font-style: italic;
}

.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.blur {
  --tw-blur: blur(8px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.backdrop-filter {
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}

.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.ease-in-out {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.ease-out {
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

/* Nothing follows. The old charter's leftovers -- the global #22263D border
 * colour and .border-default -- went with the last views that used them. */
