/* === OddsShift Getting Started Page === */
/* Base: style.css (shared header, footer, theme, typography) */
/* Pattern reference: legal.css + accuracy.css (compact hero, sections, FAQ, CTA) */
/* Prefix: gs- */

/* Page-level layout uses shared header from style.css */


/* -- Reused components (platform + status color system) -- */

.platform-pill {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: 4px;
  display: inline-block;
}
.platform-pill.pm { background: rgba(37,99,235,0.12); color: #2563EB; }
.platform-pill.k { background: rgba(19,78,74,0.12); color: #134e4a; }
html:not(.light) .platform-pill.k { background: rgba(94,234,212,0.1); color: #5eead4; }
.platform-pill.small { font-size: 0.62rem; padding: 2px 7px; }

.green { color: #16A34A; }
.red { color: #f85149; }
.text-accent { color: var(--accent); }
.accent { color: var(--accent); }


/* -- Hero (compact, same pattern as /legal + /accuracy) -- */

.gs-hero-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 0 12px;
  margin-bottom: 0;
  border-bottom: 1px solid var(--border);
}
.gs-hero-left { flex: 1; min-width: 0; }
.gs-hero-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0;
}
.gs-hero-sub {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dim);
  margin-top: 4px;
}
.gs-hero-stats {
  display: flex;
  gap: 2rem;
  flex-shrink: 0;
}
.gs-hero-stat { text-align: center; }
.gs-hero-stat-value {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.gs-hero-stat-value.accent { color: var(--accent); }
.gs-hero-stat-value.green { color: #16A34A; }
.gs-hero-stat-label {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}


/* -- Direct Answer (AI citation paragraph) -- */

.gs-direct-answer {
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dim);
  line-height: 1.65;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.75rem;
}
.gs-direct-answer strong { color: var(--text); }
.gs-updated {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 6px;
}


/* -- Section shared -- */

.gs-section { margin-bottom: 2.5rem; }
.gs-section:first-of-type { margin-bottom: 2rem; margin-top: 0; }
.gs-section-header { margin-bottom: 1rem; }
.gs-section-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.gs-section-title .sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-left: 6px;
  text-transform: uppercase;
}
.gs-section-intro {
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.gs-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--accent-border);
  transition: opacity 0.15s;
}
.gs-link:hover { opacity: 0.8; }


/* -- SEC 3: Decision Helper Cards -- */

.gs-choose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 1.25rem;
}
.gs-choose-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
  background: var(--bg);
}
/* No colored borders — platform identity via pills only */

.gs-choose-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.gs-choose-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.gs-choose-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.gs-choose-list li {
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-dim);
  line-height: 1.55;
  padding: 5px 0;
}
.gs-choose-list li .green,
.gs-choose-list li .red {
  font-weight: 700;
  margin-right: 6px;
  font-size: 0.85rem;
}

.gs-choose-verdict {
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-dim);
  line-height: 1.6;
  padding: 1rem 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.gs-choose-verdict strong { color: var(--text); }


/* -- Platform Tab Switcher -- */

.gs-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 0;
  border-bottom: 1px solid var(--border);
}
.gs-tab {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.45;
  transition: opacity 0.15s;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.gs-tab:hover { opacity: 0.7; }
.gs-tab.active {
  opacity: 1;
  border-bottom-color: var(--accent);
}
.gs-tab-meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.gs-tab-panel { display: none; }
.gs-tab-panel.active { display: block; }


/* -- Step Tutorials -- */

.gs-steps { margin-bottom: 0.5rem; }
.gs-step {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}
.gs-step:last-child { border-bottom: none; }
.gs-step-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  min-width: 28px;
  padding-top: 2px;
  letter-spacing: -0.02em;
}
.gs-step-content { flex: 1; min-width: 0; }
.gs-step-title {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.4rem;
}
.gs-step-content p {
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-dim);
  line-height: 1.6;
  margin: 0 0 0.5rem;
}
.gs-step-content p strong { color: var(--text); }

/* Callout boxes: note (orange), tip (green), example (blue) */
.gs-step-note,
.gs-step-tip,
.gs-step-example {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-dim);
  line-height: 1.55;
  padding: 10px 14px;
  border-radius: 8px;
  margin-top: 8px;
  background: rgba(255,140,0,0.04);
}
.gs-step-note strong { color: var(--accent); }

.gs-step-tip {
  background: rgba(22,163,74,0.04);
}
.gs-step-tip strong { color: #16A34A; }

.gs-step-example {
  background: rgba(37,99,235,0.04);
}
.gs-step-example strong { color: #2563EB; }

html:not(.light) .gs-step-note,
html:not(.light) .gs-step-tip,
html:not(.light) .gs-step-example { background: rgba(255,255,255,0.03); }


/* -- SEC 6: Payout Calculator -- */

.gs-calc-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  background: var(--bg);
  margin-bottom: 1rem;
}
html:not(.light) .gs-calc-container { background: var(--bg2); }

.gs-calc-inputs { display: flex; flex-direction: column; gap: 16px; }
.gs-calc-field { display: flex; flex-direction: column; gap: 5px; }
.gs-calc-label {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.gs-calc-input {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.15s;
  -moz-appearance: textfield;
}
.gs-calc-input::-webkit-inner-spin-button,
.gs-calc-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.gs-calc-select {
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  padding-right: 36px;
  outline: none;
  transition: border-color 0.15s;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  cursor: pointer;
  width: 100%;
}
.gs-calc-input:focus,
.gs-calc-select:focus { border-color: var(--accent); }

html:not(.light) .gs-calc-input {
  background: var(--bg1);
  border-color: rgba(255,255,255,0.1);
  color: var(--text-main);
}
html:not(.light) .gs-calc-select {
  background: var(--bg1);
  border-color: rgba(255,255,255,0.1);
  color: var(--text-main);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
}

.gs-calc-hint {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Results panel */
.gs-calc-results {
  border-left: 1px solid var(--border);
  padding-left: 24px;
}
.gs-calc-result-header {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: #16A34A;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.gs-calc-result-header.loss {
  color: #f85149;
  margin-top: 16px;
}
.gs-calc-result-grid { margin-bottom: 0; }
.gs-calc-result-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 6px 0;
}
.gs-calc-result-row.highlight {
  background: rgba(255,140,0,0.04);
  margin: 0 -8px;
  padding: 8px 8px;
  border-radius: 6px;
}
html:not(.light) .gs-calc-result-row.highlight { background: rgba(255,140,0,0.06); }
.gs-calc-result-label {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 6px;
}
.gs-calc-result-value {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.gs-calc-result-value.green { color: #16A34A; }
.gs-calc-result-value.red { color: #f85149; }
.gs-calc-result-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 0;
}

.gs-calc-note {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-dim);
  line-height: 1.6;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.gs-calc-note strong { color: var(--text); }
html:not(.light) .gs-calc-note { background: var(--bg2); }


/* -- SEC 7: Quick Answer Cards -- */

.gs-quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.gs-quick-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
  background: var(--bg);
}
html:not(.light) .gs-quick-card { background: var(--bg2); }

.gs-quick-title {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.5rem;
}
.gs-quick-answer {
  font-family: var(--font-ui);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
  line-height: 1.3;
}
.gs-quick-details {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dim);
  line-height: 1.6;
}
.gs-quick-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.gs-quick-row:last-child { border-bottom: none; }
.gs-quick-row .platform-pill { flex-shrink: 0; margin-top: 2px; }

.gs-bonus-steps {
  padding-left: 1.2rem;
  margin: 0.5rem 0;
}
.gs-bonus-steps li {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dim);
  line-height: 1.6;
  padding: 3px 0;
}
.gs-quick-note {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  line-height: 1.5;
}


/* -- SEC 8: FAQ Accordion -- */

.gs-faq-list {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
html:not(.light) .gs-faq-list { border-color: rgba(255,255,255,0.06); }

.gs-faq-item { border-bottom: 1px solid var(--border); }
.gs-faq-item:last-child { border-bottom: none; }
html:not(.light) .gs-faq-item { border-bottom-color: rgba(255,255,255,0.06); }

.gs-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s;
  list-style: none;
}
.gs-faq-question::-webkit-details-marker { display: none; }
.gs-faq-question::after { content: "+"; font-size: 1.2rem; color: var(--text-muted); font-weight: 400; }
.gs-faq-item[open] .gs-faq-question::after { content: "\2212"; }
.gs-faq-question:hover { background: var(--bg2); }
.gs-faq-question h3 {
  margin: 0;
  font: inherit;
  display: inline;
}
.gs-faq-answer {
  padding: 0 20px 16px;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-dim);
  line-height: 1.65;
}
.gs-faq-answer a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}


/* -- SEC 9: CTA Grid + Footer -- */

.gs-cta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 2rem;
}
.gs-cta-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  background: var(--bg);
}
.gs-cta-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.gs-cta-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.gs-cta-desc {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dim);
  line-height: 1.55;
  margin-bottom: 0.75rem;
}
.gs-cta-link {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
}
.gs-last-updated {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.gs-footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}
.gs-footer-social a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.15s;
}
.gs-footer-social a:hover { color: var(--accent); }


/* ===================================================
   DARK MODE OVERRIDES
   =================================================== */

html:not(.light) .gs-choose-card { background: var(--bg2); }
html:not(.light) .gs-choose-verdict { background: var(--bg2); }
html:not(.light) .gs-step { border-bottom-color: rgba(255,255,255,0.06); }
/* no colored borders to override */


/* ===================================================
   MOBILE RESPONSIVE (max-width: 768px)
   =================================================== */

@media (max-width: 768px) {

  /* -- Hero -- */
  .gs-hero-compact {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 0 16px;
  }
  .gs-hero-title {
    font-size: 1.25rem;
    white-space: normal;
    line-height: 1.3;
    margin-bottom: 12px;
  }
  .gs-hero-sub { display: none; }
  .gs-hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    width: 100%;
    border-top: 1px solid var(--border);
    padding-top: 12px;
  }
  .gs-hero-stat {
    text-align: center;
    padding: 8px 0;
  }
  .gs-hero-stat:nth-child(1),
  .gs-hero-stat:nth-child(2) {
    border-right: 1px solid var(--border);
  }
  .gs-hero-stat-value { font-size: 1.1rem; }
  .gs-hero-stat-label { font-size: 0.6rem; margin-top: 2px; }

  /* Direct answer */
  .gs-direct-answer { font-size: 0.85rem; padding: 12px 0; }

  /* Decision helper: 1 column */
  .gs-choose-grid { grid-template-columns: 1fr; }

  /* Tabs: stack full width */
  .gs-tab { padding: 12px 16px; gap: 8px; }
  .gs-tab-meta { font-size: 0.62rem; }

  /* Steps: natural layout, slightly smaller */
  .gs-step-num { font-size: 0.72rem; min-width: 24px; }
  .gs-step { gap: 0.75rem; padding: 1rem 0; }
  .gs-step-title { font-size: 0.92rem; }
  .gs-step-content p { font-size: 0.85rem; }
  .gs-step-note,
  .gs-step-tip,
  .gs-step-example { font-size: 0.78rem; padding: 8px 12px; }

  /* Calculator: stack */
  .gs-calc-container {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 1.25rem;
  }
  .gs-calc-results {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--border);
    padding-top: 16px;
  }
  .gs-calc-input { font-size: 1rem; padding: 12px 14px; }
  .gs-calc-select { font-size: 16px; padding: 14px 14px; padding-right: 36px; min-height: 48px; }

  /* Quick cards: 1 column */
  .gs-quick-grid { grid-template-columns: 1fr; }

  /* CTA grid: 1 column */
  .gs-cta-grid { grid-template-columns: 1fr; }

  /* FAQ: touch targets */
  .gs-faq-question { padding: 16px 16px; min-height: 44px; }
  .gs-faq-answer { padding: 0 16px 16px; font-size: 0.85rem; }

  /* Section titles */
  .gs-section-title { font-size: 1.05rem; }
  .gs-section-intro { font-size: 0.85rem; }
}


/* ===================================================
   MID-RANGE (769px - 1024px)
   =================================================== */

@media (min-width: 769px) and (max-width: 1024px) {
  .gs-cta-grid { grid-template-columns: 1fr 1fr; }
  .gs-hero-title { font-size: 1.2rem; }
  .gs-hero-stats { gap: 1.25rem; }
  .gs-hero-stat-value { font-size: 1.25rem; }
}
