:root {
  --bg: #FFFFFF;
  --ink: #0B0B0C;
  --text-2: #6E6E73;
  --line: #E8E8EC;
  --panel: #F5F5F7;
  --accent: #3D3BD4;
  --accent-hover: #3230B8;
  --ok: #1F9D55;

  --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1200px;
  --gutter: max(clamp(20px, 4vw, 40px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --window-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 24px 60px -12px rgba(20, 24, 40, 0.28);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--r-sm); }

.skip { position: absolute; left: -9999px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 999px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 30px; border-radius: 999px;
  background: var(--accent); color: #fff;
  font-size: 17px; font-weight: 500;
  transition: background-color 160ms ease, transform 160ms var(--ease-out);
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: scale(0.97); }
.arrow { width: 1.05em; height: 1.05em; flex: none; }

.pill {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 16px;
  border-radius: 999px; font-size: 14px; font-weight: 500;
  background: var(--panel); color: var(--ink);
  transition: background-color 160ms ease, transform 160ms var(--ease-out);
}
.pill:hover { background: #EBEBEF; }
.pill:active { transform: scale(0.97); }
.pill-line { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.pill-line:hover { background: var(--panel); }

.more { color: var(--accent); font-size: 17px; font-weight: 500; display: inline-flex; gap: 6px; align-items: center; }
.more .arrow { transition: transform 200ms var(--ease-out); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid #F0F0F3;
}
.site-header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.mark { width: 30px; height: 30px; border-radius: var(--r-sm); flex: none; }
.nav { display: flex; gap: 36px; font-size: 15px; color: #3A3A3C; }
.nav a { transition: color 160ms ease; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.actions { display: flex; gap: 8px; justify-content: flex-end; }

/* Hero */
.hero { text-align: center; padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 5vw, 72px); }
.hero h1 {
  font-size: clamp(44px, 5.6vw, 80px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 600;
  max-width: 26ch; margin-inline: auto;
}
.hero .sub { max-width: 760px; margin: 28px auto 0; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.3; letter-spacing: -0.015em; }
.hero .sub span { display: block; color: var(--text-2); }
.proof { display: flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 15px; }
.facts .proof { align-items: flex-start; margin-top: 12px; font-size: 14px; }
.facts .proof .dot { margin-top: 7px; }
.hero .cta { margin-top: 40px; display: flex; gap: 20px; justify-content: center; align-items: center; flex-wrap: wrap; }

/* Scene: a painting with a product window on it */
.scene {
  position: relative; overflow: hidden; border-radius: var(--r-md);
  background: var(--panel) center / cover no-repeat;
}
.scene-falaise { background-image: url("/assets/img/falaise.webp"); }
.scene-jardin { background-image: url("/assets/img/jardin.webp"); }
.scene-sur { background-image: url("/assets/img/sur.webp"); }
.scene-vetheuil { background-image: url("/assets/img/vetheuil.webp"); }
.scene-maryland { background-image: url("/assets/img/maryland.webp"); }
.scene-pont { background-image: url("/assets/img/pont.webp"); }
.caption { margin-top: 14px; font-size: 13px; color: var(--text-2); text-align: center; }

/* Product window */
.window {
  background: #fff; border-radius: var(--r-md); box-shadow: var(--window-shadow);
  font-size: 13px; line-height: 1.45; color: #1C1C1E; overflow: hidden; text-align: left;
  cursor: default; -webkit-user-select: none; user-select: none;
}
a .window { cursor: inherit; }
.titlebar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; border-bottom: 1px solid #EFEFF2; color: #3A3A3C; font-weight: 500; }
.lights { display: flex; gap: 7px; }
.lights i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.lights i:nth-child(2) { background: #FEBC2E; }
.lights i:nth-child(3) { background: #28C840; }
.titlebar .grow { flex: 1; }
.titlebar .dim { color: var(--text-2); font-weight: 400; }

.app { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: 470px; }
.side { background: #FAFAFB; border-right: 1px solid #EFEFF2; padding: 14px 10px; }
.side-head { display: flex; align-items: center; gap: 10px; padding: 4px 8px 14px; }
.pod { width: 22px; height: 22px; border-radius: var(--r-sm); background: #D9D9E0; flex: none; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #34C759; flex: none; }

.thread { padding: 22px 26px; display: flex; flex-direction: column; gap: 16px; }
.thread-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.thread-head b { font-size: 15px; font-weight: 600; }
.bubble { align-self: flex-start; max-width: 78%; background: #F2F2F4; border-radius: var(--r-lg); padding: 10px 14px; }
.meta { color: var(--text-2); font-size: 12px; }
/* A draft looks like the product's: dashed amber, never sent until a person sends it */
.draft { display: grid; gap: 8px; border: 1.5px dashed #E2B26A; background: #FFF8EC; border-radius: var(--r-md); padding: 14px 16px; }
.draft-label { color: #A55A0B; font-size: 12px; font-weight: 500; }
.draft-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }


/* Features */
.features { display: grid; gap: 24px; padding: clamp(72px, 9vw, 128px) 0 0; }
.feature {
  display: grid; grid-template-columns: 5fr 7fr; align-items: center; gap: clamp(28px, 4vw, 64px);
  background: var(--panel); border-radius: var(--r-lg); padding: 8px 8px 8px clamp(24px, 4vw, 56px);
}
.feature.flip { grid-template-columns: 7fr 5fr; padding: 8px clamp(24px, 4vw, 56px) 8px 8px; }
.feature.flip .feature-text { order: 2; }
.feature-text :is(h2, h3) { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; letter-spacing: -0.025em; font-weight: 600; }
.feature-text :is(h2, h3) span { color: var(--text-2); font-weight: 500; }
.feature-text .more { margin-top: 24px; }
.tiles + .more { margin-top: 32px; }
.feature .scene { aspect-ratio: 7 / 5; padding: 9% 0 0 9%; border-radius: var(--r-sm); }
.feature.flip .scene { padding: 9% 9% 0 0; }
.feature .window { border-radius: var(--r-md) 0 0 0; height: 100%; }
.feature.flip .window { border-radius: 0 var(--r-md) 0 0; }

.mini { padding: 20px 22px; display: grid; gap: 14px; align-content: start; }
.mini .bubble { max-width: 90%; }

/* The letter */
.read { width: min(100% - 2 * var(--gutter), 680px); margin-inline: auto; }
.prose a, .paper a { color: var(--accent); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.letter-hero { text-align: center; padding: clamp(88px, 10vw, 140px) var(--gutter) clamp(56px, 6vw, 80px); }
.letter-hero .from { color: var(--text-2); font-size: 15px; }
.letter-hero h1 { margin: 18px auto 0; max-width: 16ch; font-size: clamp(40px, 4.4vw, 62px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 500; }
.letter-hero .line { margin-top: 20px; color: var(--text-2); font-size: 19px; }

.paper {
  width: min(100% - 2 * var(--gutter), 760px); margin-inline: auto;
  background: #fff; border-radius: var(--r-lg); padding: clamp(36px, 6vw, 80px) clamp(24px, 7vw, 88px) clamp(36px, 5vw, 64px);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04), 0 2px 4px rgba(0, 0, 0, 0.03), 0 24px 64px -16px rgba(20, 24, 40, 0.14);
  font-size: 18px; line-height: 1.7; color: #1C1C1E;
}
.paper section + section { margin-top: 48px; }
.paper p + p { margin-top: 1em; }
.part { display: flex; gap: 12px; margin-bottom: 18px; font-size: 14px; font-weight: 500; color: var(--text-2); letter-spacing: 0; }
.part span { color: var(--text-2); font-variant-numeric: tabular-nums; }
.sign { margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--line); }
.hand { width: 132px; height: auto; color: var(--accent); margin-bottom: 18px; overflow: visible; }
.sign b { display: block; font-weight: 600; font-size: 15px; }
.sign small { color: var(--text-2); font-size: 14px; }


.onward { width: min(100% - 2 * var(--gutter), 760px); margin: clamp(56px, 7vw, 96px) auto 0; padding-bottom: clamp(96px, 10vw, 144px); border-top: 1px solid var(--line); }
.onward a { display: grid; grid-template-columns: 160px 1fr auto; align-items: center; gap: 16px; padding: 22px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
.onward b { font-weight: 600; }
.onward span { color: var(--text-2); }
.onward i { display: flex; font-style: normal; color: var(--text-2); transition: transform 200ms var(--ease-out), color 160ms ease; }

/* Home: an index of the company */
.btn-quiet { background: var(--panel); color: var(--ink); }
.btn-quiet:hover { background: #EBEBEF; }
.intro { padding: clamp(96px, 12vw, 176px) 0 0; }
.intro h1 { max-width: 20ch; font-size: clamp(48px, 5.8vw, 84px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 600; }
.lede { margin-top: 28px; max-width: 42ch; text-wrap: pretty; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; color: #3A3A3C; letter-spacing: -0.01em; }
/* The offers named in the intro lead to their pages: in ink, with an underline that turns indigo on hover */
.lede a { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: #C7C7CC; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color 160ms ease, text-decoration-color 160ms ease; }
.lede a:hover { color: var(--accent); text-decoration-color: currentColor; }
.intro .cta { margin-top: 40px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.block { padding-top: clamp(120px, 13vw, 184px); }
.block:last-child { padding-bottom: clamp(120px, 13vw, 184px); }
.label { display: flex; gap: 12px; margin: 0 0 20px; font-size: 14px; font-weight: 500; color: var(--text-2); letter-spacing: 0; }
.label span { color: var(--text-2); font-variant-numeric: tabular-nums; }
.block > h2 { max-width: 20ch; font-size: clamp(36px, 4vw, 56px); line-height: 1.06; letter-spacing: -0.035em; }
.block > h2 .soft { display: block; color: var(--text-2); }
.block > h2.label { max-width: none; font-size: 14px; line-height: 1.5; letter-spacing: 0; font-weight: 500; }

.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: clamp(40px, 5vw, 64px); }
.offer { display: flex; flex-direction: column; background: var(--panel); border-radius: var(--r-lg); padding: 8px 8px 36px; transition: transform 200ms var(--ease-out); }
.offer:active { transform: scale(0.99); }
.offer .scene { aspect-ratio: 16 / 11; padding: 9% 0 0 9%; border-radius: var(--r-sm); }
.offer .painting { aspect-ratio: 16 / 11; }
.offer .window { height: 100%; border-radius: var(--r-md) 0 0 0; }
.offer-text { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 32px 24px 0; }
.offer-name { font-size: 14px; font-weight: 500; color: var(--text-2); }
.offer h3 { margin-top: 8px; font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -0.025em; line-height: 1.15; }
.offer-text > p:not(.offer-name) { margin-top: 10px; color: var(--text-2); font-size: 17px; max-width: 38ch; }
.offer-text .more { margin-top: auto; padding-top: 24px; }
/* The Support card holds a demo, so only its link is a link: it stretches over the
   card, and the demo sits above it */
.offer-demo { position: relative; }
.offer-demo:active { transform: none; }
.offer-demo:has(.more:active) { transform: scale(0.99); }
.offer-demo .more::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.offer-demo .scene { position: relative; z-index: 1; aspect-ratio: auto; display: grid; }
.offer-demo .window { height: auto; }
/* Both cards share rows, so the painting grows with the demo and the texts line up */
.offers { grid-auto-rows: auto; }
.offer { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; }
.offer .painting { width: 100%; height: 100%; min-width: 0; }

/* Product pages */
.product-name { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 500; color: #3A3A3C; margin-bottom: 24px; }
.product-name .mark { width: 28px; height: 28px; border-radius: var(--r-sm); }
.section { padding: clamp(96px, 11vw, 160px) 0 0; }
.section-head { text-align: center; max-width: 820px; margin: 0 auto clamp(40px, 5vw, 64px); }
.section-head h2 { font-size: clamp(34px, 3.8vw, 54px); line-height: 1.06; letter-spacing: -0.035em; }
.section-head h2 span { display: block; color: var(--text-2); }
.section-head p { margin-top: 18px; font-size: 19px; color: var(--text-2); line-height: 1.5; }
.section-head .status-note { font-size: 14px; color: var(--text-2); }
.section .features { padding: 0; }
.hero + .section { padding-top: clamp(40px, 5vw, 72px); }

/* Labo: paintings shown whole, each with its museum label */
.painting { margin: 0; overflow: hidden; border-radius: var(--r-sm); background: var(--panel); }
.painting img { display: block; width: 100%; height: 100%; object-fit: cover; }
.painting-alchimiste img { object-position: 50% 64%; }
.cartel { margin-top: 20px; font-size: 13px; line-height: 1.45; color: var(--text-2); }
.stages { list-style: none; text-align: left; margin: clamp(48px, 6vw, 80px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stage { display: flex; flex-direction: column; background: var(--panel); border-radius: var(--r-lg); padding: 8px; }
.stage .painting { aspect-ratio: 4 / 3; }
.stage-text { display: flex; flex-direction: column; flex: 1; padding: 24px 20px 16px; }
.stage-n { font-size: 14px; font-weight: 500; color: var(--text-2); font-variant-numeric: tabular-nums; }
.stage h3 { margin-top: 6px; font-size: clamp(22px, 1.8vw, 26px); letter-spacing: -0.025em; line-height: 1.15; }
.stage-text > p:not(.stage-n, .cartel) { margin-top: 10px; color: var(--text-2); font-size: 16px; }
.stage .cartel { margin-top: auto; padding-top: 24px; }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tiles.pair { grid-template-columns: 1fr 1fr; }
.tile { background: var(--panel); border-radius: var(--r-lg); padding: 28px; }
.tile h3 { font-size: 19px; letter-spacing: -0.015em; }
.tile p { margin-top: 8px; color: var(--text-2); font-size: 16px; }
.tile svg.icon { width: 36px; height: 36px; margin-bottom: 22px; color: var(--accent); }

.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 0; }
.facts > div { display: flex; flex-direction: column; background: var(--panel); border-radius: var(--r-lg); padding: 24px 26px; }
.facts dt { font-weight: 600; font-size: 17px; }
.facts dd { flex: 1; display: flex; flex-direction: column; margin: 8px 0 0; color: var(--text-2); }
/* The two ways to host it, side by side */
.hosting { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.hosting li { padding: 14px 16px; border-radius: var(--r-md); background: #fff; font-size: 15px; line-height: 1.45; }
.hosting b { display: block; margin-bottom: 4px; color: var(--ink); font-weight: 600; }
/* The models Support works with, at the foot of their box: their marks only, in flat grey until hovered */
.facts .models { margin-top: auto; padding-top: 16px; }
.models { display: flex; flex-wrap: wrap; align-items: center; gap: 16px clamp(20px, 3vw, 32px); margin-top: 20px; }
.models svg { width: 28px; height: 28px; filter: brightness(0); opacity: 0.28; transition: filter 160ms ease, opacity 160ms ease; }

.two { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.two h2 { font-size: clamp(30px, 3vw, 44px); line-height: 1.08; letter-spacing: -0.035em; }
.two .text p { font-size: 20px; line-height: 1.55; color: #1C1C1E; }
.two .text p + p { margin-top: 1em; color: var(--text-2); }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-size: 18px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 10px; height: 10px; flex: none; border-right: 1.6px solid var(--text-2); border-bottom: 1.6px solid var(--text-2); transform: translateY(-3px) rotate(45deg); transition: transform 200ms var(--ease-out); }
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; transition: height 200ms var(--ease-out), content-visibility 200ms allow-discrete; }
  .faq details[open]::details-content { height: auto; }
}
.faq details p { padding: 0 48px 24px 0; color: var(--text-2); font-size: 17px; }

/* Bits of product UI inside windows. Grey lines stand in for words that don't carry the message. */
.ln { display: block; height: 6px; border-radius: 999px; background: #EDEDF1; }
.w10 { width: 10%; }
.w30 { width: 30%; }
.w45 { width: 45%; }
.w60 { width: 60%; }
.w75 { width: 75%; }
.w90 { width: 90%; }
.lines { display: grid; gap: 7px; }

.conv { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 8px; border-radius: var(--r-sm); }
.conv.is-on { background: #fff; box-shadow: 0 0 0 1px #EBEBEF; }
.conv .txt { display: grid; gap: 6px; justify-items: start; }
.conv b { max-width: 100%; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.src { display: inline-flex; align-items: center; height: 18px; padding: 0 7px; border-radius: 999px; background: #EEEEF2; color: #55555B; font-size: 11px; font-weight: 500; white-space: nowrap; }
.thread-head .src { flex: none; }
.av { width: 26px; height: 26px; border-radius: 50%; background: #E9E9EE; }
.wait { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; background: #F2F2F4; color: var(--text-2); font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; }
.wait.amber { background: #FCF0DD; color: #A55A0B; }
.wait.red { background: #FBE5E3; color: #BF3226; }
.queue { padding: 10px 12px; display: grid; }
.queue .conv { padding: 14px 8px; border-bottom: 1px solid #F2F2F5; border-radius: 0; }
.queue .wait { height: 26px; padding: 0 10px; font-size: 13px; }

.modes { display: grid; gap: 4px; padding: 4px; border: 1px solid #EFEFF2; border-radius: var(--r-md); }
.mode { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-sm); }
.mode > span { display: grid; gap: 8px; flex: 1; }
.mode b { font-weight: 500; font-size: 14px; }
.mode .ln { max-width: 220px; }
.mode.is-on { background: #F2F2F4; }
.mode.is-on .ln { background: #DCDCE2; }
.modes + .meta { padding: 0 4px; }
.tick { width: 16px; height: 16px; color: var(--ink); flex: none; }

.draft-mini { gap: 10px; padding: 12px 14px; }
.draft-mini + .cats { margin-top: 6px; }
.cats { display: grid; gap: 16px; }
.cat { display: grid; grid-template-columns: 140px 1fr 40px; gap: 14px; align-items: center; }
.cat b { font-weight: 500; }
.cat span { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.fill { display: block; height: 10px; border-radius: 999px; background: #DCDBFA; }
.cat.is-top .fill { background: var(--accent); }

.docs { display: grid; gap: 6px; }
.doc { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-sm); }
.doc > span:last-child { display: grid; gap: 7px; flex: 1; }
.doc .ln { max-width: 220px; }
.doc b { font-weight: 500; }
.doc small { color: var(--text-2); font-size: 12px; }
.doc.is-on { background: #F2F2F4; }
.file { width: 26px; height: 32px; border-radius: 4px; background: #fff; box-shadow: inset 0 0 0 1px #DCDCE2; flex: none; }
.rules { display: grid; gap: 6px; padding: 12px 14px; border: 1px solid #EFEFF2; border-radius: var(--r-sm); }
.rules small { color: var(--text-2); font-size: 12px; }
.rules p { font-size: 14px; }


.trend-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.trend-head b { font-weight: 500; }
.trend-head span { font-weight: 600; font-variant-numeric: tabular-nums; }
.trend { display: flex; align-items: flex-end; gap: 8px; height: 120px; padding-bottom: 2px; border-bottom: 1px solid #EFEFF2; }
.trend i { flex: 1; border-radius: 4px 4px 0 0; background: #DCDBFA; }
.trend .b1 { height: 40%; } .trend .b2 { height: 44%; } .trend .b3 { height: 42%; } .trend .b4 { height: 55%; }
.trend .b5 { height: 63%; } .trend .b6 { height: 61%; } .trend .b7 { height: 78%; } .trend .b8 { height: 92%; background: var(--accent); }
.sugg { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid #EFEFF2; border-radius: var(--r-sm); }
.sugg > span:first-child { display: grid; gap: 2px; flex: 1; }
.sugg small { color: var(--text-2); font-size: 12px; }
.sugg b { font-weight: 500; }
.ok-chip { flex: none; padding: 2px 8px; border-radius: 999px; background: #E3F5EA; color: #1B6E3D; font-size: 11px; font-weight: 500; }

/* The demo: the agent sends the draft as it is, edits it, or writes their own reply */
.send, .choice { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-size: 13px; font-weight: 500; height: 32px; padding: 0 16px 0 13px; border: 0; border-radius: 999px; cursor: pointer; transition: background-color 160ms ease, transform 160ms var(--ease-out), opacity 160ms ease; }
.send { background: var(--ink); color: #fff; }
.send:hover { background: #2C2C2E; }
.send[aria-disabled="true"] { opacity: 0.35; cursor: default; }
.choice { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px #E8DDC8; }
.choice:hover { background: #FAFAFB; }
.send:active, .choice:active { transform: scale(0.97); }
.send[aria-disabled="true"]:active { transform: none; }
.send svg, .choice svg { width: 15px; height: 15px; flex: none; opacity: 0.65; }
/* When the three buttons don't fit on one line, they shrink to their icons */
.draft { container: draft / inline-size; }
@container draft (max-width: 380px) {
  .draft-foot :is(.send, .choice) { width: 32px; padding: 0; }
  .draft-foot :is(.send, .choice) svg { width: 16px; height: 16px; opacity: 0.8; }
  .draft-foot :is(.send, .choice) span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

.outcome { display: grid; }
.outcome > * { grid-area: 1 / 1; align-self: start; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out), visibility 0s 240ms; }
.demo[data-state="draft"] .draft,
.demo:is([data-state="edit"], [data-state="write"]) .compose,
.demo[data-state="sent"] .sent { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

.demo [data-label] { display: none; }
.demo[data-state="edit"] [data-label="edit"], .demo[data-state="write"] [data-label="write"] { display: inline; }
.compose { display: grid; gap: 8px; border: 1.5px solid #DCDCE2; border-radius: var(--r-md); padding: 14px 16px; background: #fff; transition: border-color 160ms ease; }
.compose:focus-within { border-color: #9C9CA6; }
.compose .draft-label { color: var(--text-2); }
.field { display: block; width: 100%; min-height: 4.4em; field-sizing: content; resize: none; border: 0; padding: 0; outline: none; background: none; font: inherit; color: inherit; cursor: text; -webkit-user-select: text; user-select: text; }
.field::placeholder { color: var(--text-2); }
.compose .again { margin-left: 4px; }

.sent { display: grid; justify-items: end; align-content: start; gap: 6px; }
.reply { display: grid; gap: 8px; max-width: 78%; background: #EEEDFD; border-radius: var(--r-lg); padding: 10px 14px; }
.demo [data-by] { display: none; }
.demo[data-route="send"] [data-by="send"], .demo[data-route="edit"] [data-by="edit"], .demo[data-route="write"] [data-by="write"] { display: inline; }
.again { font: inherit; font-size: 12px; font-weight: 500; color: var(--accent); background: none; border: 0; padding: 0; margin-left: 10px; cursor: pointer; }
.again:hover { text-decoration: underline; text-underline-offset: 2px; }
.wait.new { background: #EEEDFD; color: var(--accent); }
.wait.ok { background: #E3F5EA; color: #1B6E3D; }

/* While Support writes a draft: a shimmer, then the words and a caret; the buttons wait */
.demo[data-state="writing"] .draft { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.draft-foot { transition: opacity 240ms var(--ease-out), visibility 0s; }
.demo[data-state="writing"] .draft-foot { opacity: 0; visibility: hidden; transition: none; }
.draft-label .busy, .demo[data-state="writing"] .draft-label .ready { display: none; }
.demo[data-state="writing"] .draft-label .busy { display: inline; }
.draft-text:empty::before { content: ""; display: block; width: 70%; height: 10px; margin: 6px 0; border-radius: 999px; background: linear-gradient(90deg, #F5E2C2 30%, #FCF1DE 50%, #F5E2C2 70%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; }
.demo[data-state="writing"] .draft-text:not(:empty)::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -0.15em; background: #A55A0B; animation: blink 1s steps(1) infinite; }
@keyframes shimmer { to { background-position: -150% 0; } }
@keyframes blink { 50% { opacity: 0; } }

/* On /support/ the demo is a whole inbox, on its own rather than on a painting, in three
   columns: the requests, the conversation, its details */
.inbox { margin-top: clamp(48px, 6vw, 80px); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 30px 80px -30px rgba(20, 24, 40, 0.18); font-size: 12.5px; }
.inbox .app { grid-template-columns: 260px minmax(0, 1fr) 260px; height: 600px; min-height: 0; }
.inbox .side { display: flex; flex-direction: column; min-height: 0; padding: 0; background: #fff; border-right: 1px solid #EFEFF2; }
.side-top { display: flex; justify-content: space-between; align-items: center; padding: 16px 16px 12px; }
.inbox .side-head { padding: 2px 16px 10px; color: var(--ink); font-size: 13px; font-weight: 600; }
.inbox .pod { display: grid; place-items: center; width: 20px; height: 20px; background: #EDEDF1; color: #55555B; font-size: 11px; font-weight: 600; }
.search { display: flex; align-items: center; gap: 8px; margin: 0 12px 12px; height: 32px; padding: 0 10px; border: 1px solid #EBEBEF; border-radius: var(--r-sm); background: #F7F7F8; color: var(--text-2); transition: border-color 160ms ease; }
.search:focus-within { border-color: #C9C9D1; }
.search svg { width: 14px; height: 14px; flex: none; }
.search input { flex: 1; min-width: 0; border: 0; padding: 0; outline: none; background: none; font: inherit; font-size: 12.5px; color: var(--ink); -webkit-user-select: text; user-select: text; }
.search input::placeholder { color: var(--text-2); }
.search input::-webkit-search-cancel-button { display: none; }
.side-label { display: flex; justify-content: space-between; padding: 0 18px 6px; color: var(--text-2); font-size: 11px; font-weight: 500; font-variant-numeric: tabular-nums; }
.list { flex: 1; display: grid; align-content: start; gap: 2px; padding: 0 8px 8px; overflow-y: auto; }
button.conv { width: 100%; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; transition: background-color 160ms ease; }
button.conv:hover:not(.is-on) { background: #F7F7F8; }
button.conv:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.conv[hidden] { display: none; }
.inbox .conv { grid-template-columns: 28px minmax(0, 1fr); gap: 10px; padding: 9px 10px; border-radius: var(--r-md); }
.inbox .conv.is-on { background: #F2F2F4; box-shadow: none; }
.inbox .av { position: relative; display: grid; place-items: center; width: 28px; height: 28px; color: #55555B; font-size: 10px; font-weight: 600; }
.conv.is-new .av::after { content: ""; position: absolute; top: -1px; right: -1px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px #fff; }
.inbox .conv .txt { gap: 1px; justify-items: stretch; }
.conv .top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.inbox .conv b { font-size: 12.5px; font-weight: 500; color: var(--ink); }
.peek { color: var(--text-2); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox .wait { flex: none; height: auto; padding: 0; background: none; color: var(--text-2); font-size: 11px; font-weight: 400; }
.inbox .wait.amber { color: #B4650F; }
.inbox .wait.red { color: #C4372B; }
.inbox .wait.new { color: var(--accent); font-weight: 500; }
.inbox .wait.ok { color: #1B7A43; }
.me { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-top: 1px solid #EFEFF2; color: var(--ink); }
.me .av { width: 24px; height: 24px; }
.me > span:last-child { display: grid; line-height: 1.3; }
.me small { color: var(--text-2); font-size: 11px; }

.main { display: grid; grid-template-rows: auto minmax(0, 1fr); min-width: 0; }
.topbar { display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-bottom: 1px solid #EFEFF2; }
.topbar .who-head { flex: 1; min-width: 0; }
.topbar .src { flex: none; }
.who-head { display: grid; gap: 1px; line-height: 1.3; }
.who-head b { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.who-head span { color: var(--text-2); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox .thread { gap: 12px; padding: 14px 24px 24px; overflow-y: auto; }
.stamp { align-self: center; color: var(--text-2); font-size: 11px; }
.inbox .bubble, .inbox .draft-text, .inbox .reply, .inbox .field { font-size: 13px; }
.inbox .draft-label, .inbox .meta { font-size: 11px; }
.inbox :is(.send, .choice) { height: 30px; font-size: 12px; }
.inbox .src { height: 17px; font-size: 10.5px; }

.panel { display: grid; align-content: start; gap: 10px; padding: 16px 18px; background: #FAFAFB; border-left: 1px solid #EFEFF2; overflow-y: auto; }
.panel-head { color: var(--text-2); font-size: 11.5px; }
.panel-facts { display: grid; margin: 0 0 14px; }
.panel-facts div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #EFEFF2; }
.panel-facts dt { color: var(--text-2); }
.panel-facts dd { margin: 0; color: var(--ink); text-align: right; }
.source { display: flex; gap: 9px; align-items: flex-start; padding: 10px 11px; border: 1px solid #EBEBEF; border-radius: var(--r-md); background: #fff; }
.source svg { width: 16px; height: 16px; flex: none; margin-top: 1px; color: var(--text-2); }
.source span { display: grid; gap: 2px; line-height: 1.35; }
.source b { font-weight: 500; }
.source small { color: var(--text-2); font-size: 11px; }

/* The new request opens its place in the list, then fades in */
.incoming { display: grid; grid-template-rows: 0fr; opacity: 0; transform: translateY(-6px); transition: grid-template-rows 420ms var(--ease-out), opacity 300ms var(--ease-out) 120ms, transform 420ms var(--ease-out) 120ms; }
.incoming.is-in { grid-template-rows: 1fr; opacity: 1; transform: none; }
.incoming > div { min-height: 0; overflow: hidden; }


/* Legal and 404 */
.prose { padding: clamp(72px, 9vw, 128px) 0 clamp(96px, 10vw, 144px); }
.prose h1 { font-size: clamp(36px, 4vw, 52px); letter-spacing: -0.035em; line-height: 1.06; margin-bottom: 40px; }
.prose h2 { font-size: 20px; letter-spacing: -0.015em; margin: 40px 0 10px; }
.prose p { font-size: 18px; line-height: 1.6; color: #1C1C1E; }
.prose p + p { margin-top: 0.8em; }

/* Contact: write to us, or book a call in the Cal.com calendar. Cal.com shows its
   full layout (details, month, times) from about 770px wide, hence the fixed column. */
.meet { display: grid; grid-template-columns: minmax(0, 1fr) 800px; gap: 56px; align-items: start; }
.meet h2 { max-width: 16ch; font-size: clamp(36px, 4vw, 56px); line-height: 1.06; letter-spacing: -0.035em; }
.meet .lede { max-width: 34ch; }
.meet .cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.meet .mail { color: var(--text-2); font-size: 15px; transition: color 160ms ease; }
.meet .mail:hover { color: var(--ink); }
.meet-note { margin-top: 28px; color: var(--text-2); font-size: 15px; }
.cal { display: grid; height: 620px; padding: 8px; border-radius: var(--r-lg); background: var(--panel); }
.cal iframe { width: 100%; height: 100%; border: 0; border-radius: var(--r-sm); background: #fff; }
.cal-wait { place-self: center; padding: 0 16px; color: var(--text-2); font-size: 15px; text-align: center; }

/* The same, in a window opened from the header */
.contact-dialog { width: min(1180px, 100vw - 32px); max-width: none; height: min(660px, 100dvh - 32px); max-height: none; margin: auto; padding: 0; border: 0; border-radius: var(--r-lg); background: var(--bg); color: var(--ink); box-shadow: var(--window-shadow); overflow: hidden; overscroll-behavior: contain; }
.contact-dialog .meet { height: 100%; grid-template-columns: 340px minmax(0, 1fr); gap: 0; align-items: stretch; }
.contact-dialog .meet-text { position: relative; padding: 56px 40px 40px; }
.contact-dialog h2 { font-size: 40px; }
.contact-dialog .lede { font-size: 19px; }
.contact-dialog .cal { height: auto; border-radius: 0; }
.contact-dialog::backdrop { background: rgba(11, 11, 12, 0.4); }
.contact-dialog, .contact-dialog::backdrop { opacity: 0; transition: opacity 150ms var(--ease-out), display 150ms allow-discrete, overlay 150ms allow-discrete; }
.contact-dialog[open], .contact-dialog[open]::backdrop { opacity: 1; transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), display 200ms allow-discrete, overlay 200ms allow-discrete; }
.contact-dialog[open] { transform: none; }
@starting-style {
  .contact-dialog[open] { opacity: 0; transform: scale(0.97); }
  .contact-dialog[open]::backdrop { opacity: 0; }
}
html:has(.contact-dialog[open]) { overflow: hidden; }
.dialog-x { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 999px; background: var(--panel); color: var(--ink); cursor: pointer; transition: background-color 160ms ease, transform 160ms var(--ease-out); }
.dialog-x:hover { background: #EBEBEF; }
.dialog-x:active { transform: scale(0.95); }
.dialog-x svg { width: 18px; height: 18px; }
@media (max-width: 1180px) {
  .meet { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .meet h2 { max-width: 20ch; }
  .meet .lede { max-width: 42ch; }
  .contact-dialog { height: auto; max-height: calc(100dvh - 32px); overflow: auto; }
  .contact-dialog .meet { height: auto; grid-template-columns: minmax(0, 1fr); }
  .contact-dialog .cal { height: 620px; }
}
@media (max-width: 860px) {
  .cal, .contact-dialog .cal { height: 760px; }
  .contact-dialog { width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .contact-dialog .meet-text { padding: 56px 20px 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .draft-text::before, .draft-text::after { animation: none !important; }
  @starting-style { .contact-dialog[open] { transform: none; } }
}

/* Movement on hover only where there is a real pointer: on a phone a tap leaves it stuck */
@media (hover: hover) and (pointer: fine) {
  .more:hover .arrow, .offer:hover .more .arrow { transform: translateX(3px); }
  .onward a:hover i { transform: translateX(4px); color: var(--accent); }
  .models svg:hover { filter: none; opacity: 1; }
}

/* Footer */
.site-footer { position: relative; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); padding: 56px 0 64px; font-size: 14px; }
/* The page signs off with the paraphe from the logo, written in indigo when the footer
   comes into view, over a glow of the same indigo */
.site-footer::after {
  content: ""; position: absolute; z-index: -1; left: 50%; bottom: -120px; width: min(1100px, 140vw); height: 360px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(61, 59, 212, 0.16), rgba(61, 59, 212, 0.07) 55%, transparent);
}
.paraphe { display: block; width: 168px; margin: 56px auto 0; overflow: visible; }
.paraphe path { fill: none; stroke: var(--accent); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
/* The letter's signature writes itself the same way when the reader reaches it */
:is(.paraphe, .hand) path { stroke-dasharray: 1 1.2; stroke-dashoffset: 0; }
.js :is(.paraphe, .hand) path { stroke-dashoffset: 1; opacity: 0; }
.js :is(.paraphe, .hand).is-drawn path { stroke-dashoffset: 0; opacity: 1; transition: stroke-dashoffset 1.6s var(--ease-in-out); }
.foot { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; }
.foot h2 { font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: #3A3A3C; }
.foot a:hover { color: var(--ink); }
.foot .tag { margin-top: 14px; color: var(--text-2); max-width: 28ch; }
.muted { color: var(--text-2); }
.legal-line { margin-top: 48px; display: flex; justify-content: space-between; color: var(--text-2); font-size: 13px; }

/* Smaller screens */
@media (max-width: 1080px) {
  .app { grid-template-columns: 220px minmax(0, 1fr); }
  .inbox .app { grid-template-columns: 240px minmax(0, 1fr); }
  .panel { display: none; }
}
@media (max-width: 860px) {
  .site-header .wrap { grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .feature, .feature.flip { grid-template-columns: 1fr; padding: 28px 8px 8px; }
  .feature.flip .feature-text { order: 0; }
  .feature-text { padding: 0 8px; }
  .letter-body { font-size: 18px; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .app { grid-template-columns: minmax(0, 1fr); min-height: 420px; }
  .side { display: none; }
  .titlebar .dim { display: none; }
  .field, .inbox .field { font-size: 16px; }
  .thread { padding: 16px; }
  .actions .pill-line { display: none; }
  .hero h1 br { display: none; }
  .legal-line { flex-direction: column; gap: 6px; }
  .inbox .app { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); height: 560px; }
  .inbox .side { border-right: 0; border-bottom: 1px solid #EFEFF2; }
  .inbox :is(.side-head, .search, .side-label, .me) { display: none; }
  .side-top { padding: 14px 14px 4px; }
  .list { display: flex; gap: 6px; padding: 6px 10px 10px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
  .list .conv { flex: none; width: 210px; }
  .topbar { padding: 12px 16px; }
  .inbox .thread { padding: 12px 16px 16px; }
  .incoming { flex: none; grid-template-rows: 1fr; grid-template-columns: 0px; transition-property: grid-template-columns, opacity, transform; }
  .incoming.is-in { grid-template-columns: 210px; }
  .incoming > div { min-width: 0; }
}

@media (max-width: 860px) {
  .tiles, .tiles.pair, .facts, .two, .offers, .stages { grid-template-columns: 1fr; }
  .hosting { grid-template-columns: 1fr; }
  .models svg { width: 24px; height: 24px; }
}
@media (max-width: 640px) {
  .board .col:nth-child(2) { display: none; }
  .cat { grid-template-columns: 96px 1fr 36px; gap: 10px; }
  /* On a phone the window grows to its content, so no mode or source is cut off */
  .feature .scene { aspect-ratio: auto; }
  .onward a { grid-template-columns: 1fr auto; gap: 2px 16px; }
  .onward span { grid-row: 2; font-size: 15px; }
  .onward i { grid-row: 1 / span 2; grid-column: 2; }
  .paper { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-property: color, background-color, opacity, visibility, display, overlay !important; }
}
