:root {
  --bg: #0B0E0C;
  --surface: #141815;
  --surface-2: #1B211C;
  --border: #262E27;
  --text-primary: #EDEDE6;
  --text-secondary: #8F9389;
  --gain: #6BCB77;
  --loss: #E4572E;
  --amber: #F2C14E;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}
.wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 12px;
}
h1 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 8px;
}
.sub {
  color: var(--text-secondary);
  font-size: 15px;
  margin: 0 0 36px;
  line-height: 1.6;
}
.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.tab {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.tab.active {
  border-color: var(--amber);
  color: var(--amber);
}
.controls {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.field { flex: 1; min-width: 140px; }
.field label {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
input, select {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  padding: 12px 14px;
  border-radius: 8px;
}
input:focus, select:focus {
  outline: none;
  border-color: var(--amber);
}
.ticker {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  text-align: center;
  margin-bottom: 24px;
  transition: transform 0.15s;
}
.ticker-label {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0 0 10px;
}
.ticker-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 44px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  transition: color 0.2s;
}
.ticker-pct {
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  font-weight: 500;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.detail-card {
  background: var(--surface-2);
  border-radius: 10px;
  padding: 14px 16px;
}
.detail-card p { margin: 0; }
.detail-label {
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 4px !important;
}
.detail-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  font-weight: 500;
}
.note {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
}
.share-btn {
  width: 100%;
  background: var(--amber);
  color: #211802;
  border: none;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: opacity 0.15s;
}
.share-btn:hover { opacity: 0.88; }
.compare-btn {
  width: 100%;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 10px;
  transition: border-color 0.15s;
}
.compare-btn:hover { border-color: var(--amber); }
.compare-table {
  margin-top: 20px;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.compare-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.compare-row:last-child { border-bottom: none; }
.compare-row .name { color: var(--text-secondary); }
.compare-row .value {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
}
.disclaimer {
  font-size: 11px;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 24px;
  line-height: 1.6;
}
.updated {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 8px;
}
.faq {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.faq h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 20px;
}
.faq-item {
  margin-bottom: 20px;
}
.faq-item h3 {
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 6px;
  color: var(--text-primary);
}
.faq-item p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}
.back-link {
  display: inline-block;
  margin-top: 24px;
  font-size: 13px;
  color: var(--amber);
  text-decoration: none;
}
.back-link:hover { text-decoration: underline; }
.scenarios {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.scenarios h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 16px;
}
.scenarios ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.scenarios li {
  margin-bottom: 10px;
}
.scenarios a {
  color: var(--text-primary);
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
  transition: border-color 0.15s, color 0.15s;
}
.scenarios a:hover {
  color: var(--amber);
  border-color: var(--amber);
}
