/* Healthlinx website (16 Nov 2026). Brand: navy #01337A, cyan #00EBE8, lilac #979CFB, sky #6EB4F5, Montserrat. */
[hidden] { display: none !important; }
@font-face { font-family: 'Montserrat'; src: url('/fonts/Montserrat-latin.woff') format('woff'); font-weight: 100 900; font-display: swap; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Montserrat', system-ui, sans-serif; color: #01337A; background: #FFFFFF; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: #01337A; } a:hover { color: #0A4FA8; }
img { max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 800; }
p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 16px; top: 16px; background: #fff; padding: 10px 14px; z-index: 10; border-radius: 8px; }
:focus-visible { outline: 3px solid #00EBE8; outline-offset: 2px; }

/* Header */
.navy { background: #01337A; color: #FFFFFF; }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.nav .logo img { height: 60px; width: auto; display: block; }
.nav .links { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; font-size: 15px; font-weight: 600; }
.nav .links a { color: #FFFFFF; text-decoration: none; }
.nav .links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.btn { display: inline-block; text-decoration: none; font-weight: 700; font-size: 16px; padding: 16px 26px; border-radius: 999px; border: 2px solid transparent; font-family: inherit; cursor: pointer; }
.btn-cyan { background: #00EBE8; color: #01337A !important; }
.btn-white { background: #FFFFFF; color: #01337A !important; }
.btn-navy { background: #01337A; color: #FFFFFF !important; }
.btn-outline-cyan { border-color: #00EBE8; color: #FFFFFF !important; padding: 14px 24px; }
.nav .btn-cyan { padding: 12px 20px; font-size: 15px; }

/* Text */
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #3B54A8; }
.navy .eyebrow { color: #00EBE8; }
.lead { font-size: 19px; line-height: 1.6; font-weight: 500; color: #33507F; }
.navy .lead { color: #D7E4F7; }
.muted { font-size: 13px; color: #5A6E8F; font-weight: 500; }
.h1 { font-size: clamp(38px, 5.2vw, 60px); line-height: 1.05; letter-spacing: -0.02em; }
.h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; }
.h3 { font-size: 21px; line-height: 1.25; }
.strap { font-size: 26px; line-height: 1.3; font-weight: 700; color: #979CFB; }

/* Layout */
.section { padding: 96px 0; }
.section.tight { padding: 72px 0; }
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split > .main { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.split > .side { flex: 1 1 380px; min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 14px; max-width: 820px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.row { display: flex; flex-wrap: wrap; gap: 14px; }
.bg-pale { background: #F3F7FC; } .bg-lilac { background: #F1F0FF; } .bg-cyan { background: #E7FDFC; }

/* Cards with coloured rims (Lucy, 16 Nov 2026) */
.card { background: #FFFFFF; border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 10px; border-top: 6px solid var(--rim, #00EBE8); }
.card p { font-size: 16px; line-height: 1.6; font-weight: 500; color: #33507F; }
.card.soft { background: #F3F7FC; }
.rim-cyan { --rim: #00EBE8; } .rim-lilac { --rim: #979CFB; } .rim-sky { --rim: #6EB4F5; } .rim-green { --rim: #85EC1F; } .rim-amber { --rim: #FFCF70; } .rim-coral { --rim: #F58080; }
.icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--rim, #00EBE8); }
.num { width: 50px; height: 50px; border-radius: 25px; display: flex; align-items: center; justify-content: center; font-size: 21px; font-weight: 800; background: var(--rim, #00EBE8); }
.dots { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 17px; font-weight: 600; }
.dots li { display: flex; gap: 12px; align-items: baseline; }
.dots li::before { content: ''; width: 10px; height: 10px; border-radius: 5px; background: var(--rim, #00EBE8); flex: 0 0 10px; }

/* Photos: hidden until the licensed file is in /img/photos */
.photo { display: block; width: 100%; height: 300px; object-fit: cover; border-radius: 24px; background: #E3EAF4; }
.photo.missing { display: none; }

/* Phone mock-up and example cards */
.phone { width: 330px; max-width: 100%; height: 660px; border-radius: 48px; background: #0B2A5C; padding: 12px; box-shadow: 0 30px 60px rgba(0,0,0,0.25); border: 1px solid rgba(255,255,255,0.2); margin: 0 auto; }
.screen { width: 100%; height: 100%; border-radius: 38px; background: #F6F8FC; overflow: hidden; display: flex; flex-direction: column; gap: 11px; padding: 22px 16px; color: #01337A; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tile { border-radius: 14px; padding: 10px; min-height: 60px; font-size: 11px; font-weight: 600; }
.tile b { display: block; font-size: 12px; font-weight: 800; margin-bottom: 6px; }
.small-h { font-size: 12px; font-weight: 700; }
.example { background: #FFFFFF; color: #01337A; border-radius: 28px; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.example .line { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #F3F7FC; border-radius: 14px; padding: 13px 15px; font-size: 15px; font-weight: 600; }
.pill { font-size: 13px; font-weight: 800; border-radius: 999px; padding: 4px 12px; white-space: nowrap; }
.link-card { background: #FFFFFF; border: 1.5px solid #979CFB; border-top: 6px solid #979CFB; border-radius: 14px; padding: 13px 15px; }
.link-card .tag, .tag { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #3B54A8; }
.link-card p { font-size: 14.5px; font-weight: 600; margin-top: 4px; line-height: 1.4; }
.bars { display: flex; gap: 10px; margin-top: 16px; align-items: flex-end; height: 110px; }
.bars div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; }
.bars span { width: 100%; border-radius: 8px; display: block; }

/* Forms */
.form { background: #F3F7FC; border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.form label, .form legend { font-size: 14px; font-weight: 700; }
.form input[type=text], .form input[type=email], .form select, .form textarea { width: 100%; padding: 13px 14px; border-radius: 12px; border: 2px solid #C9D6E8; font-family: inherit; font-size: 16px; background: #FFFFFF; color: #01337A; }
.field { display: flex; flex-direction: column; gap: 6px; }
.choice { display: flex; gap: 10px; align-items: center; font-size: 15px; font-weight: 600 !important; background: #FFFFFF; border: 2px solid #C9D6E8; border-radius: 12px; padding: 12px 14px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px !important; line-height: 1.5; font-weight: 500 !important; color: #33507F; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { font-size: 15px; font-weight: 700; border-radius: 12px; padding: 12px 14px; }
.msg.ok { background: #E7F5EC; color: #144D2C; } .msg.err { background: #FDEDED; color: #7A1F1F; }

/* Footer */
footer { border-top: 1px solid #E3EAF4; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; padding-top: 40px; padding-bottom: 24px; font-size: 14px; font-weight: 500; color: #5A6E8F; }
footer .wrap img { height: 22px; width: auto; }
footer .links { display: flex; flex-wrap: wrap; gap: 20px; }
footer .note { padding-bottom: 32px; font-size: 12px; line-height: 1.5; color: #5A6E8F; }

/* Privacy and legal pages */
.legal { max-width: 820px; margin: 0 auto; padding: 64px 32px 96px; }
.legal h2 { font-size: 24px; margin: 32px 0 10px; }
.legal p, .legal li { font-size: 16px; line-height: 1.7; color: #33507F; font-weight: 500; margin: 0 0 12px; }

@media (max-width: 640px) {
  .wrap { padding: 0 20px; } .section { padding: 64px 0; } .nav .links { gap: 16px; }
  .phone { height: 600px; } .strap { font-size: 22px; }
}
