/* ============================================================
   licensing.css — syncbyjt.com licensing page styles
   ============================================================ */

/* --- Hero -------------------------------------------------- */
.lic-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 2rem 3rem;
}

.lic-hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.lic-hero__title {
  font-size: clamp(30px, 4vw, 48px);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.lic-hero__sub {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 2rem;
}

.lic-hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lic-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3px;
  padding: 7px 14px;
  border-radius: 20px;
  border: 1px solid var(--border-2);
  color: var(--text-2);
  background: var(--surface-2);
}

.lic-pill i { color: var(--amber); font-size: 14px; }

/* --- How it works ------------------------------------------ */
.how-section {
  padding: 3.5rem 2rem;
  border-bottom: 1px solid var(--border);
}

.how-section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.how-section h2 {
  font-size: 26px;
  color: var(--white);
  margin-bottom: 2.5rem;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.how-step {
  position: relative;
}

.how-step__num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--amber);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.how-step__title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-1);
  margin-bottom: 8px;
}

.how-step__body {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 10px;
}

.how-step__link {
  font-size: 13px;
  color: var(--amber);
  text-decoration: none;
  transition: opacity 0.15s;
}

.how-step__link:hover { opacity: 0.75; }

/* --- License types ----------------------------------------- */
.license-types {
  padding: 3.5rem 2rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.license-types__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.license-types h2 {
  font-size: 26px;
  color: var(--white);
  margin-bottom: 2rem;
}

.types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.type-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.type-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber-dim), transparent);
}

.type-card__icon {
  font-size: 24px;
  color: var(--amber-dim);
  margin-bottom: 12px;
}

.type-card__title {
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 8px;
}

.type-card__body {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.type-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.type-card__list li {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  padding-left: 14px;
  position: relative;
}

.type-card__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--amber-dim);
}

/* --- FAQ --------------------------------------------------- */
.faq-section {
  padding: 3.5rem 2rem;
}

.faq-section__inner {
  max-width: 720px;
  margin: 0 auto;
}

.faq-section h2 {
  font-size: 26px;
  color: var(--white);
  margin-bottom: 1.75rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-1);
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  font-family: var(--font-body);
  transition: color 0.12s;
}

.faq-q:hover { color: var(--white); }
.faq-q[aria-expanded="true"] { color: var(--amber); }

.faq-chevron {
  font-size: 18px;
  color: var(--text-3);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-q[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
  color: var(--amber);
}

.faq-a {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.8;
  padding-bottom: 1.25rem;
  max-width: 600px;
}

/* --- Responsive -------------------------------------------- */
@media (max-width: 900px) {
  .how-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .how-steps { grid-template-columns: 1fr; }
  .lic-hero, .how-section, .license-types, .faq-section { padding-left: 1.25rem; padding-right: 1.25rem; }
  .types-grid { grid-template-columns: 1fr; }
}
