/* Bolo Doctor: warm clinical identity.
   Paper ground, deep teal ink, amber accent. Waveform motif throughout. */

:root {
  --paper: #fdf9f1;
  --paper-deep: #f6efe0;
  --card: #ffffff;
  --ink: #17251f;
  --ink-soft: #2c3f37;
  --muted: #5f6f66;
  --line: #e7dcc4;
  --teal: #0e7c66;
  --teal-deep: #0a5a4b;
  --teal-tint: #e3f0ec;
  --amber: #e8930c;
  --amber-deep: #b96f04;
  --amber-tint: #fdf0da;
  --radius: 18px;
  --display: "Sora", "Hanken Grotesk", system-ui, sans-serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--amber-tint); }

.wrap { width: min(1060px, 100% - 3rem); margin-inline: auto; }

a { color: var(--teal-deep); }

/* ---------- top bar ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
}
.back { text-decoration: none; color: var(--muted); font-size: 0.95rem; font-weight: 500; }
.back:hover { color: var(--ink); }
.brandmark {
  display: flex; align-items: center; gap: 0.55rem;
  font-family: var(--display); font-weight: 700; letter-spacing: -0.01em;
}
.brandmark .orb {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 32% 30%, var(--amber) 0%, var(--amber-deep) 58%, #8a5203 100%);
  box-shadow: 0 0 0 5px var(--amber-tint);
}

/* ---------- hero ---------- */
.hero { padding: 3rem 0 3.8rem; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

.eyebrow {
  display: inline-flex; align-items: center;
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--teal-deep); background: var(--teal-tint);
  border: 1px solid #cfe3db; border-radius: 999px;
  padding: 0.42rem 0.85rem; margin-bottom: 1.3rem;
}

h1 {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 3.9rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.06;
  margin-bottom: 1.2rem;
}
.hl { color: var(--teal); box-shadow: inset 0 -0.32em 0 var(--amber-tint); }

.sub { font-size: 1.13rem; color: var(--ink-soft); max-width: 34rem; margin-bottom: 2rem; }

.cta-row { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
.cta-row.center { justify-content: center; }

.btn {
  display: inline-block;
  background: var(--amber); color: #231600;
  font-weight: 700; font-size: 1.02rem; text-decoration: none;
  padding: 0.95rem 1.9rem; border-radius: 999px;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { background: var(--amber-deep); color: #fff; transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--teal-deep);
  border: 1.5px solid var(--teal);
}
.btn-ghost:hover { background: var(--teal); color: #fff; }
.btn-ghost.on-dark { color: #fff; border-color: #ffffff88; }
.btn-ghost.on-dark:hover { background: #ffffff22; border-color: #fff; }

.award {
  display: flex; align-items: center; gap: 0.7rem;
  margin-top: 1.8rem; color: var(--ink-soft); font-size: 0.98rem;
}
.award-mark {
  width: 12px; height: 12px; border-radius: 50%; flex: none;
  background: var(--amber);
  box-shadow: 0 0 0 4px var(--amber-tint);
}
.award strong { color: var(--ink); }

/* ---------- note card + waveform ---------- */
.note-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: 0 24px 48px -24px rgba(23, 37, 31, 0.25);
}
.wave {
  display: flex; align-items: center; gap: 4px;
  height: 56px; margin-bottom: 1.1rem;
}
.wave span {
  flex: 1; height: var(--h); min-height: 12%;
  background: linear-gradient(180deg, var(--teal), var(--teal-deep));
  border-radius: 4px;
  animation: wave-breathe 2.6s ease-in-out infinite alternate;
}
.wave span:nth-child(3n) { animation-delay: 0.35s; }
.wave span:nth-child(4n) { animation-delay: 0.7s; }
@keyframes wave-breathe {
  from { transform: scaleY(0.82); }
  to { transform: scaleY(1.08); }
}
@media (prefers-reduced-motion: reduce) { .wave span { animation: none; } }

.heard { color: var(--muted); font-style: italic; margin-bottom: 1.1rem; }
.note {
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
}
.note-title {
  font-family: var(--display); font-weight: 700; font-size: 0.95rem;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--teal-deep); margin-bottom: 0.6rem;
}
.note dl { display: grid; grid-template-columns: 92px 1fr; gap: 0.3rem 0.9rem; font-size: 0.97rem; }
.note dt { color: var(--muted); font-weight: 600; }
.note-status { margin-top: 1rem; font-size: 0.9rem; color: var(--teal-deep); font-weight: 600; }

/* ---------- stats band ---------- */
.band { background: var(--paper-deep); border-block: 1px solid var(--line); }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; padding: 2.2rem 0; text-align: center;
}
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stats strong {
  display: block; font-family: var(--display);
  font-size: 2.1rem; font-weight: 800; color: var(--teal-deep); line-height: 1.1;
}
.stats span { color: var(--muted); font-size: 0.95rem; }

/* ---------- sections ---------- */
.section { padding: 4.5rem 0; }
.section.alt { background: var(--teal-tint); }
.section h2 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.15;
  text-align: center; margin-bottom: 0.8rem;
}
.lede { text-align: center; color: var(--muted); max-width: 38rem; margin: 0 auto 2.8rem; }

.features { display: grid; gap: 1.25rem; max-width: 780px; margin: 0 auto; }
.feature {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.9rem;
}
.feature .tag {
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--amber-deep); margin-bottom: 0.5rem;
}
.feature h3 { font-family: var(--display); font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; }
.feature p { color: var(--ink-soft); }
.feature ul { list-style: none; margin-top: 0.9rem; display: grid; gap: 0.45rem; }
.feature ul li { position: relative; padding-left: 1.6em; color: var(--ink-soft); }
.feature ul li::before {
  content: ""; position: absolute; left: 0; top: 0.28em;
  width: 1em; height: 1em; border-radius: 50%;
  background: var(--teal-tint)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e7c66' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / 0.62em no-repeat;
}

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; max-width: 920px; margin: 0 auto; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.7rem;
}
.step .n {
  font-family: var(--display); font-size: 1.9rem; font-weight: 800;
  color: var(--amber); margin-bottom: 0.5rem;
}
.step h3 { font-family: var(--display); margin-bottom: 0.4rem; }
.step p { color: var(--ink-soft); }

/* ---------- video card ---------- */
.video-card {
  position: relative; display: block;
  max-width: 720px; margin: 3rem auto 0;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
  background: var(--ink);
}
.video-card img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.92; }
.video-card .play {
  position: absolute; top: 50%; left: 50%;
  width: 68px; height: 68px; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--amber);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.video-card .play::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  transform: translate(-38%, -50%);
  border-style: solid; border-width: 11px 0 11px 19px;
  border-color: transparent transparent transparent #231600;
}
.video-card:hover .play { background: var(--amber-deep); }
.video-card:hover .play::after { border-left-color: #fff; }
.video-label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.2rem 1.2rem 0.9rem;
  background: linear-gradient(transparent, rgba(10, 30, 24, 0.85));
  color: #fff; font-weight: 600; font-size: 0.95rem;
}

/* ---------- honest note ---------- */
.honest { max-width: 720px; }
.honest h2 { text-align: left; }
.honest p { color: var(--ink-soft); font-size: 1.06rem; }

/* ---------- final ---------- */
.final { background: var(--teal-deep); color: #eafaf4; text-align: center; padding: 4.8rem 0; }
.final h2 { font-family: var(--display); font-size: clamp(2.1rem, 4.5vw, 3.2rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.8rem; }
.final p { color: #bfe3d7; margin-bottom: 2rem; }

footer { padding: 2rem 0 2.8rem; text-align: center; color: var(--muted); font-size: 0.92rem; }
footer a { color: var(--muted); }
footer a:hover { color: var(--teal-deep); }
