:root {
  --navy: #153a3c;
  --ink: #183937;
  --muted: #506661;
  --teal: #00685c;
  --teal-dark: #00574d;
  --soft: #e8f4ed;
  --line: #d5e1db;
  --paper: #f4f8f5;
  --max: 1176px;
  --mint: #b8edc9;
  --icon-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.3'/%3E%3Cpath d='M12 7.3v5l3.2 2'/%3E%3C/svg%3E");
  --icon-guide: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='3.5' width='14' height='17' rx='2.5'/%3E%3Cpath d='M9 8.5h6m-6 4h6m-6 4h3'/%3E%3C/svg%3E");
  --icon-calendar: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5.5' width='17' height='15' rx='3'/%3E%3Cpath d='M7.5 3.5v4m9-4v4m-13 2.8h17M8 14.5h2m4 0h2'/%3E%3C/svg%3E");
  --icon-link: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m10 14 4-4m-6.8 2.1-1.7 1.7a3.3 3.3 0 0 0 4.7 4.7l3.4-3.3a3.3 3.3 0 0 0 0-4.6m3.2 1.3 1.7-1.7a3.3 3.3 0 1 0-4.7-4.7l-3.4 3.3a3.3 3.3 0 0 0 0 4.6'/%3E%3C/svg%3E");
  --icon-edit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 15.2-.8 4.6 4.6-.8L19.5 8.3a2 2 0 0 0 0-2.8l-1-1a2 2 0 0 0-2.8 0L5 15.2Zm8.9-8.9 3.8 3.8'/%3E%3C/svg%3E");
}

html {
  scroll-padding-top: 92px;
  scroll-behavior: auto;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.85;
}
button, a { -webkit-tap-highlight-color: rgba(0, 104, 92, .14); }
:focus-visible { outline-color: #875600; outline-offset: 4px; }
.wrap { width: min(var(--max), calc(100% - clamp(40px, 8vw, 112px))); }
.section { padding-block: clamp(64px, 7.5vw, 104px); }
h2 { font-size: clamp(1.75rem, 3.1vw, 2.65rem); letter-spacing: -.045em; line-height: 1.43; }
h3 { letter-spacing: -.025em; }
.intro { line-height: 1.9; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
  color: var(--teal);
  font-size: .875rem;
  letter-spacing: .04em;
}
.eyebrow::before { content: ""; width: 23px; height: 2px; background: currentColor; flex: none; }
.review-band { background: var(--navy); }
.site-header { background: #fff; border-color: var(--line); }
.header-row { min-height: 76px; }
.wordmark {
  gap: 7px;
  align-items: center;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1.64rem;
  font-weight: 770;
  line-height: 1;
  letter-spacing: -.045em;
}
.wordmark::before {
  content: "";
  width: 35px;
  aspect-ratio: 1;
  margin-right: 2px;
  background: url("./botlia-mark.svg") center / contain no-repeat;
}
.wordmark small { align-self: center; margin-top: 5px; color: var(--muted); font-size: .78rem; letter-spacing: .005em; }
.nav { column-gap: clamp(12px, 2.6vw, 38px); align-items: center; }
.nav a { display: inline-flex; min-height: 44px; align-items: center; white-space: nowrap; }
.nav a:hover { color: var(--teal); text-decoration: underline; text-underline-offset: .35em; }
.nav .nav-cta { color: white; background: var(--teal); padding: 7px 19px; border-radius: 8px; }
.nav .nav-cta:hover { color: white; background: var(--teal-dark); text-decoration: none; }
.button { padding: 13px 22px; min-height: 52px; border-radius: 9px; font-size: .98rem; }
.button.secondary { color: var(--ink); border-color: #abc4ba; }
.button.secondary:hover { border-color: var(--teal); }

.hero {
  padding-block: clamp(38px, 4.2vw, 68px) clamp(48px, 5.2vw, 78px);
  background: #f6f9f5;
  border-bottom: 1px solid var(--line);
}
.hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(30px, 4vw, 66px); }
.hero .eyebrow { margin-bottom: 20px; }
.hero h1 { font-size: clamp(2.1rem, 3.45vw, 3.32rem); line-height: 1.36; letter-spacing: -.055em; }
.hero h1 em { color: var(--teal); }
.hero-copy { max-width: 35em; margin-bottom: 10px; font-size: 1rem; line-height: 1.95; }
.hero .actions { gap: 10px; margin-block: 25px 10px; }
.hero-note { font-size: .875rem; }
.price-inline { margin-top: 22px; gap: 5px 12px; padding-top: 16px; border-color: #cddbd2; }
.price-inline strong { color: var(--ink); font-family: "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif; font-size: 1.65rem; letter-spacing: -.045em; }
.price-inline span { color: var(--muted); }

/* The actual patient interface is the main illustration. */
.hero-grid > :last-child {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(26px, 3.5vw, 52px) min(7%, 44px) 20px;
  border-radius: 24px;
  background: radial-gradient(ellipse at 5% 3%, #2c6357, transparent 62%), #153f3d;
}
.hero-grid > :last-child::before, .hero-grid > :last-child::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  width: 130%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(183, 236, 204, .25);
  box-shadow: 0 0 0 16px rgba(183, 236, 204, .045), 0 0 0 34px rgba(183, 236, 204, .045);
}
.hero-grid > :last-child::before { left: -72%; top: -78%; }
.hero-grid > :last-child::after { right: -86%; bottom: -66%; }
.preview {
  position: relative;
  width: min(100%, 370px);
  margin: 0 auto;
  border: 1px solid rgba(14, 42, 35, .22);
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(5, 26, 22, .25);
}
.preview-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-bottom-color: #dce7de;
  background: #eff6f0;
  color: #36584a;
  font-size: .8125rem;
  font-weight: 650;
  letter-spacing: .025em;
}
.preview-bar::before { content: ""; width: 15px; aspect-ratio: 1; background: url("./botlia-mark.svg") center / contain no-repeat; }
.preview-body { padding: clamp(20px, 2.2vw, 30px); }
.clinic-kicker { letter-spacing: .045em; }
.preview h2 { margin-bottom: 6px; font-size: clamp(1.25rem, 2vw, 1.58rem); letter-spacing: -.045em; }
.preview-subtitle { margin-bottom: 18px; }
.preview-menu { gap: 8px; }
.preview-menu > div, .preview-menu > div:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border: 1px solid #d6e5dc;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: .9375rem;
  line-height: 1.55;
}
.preview-menu > div::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  mask: var(--menu-icon, var(--icon-guide)) center / contain no-repeat;
  background: var(--teal);
}
.preview-menu > div:last-child { --menu-icon: var(--icon-calendar); }
.preview-notice {
  margin: 0 0 12px;
  padding: 12px 15px;
  border: 0;
  border-radius: 8px;
  background: #e6f3e8;
  color: #325746;
  line-height: 1.65;
}
.preview-notice strong { display: block; margin: 1px 0 4px; color: var(--teal-dark); font: 650 clamp(1.55rem, 2.3vw, 1.95rem)/1.25 "Segoe UI", sans-serif; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.preview-notice small { display: block; font-size: .875rem; font-weight: 650; }
.preview-caption { margin: 13px auto 0; max-width: 36em; color: #d7ecdf; font-size: .8125rem; }

.problem-grid { gap: clamp(32px, 6vw, 86px); align-items: center; }
.question-list { border-top: 2px solid #1e4b43; }
.question { position: relative; padding: 20px 4px 20px 43px; }
.question::before, .feature::before {
  content: "";
  display: block;
  width: 28px;
  height: 28px;
  mask: var(--section-icon) center / contain no-repeat;
  background: var(--teal);
}
.question::before { position: absolute; top: 22px; left: 0; }
.question:first-child { --section-icon: var(--icon-clock); }
.question:nth-child(2), .feature:first-child { --section-icon: var(--icon-guide); }
.question:nth-child(3) { --section-icon: var(--icon-calendar); }
.question small { font-size: .9375rem; }
.feature-section, .faq-section { background: var(--paper); }
.feature-grid { gap: clamp(22px, 3vw, 40px); }
.feature { padding: 22px 0 0; border-top: 1px solid #9fbbae; }
.feature::before { width: 32px; height: 32px; margin-bottom: 15px; }
.feature:nth-child(2) { --section-icon: var(--icon-link); }
.feature:nth-child(3) { --section-icon: var(--icon-edit); }
.scope-note { border-color: var(--line); border-left: 3px solid var(--teal); }

.demo-shell { background: #fff; border-color: #c7d9ce; border-radius: 18px; box-shadow: 0 10px 30px rgba(20, 61, 45, .055); }
.demo-sidebar { padding: clamp(23px, 2.9vw, 37px); background: #193f3c; }
.demo-sidebar .clinic-kicker { color: var(--mint); }
.demo-sidebar > p { color: #e1eee8; }
.demo-label { border-color: #c4d9ca; border-radius: 99px; background: var(--soft); padding: 4px 13px; }
.demo-choice { min-height: 46px; border-color: #6c9081; border-radius: 8px; }
.demo-choice:hover { background: #275849; }
.demo-choice[aria-pressed="true"] { border-color: var(--mint); background: var(--mint); color: #153e31; }
.demo-main { padding: clamp(24px, 3.5vw, 48px); }
.demo-status { display: inline-block; padding: 3px 11px; border-radius: 5px; background: var(--paper); }
.notice, .editor-status { border-color: #4a9a74; border-radius: 0 7px 7px 0; }
.patient-notice:focus-visible { outline: 3px solid #956619; }
.editor-demo { border-color: #b2c9bb; margin-top: 48px; padding-top: 36px; }
.editor-demo > h3 { font-size: clamp(1.5rem, 2.7vw, 2rem); }
.editor-box { padding: clamp(20px, 2.4vw, 32px); border-radius: 14px; }
.editor-box textarea { border-color: #91b2a4; font-size: 1rem; }
.editor-controls { align-items: stretch; }
.editor-controls .button { min-height: 46px; }

.flow-section { background: #eaf3ec; }
.requirements { background: #f9fcf9; border-color: #c7d9cd; }
.steps li { padding-bottom: 20px; }
.steps li::marker { color: var(--teal); }
.pricing-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(30px, 5vw, 72px); }
.price-panel { border: 1px solid #a2c7ad; border-top: 5px solid var(--teal); border-radius: 16px; padding: clamp(22px, 3.2vw, 40px); }
.price { column-gap: 9px; color: var(--ink); }
.price strong { color: var(--teal); font-family: "Segoe UI", sans-serif; letter-spacing: -.065em; }
.terms-summary dt { padding-top: 2px; }
.terms-summary dd { font-size: 1rem; }
.faq-items { border-color: #a4bfae; }
.faq-items summary { display: flex; align-items: center; gap: 15px; justify-content: space-between; list-style: none; }
.faq-items summary::-webkit-details-marker { display: none; }
.faq-items summary::after { content: "+"; flex: none; color: var(--teal); font: 450 1.5rem/1 "Segoe UI", sans-serif; }
.faq-items details[open] summary::after { content: "−"; }
.availability { color: var(--teal); }
.operator { border-color: #bfcec3; }
.site-footer { background: #153b38; }
.site-footer .wordmark { color: #fff; }
.footer-links a { display: inline-flex; min-height: 36px; align-items: center; color: #e4f1e8; }
.disclaimer { line-height: 1.8; }

@media (min-width: 761px) and (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 24px; }
  .hero-grid > :last-child { padding: 27px 15px 16px; }
  .hero .button { padding-inline: 15px; }
  .preview-body { padding: 19px; }
  .hero h1 { font-size: 2.05rem; }
  .pricing-grid { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 84px; }
  .wrap { width: calc(100% - 36px); }
  .header-row { flex-wrap: nowrap; min-height: 63px; gap: 12px; padding-block: 8px; }
  .wordmark { gap: 5px; font-size: 1.38rem; }
  .wordmark::before { width: 29px; margin-right: 1px; }
  .nav { flex-wrap: nowrap; column-gap: 16px; }
  .nav .nav-cta { padding-inline: 12px; min-height: 41px; }
  .hero { padding-block: 35px 30px; }
  .hero-grid, .pricing-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { gap: 26px; }
  .hero h1 { font-size: clamp(2.05rem, 6.8vw, 2.8rem); line-height: 1.38; margin-bottom: 16px; }
  .hero .eyebrow { margin-bottom: 14px; }
  .hero-copy { line-height: 1.8; }
  .hero .actions { margin-block: 17px 8px; }
  .hero .button { min-height: 47px; padding: 10px 15px; }
  .price-inline { margin-top: 15px; padding-top: 12px; }
  .hero-grid > :last-child { padding: 25px min(8%, 36px) 14px; border-radius: 17px; }
  .preview { max-width: 395px; }
  .preview-body { padding: 19px 21px; }
  .preview-bar { padding: 8px 18px; }
  .demo-shell { border-radius: 14px; }
  .demo-main { min-height: 0; }
  .feature-grid { gap: 22px; }
  .feature { padding-top: 17px; }
  .feature::before { float: left; width: 26px; height: 26px; margin: 2px 12px 0 0; }
  .feature p { clear: both; }
  .question { padding-left: 38px; }
  .editor-demo { margin-top: 33px; }
  .editor-controls { gap: 8px; }
  .footer-top { align-items: flex-start; }
  .footer-links { row-gap: 0; }
}
@media (max-width: 540px) {
  .review-band strong { display: inline; color: #c8efd8; margin-right: 6px; }
  .nav a[href="#features"] { display: none; }
  .nav { column-gap: 10px; }
  .wordmark small { font-size: .75rem; }
  .hero h1 { font-size: clamp(1.7rem, 7.7vw, 2.4rem); }
  .hero .actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .responsibility-table tbody th { background: #e8f4ec; }
  .editor-box { padding: 18px; }
  .hero .actions .button { padding-inline: 6px; font-size: .875rem; }
}
@media (max-width: 380px) {
  .nav { width: auto; gap: 7px; }
  .nav .nav-cta { padding-inline: 8px; }
  .wordmark small { display: none; }
  .price-inline { gap: 3px 9px; }
  .hero-grid > :last-child { padding-inline: 15px; }
  .preview-body, .demo-main, .demo-sidebar, .price-panel, .editor-box { padding-inline: 15px; }
  .demo-choice { font-size: .875rem; }
}
@media (max-width: 350px) {
  .hero .actions { grid-template-columns: 1fr; }
}
