/* ================================================================
   עונים לי — shared design system ("bold editorial" winner)
   One file for the whole site. Retheme from :root.
   ================================================================ */
/* Frank Ruhl Libre — the Israeli newspaper serif (OFL, self-hosted, variable 800–900) */
@font-face {
  font-family: "Frank Ruhl Libre";
  font-style: normal;
  font-weight: 800 900;
  font-display: swap;
  src: url("fonts/frank-ruhl-libre-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: "Frank Ruhl Libre";
  font-style: normal;
  font-weight: 800 900;
  font-display: swap;
  src: url("fonts/frank-ruhl-libre-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: #fbfaf6;
  --ink: #131311;
  --ink-soft: #454540;
  --rule: #131311;
  --rule-soft: #c9c7bd;
  --yellow: #ffe81a;          /* the single electric highlight */
  --wa-green: #1daa61;        /* reserved for the WhatsApp artifact only */
  --success: #1e6b37;
  --error: #b3261e;
  --max-width: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Noto Sans Hebrew", "Arial Hebrew", Arial, sans-serif;
  --font-display: "Frank Ruhl Libre", "Times New Roman", "Noto Serif Hebrew", serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--paper);
  /* faint paper grain — a static SVG noise tile, ~4% ink */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.075 0 0 0 0 0.075 0 0 0 0 0.066 0 0 0 0.045 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--ink);
  line-height: 1.55;
  font-size: 17px;
}
.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
h1, h2, h3 {
  margin: 0;
  line-height: 1.1;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; }
a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* focus is always visible */
a:focus, button:focus, input:focus {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 1px;
}

.skip-link {
  position: absolute;
  inset-inline-start: -9999px;
  top: 0;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
  padding: 10px 16px;
  z-index: 10;
}
.skip-link:focus { inset-inline-start: 8px; top: 8px; }

/* ===== hand-drawn marker strokes (CSS only) ===== */
.hl { position: relative; z-index: 0; white-space: nowrap; --hl-r: -1.4deg; }
.hl::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset-inline-start: -0.14em;
  inset-inline-end: -0.1em;
  bottom: 0.02em;
  height: 0.46em;
  background: var(--yellow);
  transform: rotate(var(--hl-r));
  border-radius: 0.4em 0.12em 0.5em 0.18em / 0.25em 0.5em 0.14em 0.4em;
}
.hl--thin { --hl-r: -0.8deg; }
.hl--thin::after {
  height: 0.16em;
  bottom: -0.06em;
  border-radius: 0.4em 0.1em 0.5em 0.2em / 0.5em 0.2em 0.5em 0.2em;
}

.brand { font-weight: 900; }

/* ===== masthead + site nav ===== */
.masthead { padding: 14px 0 0; }
.masthead-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
}
.masthead-brand {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.masthead-date {
  display: none;
  font-size: .82rem;
  color: var(--ink-soft);
  letter-spacing: .04em;
}
.masthead-cta {
  font-weight: 800;
  font-size: .95rem;
  white-space: nowrap;
  text-decoration: none;
  border-bottom: 3px solid var(--yellow);
  padding-bottom: 2px;
}
.masthead-cta:hover { background: var(--yellow); }

.rule-double {
  border-top: 4px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  height: 7px;
}
.rule-thin { border-top: 1px solid var(--rule); }

.site-nav { border-bottom: 1px solid var(--rule); }
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  overflow-x: auto;
}
.site-nav a {
  display: block;
  padding: 10px 14px;
  font-weight: 800;
  font-size: .95rem;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav li:first-child a { padding-inline-start: 0; }
.site-nav a:hover { background: var(--yellow); }
.site-nav a:focus { outline-offset: -3px; }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -5px 0 var(--yellow); }

/* ===== hero (homepage) ===== */
.hero { padding: 26px 0 26px; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .09em;
  border: 1.5px solid var(--ink);
  padding: 5px 12px;
  margin: 0 0 20px;
}
.kicker .dot {
  width: 8px; height: 8px;
  background: var(--ink);
  border-radius: 50%;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

.headline-top {
  display: block;
  font-size: clamp(3.1rem, 10.5vw, 7.2rem);
  line-height: .98;
}
.headline-sub {
  display: block;
  font-size: clamp(1.7rem, 5.4vw, 3.6rem);
  line-height: 1.12;
  margin-top: .18em;
}

.hero-cols {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  display: grid;
  gap: 26px;
}
.deck {
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 36ch;
  margin: 0;
}
.hero-side p { margin: 0 0 14px; font-weight: 700; font-size: 1rem; }

.btn {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font);
  font-size: 1.12rem;
  font-weight: 800;
  text-decoration: none;
  border: 3px solid var(--ink);
  padding: 14px 30px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.btn:hover { background: var(--yellow); color: var(--ink); }

.ticker {
  margin-top: 26px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 10px 0;
  font-weight: 700;
  font-size: .92rem;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
}
.ticker span { white-space: nowrap; }
.ticker span:not(:last-child)::after {
  content: "●";
  font-size: .5em;
  vertical-align: .35em;
  margin-inline: 12px;
  color: var(--ink-soft);
}

/* ===== section headers, newspaper style ===== */
.sect-head {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: .12em;
  margin-bottom: 20px;
}
.sect-head::before, .sect-head::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--rule);
}
.sect-more { margin: 22px 0 0; font-weight: 800; }

/* ===== how it works (homepage) ===== */
.how { padding: 38px 0 34px; }
.steps {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: 1fr;
}
.steps li { padding: 18px 0; }
.steps li:not(:first-child) { border-top: 1px solid var(--rule-soft); }
.step-num {
  display: inline-grid;
  place-items: center;
  min-width: 2.3em;
  height: 2.3em;
  font-size: 1.35rem;
  font-weight: 900;
  background: var(--yellow);
  border-radius: 46% 54% 50% 50% / 52% 48% 55% 45%;
  transform: rotate(-3deg);
  margin-bottom: 12px;
}
.steps h3 { font-size: 1.45rem; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--ink-soft); max-width: 30ch; }

/* ===== facts / trust strip ===== */
.facts { padding: 38px 0 34px; }
.facts-deck {
  font-size: 1.15rem;
  font-weight: 700;
  max-width: 52ch;
  margin: 0 0 20px;
}
.fact-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  border-top: 3px solid var(--rule);
}
.fact-list li { padding: 16px 0; }
.fact-list li:not(:first-child) { border-top: 1px solid var(--rule-soft); }
.fact-figure {
  display: block;
  font-size: clamp(2.3rem, 6vw, 3.4rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 8px;
}
.fact-list p { margin: 0; color: var(--ink-soft); max-width: 34ch; }
.fact-src {
  display: block;
  margin-top: 8px;
  font-size: .8rem;
  color: var(--ink-soft);
  letter-spacing: .03em;
}

/* ===== pricing line (homepage) ===== */
.pricing { padding: 34px 0; text-align: center; }
.pricing h2 {
  font-size: clamp(1.9rem, 5.5vw, 3.2rem);
  line-height: 1.2;
}
.pricing p {
  margin: 14px auto 0;
  font-size: 1.1rem;
  font-weight: 700;
  max-width: 44ch;
}

/* ===== waitlist form ===== */
.waitlist { padding: 32px 0 44px; }
.waitlist-box {
  border: 3px solid var(--ink);
  padding: 26px 20px 20px;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  background: var(--paper);
}
.waitlist-tag {
  position: absolute;
  top: -16px;
  inset-inline-start: 22px;
  background: var(--yellow);
  font-weight: 900;
  font-size: .9rem;
  letter-spacing: .08em;
  padding: 4px 14px;
  transform: rotate(-2deg);
}
.waitlist h2 { font-size: clamp(1.6rem, 4.8vw, 2.4rem); margin-bottom: 8px; }
.waitlist-sub { color: var(--ink-soft); margin-bottom: 18px; }

label { display: block; font-weight: 800; margin-bottom: 8px; }
input[type="tel"] {
  width: 100%;
  font-size: 1.15rem;
  padding: 13px 14px;
  border: 2.5px solid var(--ink);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
}
input[type="tel"]::placeholder { color: #767268; }
.hint { font-size: .88rem; color: var(--ink-soft); margin: 8px 0 20px; }

/* Honeypot: clipped in place (not display:none) so naive bots still fill it, real users and AT never see it.
   No left:-9999px — on RTL pages that extends scrollable overflow and lets the page pan sideways. */
.hp-field {
  position: absolute;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cta-button {
  display: block;
  width: 100%;
  border: 3px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font);
  font-size: 1.15rem;
  font-weight: 800;
  padding: 15px 20px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.cta-button:hover { background: var(--yellow); color: var(--ink); }
.cta-button:disabled { opacity: .65; cursor: default; }

.form-message {
  min-height: 1.4em;
  margin: 14px 0 0;
  font-size: .98rem;
  font-weight: 700;
}
.form-message.is-success { color: var(--success); }
.form-message.is-error { color: var(--error); }

/* ===== interior pages: head + article prose ===== */
.page-head { padding: 30px 0 0; }
.page-head .kicker { margin-bottom: 16px; }
.page-head h1 {
  font-size: clamp(2.2rem, 7.5vw, 4.4rem);
  line-height: 1.02;
  max-width: 24ch;
}
.lead {
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 62ch;
  margin: 18px 0 0;
}
.page-meta {
  margin: 14px 0 0;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--ink-soft);
}

.draft-note {
  display: inline-block;
  background: var(--yellow);
  font-weight: 800;
  font-size: .85rem;
  letter-spacing: .04em;
  padding: 4px 12px;
  transform: rotate(-1deg);
  margin: 0 0 18px;
}

.article { padding: 26px 0 50px; }
.article-body { max-width: 68ch; }
.article-body h2 {
  font-size: 1.6rem;
  margin: 2em 0 .6em;
  padding-top: .8em;
  border-top: 3px solid var(--rule);
}
.article-body h2:first-child { margin-top: .9em; }
.article-body h3 { font-size: 1.2rem; margin: 1.6em 0 .45em; }
.article-body ul, .article-body ol { margin: 0 0 1.2em; padding-inline-start: 1.35em; }
.article-body li { margin-bottom: .5em; }
.article-body li::marker { font-weight: 800; }
.article-body .fact-list { margin-top: 2em; }

/* closing CTA box on interior pages */
.endcta {
  margin-top: 48px;
  border: 3px solid var(--ink);
  padding: 26px 22px 22px;
  position: relative;
  background: var(--paper);
}
.endcta-tag {
  position: absolute;
  top: -14px;
  inset-inline-start: 18px;
  background: var(--yellow);
  font-weight: 900;
  font-size: .85rem;
  letter-spacing: .08em;
  padding: 3px 12px;
  transform: rotate(-2deg);
}
.endcta p { margin: 0 0 16px; font-weight: 800; font-size: 1.12rem; max-width: 44ch; }

/* ===== blog listing ===== */
.post-list {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  border-top: 3px solid var(--rule);
}
.post-list li { border-bottom: 1px solid var(--rule-soft); padding: 26px 0 20px; }
.post-kicker {
  margin: 0 0 8px;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--ink-soft);
}
.post-list h2 { font-size: clamp(1.45rem, 4.5vw, 2.1rem); margin: 0 0 10px; line-height: 1.15; }
.post-list h2 a { text-decoration: none; }
.post-list h2 a:hover { background: var(--yellow); }
.post-list h2 a:focus { outline-offset: 1px; }
.post-list > li > p { margin: 0; color: var(--ink-soft); max-width: 62ch; }

/* ===== 404 ===== */
.notfound { padding: 48px 0 64px; }
.notfound-code {
  font-size: clamp(4.5rem, 22vw, 10rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.notfound h1 { font-size: clamp(1.6rem, 5vw, 2.6rem); margin-bottom: 14px; }
.notfound p { max-width: 52ch; }
.notfound-links {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-weight: 800;
}

/* ===== footer ===== */
footer { padding: 22px 0 44px; font-size: .88rem; color: var(--ink-soft); }
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-links a { color: var(--ink); font-weight: 700; }

/* ===== desktop ===== */
@media (min-width: 800px) {
  body { font-size: 18px; }
  .masthead-date { display: block; }
  .hero { padding: 52px 0 40px; }
  .hero-cols {
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
  }
  .hero-side {
    border-inline-start: 1px solid var(--rule);
    padding-inline-start: 40px;
  }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { padding: 6px 28px 10px; }
  .steps li:not(:first-child) {
    border-top: 0;
    border-inline-start: 1px solid var(--rule-soft);
  }
  .steps li:first-child { padding-inline-start: 0; }
  .steps li:last-child { padding-inline-end: 0; }
  .fact-list { grid-template-columns: repeat(3, 1fr); }
  .fact-list--2 { grid-template-columns: repeat(2, 1fr); }
  .fact-list li { padding: 24px 28px 8px; }
  .fact-list li:not(:first-child) {
    border-top: 0;
    border-inline-start: 1px solid var(--rule-soft);
  }
  .fact-list li:first-child { padding-inline-start: 0; }
  .fact-list li:last-child { padding-inline-end: 0; }
  .waitlist-box { padding: 40px 44px 32px; }
  .page-head { padding: 44px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---- signature: CSS rotary dial (homepage hero accent, editorial language) ---- */
.dial {
  position: relative;
  width: 210px;
  height: 210px;
  margin: 0 0 22px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.dial:hover { transform: rotate(-16deg); }
.dial-hole {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 34px;
  margin: -17px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  font-weight: 800;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  transform: rotate(var(--a)) translateY(-74px) rotate(calc(-1 * var(--a)));
}
.dial-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  margin: -23px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
}
.dial-stop {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  transform: rotate(324deg) translateY(-74px);
}
@media (max-width: 480px) {
  .dial { width: 168px; height: 168px; }
  .dial-hole { transform: rotate(var(--a)) translateY(-58px) rotate(calc(-1 * var(--a))); width: 28px; height: 28px; margin: -14px; font-size: .9rem; }
  .dial-stop { transform: rotate(324deg) translateY(-58px); }
}

/* ================================================================
   Motion layer — active only when motion.js adds .motion to <html>
   (never under prefers-reduced-motion). Without it, everything
   below is inert and the page is complete and fully static.
   All motion is change-in-place: dissolve, develop, tick, ignite.
   ================================================================ */

/* dissolve reveals — opacity only, nothing travels */
.motion [data-reveal] { opacity: 0; transition: opacity .7s ease var(--rd, 0s); }
.motion [data-reveal].is-on { opacity: 1; }
.motion [data-reveal="develop"] {
  filter: blur(9px);
  transition: opacity .85s ease var(--rd, 0s), filter .85s ease var(--rd, 0s);
}
.motion [data-reveal="develop"].is-on { filter: blur(0); }

/* the marker ink draws itself when it enters the page (RTL: from the right) */
.motion .hl::after {
  transform: rotate(var(--hl-r)) scaleX(0);
  transform-origin: 100% 50%;
  transition: transform .55s cubic-bezier(.3, .7, .25, 1) .12s;
}
.motion .hl.is-on::after { transform: rotate(var(--hl-r)) scaleX(1); }

/* step numbers ignite yellow, in place, after their card dissolves in */
.motion .steps li .step-num {
  background: var(--paper);
  box-shadow: inset 0 0 0 2px var(--ink);
  transition: background .5s ease calc(var(--rd, 0s) + .3s),
              box-shadow .5s ease calc(var(--rd, 0s) + .3s);
}
.motion .steps li.is-on .step-num {
  background: var(--yellow);
  box-shadow: inset 0 0 0 2px transparent;
}

/* the rotary dial dials by itself now and then — pull, stop, spring back */
@keyframes dial-pull {
  0%, 55%   { rotate: 0deg; }
  63%       { rotate: -98deg; }
  66%       { rotate: -98deg; }
  73%       { rotate: 5deg; }
  76%, 100% { rotate: 0deg; }
}
.motion .dial { animation: dial-pull 8.5s cubic-bezier(.4, .1, .3, 1) 2.2s infinite; }

/* ================================================================
   The call scene — scroll advances the clock of one real moment.
   Static by default; motion.js turns it into a pinned scene.
   ================================================================ */
.scene { padding: 16px 0 36px; }
.scene .sect-head { margin-bottom: 10px; }
.scene-sub {
  color: var(--ink-soft);
  font-weight: 700;
  margin: 0 0 22px;
}
.scene-tag {
  display: inline-block;
  border: 1.5px solid var(--ink);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .07em;
  padding: 2px 10px;
  margin-inline-start: 8px;
  white-space: nowrap;
}

.motion #call-scene { height: calc(100vh + 300vh); height: calc(100svh + 300vh); padding: 0; }
.motion #call-scene .scene-stage {
  position: sticky;
  top: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 0;
}

.scene-grid { display: grid; gap: 20px; }

/* ---- the phone: a living object whose state changes in place ---- */
.phone {
  align-self: start;
  max-width: 340px;
  background: var(--paper);
  border: 3px solid var(--ink);
  box-shadow: -8px 8px 0 var(--yellow);
}
.ph-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 9px 14px;
  border-bottom: 1.5px solid var(--rule-soft);
  font-size: .84rem;
  font-weight: 800;
}
.ph-num { font-family: var(--font-mono); color: var(--ink-soft); font-weight: 700; }
.ph-core {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 18px;
}
.ph-avatar {
  position: relative;
  width: 76px;
  height: 76px;
  flex: none;
  border: 3px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper);
  transition: background .45s ease, color .45s ease;
}
.ph-glyph {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.1rem;
  line-height: 1;
}
.ph-halo {
  position: absolute;
  inset: -10px;
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  opacity: 0;
}
#call-scene[data-phase="ring"] .ph-halo { animation: halo 1.15s ease-out infinite; }
@keyframes halo {
  0%   { transform: scale(.82); opacity: .85; }
  100% { transform: scale(1.28); opacity: 0; }
}
#call-scene[data-phase="live"] .ph-avatar { background: var(--yellow); }
#call-scene[data-phase="done"] .ph-avatar { background: var(--ink); color: var(--paper); }

/* voice bars — an equalizer breathing in place while the call is live */
.ph-wave { display: flex; align-items: center; gap: 6px; height: 44px; }
.ph-wave i {
  width: 6px;
  height: 34px;
  background: var(--ink);
  transform: scaleY(.22);
  transform-origin: center;
  transition: transform .4s ease;
}
#call-scene[data-phase="live"] .ph-wave i { animation: speak 1s ease-in-out infinite alternate; }
.ph-wave i:nth-child(1) { animation-delay: 0s;   animation-duration: .82s; }
.ph-wave i:nth-child(2) { animation-delay: .12s; animation-duration: .74s; }
.ph-wave i:nth-child(3) { animation-delay: .05s; animation-duration: .96s; }
.ph-wave i:nth-child(4) { animation-delay: .21s; animation-duration: .68s; }
.ph-wave i:nth-child(5) { animation-delay: .09s; animation-duration: .88s; }
.ph-wave i:nth-child(6) { animation-delay: .17s; animation-duration: .78s; }
.ph-wave i:nth-child(7) { animation-delay: .03s; animation-duration: .92s; }
@keyframes speak {
  from { transform: scaleY(.18); }
  to   { transform: scaleY(1); }
}
#call-scene[data-phase="done"] .ph-wave i { transform: scaleY(.1); animation: none; }

.ph-foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 9px 14px;
  border-top: 1.5px solid var(--rule-soft);
}
.sc-clock {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}
.ph-foot .sc-status-text {
  font-size: .8rem;
  font-weight: 800;
  color: var(--ink-soft);
  letter-spacing: .04em;
}

/* ---- the dialogue: one line at a time, set like a pull quote ---- */
.quote-stack { display: block; }
.motion .quote-stack { display: grid; align-items: center; min-height: 240px; }
.sc-q { margin: 0 0 1.6em; }
.motion .sc-q { grid-area: 1 / 1; margin: 0; }
.sc-chip {
  display: inline-block;
  font-weight: 900;
  font-size: .95rem;
  letter-spacing: .02em;
  padding: 2px 12px;
  margin-bottom: 14px;
}
.sc-q--bot .sc-chip { background: var(--yellow); }
.sc-q--caller .sc-chip { border: 2px solid var(--ink); }
.sc-q blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.35rem, 2.7vw, 2.15rem);
  line-height: 1.32;
  letter-spacing: -0.01em;
  max-width: 21ch;
}
.sc-q--note blockquote {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(1.1rem, 2.1vw, 1.5rem);
  line-height: 1.4;
  color: var(--ink-soft);
}
/* the outgoing line clears quickly; the next one lands after a beat */
.motion #call-scene .sc-q { transition-duration: .28s; }
.motion #call-scene .sc-q.sc-on { transition-duration: .5s; transition-delay: .34s; }

.scene-panels { position: relative; }
.sc-panel--dialog { max-width: 62ch; transition: opacity .6s ease; }
.sc-panel--summary { margin-top: 30px; }
.motion .sc-panel--summary {
  margin-top: 0;
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: start;
  opacity: 0;
  transition: opacity .6s ease;
  pointer-events: none;
}
.motion .sc-flip .sc-panel--summary { opacity: 1; pointer-events: auto; }
.motion .sc-flip .sc-panel--dialog { opacity: .05; }

.sc-line { margin: 0 0 .95em; }
.sc-note {
  color: var(--ink-soft);
  font-weight: 700;
  font-size: .95rem;
}
.sc-say { font-size: 1.08rem; line-height: 1.6; }
.sc-who { font-weight: 900; }
.sc-say--bot .sc-who { background: var(--yellow); padding: 0 .3em; }

/* lines appear only under motion; static page shows the full transcript */
.motion #call-scene [data-at] { opacity: 0; transition: opacity .55s ease; }
.motion #call-scene .sc-on { opacity: 1; }

/* ===== the WhatsApp summary — the artifact you actually receive ===== */
.wa-card {
  margin: 0;
  max-width: 480px;
  background: #fff;
  border: 2.5px solid var(--ink);
  box-shadow: -9px 9px 0 var(--yellow);
}
.motion .wa-card { opacity: 0; filter: blur(10px); transition: opacity .7s ease .1s, filter .7s ease .1s; }
.motion .sc-flip .wa-card { opacity: 1; filter: blur(0); }
.wa-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1.5px solid var(--rule-soft);
  font-size: .92rem;
}
.wa-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--wa-green);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  flex: none;
}
.wa-name { font-weight: 800; }
.wa-via { color: var(--ink-soft); font-weight: 700; }
.wa-time { margin-inline-start: auto; color: var(--ink-soft); font-family: var(--font-mono); font-size: .8rem; }
.wa-bubble {
  position: relative;
  margin: 14px 14px 12px;
  padding: 11px 14px;
  background: #f0faec;
  border: 1px solid #d8e8d2;
  border-radius: 10px;
  border-start-start-radius: 2px;
  font-size: .98rem;
}
.wa-bubble p { margin: 0 0 .45em; }
.wa-bubble p:last-child { margin-bottom: 0; }
.wa-note {
  margin: 0;
  padding: 0 14px 13px;
  font-size: .9rem;
  font-weight: 800;
}
.scene-close { margin: 24px 0 0; font-size: 1.15rem; font-weight: 800; max-width: 44ch; }

/* ===== the spam mini-scene ===== */
.spam { padding: 2px 0 38px; }
.spam-verdict {
  display: inline-block;
  background: var(--yellow);
  font-weight: 900;
  font-size: .95rem;
  padding: 3px 12px;
  transform: rotate(-1.2deg);
  margin: 4px 0 10px;
}
.spam .sc-note:last-child { margin-bottom: 0; }

@media (min-width: 800px) {
  .scene-grid { grid-template-columns: 320px 1fr; gap: 52px; align-items: center; }
  .motion .quote-stack { min-height: 300px; }
  .sc-say { font-size: 1.14rem; }
  .spam-cols {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: start;
  }
}

/* compact scene typography on phones */
@media (max-width: 799px) {
  .scene-sub { margin-bottom: 14px; }
  .sc-line { margin-bottom: .7em; }
  .sc-say { font-size: 1.02rem; line-height: 1.5; }
  .sc-clock { font-size: 1.1rem; }
  .phone { max-width: none; }
  .ph-core { padding: 14px 16px; gap: 16px; }
  .ph-avatar { width: 58px; height: 58px; }
  .ph-glyph { font-size: 1.6rem; }
  .ph-wave { height: 34px; }
  .motion .quote-stack { min-height: 230px; align-items: start; padding-top: 18px; }
  /* on phones the summary flows below the phone card instead of overlaying the quotes */
  .motion .sc-flip .quote-stack { display: none; }
  .motion .sc-panel--summary { position: static; margin-top: 16px; }
}

/* short viewports: skip the pinned scene, keep the page fully static */
@media (max-height: 700px) {
  .motion #call-scene { height: auto; padding: 16px 0 36px; }
  .motion #call-scene .scene-stage { position: static; min-height: 0; padding: 0; }
  .motion #call-scene [data-at] { opacity: 1; }
  .motion .sc-flip .sc-panel--dialog, .motion .sc-panel--dialog { opacity: 1; }
  .motion .sc-panel--summary { position: static; opacity: 1; pointer-events: auto; margin-top: 30px; }
  .motion .wa-card { opacity: 1; filter: none; }
  .motion #call-scene .quote-stack { display: block; min-height: 0; }
  .motion #call-scene .sc-q { margin: 0 0 1.6em; }
}
