/* Dion Kastrati Physiotherapy — one stylesheet for the landing, privacy and support pages.
   Palette matches the mobile app and the PhysioApp web build. */

:root {
  color-scheme: light;
  --bg: #f5f6fd;
  --surface: #ffffff;
  --text: #16143f;
  --muted: #5d5c7c;
  --rule: #e3e4f3;
  --blue: #1c1982;
  --accent: #7d7ce0;
  --accent-soft: #eeeefb;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0 1rem 4rem;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 48rem;
  margin: 0 auto;
}

header.site {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1.75rem 0 1.5rem;
}

header.site .chip {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.8rem;
  background: #fff;
  border: 1px solid var(--rule);
  box-shadow: 0 1px 2px rgba(28, 25, 130, 0.06);
  display: grid;
  place-items: center;
  flex: none;
  overflow: hidden;
}

header.site .chip img {
  width: 2.2rem;
  height: 2.2rem;
  display: block;
}

header.site a.name {
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  color: var(--blue);
  text-decoration: none;
  line-height: 1.25;
}

header.site nav {
  margin-left: auto;
  display: flex;
  gap: 0.4rem;
  font-size: 0.9rem;
}

header.site nav a {
  color: var(--blue);
  text-decoration: none;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-weight: 500;
}

header.site nav a:hover { background: var(--accent-soft); }
header.site nav a[aria-current="page"] { background: var(--blue); color: #fff; }

.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 1.1rem;
  box-shadow: 0 1px 2px rgba(28, 25, 130, 0.04), 0 8px 24px rgba(28, 25, 130, 0.05);
  padding: 2.25rem 2.25rem 2rem;
}

.card + .card { margin-top: 1.25rem; }

h1 {
  font-size: 1.95rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--blue);
  margin: 0 0 0.5rem;
}

h2 {
  font-size: 1.08rem;
  letter-spacing: -0.01em;
  color: var(--blue);
  margin: 2.25rem 0 0.55rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--rule);
}

h3 {
  font-size: 0.98rem;
  margin: 1.5rem 0 0.35rem;
}

.langs {
  display: flex;
  gap: 0.4rem;
  margin: 0 0 1.5rem;
  font-size: 0.85rem;
}

.langs a {
  text-decoration: none;
  color: var(--blue);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 0.2rem 0.75rem;
  font-weight: 500;
}

.langs a:hover { background: var(--accent-soft); }

.updated {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0 0 1.25rem;
}

.lede {
  font-size: 1.06rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

ul { padding-left: 1.15rem; }
li { margin: 0.35rem 0; }
li::marker { color: var(--accent); }

a { color: var(--blue); text-decoration-color: var(--accent); text-underline-offset: 0.18em; }

.callout {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0.7rem;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

.callout p:first-child { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }

dl.contact {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.3rem 1.25rem;
  margin: 0.75rem 0 0;
}

dl.contact dt { color: var(--muted); }
dl.contact dd { margin: 0; overflow-wrap: anywhere; }

dl.faq { margin: 0; }

dl.faq dt {
  font-weight: 600;
  margin: 1.5rem 0 0.3rem;
}

dl.faq dd {
  margin: 0;
  color: var(--muted);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.6rem;
}

footer.site {
  margin-top: 2rem;
  padding: 0 0.25rem;
  color: var(--muted);
  font-size: 0.86rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

footer.site a { color: var(--muted); }

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 0.25rem;
}

@media (max-width: 36rem) {
  .card { padding: 1.5rem 1.25rem 1.4rem; border-radius: 0.9rem; }
  h1 { font-size: 1.6rem; }
  header.site nav { margin-left: 0; width: 100%; }
}
