/* Trades In One — design system */
:root {
  --bg: #ffffff;
  --bg-soft: #f6f5f1;
  --bg-paper: #faf9f6;
  --text: #1a1a1a;
  --text-muted: #555;
  --text-faint: #888;
  --border: #e5e3dc;
  --accent: #1a1a1a;
  --accent-hover: #333;
  --link: #1a3a8f;
  --success: #0a7d3a;
  --error: #a32d2d;
  --max: 720px;
  --radius: 8px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header */
.tio-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.tio-logo {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}
.tio-logo:hover { text-decoration: none; }
.tio-nav { display: flex; gap: 1.25rem; align-items: center; }
.tio-nav a { font-size: 14px; color: var(--text-muted); }
.tio-nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 8px 16px;
  border-radius: var(--radius);
}
.tio-nav-cta:hover { background: var(--accent-hover); text-decoration: none; }
@media (max-width: 600px) {
  .tio-nav a:not(.tio-nav-cta) { display: none; }
}

/* Hero */
.tio-hero {
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--bg-soft);
  max-width: var(--max);
  margin: 0 auto;
}
.tio-hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  margin: 0 0 12px;
}
.tio-hero h1 {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 12px;
  line-height: 1.2;
}
.tio-hero-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0 auto 1.5rem;
  max-width: 520px;
  line-height: 1.55;
}

/* Buttons */
.tio-btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  text-align: center;
}
.tio-btn-primary:hover { background: var(--accent-hover); text-decoration: none; }
.tio-btn-full { width: 100%; padding: 14px; }

/* Trades grid */
.tio-trades {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.tio-section-eyebrow {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  text-align: center;
  margin: 0 0 14px;
}
.tio-trades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
}
.tio-trade-pill {
  background: var(--bg-soft);
  padding: 10px;
  border-radius: var(--radius);
  text-align: center;
  font-size: 13px;
  color: var(--text);
}

/* Sections */
.tio-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.75rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.tio-section h1, .tio-section h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 12px;
}
.tio-section p {
  margin: 0 0 14px;
  color: var(--text);
  line-height: 1.7;
}

/* Quote form */
.tio-quote {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.5rem;
  background: var(--bg-paper);
}
.tio-quote h2 { font-size: 22px; font-weight: 600; margin: 0 0 6px; }
.tio-quote-sub { color: var(--text-muted); margin: 0 0 1.5rem; font-size: 14px; }

.tio-form { display: grid; gap: 14px; }
.tio-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 480px) {
  .tio-form-row { grid-template-columns: 1fr; }
}
.tio-form-field label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.tio-form-field input,
.tio-form-field select,
.tio-form-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14px;
  background: #fff;
  color: var(--text);
}
.tio-form-field textarea { resize: vertical; min-height: 90px; }
.tio-form-field input:focus,
.tio-form-field select:focus,
.tio-form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
}
.tio-form-status { font-size: 14px; margin: 8px 0 0; min-height: 20px; }

/* Nearby */
.tio-nearby {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.tio-nearby-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
  text-align: center;
  font-size: 13px;
}
.tio-nearby-grid a {
  padding: 6px;
  border-radius: var(--radius);
}

/* Footer */
.tio-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem;
  text-align: center;
  font-size: 12px;
  color: var(--text-faint);
}
.tio-footer p { margin: 4px 0; }
.tio-footer-links a { color: var(--text-faint); margin: 0 8px; }
