/* ReplyNeat landing - mobile first, system fonts only, no external requests. */
:root {
  --bg: #f7f8f6;
  --surface: #ffffff;
  --ink: #17201b;
  --muted: #55625a;
  --line: #dde3dd;
  --brand: #0f7a55;
  --brand-ink: #ffffff;
  --brand-soft: #e5f3ec;
  --radius: 14px;
  --max: 1040px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111613;
    --surface: #1a211d;
    --ink: #e9efe9;
    --muted: #a6b3aa;
    --line: #2c3630;
    --brand: #3fbf8a;
    --brand-ink: #0b130f;
    --brand-soft: #1d3329;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Arabic", Tahoma, Arial, sans-serif;
}
[dir="rtl"] body, body[dir="rtl"] { line-height: 1.8; }
a { color: var(--brand); }
img, video { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* header */
.top { border-bottom: 1px solid var(--line); background: var(--surface); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 56px; gap: 12px; }
.logo { font-weight: 700; font-size: 1.15rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.logo span { color: var(--brand); }
.lang { font-size: .95rem; text-decoration: none; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; }

/* sections */
section { padding: 40px 0; }
section + section { border-top: 1px solid var(--line); }
h1 { font-size: clamp(1.7rem, 6vw, 2.6rem); line-height: 1.2; margin: 0 0 14px; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.35rem, 4.5vw, 1.8rem); line-height: 1.3; margin: 0 0 18px; }
h3 { font-size: 1.1rem; margin: 0 0 6px; }
p { margin: 0 0 12px; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 40em; }
.small { font-size: .9rem; color: var(--muted); }

/* hero */
.hero { padding-top: 32px; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.btn {
  display: inline-block; padding: 12px 20px; border-radius: 10px; text-decoration: none;
  font-weight: 600; border: 2px solid var(--brand); min-height: 48px;
}
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-ghost { color: var(--brand); background: transparent; }
.video-slot {
  margin-top: 24px; aspect-ratio: 16 / 9; background: var(--surface); border: 1px dashed var(--line);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  color: var(--muted); text-align: center; padding: 16px;
}

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 14px; counter-increment: s; }
.steps li::before {
  content: counter(s); display: inline-flex; width: 30px; height: 30px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand); font-weight: 700; align-items: center; justify-content: center; margin-bottom: 8px;
}

/* plans */
.plans { display: grid; gap: 16px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; }
.plan.featured { border: 2px solid var(--brand); }
.price { font-size: 1.9rem; font-weight: 700; margin: 6px 0 0; }
.price small { font-size: 1rem; font-weight: 400; color: var(--muted); }
.plan ul { padding-inline-start: 20px; margin: 14px 0 0; }
.plan li { margin-bottom: 6px; }
.note { margin-top: 16px; }
.tag { display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 6px; background: var(--brand-soft); color: var(--muted); font-size: .82rem; line-height: 1.5; }

/* guarantee */
.guarantee { background: var(--brand-soft); border-radius: var(--radius); padding: 20px; }
.guarantee ul { margin: 0; padding-inline-start: 20px; }

/* faq */
details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; }
summary { cursor: pointer; padding: 14px 16px; font-weight: 600; list-style-position: inside; }
details > div { padding: 0 16px 14px; }

/* contact + footer */
.contact { text-align: center; }
.mail { font-size: 1.25rem; font-weight: 700; word-break: break-all; }
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: .88rem; color: var(--muted); }
footer p { margin-bottom: 8px; }

/* text page (privacy) */
.doc { max-width: 720px; padding-top: 28px; padding-bottom: 40px; }
.doc h2 { margin-top: 28px; font-size: 1.2rem; }

@media (min-width: 760px) {
  section { padding: 56px 0; }
  .hero .grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; }
  .hero .video-slot { margin-top: 0; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .plans { grid-template-columns: 1fr 1fr; }
}
