/* Condition landing page styles */
:root {
  --p: #2563eb; --pl: #dbeafe; --a: #0ea5e9; --s: #10b981;
  --50: #f8fafc; --100: #f1f5f9; --200: #e2e8f0; --300: #cbd5e1;
  --400: #94a3b8; --500: #64748b; --600: #475569; --700: #334155;
  --800: #1e2937; --900: #0f172a;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', -apple-system, sans-serif; color: var(--800); background: #fff; }

.nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--200); padding: 12px 24px; }
.nav-in { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.3rem; font-weight: 800; color: var(--p); text-decoration: none; }
.nav-l { display: flex; gap: 24px; }
.nav-l a { color: var(--600); font-weight: 500; font-size: .9rem; text-decoration: none; }
.nav-l a:hover { color: var(--p); }

.hero { background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%); color: #fff; padding: 80px 24px 60px; text-align: center; }
.hero-in { max-width: 800px; margin: 0 auto; }
.badge { display: inline-block; background: rgba(16,185,129,.15); color: #10b981; padding: 4px 14px; border-radius: 100px; font-size: .8rem; font-weight: 600; margin-bottom: 16px; }
.hero h1 { font-size: 2.4rem; font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.hero-sub { font-size: 1.05rem; line-height: 1.6; color: rgba(255,255,255,.75); margin-bottom: 28px; }
.hero-note { font-size: .82rem; color: rgba(255,255,255,.5); margin-top: 16px; }

.btn { display: inline-block; padding: 10px 20px; border-radius: 10px; border: none; font-family: inherit; font-weight: 600; font-size: .92rem; cursor: pointer; transition: all .15s; text-decoration: none; }
.bp { background: var(--p); color: #fff; }.bp:hover { background: #1d4ed8; }
.bo { background: #fff; color: var(--p); border: 1.5px solid var(--p); }.bo:hover { background: var(--pl); }
.bs { background: var(--s); color: #fff; }.bs:hover { background: #059669; }
.blg { padding: 14px 32px; font-size: 1rem; }
.bsm { padding: 6px 14px; font-size: .82rem; }

.section { padding: 60px 24px; }
.section.alt { background: var(--50); }
.container { max-width: 1000px; margin: 0 auto; }
.section h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; }
.section-sub { color: var(--500); margin-bottom: 32px; }

/* Pathway */
.pathway { display: flex; flex-direction: column; gap: 0; }
.pw-step { display: flex; gap: 16px; }
.pw-marker { display: flex; flex-direction: column; align-items: center; min-width: 20px; }
.pw-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--p); border: 3px solid var(--pl); flex-shrink: 0; }
.pw-line { width: 2px; flex: 1; background: var(--200); min-height: 32px; }
.pw-content { padding-bottom: 28px; flex: 1; }
.pw-step:last-child .pw-content { padding-bottom: 0; }
.pw-content h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.pw-desc { font-size: .88rem; color: var(--500); margin-bottom: 6px; }
.pw-typical { font-size: .85rem; color: var(--600); margin-bottom: 12px; line-height: 1.5; }

/* Info grid */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 24px; }
.info-card { background: #fff; border: 1px solid var(--200); border-radius: 12px; padding: 24px; }
.info-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.info-card p { font-size: .9rem; color: var(--600); line-height: 1.6; }

/* Trial cards */
.tc { background: #fff; border: 1px solid var(--200); border-radius: 12px; padding: 20px; margin-bottom: 14px; }
.tc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.tc-title { font-size: 1rem; font-weight: 700; color: var(--800); line-height: 1.4; }
.tc-nct { font-size: .78rem; color: var(--400); font-weight: 600; white-space: nowrap; }
.tc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tt { padding: 3px 10px; border-radius: 6px; font-size: .76rem; font-weight: 600; background: var(--100); color: var(--600); }
.tt.rec { background: #dcfce7; color: #166534; }
.tt.ph { background: var(--pl); color: var(--p); }
.tc-key { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; padding: 16px 0; margin-bottom: 14px; border-top: 1px solid var(--100); border-bottom: 1px solid var(--100); }
.tc-key-item { display: flex; flex-direction: column; gap: 4px; }
.tc-key-label { font-size: .75rem; font-weight: 700; color: var(--400); text-transform: uppercase; letter-spacing: .04em; }
.tc-key-val { font-size: .95rem; font-weight: 600; color: var(--800); line-height: 1.4; }
.tc-more { font-size: .8rem; font-weight: 400; color: var(--a); margin-left: 4px; }
.tc-elig { font-size: .82rem; color: var(--500); margin-bottom: 10px; padding: 10px 14px; background: var(--50); border-radius: 8px; line-height: 1.6; }
.tc-bot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.tc-acts { display: flex; gap: 8px; flex-wrap: wrap; }

.loading { text-align: center; padding: 60px 24px; }
.spinner { width: 36px; height: 36px; border: 3px solid var(--200); border-top-color: var(--p); border-radius: 50%; animation: spin .7s linear infinite; margin: 0 auto 16px; }
@keyframes spin { to { transform: rotate(360deg); } }

.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 32px 24px; }
.pgb { padding: 8px 16px; border: 1.5px solid var(--300); border-radius: 8px; background: #fff; cursor: pointer; font-family: inherit; font-weight: 600; font-size: .88rem; color: var(--600); }
.pgb:hover:not(:disabled) { border-color: var(--p); color: var(--p); }
.pgb:disabled { opacity: .4; cursor: not-allowed; }
.pgi { font-size: .88rem; color: var(--500); padding: 0 16px; }

.footer { padding: 36px 24px; border-top: 1px solid var(--200); text-align: center; color: var(--500); font-size: .85rem; }
.footer a { color: var(--600); font-weight: 500; }
.footer p { margin-bottom: 6px; }

@media (max-width: 640px) {
  .hero h1 { font-size: 1.6rem; }
  .tc-key { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-in { flex-wrap: wrap; gap: 8px; }
  .nav-l { gap: 12px; flex-wrap: wrap; }
  .hero { padding: 48px 16px 40px; }
  .hero h1 { font-size: 1.5rem; }
  .section { padding: 40px 16px; }
  .btn.blg { padding: 12px 24px; font-size: .92rem; }
  .tc { padding: 16px; }
  .tc-bot { flex-direction: column; align-items: flex-start; }
  .tc-acts { width: 100%; }
  .tc-acts .btn { flex: 1; text-align: center; }
}

/* Touch targets */
.btn { min-height: 44px; }
.nav-l a { padding: 8px 4px; }
