/* â”€â”€ TorqBook Design System â”€â”€ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg:        #080808;
  --bg2:       #111111;
  --bg3:       #1a1a1a;
  --border:    rgba(255,255,255,0.07);
  --border-hi: rgba(249,115,22,0.35);
  --accent:    #f97316;
  --accent-dk: #e06210;
  --text:      #efefef;
  --muted:     #777;
  --muted2:    #444;
  --radius:    16px;
  --radius-sm: 10px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: 0.2s cubic-bezier(0.4,0,0.2,1);
}

/* â”€â”€ RESET â”€â”€ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; transition: opacity var(--transition); }
a:hover { opacity: 0.85; }

/* â”€â”€ TYPOGRAPHY â”€â”€ */
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; margin-bottom: 14px; }
h3 { font-size: 1.05rem; font-weight: 700; }
.label {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.sub { color: var(--muted); font-size: 1rem; max-width: 520px; line-height: 1.7; }

/* â”€â”€ LAYOUT â”€â”€ */
.container { max-width: 1080px; margin: 0 auto; padding: 0 5%; }
section { padding: 96px 0; }
section .container { padding: 0 5%; }

/* â”€â”€ NAV â”€â”€ */
nav {
  position: sticky; top: 0; z-index: 100;
  height: 60px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  background: rgba(8,8,8,0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex; align-items: center; gap: 9px;
  font-weight: 800; font-size: 1.05rem; color: var(--text);
  letter-spacing: -0.02em;
}
.nav-logo svg { width: 30px; height: 30px; flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  color: var(--muted); font-size: 0.875rem; font-weight: 500;
  padding: 6px 12px; border-radius: 8px;
  transition: all var(--transition);
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); opacity: 1; }
.nav-links a.active { color: var(--text); }
.nav-cta {
  background: var(--accent) !important;
  color: #000 !important; font-weight: 700 !important;
  padding: 7px 16px !important; border-radius: 8px !important;
  font-size: 0.82rem !important; letter-spacing: 0.01em;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover { background: var(--accent-dk) !important; transform: translateY(-1px); opacity: 1 !important; }

.nav-logo img { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; }

/* â”€â”€ FOOTER â”€â”€ */
footer {
  border-top: 1px solid var(--border);
  padding: 36px 5%;
  display: flex; flex-wrap: wrap; gap: 16px;
  align-items: center; justify-content: space-between;
  color: var(--muted); font-size: 0.82rem;
}
footer a { color: var(--muted2); font-weight: 500; transition: color var(--transition); }
footer a:hover { color: var(--text); opacity: 1; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* â”€â”€ BUTTONS â”€â”€ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 0.95rem;
  cursor: pointer; border: none;
  transition: all var(--transition);
  text-decoration: none !important;
}
.btn-primary { background: var(--accent); color: #000; }
.btn-primary:hover { background: var(--accent-dk); transform: translateY(-1px); opacity: 1; }
.btn-ghost {
  background: transparent; color: var(--muted);
  border: 1px solid var(--border); font-weight: 500;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.2); color: var(--text); opacity: 1; }

/* â”€â”€ CARDS â”€â”€ */
.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
  transition: border-color var(--transition), transform var(--transition);
}
.card:hover { border-color: var(--border-hi); transform: translateY(-2px); }
.card-icon { font-size: 1.6rem; margin-bottom: 14px; }
.card h3 { margin-bottom: 7px; color: var(--text); }
.card p { color: var(--muted); font-size: 0.875rem; line-height: 1.6; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px; margin-top: 48px;
}

/* â”€â”€ DIVIDER â”€â”€ */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* â”€â”€ DOC PAGES (privacy / terms / support) â”€â”€ */
.doc-hero { padding: 64px 5% 40px; border-bottom: 1px solid var(--border); }
.doc-hero h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 800; margin: 8px 0; }
.doc-hero p { color: var(--muted); margin-top: 6px; }
.doc-body { max-width: 720px; margin: 0 auto; padding: 52px 5%; }
.doc-body h2 {
  font-size: 1.1rem; font-weight: 700;
  margin: 40px 0 10px; color: var(--accent);
  padding-bottom: 8px; border-bottom: 1px solid var(--border);
}
.doc-body h3 { font-size: 0.95rem; font-weight: 700; margin: 22px 0 7px; }
.doc-body p, .doc-body li { color: var(--muted); font-size: 0.92rem; margin-bottom: 10px; line-height: 1.75; }
.doc-body ul { padding-left: 18px; margin-bottom: 12px; }
.doc-body li { margin-bottom: 5px; }
.doc-body a { color: var(--accent); }
.pill-tag {
  display: inline-block; background: rgba(249,115,22,0.1);
  border: 1px solid rgba(249,115,22,0.22); border-radius: 6px;
  padding: 4px 12px; font-size: 0.75rem; color: var(--accent);
  font-weight: 600; margin-bottom: 28px;
}

/* â”€â”€ FAQ (support) â”€â”€ */
.faq-list { display: flex; flex-direction: column; gap: 10px; margin-top: 36px; }
details {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); overflow: hidden;
  transition: border-color var(--transition);
}
details[open] { border-color: var(--border-hi); }
summary {
  padding: 16px 20px; font-weight: 600; font-size: 0.9rem;
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  user-select: none; transition: background var(--transition);
}
summary:hover { background: rgba(255,255,255,0.03); }
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '+'; color: var(--accent); font-size: 1.2rem;
  font-weight: 300; flex-shrink: 0; margin-left: 12px;
}
details[open] summary::after { content: 'Â‘2'; }
.faq-answer { padding: 0 20px 16px; color: var(--muted); font-size: 0.875rem; line-height: 1.75; }
.faq-answer a { color: var(--accent); }

/* â”€â”€ CONTACT CARDS (support) â”€â”€ */
.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px; margin-top: 36px;
}
.contact-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px; text-align: center;
  transition: border-color var(--transition), transform var(--transition);
}
.contact-card:hover { border-color: var(--border-hi); transform: translateY(-2px); }
.contact-icon { font-size: 2rem; margin-bottom: 12px; }
.contact-card h3 { font-weight: 700; margin-bottom: 7px; font-size: 0.95rem; }
.contact-card p { color: var(--muted); font-size: 0.85rem; margin-bottom: 18px; line-height: 1.6; }
.contact-card .btn {
  font-size: 0.82rem; padding: 9px 18px;
  background: var(--accent); color: #000; border-radius: 8px;
}
.contact-card .btn:hover { background: var(--accent-dk); }

/* â”€â”€ RESPONSIVE â”€â”€ */
@media (max-width: 640px) {
  nav { padding: 0 4%; }
  .nav-links a:not(.nav-cta) { display: none; }
  section { padding: 64px 0; }
  .doc-hero { padding: 48px 4% 32px; }
  .doc-body { padding: 40px 4%; }
  footer { padding: 28px 4%; }
}