/* ============================================================
   BASE.CSS — Newegg Trade-In Landing Page (Tradein2)
   All selectors use .ti- prefix; no bare element selectors
   that could override header / footer styles.
   ============================================================ */

/* ---- Template / banner overrides ---- */
.banner { display: none !important; }

/* Allow full-viewport-width section backgrounds */
.section-inner {
  max-width: 100%;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}

/* ---- Design tokens ---- */
:root {
  --ti-orange:      #F68B1F;
  --ti-blue:        #2B87DB;
  --ti-purple:      #7B5EA7;
  --ti-navy:        #0C1529;
  --ti-dark:        #1A1A1A;
  --ti-gray-bg:     #F5F5F5;
  --ti-gray-light:  #FAFAFA;
  --ti-border:      #E0E0E0;
  --ti-text:        #555;
  --ti-nvidia:      #76B900;
  --ti-amd:         #ED1C24;
  --ti-intel:       #0071C5;
  --ti-ddr4:        #F68B1F;
  --ti-ddr5:        #7B5EA7;
  --ti-content-max: 1200px;
  --ti-px:          40px;
  --ti-label-orange: #C05200; /* WCAG AA ~4.7:1 on white */
}

/* ---- Shared type helpers ---- */
.ti-section-label {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ti-label-orange);
  margin: 0 0 8px;
  display: block;
}

.ti-section-label--light { color: rgba(255,255,255,0.65); }

.ti-section-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--ti-dark);
  margin: 0 0 32px;
  line-height: 1.2;
}

.ti-section-heading--light { color: #fff; }

.ti-sub-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--ti-dark);
  margin: 0 0 16px;
}

/* ============================================================
   SECTION 1 — HERO
   ============================================================ */
.ti-hero {
  background-color: var(--ti-navy);
  background-image: url('../imgs/hero-bg.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  padding: 64px var(--ti-px) 68px;
  position: relative;
  overflow: hidden;
}

.ti-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 45%, #01112B 100%);
  pointer-events: none;
  z-index: 0;
}

.ti-hero-inner {
  max-width: var(--ti-content-max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.ti-hero-content {
  margin-bottom: 52px;
}

.ti-hero-icon-row {
  margin-bottom: 18px;
}

.ti-tradein-icon {
  height: 154px; /* 60% bigger than original 96px */
  width: auto;
  display: block;
}

.ti-hero-heading {
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ti-hero-line1 {
  font-family: 'Montserrat', sans-serif;
  display: block;
  font-size: 54px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.ti-hero-line2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 54px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  display: block;
}

.ti-hero-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.80);
  max-width: 540px;
  margin: 0;
  line-height: 1.65;
}

/* Steps inside hero — shown on >500px, hidden on mobile */
.ti-steps-in-hero { display: block; }
.ti-steps-mobile-only { display: none; }

.ti-steps-in-hero .ti-section-heading {
  display: none;
}

.ti-steps-in-hero .ti-section-label {
  font-size: 15px;
  letter-spacing: 4px;
  margin-bottom: 24px;
}

.ti-steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.ti-step {
  padding: 20px 0;
}

.ti-step-num {
  width: 32px;
  height: 32px;
  background: #7C20E7;
  border-radius: 50%;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  flex-shrink: 0;
}

.ti-step-title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid #7C20E7;
}

.ti-step-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  margin: 0;
  line-height: 1.5;
}

/* ============================================================
   SECTION 2 — TABS
   ============================================================ */
.ti-tabs-section {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.ti-tabs-bar {
  max-width: var(--ti-content-max);
  margin: 0 auto;
  padding: 0 var(--ti-px);
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.ti-tab {
  padding: 18px 24px 15px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: border-color 0.15s;
  flex-shrink: 0;
}

.ti-tab:hover { text-decoration: none; }

.ti-tab--active { border-bottom-color: var(--ti-label-orange); }

.ti-tab-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--ti-dark);
  white-space: nowrap;
}

.ti-tab--active .ti-tab-label { color: var(--ti-label-orange); }

.ti-tab--link .ti-tab-label { color: #666; }

.ti-tab--link:hover .ti-tab-label { color: var(--ti-label-orange); }

.ti-tab-sep {
  width: 1px;
  background: var(--ti-border);
  margin: 12px 0;
  flex-shrink: 0;
}

/* ============================================================
   MOBILE STEPS — shown below tabs on ≤500px
   ============================================================ */
.ti-steps-mobile-inner {
  max-width: var(--ti-content-max);
  margin: 0 auto;
  padding: 36px var(--ti-px);
  background: #fff;
}

.ti-steps-mobile-inner .ti-section-label { color: var(--ti-orange); }

.ti-steps-mobile-inner .ti-section-heading {
  color: var(--ti-dark);
  font-size: 20px;
  margin-bottom: 24px;
}

.ti-steps-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ti-step-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.ti-step-circle {
  width: 36px;
  height: 36px;
  background: #7C20E7;
  border-radius: 50%;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ti-step-body .ti-step-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ti-dark);
  margin: 0 0 4px;
}

.ti-step-body .ti-step-desc {
  font-size: 15px;
  color: var(--ti-text);
  margin: 0;
  line-height: 1.5;
}

/* ============================================================
   VIDEO SECTION
   ============================================================ */
.ti-video-section {
  background: var(--ti-gray-bg);
  padding: 48px var(--ti-px);
}

.ti-video-wrap {
  max-width: 880px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

.ti-video-wrap iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

/* ============================================================
   SECTION 3 — SHOP NEW HARDWARE
   ============================================================ */
.ti-shop-section {
  background: #fff;
  padding: 48px var(--ti-px);
  border-top: 1px solid rgba(224,224,229,0.6);
  border-bottom: 1px solid rgba(224,224,229,0.6);
}

.ti-shop-label {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ti-label-orange);
  margin: 0 0 20px;
  display: block;
  text-align: center;
}

.ti-shop-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ti-shop-card {
  border-radius: 14px;
  border-width: 1.5px;
  border-style: solid;
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 100px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s;
}

.ti-shop-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.10); }

.ti-shop-card--orange { background: #fff3de; border-color: #fda224; }
.ti-shop-card--blue   { background: #e0f0ff; border-color: #a8d2f5; }
.ti-shop-card--purple { background: #f0e5ff; border-color: #dfcef8; }

.ti-shop-card-media {
  width: 80px;
  min-width: 80px;
  padding: 0 0 0 17px; /* left +40%: 12→17px */
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.ti-shop-circle {
  width: 60px;  /* 60% of 100px card height */
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  flex-shrink: 0;
  position: relative;
}

.ti-shop-circle--orange { background: rgba(246,139,31,0.22); }
.ti-shop-circle--blue   { background: rgba(0,120,214,0.18); }
.ti-shop-circle--purple { background: rgba(107,46,199,0.18); }

.ti-shop-product-img {
  width: 130%;
  height: 130%;
  object-fit: contain;
  position: absolute;
}

.ti-shop-card-info {
  flex: 1;
  padding: 13px 11px 13px 7px; /* horizontal +40%: right 8→11px, left 5→7px */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  min-width: 0;
}

.ti-shop-card-title {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
}

.ti-shop-title--orange { color: #a74500; }
.ti-shop-title--blue   { color: #0078d6; }
.ti-shop-title--purple { color: #6b2ec7; }

.ti-shop-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  background: #fff;
  border: 1px solid #dedede;
  color: #1a1a1a;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.15s;
}

.ti-shop-btn:hover { background: #f5f5f5; text-decoration: none; }

/* ============================================================
   SECTION 4 — TRADE-IN VALUES
   ============================================================ */
.ti-values-section {
  background: var(--ti-gray-bg);
  padding: 60px var(--ti-px);
}

.ti-values-header {
  max-width: var(--ti-content-max);
  margin: 0 auto 28px;
}

.ti-values-header .ti-section-heading { margin-bottom: 0; }

.ti-values-sub-header {
  max-width: var(--ti-content-max);
  margin: 48px auto 12px;
}

.ti-values-sub-header .ti-sub-heading { margin-bottom: 0; }

.ti-tables-wrap {
  max-width: var(--ti-content-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ti-tables-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.ti-tables-row--single {
  grid-template-columns: 1fr;
  max-width: calc(50% - 8px); /* align with one column of the 2-col GPU row */
}

/* — Table card — */
.ti-table {
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--ti-border);
  overflow: hidden;
}

.ti-table-header {
  display: flex;
  align-items: center;
  padding: 16px 20px 16px 12px;
  cursor: pointer;
  gap: 10px;
  user-select: none;
  position: relative;
}

.ti-table-header:hover { background: #fafafa; }
.ti-table-header:focus { outline: none; }
.ti-table-header:focus-visible { outline: 2px solid var(--ti-orange); outline-offset: -2px; }

/* left accent bar */
.ti-table-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
}

.ti-accent--nvidia  { background: var(--ti-nvidia); }
.ti-accent--amd-gpu { background: var(--ti-amd); }
.ti-accent--intel   { background: var(--ti-intel); }
.ti-accent--ddr4    { background: var(--ti-ddr4); }
.ti-accent--ddr5    { background: var(--ti-ddr5); }

.ti-table-logo-wrap {
  margin-left: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  width: 76px;
}

.ti-table-logo {
  max-height: 28px;
  max-width: 76px;
  object-fit: contain;
}

.ti-logo-amd   .ti-table-logo { max-height: 22px; }
.ti-logo-intel .ti-table-logo { max-height: 20px; }

.ti-table-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ti-dark);
  flex: 1;
  min-width: 0;
}

.ti-table-title--noleft { margin-left: 14px; }

.ti-table-badge {
  font-size: 13px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 5px;
  flex-shrink: 0;
  white-space: nowrap;
  min-width: 100px;      /* sized to widest badge: "10 configs" / "17 configs" */
  box-sizing: border-box;
  text-align: center;
}

.ti-badge--nvidia { background: rgba(118,185,0,0.12);  color: #3d6200; }
.ti-badge--amd    { background: rgba(237,28,36,0.10);  color: #b50d13; }
.ti-badge--intel  { background: rgba(0,113,197,0.12);  color: #00529e; }
.ti-badge--ddr4   { background: rgba(246,139,31,0.12); color: #a05700; }
.ti-badge--ddr5   { background: rgba(123,94,167,0.12); color: #533080; }

.ti-table-arrow {
  font-size: 12px;
  color: #aaa;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.ti-table--open   .ti-table-arrow { transform: rotate(0deg); }
.ti-table--closed .ti-table-arrow { transform: rotate(-90deg); }

/* table body */
.ti-table-body {
  border-top: 1px solid var(--ti-border);
}

.ti-table-col-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 10px 20px;
  font-size: 13px;
  color: var(--ti-text);
  border-bottom: 1px solid #f0f0f0;
  gap: 16px;
}

.ti-table-col-header {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #999;
  background: #f7f7f7;
  border-bottom-color: var(--ti-border);
  padding-top: 8px;
  padding-bottom: 8px;
}

.ti-table-col-row--last { border-bottom: none; }

.ti-val {
  font-weight: 700;
  color: var(--ti-dark);
  white-space: nowrap;
  text-align: right;
}

.ti-values-disclaimer {
  max-width: var(--ti-content-max);
  margin: 24px auto 0;
  font-size: 12px;
  color: #666; /* #666 on #F5F5F5 = 5.27:1 — passes WCAG AA */
  text-align: center;
}

/* ============================================================
   SECTION 5 — WHAT YOU NEED TO KNOW
   ============================================================ */
.ti-requirements-section {
  background: #fff;
  padding: 60px var(--ti-px);
}

.ti-requirements-section > .ti-section-label,
.ti-requirements-section > .ti-section-heading {
  max-width: var(--ti-content-max);
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.ti-req-grid {
  max-width: var(--ti-content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ti-req-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: #f7f7fa;
  border: 1px solid rgba(224,224,229,0.5);
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.ti-req-icon-wrap {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

/* CSS ellipse replaces image */
.ti-req-ellipse {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FFF2E0;
  display: block;
}

.ti-req-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.ti-req-card-body { flex: 1; }

.ti-req-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ti-dark);
  margin: 0 0 6px;
}

.ti-req-card-desc {
  font-size: 13px;
  color: var(--ti-text);
  margin: 0;
  line-height: 1.55;
}

/* ============================================================
   SECTION 6 — FAQ
   ============================================================ */
.ti-faq-section {
  background: var(--ti-gray-bg);
  padding: 60px var(--ti-px);
}

.ti-faq-section > .ti-section-label,
.ti-faq-section > .ti-section-heading {
  max-width: var(--ti-content-max);
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.ti-faq-list {
  max-width: var(--ti-content-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ti-faq-item {
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--ti-border);
  overflow: hidden;
}

.ti-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--ti-dark);
  line-height: 1.4;
}

.ti-faq-q:hover { background: #fafafa; }
.ti-faq-q:focus { outline: none; }
.ti-faq-q:focus-visible { outline: 2px solid var(--ti-orange); outline-offset: -2px; }

.ti-faq-q-bar {
  width: 4px;
  min-width: 4px;
  height: 20px;
  background: var(--ti-orange);
  border-radius: 2px;
  flex-shrink: 0;
}

.ti-faq-q > span:not(.ti-faq-arrow) { flex: 1; }

.ti-faq-arrow {
  font-size: 11px;
  color: #bbb;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.ti-faq-item.is-open .ti-faq-arrow { transform: rotate(180deg); }

.ti-faq-a {
  display: none;
  overflow: hidden;
}

.ti-faq-a p {
  margin: 0;
  padding: 4px 20px 18px 44px;
  font-size: 14px;
  color: var(--ti-text);
  line-height: 1.65;
}

/* ============================================================
   SECTION 7 — STILL NEED HELP
   ============================================================ */
.ti-help-section {
  background: #fff;
  padding: 60px var(--ti-px);
}

.ti-help-section > .ti-section-label,
.ti-help-section > .ti-section-heading {
  max-width: var(--ti-content-max);
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.ti-help-grid {
  max-width: var(--ti-content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Horizontal card matching Figma */
.ti-help-card {
  border-radius: 16px;
  border: 1px solid rgba(224,224,229,0.5);
  padding: 20px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
  background: #f7f7fa;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  text-align: left;
}

.ti-help-icon-wrap {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

/* CSS ellipses replacing image files */
.ti-help-ellipse {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: block;
}

.ti-help-ellipse--orange { background: rgba(210,92,12,0.13); }
.ti-help-ellipse--blue   { background: rgba(0,120,214,0.13); }
.ti-help-ellipse--purple { background: rgba(32,0,166,0.12); }

.ti-help-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.ti-help-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  flex: 1;
}

.ti-help-card-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
}

.ti-help-title--orange { color: #d25c0c; }
.ti-help-title--blue   { color: #0078d6; }
.ti-help-title--purple { color: #2000a6; }

.ti-help-card-desc {
  font-size: 12px;
  color: var(--ti-text);
  margin: 0;
  line-height: 1.6;
  flex: 1;
}

/* Light pill buttons with colored text matching Figma */
.ti-help-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 18px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1;
  transition: opacity 0.15s;
}

.ti-help-btn:hover { opacity: 0.80; text-decoration: none; }

.ti-help-btn--orange { background: #f8e9e1; color: #d25b0c; }
.ti-help-btn--blue   { background: #dfebf6; color: #0078d6; }
.ti-help-btn--purple { background: #e5dfff; color: #2000a5; }

/* ============================================================
   RESPONSIVE — 900px (Intel Arc full-width breakpoint)
   ============================================================ */
@media (max-width: 900px) {
  .ti-tables-row--single {
    max-width: 100%;
  }
}

/* ============================================================
   RESPONSIVE — 800px (tablet)
   ============================================================ */
@media (max-width: 800px) {
  :root {
    --ti-px: 24px;
  }

  .ti-hero {
    padding: 52px var(--ti-px) 56px;
  }

  .ti-hero-line1,
  .ti-hero-line2 { font-size: 38px; }

  .ti-tradein-icon { height: 72px; }

  .ti-hero-content { margin-bottom: 40px; }

  .ti-steps-grid { grid-template-columns: repeat(3, 1fr); }

  .ti-step { padding: 16px 0; }

  /* Tabs: allow horizontal scroll on small tablets */
  .ti-tabs-bar {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .ti-tabs-bar::-webkit-scrollbar { display: none; }

  .ti-shop-grid { gap: 12px; grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }

  /* Title + CTA on one line when cards are full-width */
  .ti-shop-card-info {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    gap: 10px;
  }

  .ti-tables-row { grid-template-columns: 1fr; }

  .ti-tables-row--single { max-width: 100%; }

  .ti-req-grid { grid-template-columns: repeat(2, 1fr); }

  .ti-help-grid { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }

  .ti-section-heading { font-size: 24px; }
}

/* ============================================================
   RESPONSIVE — 500px (mobile)
   ============================================================ */
@media (max-width: 500px) {
  :root {
    --ti-px: 16px;
  }

  /* Switch hero background to mobile version */
  .ti-hero {
    background-image: url('../imgs/hero-bg-mb.png');
    background-position: center center;
    padding: 40px var(--ti-px) 40px;
  }

  .ti-hero-line1,
  .ti-hero-line2 { font-size: 30px; }

  .ti-tradein-icon { height: 60px; }

  .ti-hero-content { margin-bottom: 16px; }

  /* Hide steps inside hero; show steps below tabs */
  .ti-steps-in-hero    { display: none; }
  .ti-steps-mobile-only { display: block; }

  .ti-steps-mobile-only { background: #fff; }

  .ti-section-heading { font-size: 22px; }

  /* Tabs: smaller text */
  .ti-tab { padding: 14px 16px 11px; }
  .ti-tab-label { font-size: 13px; }

  /* Shop: single column centered */
  .ti-shop-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Tables: single column already from 800px rule */

  /* Requirements: single column */
  .ti-req-grid { grid-template-columns: 1fr; }

  /* Help: single column */
  .ti-help-grid { grid-template-columns: 1fr; max-width: 400px; }

  /* Video */
  .ti-video-section { padding: 32px var(--ti-px); }

  /* Sections padding */
  .ti-shop-section,
  .ti-values-section,
  .ti-requirements-section,
  .ti-faq-section,
  .ti-help-section { padding-top: 40px; padding-bottom: 40px; }

  /* FAQ padding */
  .ti-faq-a { padding-left: 40px; }

  /* Table badge hide on very small screens to prevent overflow */
  .ti-table-badge { display: none; }

  
.ti-faq-a p {padding: 4px 20px 18px 0px;}
}

/* ============================================================
   MIN-WIDTH CLAMP — 375px
   ============================================================ */
@media (max-width: 375px) {
  .section-inner { min-width: 375px; }

}
