/* NadlanSign public site. Mobile first; light by default, dark by system setting or the toggle. */
:root {
  --ground: #fbfcfb;
  --surface: #ffffff;
  --band: #f1f5f4;
  --line: #dfe6e5;
  --ink: #13201f;
  --muted: #5d6f70;
  --accent: #0f8a7c;
  --accent-ink: #ffffff;
  --accent-soft: rgba(15, 138, 124, .1);
  --ok: #1f7a4a;
  --phone: #13201f;
  --screen: #ffffff;
  --shadow: 0 18px 50px rgba(19, 32, 31, .14);
  --display: "Karantina", "IBM Plex Sans Hebrew", "Segoe UI", Arial, sans-serif;
  --body: "IBM Plex Sans Hebrew", "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #0b1214; --surface: #121c1f; --band: #0f181a; --line: #233437; --ink: #eaf2f1; --muted: #93a8a9;
    --accent: #35d0bd; --accent-ink: #062321; --accent-soft: rgba(53, 208, 189, .14); --ok: #7fe0a6;
    --phone: #050a0b; --screen: #121c1f; --shadow: 0 18px 50px rgba(0, 0, 0, .5); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ground: #0b1214; --surface: #121c1f; --band: #0f181a; --line: #233437; --ink: #eaf2f1; --muted: #93a8a9;
  --accent: #35d0bd; --accent-ink: #062321; --accent-soft: rgba(53, 208, 189, .14); --ok: #7fe0a6;
  --phone: #050a0b; --screen: #121c1f; --shadow: 0 18px 50px rgba(0, 0, 0, .5); color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 17px/1.65 var(--body); }
img, svg { display: block; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 7vw, 3.3rem); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 5vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 720px; }
section { padding: 56px 0; }
.band { background: var(--band); }
.section-lead { color: var(--muted); max-width: 46em; font-size: 1.05rem; }
.fine { color: var(--muted); font-size: .88rem; margin-top: .8em; }
.note { color: var(--muted); font-size: .95rem; margin-top: 24px; padding-inline-start: 14px; border-inline-start: 3px solid var(--accent); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 12px;
  background: var(--accent); color: var(--accent-ink); font: 600 1rem var(--body); text-decoration: none; border: 2px solid var(--accent); cursor: pointer; }
.button:hover { filter: brightness(1.06); }
.button.ghost { background: transparent; color: var(--accent); }
.button.small { min-height: 38px; padding: 0 14px; font-size: .92rem; }
.button.wide { width: 100%; }
.button[disabled] { opacity: .6; cursor: wait; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--ground) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 12px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.1rem; }
.brand svg { width: 30px; height: 30px; }
.top-nav { display: none; gap: 22px; margin-inline-start: 18px; }
.top-nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.top-nav a:hover { color: var(--ink); }
.theme { margin-inline-start: auto; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.theme svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.theme .moon { display: none; }
:root[data-theme="dark"] .theme .sun { display: none; }
:root[data-theme="dark"] .theme .moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme .sun { display: none; }
  :root:not([data-theme="light"]) .theme .moon { display: block; }
}

/* Hero */
.hero { padding: 36px 0 56px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.eyebrow { color: var(--accent); font-weight: 600; margin-bottom: .6em; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Phone mockup */
.phone { position: relative; margin: 0 auto; width: min(300px, 82vw); }
.phone-body { background: var(--phone); border-radius: 42px; padding: 12px; box-shadow: var(--shadow); }
.phone-notch { width: 90px; height: 22px; background: var(--phone); border-radius: 0 0 14px 14px; margin: -12px auto 0; position: relative; z-index: 1; }
.screen { background: var(--screen); border-radius: 32px; padding: 14px 14px 18px; margin-top: -10px; min-height: 520px; display: flex; flex-direction: column; gap: 12px; }
.screen-bar { display: flex; align-items: center; gap: 8px; font-size: .78rem; color: var(--muted); padding-top: 10px; }
.screen-bar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.doc { border: 1px solid var(--line); border-radius: 14px; padding: 12px; font-size: .8rem; }
.doc-title { font-weight: 700; font-size: .9rem; margin-bottom: .6em; }
.doc dl { margin: 0 0 10px; display: grid; gap: 4px; }
.doc dl div { display: flex; justify-content: space-between; gap: 8px; }
.doc dt { color: var(--muted); }
.doc dd { margin: 0; font-weight: 500; }
.doc-line { display: block; height: 7px; border-radius: 4px; background: var(--line); margin-top: 7px; }
.doc-line.short { width: 62%; }
.pad { border: 2px dashed var(--line); border-radius: 14px; padding: 8px 10px 4px; flex: 1; min-height: 120px; display: flex; flex-direction: column; }
.pad-label { font-size: .72rem; color: var(--muted); }
.pad svg { width: 100%; margin-top: auto; }
.pad .ink { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 420; stroke-dashoffset: 0; }
.screen-button { display: grid; place-items: center; min-height: 44px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: .92rem; }
.phone-toast { position: absolute; inset-inline-start: -10px; bottom: 70px; display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 12px; font-size: .82rem; font-weight: 600; box-shadow: var(--shadow); }
.phone-toast svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--ok); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: no-preference) {
  .pad .ink { animation: draw 3.6s ease-in-out infinite; }
  .phone-toast { animation: toast 3.6s ease-in-out infinite; }
  @keyframes draw { 0% { stroke-dashoffset: 420; } 45%, 100% { stroke-dashoffset: 0; } }
  @keyframes toast { 0%, 50% { opacity: 0; transform: translateY(8px); } 60%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
}

/* Cards and steps */
.cards { display: grid; gap: 16px; margin-top: 28px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.card p { color: var(--muted); margin: 0; }
.card .icon { width: 30px; height: 30px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 12px; }
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; counter-reset: none; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.steps p { color: var(--muted); margin: 0; }
.step-num { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font: 700 1.5rem var(--display); margin-bottom: 12px; }

/* Own template */
.split { display: grid; gap: 32px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-inline-start: 28px; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .45em; width: 16px; height: 9px; border-inline-start: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg) scaleX(-1); }
.sheet { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; box-shadow: var(--shadow); max-width: 420px; width: 100%; margin: 0 auto; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; font-size: .8rem; color: var(--muted); padding-bottom: 12px; border-bottom: 2px solid var(--accent); margin-bottom: 8px; }
.sheet-logo { font: 700 1.5rem var(--display); color: var(--accent); }
.sheet-sign { display: flex; justify-content: space-between; gap: 16px; margin-top: 28px; font-size: .78rem; color: var(--muted); }
.sheet-sign span { flex: 1; border-top: 1px solid var(--muted); padding-top: 6px; text-align: center; }

/* Pricing */
.plans { display: grid; gap: 18px; margin-top: 28px; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--accent); }
.plan .ticks { margin-bottom: 24px; }
.plan .button { margin-top: auto; }
.badge { position: absolute; top: -13px; inset-inline-start: 22px; background: var(--accent); color: var(--accent-ink); font-size: .8rem; font-weight: 600; padding: 2px 12px; border-radius: 99px; margin: 0; }
.price { margin: 6px 0 0; }
.price .amount { font: 700 3rem/1 var(--display); }
.price .per { color: var(--muted); }
.price-full { color: var(--muted); font-size: .88rem; }

/* Testimonial */
.testimonial blockquote { margin: 0; font-size: 1.25rem; }
.testimonial cite { color: var(--muted); font-style: normal; font-size: 1rem; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
summary { cursor: pointer; list-style: none; font-weight: 600; padding: 14px 0; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); }

/* Sign-up */
.signup { display: grid; gap: 14px; margin-top: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; }
.field label, .field legend { font-weight: 600; font-size: .95rem; }
.optional { color: var(--muted); font-weight: 400; }
input[type="text"], input:not([type]), input[type="tel"], input[type="email"] {
  width: 100%; min-height: 48px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--ground); color: var(--ink); font: 1rem var(--body); }
input[dir="ltr"] { text-align: right; }
input[dir="ltr"]::placeholder { text-align: right; }
.choice { display: flex; align-items: flex-start; gap: 10px; font-weight: 400 !important; padding: 6px 0; cursor: pointer; }
.choice input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--accent); flex: none; }
.plan-pick legend { margin-bottom: 4px; }
.trap { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: #c0392b; font-weight: 600; margin: 0; }
:root[data-theme="dark"] .form-error { color: #ff8c80; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .form-error { color: #ff8c80; } }
.done { margin-top: 24px; background: var(--surface); border: 2px solid var(--accent); border-radius: 18px; padding: 24px; }
.done:focus { outline: none; }

/* Footer */
.bottom { padding: 32px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.bottom p { margin: 0; }

@media (min-width: 720px) {
  section { padding: 80px 0; }
  .top-nav { display: flex; }
  .cards.three { grid-template-columns: repeat(3, 1fr); }
  .cards.two { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); max-width: 820px; }
  .signup { padding: 30px; }
}
@media (min-width: 960px) {
  .hero { padding: 64px 0 80px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; }
  .split { grid-template-columns: 1fr 1fr; }
}
