/* GRANITE MODELS — Portfolio Site CSS */
/* Design: Industrial refined dark with gold accents */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  --bg: #06060b;
  --bg-elevated: #0f0f18;
  --bg-card: #151520;
  --bg-card-hover: #1a1a2a;
  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(212,167,69,0.3);
  --gold: #d4a745;
  --gold-dim: rgba(212,167,69,0.15);
  --gold-glow: rgba(212,167,69,0.08);
  --blue: #3b82f6;
  --green: #4ade80;
  --amber: #f59e0b;
  --red: #ef4444;
  --text: #e8e8ec;
  --text-secondary: #8888a0;
  --text-muted: #555568;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ═══ LAYOUT ═══ */
.container { max-width: 1140px; margin: 0 auto; padding: 0 32px; }
.section { padding: 28px 0 16px; }
.section--sm { padding: 16px 0; }

/* ═══ NAVIGATION ═══ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6,6,11,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
}
.nav-inner {
  max-width: 1140px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 700; font-size: 20px; color: #fff;
  letter-spacing: -0.5px;
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  font-size: 13px; font-weight: 500; color: var(--text-secondary);
  letter-spacing: 0.3px; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 24px; cursor: pointer; }

/* ═══ BANNER ═══ */
.banner {
  background: var(--gold-dim);
  border-bottom: 1px solid rgba(212,167,69,0.2);
  padding: 10px 32px;
  text-align: center;
  font-size: 13px; font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.5px;
}

/* ═══ HERO ═══ */
.hero { padding: 40px 0 24px; }
.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 600;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-sub {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: var(--gold);
  color: #000;
  font-family: var(--font-display);
  font-weight: 600; font-size: 14px;
  border-radius: 8px;
  letter-spacing: 0.3px;
  transition: all 0.2s;
}
.hero-cta:hover { background: #e0b84e; transform: translateY(-1px); }

/* ═══ STATS BAR ═══ */
.stats-bar {
  display: flex; gap: 32px; flex-wrap: wrap;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 12px 0 20px;
}
.stat { text-align: left; }
.stat-num {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
}
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

/* ═══ CARDS ═══ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.card-grid .card {
  display: flex;
  flex-direction: column;
}
.card-grid .card .card-link {
  margin-top: auto;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.25s;
}
.card:hover { border-color: var(--border-hover); background: var(--bg-card-hover); transform: translateY(-2px); }
.card:hover::before { opacity: 1; }
.card-num {
  font-family: var(--font-display);
  font-size: 40px; font-weight: 800;
  color: var(--gold); opacity: 0.12;
  position: absolute; top: 16px; right: 20px;
}
.card h3 {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700;
  margin-bottom: 8px;
}
.card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.card-link { display: block; margin-top: 16px; font-size: 13px; color: var(--gold); font-weight: 600; }

/* ═══ STATUS BADGES ═══ */
.badge {
  display: inline-block;
  font-size: 11px; font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.badge--production { background: rgba(74,222,128,0.12); color: var(--green); }
.badge--development { background: rgba(245,158,11,0.12); color: var(--amber); }
.badge--rebuilding { background: rgba(59,130,246,0.12); color: var(--blue); }
.badge--planned { background: rgba(136,136,160,0.12); color: var(--text-secondary); }

/* ═══ SECTION HEADINGS ═══ */
.section-label {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 600;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.8px;
  margin-bottom: 10px;
}
.section-desc {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* ═══ ABOUT / STORY ═══ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.about-text p { color: var(--text-secondary); margin-bottom: 20px; line-height: 1.8; font-size: 15px; }
.about-text p strong { color: var(--text); }
.skills-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}
.skills-card h3 {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 700;
  margin-bottom: 16px; color: var(--gold);
}
.skill-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px; color: var(--text-secondary);
}
.skill-item:last-child { border: none; }
.skill-check { color: var(--gold); font-weight: 700; font-size: 16px; }

/* ═══ PROJECT DETAIL ═══ */
.project-hero {
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--border);
}
.project-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
}
.project-hero p { color: var(--text-secondary); font-size: 17px; margin-top: 8px; }
.project-stats {
  display: flex; gap: 32px; flex-wrap: wrap;
  margin: 24px 0;
}
.project-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
  min-width: 120px;
}
.project-stat .val {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 800; color: var(--gold);
}
.project-stat .lbl { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.tech-stack { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0; }
.tech-tag {
  background: var(--gold-dim);
  color: var(--gold);
  font-size: 12px; font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}
.feature-list { list-style: none; }
.feature-list li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: baseline; gap: 10px;
}
.feature-list li:last-child { border: none; }
.feature-list li::before { content: '▸'; color: var(--gold); font-size: 12px; }
.video-embed {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin: 24px 0;
}
.video-embed video { width: 100%; border-radius: 8px; }
.video-label { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; letter-spacing: 1px; text-transform: uppercase; }

/* ═══ PROCESS PAGE ═══ */
.process-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  margin-bottom: 32px;
  align-items: start;
}
.step-num {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 800;
  color: var(--gold); opacity: 0.3;
  text-align: center;
  padding-top: 4px;
}
.step-content h3 {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700;
  margin-bottom: 6px;
}
.step-content p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ═══ ROADMAP ═══ */
.roadmap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.roadmap-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}
.roadmap-card h3 {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 700;
  margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px;
}
.roadmap-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }
.roadmap-icon { font-size: 20px; }
.patent-box {
  background: linear-gradient(135deg, var(--gold-dim), var(--gold-glow));
  border: 1px solid rgba(212,167,69,0.25);
  border-radius: 12px;
  padding: 28px;
  margin: 16px 0;
}
.patent-box h3 { font-family: var(--font-display); color: var(--gold); margin-bottom: 8px; }
.patent-box p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ═══ CONTACT ═══ */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  display: flex; align-items: center; gap: 14px;
  transition: all 0.2s;
}
.contact-card:hover { border-color: var(--border-hover); background: var(--bg-card-hover); }
.contact-icon { font-size: 24px; min-width: 36px; text-align: center; }
.contact-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.contact-value { font-size: 14px; color: var(--gold); font-weight: 600; }

/* ═══ SECTOR FILTER ═══ */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.filter-btn {
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px; font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.filter-btn.active { background: var(--gold-dim); border-color: var(--gold); color: var(--gold); }

/* ═══ ROADMAP PIPELINE ═══ */
#roadmap-container {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 20px 0 40px;
}
.roadmap-wrapper {
  position: relative;
  max-width: 1400px;
  width: 100%;
}
.roadmap-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}
.stage {
  position: absolute;
  padding: 10px 14px;
  background: rgba(10,10,15,0.85);
  color: white;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid rgba(212,167,69,0.4);
  backdrop-filter: blur(6px);
  white-space: nowrap;
  pointer-events: none;
}
.stage--gold { color: #d4a745; border-color: rgba(212,167,69,0.6); font-weight: 700; }
.stage1 { top: 78%; left: 8%; }
.stage2 { top: 63%; left: 24%; }
.stage3 { top: 48%; left: 40%; }
.stage4 { top: 38%; left: 52%; }
.stage5 { top: 32%; left: 64%; }
.stage6 { top: 28%; left: 74%; }
.stage7 { top: 23%; left: 83%; }
.stage8 { top: 18%; left: 88%; }
@media (max-width: 768px) {
  .stage { font-size: 10px; padding: 6px 8px; }
}
@media (max-width: 480px) {
  .stage { font-size: 8px; padding: 4px 6px; }
}

/* ═══ FOOTER ═══ */
.footer {
  border-top: 1px solid var(--border);
  padding: 24px 32px;
  text-align: center;
}
.footer-logo {
  font-family: var(--font-display);
  font-weight: 700; font-size: 18px;
  margin-bottom: 12px;
}
.footer-logo span { color: var(--gold); }
.footer-links { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin: 12px 0; }
.footer-links a { font-size: 13px; color: var(--text-secondary); transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 12px; color: var(--text-muted); margin-top: 12px; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(6,6,11,0.97);
    padding: 20px 32px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
  }
  .nav-toggle { display: block; }
  .hero { padding: 32px 0 16px; }
  .about-grid { grid-template-columns: 1fr; gap: 20px; }
  .stats-bar { gap: 16px; }
  .card-grid { grid-template-columns: 1fr; }
  .process-step { grid-template-columns: 40px 1fr; }
  .container { padding: 0 16px; }
  .section { padding: 20px 0 12px; }
  .video-compare { grid-template-columns: 1fr !important; }
}


/* ═══ README CONTENT ═══ */
.about-text h2 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700;
  color: var(--gold);
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.about-text h2:first-child { margin-top: 0; }
.about-text ul {
  list-style: none;
  margin: 12px 0;
  padding: 0;
}
.about-text ul li {
  padding: 6px 0;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.about-text ul li::before {
  content: '▸';
  color: var(--gold);
  font-size: 12px;
  flex-shrink: 0;
}
.about-text ul li strong { color: var(--text); }

/* ═══ PRICING PAGE ═══ */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pricing-card { display: flex; flex-direction: column; }
.pricing-card--featured {
  border-color: var(--border-hover);
  background: linear-gradient(180deg, rgba(212,167,69,0.04) 0%, var(--bg-card) 100%);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(212,167,69,0.12);
}
.pricing-card--featured::before { opacity: 1; }
.pricing-card--complete { border-color: rgba(74,222,128,0.2); background: linear-gradient(180deg, rgba(74,222,128,0.03) 0%, var(--bg-card) 100%); }
.pricing-card--complete::before { background: var(--green); opacity: 1; }
.pricing-price {
    font-family: var(--font-display);
    font-size: 28px; font-weight: 800;
    color: var(--gold);
    margin: 12px 0 2px;
    letter-spacing: -0.5px;
}
.pricing-price span { font-size: 16px; font-weight: 400; color: var(--text-secondary); }
.pricing-sub { font-size: 12px; color: var(--text-muted); margin-bottom: 16px; }
.pricing-list {
    display: flex; flex-direction: column; gap: 6px;
    flex: 1; margin-bottom: 12px;
}
.pricing-list span {
    font-size: 13px; color: var(--text-secondary); line-height: 1.5;
    padding-left: 18px; position: relative;
}
.pricing-list span::before {
    content: '\2713'; position: absolute; left: 0;
    color: var(--green); font-weight: 700; font-size: 12px;
}
.pricing-hl { color: var(--gold) !important; font-weight: 600; }
.pricing-hl::before { color: var(--gold) !important; }

/* Comparison table */
.pricing-compare { display: flex; flex-direction: column; gap: 4px; }
.pc-row {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 8px; padding: 8px 12px; border-radius: 6px;
    font-size: 13px; color: var(--text-secondary);
}
.pc-header { font-size: 11px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.pc-us { background: var(--gold-glow); color: var(--green); font-weight: 600; }
.pc-us span:last-child { color: var(--green); font-weight: 700; font-size: 15px; }

/* Form — matches site inputs */
.pricing-form { display: flex; flex-direction: column; gap: 14px; }
.pf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pf-field { display: flex; flex-direction: column; gap: 4px; }
.pf-field label {
    font-family: var(--font-display);
    font-size: 11px; font-weight: 600; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.5px;
}
.pf-field input, .pf-field select, .pf-field textarea {
    padding: 12px 16px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 14px;
    transition: border-color 0.2s;
}
.pf-field input:focus, .pf-field select:focus, .pf-field textarea:focus {
    outline: none; border-color: var(--gold);
}
.pf-field select {
    appearance: none; padding-right: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23555568'%3E%3Cpath d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center;
}
.pf-field select option { background: var(--bg-elevated); color: var(--text); }
.pf-field textarea { resize: vertical; min-height: 70px; }

@media (max-width: 900px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .pricing-grid { grid-template-columns: 1fr; }
    .pf-row { grid-template-columns: 1fr; }
    .pc-row { font-size: 11px; }
}

/* Pricing page watermark */
.pricing-watermark {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background: url('/static/gma-logo.png') center center no-repeat;
    background-size: 80vh;
    opacity: 0.025;
}
.pricing-watermark + .container { position: relative; z-index: 1; }

/* Lead Tier Table */
.lead-tier-table { display: flex; flex-direction: column; gap: 2px; margin-bottom: 32px; }
.lead-tier-row {
  display: grid; grid-template-columns: 80px 140px 120px 1fr; gap: 12px; align-items: center;
  padding: 14px 20px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 8px; font-size: 14px; color: var(--text-secondary);
}
.lead-tier-header {
  font-size: 11px; font-weight: 600; color: var(--text-muted); text-transform: uppercase;
  letter-spacing: 0.5px; background: transparent; border: none;
}
.lead-tier-classb {
  background: rgba(74,222,128,0.04); border-color: rgba(74,222,128,0.15);
}
@media (max-width: 600px) {
  .lead-tier-row { grid-template-columns: 1fr 1fr; gap: 8px; font-size: 13px; }
  .lead-tier-header { display: none; }
}

/* Legal Pages */
.legal-content { max-width: 680px; font-size: 15px; line-height: 1.8; color: #ccc; }
.legal-content h3 { color: #d4a745; font-size: 17px; margin-top: 28px; margin-bottom: 8px; }
.legal-content p { margin-bottom: 12px; }
.legal-content strong { color: #fff; }

/* ══════════════════════════════════════════════════════════════════════
   TRADES OS — Industrial Contractor Command Center theme (HOMEPAGE ONLY)
   All rules scoped under .tos so the other pages keep the existing theme.
   Palette: charcoal/gunmetal base, safety-orange accent, steel-blue secondary.
   ══════════════════════════════════════════════════════════════════════ */
.tos {
  --tos-bg:        #0a0c10;
  --tos-panel:     #12161d;
  --tos-panel-2:   #181d26;
  --tos-line:      rgba(255,255,255,0.08);
  --tos-line-2:    rgba(255,255,255,0.14);
  --tos-orange:    #d4a745;
  --tos-orange-dk: #b88a2e;
  --tos-steel:     #4a90d9;
  --tos-text:      #eef1f5;
  --tos-text-2:    #9aa3b0;
  --tos-text-3:    #6b7480;
  background: var(--tos-bg);
  color: var(--tos-text);
  font-family: var(--font-body);
}
.tos h1, .tos h2, .tos h3 { font-family: var(--font-display); }

/* — shared section primitives — */
.tos-section { max-width: 1180px; margin: 0 auto; padding: 64px 32px; }
.tos-label {
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: var(--tos-orange);
  margin-bottom: 14px;
}
.tos-h2 {
  font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; line-height: 1.12;
  letter-spacing: -0.8px; color: #fff; margin-bottom: 16px; max-width: 18ch;
}
.tos-lead { font-size: 17px; line-height: 1.7; color: var(--tos-text-2); max-width: 70ch; margin-bottom: 32px; }
.tos-body { font-size: 16px; line-height: 1.8; color: var(--tos-text-2); margin-bottom: 16px; }
.tos-body strong { color: var(--tos-text); }

/* — buttons — */
.tos-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 6px; font-family: var(--font-display);
  font-weight: 700; font-size: 14px; letter-spacing: 0.4px; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s, background .2s, border-color .2s;
}
.tos-btn:hover { transform: translateY(-2px); }
.tos-btn--primary { background: var(--tos-orange); color: #0a0c10; }
.tos-btn--primary:hover { background: var(--tos-orange-dk); }
.tos-btn--steel { background: transparent; color: var(--tos-steel); border-color: var(--tos-steel); }
.tos-btn--steel:hover { background: rgba(74,144,217,0.12); }
.tos-btn--ghost { background: transparent; color: var(--tos-text); border-color: var(--tos-line-2); }
.tos-btn--ghost:hover { border-color: var(--tos-text-2); }
.tos-btn--full { width: 100%; }
.tos-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.tos-cta-center { justify-content: center; }

/* — image placeholders — */
.tos-imgph {
  position: relative; min-height: 220px; border-radius: 12px;
  background: linear-gradient(135deg, var(--tos-panel-2) 0%, var(--tos-panel) 100%);
}
.tos-imgph-tag {
  font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 2px;
  color: var(--tos-orange); text-transform: uppercase;
}
.tos-imgph small { font-size: 12px; color: var(--tos-text-3); font-family: monospace; }
/* Real image, dropped in via img_slot(). Inherits each slot's sizing class. */
.tos-img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; border-radius: 12px; display: block; }

/* — 1 · HERO — */
.tos-hero { position: relative; padding: 0; overflow: hidden; }
.tos-hero-bg {
  position: absolute; inset: 0; min-height: 100%; border: none; border-radius: 0;
  z-index: 0;
}
img.tos-hero-bg { opacity: 1; object-fit: cover; object-position: right center; }
.tos-imgph.tos-hero-bg { opacity: 0.5; }
.tos-hero-bg .tos-imgph-tag, .tos-hero-bg small { position: relative; }
.tos-hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(0deg, var(--tos-bg) 0%, rgba(10,12,16,0) 26%),
    linear-gradient(90deg, rgba(8,10,14,0.99) 0%, rgba(8,10,14,0.97) 46%, rgba(8,10,14,0.62) 76%, rgba(8,10,14,0.34) 100%);
}
.tos-hero-inner {
  position: relative; z-index: 2; max-width: 1180px; margin: 0 auto;
  padding: 96px 32px 96px;
}
.tos-eyebrow {
  font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: 4px;
  text-transform: uppercase; color: var(--tos-orange); margin-bottom: 18px;
}
.tos-hero-h1 {
  font-size: clamp(34px, 5.4vw, 62px); font-weight: 800; line-height: 1.06;
  letter-spacing: -1.6px; color: #fff; margin-bottom: 22px; max-width: 16ch;
}
.tos-hero-sub { font-size: 18px; line-height: 1.7; color: var(--tos-text-2); max-width: 60ch; margin-bottom: 32px; }

/* — 2 · MISSION — */
.tos-mission { border-bottom: 1px solid var(--tos-line); }
.tos-mission-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.tos-mission-img { min-height: 340px; }

/* — 3 · TWENTY TRADES — */
.tos-trades-section { background: var(--tos-bg); }
.tos-trades { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 8px; }
.tos-trade-card {
  position: relative; background: var(--tos-panel); border: 1px solid var(--tos-line);
  border-radius: 10px; padding: 20px 18px 18px; overflow: hidden;
  transition: transform .18s, border-color .2s, background .2s;
}
.tos-trade-card:hover { transform: translateY(-3px); border-color: var(--tos-line-2); background: var(--tos-panel-2); }
.tos-trade-rail { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--trade-accent, var(--tos-orange)); }
.tos-trade-num {
  position: absolute; top: 14px; right: 16px; font-family: var(--font-display);
  font-size: 30px; font-weight: 800; color: var(--trade-accent, var(--tos-orange)); opacity: 0.18;
}
.tos-trade-name { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.tos-trade-blurb { font-size: 13.5px; line-height: 1.6; color: var(--tos-text-2); margin-bottom: 14px; }
.tos-trade-link { font-size: 13px; font-weight: 700; color: var(--trade-accent, var(--tos-orange)); cursor: pointer; }
/* Trade demo modal (native <dialog>) */
.tos-demo-dialog { width: min(900px, 92vw); padding: 0; border: 1px solid #2a313d; border-radius: 12px; background: #0a0c10; color: #eef1f5; overflow: hidden; }
.tos-demo-dialog::backdrop { background: rgba(0,0,0,0.82); }
.tos-demo-dialog-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 14px; border-bottom: 1px solid #1c2230; }
.tos-demo-dialog video { width: 100%; display: block; background: #000; }
.tos-dialog-close { background: none; border: none; color: #9aa3b0; font-size: 24px; line-height: 1; cursor: pointer; padding: 0 4px; }
.tos-dialog-close:hover { color: #ff6b1a; }

/* ═══ DASHBOARDS PAGE — trade grid ═══ */
.tos-dash-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.tos-dash-card { background: var(--tos-panel); border: 1px solid var(--tos-line); border-radius: 10px; overflow: hidden; transition: transform .18s, border-color .2s; }
.tos-dash-card:hover { transform: translateY(-3px); border-color: var(--trade-accent, var(--tos-orange)); }
.tos-dash-img { width: 100%; height: 130px; object-fit: cover; display: block; border-radius: 0; border-bottom: 2px solid var(--trade-accent, var(--tos-orange)); }
.tos-dash-img.tos-imgph { min-height: 130px; border-radius: 0; }
.tos-dash-body { padding: 12px 14px 14px; }
.tos-dash-name { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: #fff; margin: 0 0 8px; }
.tos-dash-demo { font-size: 13px; font-weight: 700; color: var(--trade-accent, var(--tos-orange)); cursor: pointer; }

/* ═══ TOOLS & DASHBOARDS — tool cards ═══ */
.tos-tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 14px; }
.tos-tool-card { background: var(--tos-panel); border: 1px solid var(--tos-line); border-left: 3px solid #5bbf4a; border-radius: 10px; padding: 18px; display: flex; flex-direction: column; }
.tos-tool-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.tos-tool-head strong { font-family: var(--font-display); font-size: 16px; color: #fff; }
.tos-tool-card p { font-size: 13.5px; line-height: 1.6; color: var(--tos-text-2); margin-bottom: 12px; flex: 1; }
.tos-tool-card .price { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--gold); }
.tos-tool-card .per { font-size: 13px; color: var(--tos-text-2); }
.tos-tool-card .tos-btn { margin-top: 12px; }
.tos-btn--sm { padding: 9px 18px; font-size: 13px; }
.tos-coming { font-size: 13px; color: var(--tos-text-3); margin-top: 16px; }

/* ═══ DASHBOARD GALLERY ═══ */
.tos-feat { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0; border: 1px solid var(--tos-line); border-radius: 12px; overflow: hidden; margin-bottom: 22px; background: var(--tos-panel); }
.tos-feat-thumb { position: relative; min-height: 260px; }
.tos-feat-img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.tos-feat-img.tos-imgph { border-radius: 0; }
.tos-feat-body { padding: 28px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.tos-feat-body h3 { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: #fff; }
.tos-feat-body p { color: var(--tos-text-2); font-size: 15px; line-height: 1.6; }
.tos-gtag { align-self: flex-start; font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #0a0c10; background: var(--gold); padding: 4px 10px; border-radius: 4px; }
.tos-soon-pill { align-self: flex-start; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--tos-text-3); border: 1px solid var(--tos-line-2); border-radius: 20px; padding: 6px 14px; }

.tos-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.tos-gcard { background: var(--tos-panel); border: 1px solid var(--tos-line); border-radius: 10px; overflow: hidden; transition: transform .18s, border-color .2s; }
.tos-gcard:hover { transform: translateY(-3px); border-color: var(--trade-accent, var(--gold)); }
.tos-gthumb { position: relative; aspect-ratio: 16 / 10; background: var(--tos-panel-2); border-bottom: 2px solid var(--trade-accent, var(--gold)); }
.tos-gimg { width: 100%; height: 100%; object-fit: cover; }
.tos-gimg.tos-imgph { min-height: 0; height: 100%; border-radius: 0; }
.tos-gstatus { position: absolute; top: 8px; left: 8px; font-size: 10px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; }
.tos-gstatus.is-live { background: rgba(91,191,74,0.18); color: #6fcf5a; }
.tos-gstatus.is-soon { background: rgba(0,0,0,0.45); color: var(--tos-text-2); }
.tos-gplay { position: absolute; inset: 0; margin: auto; width: 48px; height: 48px; border-radius: 50%; background: rgba(212,167,69,0.92); color: #0a0c10; border: none; font-size: 18px; cursor: pointer; padding-left: 3px; display: flex; align-items: center; justify-content: center; }
.tos-gplay:hover { background: var(--gold); }
.tos-gplay--lg { width: 64px; height: 64px; font-size: 24px; }
.tos-gcard-body { padding: 12px 14px 14px; }
.tos-gcard-body h3 { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 5px; }
.tos-grun { font-size: 11px; color: var(--tos-text-3); font-weight: 500; }
.tos-gcard-body p { font-size: 12.5px; line-height: 1.5; color: var(--tos-text-2); margin-bottom: 10px; }
.tos-glink { background: none; border: none; padding: 0; cursor: pointer; font-size: 13px; font-weight: 700; color: var(--trade-accent, var(--gold)); }
.tos-glink--soon { color: var(--tos-text-3); cursor: default; }
@media (max-width: 680px) { .tos-feat { grid-template-columns: 1fr; } }

/* ═══ Full designed image as hero, with clickable hotspots over drawn buttons ═══ */
.tos-hero-img { position: relative; line-height: 0; background: var(--gm-black, #06060b); }
.tos-hero-img-full { width: 100%; display: block; }
.tos-hot { position: absolute; display: block; z-index: 3; border-radius: 8px; }
.tos-hot:hover { box-shadow: 0 0 0 2px var(--gold) inset; background: rgba(212,167,69,0.08); }
/* Full page design image with clickable hotspots */
.tos-page-img { position: relative; line-height: 0; max-width: 1100px; margin: 0 auto; background: #06060b; }
.tos-page-img-full { width: 100%; display: block; }

/* ═══ CONTACT page ═══ */
.tos-contact-grid { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 24px; align-items: start; }
.tos-reach { padding-top: 4px; }
.tos-reach-item { padding: 14px 0; border-bottom: 1px solid var(--tos-line); display: flex; flex-direction: column; gap: 3px; }
.tos-reach-item strong { color: #fff; font-family: var(--font-display); font-size: 15px; }
.tos-reach-item a { color: var(--gold); font-weight: 600; }
.tos-reach-item span { font-size: 13px; color: var(--tos-text-2); }
@media (max-width: 760px) { .tos-contact-grid { grid-template-columns: 1fr; } }

/* — 4 · COMMAND CENTER — */
.tos-cc { background: var(--tos-panel); border-top: 1px solid var(--tos-line); border-bottom: 1px solid var(--tos-line); border-radius: 0; }
.tos-feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin: 8px 0 28px; }
.tos-feature { background: var(--tos-bg); border: 1px solid var(--tos-line); border-radius: 10px; padding: 20px; border-top: 2px solid var(--tos-steel); }
.tos-feature h3 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.tos-feature p { font-size: 14px; line-height: 1.6; color: var(--tos-text-2); }
.tos-cc-img { min-height: 280px; margin-bottom: 28px; }
.tos-feature--link { display: block; text-decoration: none; transition: border-color .2s, transform .15s; }
.tos-feature--link:hover { border-color: var(--gold); transform: translateY(-2px); }
.tos-feature--link h3 { color: var(--gold); }

/* — 5 · LANDSCAPING SPOTLIGHT — */
.tos-spotlight-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.tos-spotlight-img { min-height: 360px; }
.tos-pill-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; list-style: none; padding: 0; }
.tos-pill-list li {
  font-size: 13px; font-weight: 600; color: var(--tos-text); background: var(--tos-panel-2);
  border: 1px solid var(--tos-line-2); border-radius: 20px; padding: 7px 14px;
}

/* — 6 · GRANTED TRADES NETWORK — */
.tos-network { background: var(--tos-bg); }
.tos-pillar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-bottom: 28px; }
.tos-pillar { background: var(--tos-panel); border: 1px solid var(--tos-line); border-left: 3px solid var(--tos-orange); border-radius: 10px; padding: 20px; }
.tos-pillar h3 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.tos-pillar p { font-size: 14px; line-height: 1.6; color: var(--tos-text-2); }
.tos-network-img { min-height: 260px; margin-bottom: 28px; }

/* — 7 · BUILD WITH US — */
.tos-build { background: var(--tos-panel); border-top: 1px solid var(--tos-line); border-bottom: 1px solid var(--tos-line); }
.tos-build-inner { max-width: 760px; margin: 0 auto; }
.tos-build-card { background: var(--tos-bg); border: 1px solid var(--tos-line); border-radius: 12px; padding: 28px; }
.tos-form-title { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 20px; }
.tos-form { display: flex; flex-direction: column; gap: 16px; }
.tos-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tos-field { display: flex; flex-direction: column; gap: 6px; }
.tos-field label { font-family: var(--font-display); font-size: 12px; font-weight: 600; color: var(--tos-text-2); letter-spacing: 0.4px; }
.tos-opt { color: var(--tos-text-3); font-weight: 400; text-transform: none; letter-spacing: 0; }
.tos-field input, .tos-field select, .tos-field textarea {
  padding: 12px 14px; background: var(--tos-panel-2); border: 1px solid var(--tos-line-2);
  border-radius: 8px; color: var(--tos-text); font-family: var(--font-body); font-size: 14px;
  transition: border-color .2s;
}
.tos-field input:focus, .tos-field select:focus, .tos-field textarea:focus { outline: none; border-color: var(--tos-orange); }
.tos-field textarea { resize: vertical; min-height: 76px; }
.tos-field select option { background: var(--tos-panel-2); color: var(--tos-text); }
.tos-radio-group { display: flex; gap: 18px; flex-wrap: wrap; padding-top: 4px; }
.tos-radio, .tos-check { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--tos-text-2); cursor: pointer; }
.tos-check { margin-top: 2px; }
.tos-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.tos-confirm { background: var(--tos-bg); border: 1px solid rgba(91,191,74,0.4); border-radius: 12px; padding: 36px; text-align: center; max-width: 560px; }
.tos-confirm-check { font-size: 44px; color: #5bbf4a; margin-bottom: 12px; }
.tos-confirm h3 { font-size: 22px; color: #fff; margin-bottom: 10px; }
.tos-confirm p { font-size: 15px; line-height: 1.7; color: var(--tos-text-2); }

/* — 8 · OPPORTUNITIES — */
.tos-opps { text-align: center; }
.tos-opps .tos-h2, .tos-opps .tos-lead { margin-left: auto; margin-right: auto; }
.tos-opps-img { min-height: 200px; margin-bottom: 28px; }
.tos-opps .tos-cta-row { justify-content: center; }

/* — 9 · DEMO LIBRARY — */
.tos-demos { background: var(--tos-bg); }
.tos-demo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.tos-demo-card { background: var(--tos-panel); border: 1px solid var(--tos-line); border-radius: 10px; overflow: hidden; }
.tos-demo-thumb {
  height: 130px; display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0 12px, transparent 12px 24px), var(--tos-panel-2);
  border-bottom: 1px solid var(--tos-line);
}
.tos-demo-play {
  width: 46px; height: 46px; border-radius: 50%; background: rgba(255,107,26,0.15);
  border: 1px solid var(--tos-orange); color: var(--tos-orange);
  display: flex; align-items: center; justify-content: center; font-size: 15px; padding-left: 3px;
}
.tos-demo-card h3 { font-size: 15px; font-weight: 700; color: #fff; margin: 14px 16px 4px; }
.tos-demo-soon { font-size: 12px; color: var(--tos-text-3); margin: 0 16px 16px; text-transform: uppercase; letter-spacing: 1px; }
/* Responsive 16:9 frame for an embedded YouTube iframe or self-hosted <video>. */
.tos-demo-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border-bottom: 1px solid var(--tos-line); }
.tos-demo-frame iframe, .tos-demo-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* — 10 · FINAL CTA — */
.tos-final { text-align: center; border-top: 1px solid var(--tos-line); }
.tos-final .tos-h2 { margin-left: auto; margin-right: auto; max-width: 22ch; }
.tos-final .tos-lead { margin-left: auto; margin-right: auto; }

/* — responsive — */
@media (max-width: 860px) {
  .tos-mission-grid, .tos-spotlight-grid { grid-template-columns: 1fr; gap: 28px; }
  .tos-spotlight-grid .tos-spotlight-img { order: -1; }
}
@media (max-width: 600px) {
  .tos-section { padding: 44px 18px; }
  .tos-hero-inner { padding: 64px 18px 56px; background: linear-gradient(180deg, rgba(10,12,16,0.85), rgba(10,12,16,0.95)); }
  .tos-form-row { grid-template-columns: 1fr; }
  .tos-btn { width: 100%; }
  .tos-cta-row { flex-direction: column; }
}
