/* Untitled-UI-inspired layer: split hero with a tilted wall of real Tind screens,
   badge pill, proof row, rolling audience line, quieter neutral sections,
   centred FAQ with plus/minus rows. Loaded after edition.css; Tind tokens only. */

.edition {
  --uu-bg-soft: #f8f7f4;
  --uu-badge-line: #d9dde5;
}
[data-theme="dark"] .edition {
  --uu-bg-soft: #0f1622;
  --uu-badge-line: var(--line);
}

/* Hero ------------------------------------------------------------------- */
.uu-stage {
  position: relative;
  overflow: hidden;
  border-block-end: 1px solid var(--line);
}
.uu-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 48px;
  width: min(1280px, calc(100% - 64px));
  min-height: min(860px, 100svh);
  margin-inline: auto;
  padding-block: 120px 72px;
}
.uu-copy {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: start;
  max-width: 560px;
}
.uu-copy h1 {
  margin-block: 20px 16px;
  font-size: clamp(38px, 4.2vw, 58px);
  font-weight: 600;
  line-height: 1.25;
}
.uu-copy > p {
  max-width: 46ch;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.75;
}
.uu-copy .actions {
  gap: 12px;
  margin-block-start: 32px;
}

/* Tilted wall of screens: decorative, real screenshots with synthetic data. */
.uu-wall {
  position: relative;
  align-self: stretch;
  min-height: 560px;
  margin-inline-end: -18vw;
  margin-block: -120px -72px;
  overflow: hidden;
  perspective: 2000px;
  --uu-fade: linear-gradient(to bottom, transparent, #000 18%, #000 72%, transparent);
  -webkit-mask-image: var(--uu-fade);
  mask-image: var(--uu-fade);
}
/* A quiet dot grid behind the screens, shown in the gaps between them. */
.uu-wall::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--ink) 11%, transparent) 1px, transparent 1.4px) 0 0 / 14px 14px;
}
.uu-grid {
  position: absolute;
  inset-block-start: 40px;
  inset-inline-start: 0;
  display: grid;
  direction: ltr;
  grid-template-columns: repeat(4, 300px);
  gap: 24px;
  transform: rotateX(28deg) rotateZ(-22deg) skewX(10deg);
  transform-origin: top left;
}
.uu-col {
  display: grid;
  gap: 24px;
  align-content: start;
}
.uu-col:nth-child(even) {
  margin-block-start: 60px;
}
.uu-grid img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow:
    0 20px 24px -4px #0b101914,
    0 8px 8px -4px #0b10190a;
}
.uu-mobile-shot {
  display: none;
}
@media (prefers-reduced-motion: no-preference) {
  .uu-copy > * {
    animation: uu-fade var(--duration-base) var(--ease) both;
  }
  .uu-copy > :nth-child(2) { animation-delay: 30ms; }
  .uu-copy > :nth-child(3) { animation-delay: 60ms; }
  .uu-copy > :nth-child(4) { animation-delay: 90ms; }
  .uu-copy > :nth-child(5) { animation-delay: 120ms; }
}
@keyframes uu-fade {
  from {
    opacity: 0;
  }
}
.edition .site-header {
  transition:
    background-color var(--duration-base) var(--ease),
    border-color var(--duration-base) var(--ease);
}
.nav-popover {
  transform-origin: top center;
}
@keyframes nav-enter {
  from {
    opacity: 0;
    transform: translateY(0.75rem) scale(0.95);
  }
}
:root[data-motion="paused"] .uu-copy > *,
:root[data-motion="paused"] .uu-dot::after,
:root[data-motion="paused"] .nav-popover {
  animation: none !important;
}

/* Calmer sections, Untitled-style headings -------------------------------- */
.edition .section-tint {
  background: var(--uu-bg-soft);
}
.edition .section-heading .label {
  display: inline-block;
  margin-block-end: 12px;
  font-size: 14px;
  font-weight: 600;
}
.edition .section-heading h2 {
  font-size: clamp(30px, 3.2vw, 40px);
  font-weight: 600;
  line-height: 1.3;
}
.edition .section-heading p {
  font-size: clamp(16px, 1.3vw, 19px);
  margin-block-start: 16px;
}
.edition .role-card,
.edition .ed-film {
  border-radius: 12px;
  box-shadow: 0 1px 2px #0b10190d;
}

/* FAQ: centred list with plus/minus ------------------------------------- */
.edition .faq-section {
  display: block;
  max-width: 820px;
}
.edition .faq-section .section-heading {
  margin-inline: auto;
  margin-block-end: 48px;
  text-align: center;
}
.edition .faq-list details {
  padding-block: 0;
}
.edition .faq-list details:first-child {
  border-block-start: 1px solid var(--line);
}
.edition .faq-list summary {
  font-size: 17px;
  font-weight: 500;
}
.edition .faq-list summary svg {
  flex: none;
  width: 22px;
  height: 22px;
  padding: 3px;
  border: 1.5px solid var(--muted);
  border-radius: 50%;
  color: var(--muted);
}
.edition .faq-list summary svg,
.edition .faq-list summary svg .faq-v {
  transform-origin: center;
  transition:
    transform var(--duration-base) var(--ease),
    opacity var(--duration-base) var(--ease);
}
.edition .faq-list details[open] summary svg {
  transform: rotate(180deg);
}
.edition .faq-list details[open] summary svg .faq-v {
  transform: rotate(90deg);
  opacity: 0;
}
.edition .faq-list details p {
  font-size: 15px;
}

/* Small screens ----------------------------------------------------------- */
@media (max-width: 960px) {
  .uu-hero {
    grid-template-columns: 1fr;
    justify-items: center;
    width: calc(100% - 40px);
    min-height: 0;
    padding-block: 112px 48px;
    text-align: center;
  }
  .uu-copy {
    justify-items: center;
  }
  .uu-proof,
  .uu-copy .actions {
    justify-content: center;
  }
  .uu-wall {
    display: none;
  }
  .uu-mobile-shot {
    display: block;
    width: min(100%, 320px);
    height: auto;
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: 0 30px 60px -20px #17294a33;
  }
}

/* The wall fills the page as you scroll, as on untitledui.com: the hero holds
   still for one screen of scrolling while the tilted wall straightens, grows
   from the left half to the whole screen and covers the copy; its columns
   travel at different speeds. Tied to the scroll, so there is no tween; with
   reduced motion, motion off, a narrow screen or no scroll timelines the hero
   stays split and still. */
@supports (animation-timeline: scroll()) {
  @media (min-width: 961px) and (prefers-reduced-motion: no-preference) {
    :root:not([data-motion="paused"]) .uu-stage {
      height: 200svh;
      overflow: clip;
    }
    :root:not([data-motion="paused"]) .uu-hero {
      position: sticky;
      inset-block-start: 0;
      height: 100svh;
      min-height: 0;
      width: 100%;
      padding-inline: max(32px, (100% - 1280px) / 2);
    }
    :root:not([data-motion="paused"]) .uu-wall {
      position: absolute;
      inset: 0;
      z-index: 2;
      min-height: 0;
      margin: 0;
      -webkit-mask-image: none;
      mask-image: none;
      background: var(--edition-paper);
      animation: uu-wall-open linear both;
      animation-timeline: scroll(root);
      animation-range: 0 85svh;
    }
    :root:not([data-motion="paused"]) .uu-grid {
      inset-block-start: 88px;
      inset-inline: 32px;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      transform-origin: center top;
      animation: uu-wall-straighten linear both;
      animation-timeline: scroll(root);
      animation-range: 0 85svh;
    }
    :root:not([data-motion="paused"]) .uu-col {
      animation: uu-col-travel linear both;
      animation-timeline: scroll(root);
      animation-range: 0 100svh;
    }
    .uu-col:nth-child(1) { --uu-travel: -4vh; }
    .uu-col:nth-child(2) { --uu-travel: -26vh; }
    .uu-col:nth-child(3) { --uu-travel: -10vh; }
    .uu-col:nth-child(4) { --uu-travel: -18vh; }
  }
}
@keyframes uu-wall-open {
  from {
    clip-path: inset(0 50% 0 0);
    background-color: transparent;
  }
  40% {
    background-color: var(--edition-paper);
  }
  to {
    clip-path: inset(0);
  }
}
@keyframes uu-wall-straighten {
  from {
    transform: translateX(-30%) translateY(-6%) rotateX(28deg) rotateZ(-22deg)
      skewX(10deg) scale(0.85);
  }
  to {
    transform: none;
  }
}
@keyframes uu-col-travel {
  from {
    translate: 0 var(--uu-travel, 0);
  }
  to {
    translate: 0 0;
  }
}

/* FAQ answers open and close by height (Accordion, 21st.dev / originui) ---- */
@media (prefers-reduced-motion: no-preference) {
  :root:not([data-motion="paused"]) .faq-list {
    interpolate-size: allow-keywords;
  }
  :root:not([data-motion="paused"]) .faq-list details::details-content {
    height: 0;
    overflow: clip;
    transition:
      height var(--duration-base) var(--ease),
      content-visibility var(--duration-base) allow-discrete;
  }
  :root:not([data-motion="paused"]) .faq-list details[open]::details-content {
    height: auto;
  }
}

/* Features: mixed-size bento that settles in (bento grid 01) -------------- */
@media (min-width: 961px) {
  .edition .bento-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: minmax(260px, auto);
  }
  .edition .bento {
    display: flex;
    flex-direction: column;
    grid-column: span 2;
  }
  .edition .bento .bento-photo {
    flex: 1;
    min-height: 0;
    aspect-ratio: auto;
  }
  .edition .bento:nth-child(1) {
    grid-row: span 2;
  }
  .edition .bento:nth-child(2) {
    grid-column: span 4;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .edition .bento:nth-child(2) .bento-photo {
    height: 100%;
    order: 1;
  }
  .edition .bento:nth-child(2) .bento-copy {
    align-self: center;
  }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .edition .bento .bento-photo {
    transition: transform var(--duration-base) var(--ease);
  }
  .edition .bento:hover {
    transform: none;
  }
  .edition .bento:hover .bento-photo {
    transform: scale(1.02);
  }
}

/* Client journey: the line draws as you scroll (Product Timeline) --------- */
.uu-journey .section-heading {
  margin-block-end: 56px;
}
.uu-journey-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.uu-journey-track::before {
  content: "";
  position: absolute;
  inset-block-start: 6px;
  inset-inline: 0;
  height: 2px;
  background: var(--accent);
  transform-origin: right;
}
.uu-journey-dot {
  position: relative;
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--edition-paper);
}
.uu-journey-track h3 {
  margin-block-start: 24px;
  font-size: 20px;
  font-weight: 600;
}
.uu-journey-track p {
  margin-block-start: 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
.uu-journey-track h3,
.uu-journey-track p {
  overflow: hidden;
}
.uu-journey-track :is(h3, p) > span {
  display: inline-block;
}
/* Desktop: one ink line joins the five dots. When the journey comes into view
   (parts.js adds .run) the line draws, a short sand pulse travels it once, and
   each dot fills and its text rises as the pulse reaches it (Animated Beam). */
.uu-flow {
  display: none;
}
@media (min-width: 961px) {
  .uu-flow {
    display: block;
    position: relative;
    height: 0;
  }
  .uu-flow svg {
    position: absolute;
    inset: 0 0 auto;
    width: 100%;
    height: 16px;
    overflow: visible;
  }
  .uu-flow path {
    fill: none;
    vector-effect: non-scaling-stroke;
  }
  .uu-flow-line {
    stroke: var(--line);
    stroke-width: 2;
  }
  .uu-flow-pulse {
    stroke: var(--sand);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 0.08 1.2;
    opacity: 0;
  }
  .uu-journey-track::before {
    display: none;
  }
  .uu-journey-dot {
    width: 16px;
    height: 16px;
    border: 2px solid var(--sand);
    background: var(--sand);
  }
}
@media (min-width: 961px) and (prefers-reduced-motion: no-preference) {
  :root:not([data-motion="paused"]) .uu-flow-line {
    stroke-dasharray: 1 1;
    stroke-dashoffset: 1;
  }
  :root:not([data-motion="paused"]) .uu-journey-dot {
    border-color: var(--line);
    background: var(--edition-paper);
  }
  :root:not([data-motion="paused"]) .uu-journey-track :is(h3, p) > span {
    transform: translateY(110%);
  }
  :root:not([data-motion="paused"]) .uu-journey.run .uu-flow-line {
    animation: uu-stroke 700ms var(--ease) forwards;
  }
  :root:not([data-motion="paused"]) .uu-journey.run .uu-flow-pulse {
    animation: uu-pulse 1400ms cubic-bezier(0.45, 0, 0.55, 1) 700ms both;
  }
  :root:not([data-motion="paused"]) .uu-journey.run .uu-journey-dot {
    animation: uu-fill var(--duration-base) var(--ease) calc(700ms + var(--i) * 330ms) forwards;
  }
  :root:not([data-motion="paused"]) .uu-journey.run .uu-journey-track :is(h3, p) > span {
    animation: uu-rise-in var(--duration-base) var(--ease) calc(820ms + var(--i) * 330ms) forwards;
  }
}
@keyframes uu-stroke {
  to { stroke-dashoffset: 0; }
}
@keyframes uu-pulse {
  0% { opacity: 1; stroke-dashoffset: 0.08; }
  92% { opacity: 1; }
  100% { opacity: 0; stroke-dashoffset: -1; }
}
@keyframes uu-fill {
  to { border-color: var(--sand); background: var(--sand); }
}
@keyframes uu-rise-in {
  to { transform: none; }
}

/* Contract card: a signature writes itself once under the text */
.uu-sign {
  display: block;
  width: 170px;
  height: 60px;
  margin-block-start: 18px;
}
.uu-sign path {
  fill: none;
  stroke: var(--sand);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.uu-sign .uu-sign-base {
  stroke: var(--line);
  stroke-width: 1.5;
}
@media (prefers-reduced-motion: no-preference) {
  :root:not([data-motion="paused"]) .uu-sign-ink {
    stroke-dasharray: 1 1;
    stroke-dashoffset: 1;
  }
  :root:not([data-motion="paused"]) .bento.run .uu-sign-ink {
    animation: uu-stroke 1100ms cubic-bezier(0.4, 0, 0.2, 1) 200ms forwards;
  }
  :root:not([data-motion="paused"]) .bento.run .uu-sign-dot {
    animation-duration: 120ms;
    animation-delay: 1300ms;
  }
}
@media (max-width: 960px) {
  .uu-journey-track {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-inline-start: 32px;
  }
  .uu-journey-track::before {
    inset-block: 0;
    inset-inline: 6px auto;
    width: 2px;
    height: auto;
  }
  .uu-journey-dot {
    position: absolute;
    inset-inline-start: 0;
    margin-block-start: 8px;
  }
  .uu-journey-track li {
    position: relative;
    margin-inline-start: -32px;
    padding-inline-start: 32px;
  }
  .uu-journey-track h3 {
    margin-block-start: 0;
  }
}
.uu-journey {
  margin-block-end: clamp(96px, 10vw, 144px);
}
@media (min-width: 961px) {
  .uu-journey-track::before {
    inset-inline-end: calc((100% - 96px) / 5 - 7px);
  }
}

/* Films: real recordings framed like 21st.dev's Tilt Showcase and Phone App Scroll */
.uu-films {
  display: grid;
  gap: clamp(40px, 6vw, 80px);
}
.uu-browser {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 30px 60px -30px #0b101959;
}
.uu-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding-inline: 14px;
  border-block-end: 1px solid var(--line);
  direction: ltr;
}
.uu-browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}
.uu-browser-bar b {
  margin-inline: auto;
  padding: 2px 14px;
  border-radius: 6px;
  background: var(--uu-bg-soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}
.uu-films video {
  display: block;
  width: 100%;
  height: auto;
  background: var(--surface);
}
.uu-phone-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  text-align: center;
}
.uu-phone-copy p {
  margin-inline: auto;
}
.uu-phone {
  width: min(260px, 40vw);
  padding: 10px;
  border-radius: 44px;
  background: #121214;
  box-shadow: 0 30px 60px -30px #0b101980;
}
.uu-phone video {
  border-radius: 34px;
}
.uu-phone-copy h3 {
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 600;
}
.uu-phone-copy p {
  margin-block-start: 12px;
  max-width: 34ch;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}
@media (max-width: 720px) {
  .uu-phone-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: center;
  }
  .uu-phone-copy {
    grid-column: 1 / -1;
    grid-row: 1;
  }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .uu-films {
      perspective: 1600px;
    }
    :root:not([data-motion="paused"]) .uu-browser {
      transform-origin: center bottom;
      animation: uu-tilt-settle linear both;
      animation-timeline: view();
      animation-range: entry 10% cover 45%;
    }
    :root:not([data-motion="paused"]) .uu-phone {
      animation: uu-rise linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 40%;
    }
  }
}
@keyframes uu-tilt-settle {
  from { transform: rotateX(18deg) scale(0.92); }
}
@keyframes uu-rise {
  from { transform: translateY(64px); }
}

/* Riyadh: the photo opens from a card to the full width (Scroll Reveal Image) */
.uu-riyadh {
  padding-block: clamp(64px, 8vw, 120px);
}
.uu-riyadh-frame {
  position: relative;
  margin: 0;
  height: clamp(360px, 72svh, 760px);
  overflow: hidden;
  border-radius: 20px;
  margin-inline: 20px;
}
.uu-riyadh-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}
.uu-riyadh-frame::after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(to bottom, transparent, #0b1222b3);
}
.uu-riyadh-frame figcaption {
  position: absolute;
  z-index: 1;
  inset-inline: 6%;
  inset-block-end: 8%;
  color: #fff;
  font-size: clamp(28px, 4.4vw, 56px);
  font-weight: 600;
  line-height: 1.25;
  text-wrap: balance;
}
@supports (animation-timeline: view()) {
  @media (min-width: 961px) and (prefers-reduced-motion: no-preference) {
    :root:not([data-motion="paused"]) .uu-riyadh-frame {
      margin-inline: 0;
      border-radius: 0;
      animation: uu-open linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 50%;
    }
    :root:not([data-motion="paused"]) .uu-riyadh-frame img {
      animation: uu-settle linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 50%;
    }
  }
}
@keyframes uu-open {
  from { clip-path: inset(0 19% round 28px); }
  to { clip-path: inset(0 round 0); }
}
@keyframes uu-settle {
  from { transform: scale(1.15); }
}

/* The wall streams (option ٢ «شريط الأيقونات», 2026-11-09): two wide columns mix
   screens with focused cards of Tind's tiles, a narrow rail of the app's icons
   climbs between them faster than the rest, and a fourth column is screens only.
   Each column is its content twice, translated by half of itself and looped, so
   it never ends; neighbours run in opposite directions. The whole wall pauses
   under the pointer (or while held by a tap); with reduced motion or motion
   paused the columns stand still. The scroll-driven straightening above is kept. */
.uu-grid.uu-narrow {
  grid-template-columns: 300px 96px 300px 300px;
}
.uu-col {
  position: relative;
  overflow: hidden;
  height: 1400px;
}
.uu-run {
  --uu-gap: 24px;
  display: grid;
  gap: var(--uu-gap);
  align-content: start;
}
.uu-col.uu-icons .uu-run {
  --uu-gap: 28px;
  justify-items: center;
}
.uu-ico {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: var(--action);
  color: var(--on-action);
  box-shadow: 0 14px 28px -16px #17294a80;
}
.uu-ico svg {
  width: 32px;
  height: 32px;
}
.uu-ico.soft {
  background: var(--surface);
  color: var(--accent);
  border: 1px solid var(--line);
  box-shadow: none;
}
.uu-fc {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 20px 24px -4px #0b101914;
  font-size: 13.5px;
  line-height: 1.6;
  direction: rtl;
  color: var(--ink);
}
.uu-fc svg {
  flex: none;
}
.uu-fc small {
  color: var(--muted);
  font-size: 12px;
}
.uu-fc .n {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.1;
}
.uu-fc .ic {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.uu-fc .ic svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}
.uu-fc .spark {
  width: 100%;
  height: 30px;
  overflow: visible;
}
.uu-fc .spark path.l {
  fill: none;
  stroke: var(--success);
  stroke-width: 1.5;
}
.uu-fc .spark path.a {
  fill: var(--success);
  opacity: 0.12;
}
.uu-fc .bar {
  height: 4px;
  border-radius: 2px;
  background: var(--surface-2);
  overflow: hidden;
}
.uu-fc .bar i {
  display: block;
  height: 100%;
  width: var(--w);
  background: var(--accent);
  border-radius: 2px;
  margin-inline-start: auto;
}
.uu-fc .bar i.a { background: var(--warning); }
.uu-fc .bar i.g { background: var(--success); }
.uu-fc .pill {
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11.5px;
  background: var(--accent-soft);
  color: var(--accent);
  white-space: nowrap;
}
.uu-fc .pill.warn { background: var(--warning-bg); color: var(--warning); }
.uu-fc .pill.late { background: var(--danger-bg); color: var(--danger); }
.uu-fc .row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}
.uu-fc .row .t {
  color: var(--muted);
  font-size: 12px;
}
.uu-fc .av {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
}
.uu-fc .wk {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  align-items: end;
  height: 56px;
}
.uu-fc .wk i {
  display: block;
  height: var(--h);
  border-radius: 3px 3px 1px 1px;
  background: var(--accent);
}
.uu-fc .wk i.t { background: var(--success); }
.uu-fc .cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}
.uu-fc .cal span {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 5px;
  font-size: 10.5px;
  color: var(--muted);
  position: relative;
}
.uu-fc .cal span.h {
  background: var(--surface-2);
  color: var(--ink);
}
.uu-fc .cal span.h::after {
  content: "";
  position: absolute;
  bottom: 2px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
}
.uu-fc .cal span.today {
  background: var(--action);
  color: var(--on-action);
}
@media (prefers-reduced-motion: no-preference) {
  :root:not([data-motion="paused"]) .uu-run {
    animation: uu-stream var(--uu-dur, 60s) linear infinite;
    will-change: transform;
  }
  :root:not([data-motion="paused"]) .uu-col.uu-rev .uu-run {
    animation-name: uu-stream-rev;
  }
  .uu-wall:hover .uu-run,
  .uu-wall.held .uu-run {
    animation-play-state: paused;
  }
}
/* One lap is one copy plus the gap that joins the two copies: half the run is half
   a gap short of that, and the column would step back by it at every lap. */
@keyframes uu-stream {
  to { transform: translateY(calc(-50% - var(--uu-gap) / 2)); }
}
@keyframes uu-stream-rev {
  from { transform: translateY(calc(-50% - var(--uu-gap) / 2)); }
  to { transform: translateY(0); }
}
@supports (animation-timeline: scroll()) {
  @media (min-width: 961px) and (prefers-reduced-motion: no-preference) {
    :root:not([data-motion="paused"]) .uu-grid.uu-narrow {
      grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr) minmax(0, 1fr);
    }
  }
}

/* The peak and the assistant above the hero's buttons (option ٢ «التسليم», 2026-11-09):
   the two stand at the ends of a short rail and the work passes between them. A task
   leaves the face, travels the rail and reaches the peak, which lifts and shows a check;
   the peak sends one back and the face squints as it takes it. Nothing else moves. Pauses
   under the pointer; still with reduced motion or motion paused. */
.uu-duo {
  --duo-peak: var(--navy);
  --duo-face: var(--navy);
  --duo-eye: #fffdf9;
  position: relative;
  display: block;
  width: 260px;
  max-width: 100%;
  height: 56px;
  margin-block-start: 26px;
  direction: ltr;
}
[data-theme="dark"] .uu-duo { --duo-peak: var(--sky); --duo-face: var(--accent); --duo-eye: #0b1019; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .uu-duo { --duo-peak: var(--sky); --duo-face: var(--accent); --duo-eye: #0b1019; }
}
.uu-duo-peak,
.uu-duo-face {
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
}
.uu-duo-peak { left: 220px; }
.uu-duo-peak svg { width: 40px; height: 37px; display: block; fill: var(--duo-peak); }
.uu-duo-face {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 13px;
  background: var(--duo-face);
  box-shadow: 0 6px 16px -6px var(--duo-face);
}
.uu-duo-eye { width: 6px; height: 9px; border-radius: 3px; background: var(--duo-eye); }
.uu-duo-rail { position: absolute; left: 16px; right: 16px; bottom: 0; height: 1px; background: var(--line); }
.uu-duo-rail i { position: absolute; top: -3px; left: 24px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); opacity: 0; }
.uu-duo-tick { position: absolute; left: 234px; bottom: 42px; width: 14px; height: 14px; color: var(--success); opacity: 0; }
.uu-duo-tick svg { width: 14px; height: 14px; display: block; }
@media (prefers-reduced-motion: no-preference) {
  :root:not([data-motion="paused"]) .uu-duo-rail i { animation: uu-duo-dot 5.2s infinite; }
  :root:not([data-motion="paused"]) .uu-duo-peak { animation: uu-duo-peak 5.2s infinite; }
  :root:not([data-motion="paused"]) .uu-duo-tick { animation: uu-duo-tick 5.2s infinite; }
  :root:not([data-motion="paused"]) .uu-duo-face { animation: uu-duo-face 5.2s infinite; }
  :root:not([data-motion="paused"]) .uu-duo-eye { animation: uu-duo-eye 5.2s infinite; }
}
@media (hover: hover) and (pointer: fine) {
  .uu-duo:hover * { animation-play-state: paused; }
}
@keyframes uu-duo-dot {
  0%, 8% { left: 24px; opacity: 0; }
  12% { opacity: 1; }
  40% { left: 206px; opacity: 1; animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
  44%, 56% { left: 206px; opacity: 0; }
  60% { opacity: 1; }
  88% { left: 24px; opacity: 1; animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
  92%, 100% { left: 24px; opacity: 0; }
}
@keyframes uu-duo-peak {
  0%, 38% { translate: 0 0; }
  44% { translate: 0 -8px; animation-timing-function: ease-in-out; }
  52% { translate: 0 0; }
  56% { translate: -6px 0; animation-timing-function: var(--ease); }
  62%, 100% { translate: 0 0; }
}
@keyframes uu-duo-tick {
  0%, 40% { opacity: 0; translate: 0 4px; }
  44%, 60% { opacity: 1; translate: 0 0; }
  66%, 100% { opacity: 0; translate: 0 -4px; }
}
@keyframes uu-duo-face {
  0%, 4% { translate: 0 0; scale: 1 1; }
  8% { translate: 6px 0; scale: 1.04 0.96; animation-timing-function: var(--ease); }
  14%, 84% { translate: 0 0; scale: 1 1; }
  90% { translate: 0 0; scale: 1.06 0.94; animation-timing-function: var(--ease); }
  96%, 100% { translate: 0 0; scale: 1 1; }
}
@keyframes uu-duo-eye {
  0%, 40% { height: 9px; translate: 2px 0; }
  44%, 60% { height: 9px; translate: 2px -1px; }
  64%, 84% { height: 9px; translate: 2px 0; }
  88%, 94% { height: 3px; translate: 0 0; }
  100% { height: 9px; translate: 0 0; }
}
@media (max-width: 960px) {
  .uu-duo { margin-block-start: 20px; }
}
