/* focus-arabic.gkernel.com. The Content Security Policy in _headers blocks inline styles,
   so every style lives here. */

:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --text: #1c2321;
  --muted: #56625e;
  --line: #e4e0d7;
  --accent: #1a7f5a;
  --accent-strong: #146b4b;
  --accent-soft: #e8f5ee;
  --hero-from: #0f4c43;
  --hero-to: #12695a;
  --hero-text: #f0faf7;
  --hero-muted: #c4e3d9;
  --gold: #f2d27a;
  --shadow: 0 1px 2px rgba(28, 35, 33, 0.06), 0 8px 24px rgba(28, 35, 33, 0.06);
  --shot-shadow: 0 24px 60px rgba(8, 40, 34, 0.28);
  --arabic: "Noto Naskh Arabic", "Amiri", "Scheherazade New", "Traditional Arabic", "Geeza Pro", serif;
  --gkernel-top: #b9b5aa;
  --gkernel-front: #858177;
  --gkernel-left: #5b5851;
  --gkernel-primary: #6ec498;
  --gkernel-stroke: #2b2b2b;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1413;
    --surface: #161d1b;
    --text: #e6ece9;
    --muted: #9eaca7;
    --line: #26302d;
    --accent: #3bb884;
    --accent-strong: #52c693;
    --accent-soft: #14281e;
    --shadow: none;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

html { scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-strong); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
kbd, code {
  padding: 1px 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  font: 0.86em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
[lang="ar"] { font-family: var(--arabic); }

.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 20px; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 8px 14px; border-radius: 8px; background: var(--surface); }
.skip-link:focus { left: 8px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 18px; font-weight: 700; text-decoration: none; }
.brand:hover { color: var(--text); }
.brand img { width: 32px; height: 32px; }
.header-nav { display: flex; align-items: center; gap: 6px; }
.header-nav a { padding: 6px 10px; border-radius: 8px; color: var(--muted); font-size: 15px; font-weight: 500; text-decoration: none; }
.header-nav a:hover, .header-nav a[aria-current="page"] { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid var(--accent);
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}
.btn:hover { border-color: var(--accent-strong); background: var(--accent-strong); color: #fff; }
.btn svg { width: 18px; height: 18px; }

/* Hero: dark green band, the screenshot hanging below it. */
.hero { padding-top: 72px; background: linear-gradient(160deg, var(--hero-from), var(--hero-to)); color: var(--hero-text); }
.hero-copy { max-width: 820px; text-align: center; }
.eyebrow { margin: 0 0 16px; color: var(--hero-muted); font-size: 15px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(34px, 5.4vw, 56px); }
.hero h1 .ar { color: var(--gold); font-family: var(--arabic); font-weight: 700; }
.lede { max-width: 680px; margin: 20px auto 0; color: var(--hero-muted); font-size: 19px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 16px; margin-top: 32px; }
.hero .btn { border-color: #fff; background: #fff; color: var(--hero-from); }
.hero .btn:hover { border-color: var(--gold); background: var(--gold); color: var(--hero-from); }
.soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px dashed rgba(240, 250, 247, 0.5);
  border-radius: 10px;
  color: var(--hero-text);
  font-size: 15px;
  font-weight: 500;
}
.soon svg { width: 18px; height: 18px; }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--hero-muted); font-size: 15px; }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts svg { width: 18px; height: 18px; color: var(--gold); }
.hero-shot { margin: 48px auto -120px; max-width: 1000px; }
.after-hero { padding-top: 120px; }

/* A browser window around a screenshot. */
.window { margin: 0; overflow: hidden; border: 1px solid rgba(0, 0, 0, 0.12); border-radius: 12px; background: #fff; box-shadow: var(--shot-shadow); }
.window-bar { display: flex; gap: 7px; padding: 11px 14px; border-bottom: 1px solid #e6e1d6; background: #f1eee7; }
.window-bar span { width: 11px; height: 11px; border-radius: 50%; background: #d3cec3; }

/* Sections */
.section { padding: 88px 0 0; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { margin: 0; font-size: clamp(28px, 3.6vw, 38px); }
.section-head p { margin: 14px 0 0; color: var(--muted); font-size: 18px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 28px 24px 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}
.steps h3 { margin: 0 0 8px; font-size: 19px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }

.feature { display: grid; grid-template-columns: 1fr 1.25fr; align-items: center; gap: 56px; margin-bottom: 96px; }
.feature.flip .feature-copy { order: 2; }
.feature.wide { grid-template-columns: 1fr; gap: 32px; }
.feature.wide .feature-copy { max-width: 760px; }
.feature h3 { margin: 10px 0 12px; font-size: clamp(24px, 2.8vw, 30px); }
.feature p { margin: 0 0 14px; color: var(--muted); }
.tag { display: inline-block; padding: 3px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 14px; font-weight: 600; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pair figure { margin: 0; }
.pair figcaption { margin-top: 12px; color: var(--muted); font-size: 15px; text-align: center; }
.popup-shot { justify-self: center; width: 320px; max-width: 100%; border-radius: 12px; }

.checks { margin: 0; padding: 0; list-style: none; }
.checks li { position: relative; margin: 8px 0; padding-left: 30px; }
.checks li::before {
  content: "";
  position: absolute;
  top: 0.45em;
  left: 4px;
  width: 12px;
  height: 7px;
  border-bottom: 2.5px solid var(--accent);
  border-left: 2.5px solid var(--accent);
  transform: rotate(-45deg);
}

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 26px 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); }
.card h3 { margin: 0 0 10px; font-size: 19px; }
.card p { margin: 0 0 10px; color: var(--muted); font-size: 16px; }
.card-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.card-icon svg { width: 24px; height: 24px; }

.faq { max-width: 800px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 20px 40px 20px 0; font-size: 18px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; top: 16px; right: 4px; color: var(--accent); font-size: 26px; font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 20px; color: var(--muted); }

.closing { margin-top: 104px; padding: 72px 0; background: linear-gradient(160deg, var(--hero-from), var(--hero-to)); color: var(--hero-text); text-align: center; }
.closing img { width: 72px; height: 72px; margin: 0 auto 20px; }
.closing h2 { margin: 0; font-size: clamp(28px, 3.6vw, 38px); }
.closing p { margin: 12px auto 28px; max-width: 560px; color: var(--hero-muted); font-size: 18px; }

/* Footer */
.site-footer { padding: 40px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.closing + .site-footer { border-top: 0; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.gk { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; text-decoration: none; }
.gk svg { width: 32px; height: 32px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-nav a { color: var(--muted); }
.fine { flex-basis: 100%; margin: 0; font-size: 13px; }

/* Text pages: privacy policy, the key guide. */
.doc { max-width: 780px; padding-top: 56px; padding-bottom: 72px; }
.doc h1 { margin: 0 0 10px; font-size: clamp(32px, 4.4vw, 44px); }
.doc h2 { margin: 44px 0 12px; font-size: 24px; }
.doc p, .doc li { color: var(--text); }
.doc .updated, .doc .intro { color: var(--muted); font-size: 18px; }
.doc ul:not(.checks), .doc ol { padding-left: 24px; }
.doc li { margin: 6px 0; }
.summary { margin-top: 32px; padding: 8px 24px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); }
.summary h2 { margin-top: 18px; }
.guide-steps { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.guide-steps > li { position: relative; margin: 0 0 22px; padding-left: 52px; counter-increment: step; }
.guide-steps > li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}
.guide-steps strong { display: block; margin-bottom: 2px; }
.note { margin: 28px 0; padding: 16px 20px; border-left: 4px solid var(--accent); border-radius: 0 10px 10px 0; background: var(--accent-soft); }
.note p { margin: 0; }

.lost { padding: 120px 20px; text-align: center; }
.lost h1 { margin: 0 0 12px; font-size: 40px; }
.lost p { margin: 0 0 28px; color: var(--muted); }

@media (max-width: 900px) {
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 28px; margin-bottom: 72px; }
  .feature.flip .feature-copy { order: 0; }
  .steps, .cards { grid-template-columns: 1fr; }
  .hero-shot { margin-bottom: -60px; }
  .after-hero { padding-top: 64px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 16px; }
  .header-nav .nav-optional { display: none; }
  .hero { padding-top: 48px; }
  .pair { grid-template-columns: 1fr; }
  .section { padding-top: 72px; }
  .hero-shot { margin-bottom: -32px; }
  .after-hero { padding-top: 88px; }
}
