/* תורן · product-clean: soft lavender white, indigo, pink accents. Google Sans only (weight + colour do the hierarchy). */
@font-face { font-family: 'Polin'; src: url('../fonts/Polin-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }

:root {
  --bg: #f5f5ff; --bg2: #ececfb; --surface: rgba(255, 255, 255, .85);
  --ink: #14143a; --mute: rgba(20, 20, 58, .64); --line: rgba(20, 20, 58, .1);
  --acc: #5b5bf6; --acc2: #ec4899; --acc3: #14b8a6; --on-acc: #fff;
  --grad: linear-gradient(100deg, #5b5bf6, #8b5cf6 45%, #ec4899);
  --f: 'Google Sans', 'Polin', system-ui, sans-serif; --fd: 'Google Sans', 'Polin', sans-serif; --fdw: 700;
  color-scheme: light;
}
.h1, .h2 { letter-spacing: -.035em; }
.panel { background: #fff; box-shadow: 0 30px 70px -40px rgba(20, 20, 58, .3); }
.nav.is-solid { background: rgba(245, 245, 255, .85); }
.btn--line { background: #fff; }
.btn--ink { background: var(--ink); color: #fff; }
.logo { font-size: 26px; }
/* soft gradient mesh: three blobs with slow CSS drift (composited transforms only) */
.mesh { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.mesh i { position: absolute; width: 60vmax; aspect-ratio: 1; border-radius: 50%; filter: blur(60px); opacity: .45; animation: drift 24s ease-in-out infinite alternate; }
.mesh i:nth-child(1) { background: #c7c7ff; top: -30vmax; right: -20vmax; }
.mesh i:nth-child(2) { background: #ffd1ea; bottom: -35vmax; left: -20vmax; animation-delay: -8s; }
.mesh i:nth-child(3) { background: #c9f3ec; top: 30%; left: 30%; width: 40vmax; opacity: .35; animation-delay: -16s; }
@keyframes drift { to { transform: translate(6vmax, 4vmax) scale(1.1); } }

/* ===== HERO ===== */
.hero { min-height: 100svh; display: grid; align-items: center; padding: calc(var(--nav-h) + 30px) 0 60px; }
.hero__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero__copy { display: grid; gap: 20px; justify-items: start; }
.pill { display: inline-flex; gap: 10px; align-items: center; padding: 6px 16px 6px 6px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.pill b { padding: 4px 10px; border-radius: 99px; background: var(--grad); color: #fff; font-size: 12px; }
.hero .h1 { font-size: clamp(50px, 6.6vw, 112px); line-height: .98; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.fine { color: var(--mute); font-size: 14px; }
.app { position: relative; border-radius: 22px; background: #fff; box-shadow: 0 60px 120px -50px rgba(91, 91, 246, .55), 0 0 0 1px var(--line); overflow: visible; }
.app__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.app__bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; } .app__bar i:nth-child(2) { background: #febc2e; } .app__bar i:nth-child(3) { background: #28c840; }
.app__bar span { margin-inline-start: auto; font-size: 12px; color: var(--mute); }
.app__body { display: grid; grid-template-columns: 150px 1fr; min-height: 380px; }
.app__side { padding: 18px; border-inline-end: 1px solid var(--line); display: grid; gap: 6px; align-content: start; font-size: 14px; color: var(--mute); }
.app__side b { color: var(--ink); margin-bottom: 10px; }
.app__side span { padding: 8px 10px; border-radius: 10px; }
.app__side .on { background: rgba(91, 91, 246, .1); color: var(--acc); font-weight: 700; }
.app__cal { padding: 18px; display: grid; gap: 12px; align-content: start; }
.cal__h { display: flex; justify-content: space-between; align-items: center; }
.chip { padding: 4px 12px; border-radius: 99px; background: var(--bg); font-size: 13px; }
.slots { display: grid; gap: 8px; }
.sl { display: grid; grid-template-columns: 56px 1fr; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--c) 10%, #fff); border-inline-start: 4px solid var(--c); font-size: 14px; }
.sl span { color: var(--mute); font-size: 13px; }
.sl small { color: var(--mute); }
.sl--free { --c: #c8c8da; background: repeating-linear-gradient(-45deg, #fafaff 0 8px, #f2f2fb 8px 16px); color: var(--mute); transition: background .5s, border-color .5s; }
.sl--free.booked { --c: #5b5bf6; background: color-mix(in srgb, #5b5bf6 14%, #fff); color: var(--ink); }
.fake-cursor { position: absolute; top: 0; left: 0; width: 22px; height: 22px; pointer-events: none; z-index: 3; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l16 10-7 1.5L9 21z' fill='%2314143a' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat; opacity: 0; }
.toast { position: absolute; display: grid; gap: 2px; padding: 12px 16px; border-radius: 16px; background: #fff; box-shadow: 0 20px 40px -16px rgba(20, 20, 58, .35); font-size: 13px; opacity: 0; transform: translateY(14px) scale(.9); }
.toast b { font-size: 14px; }
.toast span { color: var(--mute); }
.t1 { top: 30%; inset-inline-end: -40px; } .t2 { bottom: 10%; inset-inline-start: -30px; }
.logos .ticker { border: 0; }
.logos .ticker__track span { font-family: var(--f); font-weight: 500; font-size: clamp(22px, 2.6vw, 36px); color: var(--mute); }

/* ===== CALM: before / after phone ===== */
.cm__grid { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(30px, 6vw, 100px); align-items: center; }
.cm__copy { display: grid; gap: 20px; justify-items: start; }
.sw { position: relative; display: flex; padding: 5px; border-radius: 99px; background: #fff; border: 1px solid var(--line); }
.sw button { position: relative; z-index: 1; padding: 12px 24px; border-radius: 99px; font-weight: 700; transition: color .4s; }
.sw button[aria-checked="true"] { color: #fff; }
.sw__pill { position: absolute; top: 5px; bottom: 5px; border-radius: 99px; background: var(--ink); transition: all .6s var(--ease); }
.phone { position: relative; justify-self: center; width: min(330px, 100%); aspect-ratio: 9 / 18.5; border-radius: 46px; padding: 14px; background: #14143a; box-shadow: 0 60px 100px -40px rgba(20, 20, 58, .6); overflow: hidden; }
.phone__notch { position: absolute; top: 18px; left: 50%; translate: -50% 0; width: 90px; height: 26px; border-radius: 20px; background: #000; z-index: 3; }
.ph { position: absolute; inset: 14px; border-radius: 34px; padding: 60px 14px 14px; display: grid; gap: 8px; align-content: start; transition: opacity .6s, transform .6s var(--ease); }
.ph--before { background: linear-gradient(170deg, #3a1d2e, #1c1022); }
.ph--after { background: linear-gradient(170deg, #e7e7ff, #fff); opacity: 0; transform: scale(1.05); }
[data-m="after"] .ph--before { opacity: 0; transform: scale(.95); }
[data-m="after"] .ph--after { opacity: 1; transform: none; }
.ph__t { text-align: center; font-size: 46px; font-weight: 300; color: #fff; margin-bottom: 8px; }
.ph--after .ph__t { color: var(--ink); }
.nt { display: grid; gap: 2px; padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, .12); color: #fff; font-size: 13px; }
.nt span { opacity: .75; }
.nt--call { background: rgba(255, 80, 120, .25); animation: buzz 2.4s ease-in-out infinite; }
.nt--bad { background: rgba(255, 59, 92, .45); }
@keyframes buzz { 0%, 86%, 100% { transform: none; } 88% { transform: translateX(-4px); } 92% { transform: translateX(4px); } 96% { transform: translateX(-2px); } }
.ph--after .nt { background: #fff; color: var(--ink); box-shadow: 0 8px 18px -10px rgba(20, 20, 58, .3); }
.ph--after .nt--ok b::before { content: "● "; color: var(--acc3); }
.ph--after .nt--calm { background: var(--acc); color: #fff; }

/* ===== FEATURES ===== */
.ft { padding: clamp(20px, 3vw, 40px); }
.ft__tabs { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 5px; border-radius: 18px; background: var(--bg); margin-bottom: 30px; }
.ft__tabs button { position: relative; z-index: 1; padding: 14px 8px; border-radius: 14px; font-weight: 700; color: var(--mute); transition: color .3s; }
.ft__tabs button[aria-selected="true"] { color: var(--ink); }
.ft__ink { position: absolute; top: 5px; bottom: 5px; border-radius: 14px; background: #fff; box-shadow: 0 6px 16px -8px rgba(20, 20, 58, .3); transition: all .6s var(--ease); }
.pn[hidden] { display: none; }
.pn { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.pn h3 { font-size: clamp(26px, 2.6vw, 40px); letter-spacing: -.02em; line-height: 1.1; margin-bottom: 12px; }
.pn p { color: var(--mute); margin-bottom: 14px; }
.pn ul { display: grid; gap: 8px; }
.pn li::before { content: "✓"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-inline-end: 10px; border-radius: 50%; background: rgba(91, 91, 246, .12); color: var(--acc); font-size: 12px; font-weight: 700; }
.pv { display: grid; place-items: center; min-height: 300px; border-radius: 24px; background: linear-gradient(140deg, #ececff, #fde7f3); }
.pv0, .pv2 { width: 240px; padding: 20px; border-radius: 20px; background: #fff; display: grid; gap: 8px; box-shadow: 0 20px 40px -20px rgba(20, 20, 58, .3); }
.pv0 span { color: var(--mute); font-size: 13px; }
.pv0 i { font-style: normal; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); font-size: 14px; }
.pv0 i.on { border-color: var(--acc); background: rgba(91, 91, 246, .08); }
.pv0 em, .pv2 em { font-style: normal; text-align: center; padding: 10px; border-radius: 12px; background: var(--acc); color: #fff; font-weight: 700; font-size: 14px; }
.pv1 { width: 280px; padding: 16px; border-radius: 20px; background: #e5ddd5; display: grid; gap: 8px; }
.pv1 p { padding: 10px 12px; border-radius: 12px; font-size: 14px; max-width: 88%; }
.pv1 .in { background: #fff; justify-self: end; }
.pv1 .btns { display: flex; gap: 6px; padding: 0; justify-self: end; }
.pv1 .btns span { padding: 8px 12px; border-radius: 10px; background: #fff; font-size: 13px; }
.pv1 .out { background: #dcf8c6; justify-self: start; }
.pv2 b { font-size: 46px; text-align: center; }
.pv2 span { text-align: center; color: var(--mute); }
.pv2 i { font-style: normal; text-align: center; padding: 10px; border-radius: 12px; background: var(--bg); }
.pv3 { display: grid; gap: 10px; width: 260px; }
.pv3 span { padding: 14px 16px; border-radius: 14px; background: #fff; border-inline-start: 5px solid var(--c); font-weight: 700; box-shadow: 0 10px 20px -14px rgba(20, 20, 58, .3); }

/* ===== CALC: empty chairs ===== */
.cc { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.cc__in { padding: clamp(24px, 3.4vw, 46px); display: grid; gap: 14px; align-content: start; }
.f { display: flex; justify-content: space-between; color: var(--mute); margin-top: 8px; }
.ov { font-size: 26px; font-weight: 700; color: var(--ink); }
.cc__in input[type="range"] { -webkit-appearance: none; appearance: none; height: 6px; border-radius: 6px; background: linear-gradient(to left, var(--acc) var(--v, 20%), var(--bg2) var(--v, 20%)); direction: rtl; }
.cc__in input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 4px solid var(--acc); }
.cc__in input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--acc); }
.cc__r { padding: clamp(24px, 3.4vw, 46px); background: var(--ink); color: #fff; display: grid; gap: 20px; align-content: start; }
.chairs { display: grid; grid-template-columns: repeat(20, 1fr); gap: 4px; }
.chairs i { aspect-ratio: 1; border-radius: 4px 4px 2px 2px; background: rgba(255, 255, 255, .14); transition: background .4s; }
.chairs i.no { background: #ff4d6d; }
.chairs i.back { background: #2dd4bf; }
.cc__nums { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cc__nums p { display: grid; gap: 4px; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .06); }
.cc__nums small { opacity: .7; font-size: 13px; }
.cc__nums b { font-size: clamp(28px, 2.8vw, 40px); }
.lose { color: #ff8099; } .save { color: #5eead4; }
.cc__r .fine { color: rgba(255, 255, 255, .55); font-size: 12px; }

/* ===== PRICING ===== */
.bill { position: relative; display: flex; width: fit-content; margin: 0 auto 36px; padding: 5px; border-radius: 99px; background: #fff; border: 1px solid var(--line); }
.bill button { position: relative; z-index: 1; padding: 10px 22px; border-radius: 99px; font-weight: 700; transition: color .4s; }
.bill button[aria-pressed="true"] { color: #fff; }
.bill small { font-weight: 500; font-size: 12px; opacity: .85; }
.bill__pill { position: absolute; top: 5px; bottom: 5px; border-radius: 99px; background: var(--grad); transition: all .6s var(--ease); }
.pc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.pc article { position: relative; padding: 30px 26px; border-radius: 28px; background: #fff; border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.pc h3 { font-size: 26px; }
.pc .d { color: var(--mute); }
.pc .p { padding-block: 12px; border-block: 1px solid var(--line); color: var(--mute); }
.pc .p b { font-size: 52px; color: var(--ink); letter-spacing: -.03em; display: inline-block; min-width: 2.2ch; }
.pc ul { display: grid; gap: 8px; margin-bottom: 8px; }
.pc li::before { content: "✓ "; color: var(--acc); font-weight: 700; }
.pc .pop { background: var(--ink); color: #fff; transform: translateY(-12px); box-shadow: 0 40px 80px -40px rgba(91, 91, 246, .8); }
.pc .pop .d, .pc .pop .p { color: rgba(255, 255, 255, .7); border-color: rgba(255, 255, 255, .15); }
.pc .pop .p b { color: #fff; }
.tag { position: absolute; top: -13px; inset-inline-start: 26px; padding: 5px 12px; border-radius: 99px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 700; }
.vat { text-align: center; margin-top: 16px; color: var(--mute); font-size: 13px; }

/* ===== LOVE: rating board ===== */
.board { display: grid; grid-template-columns: .8fr 1.2fr 1fr; grid-template-rows: repeat(3, auto); gap: 16px; }
.score { grid-row: span 3; padding: 30px; border-radius: 28px; background: #fff; border: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.score > b { font-size: clamp(80px, 8vw, 120px); line-height: .9; letter-spacing: -.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.score__s { color: #f5b301; letter-spacing: 3px; font-size: 20px; }
.score small { color: var(--mute); }
.bars { display: grid; gap: 8px; margin-top: 20px; }
.bars li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; align-items: center; font-size: 13px; color: var(--mute); }
.bars i { height: 8px; border-radius: 8px; background: var(--bg2); position: relative; overflow: hidden; }
.bars i::after { content: ""; position: absolute; inset: 0; width: calc(var(--w) * 100%); border-radius: 8px; background: var(--grad); transform-origin: right; transform: scaleX(var(--g, 0)); transition: transform 1.4s var(--ease); }
.board.in .bars i::after { --g: 1; }
.lq { margin: 0; padding: 24px; border-radius: 24px; background: #fff; border: 1px solid var(--line); display: grid; gap: 12px; align-content: space-between; }
.lq blockquote { font-size: 18px; line-height: 1.5; }
.lq figcaption { color: var(--mute); font-size: 14px; }
.lq figcaption b { color: var(--ink); }
.lq--big { grid-row: span 3; padding: 0; overflow: hidden; }
.lq--big img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.lq--big blockquote { padding: 0 24px; font-size: clamp(20px, 1.8vw, 26px); font-weight: 500; letter-spacing: -.01em; }
.lq--big figcaption { padding: 0 24px 24px; }
.lq--acc { background: var(--grad); color: #fff; border: 0; }
.lq--acc figcaption, .lq--acc figcaption b { color: rgba(255, 255, 255, .85); }

/* ===== CTA ===== */
.ct { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 100px) clamp(24px, 5vw, 70px); border-radius: 40px; background: var(--grad); color: #fff; display: grid; gap: 18px; justify-items: center; text-align: center; }
.ct .h2 span { opacity: .75; }
.ct .lead { color: rgba(255, 255, 255, .85); margin-inline: auto; }
.ct__btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.ct .btn--ink { background: #fff; color: var(--ink); }
.ct .btn--line { background: rgba(255, 255, 255, .15); color: #fff; border-color: rgba(255, 255, 255, .35); }

@media (max-width: 1100px) { .nav__end > .btn--line { display: none; } .t1 { inset-inline-end: -10px; } .t2 { inset-inline-start: -10px; } }
@media (max-width: 1000px) {
  .hero__grid, .cm__grid, .cc { grid-template-columns: 1fr; }
  .pn { grid-template-columns: 1fr; }
  .pc { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .pc .pop { transform: none; }
  .board { grid-template-columns: 1fr 1fr; }
  .score { grid-row: auto; grid-column: 1 / -1; }
  .lq--big { grid-row: auto; grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .hero .h1 { font-size: clamp(44px, 12.5vw, 60px); }
  .app__body { grid-template-columns: 1fr; }
  .app__side { display: none; }
  .ft__tabs { grid-template-columns: 1fr 1fr; }
  .ft__ink { display: none; }
  .ft__tabs button[aria-selected="true"] { background: #fff; }
  .chairs { grid-template-columns: repeat(14, 1fr); }
  .board { grid-template-columns: 1fr; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .ct { border-radius: 28px; }
  .mesh i { filter: blur(40px); }
}
