@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/heebo-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: "Heebo";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/heebo-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;
}

/* palette taken from the Sammy gift page (products/gensammy/site), every text pair checked for WCAG AA */
:root {
  --bg: #eeeef2;
  --surface: #ffffff;
  --surface-alt: #e4e4ec;
  --ink: #1b1d2e;
  --ink-soft: #4f5268;
  --primary: #26294a;
  --primary-ink: #f2f2f7;
  --accent: #12a38a;
  --accent-soft: #d4f1ea;
  --accent-2: #6a4af0;
  --line: #d8d8e2;
  --link: #26294a;
  --btn-bg: #26294a;
  --btn-ink: #f2f2f7;
  --footer-bg: #26294a;
  --footer-ink: #f2f2f7;
  --shadow: 0 18px 40px -24px rgba(27, 29, 46, 0.4);
  --radius: 14px;
  --max: 1080px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11121c;
    --surface: #181a28;
    --surface-alt: #1e2031;
    --ink: #e9e9f1;
    --ink-soft: #a9abbe;
    --primary: #30345c;
    --primary-ink: #f0f0f7;
    --accent-soft: #0f3a33;
    --accent-2: #a08cff;
    --line: #2a2c3f;
    --link: #a08cff;
    /* navy buttons disappear on the dark background, so the brand teal takes over */
    --btn-bg: #12a38a;
    --btn-ink: #11121c;
    --footer-bg: #181a28;
    --footer-ink: #e9e9f1;
    --shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.6);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: "Heebo", "Segoe UI", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  text-align: right;
}

img { max-width: 100%; height: auto; }

a { color: var(--link); }
a:hover { color: var(--accent-2); }

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

.skip-link {
  position: absolute;
  top: -100px;
  right: 16px;
  background: var(--primary);
  color: var(--primary-ink);
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
}
.skip-link:focus { top: 12px; color: var(--primary-ink); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}

/* header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo-link { display: inline-flex; }
.logo-link img { height: 40px; width: auto; }
.site-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}
.site-nav a:hover { color: var(--accent-2); text-decoration: underline; }
@media (max-width: 640px) {
  .site-nav { display: none; }
}

/* sections */
section { padding: 64px 0; }
section.alt { background: var(--surface-alt); }

h1, h2, h3 { line-height: 1.25; margin: 0 0 16px; font-weight: 800; }
h1 { font-size: clamp(1.9rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 16px; }

.eyebrow {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-2);
  margin-bottom: 12px;
}

.hero { padding: 72px 0 80px; }
.hero .lead {
  font-size: 1.2rem;
  max-width: 640px;
  color: var(--ink-soft);
}
.hero h1 { max-width: 780px; }
.hero h1 .accent { color: var(--accent-2); }

.btn {
  display: inline-block;
  background: var(--btn-bg);
  color: var(--btn-ink);
  text-decoration: none;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 999px;
  margin-top: 8px;
  border: 2px solid var(--btn-bg);
}
.btn:hover { background: var(--accent-2); border-color: var(--accent-2); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.narrow { max-width: 760px; }

/* product cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 5px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.card h3 .emoji { margin-left: 6px; }
.card dl { margin: 0 0 8px; }
.card dt { font-weight: 700; margin-top: 14px; }
.card dd { margin: 4px 0 0; }
.card ul { margin: 6px 0 0; padding-right: 20px; padding-left: 0; }
.card li { margin-bottom: 4px; }
.card .price {
  margin-top: auto;
  padding-top: 16px;
  font-weight: 700;
}
.card .price span {
  background: var(--accent-soft);
  color: var(--ink);
  padding: 2px 12px;
  border-radius: 999px;
}
.card .btn { align-self: flex-start; }

/* contact */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.contact-list li { margin-bottom: 8px; }
.contact-list strong { display: inline-block; min-width: 130px; }

/* legal pages */
.legal { padding: 48px 0 64px; }
.legal h1 { margin-bottom: 8px; }
.legal .updated { color: var(--ink-soft); margin-bottom: 32px; }
.legal h2 { font-size: 1.3rem; margin-top: 32px; margin-bottom: 8px; }
.legal ul { padding-right: 22px; padding-left: 0; }
.legal li { margin-bottom: 6px; }

/* footer: company line must appear on every page (Meta business verification) */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-ink);
  border-top: 4px solid var(--accent);
  padding: 40px 0 32px;
  font-size: 0.95rem;
}
.site-footer a { color: var(--footer-ink); }
.site-footer a:hover { color: var(--accent-soft); }
.site-footer .company { font-weight: 700; margin-bottom: 8px; }
.site-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 16px 0;
  padding: 0;
  list-style: none;
}
.site-footer .copy { opacity: 0.85; margin: 0; }

.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.nowrap { white-space: nowrap; }

/* ---- redesign 2026-10-07: big type, glow hero, chat demo (reference: "Work Smarter" landing) ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(10px); }
.site-header .wrap { justify-content: flex-start; }
.site-header .site-nav { margin-inline-start: auto; }
.site-header .btn-small { margin-inline-start: 24px; }
@media (max-width: 640px) {
  .site-header .btn-small { margin-inline-start: auto; }
}
.btn-small { padding: 8px 18px; margin-top: 0; font-size: 0.95rem; }
.btn-big { padding: 16px 34px; font-size: 1.1rem; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 96px;
  text-align: center;
}
.hero-glow {
  position: absolute;
  inset: auto -20% 0 -20%;
  height: 75%;
  background:
    radial-gradient(40% 60% at 30% 60%, rgba(18, 163, 138, 0.45), transparent 70%),
    radial-gradient(40% 60% at 70% 55%, rgba(106, 74, 240, 0.40), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 95%);
  mask-image: linear-gradient(to bottom, #000 45%, transparent 95%);
}
.hero-inner { position: relative; }
.pill {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2.3rem, 6.4vw, 4.6rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  max-width: 940px;
  margin: 0 auto 24px;
}
/* gradient text only at headline size, where WCAG large-text 3:1 applies */
.hero h1 .accent {
  background: linear-gradient(90deg, var(--accent-2), #12a38a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead {
  margin: 0 auto 32px;
  max-width: 660px;
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
}

/* chat demo */
.demo {
  position: relative;
  max-width: 620px;
  margin: 64px auto 0;
  text-align: right;
}
.demo-window {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 40px 80px -30px rgba(27, 29, 46, 0.45);
  overflow: hidden;
}
.demo-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}
.demo-dot { width: 10px; height: 10px; border-radius: 50%; background: #12a38a; }
.demo-tag {
  margin-inline-start: auto;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 1px 10px;
}
.demo-chat { padding: 22px 20px 26px; display: flex; flex-direction: column; gap: 12px; }
.msg {
  margin: 0;
  padding: 12px 16px;
  border-radius: 18px;
  max-width: 88%;
  font-size: 1rem;
  line-height: 1.6;
}
.msg-user {
  align-self: flex-start;
  background: var(--primary);
  color: var(--primary-ink);
  border-start-start-radius: 4px;
}
.msg-agent {
  align-self: flex-end;
  background: var(--accent-soft);
  color: var(--ink);
  border-start-end-radius: 4px;
}
.demo-float {
  position: absolute;
  left: -48px;
  bottom: -28px;
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 12px 18px;
  box-shadow: var(--shadow);
  font-size: 0.95rem;
  line-height: 1.4;
}
.demo-float small { color: var(--ink-soft); }
.demo-float-icon { font-size: 1.5rem; }
@media (max-width: 760px) {
  .demo-float { position: static; margin: 16px auto 0; width: fit-content; }
}

/* big section titles */
.big-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.big-title.center { text-align: center; }
.split {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; gap: 16px; }
}
.big-lead { font-size: clamp(1.15rem, 2.2vw, 1.35rem); }
.principle {
  border-inline-start: 4px solid var(--accent);
  padding-inline-start: 16px;
  font-weight: 600;
}

section { padding: 88px 0; }

.card { border-radius: 24px; border-top-width: 1px; padding: 32px; }
.card h3 { font-size: 1.45rem; }
.card h3 .emoji {
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--accent-soft);
  margin: 0 0 14px;
  font-size: 1.5rem;
}
.card h3 { display: flex; flex-direction: column; align-items: flex-start; }

/* business: big rounded dark card (reference: travel hero card) */
.feature-card {
  position: relative;
  overflow: hidden;
  background: #26294a;
  color: #f2f2f7;
  border-radius: 32px;
  padding: clamp(32px, 6vw, 72px);
}
.feature-card::after {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  left: -120px; bottom: -200px;
  background: radial-gradient(circle, rgba(18, 163, 138, 0.55), transparent 65%);
  pointer-events: none;
}
.feature-card > * { position: relative; max-width: 720px; }
.feature-card .btn { background: #12a38a; border-color: #12a38a; color: #11121c; }
.feature-card .btn:hover { background: #f2f2f7; border-color: #f2f2f7; color: #26294a; }
@media (prefers-color-scheme: dark) {
  .feature-card { background: #1e2031; border: 1px solid #2a2c3f; }
}

#about .wrap { max-width: 860px; }

/* ---- round 2 (2026-10-07): interactive, playful (reference: yuval-ai.co.il) ---- */
:root { --bg: #eef5f3; --surface-alt: #e2efec; --penny: #d4f1ea; --sammy: #e7e1ff; }
@media (prefers-color-scheme: dark) {
  :root { --bg: #11121c; --surface-alt: #1e2031; --penny: #0f3a33; --sammy: #2a2450; }
}

/* scroll reveal, only when JS is running so the page never stays hidden */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* hero demo: tabs + animated chat */
.demo-tabs { display: flex; gap: 6px; }
.demo-tab {
  font: inherit; font-weight: 700; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-soft);
  padding: 6px 16px; border-radius: 999px; transition: background .2s, color .2s;
}
.demo-tab[aria-selected="true"] { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); }
.demo-replay {
  font: inherit; font-size: .85rem; cursor: pointer; background: none; border: 0;
  color: var(--ink-soft); padding: 4px 8px; border-radius: 8px;
}
.demo-replay:hover { color: var(--accent-2); }
.demo-bar .demo-tag { margin-inline-start: auto; }
.demo-chat { min-height: 300px; }
.js .demo-chat .msg { opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .35s ease, transform .35s ease; }
.js .demo-chat .msg.is-shown { opacity: 1; transform: none; }
.chip-file {
  display: inline-block; margin-top: 6px; padding: 2px 10px; border-radius: 8px;
  background: rgba(255,255,255,.15); font-size: .9rem; direction: ltr; unicode-bidi: isolate;
}
.typing { display: inline-flex; gap: 5px; align-items: center; padding: 14px 16px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-soft); animation: blink 1s infinite ease-in-out; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

/* dark agents section with numbered cards */
.dark-section { background: #26294a; color: #f2f2f7; }
.dark-section .big-title { color: #f2f2f7; }
@media (prefers-color-scheme: dark) { .dark-section { background: #181a28; } }
.agent-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 48px;
}
.agent-row-flip > .card { order: 2; }
.agent-row-flip > .viz { order: 1; }
@media (max-width: 860px) {
  .agent-row { grid-template-columns: 1fr; }
  .agent-row-flip > .card, .agent-row-flip > .viz { order: 0; }
}
.card { position: relative; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.card-penny { background: var(--penny); border-color: transparent; border-top: 0; }
.card-sammy { background: var(--sammy); border-color: transparent; border-top: 0; }
.card .emoji { background: var(--surface) !important; }
.num {
  position: absolute; top: -18px; left: 16px;
  font-size: 7rem; font-weight: 800; line-height: 1;
  color: currentColor; opacity: .08; pointer-events: none;
}
.card > *:not(.num) { position: relative; }

/* visual mockups next to each agent */
.viz {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.55);
  transition: transform .3s ease;
}
.viz:hover { transform: rotate(-1deg) scale(1.01); }
.viz-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.viz-head .demo-tag { margin-inline-start: auto; }
.bars { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; }
.bars li { display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: 12px; }
.bar-label { font-weight: 600; font-size: .95rem; }
.bar {
  position: relative; display: block; height: 30px; border-radius: 999px;
  background: linear-gradient(270deg, #6a4af0, #2c3a8f);
  width: calc(var(--v) * 100%); min-width: 72px;
  transform-origin: right center;
}
.bar-warn { background: linear-gradient(270deg, #f2b84b, #f7d48a); }
.bar-warn .bar-amount { color: #3d2600; }
.js .viz .bar { transform: scaleX(0); transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.js .viz.is-visible .bar { transform: scaleX(1); }
.js .viz.is-visible .bars li:nth-child(2) .bar { transition-delay: .1s; }
.js .viz.is-visible .bars li:nth-child(3) .bar { transition-delay: .2s; }
.js .viz.is-visible .bars li:nth-child(4) .bar { transition-delay: .3s; }
.js .viz.is-visible .bars li:nth-child(5) .bar { transition-delay: .4s; }
.bar-amount {
  position: absolute; inset-inline-start: 10px; top: 50%; transform: translateY(-50%);
  color: #fff; font-size: .85rem; font-weight: 700; white-space: nowrap;
}
.viz-note {
  border-radius: 14px; padding: 10px 14px; margin-top: 8px;
  background: var(--accent-soft); font-size: .95rem;
}
.viz-note-warn { background: #fff1dc; color: #5c3b00; }
@media (prefers-color-scheme: dark) { .viz-note-warn { background: #3a2a0f; color: #f3dc9a; } }

.doc-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.doc-tab {
  font: inherit; font-weight: 700; cursor: pointer;
  background: var(--surface-alt); color: var(--ink); border: 0;
  padding: 8px 16px; border-radius: 12px; transition: background .2s, color .2s;
}
.doc-tab[aria-selected="true"] { background: #6a4af0; color: #fff; }
.doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.doc-list li { background: var(--surface-alt); border-radius: 12px; padding: 10px 14px; }
.doc-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.doc-table th, .doc-table td { text-align: right; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.doc-table th { color: var(--ink-soft); font-weight: 600; }
.doc-panel { min-height: 190px; }

/* business card gets the coral accent of the reference's third card */
.feature-card { background: linear-gradient(135deg, #26294a 0%, #3b2f7a 100%); }
.feature-card .num { color: #fff; opacity: .1; left: auto; right: auto; inset-inline-end: 24px; top: 0; font-size: 9rem; }

.btn { transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease; }
.btn:hover { transform: translateY(-2px); }

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .demo-chat .msg, .js .viz .bar { opacity: 1 !important; transform: none !important; transition: none !important; }
  .card:hover, .viz:hover, .btn:hover { transform: none; }
  .typing span { animation: none; }
}
.dark-section .card { color: var(--ink); }
.demo-chat { min-height: 250px; }
/* .demo-chat sets display:flex, which would otherwise override the hidden attribute on the inactive tab panel */
[hidden] { display: none !important; }

/* hero rotating word (reference: yuval-ai.co.il) */
.rotator {
  font-size: clamp(1.4rem, 3.6vw, 2.2rem);
  font-weight: 800;
  margin: 0 auto 24px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px;
}
.rot-pill {
  display: inline-block;
  background: #6a4af0; color: #fff;
  padding: 6px 24px 10px;
  border-radius: 16px;
  transform: rotate(-3deg);
  box-shadow: 0 16px 30px -14px rgba(106, 74, 240, .7);
  overflow: hidden;
}
.rot-word { display: inline-block; transition: transform .28s ease, opacity .28s ease; }
.rot-word.is-out { transform: translateY(-110%); opacity: 0; }
