/* CompBuddy site — shared styles for index/legal pages and /info help pages. */

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #1a1a2e;
  background: #f5f7fa;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: #1565c0; }

/* ── Header ──────────────────────────────────────────────────────────── */
header {
  background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
  color: #fff;
  text-align: center;
}

/* Hero variant — index.html and info hub pages */
header.hero {
  padding: 72px 24px 56px;
}
header.hero .logo-mark img { height: 100px; }
header.hero .logo-mark { font-size: 52px; margin-bottom: 16px; }
header.hero h1 {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
header.hero p {
  font-size: 18px;
  opacity: 0.85;
  max-width: 480px;
  margin: 0 auto;
}
@media (max-width: 480px) {
  header.hero h1 { font-size: 28px; }
  header.hero p { font-size: 15px; }
}

/* Compact variant — legal pages and detail pages */
header.compact { padding: 48px 24px 36px; }
header.compact .app-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 8px;
}
header.compact h1 { font-size: 30px; font-weight: 700; margin-bottom: 10px; }
header.compact .meta, header.compact .tagline { font-size: 14px; opacity: 0.75; }
@media (max-width: 600px) {
  header.compact h1 { font-size: 24px; }
}

/* ── Breadcrumb / sub-nav ────────────────────────────────────────────── */
nav.breadcrumb {
  background: #fff;
  border-bottom: 1px solid #e0e4ef;
  padding: 10px 24px;
  font-size: 13px;
}
nav.breadcrumb a { text-decoration: none; }
nav.breadcrumb a:hover { text-decoration: underline; }
nav.breadcrumb span { color: #888; margin: 0 6px; }

/* Pill sub-nav linking sibling topic pages within a section (/info/pilots/*, /info/staff/*) */
nav.subnav {
  background: #fff;
  border-bottom: 1px solid #e0e4ef;
  padding: 14px 24px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
nav.subnav a {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: #1565c0;
  background: #eef4fe;
}
nav.subnav a:hover { background: #e3f0ff; }
nav.subnav a.active { background: #1565c0; color: #fff; }

/* ── Main / content layout ───────────────────────────────────────────── */
main {
  max-width: 780px;
  margin: 40px auto;
  padding: 0 24px 60px;
  flex: 1;
  width: 100%;
}
main.hub {
  max-width: 680px;
  margin: 48px auto;
}

.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 40px 44px;
  margin-bottom: 28px;
}
@media (max-width: 600px) {
  .card { padding: 24px 20px; }
}

h2 {
  font-size: 19px;
  font-weight: 700;
  color: #1565c0;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e3f0ff;
}
h3 { font-size: 16px; font-weight: 600; color: #1a1a2e; margin: 18px 0 8px; }
p { margin-bottom: 14px; }
ul, ol { padding-left: 22px; margin-bottom: 14px; }
ul li, ol li { margin-bottom: 6px; }

/* ── Callout boxes ───────────────────────────────────────────────────── */
.highlight {
  background: #e8f0fe;
  border-left: 4px solid #1565c0;
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  margin: 18px 0;
  font-size: 15px;
}
.warning {
  background: #fff8e1;
  border-left: 4px solid #f9a825;
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  margin: 18px 0;
  font-size: 15px;
}

/* Simple contact box — legal pages */
.contact-box-simple {
  background: #f0f4ff;
  border-radius: 8px;
  padding: 20px 24px;
  margin-top: 8px;
}
.contact-box-simple strong { display: block; margin-bottom: 4px; color: #1565c0; }

/* Icon contact box — support.html and new /info pages */
.contact-box {
  background: #e8f0fe;
  border-radius: 10px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 8px 0 14px;
}
.contact-box .icon { font-size: 36px; flex-shrink: 0; }
.contact-box .text strong { display: block; font-size: 17px; color: #1a1a2e; }
.contact-box .text a { color: #1565c0; font-size: 16px; font-weight: 600; }
.contact-box .text span { display: block; font-size: 13px; color: #666; margin-top: 2px; }

/* ── FAQ / step list — support.html and new /info pages ─────────────── */
.faq-item { border-bottom: 1px solid #f0f2f8; padding: 16px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item .question { font-weight: 600; color: #1a1a2e; margin-bottom: 6px; }
.faq-item .answer { color: #444; font-size: 15px; line-height: 1.6; }

.step-list { counter-reset: steps; list-style: none; padding: 0; margin-bottom: 14px; }
.step-list li {
  counter-increment: steps;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.step-list li::before {
  content: counter(steps);
  background: #1565c0;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  min-width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── About panel — index.html ────────────────────────────────────────── */
.about {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 32px 36px;
  margin-bottom: 32px;
}
.about h2 { margin-bottom: 12px; }
.about p { margin-bottom: 10px; font-size: 15px; color: #444; }
@media (max-width: 480px) {
  .about { padding: 24px 20px; }
}

/* ── Tile grid — link cards on index.html and info hub pages ───────── */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 8px;
}
.tile {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 32px 28px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.15s;
  display: block;
}
.tile:hover {
  box-shadow: 0 6px 24px rgba(21,101,192,0.15);
  transform: translateY(-2px);
}
.tile .icon { font-size: 32px; margin-bottom: 12px; }
.tile h2 {
  font-size: 17px;
  font-weight: 700;
  color: #1565c0;
  margin-bottom: 6px;
  padding-bottom: 0;
  border-bottom: none;
}
.tile p { font-size: 14px; color: #555; line-height: 1.5; margin-bottom: 0; }

/* ── Feature row — two-column feature text + screenshot, /info pages ── */
.feature-row {
  display: flex;
  gap: 32px;
  align-items: center;
  margin: 24px 0;
}
.feature-row .feature-text { flex: 1 1 320px; min-width: 0; }
.feature-row .feature-text h3 { margin-top: 0; }
.feature-row .feature-shot { flex: 1 1 240px; max-width: 280px; min-width: 0; }
.feature-row.reverse { flex-direction: row-reverse; }
@media (max-width: 640px) {
  .feature-row, .feature-row.reverse { flex-direction: column; }
  .feature-row .feature-shot { max-width: 100%; }
}

/* Labeled placeholder for a screenshot not yet supplied */
.screenshot-placeholder {
  border: 2px dashed #b8c7e0;
  border-radius: 12px;
  background: #f0f4fb;
  color: #5a6b8c;
  font-size: 13px;
  text-align: center;
  padding: 32px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}

/* Real screenshot image, once supplied — replaces .screenshot-placeholder */
img.screenshot {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

/* A single screenshot centered under a full-width card section */
.shot-single {
  max-width: 320px;
  margin: 12px auto 0;
}

/* Several screenshots side by side (e.g. comparing retrieve methods) */
.shot-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 12px;
}
.shot-row figure.screenshot {
  margin: 0;
  flex: 1 1 140px;
  max-width: 180px;
  min-width: 0;
  text-align: center;
}
.shot-row figcaption {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #1565c0;
}

/* ── Footer ──────────────────────────────────────────────────────────── */
footer {
  text-align: center;
  padding: 32px 24px;
  font-size: 13px;
  color: #888;
  border-top: 1px solid #e0e4ef;
  background: #fff;
}
footer a { color: #1565c0; text-decoration: none; }
footer a:hover { text-decoration: underline; }
.apple_btn .google_btn{
  margin:1rem;
}
.apple{
  height:3rem;
}
.google{
  height:3rem;
}

