:root {
  --ink: #1b2540;
  --ink-2: #2b3658;
  --paper: #f7f2e8;
  --paper-2: #fbf8f2;
  --card: #ffffff;
  --line: #e7dfcf;
  --muted: #5b6478;
  --gold: #d29b2e;
  --gold-ink: #a86f12;
  --gold-soft: #fcf3e0;
  --s4: #17714a; --s4-soft: #e2f3ea;
  --s3: #1f6a8a; --s3-soft: #e1f0f6;
  --s2: #8a5a14; --s2-soft: #f8edd8;
  --display: "Fraunces", Georgia, serif;
  --sans: "Inter", "Heebo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(27, 37, 64, .05), 0 18px 40px -22px rgba(27, 37, 64, .35);
}
:lang(he), :lang(yi) { --display: "Frank Ruhl Libre", "Fraunces", serif; --sans: "Heebo", "Inter", system-ui, sans-serif; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.015em; line-height: 1.08; margin: 0; }
:lang(he) h1, :lang(he) h2, :lang(yi) h1, :lang(yi) h2 { letter-spacing: 0; line-height: 1.2; }
p { margin: 0; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { width: auto; height: auto; clip-path: none; inset-inline-start: 16px; top: 16px; z-index: 99; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
html, body { overflow-x: clip; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

/* Brand mark */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.mark { position: relative; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--ink); color: var(--paper); font: 700 24px/1 "Fraunces", Georgia, serif; }
.mark i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); top: 6px; right: 5px; }
.mark.big { width: 64px; height: 64px; border-radius: 18px; font-size: 44px; }
.mark.big i { width: 11px; height: 11px; top: 10px; right: 9px; }
.word { font: 600 23px/1 "Fraunces", Georgia, serif; letter-spacing: -.01em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 12px; font-weight: 600; font-size: 15px; text-decoration: none; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.btn:active { transform: scale(.98); }
.btn-lg { min-height: 54px; padding: 0 24px; font-size: 16px; border-radius: 14px; }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 8px 20px -10px rgba(27, 37, 64, .6); }
.btn-dark:hover { background: var(--ink-2); }
.btn-ghost { color: var(--ink); }
.btn-ghost:hover { background: rgba(27, 37, 64, .06); }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 10px 24px -12px rgba(210, 155, 46, .8); }
.btn-gold:hover { background: #ddaa45; }
.arrow { display: inline-block; transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }
[dir="rtl"] .arrow { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(3px); }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(247, 242, 232, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(231, 223, 207, .7); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 70px; }
.links { display: flex; gap: 4px; }
.links a { padding: 8px 12px; border-radius: 10px; text-decoration: none; font-size: 15px; color: var(--muted); font-weight: 500; }
.links a:hover { color: var(--ink); background: rgba(27, 37, 64, .05); }
.actions { display: flex; align-items: center; gap: 8px; }
.lang { position: relative; }
.lang summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 12px; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--muted); }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { background: rgba(27, 37, 64, .05); color: var(--ink); }
.lang svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.lang ul { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); min-width: 170px; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.lang li a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 9px; text-decoration: none; font-size: 15px; }
.lang li a:hover { background: var(--paper); }
.lang li a[aria-current="page"] { font-weight: 600; }
.lang li a[aria-current="page"]::after { content: "✓"; color: var(--gold-ink); }

/* Hero */
.hero { padding: 72px 0 40px; background:
  radial-gradient(900px 500px at 85% -10%, rgba(210, 155, 46, .16), transparent 60%),
  radial-gradient(700px 500px at -10% 20%, rgba(27, 37, 64, .07), transparent 60%); }
[dir="rtl"] .hero { background:
  radial-gradient(900px 500px at 15% -10%, rgba(210, 155, 46, .16), transparent 60%),
  radial-gradient(700px 500px at 110% 20%, rgba(27, 37, 64, .07), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 600; color: var(--gold-ink); background: var(--gold-soft); border: 1px solid rgba(210, 155, 46, .25); padding: 6px 12px; border-radius: 999px; margin-bottom: 22px; }
h1 { font-size: clamp(42px, 6vw, 72px); }
h1 em { font-style: italic; color: var(--gold-ink); }
:lang(he) h1 em, :lang(yi) h1 em { font-style: normal; }
.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--muted); margin-top: 22px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.note { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* Hero product demo */
.hero-demo { position: relative; }
.bubble { position: relative; z-index: 2; display: flex; gap: 14px; align-items: flex-start; background: var(--ink); color: #fff; padding: 16px 18px; border-radius: 20px; box-shadow: var(--shadow); width: 88%; margin-inline-start: auto; margin-bottom: -26px; animation: rise .6s cubic-bezier(.2, .8, .2, 1) both; }
.bubble b { display: block; font-size: 13px; color: var(--gold); font-weight: 600; margin-bottom: 2px; }
.bubble p { font-size: 15px; line-height: 1.45; color: #e9ecf5; }
.mic { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #c2405f; animation: pulse 1.8s ease-in-out infinite; }
.mic svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; }
.sheet { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px 14px 18px; animation: rise .6s .1s cubic-bezier(.2, .8, .2, 1) both; }
.row { display: grid; grid-template-columns: 1.6fr .7fr .7fr .7fr 1.1fr; align-items: center; gap: 8px; padding: 9px 8px; border-bottom: 1px solid #f0ebe0; font-size: 14px; }
.row:last-of-type { border-bottom: 0; }
.row.head { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
:lang(he) .row.head, :lang(yi) .row.head { text-transform: none; letter-spacing: 0; font-size: 13px; }
.who { display: flex; align-items: center; gap: 8px; font-weight: 500; white-space: nowrap; overflow: hidden; }
.who i { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--paper); font-style: normal; font-size: 11px; font-weight: 600; color: var(--muted); }
.s { display: grid; place-items: center; height: 32px; border-radius: 10px; font-weight: 700; font-variant-numeric: tabular-nums; }
.s4 { background: var(--s4-soft); color: var(--s4); }
.s3 { background: var(--s3-soft); color: var(--s3); }
.s2 { background: var(--s2-soft); color: var(--s2); }
.gold { background: var(--gold-soft); color: var(--gold-ink); box-shadow: inset 0 0 0 2px rgba(210, 155, 46, .55); animation: glow 2.4s ease-in-out infinite; }
.pill { justify-self: start; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--paper); color: var(--muted); white-space: nowrap; }
.pill.draft { background: var(--gold-soft); color: var(--gold-ink); }
.pill.ok { background: var(--s4-soft); color: var(--s4); }
.toast { position: absolute; inset-inline-start: 50%; bottom: -18px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; padding: 9px 14px; border-radius: 999px; box-shadow: var(--shadow); }
[dir="rtl"] .toast { transform: translateX(50%); }
.toast svg { width: 15px; height: 15px; fill: var(--gold); }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(194, 64, 95, .5); } 50% { box-shadow: 0 0 0 10px rgba(194, 64, 95, 0); } }
@keyframes glow { 0%, 100% { box-shadow: inset 0 0 0 2px rgba(210, 155, 46, .55); } 50% { box-shadow: inset 0 0 0 2px rgba(210, 155, 46, .9), 0 0 0 4px rgba(210, 155, 46, .15); } }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 72px; }
.stat { background: rgba(255, 255, 255, .6); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; }
.stat b { display: block; font: 600 30px/1.1 var(--display); }
.stat span { display: block; margin-top: 6px; color: var(--muted); font-size: 15px; }

/* Sections */
.section { padding: 96px 0; }
.section.paper { background: var(--paper-2); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(32px, 4vw, 48px); }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 18px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--paper); color: var(--ink); margin-bottom: 18px; }
.card:first-child .ic { background: var(--ink); color: var(--gold); }
.card .ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 22px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 16px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-ink); font: 700 18px/1 "Fraunces", serif; margin-bottom: 18px; }
.steps h3 { font-size: 22px; margin-bottom: 8px; }
.steps p { color: var(--muted); }

.audiences { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.aud { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; scroll-margin-top: 90px; }
.aud h3 { font-size: 24px; margin-bottom: 16px; }
.aud ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.aud li { display: flex; gap: 10px; align-items: flex-start; }
.aud li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--s4-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317714a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/13px no-repeat; }

.section.dark { background: var(--ink); color: #fff; }
.section.dark .section-head p { color: #b8c0d6; }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trust div { border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 28px; background: rgba(255, 255, 255, .03); }
.trust h3 { font-size: 22px; margin-bottom: 8px; color: #fff; }
.trust h3::before { content: ""; display: block; width: 30px; height: 3px; border-radius: 2px; background: var(--gold); margin-bottom: 16px; }
.trust p { color: #b8c0d6; }

.app { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.app h2 { font-size: clamp(30px, 3.6vw, 44px); }
.app p { margin-top: 16px; color: var(--muted); font-size: 18px; }
.devices { display: grid; place-items: center; }
.phone { width: 230px; padding: 16px; border-radius: 36px; background: #fff; border: 8px solid var(--ink); box-shadow: var(--shadow); display: grid; gap: 10px; }
.ph-top { height: 14px; width: 40%; border-radius: 8px; background: var(--paper); margin-bottom: 6px; }
.ph-row { display: flex; align-items: center; gap: 10px; }
.ph-row i { flex: 1; height: 12px; border-radius: 6px; background: var(--paper); }
.ph-row b { width: 38px; height: 26px; border-radius: 8px; }
.ph-mic { justify-self: center; width: 54px; height: 54px; border-radius: 50%; background: var(--ink); margin-top: 8px; box-shadow: 0 0 0 6px var(--gold-soft); }

.cta { padding-top: 40px; }
.cta-box { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 32px; padding: 64px 24px; box-shadow: var(--shadow); display: grid; justify-items: center; gap: 16px; }
.cta-box h2 { font-size: clamp(32px, 4vw, 48px); }
.cta-box p { color: var(--muted); max-width: 520px; font-size: 18px; }
.cta-box .btn { margin-top: 8px; }

.foot { padding: 48px 0 56px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1fr auto; gap: 18px 32px; align-items: start; }
.foot-grid > div p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.foot-langs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.foot-langs a { text-decoration: none; font-size: 14px; color: var(--muted); padding: 6px 10px; border-radius: 8px; }
.foot-langs a:hover, .foot-langs a[aria-current="page"] { color: var(--ink); background: #fff; }
.rights { grid-column: 1 / -1; font-size: 14px; color: var(--muted); }

/* Responsive */
@media (max-width: 1000px) {
  .links { display: none; }
  .hero-grid, .app { grid-template-columns: 1fr; gap: 48px; }
  .cards, .steps, .audiences, .trust { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .bar { height: 62px; }
  .actions .btn { display: none; }
  .hero { padding: 40px 0 24px; }
  .stats, .cards, .steps, .audiences, .trust { grid-template-columns: 1fr; }
  .stats { margin-top: 56px; }
  .section { padding: 64px 0; }
  .row { grid-template-columns: 1.5fr .6fr .6fr .6fr; font-size: 13px; }
  .row > :last-child { display: none; }
  .bubble { width: 100%; }
  .foot-grid { grid-template-columns: 1fr; }
}
