/* Tool Landing Pages — shared styles */

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

body {
  margin: 0;
  font-family: var(--font-body, system-ui, sans-serif);
  background: var(--bg, #f5f8fa);
  color: var(--text, #2d3d4a);
}

/* ── Top bar ── */
.tlp-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  background: var(--navy, #1a2b3c);
  position: sticky;
  top: 0;
  z-index: 100;
}

.tlp-bar__back {
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.15s;
}
.tlp-bar__back:hover { color: #fff; }

.tlp-bar__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.tlp-bar__logo img { height: 32px; width: 32px; object-fit: contain; border-radius: 4px; }
.tlp-bar__logo span {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ── Main content ── */
.tlp {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

/* ── Hero ── */
.tlp__hero {
  text-align: center;
  margin-bottom: 2.5rem;
}

.tlp__icon {
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.tlp__title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-heading, #1a2b3c);
  margin: 0 0 0.5rem;
  font-family: var(--font-heading, system-ui, sans-serif);
}

.tlp__tagline {
  font-size: 1.1rem;
  color: var(--text-light, #5a7080);
  margin: 0;
}

/* ── Launch buttons ── */
.tlp__launch {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.tlp__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.15s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.tlp__btn--web {
  background: var(--accent, #2980b9);
  color: #fff;
}
.tlp__btn--web:hover { background: var(--sea, #3498db); color: #fff; filter: brightness(1.08); }

.tlp__btn--android {
  background: #3ddc84;
  color: #1a1a1a;
}
.tlp__btn--android:hover { filter: brightness(0.93); color: #1a1a1a; }

/* ── Sections ── */
.tlp__section {
  margin-bottom: 2.5rem;
}

.tlp__section-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-heading, #1a2b3c);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.8rem;
  border-bottom: 2px solid var(--border, #d8e4ec);
  padding-bottom: 0.4rem;
  margin: 0 0 1.25rem;
}

.tlp__desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text, #2d3d4a);
  margin: 0;
}

/* ── Feature grid ── */
.tlp__features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 0;
}

.tlp__feature {
  background: var(--white, #fff);
  border: 1px solid var(--border, #d8e4ec);
  border-radius: 10px;
  padding: 1.1rem 1.25rem;
}

.tlp__feature-icon {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.tlp__feature-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-heading, #1a2b3c);
  margin-bottom: 0.25rem;
}

.tlp__feature-desc {
  font-size: 0.82rem;
  color: var(--text-light, #5a7080);
  line-height: 1.45;
  margin: 0;
}

/* ── When to use ── */
.tlp__scenarios {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tlp__scenario {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  background: var(--white, #fff);
  border: 1px solid var(--border, #d8e4ec);
  border-radius: 10px;
  padding: 1rem 1.25rem;
}

.tlp__scenario-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.tlp__scenario-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text, #2d3d4a);
  margin: 0;
}

.tlp__scenario-text strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-heading, #1a2b3c);
  margin-bottom: 0.15rem;
}

/* ── Dark mode ── */
[data-theme="dark"] body { background: #111c28; color: #c8d8e8; }
[data-theme="dark"] .tlp__title { color: #e8f0f8; }
[data-theme="dark"] .tlp__feature { background: #1e2c3f; border-color: #2d3d4a; }
[data-theme="dark"] .tlp__feature-name { color: #e8f0f8; }
[data-theme="dark"] .tlp__feature-desc { color: #7a8fa8; }
[data-theme="dark"] .tlp__scenario { background: #1e2c3f; border-color: #2d3d4a; }
[data-theme="dark"] .tlp__scenario-text { color: #c8d8e8; }
[data-theme="dark"] .tlp__scenario-text strong { color: #e8f0f8; }
[data-theme="dark"] .tlp__section-title { border-bottom-color: #2d3d4a; color: #89b4d4; }

/* ── Responsive ── */
@media (max-width: 600px) {
  .tlp { padding: 2rem 1rem 4rem; }
  .tlp__title { font-size: 1.6rem; }
  .tlp__features { grid-template-columns: 1fr 1fr; }
  .tlp-bar__logo span { display: none; }
}
