/* ============================================================
   SHARPD — brand + legal pages
   Self-contained dark theme (portable to sharpd.org as-is).
   Monochrome/steel identity to match the wordmark.
   ============================================================ */

:root {
  --bg: #050507;
  --bg-2: #0a0a0d;
  --panel: #101015;
  --panel-2: #14141a;
  --line: rgba(255, 255, 255, .10);
  --line-2: rgba(255, 255, 255, .18);
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --muted-2: #71717a;
  --white: #ffffff;
  --glow: rgba(190, 210, 255, .10);
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1120px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Space Grotesk", var(--font);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
::selection { background: #fff; color: #000; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ===== Shared bits ===== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 15px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .03);
  font-size: .74rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 10px 2px rgba(255, 255, 255, .55);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: .98rem;
  padding: 14px 28px; border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn--solid { background: #fff; color: #08080a; }
.btn--solid:hover { transform: translateY(-2px); background: #e8e8ea; }
.btn--line { border-color: var(--line-2); color: var(--text); }
.btn--line:hover { border-color: #fff; transform: translateY(-2px); }

/* ===== Header ===== */
.sh-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 5, 7, .72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.sh-nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 70px; }
.sh-brand { display: flex; align-items: center; }
.sh-brand img { height: 22px; width: auto; }
.sh-nav__links { display: flex; align-items: center; gap: 28px; }
.sh-nav__links a { font-size: .93rem; font-weight: 600; color: var(--muted); transition: color .15s; }
.sh-nav__links a:hover { color: #fff; }
.sh-nav__parent {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 17px; border-radius: 999px;
  border: 1px solid var(--line); font-size: .86rem; font-weight: 600; color: var(--muted);
}
.sh-nav__parent:hover { border-color: var(--line-2); color: #fff; }

.sh-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; margin-right: -10px; }
.sh-toggle span { width: 23px; height: 2px; background: #fff; border-radius: 2px; transition: .25s; }

/* ===== Hero ===== */
.sh-hero { position: relative; overflow: hidden; padding-block: clamp(56px, 10vw, 118px) clamp(48px, 8vw, 96px); }
.sh-hero::before {
  content: ""; position: absolute; inset: -30% -10% auto -10%; height: 640px; pointer-events: none;
  background:
    radial-gradient(620px 380px at 50% 0%, var(--glow), transparent 68%),
    radial-gradient(420px 300px at 88% 18%, rgba(255, 255, 255, .05), transparent 70%);
}
.sh-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 25%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 25%, #000 25%, transparent 78%);
}
.sh-hero__inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }

/* The wordmark IS the page title */
.sh-wordmark { margin: 26px 0 0; line-height: 1; }
.sh-wordmark img {
  width: min(660px, 88vw); margin-inline: auto;
  filter: drop-shadow(0 0 40px rgba(190, 210, 255, .18));
}
/* blade glint under the wordmark */
.sh-blade {
  width: min(760px, 94vw); height: 1px; margin: 26px auto 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent);
}

.sh-tagline {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.15rem, 3.4vw, 1.75rem);
  letter-spacing: -.01em; line-height: 1.3;
  margin-top: 30px; max-width: 24ch;
}
.sh-lead { color: var(--muted); font-size: clamp(1rem, 2.3vw, 1.08rem); max-width: 60ch; margin-top: 18px; }
.sh-hero__actions { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; margin-top: 34px; }

/* ===== Sections ===== */
.sh-section { padding-block: clamp(56px, 8vw, 100px); }
.sh-section--panel { background: var(--bg-2); border-block: 1px solid var(--line); }
.sh-head { max-width: 620px; margin-bottom: clamp(30px, 5vw, 50px); }
.sh-head--center { margin-inline: auto; text-align: center; }
.sh-head h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.6rem, 4.4vw, 2.4rem);
  letter-spacing: -.025em; line-height: 1.14; margin: 16px 0 12px;
}
.sh-head p { color: var(--muted); font-size: 1.03rem; }

/* ===== Feature grid ===== */
.sh-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sh-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.sh-card:hover { transform: translateY(-4px); border-color: var(--line-2); background: var(--panel-2); }
.sh-card__ico {
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 13px; margin-bottom: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .01));
  color: #fff;
}
.sh-card__ico svg { width: 21px; height: 21px; }
.sh-card h3 { font-family: var(--display); font-size: 1.1rem; margin-bottom: 8px; letter-spacing: -.01em; }
.sh-card p { color: var(--muted); font-size: .94rem; }

/* ===== Split (who it's for) ===== */
.sh-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.sh-list { display: grid; gap: 14px; }
.sh-list li { display: flex; gap: 13px; align-items: flex-start; color: var(--muted); font-size: .98rem; }
.sh-list li strong { color: var(--text); display: block; font-size: 1rem; }
.sh-list__tick {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; margin-top: 3px;
  display: grid; place-items: center; background: #fff; color: #000;
  font-size: .64rem; font-weight: 900;
}

/* ===== Corporate / ownership block ===== */
.sh-corp {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 40px);
}
.sh-corp__rows { display: grid; gap: 0; margin-top: 6px; }
.sh-corp__row {
  display: grid; grid-template-columns: 210px 1fr; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.sh-corp__row:last-child { border-bottom: 0; }
.sh-corp__row dt { color: var(--muted-2); font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.sh-corp__row dd { font-size: 1rem; font-weight: 600; }
.sh-corp__row dd a:hover { text-decoration: underline; }

/* ===== CTA band ===== */
.sh-cta { text-align: center; }
.sh-cta h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.7rem, 4.6vw, 2.5rem); letter-spacing: -.025em; line-height: 1.12;
}
.sh-cta p { color: var(--muted); margin: 14px auto 0; max-width: 52ch; }
.sh-cta__actions { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; margin-top: 28px; }

/* ===== Footer ===== */
.sh-footer { background: #030304; border-top: 1px solid var(--line); padding-block: 44px 34px; }
.sh-footer__top {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start;
  gap: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line);
}
.sh-footer__brand img { height: 20px; width: auto; margin-bottom: 14px; }
.sh-footer__brand p { color: var(--muted-2); font-size: .9rem; max-width: 34ch; }
.sh-footer__cols { display: flex; flex-wrap: wrap; gap: clamp(32px, 6vw, 72px); }
.sh-footer__col h4 {
  font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted-2); margin-bottom: 14px;
}
.sh-footer__col a, .sh-footer__col span {
  display: block; font-size: .93rem; color: var(--muted); margin-bottom: 10px; transition: color .15s;
}
.sh-footer__col a:hover { color: #fff; }

/* The mandatory ownership statement */
.sh-legal { padding-top: 26px; display: grid; gap: 10px; }
.sh-legal__owner { font-size: .95rem; font-weight: 700; color: var(--text); }
.sh-legal__fine { font-size: .85rem; color: var(--muted-2); }

/* ============================================================
   Legal document pages (terms / privacy)
   ============================================================ */
.doc { padding-block: clamp(46px, 7vw, 80px); }
.doc__head { max-width: 760px; margin-bottom: 36px; }
.doc__head h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.9rem, 5vw, 2.7rem); letter-spacing: -.03em; line-height: 1.1;
  margin: 18px 0 12px;
}
.doc__meta { color: var(--muted-2); font-size: .9rem; }
.doc__body { max-width: 760px; }
.doc__body h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.15rem, 3vw, 1.4rem); letter-spacing: -.015em;
  margin: 40px 0 12px; padding-top: 22px; border-top: 1px solid var(--line);
}
.doc__body h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 8px; }
.doc__body h3 { font-family: var(--display); font-size: 1.03rem; margin: 22px 0 8px; }
.doc__body p { color: var(--muted); margin-bottom: 14px; }
.doc__body ul { display: grid; gap: 9px; margin: 0 0 16px; }
.doc__body ul li { position: relative; padding-left: 20px; color: var(--muted); }
.doc__body ul li::before {
  content: ""; position: absolute; left: 3px; top: .68em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--muted-2);
}
.doc__body a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.doc__body strong { color: var(--text); }
.doc__toc {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 24px; margin-bottom: 34px;
}
.doc__toc h4 {
  font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted-2); margin-bottom: 12px;
}
.doc__toc ol { display: grid; gap: 7px; counter-reset: toc; }
.doc__toc ol li { counter-increment: toc; font-size: .93rem; }
.doc__toc ol li::before { content: counter(toc) ". "; color: var(--muted-2); }
.doc__toc a { color: var(--muted); }
.doc__toc a:hover { color: #fff; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 940px) {
  .sh-grid { grid-template-columns: repeat(2, 1fr); }
  .sh-split { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .sh-toggle { display: flex; }
  .sh-nav__links {
    position: fixed; inset: 70px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: rgba(5, 5, 7, .97);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 14px clamp(20px, 5vw, 40px) 22px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .22s ease, opacity .22s ease;
  }
  .sh-nav__links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .sh-nav__links a { padding: 13px 4px; font-size: 1.02rem; }
  .sh-nav__parent { margin-top: 8px; justify-content: center; }
  .sh-corp__row { grid-template-columns: 1fr; gap: 4px; }
  .sh-footer__top { flex-direction: column; }
}

@media (max-width: 520px) {
  .sh-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .sh-hero__actions, .sh-cta__actions { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
