/* KraalSync one-page starter. Colours from the logo: deep navy + sky blue; veld green for "good"; a warm sand for calm sections. */
:root {
  --navy: #0b1b33; --navy-2: #13294a; --blue: #1a8cf0; --blue-d: #0f6fc4; --sky: #e8f3fd;
  --green: #2f7a3a; --green-l: #e6f2e6; --amber: #b8660b; --amber-l: #fbf0df;
  --bg: #ffffff; --sand: #f6f3ec; --ink: #0f1d2e; --muted: #556275; --line: #e2e7ee; --card: #ffffff;
  --shadow: 0 1px 2px rgba(11,27,51,.06), 0 12px 32px rgba(11,27,51,.10);
  --shadow-lg: 0 2px 6px rgba(11,27,51,.08), 0 30px 60px rgba(11,27,51,.18);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --navy: #dce8f7; --navy-2: #c9d9ee; --blue: #4aa8ff; --blue-d: #7cc0ff; --sky: #132a42;
    --green: #6cc47a; --green-l: #14301b; --amber: #f0a64a; --amber-l: #36260f;
    --bg: #0b121c; --sand: #0f1825; --ink: #e6edf5; --muted: #9aa9bb; --line: #223146; --card: #121c29;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px rgba(0,0,0,.35); --shadow-lg: 0 30px 60px rgba(0,0,0,.5);
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif; }
a { color: var(--blue-d); }
h1, h2, h3 { color: var(--navy); line-height: 1.15; letter-spacing: -.015em; margin: 0; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); margin-bottom: 28px; max-width: 22ch; }
h3 { font-size: 1.08rem; margin-bottom: 6px; }
p { margin: 0 0 12px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.center h2 { margin-left: auto; margin-right: auto; }
.eyebrow { font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-d); margin-bottom: 10px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.fine { font-size: .88rem; color: var(--muted); }
section { padding: 88px 0; }
[hidden] { display: none !important; }

/* ---------- top bar */
.lp-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 18px; padding: 12px 24px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.lp-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-size: 1.35rem; }
.lp-brand img { border-radius: 50%; background: #fff; }
.lp-brand b, .lp-brand i { font-weight: 800; font-style: normal; } .lp-brand i { color: var(--blue); }
.lp-brand.small { font-size: 1rem; }
.lp-nav { display: flex; gap: 22px; margin-left: auto; }
.lp-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.lp-nav a:hover { color: var(--blue-d); }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 99px; overflow: hidden; }
.lang button { font: inherit; font-size: .8rem; font-weight: 700; border: 0; background: transparent; color: var(--muted); padding: 6px 11px; cursor: pointer; min-height: 34px; }
.lang button[aria-pressed="true"] { background: var(--navy); color: var(--bg); }

.lp-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--blue); color: #fff; font-weight: 800; text-decoration: none; padding: 14px 24px; border-radius: 12px; min-height: 50px; box-shadow: 0 6px 18px color-mix(in srgb, var(--blue) 35%, transparent); transition: transform .15s, background .15s; }
.lp-cta:hover { background: var(--blue-d); transform: translateY(-1px); }
.lp-cta.sm { padding: 9px 16px; min-height: 40px; font-size: .92rem; box-shadow: none; }
.lp-cta.big { padding: 18px 32px; font-size: 1.1rem; margin: 8px 0 18px; }
.lp-ghost { display: inline-flex; align-items: center; padding: 14px 20px; min-height: 50px; border-radius: 12px; border: 1.5px solid var(--line); color: var(--navy); font-weight: 700; text-decoration: none; }
.lp-ghost:hover { border-color: var(--blue); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--blue) 50%, transparent); outline-offset: 2px; }

/* ---------- hero */
.hero { padding: 64px 0 72px; background:
  radial-gradient(900px 420px at 85% 10%, color-mix(in srgb, var(--blue) 14%, transparent), transparent 70%),
  linear-gradient(180deg, var(--sky), var(--bg) 70%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; color: var(--navy); background: var(--card); border: 1px solid var(--line); padding: 6px 12px; border-radius: 99px; margin-bottom: 22px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-l); }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 850; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--blue); display: block; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 10px; }
.proof { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; font-weight: 600; font-size: .95rem; }

/* hero art: desktop dashboard with the phone in front */
.hero-art { position: relative; padding-bottom: 40px; }
.dk { background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; font-size: 12px; transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
.dk-top { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--sand); border-bottom: 1px solid var(--line); }
.dk-top i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.dk-top span { margin-left: 10px; font-size: 11px; color: var(--muted); background: var(--card); border-radius: 99px; padding: 2px 12px; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dk-app { display: grid; grid-template-columns: 150px 1fr; min-height: 330px; }
.dk-side { background: #0b1b33; color: #c4d2e4; padding: 12px 8px; }
.dk-brand { display: flex; align-items: center; gap: 7px; color: #fff; padding: 0 6px 12px; }
.dk-brand img { border-radius: 50%; background: #fff; }
.dk-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.dk-side li { display: flex; gap: 7px; padding: 6px 8px; border-radius: 7px; }
.dk-side li.on { background: #1a8cf0; color: #fff; }
.dk-main { padding: 14px 16px; min-width: 0; }
.dk-h { display: grid; margin-bottom: 10px; } .dk-h small { color: var(--muted); } .dk-h b { font-size: 16px; color: var(--navy); }
.dk-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 10px; }
.dk-tiles div { border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; display: grid; }
.dk-tiles small { color: var(--muted); font-size: 10.5px; line-height: 1.25; } .dk-tiles b { font-size: 20px; color: var(--navy); font-variant-numeric: tabular-nums; }
.dk-tiles .hi { background: var(--sky); border-color: transparent; } .dk-tiles .warn b { color: var(--amber); }
.dk-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 8px; }
.dk-card { border: 1px solid var(--line); border-radius: 9px; padding: 9px 10px; min-width: 0; }
.dk-card > small { color: var(--muted); font-size: 10.5px; }
.bars { display: flex; align-items: flex-end; gap: 12px; height: 110px; padding-top: 8px; }
.bar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: flex-end; }
.bar span { width: 100%; height: var(--h); background: linear-gradient(180deg, var(--blue), var(--blue-d)); border-radius: 6px 6px 2px 2px; display: grid; place-items: start center; color: #fff; padding-top: 4px; }
.bar b { font-size: 11px; } .bar small { font-size: 10px; color: var(--muted); }
.dk-list { list-style: none; padding: 0; margin: 6px 0; display: grid; gap: 5px; }
.dk-list li { padding-left: 18px; position: relative; }
.dk-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 10px; height: 10px; border: 1.5px solid var(--muted); border-radius: 3px; }
.dk-list li.done { color: var(--muted); text-decoration: line-through; }
.dk-list li.done::before { background: var(--green); border-color: var(--green); }
.dk-camp { margin-top: 6px; font-size: 11px; background: var(--green-l); color: var(--green); padding: 4px 8px; border-radius: 6px; }

.ph { position: absolute; right: -10px; bottom: 0; width: 230px; background: var(--card); border: 9px solid #0b1b33; border-radius: 34px; padding: 14px 12px 14px; box-shadow: var(--shadow-lg); font-size: 12px; }
.ph-notch { width: 70px; height: 6px; border-radius: 6px; background: #0b1b33; margin: -4px auto 10px; }
.ph-bar { display: flex; justify-content: space-between; align-items: center; }
.ph-sig { display: inline-flex; gap: 2px; align-items: flex-end; height: 11px; }
.ph-sig i { width: 3px; background: var(--line); border-radius: 1px; } .ph-sig i:nth-child(1) { height: 4px; } .ph-sig i:nth-child(2) { height: 7px; } .ph-sig i:nth-child(3) { height: 11px; }
.ph-head { margin: 10px 0 6px; display: grid; gap: 4px; }
.ph-title { font-weight: 800; font-size: 14px; color: var(--navy); }
.ph-off { justify-self: start; font-size: 10.5px; font-weight: 700; color: var(--amber); background: var(--amber-l); padding: 2px 8px; border-radius: 99px; }
.ph-prog { height: 5px; background: var(--line); border-radius: 5px; overflow: hidden; } .ph-prog span { display: block; height: 100%; width: var(--p); background: var(--green); }
.ph-count { font-size: 10.5px; color: var(--muted); margin: 4px 0 8px; }
.ph-card { border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.ph-tag { display: flex; align-items: center; gap: 6px; } .ph-tag b { font-size: 19px; color: var(--navy); letter-spacing: .02em; }
.ph-eid { font-size: 9px; font-weight: 800; background: var(--blue); color: #fff; padding: 1px 5px; border-radius: 4px; }
.ph-sub { color: var(--muted); font-size: 11px; }
.ph-chip { display: inline-block; font-size: 10px; font-weight: 700; color: var(--green); background: var(--green-l); padding: 1px 7px; border-radius: 99px; margin: 4px 0 8px; }
.ph-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ph-rows div { display: grid; background: var(--sand); border-radius: 8px; padding: 6px 7px; }
.ph-rows .now { background: var(--sky); }
.ph-rows small { font-size: 9.5px; color: var(--muted); } .ph-rows b { font-size: 16px; color: var(--navy); font-variant-numeric: tabular-nums; }
.ph-rows .up { color: var(--green); font-weight: 700; }
.ph-btn { margin-top: 10px; background: var(--blue); color: #fff; text-align: center; font-weight: 800; padding: 10px; border-radius: 10px; }
.ph-hint { text-align: center; font-size: 10.5px; color: var(--muted); margin-top: 6px; }
.sample { position: absolute; left: 0; bottom: 4px; font-size: .75rem; color: var(--muted); font-style: italic; margin: 0; }

/* ---------- pain */
.pain { background: var(--navy-2); background: #0b1b33; color: #d7e3f2; }
.pain h2 { color: #fff; }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain article { border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 22px 22px 10px; background: rgba(255,255,255,.03); }
.pain h3 { color: #fff; font-size: 1.15rem; }
.pain p { color: #b9c7d8; }

/* ---------- how */
.two { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps .n { flex: 0 0 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--sky); color: var(--blue-d); font-weight: 850; font-size: 1.1rem; }
.steps p { color: var(--muted); margin: 0; }
.sync { background: var(--sand); border-radius: 20px; padding: 28px; display: grid; gap: 10px; justify-items: center; text-align: center; }
.sync-node { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; display: grid; gap: 2px; width: 100%; max-width: 300px; box-shadow: var(--shadow); }
.sync-node span { font-size: 1.8rem; } .sync-node small { color: var(--muted); }
.sync-line { display: grid; justify-items: center; gap: 4px; color: var(--muted); font-size: .85rem; }
.sync-line span { width: 3px; height: 46px; background: repeating-linear-gradient(180deg, var(--blue) 0 6px, transparent 6px 12px); border-radius: 3px; animation: flow 1.2s linear infinite; background-size: 3px 12px; }
@keyframes flow { to { background-position: 0 12px; } }

/* ---------- features + local */
.features { background: var(--sand); }
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feat-grid.three { grid-template-columns: repeat(3, 1fr); }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px 20px 12px; transition: transform .15s, box-shadow .15s; }
.feat:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.feat .ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--sky); font-size: 1.3rem; margin-bottom: 14px; }
.feat p { color: var(--muted); font-size: .95rem; }

/* ---------- modules */
.mod-grid { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 16px; }
.mod-grid article { border-radius: 18px; padding: 24px; border: 1px solid var(--line); background: var(--card); }
.mod-grid .sp { background: linear-gradient(160deg, var(--green-l), var(--card) 70%); }
.mod-grid .sp .ico { font-size: 1.8rem; display: block; margin-bottom: 10px; }
.mod-grid .sp p { color: var(--muted); }
.mod-grid .add { background: var(--sky); border-color: transparent; }
.chips { list-style: none; padding: 0; margin: 10px 0 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--card); border: 1px solid var(--line); border-radius: 99px; padding: 6px 13px; font-weight: 700; font-size: .9rem; color: var(--navy); }

/* ---------- roadmap */
.road { background: linear-gradient(180deg, var(--bg), var(--sky)); }
.road-steps { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
.road-steps li:last-child .n { background: var(--green-l); color: var(--green); }

/* ---------- faq */
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 750; font-size: 1.08rem; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--blue-d); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 10px 0 0; max-width: 65ch; }

/* ---------- final */
.final { background: var(--sand); }
.final img { border-radius: 24px; background: #fff; padding: 8px; box-shadow: var(--shadow); margin-bottom: 18px; }
.final .lead { margin: 0 auto 10px; }
.talk { color: var(--muted); }
.talk a { font-weight: 700; text-decoration: none; }
.lp-foot { border-top: 1px solid var(--line); padding: 24px 0 32px; color: var(--muted); font-size: .9rem; }
.foot-row { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }

/* ---------- tablets and phones */
@media (max-width: 1000px) {
  .hero-grid, .two { grid-template-columns: 1fr; gap: 40px; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .feat-grid.three { grid-template-columns: 1fr 1fr; }
  .mod-grid { grid-template-columns: 1fr 1fr; } .mod-grid .add { grid-column: 1 / -1; }
  .pain-grid { grid-template-columns: 1fr; }
  .lp-nav { display: none; }
  .lang { margin-left: auto; }
  .dk { transform: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 60px 0; }
  .wrap { padding: 0 16px; }
  .lp-top { padding: 10px 16px; gap: 10px; }
  .lp-brand { font-size: 1.15rem; }
  .lp-cta.sm { display: none; }
  .hero { padding: 36px 0 48px; }
  .proof { grid-template-columns: 1fr; }
  .feat-grid, .feat-grid.three, .mod-grid { grid-template-columns: 1fr; }
  .cta-row .lp-cta, .cta-row .lp-ghost { flex: 1 1 100%; justify-content: center; }
  /* phone mockup leads on small screens; the desktop one would be unreadably small */
  .hero-art { padding-bottom: 0; display: grid; justify-items: center; gap: 10px; }
  .dk { display: none; }
  .ph { position: static; }
  .sample { position: static; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* hero art spacing: the phone overlaps only the dashboard's right edge */
@media (min-width: 1001px) {
  .hero-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.1fr); }
  .dk { margin-right: 120px; }
  .ph { right: 0; bottom: -6px; width: 215px; }
  .dk-tiles { grid-template-columns: 1fr 1fr; }
  .dk-row { grid-template-columns: 1fr; }
  .dk-row .dk-card:last-child { display: none; }
}
.dk-tiles b, .dk-h b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) { .badge { border-radius: 14px; } }
@media (min-width: 1001px) { .dk { margin-right: 175px; } }
.ph-rows b { white-space: nowrap; font-size: 15px; }
