/* Napa Reach Trade additions on top of the shared Napa Reach styles.css */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.trade-hero .hero-sub { max-width: 680px; }
.trade-hero h1 { max-width: 980px; }
.post-date { color: var(--muted); font-size: 14px; margin-top: 8px; }
.trade-hero .post-date { margin-top: 0; }

/* Disabled search box */
.search-box { width: 100%; max-width: 640px; margin: 44px auto 0; text-align: left; }
.search-label { display: block; }
.search-label .soon { margin-bottom: 10px; }
.search-box input[type="search"] {
  width: 100%; padding: 18px 22px; margin: 0; font-size: 17px; border-radius: 999px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border); color: var(--muted);
  cursor: not-allowed;
}
.search-box input[type="search"]::placeholder { color: var(--muted); opacity: 0.85; }
.hero-form { width: 100%; max-width: 640px; margin: 18px auto 0; text-align: left; scroll-margin-top: 120px; }
.hero-form .ea-form { margin-top: 0; }

/* Early-access form */
.ea-section { scroll-margin-top: 100px; }
.ea-form {
  max-width: 640px; margin: 32px auto 0; text-align: left;
  background: rgba(255,255,255,0.025); border: 1px solid var(--border); border-radius: 18px; padding: 28px 28px 22px;
}
.ea-field label, .ea-group legend { display: block; font-size: 14px; color: var(--text); margin-bottom: 8px; font-weight: 400; }
.ea-field .req { color: var(--gold); }
.ea-group { border: 0; margin: 4px 0 16px; padding: 0; min-width: 0; }
.ea-opts { display: flex; flex-wrap: wrap; gap: 10px; }
.ea-opt {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  border: 1px solid var(--border); background: rgba(255,255,255,0.03); border-radius: 999px;
  padding: 9px 16px; font-size: 14px; color: var(--text);
}
.ea-opt input { width: auto; margin: 0; padding: 0; accent-color: var(--emerald); }
.ea-opt:has(input:checked) { background: var(--emerald-dim); border-color: rgba(45,212,191,0.5); color: var(--emerald); }
.ea-opt:focus-within { outline: 2px solid var(--emerald); outline-offset: 2px; }
.ea-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ea-submit { width: 100%; margin-top: 4px; font-family: inherit; }
.ea-submit[disabled] { opacity: 0.6; cursor: wait; }
.ea-msg { margin-top: 12px; font-size: 15px; color: var(--muted); min-height: 1px; }
.ea-msg.ok { color: var(--emerald); }
.ea-msg.err { color: #f2a08a; }
.ea-done { text-align: center; padding: 18px 8px; color: var(--emerald); font-size: 18px; }
input:focus-visible, a:focus-visible, button:focus-visible, .nav-toggle:focus-visible { outline: 2px solid var(--emerald); outline-offset: 2px; }

/* Steps and cards */
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--emerald-dim); color: var(--emerald); border: 1px solid rgba(45,212,191,0.3); font-size: 15px; margin-bottom: 16px;
}
.card-link { text-decoration: none; display: block; transition: border-color .2s; }
.card-link:hover, .card-link:focus-visible { border-color: rgba(201,169,110,0.5); }
.card-link h3::after { content: " \2192"; }
.closing-line { text-align: center; color: var(--muted); font-size: 16px; margin-top: -24px; }
.closing-line a { color: var(--gold); text-decoration: none; }
.closing-line a:hover { color: var(--gold-soft); }

/* Inner page prose */
.prose { max-width: 800px; }
.prose h2 { font-size: clamp(28px, 3.4vw, 38px); text-align: left; margin: 44px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--text); font-size: 17px; opacity: 0.92; }
.prose p + p { margin-top: 1.1em; }
.prose a { color: var(--gold); text-decoration: none; }
.prose a:hover { color: var(--gold-soft); text-decoration: underline; }
.link-list { list-style: none; padding: 0; }
.link-list li { padding: 12px 0 12px 22px; border-bottom: 1px solid var(--border); position: relative; font-size: 17px; }
.link-list li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.sources { font-size: 14px !important; color: var(--muted) !important; margin-top: 32px; }
.sources span { color: var(--text); }
section.faq.tight h2 { font-size: clamp(30px, 4vw, 44px); }
.post-body h2 { font-size: clamp(26px, 3vw, 34px); }

/* Pricing */
.trade-banner { text-align: center; background: var(--emerald-dim); border: 1px solid rgba(45,212,191,0.3); border-radius: 999px; padding: 12px 22px; color: var(--emerald) !important; margin-bottom: 36px !important; }
.trade-banner a { color: var(--emerald) !important; text-decoration: underline !important; }
.table-wrap { overflow-x: auto; }
.plans { width: 100%; border-collapse: collapse; font-size: 16px; }
.plans th, .plans td { text-align: left; padding: 18px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
.plans thead th { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.plans tbody th { font-family: "Cormorant Garamond", serif; font-size: 24px; color: var(--gold); font-weight: 400; }
.plans td { color: var(--text); }
.plans-note { margin-top: 20px; color: var(--muted) !important; font-size: 15px !important; }

/* Blog list */
.blog-list { max-width: 800px; margin: 0 auto; grid-template-columns: 1fr; }
.blog-list h2 a { color: var(--gold); text-decoration: none; }
.footer-disclaimer { max-width: 640px; margin: 12px auto 0; }

@media (max-width: 800px) {
  .search-box { margin-top: 32px; }
  .search-box input[type="search"] { font-size: 15px; padding: 16px 18px; }
  .ea-form { padding: 22px 18px 18px; }
  .prose p, .link-list li { font-size: 16px; }
  .plans th, .plans td { padding: 14px 10px; font-size: 15px; }
  .plans tbody th { font-size: 20px; }
  .trade-banner { border-radius: 16px; }
  .closing-line { margin-top: -16px; }
}
@media (max-width: 560px) {
  .plans thead { display: none; }
  .plans, .plans tbody, .plans tr, .plans th, .plans td { display: block; width: 100%; }
  .plans tr { border-bottom: 1px solid var(--border); padding: 12px 0; }
  .plans th, .plans td { border: 0; padding: 4px 0; }
}

/* Section rhythm */
main section.tight { padding-top: 56px; padding-bottom: 56px; }
main section.tight.sources-wrap { padding-top: 0; }
main section.tight.ea-section { padding-bottom: 96px; }
.search-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1000px) { .search-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .search-cards { grid-template-columns: 1fr; } }
@media (max-width: 800px) { main section.tight { padding-top: 40px; padding-bottom: 40px; } main section.tight.ea-section { padding-bottom: 64px; } }

/* Disabled search box: clearly inactive */
.search-field { cursor: not-allowed; border-radius: 999px; }
.search-box input[type="search"],
.search-box input[type="search"]:disabled {
  pointer-events: none; user-select: none; -webkit-user-select: none;
  background: rgba(255,255,255,0.015); border: 1px dashed rgba(255,255,255,0.10);
  color: rgba(168,163,154,0.55); -webkit-text-fill-color: rgba(168,163,154,0.55);
  opacity: 0.55; cursor: not-allowed; box-shadow: none;
}
.search-box input[type="search"]::placeholder { color: rgba(168,163,154,0.7); -webkit-text-fill-color: rgba(168,163,154,0.7); opacity: 1; }

/* Early-access form inside the blog post */
.post-form { margin: 28px 0 8px; scroll-margin-top: 100px; }
.post-form .ea-form { margin: 0; }
.prose .post-form p.ea-msg { font-size: 15px; color: var(--muted); }
