/* TeleClinic brand fonts */
@font-face {
  font-family: "TeleClinicSansDisplay";
  src: url("assets/fonts/TeleClinicSansDisplay-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "TeleClinicSansDisplay";
  src: url("assets/fonts/TeleClinicSansDisplay-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "TeleClinicSansText";
  src: url("assets/fonts/TeleClinicSansText-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "TeleClinicSansText";
  src: url("assets/fonts/TeleClinicSansText-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

/* Colors taken from teleclinic.com */
:root {
  --tc-primary: #00838F;
  --tc-primary-dark: #086E7E;
  --tc-logo: #359EAD;
  --tc-ink: #122E39;
  --tc-text: #595959;
  --tc-bg: #FFFFFF;
  --tc-bg-soft: #F2F7F8;
  --tc-teal-light: #D3ECEE;
  --tc-teal-mid: #B8E0E3;
  --tc-coral: #FF7F63;
  --tc-coral-light: #FFE0D9;

  --font-display: "TeleClinicSansDisplay", "Helvetica Neue", Arial, sans-serif;
  --font-text: "TeleClinicSansText", "Helvetica Neue", Arial, sans-serif;
}

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

html, body { margin: 0; padding: 0; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--tc-bg-soft);
  color: var(--tc-text);
  font-family: var(--font-text);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--tc-primary); font-weight: 600; text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  background: var(--tc-bg);
  box-shadow: 0 1px 0 rgba(18, 46, 57, 0.06);
}
.site-header .container {
  display: flex;
  align-items: center;
  height: 80px;
}
.logo { width: 190px; height: auto; }

/* Hero */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, var(--tc-bg-soft) 0%, var(--tc-teal-light) 100%);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  padding-top: 64px;
  padding-bottom: 64px;
}

.hero__inner > * { min-width: 0; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--tc-coral-light);
  color: var(--tc-ink);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
}
.badge__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--tc-coral);
  animation: pulse 1.8s ease-in-out infinite;
}

h1 {
  margin: 24px 0 20px;
  color: var(--tc-ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.lead {
  max-width: 34em;
  margin: 0 0 32px;
  font-size: 20px;
}

.progress {
  position: relative;
  max-width: 420px;
  height: 8px;
  border-radius: 999px;
  background: var(--tc-teal-mid);
  overflow: hidden;
}
.progress__bar {
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  border-radius: inherit;
  background: var(--tc-primary);
  animation: slide 1.8s ease-in-out infinite;
}

.thanks {
  margin: 28px 0 0;
  color: var(--tc-primary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
}

.apps { margin-top: 32px; }
.apps__label {
  margin: 0 0 12px;
  color: var(--tc-ink);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
}
.apps__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.apps__badges a { display: block; transition: transform 0.15s ease; }
.apps__badges a:hover { transform: translateY(-2px); }
.apps__badges img { width: 150px; height: auto; }


.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero__blob {
  position: absolute;
  inset: 8% 4% 4% 8%;
  border-radius: 46% 54% 50% 50% / 52% 44% 56% 48%;
  background: var(--tc-teal-mid);
  opacity: 0.6;
}
.hero__visual img {
  position: relative;
  max-width: 460px;
  width: 100%;
  filter: drop-shadow(0 24px 40px rgba(18, 46, 57, 0.18));
}

/* Footer */
.site-footer {
  background: var(--tc-ink);
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}
.site-footer p { margin: 0; padding: 20px 0; }

/* Animations */
@keyframes slide {
  0% { left: -40%; }
  100% { left: 100%; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}
@media (prefers-reduced-motion: reduce) {
  .badge__dot, .progress__bar { animation: none; }
  .progress__bar { left: 0; width: 60%; }
}

/* Responsive */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .lead, .progress { margin-left: auto; margin-right: auto; }
  .apps__badges { justify-content: center; }
  .hero__visual img { max-width: 320px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .site-header .container { height: 64px; }
  .logo { width: 150px; }
  body { font-size: 16px; }
  .lead { font-size: 18px; }
  .thanks { font-size: 20px; }
}
