/* Logical properties only, so the same sheet serves right-to-left and left-to-right. */
:root {
  --bg: #f6f9f9; --surface: #ffffff; --band: #ecf5f3; --ink: #14232a; --muted: #4d6169; --line: #d6e3e2;
  --accent: #0f766e; --accent-ink: #ffffff; --accent-text: #0b5d57; --soft: #d9efeb;
  --warn: #92400e; --warn-bg: #fdf0d5; --ok: #166534; --ok-bg: #dcf5e3; --glow: rgba(15, 118, 110, .16);
}
[data-theme="dark"] {
  --bg: #0e1518; --surface: #172227; --band: #121d21; --ink: #e8f0f1; --muted: #a3b8bd; --line: #2a3b41;
  --accent: #4fd1c5; --accent-ink: #06201d; --accent-text: #81e6d9; --soft: #163b37;
  --warn: #fcd9a0; --warn-bg: #45300c; --ok: #b6f0c8; --ok-bg: #143d26; --glow: rgba(79, 209, 197, .14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-block-start: 5rem; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 1.0625rem/1.65 "Segoe UI", "Arial Hebrew", Arial, system-ui, sans-serif; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.2rem; }
h1 em { display: block; font-style: normal; color: var(--accent-text); }
p { margin: 0 0 1em; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { color: var(--accent-text); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.wrap { width: min(1100px, 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: 760px; }
.skip { position: absolute; inset-block-start: -100px; inset-inline-start: 1rem; background: var(--surface); padding: .6rem 1rem; z-index: 20; }
.skip:focus { inset-block-start: 1rem; }
.noscript { padding: 1rem; text-align: center; }

.top { position: sticky; inset-block-start: 0; z-index: 10; background: var(--surface); border-block-end: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.mark { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 10px; background: var(--accent); color: var(--accent-ink); }
.links { display: flex; gap: 1.4rem; }
.links a { color: var(--ink); text-decoration: none; }
.links a:hover { color: var(--accent-text); }
.theme { font: inherit; font-size: .9rem; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: .35rem .9rem; cursor: pointer; }

section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.band { background: var(--band); }
.sub { color: var(--muted); max-width: 40ch; }
.fine { color: var(--muted); font-size: .9rem; margin: 0; }

.hero { background: radial-gradient(60% 70% at 15% 20%, var(--glow), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.pill { display: inline-block; background: var(--soft); color: var(--accent-text); border-radius: 999px; padding: .2rem .9rem; font-size: .9rem; font-weight: 600; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 38ch; }
.cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.button { display: inline-block; background: var(--accent); color: var(--accent-ink); border: 2px solid var(--accent); border-radius: 12px; padding: .7rem 1.4rem; font-weight: 600; text-decoration: none; }
.button.ghost { background: transparent; color: var(--accent-text); }
.button[hidden] { display: none; }

.preview { margin: 0; text-align: center; }
.phone { max-width: 360px; margin: 0 auto .9rem; text-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 1.3rem; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45); }
.phone-head { display: flex; justify-content: space-between; align-items: baseline; margin-block-end: .8rem; }
.phone-head strong { font-size: 1.4rem; }
.phone-head span { color: var(--muted); font-size: .9rem; }
.phone li { display: grid; grid-template-columns: 3.4rem 1fr auto; gap: .6rem; align-items: center; padding-block: .75rem; border-block-start: 1px solid var(--line); font-size: .93rem; line-height: 1.35; }
.phone time { font-weight: 700; font-variant-numeric: tabular-nums; }
.tag { font-size: .75rem; border-radius: 999px; padding: .1rem .6rem; background: var(--soft); color: var(--accent-text); }
.tag.ok { background: var(--ok-bg); color: var(--ok); }
.tag.warn { background: var(--warn-bg); color: var(--warn); }
.phone-note { margin-block-start: .8rem; background: var(--warn-bg); color: var(--warn); border-radius: 12px; padding: .65rem .85rem; font-size: .9rem; }

.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.quotes li { background: var(--surface); border-radius: 16px; border-inline-start: 4px solid var(--accent); padding: 1.2rem 1.3rem; font-size: 1.15rem; }
.cards, .steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.1rem; margin-block-start: 1.5rem; }
.cards li, .steps li { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 1.5rem; }
.cards p, .steps p { color: var(--muted); margin: 0; }
.steps { counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 700; margin-block-end: .9rem; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2.5rem; align-items: start; }
.checks li, .crosses li { position: relative; padding-block: .8rem; padding-inline-start: 2.2rem; border-block-end: 1px solid var(--line); }
.checks li::before, .crosses li::before { position: absolute; inset-inline-start: 0; font-weight: 700; color: var(--accent-text); }
.checks li::before { content: "\2713"; }
.crosses li::before { content: "\2715"; color: var(--muted); }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: .9rem 1.2rem; margin-block-end: .7rem; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: .7rem 0 0; }
footer { border-block-start: 1px solid var(--line); padding-block: 2rem; }

@media (max-width: 820px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .links { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
