/* ToolWall — shared site styles */

:root {
  --bg: #0D110A;
  --bg-2: #161A0F;
  --card: #1F2613;
  --card-2: #2A3318;
  --lime: #C6E94A;
  --lime-bright: #D8FF52;
  --lime-dim: rgba(198,233,74,0.6);
  --text: #f0f3e8;
  --muted: rgba(240,243,232,0.55);
  --muted-2: rgba(240,243,232,0.7);
  --border: rgba(198,233,74,0.10);
  --border-strong: rgba(198,233,74,0.22);
  --maxw: 1200px;
}

* { box-sizing: border-box; -webkit-font-smoothing: antialiased; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, 'SF Pro Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

a { color: var(--lime); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(13, 17, 10, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  font-size: 22px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--card-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  color: var(--muted-2);
  font-size: 16px;
  font-weight: 500;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a.cta {
  background: var(--lime);
  color: #16180a;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
}
.nav-links a.cta:hover { background: var(--lime-bright); }

/* ===== CONTAINERS ===== */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}
.wrap-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== TYPE ===== */
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; text-wrap: pretty; }
h1 { font-size: clamp(48px, 7vw, 96px); line-height: 1.0; font-weight: 800; }
h2 { font-size: clamp(34px, 4vw, 54px); line-height: 1.1; font-weight: 800; }
h3 { font-size: 24px; line-height: 1.2; font-weight: 700; }
p { margin: 0; }
.eyebrow {
  display: inline-block;
  color: var(--lime);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.lead { font-size: clamp(18px, 2vw, 22px); color: var(--muted-2); line-height: 1.45; }
.accent { color: var(--lime); }

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  margin-top: 100px;
  padding: 48px 0 56px 0;
  background: var(--bg-2);
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-left { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 15px; }
.footer-links { display: flex; gap: 28px; font-size: 15px; }
.footer-links a { color: var(--muted-2); }
.footer-links a:hover { color: var(--lime); text-decoration: none; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 17px;
  background: var(--lime);
  color: #16180a;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}
.btn:hover { background: var(--lime-bright); text-decoration: none; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { background: var(--card); border-color: var(--lime-dim); }

/* App Store badge style */
.appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 26px 12px 22px;
  background: #000;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  color: #fff;
}
.appstore-badge:hover { text-decoration: none; background: #111; }
.appstore-badge svg { flex-shrink: 0; }
.appstore-badge .ab-small { font-size: 11px; opacity: 0.85; letter-spacing: 0.02em; }
.appstore-badge .ab-big { font-size: 23px; font-weight: 600; line-height: 1.05; letter-spacing: -0.01em; }

/* ===== UTILS ===== */
.muted { color: var(--muted); }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-4 { margin-top: 16px; } .mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; } .mt-16 { margin-top: 64px; } .mt-20 { margin-top: 80px; }

/* ===== PAGE HEADER (support/privacy/terms) ===== */
.page-header {
  padding: 80px 0 60px 0;
  border-bottom: 1px solid var(--border);
}
.page-header h1 { font-size: clamp(40px, 5vw, 64px); }
.page-header .lead { margin-top: 18px; }

/* ===== PROSE (article body) ===== */
.prose { padding: 60px 0 20px 0; }
.prose h2 { font-size: 28px; margin-top: 56px; margin-bottom: 16px; }
.prose h3 { font-size: 20px; margin-top: 36px; margin-bottom: 10px; }
.prose p { margin: 14px 0; color: var(--muted-2); font-size: 17px; }
.prose ul { color: var(--muted-2); padding-left: 22px; }
.prose ul li { margin: 8px 0; }
.prose strong { color: var(--text); font-weight: 700; }
.prose .meta { color: var(--muted); font-size: 14px; }
