/* ════════════════════════════════════════════════════
   PHARAON — GitHub Pages site · Minimal White · DM Sans
   Self-contained: no external requests of any kind.
   ════════════════════════════════════════════════════ */
:root {
  --ink:   #191919;
  --ink2:  #37352f;
  --n500:  #787774;
  --n400:  #9b9a97;
  --n300:  #d3d1cb;
  --n200:  #e9e9e7;
  --n100:  #f1f1ef;
  --n050:  #fafaf9;
  --white: #ffffff;
  --green: #448361;
  --blue:  #337EA9;
  --red:   #d44c47;
  --radius: 10px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  color: var(--ink); background: var(--white);
  font-size: 16px; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
code {
  font-family: ui-monospace, Consolas, monospace; font-size: .85em;
  background: var(--n100); padding: 1px 6px; border-radius: 5px;
  word-break: break-all;
}
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }
.center { text-align: center; }
.fine { font-size: 13.5px; color: var(--n500); }
.fine.right { text-align: right; }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--n200);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 2px; color: var(--ink); font-size: 17px; }
.brand:hover { text-decoration: none; }
.brand-logo { width: 30px; height: 30px; border-radius: 50%; object-fit: contain; }
.brand.small { font-size: 15px; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 14.5px; font-weight: 500; }
.nav-links a { color: var(--n500); }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-cta {
  background: var(--ink); color: #fff !important;
  padding: 7px 16px; border-radius: 8px; font-weight: 600;
}
.nav-cta:hover { background: var(--ink2); }

/* ── Hero ── */
.hero { padding: 72px 0 40px; text-align: center; }
.hero-badge {
  display: inline-block; font-size: 12.5px; font-weight: 600;
  color: var(--n500); background: var(--n050); border: 1px solid var(--n200);
  padding: 5px 14px; border-radius: 99px; margin-bottom: 22px;
  letter-spacing: .4px;
}
.hero h1 { font-size: clamp(34px, 6vw, 58px); line-height: 1.12; letter-spacing: -1px; font-weight: 700; }
.hero h1 em { font-style: normal; border-bottom: 4px solid var(--ink); }
.hero-sub {
  max-width: 640px; margin: 22px auto 0; font-size: 17px; color: var(--n500);
}
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 32px 0 26px; }
.btn-dl {
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 14px 30px; border-radius: 12px; font-weight: 700; font-size: 16.5px;
  transition: transform .12s, box-shadow .12s;
}
.btn-dl:hover { text-decoration: none; transform: translateY(-2px); }
.btn-dl.primary { background: var(--ink); color: #fff; box-shadow: 0 4px 18px rgba(0,0,0,.18); }
.btn-dl.primary svg { margin-bottom: 2px; }
.btn-dl.ghost { background: var(--white); color: var(--ink); border: 1.5px solid var(--n300); }
.dl-meta { font-size: 12px; font-weight: 500; opacity: .65; }

.dl-note {
  font-size: 13.5px; color: var(--ink2); margin: -12px 0 14px;
}
.dl-note span { color: var(--n400); }
.dl-points {
  list-style: none; max-width: 640px; margin: 0 auto 26px;
  text-align: left; display: flex; flex-direction: column; gap: 8px;
}
.dl-points li {
  font-size: 13.5px; color: var(--n500); line-height: 1.6;
  padding: 10px 14px; background: var(--n050);
  border: 1px solid var(--n200); border-radius: var(--radius);
}
.dl-points li b { color: var(--ink); }
.trust-bar {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 46px;
}
.trust-item {
  display: flex; flex-direction: column; gap: 1px;
  background: var(--n050); border: 1px solid var(--n200); border-radius: var(--radius);
  padding: 10px 18px; font-size: 13.5px; min-width: 170px;
}
.trust-item b { color: var(--ink); }
.trust-item span { font-size: 12px; color: var(--n500); }

.hero-shot img {
  width: 100%; max-width: 980px; border-radius: 14px;
  border: 1px solid var(--n200); box-shadow: 0 24px 60px rgba(0,0,0,.10);
}

/* ── Sections ── */
.sec { padding: 72px 0; }
.sec.alt { background: var(--n050); border-top: 1px solid var(--n100); border-bottom: 1px solid var(--n100); }
.sec-label {
  font-size: 11.5px; font-weight: 700; letter-spacing: 2.5px; color: var(--n400);
  margin-bottom: 10px;
}
.sec h2 { font-size: clamp(26px, 4vw, 36px); letter-spacing: -.5px; margin-bottom: 18px; line-height: 1.2; }
.sec p { color: var(--ink2); margin-bottom: 14px; max-width: 72ch; }

/* ── Feature grid ── */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin-top: 30px; }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
  background: var(--white); border: 1px solid var(--n200); border-radius: 14px;
  padding: 26px 24px;
}
.card-ic { font-size: 26px; margin-bottom: 12px; }
.card h3 { font-size: 17.5px; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--n500); margin: 0; }

/* ── Screenshots ── */
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 26px; margin-top: 32px; }
.shots figure { margin: 0; }
.shots img {
  width: 100%; border-radius: 12px; border: 1px solid var(--n200);
  box-shadow: 0 10px 30px rgba(0,0,0,.07); transition: transform .15s;
}
.shots img:hover { transform: scale(1.015); }
.shots figcaption { font-size: 13px; color: var(--n500); margin-top: 10px; text-align: center; }

/* ── Quotes ── */
.quote {
  background: var(--n050); border: 1px solid var(--n200); border-radius: 14px;
  padding: 24px; font-size: 15px;
}
.quote p { color: var(--ink2); margin-bottom: 12px; }
.quote span { font-size: 13px; color: var(--n400); font-weight: 600; }
#voices .fine.center { text-align: center; margin-top: 26px; }

/* ── Security ── */
.sec-list { list-style: none; margin: 18px 0; }
.sec-list li { padding: 8px 0 8px 28px; position: relative; color: var(--ink2); }
.sec-list li::before { content: '✓'; position: absolute; left: 4px; color: var(--green); font-weight: 700; }
.hash-box {
  background: var(--white); border: 1px solid var(--n200); border-radius: var(--radius);
  padding: 16px 18px; margin: 14px 0 18px; display: flex; flex-direction: column; gap: 10px;
}
.hash-box > div { display: flex; flex-direction: column; gap: 3px; }
.hash-name { font-size: 12.5px; font-weight: 700; color: var(--n500); }

/* ── FAQ ── */
details {
  border-bottom: 1px solid var(--n200); padding: 16px 4px;
}
details summary {
  font-weight: 600; font-size: 16px; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
details summary::after { content: '+'; color: var(--n400); font-size: 20px; font-weight: 400; }
details[open] summary::after { content: '–'; }
details p { margin-top: 10px; font-size: 14.5px; color: var(--n500); }

/* ── Footer ── */
.footer { border-top: 1px solid var(--n200); padding: 42px 0; background: var(--n050); }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
.footer-links { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer-links a { color: var(--n500); }
.footer-links a:hover { color: var(--ink); }

/* ── Lightbox ── */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(20,20,19,.88);
  display: flex; align-items: center; justify-content: center; cursor: zoom-out;
  padding: 4vh 4vw;
}
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 10px; }
[hidden] { display: none !important; }

/* ── Mobile ── */
@media (max-width: 720px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { padding: 48px 0 30px; }
  .shots { grid-template-columns: 1fr; }
  .trust-item { min-width: 45%; }
  .footer-inner { flex-direction: column; }
  .fine.right { text-align: left; }
}
