/* Bektav's site (#172): a law office's look - ink navy, ivory paper, a gold seal; serif headings. Logical properties
   only (margin-inline-start, text-align: start...), so Hebrew right to left mirrors everything. */
@font-face { font-family: "Plex"; font-weight: 100 700; font-display: swap; src: url(/fonts/ibm-plex-sans-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex"; font-weight: 100 700; font-display: swap; src: url(/fonts/ibm-plex-sans-cyrillic-wght-normal.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Plex"; font-weight: 400; font-display: swap; src: url(/fonts/ibm-plex-sans-hebrew-hebrew-400-normal.woff2) format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Plex"; font-weight: 600; font-display: swap; src: url(/fonts/ibm-plex-sans-hebrew-hebrew-600-normal.woff2) format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Serif"; font-weight: 200 900; font-display: swap; src: url(/fonts/source-serif-4-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Serif"; font-weight: 200 900; font-display: swap; src: url(/fonts/source-serif-4-cyrillic-wght-normal.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Serif"; font-weight: 100 900; font-display: swap; src: url(/fonts/noto-serif-hebrew-hebrew-wght-normal.woff2) format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+20AA, U+25CC, U+FB1D-FB4F; }

:root {
  --navy: #0b1426; --navy-2: #14213d; --navy-3: #1f3157;
  --paper: #fbf8f1; --ivory: #f3eee2; --card: #fffdf8;
  --ink: #18202e; --muted: #5d6675; --line: #e3dccb; --line-dark: #2a3a5c;
  --gold: #b08a2e; --gold-2: #d6b75e; --gold-soft: #f4ead0;
  --sans: "Plex", -apple-system, "Segoe UI", system-ui, sans-serif;
  --serif: "Serif", Georgia, "Times New Roman", serif;
  --r: 4px; --wrap: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-3); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(40px, 6vw, 72px); }
h2 { font-size: clamp(30px, 3.6vw, 44px); }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
:lang(he) .kicker { letter-spacing: .04em; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: var(--r);
  font: 600 15px/1.2 var(--sans); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: .15s; white-space: nowrap; }
.btn.lg { padding: 15px 28px; font-size: 16px; }
.btn.gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn.gold:hover { background: #9a7726; }
.btn.navy { background: var(--navy-2); color: #fff; }
.btn.navy:hover { background: var(--navy); }
.btn.line { border-color: currentColor; color: inherit; background: transparent; }
.btn.line:hover { background: rgb(255 255 255 / .08); }
.btn.quiet { color: inherit; background: transparent; }

/* header */
.burger { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 10px;
  background: none; color: #fff; cursor: pointer; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nav { position: sticky; top: 0; z-index: 20; background: rgb(11 20 38 / .96); backdrop-filter: blur(8px); color: #fff;
  border-bottom: 1px solid var(--line-dark); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand b { font-family: var(--serif); font-size: 24px; font-weight: 600; letter-spacing: .01em; }
.brand small { font-family: var(--serif); font-size: 15px; color: var(--gold-2); }
.nav .links { display: flex; gap: 22px; margin-inline-start: 12px; }
.nav .links a { color: #c9d1e0; text-decoration: none; font-size: 15px; }
.nav .links a:hover { color: #fff; }
.nav-end { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.langs { display: flex; border: 1px solid var(--line-dark); border-radius: var(--r); overflow: hidden; }
.langs a { padding: 6px 9px; font-size: 12px; font-weight: 600; color: #9aa6bd; text-decoration: none; }
.langs a[aria-current] { background: var(--navy-3); color: #fff; }

/* hero */
.hero { position: relative; background: var(--navy); color: #e8ecf3; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background:
  radial-gradient(900px 500px at 15% 0%, rgb(176 138 46 / .14), transparent 60%); pointer-events: none; }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding: 88px 24px 96px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--gold-2); }
.hero .lead { font-size: 20px; color: #c3cbda; max-width: 600px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 30px 0 14px; }
.hero .btn.line { color: #fff; }
.hero .small { color: #8f9bb3; }
.hero-visual { position: relative; }   /* (the seal card sits on the photo's corner) */
.hero-photo { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 30px 80px -30px #000;
  border: 1px solid var(--line-dark); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) contrast(1.05); }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgb(11 20 38 / .75)); }
.hero-seal { position: absolute; z-index: 2; inset-inline-start: -36px; bottom: 32px; background: var(--card); color: var(--ink);
  border-radius: var(--r); padding: 16px 18px; width: 290px; box-shadow: 0 20px 50px -20px #000; border-top: 3px solid var(--gold); }
.hero-seal b { display: block; font-family: var(--serif); font-size: 17px; color: var(--navy); }
.hero-seal code { display: block; margin-top: 6px; font: 12px/1.4 ui-monospace, Menlo, monospace; color: var(--muted); direction: ltr;
  text-align: start; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-seal .ok { color: #2f6b45; font-size: 13px; font-weight: 600; margin-top: 6px; display: block; }

/* the sources strip */
.sources { background: var(--navy-2); color: #c9d1e0; border-top: 1px solid var(--line-dark); }
.sources .wrap { display: flex; flex-wrap: wrap; gap: 10px 30px; align-items: center; justify-content: center; padding: 22px 24px; font-size: 15px; }
.sources span { display: inline-flex; align-items: center; gap: 8px; }
.sources span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-2); }

/* sections */
.section { padding: 100px 0; }
.section.ivory { background: var(--ivory); }
.section.dark { background: var(--navy); color: #c9d1e0; }
.section.dark h2, .section.dark h3 { color: #fff; }
.head { max-width: 760px; margin-bottom: 52px; }
.head.center { margin-inline: auto; text-align: center; }
.head.center .kicker::before { display: none; }
.head p { font-size: 19px; color: var(--muted); }
.section.dark .head p { color: #9fabc2; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split figure { margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: 0 24px 60px -30px rgb(11 20 38 / .45); }
.split figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-inline-start: 30px; }
.ticks li::before { content: "§"; position: absolute; inset-inline-start: 0; top: 0; font-family: var(--serif); font-weight: 700; color: var(--gold); }

/* the timeline */
.tl { position: relative; max-width: 820px; margin: 0 auto; padding-inline-start: 34px; }
.tl::before { content: ""; position: absolute; inset-inline-start: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.ev { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 20px; margin-bottom: 14px;
  box-shadow: 0 1px 0 rgb(24 32 46 / .04); }
.ev::before { content: ""; position: absolute; inset-inline-start: -31px; top: 20px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--card); border: 2px solid var(--gold); }
.ev-head { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.ev-head .src { font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 11px; color: var(--navy-3);
  background: var(--ivory); border: 1px solid var(--line); padding: 2px 8px; border-radius: 2px; }
.ev-head time { font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
.ev-head b { color: var(--ink); }
.ev p { margin: 0; }
.ev .meta { margin-top: 8px; font: 12px/1.5 ui-monospace, Menlo, monospace; color: var(--muted); direction: ltr; text-align: start; }
.ev .tags { margin-top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.ev .tags span { font-size: 12px; background: var(--gold-soft); color: #7a5d16; padding: 2px 9px; border-radius: 2px; }

/* the figures under the sources */
.stats { background: var(--paper); border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 34px 24px; }
.stats div { display: flex; flex-direction: column; gap: 4px; }
.stats b { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--navy); }
.stats span { font-size: 15px; color: var(--muted); }

/* what it does: eight cards */
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 22px; }
.feat .ic { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy-2);
  color: var(--gold-2); margin-bottom: 16px; }
.feat h3 { font-size: 20px; }
.feat p { margin: 0; color: var(--muted); font-size: 15.5px; }
.split.rev > :first-child { order: 2; }

/* the pictures of the app (made of HTML, not screenshots) */
.mock { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 18px 20px;
  box-shadow: 0 24px 60px -30px rgb(11 20 38 / .45); font-size: 15px; }
.mock-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 10px; }
.mock-head span { font-size: 12px; background: var(--gold-soft); color: #7a5d16; padding: 2px 9px; border-radius: 2px; white-space: nowrap; }
.wave svg { width: 100%; height: 30px; fill: var(--navy-3); opacity: .55; margin-bottom: 8px; }
.ml { display: grid; grid-template-columns: 46px 64px 1fr auto; gap: 8px; align-items: baseline; padding: 9px 0; border-top: 1px solid var(--line); }
.ml time { font: 12px ui-monospace, Menlo, monospace; color: var(--muted); direction: ltr; }
.ml b { font-size: 13px; }
.ml .c1 { color: #3a6fd8; } .ml .c2 { color: #b0457a; } .ml .c3 { color: #2f7a4b; }
.ml.unsure { background: var(--gold-soft); margin: 0 -10px; padding-inline: 10px; }
.ml i { font-style: normal; font-weight: 700; color: #7a5d16; }
.mock.chat { background: #e9e3d6; display: grid; gap: 12px; }
.bub { background: var(--card); border-radius: 8px; padding: 10px 14px; max-width: 88%; box-shadow: 0 1px 0 rgb(0 0 0 / .06); }
.bh { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.bh b { color: #b0457a; } .bh time { color: var(--muted); direction: ltr; }
.vn { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--navy-3); margin: 6px 0; direction: ltr; }
.vn .bar { flex: 1; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--navy-3) 35%, var(--line) 35%); }
.bub p { margin: 0; border-top: 1px dashed var(--line); padding-top: 6px; }
.doc-mock { background: #fff; font-family: var(--serif); padding: 26px 28px; }
.dm-title { font-size: 13px; letter-spacing: .12em; color: var(--navy); border-bottom: 2px solid var(--navy); padding-bottom: 8px; margin-bottom: 12px; direction: ltr; text-align: center; }
.dl { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: center; padding: 6px 0; }
.dl em { font-style: normal; font-size: 12px; color: var(--muted); text-align: end; }
.dl span { height: 8px; border-radius: 2px; background: #e7e2d6; }
.dl:nth-child(3n) span { width: 70%; } .dl:nth-child(4n) span { background: var(--gold-soft); }
.dm-sha { margin-top: 14px; font: 11px ui-monospace, Menlo, monospace; color: var(--muted); direction: ltr; border-top: 1px solid var(--line); padding-top: 8px; }

/* uses */
.ucs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.uc { background: var(--card); padding: 28px 26px; }
.uc h3 { font-size: 20px; }
.uc h3::before { content: "§ "; color: var(--gold); }
.uc p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* integrity: a grid of articles */
.articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.art { background: var(--navy); padding: 34px 30px; }
.art .no { font-family: var(--serif); font-size: 15px; color: var(--gold-2); margin-bottom: 14px; display: block; }
.art h3 { font-size: 21px; }
.art p { margin: 0; color: #9fabc2; font-size: 16px; }

/* who it's for */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.case { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.case img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; filter: saturate(.8); }
.case div { padding: 26px; }
.case p { color: var(--muted); margin: 0; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; counter-reset: st; }
.step { border-top: 2px solid var(--navy-2); padding-top: 22px; }
.step::before { counter-increment: st; content: counter(st, upper-roman) "."; display: block; font-family: var(--serif); font-size: 30px;
  color: var(--gold); margin-bottom: 8px; }
.step p { color: var(--muted); }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 24px; display: flex; flex-direction: column; }
.plan.main { border-color: var(--navy-2); box-shadow: 0 20px 50px -30px rgb(11 20 38 / .5); position: relative; }
.plan.main::before { content: ""; position: absolute; top: -1px; inset-inline: -1px; height: 4px; background: var(--gold); }
.plan h3 { margin-bottom: 4px; }
.price { font-family: var(--serif); font-size: 36px; color: var(--navy); margin: 8px 0 2px; }
.price small { display: block; margin-top: 4px; font-family: var(--sans); font-size: 14px; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 8px; font-size: 15px; flex: 1; align-content: start; }
.plan li { padding-inline-start: 22px; position: relative; }
.plan li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--gold); font-weight: 700; }
.plans-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 22px; }

/* questions */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 21px; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 26px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* the last word */
.final { background: var(--navy); color: #fff; text-align: center; padding: 110px 0; position: relative; overflow: hidden; }
.final::before { content: "§"; position: absolute; font-family: var(--serif); font-size: 520px; line-height: 1; color: rgb(255 255 255 / .03);
  top: -60px; inset-inline-end: -40px; }
.final h2 { color: #fff; font-size: clamp(36px, 5vw, 60px); }
.final p { color: #9fabc2; font-size: 19px; }

/* footer */
.foot { background: #070d1a; color: #8f9bb3; font-size: 15px; padding: 64px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.foot h4 { color: #fff; font-family: var(--serif); font-weight: 600; font-size: 17px; margin: 0 0 14px; }
.foot a { display: block; color: #8f9bb3; text-decoration: none; margin-bottom: 8px; }
.foot a:hover { color: #fff; }
.foot .langs { display: inline-flex; margin-top: 6px; }
.foot .langs a { display: inline-block; margin: 0; }
.foot .brand { color: #fff; margin-bottom: 14px; }
.foot-end { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; border-top: 1px solid #1a2538;
  margin-top: 44px; padding-top: 22px; font-size: 13px; }

/* a document (privacy, terms...) */
.doc { max-width: 820px; margin: 0 auto; padding: 70px 24px 100px; }
.doc h1 { font-size: clamp(34px, 4vw, 48px); }
.doc h2 { font-size: 24px; margin-top: 1.8em; }
.doc .table { overflow-x: auto; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 0 0 1em; }
.doc th, .doc td { border: 1px solid var(--line); padding: 8px 10px; text-align: start; vertical-align: top; }
.doc th { background: var(--ivory); }

@media (max-width: 980px) {
  .feats { grid-template-columns: 1fr 1fr; }
  .ucs { grid-template-columns: 1fr; }
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .split.rev > :first-child { order: 0; }
  .hero-in, .split { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; }
  .hero-seal { inset-inline-start: 12px; }
  .articles, .cases, .steps { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr 1fr; }
  .nav .links { display: none; }
  .burger { display: inline-flex; }
  .nav.open .links { display: flex; flex-direction: column; gap: 4px; position: absolute; top: 100%; inset-inline: 0; margin: 0; padding: 12px 20px 16px;
    background: rgb(11 20 38); border-bottom: 1px solid var(--line-dark); }
  .nav.open .links a { padding: 9px 0; font-size: 16px; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .feats { grid-template-columns: 1fr; }
  .ml { grid-template-columns: 40px 1fr; } .ml span { grid-column: 1 / -1; } .ml i { display: none; }
  body { font-size: 16px; }
  .section { padding: 70px 0; }
  .plans { grid-template-columns: 1fr; }
  .nav-end .btn.quiet, .brand small, .nav .langs { display: none; }
  .nav-in { gap: 12px; }
  .nav-end { gap: 8px; }
  .nav-end .btn.gold { padding: 9px 12px; font-size: 14px; }
  .langs a { padding: 6px 7px; }
  .brand b { font-size: 21px; }
  .hero-visual { margin-inline: auto; }
  .hero-in { padding: 56px 20px 70px; }
}
.notfound { min-height: 50vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding-block: 72px; text-align: center; }
