/* TalkToMe — public company website (static, no build step, no external assets). */
:root {
  --bg: #ffffff;
  --surface: #f7faf9;
  --fg: #0f1b1a;
  --muted: #51605f;
  --line: #e3eae9;
  --brand: #0f766e;
  --brand-strong: #0b5f59;
  --brand-soft: #eef8f6;
  --radius: 14px;
  --max: 70rem;
  --shadow: 0 1px 2px rgba(15, 27, 26, .05), 0 10px 28px rgba(15, 27, 26, .05);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, -apple-system, "Segoe UI", "Noto Sans Arabic", Tahoma, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.8;
}

img, svg { max-width: 100%; height: auto; }
a { color: var(--brand-strong); text-underline-offset: .2em; }
a:hover { color: var(--brand); }
:focus-visible { outline: 3px solid #7dd3c8; outline-offset: 2px; border-radius: 6px; }

.skip-link {
  position: absolute; inset-inline-start: -9999px; top: 0; z-index: 60;
  background: var(--brand); color: #fff; padding: .65rem 1rem; text-decoration: none;
}
.skip-link:focus { inset-inline-start: 0; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: 1.25rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .94);
  border-block-end: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: .6rem 1.25rem; padding-block: .8rem;
}
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.15rem; color: var(--fg); text-decoration: none; }
.brand-mark {
  inline-size: 34px; block-size: 34px; border-radius: 10px; background: var(--brand);
  color: #fff; display: grid; place-items: center; font-size: .95rem; font-weight: 800;
}
.brand small { display: block; font-size: .72rem; font-weight: 600; color: var(--muted); }
.site-nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1.1rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--muted); font-weight: 600; text-decoration: none; padding-block: .2rem; border-block-end: 2px solid transparent; }
.site-nav a:hover { color: var(--fg); }
.site-nav a[aria-current="page"] { color: var(--brand-strong); border-block-end-color: var(--brand); }
.lang-switch { font-size: .9rem; color: var(--muted); white-space: nowrap; }

/* ---------- hero & sections ---------- */
.hero { background: var(--brand-soft); border-block-end: 1px solid var(--line); padding-block: 3.25rem 2.75rem; }
.eyebrow { margin: 0 0 .6rem; font-size: .85rem; font-weight: 700; letter-spacing: .06em; color: var(--brand-strong); text-transform: uppercase; }
h1 { font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.6rem); line-height: 1.3; margin: 0 0 1rem; }
h2 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem); line-height: 1.4; margin: 0 0 .9rem; }
h3 { font-size: 1.06rem; margin: 0 0 .45rem; }
.lead { font-size: 1.12rem; color: #24352f; margin: 0 0 1.1rem; max-width: 62ch; }
section { padding-block: 2.75rem; }
section + section { border-block-start: 1px solid var(--line); }
p { margin: 0 0 1rem; }
section p:last-child, .card p:last-child, li p:last-child { margin-block-end: 0; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }

.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); }

.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.15rem 1.15rem 1.15rem 3.4rem; position: relative; }
.steps li::before {
  content: counter(step);
  position: absolute; inset-inline-start: 1rem; top: 1.15rem;
  inline-size: 1.9rem; block-size: 1.9rem; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand-strong);
  display: grid; place-items: center; font-weight: 800; font-size: .95rem;
}

ul.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
ul.checks li { position: relative; padding-inline-start: 1.7rem; }
ul.checks li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--brand); font-weight: 800; }

.note { background: var(--surface); border: 1px solid var(--line); border-inline-start: 4px solid var(--brand); border-radius: 10px; padding: 1rem 1.15rem; }
.note p:last-child { margin-block-end: 0; }

.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-block-start: 1.25rem; }
.btn { display: inline-block; padding: .7rem 1.15rem; border-radius: 10px; font-weight: 700; text-decoration: none; border: 1px solid var(--brand); background: var(--brand); color: #fff; }
.btn:hover { background: var(--brand-strong); color: #fff; }
.btn.secondary { background: #fff; color: var(--brand-strong); }
.btn.secondary:hover { background: var(--brand-soft); color: var(--brand-strong); }

/* ---------- legal pages ---------- */
.legal { max-width: 76ch; }
.legal h2 { margin-block-start: 2rem; }
.legal h3 { margin-block-start: 1.4rem; }
.legal ul { padding-inline-start: 1.25rem; }
.legal li { margin-block-end: .4rem; }
.meta-line { color: var(--muted); font-size: .92rem; }


/* ---------- footer ---------- */
.site-footer { background: #0f1b1a; color: #cdd8d6; padding-block: 2.25rem; margin-block-start: 1rem; }
.site-footer a { color: #ffffff; }
.site-footer ul { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.site-footer .copy { font-size: .92rem; color: #a9b8b6; margin: 0 0 .5rem; }
.site-footer .tm { font-size: .82rem; color: #8b9b99; max-width: 70ch; margin: 0; }

@media (max-width: 540px) {
  .steps li { padding-inline-start: 1.15rem; padding-block-start: 3.1rem; }
  .steps li::before { top: .85rem; }
  .site-header .wrap { justify-content: flex-start; }
}
