/* Shared styles for the Altitude Huntsville landing/layout pages.
   These pages are the Smith.ai call-center kit (docs/design/smithai-baseline-experiment.md):
   deliberately simple, fast, and iframe-friendly. No JS frameworks. */

:root {
  --ink: #16212b;        /* main text */
  --muted: #5b6a78;      /* secondary text */
  --accent: #0f6bd7;     /* links, buttons */
  --paper: #ffffff;
  --wash: #f2f5f8;       /* page background */
  --line: #dde4ea;       /* borders */
}

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

html, body { height: 100%; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--wash);
}

/* --- Slim top bar shared by every layout ------------------------------ */
.topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.topbar .brand { font-weight: 700; font-size: 15px; }
.topbar .phone { margin-left: auto; font-weight: 600; color: var(--accent); text-decoration: none; }
.topbar .env-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #8a5800;
  background: #fff3d6;
  border: 1px solid #eedaa2;
  border-radius: 999px;
  padding: 2px 10px;
}

/* --- Full-height checkout iframe -------------------------------------- */
.checkout-frame {
  border: 0;
  width: 100%;
  height: calc(100vh - 45px); /* everything under the top bar */
  display: block;
  background: var(--paper);
}

/* --- Layout 2: reference panel + checkout ------------------------------ */
.split {
  display: grid;
  grid-template-columns: 300px 1fr;
  height: calc(100vh - 45px);
}

.ref-panel {
  overflow-y: auto;
  background: var(--paper);
  border-right: 1px solid var(--line);
  padding: 16px;
}

.ref-panel h2 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--muted); margin: 18px 0 8px; }
.ref-panel h2:first-child { margin-top: 0; }

.ref-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.ref-table td { padding: 4px 0; vertical-align: top; }
.ref-table td:last-child { text-align: right; font-weight: 600; white-space: nowrap; }

.pkg { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; }
.pkg b { font-size: 14px; }
.pkg .price { float: right; font-weight: 700; color: var(--accent); }
.pkg p { font-size: 12px; color: var(--muted); margin-top: 4px; clear: both; }

/* --- Home (layout index) ----------------------------------------------- */
.home { max-width: 760px; margin: 48px auto; padding: 0 16px; }
.home h1 { font-size: 26px; margin-bottom: 6px; }
.home p.lead { color: var(--muted); margin-bottom: 24px; }

.layout-card {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 12px;
  text-decoration: none;
  color: inherit;
}
.layout-card:hover { border-color: var(--accent); }
.layout-card b { color: var(--accent); }
.layout-card span { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }
