/* Focus Space — multi-page site styles (extends dist/assets/app.css theme tokens) */

/* ---- Nav: dropdown + spacing ---- */
.nav { gap: 24px; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; padding: 0; cursor: pointer;
  color: #aeb4c0; font: inherit; font-size: 13px; font-weight: 500; transition: .2s;
}
.nav-link:hover { color: #fff; }
.nav-link svg { width: 14px; transition: .2s; }
.has-dropdown.open .nav-link svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 214px; display: flex; flex-direction: column; padding: 8px;
  border: 1px solid #282e3a; border-radius: 14px; background: #0d1119;
  box-shadow: 0 25px 60px #00000080; opacity: 0; visibility: hidden; transition: .2s; z-index: 30;
}
.has-dropdown:hover .dropdown, .has-dropdown.open .dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.dropdown a { padding: 10px 12px; border-radius: 9px; color: #aeb4c0; font-size: 13px; text-decoration: none; transition: .15s; }
.dropdown a:hover { background: #151a25; color: #fff; }
.nav a[aria-current="page"], .nav-link[aria-current="page"] { color: #fff; }

/* ---- Interior page hero ---- */
.page-hero { padding: 150px 0 34px; }
.page-hero .eyebrow { display: block; margin-bottom: 16px; }
.page-hero h1 {
  font-size: clamp(38px, 4.6vw, 62px); line-height: 1.04; letter-spacing: -.055em;
  margin: 0 0 20px; max-width: 15ch; color: #fff;
}
.lead { color: var(--muted); font-size: 17px; line-height: 1.7; max-width: 640px; margin: 0; }
.page-hero .hero-actions { margin: 32px 0 0; }
.section.tight { padding: 70px 0; }
.section.tight-top { padding-top: 30px; }

/* ---- Prose (about / legal / article) ---- */
.prose { max-width: 760px; color: #b5bcc8; font-size: 15px; line-height: 1.85; }
.prose h2 { color: #fff; font-size: 26px; letter-spacing: -.03em; margin: 46px 0 14px; }
.prose h3 { color: #fff; font-size: 18px; margin: 30px 0 10px; }
.prose p { margin: 0 0 18px; }
.prose ul { margin: 0 0 18px; padding-left: 20px; }
.prose li { margin: 0 0 9px; }
.prose a { color: var(--blue); }
.prose strong { color: #dfe3ea; }
.muted-note { color: #69717e; font-size: 12px; line-height: 1.6; }

/* ---- Download ---- */
.download-grid { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center; }
.store-grid { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.store-btn {
  display: flex; align-items: center; gap: 12px; padding: 12px 20px; min-width: 210px;
  border: 1px solid #2b3240; border-radius: 14px; background: #0d1119; color: #eef0f5; text-decoration: none; transition: .2s;
}
.store-btn:hover { border-color: #3a4252; transform: translateY(-2px); }
.store-btn svg { width: 26px; height: 26px; flex: none; }
.store-btn small { display: block; font-size: 9px; color: #8a92a0; letter-spacing: .04em; }
.store-btn strong { display: block; font-size: 15px; letter-spacing: -.02em; }
.store-btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.qr {
  width: 168px; height: 168px; border: 1px solid #2b3240; border-radius: 18px; background: #0d1119;
  display: grid; place-items: center; color: #5f6877; font-size: 10px; text-align: center; padding: 14px; gap: 8px;
}
.qr svg { width: 34px; height: 34px; color: #4a5261; }

/* ---- Comparison ---- */
.table-wrap { overflow-x: auto; margin-top: 40px; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 520px; }
.compare-table th, .compare-table td { padding: 15px 16px; border-bottom: 1px solid #202531; text-align: left; }
.compare-table thead th { color: #fff; font-size: 11px; letter-spacing: .07em; text-transform: uppercase; }
.compare-table thead th.brand { color: var(--lime); }
.compare-table td:first-child { color: #aeb4c0; }
.compare-table .yes { color: var(--lime); font-weight: 600; }
.compare-table .no { color: #6e7684; }
.compare-table tbody tr:hover { background: #0d1119; }

/* ---- FAQ ---- */
.faq { max-width: 780px; margin-top: 34px; border-top: 1px solid #202531; }
.faq-item { border-bottom: 1px solid #202531; }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; color: #eef0f5; font-size: 15px; font-weight: 600; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 6px; top: 18px; font-size: 22px; font-weight: 400; color: #8a92a0; transition: .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 0 20px; color: #9098a5; font-size: 14px; line-height: 1.7; }
.faq-a p { margin: 0; }

/* ---- Blog ---- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 50px; }
.post-card { display: flex; flex-direction: column; border: 1px solid #202633; border-radius: 18px; background: #0d1119; overflow: hidden; text-decoration: none; transition: .25s; }
.post-card:hover { transform: translateY(-4px); border-color: #333b4c; }
.post-thumb { height: 152px; border-bottom: 1px solid #202633; position: relative; overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-thumb span { position: absolute; left: 16px; bottom: 14px; font-size: 22px; }
.post-body { padding: 20px 20px 24px; }
.post-card .tag { font-size: 10px; color: #858e9e; letter-spacing: .1em; text-transform: uppercase; }
.post-card h2, .post-card h3 { color: #fff; font-size: 16px; margin: 10px 0; letter-spacing: -.02em; line-height: 1.35; }
.post-card p { color: #838b99; font-size: 13px; line-height: 1.6; margin: 0; }
.post-meta { margin-top: 14px; font-size: 11px; color: #69717e; display: flex; gap: 10px; }

/* ---- Article ---- */
.article-head { max-width: 780px; }
.article-hero-img { display: block; width: 100%; max-width: 900px; height: 340px; object-fit: cover; border-radius: 20px; border: 1px solid #202633; margin: 34px 0 40px; }
.related { margin-top: 66px; }
.related h2 { font-size: 22px; letter-spacing: -.03em; margin: 0 0 6px; }

/* ---- CTA band ---- */
.cta-band {
  border: 1px solid #2c3240; border-radius: 24px; padding: 58px; text-align: center;
  background: radial-gradient(circle at 50% 0, rgba(142,120,255,.13), transparent 55%), linear-gradient(140deg, #111620, #090c13);
}
.cta-band h2 { font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -.04em; margin: 0 0 14px; color: #fff; }
.cta-band p { color: var(--muted); margin: 0 auto 26px; max-width: 520px; }
.cta-band .hero-actions { justify-content: center; margin: 0; display: flex; gap: 12px; }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: start; }
.contact-info a { color: var(--blue); text-decoration: none; }
.contact-info .info-row { display: flex; align-items: center; gap: 12px; margin-top: 18px; color: #b5bcc8; font-size: 14px; }
.contact-info .info-row svg { width: 18px; color: var(--lime); flex: none; }
textarea {
  width: 100%; min-height: 120px; border: 1px solid #2b3240; border-radius: 11px; background: #111620;
  color: #eef0f5; padding: 12px 14px; font: inherit; font-size: 12px; outline: none; resize: vertical;
}
textarea:focus { border-color: #7767d3; box-shadow: 0 0 0 3px #8e78ff17; }

/* ---- Footer columns ---- */
.footer-cols { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; padding-bottom: 50px; }
.footer-cols h4 { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #8c94a1; margin: 0 0 16px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-cols li a { font-size: 12px; color: #7c8492; text-decoration: none; }
.footer-cols li a:hover { color: #fff; }

/* ---- 404 ---- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 150px 0 80px; }
.notfound h1 { font-size: clamp(64px, 12vw, 140px); margin: 0; color: #fff; letter-spacing: -.06em; }
.notfound p { color: var(--muted); margin: 6px 0 26px; }

@media (max-width: 900px) {
  .post-grid { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .download-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 720px) {
  .post-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 38px 22px; }
  .page-hero { padding-top: 130px; }
  /* dropdown becomes inline inside the open mobile menu */
  .nav-item { display: block; }
  .has-dropdown { flex-direction: column; align-items: stretch; }
  .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: 0; background: transparent; padding: 4px 0 4px 12px; min-width: 0;
  }
}
