/* ─── TinkerBench Labs — Brand Palette ───────────────────────────────────── */
:root {
  --bg:          #090D2E;
  --bg-header:   #0F1542;
  --bg-card:     #1A2255;
  --bg-card-alt: #394A72;
  --accent:      #00C4F0;
  --accent-dark: #009CBD;
  --text:        #FFFFFF;
  --text-muted:  #ABBDD8;
  --text-dim:    #7786AA;
  --separator:   #1A2255;
  --border:      #222D6A;
  --success:     #00D166;
  --radius:      10px;
  --radius-lg:   16px;
  --max-width:   960px;
}

/* ─── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

/* ─── Navigation ─────────────────────────────────────────────────────────── */
.site-nav {
  background: var(--bg-header);
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  gap: 1rem;
}

.nav-brand {
  font-weight: 700;
  font-size: 1rem;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.nav-brand:hover { text-decoration: none; }

.brand-tinker { color: #FFFFFF; }
.brand-bench  { color: #999999; }
.brand-labs   { color: #0398FF; }

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); text-decoration: none; }

/* ─── Page wrapper ───────────────────────────────────────────────────────── */
.page { flex: 1; }

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 5rem 1.5rem 4rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero h1 span { color: var(--accent); }

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 2.25rem;
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: opacity 0.15s, transform 0.1s;
  cursor: pointer;
}
.btn:hover { opacity: 0.88; text-decoration: none; transform: translateY(-1px); }
.btn-primary  { background: var(--accent); color: #000; }
.btn-outline  { border: 1.5px solid var(--border); color: var(--text-muted); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-group { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* App Store badge placeholder */
.appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #000;
  border: 1px solid #444;
  border-radius: var(--radius);
  padding: 0.6rem 1.25rem;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
}
.appstore-badge:hover { border-color: var(--accent); text-decoration: none; }

/* ─── Section ────────────────────────────────────────────────────────────── */
.section {
  padding: 3.5rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.section-sub {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

/* ─── Cards ──────────────────────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.card-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* App feature card variant */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.feature-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 0.1rem;
}

.feature-text h3 { font-size: 0.975rem; font-weight: 700; margin-bottom: 0.25rem; }
.feature-text p  { color: var(--text-muted); font-size: 0.875rem; line-height: 1.5; }

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

/* App card on company home */
.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  gap: 1.75rem;
  align-items: center;
  max-width: 520px;
  transition: border-color 0.15s;
}
.app-card:hover { border-color: var(--accent); text-decoration: none; }

.app-card-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: var(--bg-header);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
  overflow: hidden;
}

.app-card-info { flex: 1; }
.app-card-info h3 { font-size: 1.15rem; font-weight: 700; color: var(--text); margin-bottom: 0.25rem; }
.app-card-info p  { color: var(--text-muted); font-size: 0.875rem; }
.app-card-arrow   { color: var(--text-dim); font-size: 1.25rem; }

/* ─── Divider ────────────────────────────────────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 1.5rem;
}

/* ─── Prose (Privacy Policy, etc.) ──────────────────────────────────────── */
.prose {
  max-width: 680px;
}

.prose h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 2rem 0 0.5rem;
  color: var(--text);
}

.prose p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.875rem;
}

.prose ul {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0 0 0.875rem 1.25rem;
}

.prose ul li { margin-bottom: 0.25rem; }

.prose a { color: var(--accent); }

.prose .effective-date {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 2rem;
}

/* ─── FAQ ────────────────────────────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 680px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

.faq-item h3 {
  font-size: 0.975rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.faq-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ─── Contact block ──────────────────────────────────────────────────────── */
.contact-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 480px;
}

.contact-block h2 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; }
.contact-block p  { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1rem; }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-header);
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand { font-size: 0.875rem; color: var(--text-dim); }

.footer-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
}

.footer-links a {
  color: var(--text-dim);
  font-size: 0.85rem;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--text); text-decoration: none; }

/* ─── Utilities ──────────────────────────────────────────────────────────── */
.text-accent  { color: var(--accent); }
.text-muted   { color: var(--text-muted); }
.mt-sm        { margin-top: 0.5rem; }
.mt-md        { margin-top: 1rem; }
.mt-lg        { margin-top: 2rem; }
.mb-sm        { margin-bottom: 0.5rem; }

/* ─── TinkerBench Labs branding ──────────────────────────────────────────── */
.nav-brand-icon {
  height: 22px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.4rem;
  position: relative;
  top: -1px;
}

.hero-tb-logo {
  width: 180px;
  height: auto;
  margin: 0 auto 2rem;
}

/* ─── App icon (hero) ────────────────────────────────────────────────────── */
.hero-app-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 196, 240, 0.18);
}

/* ─── Screenshots strip ──────────────────────────────────────────────────── */
.screenshots-strip-wrapper {
  padding: 2rem 0 2.5rem;
}

.screenshots-strip {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.25rem 1.5rem 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.screenshots-strip::-webkit-scrollbar { display: none; }

.screenshots-strip img {
  height: 500px;
  width: auto;
  max-width: none;
  border-radius: 16px;
  scroll-snap-align: start;
  flex-shrink: 0;
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .hero { padding: 3rem 1.25rem 2.5rem; }
  .section { padding: 2.5rem 1.25rem; }
  .feature-card { flex-direction: column; gap: 0.75rem; }
  .app-card { flex-direction: column; gap: 1rem; text-align: center; }
  .app-card-arrow { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .nav-links { gap: 1rem; }
}
