:root {
  --bg: #f8fafc;
  --card: #ffffff;
  --primary: #2563eb;
  --primary-soft: #dbeafe;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --radius: 14px;
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.5;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main,
footer {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
}

header {
  background: linear-gradient(135deg, #a7c7e7 0%, #9b7ec4 100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 1.5rem 1.25rem;
}

.header-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.doctor-photo {
  width: 86px;
  height: 86px;
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.2);
}

.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
}

.brand-text strong {
  font-size: 1.25rem;
}

.badge-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  font-size: 0.75rem;
}

.badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background-color: #ffffff88;
  white-space: nowrap;
}

.badge-location {
  color: var(--text-muted);
}

.hero {
  padding-top: 0.5rem;
  padding-bottom: 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: center;
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .badge-group {
    align-items: flex-start;
  }
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
}

.hero-title {
  font-size: clamp(2.1rem, 3vw + 1rem, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.hero-title span {
  color: #2563eb;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  max-width: 28rem;
}

.hero-subtitle strong {
  color: var(--text-main);
}

.hero-list {
  list-style: none;
  margin-bottom: 0.8rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hero-list li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.3rem;
}

.hero-list li::before {
  content: "•";
  color: #22c55e;
  font-size: 1.1rem;
}

.hero-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.card {
  background-color: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.25rem 1.25rem 1.1rem;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
}

.card h2 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

form > div {
  display: flex;
  align-items: center;
  gap: 1rem;
}

label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

input[type="email"] {
  padding: 0.6rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.9rem;
  background-color: #f9fafb;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease,
    background-color 0.15s ease;
  flex: 1;
}

input[type="email"]:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.25);
  background-color: #ffffff;
}

.btn-primary {
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #f9fafb;
  background-color: var(--primary);
  cursor: pointer;
  margin-top: 0.1rem;
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.form-footnote {
  font-size: 0.75rem;
  color: var(--text-muted);
}

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

.section h2 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.section p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
}

@media (max-width: 768px) {
  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }
}

.bullet-list {
  list-style: none;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.bullet-list li {
  margin-bottom: 0.35rem;
  padding-left: 1.1rem;
  position: relative;
}

.bullet-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.85rem;
  color: #22c55e;
}

.testimonial {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--primary-soft);
  background-color: #a7c7e7;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.testimonial strong {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.85rem;
}

footer {
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  margin-top: auto;
}

footer .footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
  align-items: center;
}

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

footer a:hover {
  text-decoration: underline;
}
