/*
 * The demo practice's own stylesheet.
 *
 * Hand-written plain CSS with no build step and no dependency on anything in
 * `webapp/` — which is the point of this directory. A customer's marketing site
 * is somebody else's codebase, and the widget has to survive landing in one.
 */

:root {
  --ink: #0f172a;
  --muted: #52627a;
  --line: #dfe6ee;
  --paper: #ffffff;
  --wash: #f4f8f9;
  --brand: #0d5c56;
  --brand-ink: #ffffff;
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.wrap {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: var(--brand-ink);
  padding: 0.6rem 1rem;
  z-index: 10;
}

.skip:focus {
  left: 0;
}

a {
  color: var(--brand);
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.5rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.6rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.05rem;
}

/* --- Header --------------------------------------------------------------- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 5;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--brand);
  color: var(--brand-ink);
  font-weight: 700;
}

.nav {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-left: auto;
  font-size: 0.95rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover {
  color: var(--ink);
}

.cta {
  border: 0;
  border-radius: 999px;
  padding: 0.6rem 1.1rem;
  background: var(--brand);
  color: var(--brand-ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.cta:hover {
  filter: brightness(1.1);
}

.cta-lg {
  padding: 0.8rem 1.5rem;
  font-size: 1.05rem;
}

.ghost {
  margin-left: 1rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

/* --- Hero ----------------------------------------------------------------- */

.hero {
  background: linear-gradient(180deg, var(--wash), var(--paper));
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.eyebrow {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand);
}

.lede {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 34rem;
}

.hero-actions {
  margin-top: 1.5rem;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.badges li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  background: var(--paper);
}

.hero-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 1.25rem;
  box-shadow: 0 12px 32px rgb(15 23 42 / 0.08);
}

.hero-card-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.hero-card-foot {
  padding-top: 0.75rem;
  color: var(--muted);
  font-size: 0.85rem;
}

/* --- Sections ------------------------------------------------------------- */

.section {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.section-lede {
  color: var(--muted);
  max-width: 44rem;
}

.band {
  background: var(--wash);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 1.1rem 1.25rem;
}

.card p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.price {
  margin-top: 0.75rem !important;
  color: var(--ink) !important;
  font-weight: 700;
  font-size: 1.05rem !important;
}

.team .avatar {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 0 0.6rem !important;
  border-radius: 999px;
  background: var(--brand);
  color: var(--brand-ink) !important;
  font-weight: 700;
}

.role {
  color: var(--brand) !important;
  font-size: 0.85rem !important;
  font-weight: 600;
}

.hours {
  font-size: 0.85rem !important;
}

.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.quotes blockquote {
  margin: 0;
  font-size: 0.98rem;
}

.quotes li {
  border-left: 3px solid var(--brand);
  padding: 0.25rem 0 0.25rem 1rem;
}

.who {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

/* --- Footer --------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 3rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.fine {
  font-size: 0.8rem;
  max-width: 44rem;
}

@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }
}
