/* ===== QUICK START GUIDE PAGE-SPECIFIC CSS ===== */
/* ==========================================================================
   QUICK START GUIDE — Page-Specific CSS
   Prefix: --qs- for page tokens, .qs- for classes
   ========================================================================== */

:root {
  --qs-max-w: 1260px;
  --qs-card-bg: #F9FBFC;
  --qs-card-radius: 2rem;
  --qs-card-border: 1px solid rgba(15,23,42,.06);
  --qs-check-color: #22c55e;
  --qs-tip-bg: rgba(250,114,104,.14);
  --qs-tip-border: rgba(250,114,104,.28);

  /* Link button tokens */
  --qs-btn-coral-rgb: 250,114,104;
  --qs-btn-green-rgb: 34,197,94;
  --qs-btn-border-a: 0.30;
  --qs-btn-bg-a: 0.02;
  --qs-btn-border-hover: 0.48;
  --qs-btn-bg-hover: 0.05;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.qs-hero {
  padding: 24px 0 16px;
  background:
    radial-gradient(circle at top right, rgba(250,114,104,.08), transparent 60%),
    radial-gradient(circle at bottom left, rgba(13,59,102,.05), transparent 60%);
}
@media (min-width: 768px) {
  .qs-hero { padding: 40px 0 24px; }
}

/* Remove gradient on mobile (matches directory pattern) */
@media (max-width: 767px) {
  .qs-hero { background: none !important; }
}

.qs-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 1024px) {
  .qs-hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

.qs-hero-badge {
  display: none;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(250,114,104,.06);
  color: var(--tlg-coral);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1px solid rgba(250,114,104,.12);
  margin-bottom: 20px;
  width: fit-content;
}
@media (min-width: 768px) { .qs-hero-badge { display: inline-block; } }

.qs-hero h1 {
  font-family: var(--tlg-font);
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  font-weight: 800;
  color: var(--tlg-navy);
  line-height: 1.08;
  margin-bottom: 16px;
}
.qs-hero-gradient {
  background: linear-gradient(135deg, var(--tlg-coral), var(--tlg-coral-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.qs-hero-copy {
  font-size: 16px;
  color: var(--tlg-slate);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 520px;
}
@media (min-width: 768px) { .qs-hero-copy { font-size: 17px; } }

.qs-hero-disclaimer {
  font-size: 13px;
  color: rgba(71,85,105,.65);
  margin-bottom: 20px;
  max-width: 520px;
}

/* Hero CTA grid */
.qs-hero-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.qs-hero-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 12px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.06);
  box-shadow: var(--tlg-shadow-sm);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  color: var(--tlg-navy);
  white-space: nowrap;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.qs-hero-link:hover {
  border-color: rgba(13,59,102,.12);
  box-shadow: var(--tlg-shadow-md);
  transform: translateY(-2px);
}
.qs-hero-link svg {
  width: 20px !important;
  height: 20px !important;
  color: var(--tlg-coral);
  flex-shrink: 0;
}

/* Hero image */
.qs-hero-image-wrap { position: relative; }
.qs-hero-image {
  background: #e2e8f0;
  border-radius: 2rem;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: var(--tlg-shadow-lg);
}
.qs-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Corner badge */
.qs-hero-corner {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 72px;
  height: 72px;
  background: var(--tlg-coral);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--tlg-shadow-md);
  transform: rotate(12deg);
}
@media (min-width: 768px) {
  .qs-hero-corner { width: 88px; height: 88px; bottom: -20px; right: -20px; }
}
.qs-hero-corner svg {
  width: 36px !important;
  height: 36px !important;
  color: #fff;
}
@media (min-width: 768px) {
  .qs-hero-corner svg { width: 40px !important; height: 40px !important; }
}

/* ==========================================================================
   SECTION CARDS GRID
   ========================================================================== */
.qs-main {
  padding: 16px 0 48px;
}

.qs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .qs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .qs-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   SECTION CARD
   ========================================================================== */
.qs-card {
  padding: 28px;
  border-radius: var(--qs-card-radius);
  background: var(--qs-card-bg);
  border: var(--qs-card-border);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.qs-card:hover {
  border-color: rgba(13,59,102,.10);
  box-shadow: var(--tlg-shadow-sm);
}

/* Card header */
.qs-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.qs-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.qs-card-icon svg {
  width: 24px !important;
  height: 24px !important;
}

/* Icon color variants */
.qs-icon-blue    { background: rgba(59,130,246,.08);  color: var(--tlg-navy); }
.qs-icon-orange  { background: rgba(250,114,104,.08); color: var(--tlg-coral); }
.qs-icon-indigo  { background: rgba(99,102,241,.08);  color: var(--tlg-navy); }
.qs-icon-pink    { background: rgba(236,72,153,.08);  color: #db2777; }
.qs-icon-yellow  { background: rgba(245,158,11,.08);  color: #ca8a04; }
.qs-icon-purple  { background: rgba(147,51,234,.08);  color: #9333ea; }
.qs-icon-green   { background: rgba(34,197,94,.08);   color: #16a34a; }
.qs-icon-sky     { background: rgba(14,165,233,.08);  color: #0284c7; }
.qs-icon-cyan    { background: rgba(6,182,212,.08);   color: #0891b2; }
.qs-icon-emerald { background: rgba(16,185,129,.08);  color: #059669; }
.qs-icon-red     { background: rgba(239,68,68,.08);   color: #dc2626; }

.qs-card-title {
  font-family: var(--tlg-font);
  font-size: 18px;
  font-weight: 800;
  color: var(--tlg-navy);
  text-transform: uppercase;
  letter-spacing: -.01em;
  line-height: 1.2;
}

/* ==========================================================================
   CHECKLIST ITEMS
   ========================================================================== */
.qs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.qs-item {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--tlg-slate);
  line-height: 1.5;
}

.qs-check {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--qs-check-color);
}
.qs-check svg {
  width: 20px !important;
  height: 20px !important;
}

.qs-item-content {
  flex: 1;
  min-width: 0;
}

/* ==========================================================================
   LINK BUTTONS (coral + green recommended)
   ========================================================================== */
.qs-btn-row {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.qs-btn-grid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 360px) {
  .qs-btn-grid { grid-template-columns: 1fr; }
}

.qs-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 16px;
  border: 2px solid rgba(var(--qs-btn-coral-rgb), var(--qs-btn-border-a));
  background: rgba(var(--qs-btn-coral-rgb), var(--qs-btn-bg-a));
  color: var(--tlg-navy);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 42px;
  max-width: 100%;
  min-width: 0;
  transition: border-color .12s ease, background .12s ease;
}
.qs-link-btn:hover {
  border-color: rgba(var(--qs-btn-coral-rgb), var(--qs-btn-border-hover));
  background: rgba(var(--qs-btn-coral-rgb), var(--qs-btn-bg-hover));
}

.qs-btn-grid .qs-link-btn { width: 100%; }

/* External icon */
.qs-ext {
  flex: 0 0 auto;
  width: 16px !important;
  height: 16px !important;
  color: rgba(var(--qs-btn-coral-rgb), 1);
}

/* Recommended (green) variant */
.qs-link-btn.is-rec {
  border-color: rgba(var(--qs-btn-green-rgb), var(--qs-btn-border-a));
  background: rgba(var(--qs-btn-green-rgb), var(--qs-btn-bg-a));
}
.qs-link-btn.is-rec:hover {
  border-color: rgba(var(--qs-btn-green-rgb), var(--qs-btn-border-hover));
  background: rgba(var(--qs-btn-green-rgb), var(--qs-btn-bg-hover));
}
.qs-link-btn.is-rec .qs-ext {
  color: rgba(var(--qs-btn-green-rgb), 0.85);
}

/* ==========================================================================
   PRO TIP BOX
   ========================================================================== */
.qs-tip {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed rgba(15,23,42,.12);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.qs-tip-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--qs-tip-bg);
  border: 1px solid var(--qs-tip-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.qs-tip-icon svg {
  width: 20px !important;
  height: 20px !important;
}

.qs-tip-text {
  font-size: 14px;
  color: rgba(15,23,42,.75);
  line-height: 1.55;
}
.qs-tip-text strong {
  color: var(--tlg-ink);
}

/* ==========================================================================
   HUB CTA LINK (bottom of each card)
   ========================================================================== */
.qs-hub-cta {
  display: none; /* Hub links hidden by default per source CSS rule */
  /* To show: remove display:none */
}

/* ==========================================================================
   COMMUNITY GAP CARD
   ========================================================================== */
.qs-community-card {
  margin-top: 20px;
  border-radius: 2rem;
  border: 1px solid rgba(15,23,42,.08);
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(135deg, rgba(56,189,248,.12), rgba(13,59,102,.04));
}
.qs-community-card::after {
  content: "";
  position: absolute;
  inset: -2px;
  pointer-events: none;
  background:
    radial-gradient(520px 220px at 85% 15%, rgba(250,114,104,.15), transparent 60%),
    radial-gradient(520px 240px at 20% 85%, rgba(11,165,164,.12), transparent 58%);
  opacity: .9;
}

.qs-community-inner {
  position: relative;
  z-index: 1;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.qs-community-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(13,59,102,.08);
  color: var(--tlg-navy);
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
  width: fit-content;
}
.qs-community-chip svg {
  width: 14px !important;
  height: 14px !important;
  stroke: var(--tlg-ink);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.qs-community-title {
  font-size: 17px;
  font-weight: 900;
  color: var(--tlg-navy);
  line-height: 1.15;
}
.qs-community-title strong { color: var(--tlg-coral); }

.qs-community-copy {
  font-size: 13px;
  color: rgba(15,23,42,.70);
  line-height: 1.55;
}

.qs-community-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.qs-community-li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  font-size: 13px;
  color: rgba(13,59,102,.88);
  line-height: 1.45;
}
.qs-community-tick {
  width: 18px;
  height: 18px;
  border-radius: 8px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(13,59,102,.10);
  display: grid;
  place-items: center;
  margin-top: 1px;
}
.qs-community-tick svg {
  width: 12px !important;
  height: 12px !important;
  fill: none;
  stroke: var(--tlg-coral);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.qs-community-ctas {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}
.qs-community-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 16px;
  font-weight: 900;
  font-size: 12.5px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(90deg, var(--tlg-navy), rgba(13,59,102,.75));
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 10px 20px rgba(13,59,102,.18);
  transition: transform .15s ease, filter .15s ease;
}
.qs-community-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}
.qs-community-cta.is-coral {
  background: linear-gradient(90deg, var(--tlg-coral), #ff9b94);
  box-shadow: 0 10px 20px rgba(250,114,104,.22);
}
.qs-community-cta svg {
  width: 16px !important;
  height: 16px !important;
  fill: none;
  stroke: #fff;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ==========================================================================
   PRINT
   ========================================================================== */
@media print {
  .qs-hero { background: none; }
  .qs-hero-corner { display: none; }
  .qs-link-btn { border-width: 1px; }
}
