:root {
  color-scheme: light;
  --brand: #14588b;
  --brand-deep: #0a3f69;
  --brand-soft: #e8f2fa;
  --accent: #dd1e2e;
  --ink: #10283b;
  --muted: #607789;
  --paper: #ffffff;
  --canvas: #f5f9fc;
  --border: rgba(20, 88, 139, 0.14);
  --shadow: 0 24px 80px rgba(11, 63, 105, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--canvas);
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 12%, rgba(123, 181, 219, 0.18), transparent 30rem),
    radial-gradient(circle at 92% 88%, rgba(20, 88, 139, 0.11), transparent 28rem),
    linear-gradient(145deg, #f9fcff 0%, #edf5fa 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

.ambient {
  position: fixed;
  z-index: 0;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgba(20, 88, 139, 0.11);
  border-radius: 999px;
  pointer-events: none;
}

.ambient-one {
  top: -10rem;
  right: -8rem;
  box-shadow: 0 0 0 2.6rem rgba(20, 88, 139, 0.025), 0 0 0 6rem rgba(20, 88, 139, 0.018);
}

.ambient-two {
  bottom: -13rem;
  left: -11rem;
  box-shadow: 0 0 0 3.5rem rgba(20, 88, 139, 0.025), 0 0 0 8rem rgba(20, 88, 139, 0.015);
}

.page-shell {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  padding: max(1.25rem, env(safe-area-inset-top)) 1rem max(1.25rem, env(safe-area-inset-bottom));
}

.card {
  width: min(100%, 31rem);
  padding: 2.25rem 1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.brand-block {
  text-align: center;
}

.logo-frame {
  display: grid;
  width: 10.75rem;
  height: 3.65rem;
  margin: 0 auto 0.55rem;
  place-items: center;
}

.logo {
  display: block;
  width: 100%;
  height: auto;
}

.clinic-type {
  margin: 0 0 0.55rem;
  color: var(--brand);
  font-family: ui-rounded, "Arial Rounded MT Bold", "Avenir Next Rounded", "Trebuchet MS", sans-serif;
  font-size: 0.84rem;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.intro {
  margin: 0.15rem 0 1.85rem;
  color: #315b78;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.008em;
  line-height: 1.45;
  text-wrap: balance;
}

.link-list {
  display: grid;
  gap: 0.72rem;
}

.link-button {
  display: grid;
  grid-template-columns: 3.1rem minmax(0, 1fr) 1.25rem;
  min-height: 4.75rem;
  align-items: center;
  gap: 0.9rem;
  padding: 0.72rem 1rem 0.72rem 0.72rem;
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(10, 63, 105, 0.055);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.link-button:hover {
  transform: translateY(-2px);
  border-color: rgba(20, 88, 139, 0.3);
  background: var(--paper);
  box-shadow: 0 12px 30px rgba(10, 63, 105, 0.11);
}

.link-button:active {
  transform: scale(0.988);
}

.link-button:focus-visible {
  outline: 3px solid rgba(20, 88, 139, 0.28);
  outline-offset: 3px;
}

.icon-box {
  display: grid;
  width: 3.1rem;
  height: 3.1rem;
  place-items: center;
  border-radius: 1rem;
  color: var(--brand);
  background: var(--brand-soft);
}

.icon-box svg {
  width: 1.42rem;
  height: 1.42rem;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.icon-box .fill-dot {
  fill: currentColor;
  stroke: none;
}

.link-copy {
  display: grid;
  min-width: 0;
  gap: 0.22rem;
}

.link-copy strong {
  color: var(--brand-deep);
  font-size: 1rem;
  font-weight: 720;
  letter-spacing: -0.01em;
}

.link-copy small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chevron {
  display: grid;
  width: 1.25rem;
  height: 1.25rem;
  place-items: center;
  color: rgba(20, 88, 139, 0.58);
}

.chevron svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.6rem;
  color: #7890a1;
}

footer p {
  margin: 0;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.footer-mark {
  width: 0.33rem;
  height: 0.33rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 0.22rem rgba(221, 30, 46, 0.09);
}

@media (min-width: 480px) {
  .page-shell {
    padding: 2rem;
  }

  .card {
    padding: 2.75rem 2.15rem 1.6rem;
  }
}

@media (max-height: 760px) and (orientation: landscape) {
  .page-shell {
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
