/* LeafPick public site.
   Brand colours sampled from the supplied logo files:
   frond #ae7b58, wordmark #164722. Shared by index.html and privacy.html —
   keep them consistent. Plain CSS on purpose: no build step. */

:root{
  --green:#164722;          /* sampled from the wordmark */
  --green-700:#0f3318;
  --green-300:#4a7c5c;
  --tan:#ae7b58;            /* sampled from the frond */
  --tan-300:#c79c7d;
  --sage:#c3d8b3;           /* flow cards, from the diagram */
  --sage-50:#eef4e9;
  --cream:#fbfaf7;
  --ink:#16241c;
  --muted:#5f6b62;
  --border:#e4e7e1;
  --radius:16px;
  --wrap:1120px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--cream);color:var(--ink);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}
a{color:var(--green);text-decoration:none}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px}

/* ---------- logo ---------- */
.logo{display:flex;align-items:center}
.logo img{height:38px;width:auto;display:block}
/* The wordmark is a specific typeface, so it ships as artwork rather than
   being approximated with a web font. */
.foot-logo{height:34px;width:auto;display:block;
  /* white-out for the dark footer: the green wordmark would vanish on it */
  filter:brightness(0) invert(1);opacity:.92}

/* ---------- header ---------- */
header{position:sticky;top:0;z-index:20;background:rgba(251,250,247,.92);
  backdrop-filter:blur(8px);border-bottom:1px solid var(--border)}
header .wrap{display:flex;align-items:center;gap:18px;height:70px}
nav{margin-left:auto;display:flex;align-items:center;gap:26px}
nav a{color:var(--muted);font-size:15px;font-weight:500}
nav a:hover{color:var(--ink)}
.btn{display:inline-block;padding:10px 20px;border-radius:10px;font-size:15px;
  font-weight:600;border:1px solid transparent;cursor:pointer}
.btn-primary{background:var(--green);color:#fff}
.btn-primary:hover{background:var(--green-700)}
.btn-ghost{border-color:var(--border);color:var(--green);background:#fff}
.btn-tan{background:var(--tan);color:#fff}

/* ---------- hero ---------- */
.hero{padding:86px 0 78px;background:
  radial-gradient(900px 400px at 78% -10%, rgba(176,129,85,.16), transparent 60%),
  radial-gradient(700px 380px at 8% 10%, rgba(21,74,43,.07), transparent 60%);}
.hero .wrap{display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center}
.hero h1{font-size:52px;line-height:1.08;margin:0 0 18px;letter-spacing:-.025em;color:var(--green)}
.hero h1 em{font-style:normal;color:var(--tan)}
.hero p.lede{font-size:19px;color:var(--muted);margin:0 0 30px;max-width:30em}
.cta{display:flex;gap:12px;flex-wrap:wrap}
.trust{margin-top:30px;display:flex;gap:26px;flex-wrap:wrap;color:var(--muted);font-size:14px}
.trust b{color:var(--green);font-size:22px;display:block;line-height:1.2}

/* hero art */
.hero-art{position:relative;aspect-ratio:1;display:grid;place-items:center}
.hero-art .disc{position:absolute;inset:8%;border-radius:50%;
  background:linear-gradient(150deg,var(--sage),#dfe9cf 55%,#cbbfa6);opacity:.55}
.hero-art img{position:relative;width:74%;height:auto}

/* ---------- sections ---------- */
section{padding:82px 0}
.section-head{text-align:center;max-width:640px;margin:0 auto 52px}
.section-head h2{font-size:34px;margin:0 0 12px;letter-spacing:-.015em;color:var(--green)}
.section-head p{color:var(--muted);margin:0;font-size:17px}
.alt{background:#fff;border-block:1px solid var(--border)}

/* ---------- flow (rebuilt from the diagram, not an image) ---------- */
/* 7 doesn't divide by 4, so a plain grid strands step 07 in a half-empty row.
   Flex + a fixed basis lets the second row of three centre itself. */
.flow{display:flex;flex-wrap:wrap;justify-content:center;gap:18px}
.step{flex:0 1 calc(25% - 14px)}
.step{background:var(--sage);border-radius:var(--radius);padding:22px 18px;text-align:center;
  position:relative;transition:transform .18s ease, box-shadow .18s ease}
.step:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(21,74,43,.10)}
.step .n{position:absolute;top:10px;left:12px;font-size:12px;font-weight:700;
  color:var(--green);opacity:.55}
.step svg{width:40px;height:40px;stroke:var(--ink);stroke-width:1.6;fill:none;
  stroke-linecap:round;stroke-linejoin:round;margin:6px auto 12px;display:block}
.step h3{margin:0 0 4px;font-size:15.5px;color:var(--ink)}
.step p{margin:0;font-size:13px;color:#4a5a4f;line-height:1.5}
.step.final{background:var(--sage-50);border:1px dashed var(--tan-300)}
.flow-note{margin-top:22px;text-align:center;color:var(--muted);font-size:14px}

/* ---------- roles ---------- */
.roles{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.role{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:26px 22px}
.role .tag{display:inline-block;font-size:11.5px;font-weight:700;letter-spacing:.07em;
  text-transform:uppercase;color:var(--tan);margin-bottom:10px}
.role h3{margin:0 0 8px;font-size:17px;color:var(--green)}
.role p{margin:0;color:var(--muted);font-size:14.5px}

/* ---------- app ---------- */
.badges{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.badge{display:inline-flex;align-items:center;gap:11px;padding:13px 24px;border-radius:12px;
  border:1px dashed var(--border);background:#fff;color:var(--muted);cursor:default}
.badge small{display:block;font-size:11px;letter-spacing:.05em;text-transform:uppercase}
.badge b{display:block;font-size:15px;color:var(--ink)}

/* ---------- contact ---------- */
.contact{text-align:center;color:var(--muted);font-size:17px}
.contact div{margin-bottom:6px}

/* ---------- footer ---------- */
footer{background:var(--green);color:rgba(255,255,255,.72);padding:46px 0;font-size:14px}
footer .wrap{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
footer a{color:rgba(255,255,255,.9)}
footer .links{margin-left:auto;display:flex;gap:24px}
footer .foot-endorse{color:rgba(255,255,255,.72)}
footer .foot-endorse a{text-decoration:underline}

/* ---------- co-branding: parent company (Wahat Al Sahraa) ---------- */
/* Header wordmark with a small "A service by …" endorsement stacked beneath it.
   align-items:flex-start stops the column from stretching the logo to the width
   of the (wider) endorsement line. */
.logo-lockup{display:flex;flex-direction:column;align-items:flex-start;gap:3px;line-height:1}
.logo-lockup img{width:auto}
.endorse{font-size:11.5px;letter-spacing:.02em;color:var(--muted);font-weight:500}
.endorse b{color:var(--green);font-weight:600}

/* About band — introduces the parent company */
.about-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:48px;align-items:center;
  max-width:960px;margin:0 auto}
.about-copy p{color:var(--muted);font-size:17px;line-height:1.65;margin:0 0 16px}
.about-copy .slogan{color:var(--tan);font-style:italic;font-size:18px;margin:0 0 22px}
.about-figure{text-align:center}
.about-figure img{max-width:300px;width:100%;height:auto}
.about-figure figcaption{margin-top:10px;font-size:13px;color:var(--muted)}

/* Contact — richer detail rows + action buttons */
.contact .c-label{color:var(--ink);font-weight:600}
.contact .c-actions{margin-top:24px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap}

@media(max-width:760px){
  .about-grid{grid-template-columns:1fr;gap:32px;text-align:center}
  .about-figure{order:-1}
}

/* ---------- responsive ---------- */
@media(max-width:980px){
  .hero .wrap{grid-template-columns:1fr;gap:34px}
  .hero-art{max-width:380px;margin:0 auto}
  .step{flex:0 1 calc(50% - 12px)}
  .roles{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:640px){
  .hero{padding:56px 0 48px}
  .hero h1{font-size:36px}
  section{padding:58px 0}
  .section-head h2{font-size:27px}
  nav .hide-sm{display:none}
  /* the flow becomes a vertical timeline — the whole reason not to use a PNG */
  .flow{gap:12px}
  .step{flex:1 1 100%}
  /* Icon spans the full height in column 1; number, title and description
     stack in column 2 so the text gets real width instead of the icon's 38px. */
  .step{display:grid;grid-template-columns:38px 1fr;
    grid-template-areas:"i n" "i t" "i d";
    column-gap:14px;row-gap:1px;text-align:left;align-items:center;padding:16px 18px}
  .step svg{grid-area:i;margin:0;width:34px;height:34px;align-self:center}
  .step .n{position:static;grid-area:n;font-size:11px}
  .step h3{grid-area:t;margin:0}
  .step p{grid-area:d;margin-top:2px}
  footer .wrap{flex-direction:column;align-items:flex-start}
  footer .links{margin-left:0}
}

/* ---------- legal pages (privacy) ---------- */
.legal{padding:64px 0 84px}
.legal .wrap{max-width:780px}
.legal h1{font-size:34px;margin:0 0 6px;color:var(--green)}
.legal .updated{color:var(--muted);font-size:14px;margin:0 0 34px}
.legal h2{font-size:20px;margin:36px 0 10px;color:var(--green)}
.legal p,.legal li{color:var(--muted)}
.legal li{margin-bottom:7px}
.notice{background:#fdf4e7;border:1px solid #ecd7b4;color:#7a5510;
  border-radius:var(--radius);padding:16px 18px;font-size:15px;margin-bottom:30px}

.legal h3{font-size:18px;margin:30px 0 8px}
.legal h4{font-size:15.5px;margin:20px 0 6px;color:var(--ink)}
.legal h2{font-size:26px;margin:52px 0 6px;padding-top:26px;border-top:1px solid var(--border)}
.legal h2:first-of-type{border-top:0;padding-top:0;margin-top:34px}
.legal ul{padding-left:22px}
.legal-nav{display:flex;gap:18px;margin:0 0 10px}
.legal-nav a{font-weight:600;font-size:15px}
.legal-switch{font-size:14px;color:var(--muted);margin:0 0 8px}
.meta{margin:2px 0}
/* Blank in the source document — visible so it is not mistaken for complete. */
.todo{color:#9a6b1e;background:#fdf4e7;border:1px solid #ecd7b4;
  border-radius:6px;padding:1px 7px;font-size:12.5px}
