:root {
  color-scheme: light;
  --ink: #163329;
  --muted: #405b4e;
  --green: #174f38;
  --accent: #cdee9a;
  --line: #d4dfd5;
  --paper: #f6f8f1;
  font: 100%/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: #e8eee5; scroll-behavior: smooth; }
body { max-width: 480px; margin: 0 auto; background: var(--paper); color: var(--ink); }
a { color: inherit; }
a, button, input { touch-action: manipulation; }
:focus-visible { outline: 3px solid #46832c; outline-offset: 4px; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
.shell { width: calc(100% - 36px); margin-inline: auto; }

.topbar {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: .035em;
}

.brand strong { color: #42770e; font-size: 1.04rem; }
.mark {
  position: relative;
  flex: 0 0 31px;
  height: 31px;
  border-radius: 70% 38% 67% 39%;
  transform: rotate(-16deg);
  background: linear-gradient(145deg, #61a822 49%, #164e37 50%);
}

.mark::after {
  content: "";
  position: absolute;
  inset: 8px 4px;
  background: var(--paper);
  transform: rotate(35deg);
  border-radius: 100% 0;
}

.top-call { font-size: .83rem; font-weight: 700; white-space: nowrap; text-underline-offset: 4px; }
.hero { padding-block: 18px 38px; }
.doctor {
  width: min(100%, 312px);
  margin-inline: auto;
  overflow: hidden;
  border-radius: 20px;
  background: #e6eddd;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px #153c2417;
}

.portrait { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.doctor figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 11px 12px;
  background: var(--green);
  color: white;
}

.doctor strong, .doctor span, .experience small { display: block; }
.doctor strong { font: 1.24rem/1.1 Georgia, serif; }
.doctor figcaption div span { font-size: .82rem; margin-top: 4px; color: #e2f0e3; }
.experience {
  flex: none;
  text-align: center;
  white-space: nowrap;
  background: var(--accent);
  border-radius: 9px;
  color: #213c2d;
  padding: 5px 9px;
  line-height: 1.2;
}

.experience small { font-size: .75rem; }
.hero-copy { padding-top: 23px; }
h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.06;
}

h1 { font-size: clamp(2.1rem, 9vw, 3.15rem); }
h1 em { display: block; color: #386e4d; font-weight: 400; }
h2 { font-size: clamp(2rem, 7.8vw, 2.75rem); margin-bottom: 14px; }
.intro { margin: 14px 0 18px; color: var(--muted); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  padding: 12px 15px;
  border: 0;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.primary { background: var(--green); color: white; }
.primary:hover { background: #246a4e; }
.button:disabled { opacity: .62; cursor: default; }
.symptoms { padding: 0 0 38px; }
.symptom-grid, .process-grid, .booking { display: grid; gap: 14px; }
.symptom-grid article, .form-card {
  border: 1px solid var(--line);
  border-radius: 17px;
  background: white;
  padding: 16px;
}

.symptom-grid h3 { font-size: 1.16rem; line-height: 1.25; margin-bottom: 7px; }
.symptom-grid p, .booking p { color: var(--muted); }
.clinical { background: #153e2f; color: white; }
.process-grid, .booking { padding-block: 36px; }
.process-grid p, .process-grid dd { color: #e0ece2; }
.process-grid dl div { border-top: 1px solid #729282; padding: 11px 0; }
.process-grid dt { font-weight: 750; color: #d3eea5; }
.test-list {
  display: grid;
  gap: 7px;
  margin: 10px 0 2px;
  padding-inline-start: 1.25em;
}

.test-list li::marker { color: var(--accent); }
.booking { scroll-margin-top: 16px; }
.form-card form { display: grid; gap: 10px; }
.form-card label { font-weight: 700; }
.form-card input {
  width: 100%;
  border: 1px solid #a9bdaf;
  border-radius: 9px;
  padding: 11px 12px;
  background: #fbfdf9;
  color: var(--ink);
  font: inherit;
}

.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.status:empty { display: none; }
.form-card .status.error { color: #9c2424; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
