/* DWS · Dan Websites
   World: cool paper, ink, one cobalt. Rubik heavy for display, IBM Plex Sans Hebrew for reading.
   Fonts are self-hosted (SIL Open Font License 1.1), Hebrew + Latin subsets only. */

@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("assets/fonts/rubik-var-hebrew.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("assets/fonts/rubik-var-latin.woff2") format("woff2");
  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: "IBM Plex Sans Hebrew";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-hebrew-400-hebrew.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "IBM Plex Sans Hebrew";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-hebrew-400-latin.woff2") format("woff2");
  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: "IBM Plex Sans Hebrew";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-hebrew-500-hebrew.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "IBM Plex Sans Hebrew";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-hebrew-500-latin.woff2") format("woff2");
  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;
}

:root {
  --paper: #F2F2EE;
  --paper-2: #E7E7E1;
  --ink: #0C0C0E;
  --ink-2: #2A2B30;
  --muted: #55575F;         /* 6.3:1 on paper */
  --cobalt: #2433FF;        /* white on cobalt 7.0:1, cobalt on paper 6.3:1 */
  --cobalt-deep: #1A26D6;
  --on-cobalt-2: #D6D9FF;   /* 5.1:1 on cobalt */
  --line: rgba(12, 12, 14, .14);
  --line-strong: rgba(12, 12, 14, .28);

  --display: "Rubik", "IBM Plex Sans Hebrew", system-ui, sans-serif;
  --body: "IBM Plex Sans Hebrew", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --gutter: clamp(20px, 4.4vw, 64px);
  --header-h: 72px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --section-pad: clamp(96px, 13vw, 200px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
@media (prefers-reduced-motion: no-preference) { html:not(.lenis) { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
main { overflow-x: clip; } /* entrance offsets (slides, parallax) never widen the page */
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--cobalt); color: #fff; }

:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; }
.hero :focus-visible, .contact__intro :focus-visible, .site-footer :focus-visible,
.site-header:not(.is-scrolled) :focus-visible { outline-color: #fff; }

.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: fixed; inset-inline-start: 12px; top: 12px; z-index: 200;
  background: var(--ink); color: #fff; padding: .7rem 1.2rem; border-radius: 999px;
  text-decoration: none; transform: translateY(-160%); transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }
.visually-hidden, .botcheck { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.botcheck { display: none !important; }

.icon { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Wordmark ---------- */
.mark {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1;
  display: inline-flex;
  align-items: flex-end;
}
.mark__dot {
  display: inline-block;
  width: .2em; height: .2em;
  margin-inline-start: .06em;
  margin-bottom: .1em;
  background: var(--cobalt);
}

/* ---------- Buttons: full pills only ---------- */
.btn {
  --h: 56px;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: var(--h);
  padding: 0 1.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--body); font-weight: 500; font-size: 1.0625rem; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:active { transform: scale(.96); }
.btn--sm { --h: 44px; padding: 0 1.2rem; font-size: .975rem; }
.btn--wide { width: 100%; }
/* Style 1 (Dan chose it, 06.11.2026): solid and crisp, no effects. Ink on light ground, white on dark ground. */
.btn--solid { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
@media (hover: hover) { .btn--solid:hover, .btn--light:hover { opacity: .88; } }
/* Secondary action: a plain link with a small arrow, underline draws in on hover */
.btn-link {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 48px; padding: 0 .4rem;
  font-weight: 500; font-size: 1.0625rem; line-height: 1; text-decoration: none; white-space: nowrap; color: inherit;
  background: linear-gradient(currentColor, currentColor) no-repeat 100% 78% / 0 1px;
  transition: background-size .4s var(--ease), opacity .2s var(--ease);
}
.btn-link--light { color: #fff; }
.btn-link .icon--arrow { width: 1em; height: 1em; }
.btn-link:active { opacity: .6; }
.btn-link:active .icon--arrow { transform: translateX(-4px); }
@media (hover: hover) {
  .btn-link:hover { background-size: calc(100% - .8rem) 1px; }
  .btn-link:hover .icon--arrow { transform: translateX(-4px); }
}
.icon--arrow { transition: transform .3s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(-4px); }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid currentColor; color: inherit;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.icon-btn:hover { background: currentColor; }
.icon-btn:hover .icon { stroke: var(--paper); }
.site-header:not(.is-scrolled) .icon-btn:hover .icon { stroke: var(--cobalt); }

.eyebrow {
  font-family: var(--body); font-weight: 500;
  font-size: .9rem; letter-spacing: .02em;
  color: var(--cobalt);
  display: flex; align-items: center; gap: .7rem;
  margin-bottom: 1.6rem;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; background: currentColor; flex: none; }
.eyebrow--light { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: #fff;
  transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.is-scrolled { background: rgba(242, 242, 238, .96); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.site-header__bar { height: var(--header-h); display: flex; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand .mark { font-size: 1.95rem; }
.site-header:not(.is-scrolled) .brand .mark__dot { background: #fff; }
.brand__full { font-size: .74rem; line-height: 1.15; font-weight: 500; letter-spacing: .02em; opacity: .9; text-align: left; }
.site-nav { margin-inline-start: auto; }
.site-nav ul { display: flex; gap: 2.2rem; }
.site-nav a { text-decoration: none; font-size: .975rem; position: relative; padding-block: .4rem; }
.site-nav a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.site-nav a:hover::after { transform: scaleX(1); }
.site-header__actions { display: flex; align-items: center; gap: .75rem; }
.site-header:not(.is-scrolled) .btn--solid { background: #fff; color: var(--ink); }
/* pages without the nav (accessibility): keep the button at the far end, like the home page */
.site-header__bar > .brand + .site-header__actions { margin-inline-start: auto; }

@media (max-width: 899px) {
  .site-nav { display: none; }
  .site-header__actions { margin-inline-start: auto; }
  .brand__full { display: none; }
  :root { --header-h: 64px; }
}
@media (max-width: 380px) {
  .site-header__actions .btn--sm { padding: 0 .95rem; }
}

/* ---------- Opening moment (every device; fade-only under reduced motion) ---------- */
.intro { display: none; }
.intro-on .intro {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 100;
  background: var(--ink); color: var(--paper);
  /* failsafe: if JS never runs, the panel still leaves */
  animation: intro-failsafe .4s linear 3.2s forwards;
}
.intro__inner { position: relative; width: min(360px, 74vw); display: grid; place-items: center; }
.intro__svg { width: 100%; height: auto; overflow: visible; }
.i-frame, .i-rule { fill: none; stroke: rgba(242, 242, 238, .55); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.i-dots circle { fill: rgba(242, 242, 238, .35); }
.b { fill: rgba(242, 242, 238, .26); transform-box: fill-box; transform-origin: center; }
.b--cobalt { fill: #2433FF; }
.b--paper { fill: rgba(242, 242, 238, .92); }
.b--line { fill: none; stroke: rgba(242, 242, 238, .7); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.b--soft { fill: rgba(242, 242, 238, .12); }
.b:nth-child(2) { --n: 1; } .b:nth-child(3) { --n: 2; } .b:nth-child(4) { --n: 3; } .b:nth-child(5) { --n: 4; }
.b:nth-child(6) { --n: 5; } .b:nth-child(7) { --n: 6; } .b:nth-child(8) { --n: 7; } .b:nth-child(9) { --n: 8; } .b:nth-child(10) { --n: 9; }
.intro__mark {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: clamp(5rem, 22vw, 9.5rem); color: var(--paper);
  opacity: 0;
}
.intro__mark .mark__dot { background: #4F5BFF; }

/* full version: draw (0-.32s), snap blocks (.24-.9s), resolve into the wordmark (.9-1.25s); JS lifts the panel at ~1.35s */
.intro-on:not(.rm) .i-frame { stroke-dasharray: 1; animation: i-draw .38s cubic-bezier(.65, 0, .35, 1) both; }
.intro-on:not(.rm) .i-rule { stroke-dasharray: 1; animation: i-draw .3s cubic-bezier(.65, 0, .35, 1) .14s both; }
.intro-on:not(.rm) .i-dots { animation: i-fade .2s linear .3s both; }
.intro-on:not(.rm) .b { animation: i-snap .32s cubic-bezier(.34, 1.56, .64, 1) calc(.26s + var(--n) * .055s) both; }
.intro-on:not(.rm) .intro__svg { animation: i-resolve .36s cubic-bezier(.55, 0, .45, 1) .92s both; }
.intro-on:not(.rm) .intro__mark { animation: i-mark .42s cubic-bezier(.22, 1, .36, 1) 1s both; }
@keyframes i-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes i-fade { from { opacity: 0; } }
@keyframes i-snap { from { opacity: 0; transform: scale(.35); } }
@keyframes i-resolve { to { opacity: 0; transform: scale(.82); } }
@keyframes i-mark { from { opacity: 0; transform: scale(1.12); } to { opacity: 1; transform: none; } }

/* reduced motion: a still frame (outline + wordmark), opacity only */
.rm .intro__inner { animation: i-fade .3s linear both; }
.rm .i-blocks { display: none; }
.rm .intro__mark { opacity: 1; font-size: clamp(4rem, 17vw, 7rem); }

.intro.is-leaving { animation: none; transform: translateY(-100%); transition: transform .62s var(--ease-io); }
.rm .intro.is-leaving { transform: none; opacity: 0; transition: opacity .45s linear; }
@keyframes intro-failsafe { to { opacity: 0; visibility: hidden; } }

/* page progress line */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--cobalt); transform-origin: right; transform: scaleX(0); }
.hero-zone .progress i { background: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--cobalt);
  color: #fff;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  /* a faint light from the top corner, so the field is not flat */
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 90vh; z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .16), transparent);
  pointer-events: none;
}
.hero__grid {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(32px, 5vw, 96px);
  padding-top: calc(var(--header-h) + clamp(32px, 6vh, 80px));
  padding-bottom: clamp(24px, 4vh, 48px);
}
.hero__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(4.25rem, 7.6vw, 8.75rem);
  line-height: .95;
  letter-spacing: -.035em;
  margin-bottom: clamp(1.5rem, 3vh, 2.25rem);
}
.hero__title span { display: block; }
.hero__lede { max-width: 34rem; font-size: clamp(1.0625rem, 1.25vw, 1.25rem); line-height: 1.6; color: var(--on-cobalt-2); margin-bottom: 2.25rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .875rem; }

.hero__device { position: relative; }
.phone {
  position: relative;
  aspect-ratio: 390 / 844;
  border-radius: 13% / 6%;
  background: #0b0b0d;
  padding: 3.4%;
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, .14),
    0 2px 4px rgba(0, 0, 0, .2),
    0 40px 80px -20px rgba(4, 8, 60, .55);
}
.phone::after {
  /* speaker notch */
  content: ""; position: absolute; top: 4.6%; left: 50%; width: 26%; height: 2.6%;
  transform: translateX(-50%); border-radius: 999px; background: #0b0b0d; z-index: 2;
}
.phone__screen { position: relative; height: 100%; overflow: hidden; border-radius: 10% / 4.6%; background: #111; }
.phone__screen img { width: 100%; }
.phone--hero { width: clamp(240px, 22vw, 330px); transform: rotate(-4deg); }
.hero__device { will-change: transform; }

/* the reel: three demo sites, one screen each, swiping up; last frame repeats the first so the loop is seamless */
.phone__reel { will-change: transform; }
@media (prefers-reduced-motion: no-preference) {
  .hero__float { animation: float 7s ease-in-out infinite; }
  .phone__reel { animation: reel 13s var(--ease-io) infinite; }
  .intro-on .phone__reel { animation-delay: 1.6s; }
  /* the phone lands as the intro panel lifts (or on load when there is no intro) */
  .js .phone--hero { animation: phone-in 1.1s var(--ease) .15s both; }
  .js.intro-on .phone--hero { animation-delay: 1.4s; }
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes phone-in { from { transform: translateY(70px) rotate(5deg); } to { transform: rotate(-4deg); } }
@keyframes reel {
  0%, 24% { transform: translateY(0); }
  31%, 55% { transform: translateY(-25%); }
  62%, 86% { transform: translateY(-50%); }
  93%, 100% { transform: translateY(-75%); }
}

/* Hero phone (Neta, 11.11.2026, task 80): a real status bar under the island, and the site starts below it,
   so the island never sits on a site's button. Frames are 780px (2x of a 390 phone). The bar takes each site's
   own top colour, in step with the reel. */
.phone--hero .phone__screen { container-type: inline-size; }
.phone__status {
  position: absolute; inset: 0 0 auto; height: 6.2%; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 8.5cqw 0 10cqw;
  background: #060606; color: #fff;
  font: 600 4.3cqw/1 -apple-system, "SF Pro Text", "Segoe UI", system-ui, sans-serif; letter-spacing: -.01em;
}
.phone__icons { width: 17cqw; height: auto; fill: currentColor; }
.phone__view { position: absolute; inset: 6.2% 0 0; overflow: hidden; }
.phone--hero .phone__reel { display: block; width: 100%; height: auto; }
@media (prefers-reduced-motion: no-preference) {
  .phone__status { animation: reel-bar 13s var(--ease-io) infinite; }
  .intro-on .phone__status { animation-delay: 1.6s; }
}
@keyframes reel-bar {
  0%, 24% { background: #060606; color: #fff; }
  31%, 55% { background: #645338; color: #fff; }   /* Mifles (task 78): the top of its hero */
  62%, 100% { background: #070605; color: #fff; }
}
/* paused by the visitor: the reel and its bar stop where they are */
.phone--hero.is-still .phone__reel, .phone--hero.is-still .phone__status { animation-play-state: paused; }

/* Pause button for anything that moves on its own (QUALITY-GATE, Dan 11.11.2026): icon only, ~32px disc
   inside a 44px hit area, 25% until hover or keyboard focus. Text lives only in aria-label. */
.motion-toggle {
  position: absolute; z-index: 3; display: inline-grid; place-items: center;
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  color: #fff; opacity: .25; -webkit-tap-highlight-color: transparent;
  background: radial-gradient(circle at center, rgba(12, 12, 14, .82) 0 15px, rgba(255, 255, 255, .55) 15.5px 16px, transparent 16.5px);
  transition: opacity .25s var(--ease), transform .12s ease;
}
.motion-toggle[hidden] { display: none; }
.motion-toggle:active { transform: scale(.94); }
.motion-toggle:focus-visible { opacity: 1; outline: 2px solid #fff; outline-offset: -4px; box-shadow: 0 0 0 4px var(--ink); }
@media (hover: hover) and (pointer: fine) { .motion-toggle:hover { opacity: 1; } }
.motion-toggle__i { position: relative; width: 10px; height: 12px; }
.motion-toggle__i::before, .motion-toggle__i::after { content: ""; position: absolute; top: 0; width: 3px; height: 12px; background: currentColor; }
.motion-toggle__i::before { right: 0; } .motion-toggle__i::after { left: 0; }
.motion-toggle.is-paused .motion-toggle__i { width: 9px; }
.motion-toggle.is-paused .motion-toggle__i::before { right: -1px; width: 0; height: 0; background: none; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; }
.motion-toggle.is-paused .motion-toggle__i::after { display: none; }
.phone__toggle { bottom: 2.5%; left: 4%; }

.hero__facts {
  display: flex; flex-wrap: wrap; gap: .5rem 2.5rem;
  padding-bottom: clamp(24px, 4vh, 40px);
  font-size: .95rem; color: var(--on-cobalt-2);
}
.hero__facts li { display: flex; align-items: center; gap: .6rem; }
.hero__facts li::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: #fff; }

@media (max-width: 899px) {
  .hero { min-height: 0; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; padding-bottom: 0; align-items: start; }
  .hero__title { font-size: clamp(2.75rem, 12vw, 5.5rem); }
  .hero__device { justify-self: center; height: clamp(300px, 92vw, 440px); }
  .phone--hero { width: clamp(220px, 62vw, 300px); }
  .hero__facts { display: none; }
}
@media (max-width: 899px) and (min-width: 600px) {
  .hero__title { font-size: clamp(4rem, 10.5vw, 5.75rem); }
}

/* ---------- Section scaffolding ---------- */
section { position: relative; }
.section-head { margin-bottom: clamp(48px, 7vw, 96px); }
.section-title {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 6rem); line-height: .98; letter-spacing: -.03em;
}
.section-lede { max-width: 38rem; margin-top: 1.75rem; font-size: clamp(1.0625rem, 1.2vw, 1.2rem); color: var(--muted); }

/* ---------- Offer ---------- */
.offer { padding-block: var(--section-pad) calc(var(--section-pad) * .8); }
.statement {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2rem, 4.6vw, 4.6rem); line-height: 1.12; letter-spacing: -.025em;
  max-width: 22ch;
  color: var(--ink);
}
/* text fill: words start at 3.1:1 (large-text AA) and fill to ink as you scroll */
.js .statement .w { color: #85878F; transition: color .5s var(--ease); }
.js .statement .w.is-on { color: var(--ink); }

.terms {
  margin-top: clamp(72px, 10vw, 140px);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
}
.term { padding: 2rem clamp(16px, 2vw, 32px) 0 0; position: relative; }
.term + .term { border-inline-start: 1px solid var(--line); padding-inline-start: clamp(16px, 2vw, 32px); }
.term:first-child { padding-inline-start: 0; }
.term__num { display: block; font-family: var(--display); font-weight: 600; font-size: .9rem; color: var(--cobalt); margin-bottom: 3.5rem; font-variant-numeric: tabular-nums; }
.term__title { font-family: var(--display); font-weight: 700; font-size: 1.45rem; line-height: 1.2; letter-spacing: -.01em; margin-bottom: .9rem; }
.term p { color: var(--muted); font-size: 1rem; }
/* side-by-side cards share rows: when one title wraps (02 at ~1024px), every paragraph in that row
   still starts on the same line (copy pass, 16.11.2026). Without subgrid support it looks as before. */
@media (min-width: 600px) {
  @supports (grid-template-rows: subgrid) {
    .term { display: grid; grid-row: span 3; grid-template-rows: subgrid; align-content: start; }
  }
}

@media (max-width: 1023px) {
  .terms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .term:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .term:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 2.5rem; }
  .term { padding-bottom: 0; }
}
@media (max-width: 599px) {
  .terms { grid-template-columns: 1fr; }
  .term, .term + .term { border-inline-start: 0; padding-inline: 0; }
  .term + .term { border-top: 1px solid var(--line); margin-top: 2rem; }
  .term__num { margin-bottom: 1.25rem; }
}

/* ---------- Work: device frames ---------- */
.work { padding-block: calc(var(--section-pad) * .7) var(--section-pad); }
.projects { display: grid; gap: clamp(96px, 12vw, 180px); }
.project {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(40px, 6vw, 112px);
  align-items: center;
}
.project--flip .project__stage { order: 2; }
/* task 88: the flipped card puts the text first, so the wide column has to come second, or the frame
   lands in the narrow one (it was ~410px at 1440 next to ~700px for the other two) */
.project--flip { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.project__stage { position: relative; padding-bottom: 9%; padding-inline-end: 9%; }
.project--flip .project__stage { padding-inline-end: 0; padding-inline-start: 9%; }

.browser {
  border-radius: 14px; overflow: hidden;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 30px 70px -30px rgba(12, 12, 40, .35);
}
.browser__bar {
  height: 36px; display: flex; align-items: center; justify-content: center;
  background: var(--paper-2); border-bottom: 1px solid var(--line);
  position: relative;
}
.browser__bar::before {
  /* three quiet dots, drawn with one element */
  content: ""; position: absolute; left: 16px; top: 50%; width: 8px; height: 8px; border-radius: 99px;
  background: rgba(12, 12, 14, .18); transform: translateY(-50%);
  box-shadow: 14px 0 0 rgba(12, 12, 14, .18), 28px 0 0 rgba(12, 12, 14, .18);
}
.browser__url {
  font-size: .72rem; color: var(--muted); background: rgba(255, 255, 255, .7);
  padding: .2rem 1rem; border-radius: 999px; max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.browser__screen { aspect-ratio: 16 / 10; overflow: hidden; background: #111; }
.browser__screen img, .phone--work .phone__screen img { width: 100%; will-change: transform; }

.phone--work {
  position: absolute; bottom: 0; left: 0;
  width: 25%;
  border-radius: 14% / 6.5%;
  padding: 3.6%;
}
.project--flip .phone--work { left: auto; right: 0; }

/* live scroll inside the frames, only while the project is on screen */
@media (prefers-reduced-motion: no-preference) {
  .project.is-live .shot--desk { animation: scroll-desk 18s ease-in-out infinite; }
  .project.is-live .shot--mob { animation: scroll-mob 18s ease-in-out 1.2s infinite; }
}
/* desk shot: 1200x2250 inside a 16:10 frame, so the travel is 1.25 frame-widths = 66.67% of the image */
@keyframes scroll-desk { 0%, 12% { transform: translateY(0); } 50%, 62% { transform: translateY(-66.67%); } 100% { transform: translateY(0); } }
/* phone shot: 440x2708 (ratio 6.15). The work phone's padding is a % of the stage, not the phone, so its
   screen is ~139x366 at 1440 (ratio 2.63, the same at every width). Travel = 1 - 2.63/6.15 = 57% (56% in the narrow layout: the third card measures 56.2%), so 56%; at 63% the
   bottom ~50px of the screen showed the black backing (task 88, visible on the light Mifles card) */
@keyframes scroll-mob { 0%, 12% { transform: translateY(0); } 50%, 62% { transform: translateY(-56%); } 100% { transform: translateY(0); } }

.tag {
  display: inline-flex; align-items: center;
  font-size: .82rem; font-weight: 500; color: var(--ink-2);
  border: 1px solid var(--line-strong); border-radius: 999px; padding: .3rem .85rem;
  margin-bottom: 1.6rem;
}
.project__name {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.6rem, 4.8vw, 4.75rem); line-height: 1; letter-spacing: -.03em;
  margin-bottom: .7rem;
}
.project__kind { color: var(--cobalt); font-weight: 500; margin-bottom: 1.4rem; }
.project__desc { color: var(--muted); max-width: 30rem; margin-bottom: 2rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 500; text-decoration: none;
  padding-bottom: .35rem; border-bottom: 1px solid var(--ink);
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.link-arrow svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transform: scaleX(-1); transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--cobalt); border-color: var(--cobalt); }
.link-arrow:hover svg { transform: scaleX(-1) translate(3px, -3px); }

@media (max-width: 899px) {
  .project { grid-template-columns: 1fr; gap: 40px; }
  .project--flip .project__stage { order: 0; }
}

/* ---------- Process ---------- */
.process { padding-block: var(--section-pad); background: var(--ink); color: var(--paper); }
.process .eyebrow { color: #8F99FF; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); counter-reset: s; }
.step { border-top: 1px solid rgba(242, 242, 238, .22); padding-top: 1.75rem; }
.step__num {
  display: block; font-family: var(--display); font-weight: 800;
  font-size: clamp(4.5rem, 8vw, 8rem); line-height: .85; letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1.5px #8F99FF;
  margin-bottom: 2.25rem;
}
.step__title { font-family: var(--display); font-weight: 700; font-size: 1.45rem; line-height: 1.2; margin-bottom: .75rem; }
.step p { color: #B5B7BE; font-size: 1rem; }
@media (max-width: 1023px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 64px; } }
.steps__hint, .steps__dots { display: none; }
/* phones: the four steps become a swipeable row with snap */
@media (max-width: 599px) {
  .steps {
    display: flex; gap: 14px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); padding-bottom: 6px;
    scrollbar-width: none;
  }
  .steps::-webkit-scrollbar { display: none; }
  /* "תשלום רק אחרי הטיוטה." must stay on one line: the line is ~9.9em wide, so size it to the column */
  #process-title { font-size: clamp(1.75rem, calc((100vw - 2 * var(--gutter)) / 10.3), 2.6rem); }
  .step {
    flex: 0 0 80%; scroll-snap-align: start;
    background: rgba(242, 242, 238, .05); border-radius: 22px; padding: 1.6rem 1.4rem 1.8rem;
    transition: background-color .5s var(--ease), opacity .9s var(--ease), transform 1.1s var(--ease);
  }
  .step.draw::before { display: none; }
  .step__num { font-size: 5.5rem; margin-bottom: 1.6rem; }
  .step.is-centre { background: rgba(143, 153, 255, .14); }
  .steps__hint { display: flex; gap: .5rem; font-size: .9rem; color: #B5B7BE; margin: -1.5rem 0 1.25rem; }
  .steps__hint span { display: inline-block; }
  .steps__dots { display: flex; justify-content: center; gap: 8px; margin-top: 1.6rem; }
  .steps__dots i { width: 6px; height: 6px; border-radius: 99px; background: rgba(242, 242, 238, .3); transition: transform .4s var(--ease), background-color .4s; }
  .steps__dots i.is-on { background: #8F99FF; transform: scale(1.6); }
}
@media (max-width: 599px) and (prefers-reduced-motion: no-preference) {
  .steps__hint span { animation: nudge 1.6s var(--ease) infinite; }
}
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-6px); } }

/* ---------- Included ---------- */
.included { padding-block: var(--section-pad); }
.included__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 96px); }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 64px); }
.feature { border-top: 1px solid var(--line-strong); padding-block: 1.75rem 2.5rem; }
.feature h3 {
  font-family: var(--display); font-weight: 700; font-size: 1.5rem; line-height: 1.2; letter-spacing: -.01em;
  margin-bottom: .6rem; display: flex; align-items: center; gap: .7rem;
}
.feature h3::before { content: ""; width: 10px; height: 10px; background: var(--cobalt); flex: none; }
.feature p { color: var(--muted); }
@media (max-width: 899px) {
  .included__grid { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 599px) { .features { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { padding-block: 0 var(--section-pad); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__grid .section-head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__list { border-top: 1px solid var(--line-strong); }
.qa { border-bottom: 1px solid var(--line-strong); }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding-block: 1.6rem;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.3; letter-spacing: -.01em; transition: color .3s var(--ease); }
.qa summary:hover h3 { color: var(--cobalt); }
.qa__icon { position: relative; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line-strong); flex: none; transition: background-color .3s var(--ease), border-color .3s var(--ease); }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .35s var(--ease); }
.qa__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] .qa__icon { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.qa[open] .qa__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa__body { padding-bottom: 1.9rem; max-width: 44rem; }
.qa__body p { color: var(--muted); font-size: 1.0625rem; }
/* No single word left alone on the last line (copy pass, 16.11.2026): body text wraps "pretty",
   short titles and one-line CTAs wrap balanced. Browsers without support simply wrap as before. */
.term p, .step p, .qa__body p, .section-lede, .hero p, .lead-form__promise, .contact p, .feature p { text-wrap: pretty; }
.term__title, .step__title, .qa summary h3, .cta-row__text { text-wrap: balance; }
@media (max-width: 899px) {
  .faq__grid { grid-template-columns: 1fr; gap: 0; }
  .faq__grid .section-head { position: static; }
}

/* ---------- Contact ---------- */
.contact { background: var(--cobalt); color: #fff; padding-block: var(--section-pad); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(48px, 7vw, 120px); align-items: start; }
.contact__title {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.75rem, 5.6vw, 5.75rem); line-height: .98; letter-spacing: -.03em;
  margin-bottom: 1.75rem;
}
.contact__lede { color: var(--on-cobalt-2); max-width: 30rem; font-size: clamp(1.0625rem, 1.2vw, 1.2rem); margin-bottom: 3rem; }
.channels { border-top: 1px solid rgba(255, 255, 255, .3); max-width: 30rem; }
.channels a {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding-block: 1.1rem; border-bottom: 1px solid rgba(255, 255, 255, .3);
  text-decoration: none; transition: padding .35s var(--ease);
}
.channels a:hover { padding-inline-start: .6rem; }
.channels__k { font-family: var(--display); font-weight: 600; font-size: 1.25rem; }
.channels__v { color: var(--on-cobalt-2); }

.contact__card { background: var(--paper); color: var(--ink); border-radius: 28px; padding: clamp(28px, 3.5vw, 48px); }
.lead-form { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.25rem; row-gap: 1.6rem; }
.field { display: grid; gap: .35rem; min-width: 0; }
.field--wide, .lead-form__submit { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 500; color: var(--ink-2); }
.field__opt { font-weight: 400; color: var(--muted); }
.field input {
  width: 100%; min-height: 52px;
  background: transparent; border: 0; border-bottom: 1.5px solid var(--line-strong); border-radius: 0;
  padding: .5rem 0; font-size: 1.0625rem;
  transition: border-color .25s var(--ease);
}
.field input[dir="ltr"] { text-align: right; }
.field input::placeholder { color: #6E7078; }
.field input:hover { border-bottom-color: var(--ink); }
.field input:focus { outline: none; border-bottom-color: var(--cobalt); box-shadow: 0 1.5px 0 var(--cobalt); }
.field input:focus-visible { outline: none; }
.field.is-invalid input { border-bottom-color: #B3261E; }
.field__error { color: #B3261E; font-size: .9rem; }
.lead-form__submit { margin-top: .6rem; display: grid; gap: 1rem; }
.privacy-note { font-size: .85rem; line-height: 1.55; color: var(--muted); }
.lead-error { margin-top: 1rem; padding: .8rem 1rem; border-radius: 14px; background: rgba(179,38,30,.08); color: #8E1F18; font-size: .95rem; }
.lead-error:focus { outline: none; }
.lead-error a { color: inherit; font-weight: 500; }
.lead-success { padding-block: 1rem; }
.lead-success:focus { outline: none; }
.lead-success__title { font-family: var(--display); font-weight: 800; font-size: 2.25rem; line-height: 1.1; color: var(--cobalt); margin-bottom: .75rem; }

@media (max-width: 899px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 479px) {
  .lead-form { grid-template-columns: 1fr; }
  .contact__card { border-radius: 22px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding-block: clamp(64px, 8vw, 112px) 2.5rem; overflow: hidden; }
.site-footer__mark {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(7rem, 36vw, 28rem); line-height: .8; letter-spacing: -.06em;
  display: flex; align-items: flex-end; justify-content: flex-end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.site-footer__mark .mark__dot { width: .12em; height: .12em; margin-bottom: .07em; margin-inline-start: .05em; filter: brightness(1.25); }
.site-footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; padding-top: 2rem; border-top: 1px solid rgba(242, 242, 238, .2); }
.site-footer__name { font-size: 1rem; color: #B5B7BE; }
.site-footer__name span { color: var(--paper); font-weight: 500; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: .75rem 2rem; }
.site-footer__links a { text-decoration: none; border-bottom: 1px solid rgba(242, 242, 238, .35); padding-bottom: .15rem; transition: border-color .3s var(--ease); }
.site-footer__links a:hover { border-color: var(--paper); }
.site-footer__privacy { margin-top: 2.5rem; font-size: .875rem; color: #9C9EA5; max-width: 46rem; }
.site-footer__copy { margin-top: .75rem; font-size: .875rem; color: #9C9EA5; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; left: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); z-index: 40;
  width: 58px; height: 58px; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--cobalt); color: #fff;
  box-shadow: 0 10px 30px -8px rgba(12, 12, 40, .5), inset 0 0 0 2px rgba(255, 255, 255, .85);
  transition: transform .45s var(--ease), opacity .45s var(--ease), background-color .3s var(--ease);
}
.wa-float svg { width: 27px; height: 27px; fill: currentColor; }
.wa-float:hover { background: var(--ink); }
.wa-float.is-tucked { transform: translateY(24px) scale(.85); opacity: 0; pointer-events: none; }
.wa-float:focus-visible { transform: none; opacity: 1; pointer-events: auto; outline-color: var(--cobalt); }

/* ---------- Scroll reveals ("the page builds itself as you scroll") ----------
   States only apply under .js (set before paint, dropped by a 3s failsafe if main.js never boots).
   Full motion: rise, wipe, slide, lines that draw, outlines that fill.
   Reduced motion (.rm): opacity only, nothing moves. */
.js [data-r] {
  transition: opacity .9s var(--ease), transform 1.1s var(--ease), clip-path 1.1s var(--ease-io);
  transition-delay: calc(var(--i, 0) * 85ms);
}
[data-r]:nth-child(2) { --i: 1; } [data-r]:nth-child(3) { --i: 2; } [data-r]:nth-child(4) { --i: 3; }
[data-r]:nth-child(5) { --i: 4; } [data-r]:nth-child(6) { --i: 5; } [data-r]:nth-child(n+7) { --i: 6; }
.js [data-r]:not(.is-in) { opacity: 0; transform: translateY(36px); }
.js [data-r="wipe"]:not(.is-in) { opacity: 1; transform: translateY(.12em); clip-path: inset(-.3em -.2em -.3em 100%); }
.js [data-r="wipe"].is-in { clip-path: inset(-.3em -.2em -.3em -.2em); }
.js [data-r="rise"]:not(.is-in) { transform: translateY(64px) scale(.97); }
.js [data-r="slide"]:not(.is-in) { transform: translate(-40px, 60px) rotate(-6deg); }
.js .project--flip [data-r="slide"]:not(.is-in) { transform: translate(40px, 60px) rotate(6deg); }

/* hairlines that draw themselves (right to left, the reading direction) */
.terms.draw { border-top: 0; position: relative; }
.terms.draw::before, .step.draw::before, .feature.draw::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: var(--line-strong);
  transform-origin: right; transition: transform 1.2s var(--ease-io);
}
.step.draw, .feature.draw { border-top: 0; position: relative; }
.step.draw::before { background: rgba(242, 242, 238, .22); }
.js .terms.draw:not(.is-in)::before, .js .draw[data-r]:not(.is-in)::before { transform: scaleX(0); }

/* outlines that fill: process numerals, feature squares, the footer wordmark */
.step__num { transition: color .9s var(--ease) .25s; }
.js .step:not(.is-in) .step__num { color: transparent; }
.step .step__num { color: #8F99FF; }
.feature h3::before { transition: background-color .6s var(--ease) .3s, box-shadow .6s var(--ease) .3s; }
.js .feature:not(.is-in) h3::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--cobalt); }
.site-footer__mark { -webkit-text-stroke: 1.5px rgba(242, 242, 238, .55); transition: color 1.6s var(--ease) .2s; }
.js .site-footer__mark:not(.is-in) { color: transparent; }
.site-footer__mark .mark__dot { transition: transform .8s cubic-bezier(.34, 1.56, .64, 1) 1.1s; }
.js:not(.rm) .site-footer__mark:not(.is-in) .mark__dot { transform: scale(0); }

/* touch screens and narrow widths: what hover does on desktop, the centre of the screen does here */
@media (hover: none), (max-width: 899px) {
  .feature h3, .qa summary h3, .project__name, .channels__v, .term__title { transition: color .5s var(--ease); }
  .feature h3::before { transition: transform .6s var(--ease), background-color .6s var(--ease) .3s, box-shadow .6s var(--ease) .3s; }
  .feature.is-centre h3 { color: var(--cobalt); }
  .feature.is-centre h3::before { transform: rotate(45deg) scale(1.15); }
  .term.is-centre .term__title { color: var(--cobalt); }
  .qa.is-centre summary h3 { color: var(--cobalt); }
  .qa.is-centre .qa__icon { border-color: var(--cobalt); }
  .project.is-centre .project__name { color: var(--cobalt); }
  .project.is-centre .link-arrow { color: var(--cobalt); border-color: var(--cobalt); }
  .project.is-centre .link-arrow svg { transform: scaleX(-1) translate(3px, -3px); }
  .channels li.is-centre a { padding-inline-start: .6rem; }
  .channels li.is-centre .channels__v { color: #fff; }
  .step.is-centre .step__num { color: #fff; -webkit-text-stroke-color: #fff; }
}

/* tap feedback */
a, button, summary { -webkit-tap-highlight-color: transparent; }
.btn:active, .icon-btn:active { transform: scale(.96); }
.wa-float:active { transform: scale(.9); }
.link-arrow:active, .channels a:active, .site-footer__links a:active { opacity: .6; }
.qa summary:active .qa__icon { transform: scale(.9); }
.qa__icon { transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .2s var(--ease); }

/* reduced motion: opacity-only versions */
.rm [data-r]:not(.is-in), .rm [data-r="wipe"]:not(.is-in), .rm [data-r="rise"]:not(.is-in),
.rm [data-r="slide"]:not(.is-in), .rm .project--flip [data-r="slide"]:not(.is-in) { opacity: 0; transform: none; clip-path: none; }
.rm [data-r] { transition: opacity .8s linear; transition-delay: calc(var(--i, 0) * 70ms); }
.rm .draw::before, .rm .terms.draw::before { transform: none !important; transition: none; }
.rm .hero__device { transform: none !important; }
.rm .feature.is-centre h3::before { transform: none; }
.rm .channels li.is-centre a { padding-inline-start: 0; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .btn-link, .link-arrow, .channels a, .site-nav a::after { transition-property: color, background-color, border-color, opacity; }
}

/* ---------- Accessibility statement page ---------- */
.doc { padding-block: calc(var(--header-h) + clamp(56px, 8vw, 112px)) clamp(80px, 10vw, 140px); }
.doc:focus { outline: none; }
.doc__wrap { max-width: 880px; }
.doc__title { font-family: var(--display); font-weight: 800; font-size: clamp(2.8rem, 7vw, 5.5rem); line-height: .98; letter-spacing: -.03em; margin-bottom: 1rem; }
.doc__meta { color: var(--muted); margin-bottom: 2.5rem; }
.doc h2 { font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.2; margin: 3rem 0 1rem; }
.doc p, .doc li { max-width: 68ch; }
.doc p + p { margin-top: 1rem; }
.doc ul { margin: 0 0 1rem; }
.doc ul li { position: relative; padding-inline-start: 1.4rem; margin-bottom: .6rem; }
.doc ul li::before { content: ""; position: absolute; inset-inline-start: 0; top: .65em; width: 7px; height: 7px; background: var(--cobalt); }
.doc a:not(.btn) { color: var(--cobalt); text-underline-offset: .25em; }
.doc__back { margin-top: 3rem; }
.site-footer--slim { padding-top: 0; }
.site-footer--slim .site-footer__row { border-top: 0; padding-block: 2.5rem; }

/* ================= SAND colour (Dan chose it, 06.11.2026) =================
   Moved here from the dws-colors preview. <html data-c="sand"> turns it on; the blue stays only as the logo dot. */
/* ================= colour themes ================= */
html[data-c] {
  --dot: #2433FF;        /* the logo blue, on light grounds */
  --dot-dark: #4F5BFF;   /* the same blue, a step lighter so it reads on dark grounds */
}
html[data-c="sand"] {
  --cobalt: #0C0C0E; --cobalt-deep: #000; --on-cobalt-2: #4A4740;
  --soft-accent: #D9CFBD; --sand: #E8E1D4;
}

/* the blue appears as the logo dot and its small "dot" relatives */
html[data-c] .mark__dot,
html[data-c] .site-header:not(.is-scrolled) .brand .mark__dot { background: var(--dot); }
html[data-c="ink"] .site-header:not(.is-scrolled) .brand .mark__dot,
html[data-c="forest"] .site-header:not(.is-scrolled) .brand .mark__dot,
html[data-c] .intro__mark .mark__dot,
html[data-c] .site-footer__mark .mark__dot { background: var(--dot-dark); filter: none; }
html[data-c] .b--cobalt { fill: var(--dot); }
html[data-c] .progress i { background: var(--dot); }
html[data-c] .hero-zone .progress i { background: var(--dot-dark); }
html[data-c="sand"] .hero-zone .progress i { background: var(--dot); }
html[data-c] ::selection { background: var(--dot); color: #fff; }
html[data-c] :focus-visible { outline-color: var(--dot); }
html[data-c] .feature h3::before, html[data-c] .doc ul li::before { background: var(--dot); }
html[data-c].js .feature:not(.is-in) h3::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--dot); }

/* dark section accents that were light blue */
html[data-c] .process .eyebrow { color: var(--soft-accent); }
html[data-c] .step__num { -webkit-text-stroke-color: var(--soft-accent); }
html[data-c] .step .step__num { color: var(--soft-accent); }
html[data-c] .steps__dots i.is-on { background: var(--soft-accent); }
html[data-c] .phone { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.14), 0 2px 4px rgba(0,0,0,.2), 0 40px 80px -20px rgba(0,0,0,.55); }
html[data-c] .contact { background: var(--contact-bg, var(--cobalt)); }

/* sand: a light, warm opening instead of a dark field */
html[data-c="sand"] .hero, html[data-c="sand"] .contact { background: var(--sand); color: var(--ink); }
html[data-c="sand"] .hero::before { background: radial-gradient(closest-side, rgba(255,255,255,.55), transparent); }
html[data-c="sand"] .eyebrow--light { color: var(--ink); }
html[data-c="sand"] .hero__facts li::before { background: var(--dot); border-radius: 0; }
html[data-c="sand"] .site-header:not(.is-scrolled) { color: var(--ink); }
html[data-c="sand"] .site-header:not(.is-scrolled) .btn--solid { background: var(--ink); color: #fff; }
html[data-c="sand"] .btn--light { background: var(--ink); color: #fff; }
html[data-c="sand"] .btn-link--light { color: var(--ink); }
html[data-c="sand"] .channels, html[data-c="sand"] .channels a { border-color: rgba(12,12,14,.18); }
html[data-c="sand"] .contact__card { background: #FBFAF6; }
html[data-c="sand"] .hero :focus-visible, html[data-c="sand"] .contact__intro :focus-visible,
html[data-c="sand"] .site-header:not(.is-scrolled) :focus-visible { outline-color: var(--ink); }

/* steps 1-4 on phones (Dan, 06.11.2026: the cards' background changed and didn't match the section).
   The cards now share the section's background exactly: a hairline outline only, and the card in the middle
   is marked by a brighter outline, not by a different fill. */
@media (max-width: 599px) {
  .step, .step.is-centre { background: transparent; box-shadow: inset 0 0 0 1px rgba(242,242,238,.16); transition: box-shadow .5s var(--ease), opacity .9s var(--ease), transform 1.1s var(--ease); }
  .step.is-centre { box-shadow: inset 0 0 0 1px rgba(242,242,238,.5); }
}
html[data-c] .step .step__num { color: transparent; -webkit-text-stroke-color: var(--soft-accent); }
html[data-c] .step.is-in .step__num { color: transparent; }

/* ================= DESKTOP SCROLL SCENES (Dan, 06.11.2026) =================
   Computers with a mouse only. Phones and tablets keep the native, light page exactly as it is.
   Built on CSS scroll-driven animations (Chrome, Edge, Safari 26+): they run off the main thread.
   A browser without them simply gets the regular page. */
@media (hover: hover) and (pointer: fine) and (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {

    /* 1. Hero: the text eases back and fades as you leave it */
    .hero__text { animation: dsk-hero-out linear both; animation-timeline: view(); animation-range: exit 5% exit 85%; }
    @keyframes dsk-hero-out { to { opacity: .15; transform: translateY(-70px) scale(.96); } }

    /* 2. Work (Dan: "the screen stays and the sites change, like the steps"): the work scene pins,
       and the three sites take turns on the same screen as you scroll */
    .work__scene { height: 340vh; view-timeline: --work block; }
    .work .projects {
      position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h));
      display: grid; align-items: center; gap: 0;
    }
    .work .project { grid-area: 1 / 1; animation: linear both; animation-timeline: --work; animation-range: contain 0% contain 100%; }
    .work .project:nth-child(1) { animation-name: dsk-w1; }
    .work .project:nth-child(2) { animation-name: dsk-w2; }
    .work .project:nth-child(3) { animation-name: dsk-w3; }
    @keyframes dsk-w1 {
      0%, 24% { opacity: 1; transform: none; visibility: visible; }
      31%, 100% { opacity: 0; transform: translateY(-6vh); visibility: hidden; }
    }
    @keyframes dsk-w2 {
      0%, 33% { opacity: 0; transform: translateY(8vh); visibility: hidden; }
      41%, 58% { opacity: 1; transform: none; visibility: visible; }
      65%, 100% { opacity: 0; transform: translateY(-6vh); visibility: hidden; }
    }
    @keyframes dsk-w3 {
      0%, 67% { opacity: 0; transform: translateY(8vh); visibility: hidden; }
      75%, 100% { opacity: 1; transform: none; visibility: visible; }
    }
    /* each site's frame opens from a smaller window as it arrives, and its screen zooms out into place */
    .work .project .browser { animation: dsk-open-1 linear both; animation-timeline: --work; animation-range: entry 40% contain 0%; }
    .work .project:nth-child(2) .browser { animation-name: dsk-open-2; animation-range: contain 0% contain 100%; }
    .work .project:nth-child(3) .browser { animation-name: dsk-open-3; animation-range: contain 0% contain 100%; }
    @keyframes dsk-open-1 { from { clip-path: inset(9% 7% round 28px); } to { clip-path: inset(-120px round 0); } }
    @keyframes dsk-open-2 { 0%, 33% { clip-path: inset(9% 7% round 28px); } 47%, 100% { clip-path: inset(-120px round 0); } }
    @keyframes dsk-open-3 { 0%, 67% { clip-path: inset(9% 7% round 28px); } 81%, 100% { clip-path: inset(-120px round 0); } }
    .work .project .browser__screen { animation: dsk-unzoom-1 linear both; animation-timeline: --work; animation-range: entry 40% contain 0%; }
    .work .project:nth-child(2) .browser__screen { animation-name: dsk-unzoom-2; animation-range: contain 0% contain 100%; }
    .work .project:nth-child(3) .browser__screen { animation-name: dsk-unzoom-3; animation-range: contain 0% contain 100%; }
    @keyframes dsk-unzoom-1 { from { transform: scale(1.14); } to { transform: none; } }
    @keyframes dsk-unzoom-2 { 0%, 33% { transform: scale(1.14); } 49%, 100% { transform: none; } }
    @keyframes dsk-unzoom-3 { 0%, 67% { transform: scale(1.14); } 83%, 100% { transform: none; } }
    /* three short lines under the screen: which site you are on */
    .work .projects::after {
      content: ""; position: absolute; bottom: 4vh; right: 0; width: 132px; height: 2px;
      background: linear-gradient(to left, var(--ink) 0 40px, transparent 40px 46px, var(--line-strong) 46px 86px, transparent 86px 92px, var(--line-strong) 92px 132px);
      animation: dsk-dots linear both; animation-timeline: --work; animation-range: contain 0% contain 100%;
    }
    @keyframes dsk-dots {
      0%, 31% { background: linear-gradient(to left, var(--ink) 0 40px, transparent 40px 46px, var(--line-strong) 46px 86px, transparent 86px 92px, var(--line-strong) 92px 132px); }
      32%, 65% { background: linear-gradient(to left, var(--line-strong) 0 40px, transparent 40px 46px, var(--ink) 46px 86px, transparent 86px 92px, var(--line-strong) 92px 132px); }
      66%, 100% { background: linear-gradient(to left, var(--line-strong) 0 40px, transparent 40px 46px, var(--line-strong) 46px 86px, transparent 86px 92px, var(--ink) 92px 132px); }
    }

    /* 3. Steps: the section opens from a rounded card, then stays pinned while the four steps slide past */
    .process {
      height: 330vh; padding-block: 0; overflow-x: clip;
      view-timeline: --proc block;
      animation: dsk-card linear both; animation-timeline: view(); animation-range: entry 0% entry 35%;
    }
    @keyframes dsk-card { from { clip-path: inset(0 3.5% round 48px 48px 0 0); } to { clip-path: inset(0 0 round 0); } }
    .process > .wrap {
      position: sticky; top: 0; height: 100vh;
      display: flex; flex-direction: column; justify-content: center;
      padding-top: var(--header-h);
    }
    .process .section-head { margin-bottom: clamp(32px, 5vh, 64px); }
    .process .steps {
      display: flex; width: max-content; gap: clamp(40px, 5vw, 96px);
      animation: dsk-track linear both; animation-timeline: --proc; animation-range: contain 8% contain 92%;
    }
    @keyframes dsk-track { to { transform: translateX(var(--shift, 0px)); } }
    .process .step { width: clamp(320px, 31vw, 480px); flex: none; }
    .process .step__num { font-size: clamp(8rem, 13vw, 13rem); margin-bottom: 1.5rem; }
    .process .step__title { font-size: 1.75rem; }
    .process .step p { font-size: 1.1rem; max-width: 26rem; }
    /* a thin line under the steps fills as you move through them */
    .process > .wrap::after {
      content: ""; display: block; height: 2px; margin-top: clamp(32px, 5vh, 56px);
      background: var(--soft-accent, #8F99FF); transform-origin: right;
      animation: dsk-line linear both; animation-timeline: --proc; animation-range: contain 8% contain 92%;
    }
    @keyframes dsk-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }

    /* 4. Contact: opens from a rounded card as it arrives */
    .contact { animation: dsk-card linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }

    /* 5. Footer: the big DWS rises and grows into place */
    .site-footer__mark { transform-origin: right bottom; animation: dsk-mark linear both; animation-timeline: view(); animation-range: entry 0% cover 55%; }
    @keyframes dsk-mark { from { transform: translateY(40%) scale(.82); } to { transform: none; } }
    /* 7. The sand of the opening flows into the next section instead of ending on a hard edge */
    html[data-c="sand"] .offer { animation: dsk-sand linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
    @keyframes dsk-sand { from { background-color: var(--sand); } to { background-color: var(--paper); } }

    /* 8. Lists rise in layers: each item a little further than the one before (uses `translate`,
       so it adds to the one-time reveal, which uses `transform`) */
    .term, .feature, .qa { animation: dsk-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 90%; }
    .term:nth-child(2n), .feature:nth-child(2n) { animation-name: dsk-rise-2; }
    @keyframes dsk-rise { from { translate: 0 70px; } to { translate: 0 0; } }
    @keyframes dsk-rise-2 { from { translate: 0 150px; } to { translate: 0 0; } }
  }
}


/* ================= PIXEL, the mascot (Dan, 07.11.2026) =================
   Flies along the page with the reader: main.js moves .pixel-flyer (transform only).
   On dark sections a light outline (.halo) keeps him visible. Over the footer he leaves. */
.pixel-flyer {
  position: fixed; left: 0; top: 0; z-index: 39; pointer-events: none;
  width: var(--px-size, 86px); will-change: transform;
  transition: opacity .5s var(--ease);
}
.pixel-flyer svg { display: block; width: 100%; height: auto; overflow: visible; }
.pixel-flyer .shadow { display: none; }
.pixel-flyer .halo { opacity: 0; transition: opacity .4s var(--ease); }
.pixel-flyer.on-dark .halo { opacity: 1; }
.pixel-flyer.is-away { opacity: 0; }
/* in "Contact us" he stands on the contact card: it is his floor, and he scrolls with it */
.contact__card { position: relative; }
.pixel-flyer.on-card { position: absolute; left: 0; top: calc(-0.97 * var(--px-size, 86px)); z-index: 2; }
.pixel-flyer .look { transition: transform .35s var(--ease); }
@media (max-width: 899px) { .pixel-flyer { --px-size: 50px; } }
/* no JS motion (reduced motion, or before main.js runs): stands quietly next to the WhatsApp button */
.pixel-flyer:not(.is-flying) { top: auto; left: calc(clamp(16px, 2.4vw, 32px) + 62px); bottom: clamp(12px, 2vw, 26px); }
.pixel .shadow { fill: rgba(12,12,14,.12); transform-box: fill-box; transform-origin: center; animation: px-shadow 3.2s ease-in-out infinite; }
.pixel .float { animation: px-float 3.2s ease-in-out infinite; }
.pixel .eyes { transform-box: fill-box; transform-origin: center; animation: px-blink 4.6s infinite; }
.pixel .wave { transform-box: fill-box; transform-origin: 0% 100%; animation: px-wave 7s ease-in-out infinite; }
.pixel .light { transform-box: fill-box; transform-origin: center; animation: px-glow 2.4s ease-in-out infinite; }
.pixel.is-hello .wave { animation: px-wave-fast 1.2s ease-in-out infinite; }
@keyframes px-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes px-shadow { 0%, 100% { transform: scaleX(1); opacity: 1; } 50% { transform: scaleX(.86); opacity: .7; } }
@keyframes px-blink { 0%, 91%, 97%, 100% { transform: scaleY(1); } 94% { transform: scaleY(.1); } }
@keyframes px-wave { 0%, 70%, 100% { transform: rotate(0); } 76% { transform: rotate(-20deg); } 82% { transform: rotate(8deg); } 88% { transform: rotate(-14deg); } 94% { transform: rotate(4deg); } }
@keyframes px-wave-fast { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-22deg); } }
@keyframes px-glow { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .pixel, .pixel * { animation: none !important; } }

/* ---------- Developer (סרגיי), 11.11.2026, task 79: CTA rows, form promise, phone order ----------
   Functional only, built from existing tokens. Netta: free to restyle. */
#lead { scroll-margin-top: calc(var(--header-h) + 16px); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: clamp(40px, 6vw, 72px); }
.cta-row__text { font-family: var(--display); font-weight: 600; font-size: clamp(1.15rem, 1.6vw, 1.4rem); }
.cta-row__text a { text-decoration: underline; text-underline-offset: .2em; }
.faq__list .cta-row { margin-top: 2.5rem; }
.process .cta-row { margin-top: clamp(28px, 4vh, 48px); }
.about-line { color: var(--ink); }
.lead-form__promise { font-weight: 600; }
/* on the dark steps section the sand theme's ink button disappears: paper button, light focus ring */
html[data-c] .process .cta-row .btn--light { background: var(--paper); color: var(--ink); }
.process .cta-row :focus-visible { outline-color: var(--paper); }
/* phone: the form comes before the contact rows, so every button lands on it */
@media (max-width: 899px) {
  .contact__grid { gap: 0; }
  .contact__intro { display: contents; }
  .contact__card { order: 1; margin-bottom: 48px; }
  .channels { order: 2; }
}

/* ---------- Designer (נטע), 11.11.2026, task 80: proposal 8 + the look of proposal 4 ---------- */
/* Work clips: on a computer each browser frame plays a short recording of the real demo site.
   The still screenshot stays underneath as the poster; phones and tablets never load the clip. */
.browser__screen { position: relative; }
.shot--vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .5s var(--ease); pointer-events: none; }
.project.clip-on .shot--vid { opacity: 1; }
.project.clip-on .shot--desk { animation: none; }
@media not all and (hover: hover) and (pointer: fine) and (min-width: 1024px) { .shot--vid, .clip-toggle { display: none !important; } }
/* the pause button sits in the browser bar, like a control of the window itself */
.clip-toggle { width: 30px; height: 30px; top: 3px; right: 10px; color: #fff;
  background: radial-gradient(circle at center, rgba(12, 12, 14, .78) 0 12px, transparent 12.5px); }
.clip-toggle .motion-toggle__i { transform: scale(.82); }
.clip-toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; box-shadow: none; }

/* Hero phone pause button: inside the phone's lower corner, turned with the phone */
.phone__toggle:focus-visible { outline-color: #fff; box-shadow: 0 0 0 4px var(--ink); }

/* Desktop: close the empty band after the work scene (about 300px). The button row follows the pinned
   frame directly (just under the three progress lines), and the section ends sooner. */
@media (hover: hover) and (pointer: fine) and (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .work { padding-bottom: calc(var(--section-pad) * .55); }
    .work .cta-row { margin-top: 0; }
  }
}

/* Pixel on a phone, in "Contact us": he stands on the top edge of the form card, so the card needs
   a little floor space above it (otherwise his head would touch the lede). */
@media (max-width: 899px) {
  .contact__card { margin-top: 64px; }
  .pixel-flyer.on-card { top: calc(-0.97 * var(--px-size, 50px)); }
}

/* Proposal 4, the look: the WhatsApp line in the contact list reads as an action, with an arrow */
.channels a[href^="https://wa.me"] .channels__v {
  display: inline-flex; align-items: center; gap: .45rem;
  color: inherit; font-weight: 500;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em;
}
.channels a[href^="https://wa.me"] .channels__v::after {
  content: ""; width: 1.05em; height: 1.05em; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5m6-6-6 6 6 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5m6-6-6 6 6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .3s var(--ease);
}
.channels a[href^="https://wa.me"]:hover .channels__v::after { transform: translateX(-4px); }
/* sand theme: the "centre" highlight on touch screens turned the value white on sand (invisible) */
html[data-c="sand"] .channels li.is-centre .channels__v { color: var(--ink); }

/* Floating WhatsApp: 48px on phones (QUALITY-GATE), tucked away over the contact section and the
   footer, which have their own WhatsApp links, so it never sits on the form or its privacy note */
@media (max-width: 899px) {
  .wa-float { width: 48px; height: 48px; left: 12px; bottom: 12px; }
  .wa-float svg { width: 23px; height: 23px; }
}
.wa-float.is-away { transform: translateY(24px) scale(.85); opacity: 0; pointer-events: none; }
.wa-float.is-away:focus-visible { transform: none; opacity: 1; pointer-events: auto; }
