/* Nogah Solutions. Neutral-first; brand colour reserved for the logo and one accent. */
:root {
  --ink: #221C16;
  --text: #2B2622;
  --muted: #625A53;
  --line: #E7E2DB;
  --surface: #F7F5F2;
  --bg: #FFFFFF;
  --accent: #C4802F;       /* Ember: used sparingly, large text and focus only */
  --wrap: 1440px;
  --gutter: clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Poppins, "Century Gothic", Futura, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
strong { font-weight: 500; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px; z-index: 10; }
.skip:focus { top: 12px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: block; width: 150px; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a.text-link { text-decoration: none; font-weight: 400; font-size: 15px; color: var(--muted); padding: 10px 0; }
.site-nav a.text-link:hover { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 11px 20px; border-radius: 8px;
  font: 500 15px/1.2 Poppins, "Century Gothic", sans-serif;
  text-decoration: none; transition: background-color .15s ease, border-color .15s ease;
}
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #3A3128; }
.btn-outline { border: 1px solid var(--line); color: var(--ink); background: var(--bg); }
.btn-outline:hover { border-color: var(--ink); }

.label { font-weight: 500; font-size: 14px; color: var(--muted); margin: 0 0 14px; }

h1, h2, h3 { color: var(--ink); font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; margin: 0; }
h2 { font-size: clamp(28px, 3.2vw, 40px); max-width: 22ch; }
h3 { font-size: 19px; letter-spacing: -0.01em; font-weight: 500; }
p { margin: 0 0 16px; max-width: 66ch; }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); }

section { padding: clamp(64px, 8vw, 112px) 0; }
.section-head { display: grid; gap: 16px 64px; margin-bottom: 48px; }
@media (min-width: 960px) { .section-head { grid-template-columns: 1fr 1fr; align-items: end; } }
.section-head p { margin: 0; }

/* Hero: headline left, supporting copy right, uses the full width */
.hero { padding: clamp(56px, 9vw, 128px) 0 clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; gap: 32px 80px; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 7fr 5fr; align-items: end; } }
.hero h1 { font-size: clamp(40px, 6vw, 84px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.04; max-width: 14ch; }
.hero h1 .accent { color: var(--accent); }
.hero .lead { margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { font-size: 14px; color: var(--muted); margin: 16px 0 0; }

/* Services */
.services { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.offers { display: grid; gap: 20px; }
@media (min-width: 760px) { .offers { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1180px) { .offers { grid-template-columns: 1fr 1fr 1.15fr; } }
.offer { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: clamp(24px, 2.5vw, 36px); display: flex; flex-direction: column; }
.offer .kind { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.offer h3 { margin-bottom: 10px; font-size: 21px; }
.offer p { color: var(--muted); }
.offer ul { margin: auto 0 0; padding: 0; list-style: none; font-size: 15px; }
.offer li { padding: 10px 0; border-top: 1px solid var(--line); }
/* The pilot follows a diagnostic, so it gets a slightly firmer border */
.offer.pilot { border-color: #CFC7BC; }
.offer.pilot .kind { color: var(--ink); font-weight: 500; }

/* Approach */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 48px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1180px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; padding: 24px 0 28px; border-top: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-size: 14px; font-weight: 500; color: var(--muted); margin-bottom: 10px; }
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }

/* Fit */
.fit { padding-top: 0; }
.fit-grid { display: grid; gap: 20px; }
@media (min-width: 860px) { .fit-grid { grid-template-columns: 1fr 1fr; } }
.fit-panel { border: 1px solid var(--line); border-radius: 12px; padding: clamp(24px, 2.5vw, 36px); }
.fit-panel h3 { margin-bottom: 14px; }
.fit-panel ul { margin: 0; padding-left: 20px; }
.fit-panel li { margin-bottom: 8px; }
.fit-panel li::marker { color: var(--muted); }
.fit-panel.no { background: var(--surface); }

/* About */
.about { border-top: 1px solid var(--line); }
.about-grid { display: grid; gap: 40px 80px; }
@media (min-width: 960px) { .about-grid { grid-template-columns: 7fr 5fr; } }
.about h2 { margin-bottom: 20px; }
.creds { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.creds li { border: 1px solid var(--line); border-radius: 6px; padding: 6px 12px; font-size: 14px; font-weight: 400; }
.product-note { border: 1px solid var(--line); border-radius: 12px; padding: clamp(24px, 2.5vw, 36px); align-self: start; }
.product-note h3 { margin-bottom: 10px; }
.product-note p { color: var(--muted); margin: 0; }

/* Contact */
.contact { background: var(--surface); border-top: 1px solid var(--line); }
.contact-grid { display: grid; gap: 24px 80px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 7fr 5fr; align-items: end; } }
.contact h2 { margin-bottom: 16px; }
.contact .actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.contact .email { font-weight: 500; color: var(--ink); text-underline-offset: 4px; padding: 8px 0; }

/* Footer */
.site-footer { padding: 32px 0 40px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }
.site-footer .wrap { display: grid; gap: 16px; }
@media (min-width: 820px) { .site-footer .wrap { grid-template-columns: 1fr auto; align-items: center; } }
.site-footer p { margin: 0 0 4px; max-width: none; }
.site-footer a { color: var(--ink); text-underline-offset: 3px; padding: 10px 0; display: inline-block; }

/* Legal page */
.legal { padding: 48px 0 96px; }
.legal .wrap > * { max-width: 760px; }
.legal h1 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 12px; }
.legal h2 { font-size: 22px; margin: 40px 0 10px; letter-spacing: -0.01em; }
.legal .updated { color: var(--muted); margin-bottom: 32px; }

@media (max-width: 640px) {
  .site-nav .text-link { display: none; }
  .brand { width: 128px; }
  .site-nav .btn { padding: 10px 14px; font-size: 14px; min-height: 44px; }
}
