/* Miraj landing - brand: navy #122D3C, teal #2A8B8C and the mark's teal-to-navy gradient (LOGO MIRAJ.psd), Rubik */
:root {
  --bg: #f3f5f6;
  --surface: #e7edef;
  --card: #ffffff;
  --ink: #122d3c;
  --muted: #4a6270;
  --accent: #237b7c;
  --navy: #122d3c;
  --navy-2: #0c2230;
  --on-dark: #ffffff;
  --on-dark-2: #a9c3ca;
  --teal-light: #5cc3c2;

  --grad: linear-gradient(135deg, #2b8a8b 0%, #28606d 55%, #283f55 100%);
  --grad-soft: linear-gradient(135deg, #2a8384 0%, #1f5866 100%);
  --grad-deep: linear-gradient(160deg, #122d3c 0%, #15394a 55%, #1b5260 100%);

  --t-hero: clamp(38px, 4.6vw, 68px);
  --t-display: clamp(28px, 3vw, 42px);
  --t-statement: clamp(18px, 1.5vw, 21px);
  --t-body: 16px;
  --t-small: 14px;

  --m: clamp(16px, 2.4vw, 32px);
  --box: 1200px;
  --pad: max(var(--m), calc((100vw - var(--box)) / 2));
  --gap: clamp(56px, 6.5vw, 96px);
  --r: 16px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Rubik", system-ui, sans-serif; font-size: var(--t-body); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--teal-light); outline-offset: 3px; }
section[id], footer[id] { scroll-margin-top: 24px; }
a, button, summary, input, textarea { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
::selection { background: var(--accent); color: #fff; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hp { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip-path: inset(50%); pointer-events: none; }   /* a field only bots fill; no far offset: in RTL it made the page scroll sideways */
.skip { position: absolute; z-index: 10; inset-inline-start: var(--m); top: -60px; background: var(--ink); color: #fff;
  padding: 10px 18px; border-radius: 999px; text-decoration: none; font-size: var(--t-small); }
.skip:focus { top: 16px; }

/* buttons: one shape (fully round) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font: inherit;
  background: var(--grad-soft); color: #fff; font-weight: 500; font-size: var(--t-small);
  padding: 10px 20px; border-radius: 999px; border: 0; cursor: pointer;
  transition: filter .2s var(--ease), transform .2s var(--ease), background .2s var(--ease);
}
.btn:hover { filter: brightness(1.15); }
.btn:active { transform: scale(.97); }
.btn.big { font-size: var(--t-body); padding: 14px 30px; }
.btn.ghost { background: rgba(255, 255, 255, .08); color: #fff; }
.btn.ghost:hover { background: rgba(255, 255, 255, .16); filter: none; }

/* bar: links + action on the right, logo on the left */
.bar { position: absolute; inset: 0 0 auto 0; z-index: 5; display: flex; align-items: center; gap: 28px; padding: 22px var(--pad); }
.brand { margin-inline-start: auto; }
.brand img { height: 28px; width: auto; }
/* hover: the mark (only the icon, not the word) takes the headline's gradient */
.brand { position: relative; display: flex; }
.brand::after { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .25s var(--ease); pointer-events: none;
  background: linear-gradient(90deg, #7fe0dc, #5cc3c2 40%, #9fb8ff) 0 0 / 33% 100% no-repeat;
  -webkit-mask: url("assets/logo-icon-mask.png") 0 0 / 100% 100% no-repeat; mask: url("assets/logo-icon-mask.png") 0 0 / 100% 100% no-repeat; }
.brand:hover::after, .brand:focus-visible::after { opacity: 1; }
.links { display: flex; gap: 28px; }
.links a { text-decoration: none; font-size: var(--t-small); font-weight: 500; position: relative; }
.links a::after { content: ""; position: absolute; inset: auto 0 -6px 0; height: 2px; background: var(--teal-light);
  transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
.links a:hover::after { transform: scaleX(1); }
.bar.on-dark { color: #fff; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06);
  cursor: pointer; padding: 0; grid-template-rows: repeat(3, 2px); row-gap: 5px; align-content: center; justify-content: center; }
.menu-btn span { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease), opacity .3s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* hero: dark navy, two soft teal lights, the floating 3D mark */
.hero {
  position: relative; overflow: hidden; min-height: min(100svh, 860px); color: var(--on-dark);
  background:
    radial-gradient(60% 70% at 18% 52%, rgba(43, 138, 139, .30), transparent 70%),
    radial-gradient(50% 60% at 95% 0%, rgba(43, 138, 139, .14), transparent 70%),
    var(--navy);
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px; padding: 120px var(--pad) 80px;
}
.hero-copy { position: relative; z-index: 1; }
.orb { z-index: 1; }
.hero h1 { font-size: var(--t-hero); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; }
.hero h1 .hl { background: linear-gradient(90deg, #7fe0dc, #5cc3c2 40%, #9fb8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 sup { font-size: .4em; color: var(--teal-light); top: -1.1em; margin-inline-start: 2px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 6px 14px 6px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #cfeeee;
  background: rgba(92, 195, 194, .08); border: 1px solid rgba(92, 195, 194, .28); }
.kicker i { font-style: normal; color: var(--teal-light); }
.kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-light); box-shadow: 0 0 0 0 rgba(92, 195, 194, .7); animation: ping 2.4s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(92, 195, 194, 0); } 100% { box-shadow: 0 0 0 0 rgba(92, 195, 194, 0); } }
.hero .lead { margin-top: 22px; font-size: var(--t-statement); line-height: 1.6; color: var(--on-dark-2); max-width: 52ch; }

/* the trial box: a lit card that stands out of the navy */
.trial { position: relative; margin-top: 34px; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 18px;
  max-width: 600px; padding: 16px 16px 16px 22px; border-radius: 18px; text-decoration: none; color: var(--ink);
  background: linear-gradient(135deg, #e9fbf9 0%, #c9efec 100%); box-shadow: 0 0 0 1px rgba(255, 255, 255, .5) inset, 0 18px 50px -18px rgba(92, 195, 194, .65);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.trial:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .7) inset, 0 24px 60px -16px rgba(92, 195, 194, .8); }
.tr-body { display: grid; line-height: 1.35; }
.tr-name { font-size: 17px; font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; padding-inline-end: 18px;
  border-inline-end: 1px solid rgba(14, 38, 51, .18); }   /* the box's title, on its right, before the credits */
.tr-body b { font-size: 17px; }
.tr-body small, .tr-price small { font-size: 13px; color: var(--muted); }
.tr-price { display: grid; text-align: center; line-height: 1.1; }
.tr-price b { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }
.tr-go { display: inline-flex; align-items: center; gap: 4px; background: var(--grad-soft); color: #fff; font-size: var(--t-small); font-weight: 500;
  padding: 12px 26px; min-width: 148px; justify-content: center; border-radius: 999px; white-space: nowrap; }   /* wider, the label and arrow centred */
.p-go svg, .tr-go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.tr-go { transition: background .2s var(--ease), color .2s var(--ease); }
.trial:hover .tr-go { background: linear-gradient(90deg, #7fe0dc, #5cc3c2 40%, #9fb8ff); color: var(--ink); }   /* the headline's gradient: it shows on the light card */
.footnote { margin-top: 12px; font-size: 13px; color: var(--on-dark-2); opacity: .85; }

.orb { position: relative; height: clamp(300px, 34vw, 470px); display: grid; place-items: center; perspective: 1100px; }
.glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(92, 195, 194, .35), rgba(43, 138, 139, .10) 45%, transparent 70%);
  animation: pulse 6s ease-in-out infinite; }
/* the mark: rendered in Blender (wings beat, slow sway); a still frame first, the animation once the page is up */
.mark3d { position: relative; width: clamp(240px, 32vw, 440px); aspect-ratio: 600 / 406; transition: transform .6s var(--ease); }
.mark-anim { display: block; width: 100%; height: 100%; filter: drop-shadow(0 0 26px rgba(92, 195, 194, .22)); }
html.a11y-still .mark-anim { content: url("assets/mark-3d-still.png?v=2"); }
.mark-vid { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .6s var(--ease);
  filter: drop-shadow(0 0 26px rgba(92, 195, 194, .22)); }
.mark-vid.on { opacity: 1; }
html:not(.a11y-still) .mark3d:has(.mark-vid.on) .mark-anim { visibility: hidden; }   /* the still would show through the clear parts */
html.a11y-still .mark-vid { display: none; }
/* the shadow under it: soft, and it breathes with the mark - app.js drives it from the video's own clock (.sync);
   the CSS loop (5 s, one bob) is only for the WebP fallback */
.floor { position: absolute; bottom: 9%; width: 40%; height: 22px; border-radius: 50%; filter: blur(5px);
  background: radial-gradient(closest-side, rgba(0, 0, 0, .3), rgba(0, 0, 0, .12) 55%, transparent);
  animation: shadow 5s ease-in-out infinite; transition: translate .6s var(--ease); }
.floor.sync { animation: none; }
@keyframes pulse { 50% { transform: scale(1.08); opacity: .8; } }
@keyframes shadow { 0%, 100% { transform: scale(.9); opacity: .75; } 50% { transform: scale(1.06); opacity: 1; } }

/* section titles */
.sec-h { font-size: var(--t-display); text-align: center; letter-spacing: -0.035em; }

/* our designs: one row, every design the same size (4:5), square corners, and under each a bubble with how long it took */
.work { padding: clamp(40px, 4.5vw, 60px) 0 clamp(14px, 1.8vw, 26px); background: #fff; }   /* the row's own padding below holds the shadows */
.work-row { --ww: 16vw; --wg: 4vw; margin-top: 22px; overflow: hidden; padding-block: 14px 40px;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.work-track { list-style: none; margin: 0; margin-inline-start: calc(var(--ww) / -2); padding: 0; display: flex; align-items: flex-start; width: max-content; }   /* half a design at each edge */
.work-track.stepping { transition: transform 1.2s cubic-bezier(.65, 0, .35, 1); }
@media (hover: hover) { .work-row { cursor: grab; user-select: none; } .work-row.dragging, .work-row.dragging button { cursor: grabbing; } }
.work-track li { flex: none; width: var(--ww); margin-inline-end: var(--wg);   /* a computer: four designs and half of one at each edge; a step = a fifth of the screen */
  display: flex; flex-direction: column; align-items: center; gap: 14px; }
.work-track li > button { display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0; background: var(--card); cursor: zoom-in;
  box-shadow: 0 16px 30px -18px rgba(18, 45, 60, .5); transition: transform .3s var(--ease); }
.work-track li > button:hover { transform: translateY(-4px); }
.work-track img { width: 100%; height: 100%; object-fit: cover; }
.w-time { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: 4px 14px 14px 14px;
  background: var(--grad-soft); color: #fff; font-size: 13px; font-weight: 500; white-space: nowrap; }
.w-time::before { content: ""; width: 12px; height: 12px; border: 2px solid currentColor; border-radius: 50%;
  background: linear-gradient(currentColor, currentColor) 50% 25% / 2px 40% no-repeat; }   /* a small clock */
@media (hover: none), (prefers-reduced-motion: reduce) {
  .work-row { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; mask-image: none; padding-inline: var(--m); }
  .work-row::-webkit-scrollbar { display: none; }
  .work-track { margin-inline-start: 0; }
  .work-track li { scroll-snap-align: center; }
}
@media (max-width: 640px) {
  .work-track li { width: calc((100vw - 2 * var(--m) - 18px) / 2.15); margin-inline-end: 18px; }   /* two designs and a bit of the next */
  .w-time { font-size: 11.5px; padding: 4px 9px; }
  .work-track li[aria-hidden] { display: none; }
}
.work-view { border: 0; padding: 0; background: none; max-width: min(92vw, 560px); overflow: visible; }
.work-view::backdrop { background: rgba(12, 34, 48, .82); }
.work-view img { max-height: 88vh; width: auto; }
.work-x { position: absolute; top: -14px; inset-inline-end: -14px; width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: #fff; color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; }

/* plans */
.plans { padding: clamp(52px, 6vw, 80px) var(--pad) 0; }
.plan-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: stretch; }
.plan a {
  height: 100%; display: flex; flex-direction: column; align-items: stretch; gap: 6px; text-decoration: none; position: relative;
  padding: 28px 22px 22px; background: var(--card); border-radius: var(--r); border: 1px solid #dde6e9;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.plan a:hover, .plan a:focus-visible, .plan.is-pick a:hover, .plan.is-pick a:focus-visible { transform: translateY(-4px); color: #fff; border-color: transparent;
  background: linear-gradient(160deg, #122d3c 0%, #1b5260 100%) padding-box, linear-gradient(135deg, #5cc3c2, #283f55) border-box;
  box-shadow: 0 24px 50px -24px rgba(18, 45, 60, .7); }
.plan a:hover .p-name, .plan a:hover .p-price small, .plan a:hover .p-pays { color: var(--on-dark-2); }
.plan a:hover .p-per { color: var(--teal-light); }
.plan a:hover .p-feats { border-top-color: rgba(255, 255, 255, .15); }
.plan a:hover .p-feats svg { stroke: var(--teal-light); }
.plan a:hover .p-save { background: rgba(92, 195, 194, .18); color: #fff; }
.plan a:hover .p-go, .plan.is-pick a:hover .p-go { background: #fff; color: var(--ink); filter: none; }
.plan.is-pick a { border: 1px solid transparent;
  background: linear-gradient(var(--card), var(--card)) padding-box, linear-gradient(135deg, #5cc3c2, #28606d 60%, #283f55) border-box; }
.plan.is-pick a::before { content: "פופולרי"; position: absolute; top: -11px; inset-inline-start: 22px; background: var(--grad-soft); color: #fff;
  font-size: 12px; font-weight: 500; padding: 2px 12px; border-radius: 999px; }
.p-name { font-size: 15px; font-weight: 500; letter-spacing: .02em; color: var(--muted); }
.p-price { display: flex; align-items: baseline; gap: 6px; }
.p-price b { font-size: clamp(30px, 2.6vw, 38px); font-weight: 800; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.p-price small { font-size: 13px; color: var(--muted); }
.p-what { font-size: 15px; }
.p-what b { font-weight: 700; }
.p-per { font-size: 13px; font-weight: 500; color: var(--accent); }
.p-feats { list-style: none; margin: 14px 0 18px; padding: 14px 0 0; border-top: 1px solid #e6eef0; display: grid; gap: 6px; align-content: start; font-size: var(--t-small); }
.p-feats li { display: flex; align-items: center; gap: 8px; }
.p-feats svg, .perks svg { flex: none; width: 16px; height: 16px; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke: var(--accent); }
.p-go { display: inline-flex; align-items: center; justify-content: center; gap: 4px; margin-top: auto; text-align: center; background: var(--ink); color: #fff; border-radius: 999px; padding: 10px 20px;
  font-size: var(--t-small); font-weight: 500; transition: filter .2s var(--ease), background .2s var(--ease); }
.plan.is-pick .p-go { background: var(--grad-soft); }
.perks { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font-size: var(--t-small); }
.perks li { display: flex; align-items: center; gap: 8px; }
.vat { margin-top: 22px; text-align: center; font-size: 13px; color: var(--muted); }
/* monthly / annual / no plan: the section carries data-bill; prices show .m or .y, the credit packs are .cr */
.plans:not([data-bill="month"]) .m, .plans:not([data-bill="year"]) .y, .plans:not([data-bill="credits"]) .cr,
.plans[data-bill="credits"] .plan:not(.cr) { display: none; }
.plans[data-bill="credits"] .plan-list { grid-template-columns: repeat(2, minmax(0, 290px)); justify-content: center; }
.bill { margin: 22px auto 0; width: max-content; display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface); }
.bill button { font: inherit; font-size: var(--t-small); font-weight: 500; color: var(--ink); background: none; border: 0; cursor: pointer;
  padding: 8px 20px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; transition: background .25s var(--ease), color .25s var(--ease); }
.bill button.on { background: var(--ink); color: #fff; }
.gift { font-size: 12px; padding: 2px 8px; border-radius: 999px; background: linear-gradient(90deg, #5cc3c2, #9fb8ff); color: var(--ink); }
.p-pays { font-size: 13px; font-weight: 500; color: var(--muted); margin-top: -4px; }
.p-save { font-size: 12px; font-weight: 500; color: var(--ink); background: #e3f4f3; border-radius: 8px; padding: 4px 8px; align-self: flex-start; }

/* how it works: the film - landscape on wide screens, 4:5 on phones (app.js picks the file) */
.guide {
  margin-top: var(--gap); padding: clamp(52px, 6vw, 84px) var(--pad); color: var(--on-dark);
  background: #0e2633;     /* exactly the colour at the film's edges: the film sits on it with no seam and no frame */
  position: relative; overflow: hidden; display: grid; justify-items: center; row-gap: clamp(28px, 4vw, 48px);
}
.guide .sec-h { position: relative; }
/* no frame: the film's dark scenes end in the section's own colour at their edges, so it is part of the page */
.film { width: min(100%, 1120px); aspect-ratio: 16 / 9; overflow: hidden; }
.film-v { display: block; width: 100%; height: 100%; object-fit: cover; }

/* why miraj: a white band, outline icons and words - no boxes. Each icon draws its lines in (app.js sets pathLength=1) */
.benefits { padding: clamp(56px, 7vw, 96px) var(--pad); background: #fff; }   /* right under the dark film section: no grey gap */
.why { list-style: none; margin: 0 auto; padding: 0; max-width: 1080px; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(34px, 4vw, 52px) clamp(24px, 4vw, 56px); }
.why-i { display: grid; justify-items: center; align-content: start; gap: 8px; text-align: center; }
/* the 3D icons: a 48-frame sway on an 8 x 6 sheet (sheet3d.py); app.js steps it - once as the icon comes in, then only under the pointer */
.ic3d { width: 144px; height: 144px; margin: -22px 0 -8px; background: var(--sheet) 0 0 / 800% 600% no-repeat; }
.js .why-i .ic3d { opacity: 0; transform: scale(.55); transition: opacity .6s var(--ease) calc(var(--d, 0ms) + 150ms), transform .8s var(--ease) calc(var(--d, 0ms) + 150ms); }   /* in: small to full size, no sway */
.js .why-i.in .ic3d { opacity: 1; transform: none; }
.why-i b { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.why-i span { font-size: var(--t-small); color: var(--muted); max-width: 30ch; }

/* faq: two columns, rows on a soft ground, brand colour on hover */
.faq { margin-top: var(--gap); padding: 0 var(--pad); }
.qs { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: start; }
.qs-more, .qs-more[hidden] { display: contents; }
.more-btn { display: none; }
.more-btn { justify-self: center; margin-top: 6px; font: inherit; font-size: var(--t-small); font-weight: 500; color: var(--ink); cursor: pointer;
  background: none; border: 1px solid #c9d8dc; border-radius: 999px; padding: 9px 22px; transition: background .2s var(--ease); }
.more-btn:hover { background: var(--card); }
/* "didn't find an answer?" - a question field that opens the chat window with the answer */
.faq-ask { margin: 26px auto 0; width: min(100%, 560px); display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.faq-ask input { min-width: 0; font: inherit; font-size: 15px; color: var(--ink); background: var(--card);
  border: 1px solid #c9d8dc; border-radius: 999px; padding: 11px 18px; }
.faq-ask input::placeholder { color: var(--muted); }
.faq-ask input:focus { outline: 2px solid var(--accent); outline-offset: 0; }
.faq-ask .btn { gap: 4px; padding-inline: 20px 16px; white-space: nowrap; }
@media (max-width: 420px) { .faq-ask input { font-size: 14px; padding-inline: 14px; } }   /* the whole hint fits in the field on a phone */
.faq-ask .btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.qs details { border-radius: 12px; background: var(--card); overflow: hidden; }
.qs summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 16px 20px; font-weight: 500; transition: background .25s var(--ease), color .25s var(--ease); }
.qs summary::-webkit-details-marker { display: none; }
.qs summary::after { content: ""; flex: none; width: 9px; height: 9px; border: solid currentColor; border-width: 0 0 2.5px 2.5px;
  transform: rotate(-45deg) translateY(-2px); transition: transform .3s var(--ease); }
.qs summary:hover, .qs details[open] summary { background: var(--grad-soft); color: #fff; }
.qs details[open] summary::after { transform: rotate(135deg) translateY(-2px); }
.qs details p { padding: 14px 20px 18px; color: var(--ink); }
.qs details p a { color: var(--accent); font-weight: 500; }

/* close: contact + footer */
.close { margin-top: var(--gap); background: var(--grad-deep); color: var(--on-dark); padding: clamp(36px, 4vw, 52px) var(--pad) 16px;
  display: grid; gap: 26px; }
.contact { display: grid; justify-items: center; gap: 14px; }
.send-row { width: min(100%, 740px); display: flex; align-items: center; gap: 10px; }
/* WhatsApp: always on screen, above the accessibility button */
.wa { position: fixed; z-index: 50; bottom: 74px; inset-inline-end: 16px; width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 50%; background: #25d366; border: 2px solid #fff; box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .45);
  transition: transform .25s var(--ease), filter .25s var(--ease); }
.wa:hover { transform: scale(1.06); filter: brightness(1.05); }
.wa svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.send { flex: 1; min-width: 0; display: grid; grid-template-columns: 1fr 1fr 1.6fr auto; gap: 8px; }
.send input { min-width: 0; font: inherit; font-size: 15px; color: #fff; background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; padding: 11px 18px; }
.send .btn { gap: 4px; padding-inline: 20px 16px; white-space: nowrap; transition: background .2s var(--ease), color .2s var(--ease); }
.send .btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.send .btn:hover, .send .btn:focus-visible { background: #fff; color: var(--ink); filter: none; }
.send input::placeholder { color: var(--on-dark-2); }
.send input:focus { outline: 2px solid var(--teal-light); outline-offset: 0; }
.send-note { min-height: 1em; font-size: var(--t-small); color: var(--on-dark-2); }
.close-meta { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px 30px; font-size: 13px; color: var(--on-dark-2);
  padding-top: 8px; }
.meta-mail { grid-column: 1; justify-self: start; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; color: var(--on-dark); }
.meta-sep { opacity: .6; }
.meta-links { grid-column: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.close-meta img { grid-column: 3; justify-self: end; height: 20px; width: auto; }
.close-meta a { color: var(--on-dark); text-decoration: none; }
.close-meta a:hover { text-decoration: underline; }
/* who runs the service - centred under the footer, Hebrew + English */
.owner { margin: 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14); text-align: center;
  font-size: 13px; color: var(--on-dark-2); display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; }
.owner .sep { opacity: .5; }

/* the terms page */
.doc { padding: 120px var(--pad) 80px; max-width: 760px; display: grid; gap: 18px; }
.doc h1 { font-size: var(--t-display); }
.doc h2 { font-size: var(--t-statement); margin-top: 20px; }

/* entrances */
[data-rise] { transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-rise]:not(.in) { opacity: 0; transform: translateY(20px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-rise]:not(.in) { opacity: 1; transform: none; }
  .js .why-i .ic3d { opacity: 1; transform: none; transition: none; }
}

/* tablet */
@media (max-width: 1000px) {
  .menu-btn { display: grid; }
  .links { display: none; position: absolute; top: 74px; inset-inline: var(--m); flex-direction: column; gap: 0; padding: 8px;
    border-radius: 16px; background: rgba(12, 34, 48, .96); backdrop-filter: blur(10px); box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .6); }
  .links.open { display: flex; }
  .links a { padding: 12px 14px; border-radius: 10px; font-size: 16px; }
  .links a:hover { background: rgba(255, 255, 255, .06); }
  .links a::after { display: none; }
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 110px; }
  .hero h1, .hero .lead, .trial { margin-inline: auto; }
  .trial { text-align: right; }
  .orb { order: -1; height: 240px; }
  .plan-list { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .why { grid-template-columns: repeat(2, 1fr); }
  .qs { grid-template-columns: 1fr; max-width: 680px; margin-inline: auto; }
}

/* phone */
@media (max-width: 640px) {
  .hero h1 { font-size: 10.5vw; }
  .orb { height: 200px; }
  .trial { grid-template-columns: auto 1fr auto; gap: 10px 12px; padding: 16px; }
  .tr-name { font-size: 15px; padding-inline-end: 12px; }
  .tr-body { grid-column: 2; }
  .tr-price { grid-column: 3; }
  .tr-go { grid-column: 1 / -1; justify-content: center; }
  /* plans: two across, a little tighter */
  .plan-list, .plans[data-bill="credits"] .plan-list { grid-template-columns: 1fr 1fr; gap: 18px 8px; }
  .plan a { padding: 22px 12px 14px; gap: 4px; }
  .plan.is-pick a::before { inset-inline-start: 12px; }
  .p-price { flex-wrap: wrap; column-gap: 4px; }
  .p-price b { font-size: 25px; }
  .p-what { font-size: 14px; }
  .p-pays, .p-per { font-size: 12px; }
  .p-save { font-size: 11px; padding: 3px 6px; }
  .p-feats { margin: 10px 0 14px; padding-top: 10px; font-size: 13px; gap: 4px; }
  .p-feats li { gap: 6px; }
  .p-feats svg { width: 14px; height: 14px; }
  .p-go { padding: 9px 10px; font-size: 13px; }
  .bill { max-width: 100%; }
  .bill button { padding: 8px 9px; gap: 5px; font-size: 13px; white-space: nowrap; }
  .gift { font-size: 11px; padding: 1px 6px; }
  br.wide { display: none; }
  .qs { grid-template-columns: 1fr; }
  .qs-more { display: grid; gap: 10px; grid-column: 1 / -1; }
  .qs-more[hidden] { display: none; }
  .more-btn { display: inline-block; }
  .why { grid-template-columns: 1fr 1fr; gap: 30px 14px; }
  .ic3d { width: 112px; height: 112px; margin: -16px 0 -6px; }
  .why-i b { font-size: 15px; }
  .why-i span { font-size: 13px; }
  .c-ic { width: 36px; height: 36px; margin-bottom: 6px; }
  .send-row { width: 100%; }
  .owner .sep { display: none; }
  .close { padding-bottom: 14px; gap: 18px; }
  .send { grid-template-columns: 1fr 1fr; }           /* name | phone or mail, then the message and the button full width */
  #c-msg, .send .btn { grid-column: 1 / -1; }
  .close-meta { grid-template-columns: 1fr; justify-items: center; gap: 16px; padding-top: 0; }
  .meta-links, .close-meta img { grid-column: 1; justify-self: center; }
  .close-meta img { order: -1; }                      /* the logo between the form and the links */
  .meta-mail { display: none; }

  .film { aspect-ratio: 4 / 5; }
}

/* the language switch in the bar: a small pill like the plans switch (.bill), halfway between the links and the logo */
.lang-sw { direction: ltr; display: flex; align-items: center; gap: 2px; padding: 2px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .05);
  font-size: 10px; font-weight: 600; letter-spacing: .06em; white-space: nowrap; margin-inline: auto; }  /* centred in the free space between the links and the logo */
.lang-sw a, .lang-sw .on { padding: 4px 10px; border-radius: 999px; line-height: 1; }
.lang-sw a { text-decoration: none; opacity: .7; transition: opacity .2s var(--ease), background .2s var(--ease); }
.lang-sw a:hover, .lang-sw a:focus-visible { opacity: 1; background: rgba(255, 255, 255, .08); }
.lang-sw span[aria-hidden] { display: none; }
.lang-sw .on { background: #fff; color: var(--ink); }
.lang-sw + .brand { margin-inline-start: 0; }

/* the English site (landing/en): the logo on the left, the arrows point forward, underlines grow from the left */
html[dir="ltr"] .brand { order: -2; margin-inline-start: 0; }
html[dir="ltr"] .lang-sw { order: -1; }
html[dir="ltr"] .tr-go svg, html[dir="ltr"] .p-go svg, html[dir="ltr"] .btn svg { transform: scaleX(-1); }
html[dir="ltr"] .links a::after { transform-origin: left; }
html[dir="ltr"] .plan.is-pick a::before { content: "Popular"; }
@media (max-width: 1000px) { html[dir="ltr"] .trial { text-align: left; } }
