/* Klaro public site.
   Colours are the app's own tokens (app/src/index.css) so the site and the
   workspace read as one product in both themes. Layout uses logical
   properties throughout: the same sheet serves English (ltr) and Arabic (rtl). */

@font-face {
  font-family: 'Instrument Sans';
  src: url('/assets/fonts/instrument-sans-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('/assets/fonts/instrument-sans-latin-ext.woff2') format('woff2');
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plex Arabic';
  src: url('/assets/fonts/plex-arabic-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E,
    U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: 'Plex Arabic';
  src: url('/assets/fonts/plex-arabic-500.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E,
    U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: 'Plex Arabic';
  src: url('/assets/fonts/plex-arabic-600.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E,
    U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: 'Plex Arabic';
  src: url('/assets/fonts/plex-arabic-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E,
    U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

:root {
  color-scheme: light;
  --paper: hsl(40 33% 98%);
  --surface: hsl(0 0% 100%);
  --wash: hsl(40 20% 94%);
  --line: hsl(40 15% 88%);
  --line-strong: hsl(40 12% 78%);
  --ink: hsl(220 33% 15%);
  --ink-soft: hsl(220 14% 38%);
  --brand: hsl(350 52% 36%);
  --brand-strong: hsl(350 54% 29%);
  --brand-tint: hsl(350 40% 95%);
  --on-brand: hsl(0 0% 100%);
  --ok: hsl(152 45% 34%);
  --warn: hsl(34 90% 38%);
  --danger: hsl(0 72% 42%);
  /* The inverse band: navy ink in the light theme, a lifted panel in the dark one. */
  --band: hsl(220 33% 15%);
  --band-ink: hsl(40 25% 95%);
  --band-soft: hsl(220 16% 74%);
  --band-line: hsl(220 22% 27%);
  --band-accent: hsl(350 62% 72%);
  --shadow: 0 1px 2px hsl(220 33% 15% / 0.05), 0 12px 32px -12px hsl(220 33% 15% / 0.18);
  --radius: 10px;
  --radius-lg: 18px;
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --font: 'Instrument Sans', 'Plex Arabic', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display-stretch: 84%;
}

.dark {
  color-scheme: dark;
  --paper: hsl(222 30% 9%);
  --surface: hsl(222 28% 12%);
  --wash: hsl(222 20% 16%);
  --line: hsl(222 18% 20%);
  --line-strong: hsl(222 16% 30%);
  --ink: hsl(40 20% 94%);
  --ink-soft: hsl(220 12% 68%);
  --brand: hsl(350 55% 58%);
  --brand-strong: hsl(350 60% 66%);
  --brand-tint: hsl(350 30% 18%);
  --on-brand: hsl(0 0% 100%);
  --ok: hsl(152 40% 52%);
  --warn: hsl(34 85% 58%);
  --danger: hsl(0 70% 64%);
  --band: hsl(222 28% 13%);
  --band-ink: hsl(40 20% 94%);
  --band-soft: hsl(220 12% 68%);
  --band-line: hsl(222 18% 22%);
  --band-accent: hsl(350 62% 72%);
  --shadow: 0 1px 2px hsl(0 0% 0% / 0.3), 0 16px 40px -16px hsl(0 0% 0% / 0.6);
}

:lang(ar) {
  --font: 'Plex Arabic', 'Instrument Sans', system-ui, 'Segoe UI', Tahoma, sans-serif;
  --display-stretch: 100%;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums;
}

:lang(ar) body {
  line-height: 1.85;
}

img,
svg {
  max-width: 100%;
}

address {
  font-style: normal;
}

/* The hidden attribute hides HTML elements by default but not SVG ones. */
[hidden] {
  display: none !important;
}

a {
  color: inherit;
  text-decoration-color: var(--line-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: hsl(350 52% 36% / 0.2);
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

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

button {
  font: inherit;
  color: inherit;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- Type ---------- */

.display {
  font-size: clamp(2.5rem, 4.6vw + 1rem, 4.6rem);
  line-height: 1.02;
  font-weight: 600;
  font-stretch: var(--display-stretch);
  letter-spacing: -0.022em;
  text-wrap: balance;
}

.display .line {
  display: block;
  text-wrap: balance;
}

.title {
  font-size: clamp(1.9rem, 2.4vw + 1rem, 3rem);
  line-height: 1.08;
  font-weight: 600;
  font-stretch: var(--display-stretch);
  letter-spacing: -0.018em;
  text-wrap: balance;
}

.heading {
  font-size: clamp(1.3rem, 0.7vw + 1.1rem, 1.6rem);
  line-height: 1.2;
  font-weight: 600;
  font-stretch: 92%;
  letter-spacing: -0.01em;
}

.subheading {
  font-size: 1.0625rem;
  line-height: 1.35;
  font-weight: 600;
}

:lang(ar) .display,
:lang(ar) .title,
:lang(ar) .heading {
  letter-spacing: 0;
  font-weight: 700;
}

:lang(ar) .display {
  line-height: 1.3;
  font-size: clamp(2.2rem, 3.8vw + 1rem, 4rem);
}

:lang(ar) .title {
  line-height: 1.4;
}

:lang(ar) .heading {
  line-height: 1.5;
}

.lede {
  font-size: clamp(1.125rem, 0.5vw + 1rem, 1.3125rem);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 62ch;
  text-wrap: pretty;
}

:lang(ar) .lede {
  line-height: 1.8;
}

.prose {
  max-width: 68ch;
  color: var(--ink-soft);
}

.prose > * + * {
  margin-top: 1em;
}

.muted {
  color: var(--ink-soft);
}

.small {
  font-size: 0.9375rem;
}

.fine {
  font-size: 0.8125rem;
  color: var(--ink-soft);
}

.nums {
  font-variant-numeric: tabular-nums lining-nums;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: none;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--brand);
  color: var(--on-brand);
}

.btn-primary:hover {
  background: var(--brand-strong);
}

.dark .btn-primary {
  background: hsl(350 52% 44%);
}

.dark .btn-primary:hover {
  background: hsl(350 52% 50%);
}

.btn-quiet {
  border-color: var(--line-strong);
  color: var(--ink);
  background: var(--surface);
}

.btn-quiet:hover {
  border-color: var(--ink);
}

.btn-small {
  min-height: 38px;
  padding: 7px 14px;
  font-size: 0.9375rem;
}

.btn-onband {
  border-color: var(--band-line);
  color: var(--band-ink);
  background: transparent;
}

.btn-onband:hover {
  border-color: var(--band-ink);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.textlink {
  font-weight: 600;
  color: var(--brand);
  text-decoration-color: hsl(350 52% 36% / 0.35);
}

.dark .textlink {
  color: var(--brand-strong);
}

/* ---------- Header ---------- */

.top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.top-row {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  flex: none;
}

.logo-mark {
  width: 34px;
  height: 34px;
  flex: none;
}

.mark-tile {
  fill: var(--brand);
}

.mark-k {
  stroke: #fff;
}

.dark .mark-tile {
  fill: hsl(350 52% 42%);
}

.menu {
  display: none;
  align-items: center;
  gap: 4px;
  margin-inline-start: 12px;
}

.menu a {
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9688rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.menu a:hover {
  color: var(--ink);
  background: var(--wash);
}

.menu a[aria-current='page'] {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--brand);
  border-radius: 8px 8px 0 0;
}

.tools {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-inline-start: auto;
}

.tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.tool:hover {
  color: var(--ink);
  background: var(--wash);
}

.tool svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.pop {
  position: relative;
}

.pop-list {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 8px);
  min-width: 190px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.pop-list[hidden] {
  display: none;
}

.pop-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 8px;
  background: none;
  text-align: start;
  font-size: 0.9375rem;
  cursor: pointer;
}

.pop-item:hover {
  background: var(--wash);
}

.pop-item[aria-checked='true'],
.pop-item[aria-current='true'] {
  font-weight: 600;
  color: var(--brand);
}

a.pop-item {
  color: inherit;
  text-decoration: none;
}

.dark .pop-item[aria-current='true'],
.dark .pop-item[aria-checked='true'] {
  color: var(--brand-strong);
}

.pop-item svg {
  width: 17px;
  height: 17px;
  flex: none;
}

.only-wide {
  display: none;
}

.burger {
  display: inline-flex;
}

.sheet {
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding-block: 12px 24px;
}

.sheet[hidden] {
  display: none;
}

.sheet a.sheet-link {
  display: block;
  padding: 13px 4px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
}

.sheet-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

[data-auth='in'] .when-out,
[data-auth='out'] .when-in,
html:not([data-auth]) .when-in {
  display: none !important;
}

@media (min-width: 1020px) {
  .menu {
    display: flex;
  }
  .only-wide {
    display: inline-flex;
  }
  .burger,
  .sheet {
    display: none !important;
  }
}

/* ---------- Bands (page sections) ---------- */

.band {
  padding-block: clamp(64px, 8vw, 112px);
}

.band-flush {
  padding-block-start: 0;
}

.band-wash {
  background: var(--wash);
}

.band-ink {
  background: var(--band);
  color: var(--band-ink);
}

.band-ink .lede,
.band-ink .muted,
.band-ink .fine {
  color: var(--band-soft);
}

.band-head {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.band-head .title {
  max-width: 22ch;
}

@media (min-width: 900px) {
  .band-head-split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: end;
    gap: 48px;
  }
}

/* ---------- Hero ---------- */

.hero {
  padding-block: clamp(36px, 5vw, 72px) clamp(56px, 7vw, 96px);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(24px, 3vw, 40px);
}

.lockup .logo-mark {
  width: 46px;
  height: 46px;
}

.lockup-name {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.lockup-slogan {
  display: block;
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.3;
}

:lang(ar) .lockup-name {
  letter-spacing: 0;
}

.hero .lede {
  margin-top: 22px;
  max-width: 56ch;
}

.hero .actions {
  margin-top: 32px;
}

.hero-art {
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
}

.hero-art svg {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: 56px;
    align-items: start;
  }
  .hero-art {
    max-width: none;
    margin-block-start: -8px;
  }
}

.page-hero {
  padding-block: clamp(48px, 6vw, 88px) clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}

.page-hero .lede {
  margin-top: 20px;
}

.page-hero .actions {
  margin-top: 28px;
}

/* ---------- Hero picture: the table ---------- */

.art-ring {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 1;
}

.art-night {
  fill: none;
  stroke: var(--ink);
  stroke-width: 7;
  stroke-linecap: butt;
  opacity: 0.82;
}

.dark .art-night {
  stroke: hsl(222 30% 4%);
  opacity: 1;
}

.art-day {
  fill: none;
  stroke: var(--line);
  stroke-width: 7;
}

.dark .art-day {
  stroke: hsl(222 16% 32%);
}

.art-tick {
  stroke: var(--line-strong);
  stroke-width: 1;
}

.art-hour {
  fill: var(--ink-soft);
  font-size: 11px;
  font-weight: 500;
  font-family: var(--font);
  font-variant-numeric: tabular-nums;
}

.art-table {
  fill: var(--surface);
  stroke: var(--line-strong);
  stroke-width: 1.2;
}

.art-table-inner {
  fill: none;
  stroke: var(--line);
  stroke-width: 1;
}

.art-seat {
  fill: var(--surface);
  stroke: var(--line-strong);
  stroke-width: 1.2;
}

.art-seat-label {
  fill: var(--ink);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  text-anchor: middle;
  dominant-baseline: central;
}

:lang(ar) .art-seat-label {
  font-size: 12px;
}

.art-you {
  fill: var(--brand);
  stroke: none;
}

.art-you-label {
  fill: #fff;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  text-anchor: middle;
  dominant-baseline: central;
}

.art-live {
  fill: var(--ok);
}

.art-paper rect {
  fill: var(--paper);
  stroke: var(--ink);
  stroke-width: 1.3;
}

.art-paper line {
  stroke: var(--ink-soft);
  stroke-width: 1.2;
  stroke-linecap: round;
}

.art-paper-ask rect {
  stroke: var(--brand);
  fill: var(--brand-tint);
}

.art-paper-ask line {
  stroke: var(--brand);
}

.art-check circle {
  fill: var(--ok);
}

.art-check path {
  fill: none;
  stroke: #fff;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.art-hand {
  fill: var(--brand);
}

.art-core-name {
  fill: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  text-anchor: middle;
}

.art-core-sub {
  fill: var(--ink-soft);
  font-family: var(--font);
  font-size: 12px;
  text-anchor: middle;
}

.art-sun {
  transform-origin: 280px 280px;
  animation: art-turn 48s linear infinite;
}

.art-pulse {
  animation: art-pulse 2.4s ease-in-out infinite;
}

.art-log {
  position: relative;
  min-height: 3.4em;
  margin-top: 6px;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.art-log li {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: art-log 48s linear infinite;
}

.art-log b {
  color: var(--ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.art-log .ask {
  color: var(--brand);
  font-weight: 600;
}

.dark .art-log .ask {
  color: var(--brand-strong);
}

@keyframes art-turn {
  to {
    transform: rotate(360deg);
  }
}

@keyframes art-pulse {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}

/* Each log line owns one eighth of the turn: fades in, holds, fades out. */
@keyframes art-log {
  0% {
    opacity: 0;
  }
  1.2%,
  11.3% {
    opacity: 1;
  }
  12.5%,
  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .art-sun,
  .art-pulse,
  .art-paper,
  .art-check,
  .art-log li {
    animation: none !important;
  }
  .art-log li {
    position: static;
    opacity: 1;
    display: none;
  }
  .art-log li:first-child {
    display: block;
  }
  .art-check {
    opacity: 0;
  }
}

/* ---------- Registers: rows that name a thing, then say what it does ---------- */

.register {
  border-top: 1px solid var(--line-strong);
}

.register-row {
  display: grid;
  gap: 8px 32px;
  padding-block: 26px;
  border-bottom: 1px solid var(--line);
}

.register-row .heading {
  max-width: 18ch;
}

.band-ink .register {
  border-top-color: var(--band-line);
}

.band-ink .register-row {
  border-bottom-color: var(--band-line);
}

@media (min-width: 860px) {
  .register-row {
    grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 5fr);
    align-items: start;
  }
  .register-row-two {
    grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  }
}

.register-key {
  font-weight: 600;
  color: var(--ink);
}

.band-ink .register-key {
  color: var(--band-ink);
}

/* ---------- Statement trio ---------- */

.trio {
  display: grid;
  gap: 28px;
}

.trio-item {
  padding-top: 18px;
  border-top: 2px solid var(--ink);
}

.trio-item p {
  margin-top: 8px;
  color: var(--ink-soft);
}

@media (min-width: 800px) {
  .trio {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
  }
}

.split {
  display: grid;
  gap: 32px;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 64px;
    align-items: start;
  }
  .split-even {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- A day at your company ---------- */

.day {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: clamp(20px, 3vw, 36px);
}

.day-scale {
  position: relative;
  height: 34px;
  margin-bottom: 26px;
  border-radius: 6px;
  background: linear-gradient(
    to right,
    var(--ink) 0 25%,
    var(--wash) 25% 79.2%,
    var(--ink) 79.2% 100%
  );
}

[dir='rtl'] .day-scale {
  background: linear-gradient(
    to left,
    var(--ink) 0 25%,
    var(--wash) 25% 79.2%,
    var(--ink) 79.2% 100%
  );
}

.dark .day-scale {
  background: linear-gradient(
    to right,
    hsl(222 30% 5%) 0 25%,
    hsl(222 18% 24%) 25% 79.2%,
    hsl(222 30% 5%) 79.2% 100%
  );
}

.dark[dir='rtl'] .day-scale {
  background: linear-gradient(
    to left,
    hsl(222 30% 5%) 0 25%,
    hsl(222 18% 24%) 25% 79.2%,
    hsl(222 30% 5%) 79.2% 100%
  );
}

.day-dot {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  margin: -6px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--brand);
}

.day-dot-ask {
  background: var(--brand);
  border-color: var(--paper);
}

.day-list {
  display: grid;
  gap: 0;
}

.day-item {
  display: grid;
  align-content: start;
  grid-template-columns: 4.6em minmax(0, 1fr);
  gap: 4px 16px;
  padding-block: 14px;
  border-top: 1px solid var(--line);
}

.day-time {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.day-who {
  font-weight: 600;
}

.day-what {
  color: var(--ink-soft);
}

.tag {
  display: inline-block;
  margin-inline-start: 8px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--brand-tint);
  color: var(--brand);
  font-size: 0.8125rem;
  font-weight: 600;
  vertical-align: 0.08em;
  white-space: nowrap;
}

.dark .tag {
  color: var(--brand-strong);
}

.tag-ok {
  background: hsl(152 45% 34% / 0.12);
  color: var(--ok);
}

.tag-plain {
  background: var(--wash);
  color: var(--ink-soft);
}

@media (min-width: 860px) {
  .day-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 48px;
  }
}

/* ---------- The team ---------- */

.seats {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}

.seat {
  display: grid;
  align-content: start;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 4px 18px;
  align-items: start;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.seat-badge {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1.2px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  font-weight: 700;
  font-size: 0.8125rem;
  font-stretch: 84%;
  letter-spacing: 0;
  grid-row: span 2;
}

a.seat:hover .seat-badge {
  border-color: var(--brand);
  color: var(--brand);
}

.seat-role {
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.3;
}

.seat-name {
  font-weight: 400;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  margin-inline-start: 8px;
}

.seat-remit {
  color: var(--ink-soft);
  font-size: 0.9688rem;
}

@media (min-width: 860px) {
  .seats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 56px;
  }
}

/* ---------- Enterprise foundation ---------- */

.spec {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--band-line);
}

.spec-item {
  padding-block: 20px;
  border-bottom: 1px solid var(--band-line);
}

.spec-item dt {
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--band-ink);
}

.spec-item dd {
  margin-top: 4px;
  color: var(--band-soft);
  font-size: 0.9688rem;
}

.status {
  display: inline-block;
  margin-inline-start: 8px;
  padding: 1px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  font-stretch: 100%;
  letter-spacing: 0;
  line-height: 1.5;
  color: var(--ink-soft);
  vertical-align: 0.15em;
  white-space: nowrap;
}

.band-ink .status {
  border-color: var(--band-soft);
  color: var(--band-soft);
}

@media (min-width: 760px) {
  .spec {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 48px;
  }
}

@media (min-width: 1100px) {
  .spec-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.rules {
  counter-reset: rule;
  display: grid;
  gap: 0;
  margin-top: 8px;
  border-top: 1px solid var(--band-line);
}

.rule {
  counter-increment: rule;
  display: grid;
  align-content: start;
  grid-template-columns: 2.4em minmax(0, 1fr);
  gap: 2px 8px;
  padding-block: 16px;
  border-bottom: 1px solid var(--band-line);
}

.rule::before {
  content: counter(rule, decimal-leading-zero);
  grid-row: span 2;
  color: var(--band-accent);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.rule-name {
  font-weight: 600;
  color: var(--band-ink);
}

.rule-text {
  grid-column: 2;
  color: var(--band-soft);
  font-size: 0.9375rem;
}

@media (min-width: 760px) {
  .rules {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 48px;
  }
}

@media (min-width: 1100px) {
  .rules {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.subband {
  margin-top: clamp(48px, 6vw, 80px);
}

.subband > .heading {
  margin-bottom: 8px;
}

.subband > .muted {
  max-width: 64ch;
  margin-bottom: 24px;
}

/* ---------- Plain feature lists ---------- */

.ticks {
  display: grid;
  gap: 10px;
}

.ticks li {
  position: relative;
  padding-inline-start: 26px;
}

.ticks li::before {
  /* A tick is the same shape in every language, so it is drawn with physical
     sides and only its position follows the reading direction. */
  content: '';
  position: absolute;
  inset-inline-start: 2px;
  top: 0.62em;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
  transform-origin: center;
}

.dark .ticks li::before {
  border-color: var(--brand-strong);
}

:lang(ar) .ticks li::before {
  top: 0.8em;
}

.ticks-cols {
  column-gap: 40px;
}

@media (min-width: 760px) {
  .ticks-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.chip {
  padding: 5px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.9375rem;
  font-weight: 500;
}

/* ---------- Solutions: one sheet per executive ---------- */

.jump {
  position: sticky;
  top: 68px;
  z-index: 20;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.jump-row {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding-block: 10px;
  scrollbar-width: none;
}

.jump-row::-webkit-scrollbar {
  display: none;
}

.jump-row a {
  flex: none;
  padding: 6px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.jump-row a:hover {
  background: var(--wash);
  color: var(--ink);
}

.sheet-agent {
  padding-block: clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 120px;
}

.agent-grid {
  display: grid;
  gap: 32px;
}

.agent-id {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.agent-id .seat-badge {
  width: 68px;
  height: 68px;
  font-size: 1rem;
  flex: none;
}

.agent-name {
  color: var(--ink-soft);
  font-size: 0.9688rem;
}

.agent-side .lede {
  font-size: 1.125rem;
}

.agent-side dl {
  margin-top: 24px;
  display: grid;
  gap: 14px;
  font-size: 0.9375rem;
}

.agent-side dt {
  font-weight: 600;
}

.agent-side dd {
  color: var(--ink-soft);
}

.duties {
  display: grid;
  gap: 32px 40px;
}

.duty-group h3 {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 1.0625rem;
  font-weight: 600;
}

.duty-group li {
  position: relative;
  padding-inline-start: 16px;
  padding-block: 4px;
  font-size: 0.9688rem;
  color: var(--ink-soft);
}

.duty-group li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0.95em;
  width: 6px;
  height: 1.5px;
  background: var(--brand);
}

:lang(ar) .duty-group li::before {
  top: 1.15em;
}

@media (min-width: 700px) {
  .duties {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1020px) {
  .agent-grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 64px;
  }
  .agent-side {
    position: sticky;
    top: 140px;
    align-self: start;
  }
}

/* ---------- How it works ---------- */

.steps {
  counter-reset: step;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}

.step {
  counter-increment: step;
  display: grid;
  align-content: start;
  grid-template-columns: 3em minmax(0, 1fr);
  gap: 4px 12px;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
}

.step::before {
  content: counter(step);
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.step p {
  grid-column: 2;
  color: var(--ink-soft);
}

.feature {
  display: grid;
  gap: 20px 56px;
  padding-block: clamp(36px, 5vw, 56px);
  border-top: 1px solid var(--line);
  scroll-margin-top: 100px;
}

.feature:first-of-type {
  border-top-color: var(--line-strong);
}

.feature .title {
  font-size: clamp(1.6rem, 1.4vw + 1rem, 2.2rem);
  max-width: 16ch;
}

.feature-body > p {
  color: var(--ink-soft);
  max-width: 62ch;
  margin-bottom: 20px;
}

/* Levels and roles: a term, then what it means. */
.terms {
  display: grid;
  margin-bottom: 20px;
  border-top: 1px solid var(--line-strong);
}

.terms > div {
  display: grid;
  gap: 4px 24px;
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
}

.terms dt {
  font-weight: 600;
}

.terms dd {
  color: var(--ink-soft);
}

.feature-body .steps {
  margin-bottom: 20px;
}

@media (min-width: 640px) {
  .terms > div {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  }
}

@media (min-width: 900px) {
  .feature {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  }
  .feature > .title {
    position: sticky;
    top: 104px;
    align-self: start;
  }
}

.groups {
  display: grid;
  gap: 28px 40px;
}

.group h3 {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
}

.plain li {
  padding-block: 3px;
  font-size: 0.9688rem;
  color: var(--ink-soft);
}

@media (min-width: 700px) {
  .groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1020px) {
  .groups-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- Family of products ---------- */

.family {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}

.family-item {
  display: grid;
  gap: 2px 24px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}

.family-name {
  font-weight: 600;
  font-size: 1.125rem;
}

.family-for {
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

.family-item p {
  color: var(--ink-soft);
}

.family-item.is-here .family-name::after {
  content: attr(data-here);
  margin-inline-start: 10px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--brand-tint);
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 600;
  vertical-align: 0.15em;
}

.dark .family-item.is-here .family-name::after {
  color: var(--brand-strong);
}

@media (min-width: 860px) {
  .family-item {
    grid-template-columns: minmax(0, 3fr) minmax(0, 3fr) minmax(0, 6fr);
    align-items: baseline;
  }
}

/* ---------- Closing call to action ---------- */

.closing {
  display: grid;
  gap: 28px;
  padding: clamp(32px, 5vw, 64px);
  border-radius: var(--radius-lg);
  background: var(--band);
  color: var(--band-ink);
}

.closing .title {
  max-width: 20ch;
}

.closing p {
  color: var(--band-soft);
  max-width: 54ch;
  margin-top: 14px;
}

.dark .closing {
  border: 1px solid var(--band-line);
}

@media (min-width: 900px) {
  .closing {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: end;
  }
  .closing .actions {
    justify-content: flex-end;
  }
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 940px) {
  .contact-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 72px;
  }
}

.form {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-weight: 600;
  font-size: 0.9375rem;
}

.field .optional {
  font-weight: 400;
  color: var(--ink-soft);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus-visible,
.field textarea:focus-visible,
.field select:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
  border-color: var(--brand);
}

.field-pair {
  display: grid;
  gap: 18px;
}

@media (min-width: 620px) {
  .field-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.trap {
  position: absolute;
  inset-inline-start: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.notice {
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
}

.notice[hidden] {
  display: none;
}

.notice-ok {
  border-color: var(--ok);
}

.notice-bad {
  border-color: var(--danger);
}

.ways {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}

.way {
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}

.way dt {
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.way dd {
  font-weight: 600;
  font-size: 1.125rem;
}

.way dd a {
  text-decoration-color: var(--line-strong);
}

.way .fine {
  display: block;
  font-weight: 400;
  margin-top: 2px;
}

/* ---------- Legal pages ---------- */

.legal {
  max-width: 76ch;
}

.legal h2 {
  margin-top: 2em;
  margin-bottom: 0.5em;
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.25;
}

.legal h3 {
  margin-top: 1.5em;
  margin-bottom: 0.4em;
  font-size: 1.125rem;
  font-weight: 600;
}

.legal p,
.legal ul,
.legal ol {
  margin-bottom: 1em;
  color: var(--ink-soft);
}

.legal ul,
.legal ol {
  padding-inline-start: 1.4em;
  list-style: revert;
}

.legal li {
  margin-bottom: 0.4em;
}

.legal strong {
  color: var(--ink);
}

.legal code {
  font-size: 0.92em;
}

/* ---------- Footer ---------- */

.foot {
  border-top: 1px solid var(--line);
  padding-block: clamp(48px, 6vw, 72px) 32px;
  font-size: 0.9375rem;
}

.foot-grid {
  display: grid;
  gap: 36px;
}

.foot h2 {
  margin-bottom: 12px;
  font-size: 0.9375rem;
  font-weight: 600;
}

.foot li {
  margin-bottom: 8px;
}

.foot a {
  color: var(--ink-soft);
  text-decoration: none;
}

.foot a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.foot-about p {
  margin-top: 14px;
  color: var(--ink-soft);
  max-width: 34ch;
}

.foot address {
  font-style: normal;
  color: var(--ink-soft);
}

.foot-base {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.875rem;
}

.foot-base span:first-child {
  margin-inline-end: auto;
}

@media (min-width: 860px) {
  .foot-grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 2fr) minmax(0, 3fr) minmax(0, 3fr);
    gap: 48px;
  }
}

/* ---------- Sales assistant ---------- */

.chat-open {
  position: fixed;
  inset-inline-end: 20px;
  bottom: 20px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  box-shadow: var(--shadow);
  cursor: pointer;
}

[dir='rtl'] .chat-open {
  padding: 0 16px 0 20px;
}

.dark .chat-open {
  background: hsl(350 52% 42%);
  color: #fff;
}

.chat-open svg {
  width: 22px;
  height: 22px;
}

.chat-open[hidden] {
  display: none;
}

.chat {
  position: fixed;
  inset-inline-end: 20px;
  bottom: 20px;
  z-index: 61;
  display: flex;
  flex-direction: column;
  width: min(400px, calc(100vw - 24px));
  height: min(620px, calc(100dvh - 40px));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.chat[hidden] {
  display: none;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--band);
  color: var(--band-ink);
}

.chat-head .logo-mark {
  width: 30px;
  height: 30px;
}

.chat-title {
  font-weight: 600;
  line-height: 1.2;
}

.chat-sub {
  font-size: 0.8125rem;
  color: var(--band-soft);
  line-height: 1.3;
}

.chat-close {
  margin-inline-start: auto;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--band-ink);
  cursor: pointer;
}

.chat-close:hover {
  background: hsl(0 0% 100% / 0.1);
}

.chat-close svg {
  width: 18px;
  height: 18px;
}

.chat-log {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overscroll-behavior: contain;
}

.msg {
  max-width: 88%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.9688rem;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

:lang(ar) .msg {
  line-height: 1.75;
}

.msg-bot {
  align-self: flex-start;
  background: var(--wash);
  border-end-start-radius: 4px;
}

.msg-me {
  align-self: flex-end;
  background: var(--brand);
  color: #fff;
  border-end-end-radius: 4px;
}

.dark .msg-me {
  background: hsl(350 52% 42%);
}

.msg-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.msg-links a {
  padding: 3px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
}

.msg-links a:hover {
  border-color: var(--brand);
}

.msg-wait {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  min-height: 1.5em;
}

.msg-wait i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-soft);
  animation: art-pulse 1.2s ease-in-out infinite;
}

.msg-wait i:nth-child(2) {
  animation-delay: 0.2s;
}

.msg-wait i:nth-child(3) {
  animation-delay: 0.4s;
}

.chat-ideas {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chat-idea {
  padding: 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.875rem;
  text-align: start;
  cursor: pointer;
}

.chat-idea:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.dark .chat-idea:hover {
  color: var(--brand-strong);
}

.chat-form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
}

.chat-form textarea {
  flex: 1;
  min-height: 44px;
  max-height: 120px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 0.9688rem;
  line-height: 1.4;
  resize: none;
}

.chat-form textarea:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
}

.chat-send {
  flex: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius);
  background: var(--brand);
  color: #fff;
  cursor: pointer;
}

.chat-send:disabled {
  opacity: 0.5;
  cursor: default;
}

.chat-send svg {
  width: 18px;
  height: 18px;
}

[dir='rtl'] .chat-send svg {
  transform: scaleX(-1);
}

.chat-note {
  padding: 0 14px 10px;
  font-size: 0.75rem;
  color: var(--ink-soft);
  text-align: center;
}

@media (max-width: 520px) {
  .chat {
    inset: 0;
    width: 100%;
    height: 100dvh;
    border: 0;
    border-radius: 0;
  }
  .chat-open span {
    display: none;
  }
  .chat-open {
    width: 56px;
    min-height: 56px;
    padding: 0;
    justify-content: center;
  }
  [dir='rtl'] .chat-open {
    padding: 0;
  }
}

/* ---------- Small adjustments ---------- */

@media (min-width: 900px) {
  .split-sticky > :first-child {
    position: sticky;
    top: 104px;
  }
}

.trio-gap {
  margin-top: clamp(40px, 5vw, 64px);
}

.after {
  margin-top: 28px;
}

.title-small {
  font-size: clamp(1.5rem, 1.2vw + 1.1rem, 2rem);
  margin-bottom: 10px;
}

.display-small {
  font-size: clamp(2.1rem, 3vw + 1rem, 3.4rem);
}

.lede-gap {
  margin-top: 18px;
}

.form-heading {
  margin-bottom: 20px;
}

.hero-note {
  margin-top: 18px;
}

.way-plain {
  font-weight: 400;
  font-size: 1rem;
}

.band-features {
  padding-block: clamp(24px, 4vw, 48px);
}

.band-features .feature:first-of-type {
  border-top: 0;
}

.day-item .tag {
  margin-inline-start: 10px;
}

/* The legal text is kept exactly as written; these names are the ones it uses. */
.legal {
  --text: var(--ink);
  --muted: var(--ink-soft);
  /* Long addresses in the legal text must wrap on a phone, not push the page sideways. */
  overflow-wrap: anywhere;
}

.legal .meta {
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

.legal .panel,
.legal .toc {
  margin-block: 24px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 0.9688rem;
}

.legal .toc strong {
  display: block;
  margin-bottom: 8px;
}

.legal .toc ol {
  margin-bottom: 0;
}

.legal hr {
  margin-block: 32px;
  border: 0;
  border-top: 1px solid var(--line);
}

.legal a {
  color: var(--brand);
}

.dark .legal a {
  color: var(--brand-strong);
}

.legal h2 {
  scroll-margin-top: 96px;
}

@media print {
  .top,
  .chat,
  .chat-open,
  .jump {
    display: none !important;
  }
}

/* Generated by templates/hero-art.mjs: the sheets of paper crossing the table. */
@keyframes art-turn { from { transform: rotate(337.5deg); } to { transform: rotate(697.5deg); } }
@keyframes art-paper-0 { 0%, 0% { opacity: 0; transform: translate(409.9px, 205px); } 1% { opacity: 1; transform: translate(409.9px, 205px); animation-timing-function: cubic-bezier(0.5, 0, 0.25, 1); } 6.25% { opacity: 1; transform: translate(228.7px, 139.05px); } 10.75% { opacity: 1; transform: translate(228.7px, 139.05px); } 12.38%, 100% { opacity: 0; transform: translate(228.7px, 139.05px); } }
.art-paper-0 { opacity: 0; animation: art-paper-0 48s linear infinite; }
@keyframes art-paper-1 { 0%, 12.5% { opacity: 0; transform: translate(150.1px, 205px); } 13.5% { opacity: 1; transform: translate(150.1px, 205px); animation-timing-function: cubic-bezier(0.5, 0, 0.25, 1); } 18.75% { opacity: 1; transform: translate(228.7px, 139.05px); } 23.25% { opacity: 1; transform: translate(228.7px, 139.05px); } 24.88%, 100% { opacity: 0; transform: translate(228.7px, 139.05px); } }
.art-paper-1 { opacity: 0; animation: art-paper-1 48s linear infinite; }
@keyframes art-paper-2 { 0%, 25% { opacity: 0; transform: translate(427.72px, 306.05px); } 26% { opacity: 1; transform: translate(427.72px, 306.05px); animation-timing-function: cubic-bezier(0.5, 0, 0.25, 1); } 31.25% { opacity: 1; transform: translate(132.28px, 306.05px); } 35.75% { opacity: 1; transform: translate(132.28px, 306.05px); } 37.38%, 100% { opacity: 0; transform: translate(132.28px, 306.05px); } }
.art-paper-2 { opacity: 0; animation: art-paper-2 48s linear infinite; }
@keyframes art-paper-3 { 0%, 37.5% { opacity: 0; transform: translate(228.7px, 139.05px); } 38.5% { opacity: 1; transform: translate(228.7px, 139.05px); animation-timing-function: cubic-bezier(0.5, 0, 0.25, 1); } 43.75% { opacity: 1; transform: translate(280px, 430px); } 48.25% { opacity: 1; transform: translate(280px, 430px); } 49.88%, 100% { opacity: 0; transform: translate(280px, 430px); } }
.art-paper-3 { opacity: 0; animation: art-paper-3 48s linear infinite; }
@keyframes art-paper-4 { 0%, 50% { opacity: 0; transform: translate(331.3px, 139.05px); } 51% { opacity: 1; transform: translate(331.3px, 139.05px); animation-timing-function: cubic-bezier(0.5, 0, 0.25, 1); } 56.25% { opacity: 1; transform: translate(183.58px, 394.91px); } 60.75% { opacity: 1; transform: translate(183.58px, 394.91px); } 62.38%, 100% { opacity: 0; transform: translate(183.58px, 394.91px); } }
.art-paper-4 { opacity: 0; animation: art-paper-4 48s linear infinite; }
@keyframes art-paper-5 { 0%, 62.5% { opacity: 0; transform: translate(427.72px, 306.05px); } 63.5% { opacity: 1; transform: translate(427.72px, 306.05px); animation-timing-function: cubic-bezier(0.5, 0, 0.25, 1); } 67% { opacity: 1; transform: translate(280px, 430px); } 70.25% { opacity: 1; transform: translate(280px, 430px); animation-timing-function: cubic-bezier(0.5, 0, 0.25, 1); } 73.75% { opacity: 1; transform: translate(427.72px, 306.05px); } 74.88%, 100% { opacity: 0; transform: translate(427.72px, 306.05px); } }
.art-paper-5 { opacity: 0; animation: art-paper-5 48s linear infinite; }
@keyframes art-paper-6 { 0%, 75% { opacity: 0; transform: translate(376.42px, 394.91px); } 76% { opacity: 1; transform: translate(376.42px, 394.91px); animation-timing-function: cubic-bezier(0.5, 0, 0.25, 1); } 81.25% { opacity: 1; transform: translate(228.7px, 139.05px); } 85.75% { opacity: 1; transform: translate(228.7px, 139.05px); } 87.38%, 100% { opacity: 0; transform: translate(228.7px, 139.05px); } }
.art-paper-6 { opacity: 0; animation: art-paper-6 48s linear infinite; }
@keyframes art-paper-7 { 0%, 87.5% { opacity: 0; transform: translate(183.58px, 394.91px); } 88.5% { opacity: 1; transform: translate(183.58px, 394.91px); animation-timing-function: cubic-bezier(0.5, 0, 0.25, 1); } 93.75% { opacity: 1; transform: translate(331.3px, 139.05px); } 98.25% { opacity: 1; transform: translate(331.3px, 139.05px); } 99.88%, 100% { opacity: 0; transform: translate(331.3px, 139.05px); } }
.art-paper-7 { opacity: 0; animation: art-paper-7 48s linear infinite; }
@keyframes art-check { 0%, 67.5% { opacity: 0; } 68.25%, 70.25% { opacity: 1; } 71.25%, 100% { opacity: 0; } }
.art-check { opacity: 0; animation: art-check 48s linear infinite; }
.art-log li:nth-child(1) { animation-delay: 0s; }
.art-pulse-0 { animation-delay: 0s; }
.art-log li:nth-child(2) { animation-delay: 6s; }
.art-pulse-1 { animation-delay: 0.3s; }
.art-log li:nth-child(3) { animation-delay: 12s; }
.art-pulse-2 { animation-delay: 0.6s; }
.art-log li:nth-child(4) { animation-delay: 18s; }
.art-pulse-3 { animation-delay: 0.9s; }
.art-log li:nth-child(5) { animation-delay: 24s; }
.art-pulse-4 { animation-delay: 1.2s; }
.art-log li:nth-child(6) { animation-delay: 30s; }
.art-pulse-5 { animation-delay: 1.5s; }
.art-log li:nth-child(7) { animation-delay: 36s; }
.art-pulse-6 { animation-delay: 1.8s; }
.art-log li:nth-child(8) { animation-delay: 42s; }
.art-pulse-7 { animation-delay: 2.1s; }
