:root { --blue: #1a73e8; --blue-2: #4c8dff; --ink: #14171c; --muted: #5f6672; --line: #e8ebf0; --bg: #f7f9fc; --card: #fff; --ok: #188038; --warn: #b06000; }
* { box-sizing: border-box; }
html, body { margin: 0; overflow-x: clip; }
body { font: 16px/1.55 "Inter", "Google Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Hebrew", "Noto Sans Arabic", sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--blue); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
nav.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { font-weight: 800; font-size: 20px; text-decoration: none; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.ticks { color: var(--blue); font-weight: 900; letter-spacing: -.18em; padding-inline-end: .18em; }
select.lang { border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 6px 10px; font: inherit; font-size: 14px; }

.hero { text-align: center; padding: 56px 0 30px; }
.hero h1 { font-size: clamp(34px, 6vw, 60px); line-height: 1.08; margin: 0 0 16px; letter-spacing: -.02em; }
.hero p { font-size: clamp(17px, 2.2vw, 21px); color: var(--muted); max-width: 640px; margin: 0 auto 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 14px; padding: 14px 24px; font: 700 16px/1 inherit; font-family: inherit; cursor: pointer; text-decoration: none; transition: transform .12s, box-shadow .12s, filter .12s; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.04); }
.btn.primary { background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff; box-shadow: 0 10px 30px rgba(26,115,232,.32); }
.btn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn.danger { background: #fff; color: #c5221f; border: 1px solid #f3c1bd; }
.btn.small { padding: 9px 14px; font-size: 14px; border-radius: 10px; }
.btn[disabled] { opacity: .5; cursor: default; transform: none; }

.demo { margin: 40px auto 10px; max-width: 560px; background: var(--card); border-radius: 20px; box-shadow: 0 20px 60px rgba(20,23,28,.10); padding: 22px; text-align: start; }
.demo .mail { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.demo .mail:last-child { border: 0; }
.demo .mail .tk { font-weight: 900; letter-spacing: -.18em; min-width: 26px; color: #a0a6b0; font-size: 18px; }
.demo .mail.read .tk { color: var(--blue); }
.demo .mail b { display: block; }
.demo .mail small { color: var(--muted); }
.pop-in { animation: pop .5s ease both; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin: 40px 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.big { font-size: 34px; font-weight: 800; color: var(--blue); line-height: 1.1; }
.muted { color: var(--muted); }
footer.bottom { padding: 30px 0 50px; color: var(--muted); font-size: 14px; display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
footer.bottom a { color: var(--muted); }

.narrow { max-width: 620px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px; margin: 30px auto; }
input[type=email], input[type=text] { width: 100%; padding: 13px 14px; border: 1px solid #d5dae1; border-radius: 12px; font: inherit; }
.ok { color: var(--ok); font-weight: 600; }
.err { color: #c5221f; }

/* dashboard */
.stats4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin: 18px 0; }
.stats4 .card small { color: var(--muted); display: block; margin-top: 4px; }
table.mails { width: 100%; border-collapse: collapse; background: var(--card); border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
table.mails th, table.mails td { padding: 12px 14px; text-align: start; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; }
table.mails th { background: #fafbfd; color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
table.mails tr { cursor: pointer; }
table.mails tbody tr:hover { background: #f5f8ff; }
.st { display: inline-flex; gap: 6px; align-items: center; padding: 3px 10px; border-radius: 10px; background: #f1f3f4; color: var(--muted); font-size: 13px; white-space: nowrap; }
.st.tk-read { background: #e8f0fe; color: #1967d2; }
.st.tk-optout { background: #fef7e0; color: var(--warn); }
.hours { display: flex; align-items: flex-end; gap: 3px; height: 90px; margin-top: 10px; }
.hours div { flex: 1; background: #d2e3fc; border-radius: 4px 4px 0 0; min-height: 2px; position: relative; }
.hours div.best { background: var(--blue); }
.locked { position: relative; }
.locked::after { content: "⭐ Premium"; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(255,255,255,.75); border-radius: 18px; font-weight: 700; color: var(--warn); }
.drawer { position: fixed; inset-block: 0; inset-inline-end: 0; width: min(420px, 100%); background: #fff; box-shadow: -10px 0 40px rgba(0,0,0,.12); padding: 24px; overflow: auto; transform: translateX(110%); transition: transform .25s, visibility .25s; z-index: 10; visibility: hidden; }
[dir=rtl] .drawer { transform: translateX(-110%); }
.drawer.open { transform: none; visibility: visible; }
.drawer ul { list-style: none; padding: 0; }
.drawer li { padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.spacer { flex: 1; }
.price { font-size: 52px; font-weight: 800; letter-spacing: -.02em; }
.price small { font-size: 18px; color: var(--muted); font-weight: 500; }
ul.check { list-style: none; padding: 0; margin: 18px 0; text-align: start; }
ul.check li { padding: 6px 0; }
ul.check li::before { content: "✓✓ "; color: var(--blue); font-weight: 900; letter-spacing: -.18em; padding-inline-end: .4em; }
.legal h2 { margin-top: 28px; font-size: 19px; }
.legal p, .legal li { color: #333a45; }
@media (max-width: 640px) { table.mails .hide-sm { display: none; } }
