/* Pibbl — shared styles for SEO feature landing pages (/audiograms, /transcription).
   Self-contained (the homepage inlines its own CSS); on-brand palette + Inter. */

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

:root {
  --amber: #F59E0B;
  --coral: #F97316;
  --teal: #0D9488;
  --navy: #1E293B;
  --ink: #0F172A;
  --slate: #475569;
  --muted: #94A3B8;
  --border: #E2E8F0;
  --bg: #FFFBF5;
  --warm-100: #FFEDD5;
  --white: #FFFFFF;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(15,23,42,.08);
  --shadow-lg: 0 12px 48px rgba(15,23,42,.14);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,251,245,.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; gap: 26px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--slate); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--ink); }
.btn {
  display: inline-block; text-decoration: none; font-weight: 700; border-radius: var(--radius-sm);
  padding: 11px 20px; font-size: 15px; transition: transform .12s ease, box-shadow .12s ease;
}
.btn-primary { background: var(--coral); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-ghost { color: var(--slate); border: 1px solid var(--border); background: #fff; }
@media (max-width: 720px) { .nav-links { display: none; } }

/* Hero */
.hero { padding: 72px 0 56px; }
.eyebrow {
  display: inline-block; font-weight: 800; font-size: 13px; letter-spacing: .04em;
  text-transform: uppercase; color: var(--coral); background: var(--warm-100);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(34px, 6vw, 54px); font-weight: 900; line-height: 1.08; letter-spacing: -.02em; color: var(--ink); }
.hero h1 em { color: var(--coral); font-style: normal; }
.hero p.lede { font-size: clamp(17px, 2.4vw, 21px); color: var(--slate); margin: 20px 0 28px; max-width: 640px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-note { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* Sections */
section.block { padding: 52px 0; }
.section-label { font-weight: 800; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.section-title { font-size: clamp(26px, 4vw, 36px); font-weight: 900; letter-spacing: -.02em; color: var(--ink); margin-bottom: 8px; }
.section-sub { font-size: 17px; color: var(--slate); max-width: 640px; margin-bottom: 28px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.step-num { width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; margin-bottom: 14px; }
.step h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.step p { font-size: 15px; color: var(--slate); }

/* Feature list */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.feature { display: flex; gap: 12px; align-items: flex-start; }
.feature .dot { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; background: var(--warm-100); color: var(--coral); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; margin-top: 2px; }
.feature h3 { font-size: 16px; font-weight: 800; }
.feature p { font-size: 15px; color: var(--slate); }

/* Callout / band */
.band { background: var(--navy); color: #fff; border-radius: 20px; padding: 40px; text-align: center; }
.band h2 { font-size: clamp(24px, 3.5vw, 32px); font-weight: 900; letter-spacing: -.02em; margin-bottom: 10px; }
.band p { color: #cbd5e1; max-width: 560px; margin: 0 auto 22px; }

/* FAQ */
.faq { display: grid; gap: 14px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px; }
.faq summary { font-weight: 800; font-size: 17px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary { color: var(--coral); }
.faq p { font-size: 15px; color: var(--slate); margin-top: 10px; }

/* Footer */
.foot { border-top: 1px solid var(--border); padding: 34px 0; margin-top: 24px; }
.foot-inner { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.foot a { color: var(--slate); text-decoration: none; font-weight: 600; font-size: 14px; }
.foot a:hover { color: var(--ink); }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-copy { font-size: 14px; color: var(--muted); }

.center { text-align: center; }
