/* TelePharm Connect landing (design A · 2026-10) — same brand colours as site.css */
:root {
  --ink: #13293d; --ink-2: #4c6275; --muted: #7a8ca3; --line: #e3eaf5; --bg: #f4f7fc;
  --blue: #2457d6; --blue-600: #1c46b5; --blue-50: #eef3fd; --cyan: #22c3e6; --cyan-50: #e7f8fd; --cyan-700: #1593b8;
  --mint: #2ee6b6; --mint-50: #e6fbf4; --green: #13a36b; --green-700: #0d7a52; --navy: #13293d;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font-family: 'IBM Plex Sans Thai', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: Prompt, 'IBM Plex Sans Thai', sans-serif; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.hidden { display: none !important; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* icons: duotone — soft fill + line */
.ic { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ic .f { fill: currentColor; opacity: .2; stroke: none; }
.ic .s { fill: currentColor; stroke: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 16px/1.2 'IBM Plex Sans Thai', sans-serif; border-radius: 14px; padding: 14px 24px; border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn .ic { width: 18px; height: 18px; stroke-width: 2; }
.btn:hover { transform: translateY(-1px); }
.btn.sm { padding: 10px 18px; font-size: 15px; }
.btn.block { width: 100%; }
.b1 { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(36, 86, 214, .25); }
.b1:hover { background: var(--blue-600); }
.b2 { background: #fff; color: var(--ink); border-color: #dbe3ef; }
.b2:hover { border-color: var(--blue); color: var(--blue); }
.bm { background: var(--mint-50); color: var(--green-700); border-color: #c6f0de; }
.bw { background: #fff; color: var(--blue-600); }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid #edf1f7; }
.nav .wrap { display: flex; align-items: center; height: 72px; gap: 28px; }
.brand img { height: 34px; display: block; }
.nav .links { display: flex; gap: 26px; margin-left: 20px; font-size: 15px; color: var(--ink-2); }
.nav .links a:hover { color: var(--blue); }
.nav .right { margin-left: auto; display: flex; gap: 14px; align-items: center; }
.login { color: var(--blue); font-weight: 600; font-size: 15px; }

/* hero */
.hero { padding: 72px 0 48px; background: radial-gradient(900px 420px at 85% 10%, #e8f6ff 0, rgba(255, 255, 255, 0) 70%), radial-gradient(600px 300px at 0% 90%, #e9fbf4 0, rgba(255, 255, 255, 0) 70%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.pill { display: inline-flex; gap: 8px; align-items: center; background: var(--mint-50); color: var(--green-700); font-weight: 600; font-size: 14px; border-radius: 999px; padding: 6px 14px; }
.pill .ic { width: 17px; height: 17px; }
.hero h1 { font-size: 54px; line-height: 1.18; margin: 18px 0; letter-spacing: -.3px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--blue), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; color: var(--ink-2); line-height: 1.65; max-width: 540px; }
.fda { margin-top: 12px; font-size: 14px; color: var(--ink-2); background: var(--blue-50); border-radius: 10px; padding: 8px 12px; max-width: 540px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 24px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-2); font-size: 14px; }
.trust span { display: flex; gap: 7px; align-items: center; }
.trust .ic { width: 17px; height: 17px; color: var(--green); stroke-width: 2.2; }
.devices { position: relative; height: 540px; }
.devices .con { position: absolute; left: 0; top: 70px; width: 82%; border-radius: 14px; box-shadow: 0 30px 60px rgba(19, 41, 61, .18); border: 1px solid var(--line); }
.devices .ph { position: absolute; right: 0; top: 0; width: 230px; filter: drop-shadow(0 30px 40px rgba(19, 41, 61, .28)); }
.chip { position: absolute; background: #fff; border-radius: 14px; box-shadow: 0 14px 30px rgba(19, 41, 61, .14); padding: 10px 14px; display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: var(--ink-2); }
.chip b { display: block; font-size: 14px; color: var(--ink); }
.chip .dot { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.chip .ic { width: 19px; height: 19px; }
.c1 { left: -10px; top: 8px; } .c2 { left: 46%; bottom: 10px; }
.dot.g { background: var(--mint-50); color: var(--green); } .dot.b { background: var(--blue-50); color: var(--blue); }

/* stats strip */
.stats { border-top: 1px solid #edf1f7; border-bottom: 1px solid #edf1f7; padding: 22px 0; color: var(--muted); font-size: 14px; }
.stats .wrap { display: flex; gap: 36px; justify-content: center; align-items: baseline; flex-wrap: wrap; }
.stats b { color: var(--ink); font: 700 22px Prompt, sans-serif; margin-right: 6px; }

/* sections */
.sec { padding: 96px 0; }
.sec.tint { background: var(--bg); }
.sec.flow { padding-top: 0; }
.sec.last { padding-top: 24px; }
.center { text-align: center; }
.eyebrow { color: var(--blue); font-weight: 700; font-size: 14px; letter-spacing: .4px; }
.h2 { font-size: 38px; line-height: 1.25; margin: 10px 0 14px; }
.h3 { font-size: 26px; line-height: 1.3; margin: 8px 0 12px; }
.sub { color: var(--ink-2); font-size: 17px; max-width: 640px; line-height: 1.65; }
.center .sub { margin: 0 auto; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.f { border: 1px solid #e9eef6; border-radius: 20px; padding: 26px; background: #fff; transition: box-shadow .2s, transform .2s; }
.f:hover { box-shadow: 0 16px 34px rgba(19, 41, 61, .08); transform: translateY(-2px); }
.f .t { width: 50px; height: 50px; border-radius: 14px; background: var(--blue-50); color: var(--blue); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.f .t .ic { width: 27px; height: 27px; }
.f.mint .t { background: var(--mint-50); color: var(--green); } .f.cyan .t { background: var(--cyan-50); color: var(--cyan-700); }
.f h3 { font-size: 19px; margin-bottom: 6px; }
.f p { color: var(--ink-2); font-size: 15px; line-height: 1.6; }

.shot { border-radius: 18px; overflow: hidden; box-shadow: 0 24px 50px rgba(19, 41, 61, .15); border: 1px solid var(--line); }
.shot img { display: block; width: 100%; }
.steps { margin-top: 26px; display: flex; flex-direction: column; gap: 18px; }
.step { display: flex; gap: 16px; }
.n { width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.n.m { background: var(--green); }
.step b { display: block; font-size: 17px; } .step span { color: var(--ink-2); font-size: 15px; }

.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.fd, .h, .sc { background: #fff; border-radius: 18px; padding: 22px; border: 1px solid var(--line); }
.fd .ic, .sc .ic { color: var(--blue); width: 30px; height: 30px; }
.fd b, .sc b { display: block; margin: 14px 0 4px; font-size: 17px; }
.fd span, .h span, .sc span { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.note { margin-top: 18px; color: var(--muted); font-size: 13.5px; }
.h b { display: block; margin: 14px 0 4px; font-size: 17px; }
.vrow { margin-top: 48px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.video { position: relative; border-radius: 22px; overflow: hidden; background: var(--ink); aspect-ratio: 16 / 9; box-shadow: 0 24px 50px rgba(19, 41, 61, .15); }
.video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--ink); }

/* plans (cards built by the page script) */
.plans { --cols: 4; display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: 18px; margin-top: 44px; text-align: left; }
.plan { border: 1px solid var(--line); border-radius: 22px; padding: 26px; background: #fff; position: relative; display: flex; flex-direction: column; gap: 6px; }
.plan.hl { border: 2px solid var(--blue); box-shadow: 0 20px 40px rgba(36, 86, 214, .12); }
.plan .tag { position: absolute; top: -12px; left: 24px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 12px; }
.plan h3 { font-size: 17px; color: var(--ink-2); font-weight: 600; }
.plan .price { font: 700 40px/1.15 Prompt, sans-serif; margin-top: 6px; }
.plan .price small { font: 500 14px 'IBM Plex Sans Thai', sans-serif; color: var(--muted); }
.plan .alt { color: var(--muted); font-size: 13.5px; min-height: 2.6em; }
.plan ul { list-style: none; padding: 0; margin: 14px 0 20px; display: flex; flex-direction: column; gap: 9px; font-size: 15px; flex: 1; }
.plan li { display: flex; gap: 8px; align-items: flex-start; }
.plan li .ic { width: 18px; height: 18px; color: var(--green); stroke-width: 2.2; margin-top: 2px; }
.plan .btn { margin-top: 6px; padding: 12px; font-size: 15px; }
.gp { display: flex; gap: 10px; align-items: center; justify-content: center; margin-top: 26px; font-weight: 600; }
.gp .ic { color: var(--green); }

.cta { background: linear-gradient(120deg, var(--navy), var(--blue-600)); border-radius: 28px; color: #fff; padding: 56px; display: flex; align-items: center; gap: 30px; }
.cta img { height: 64px; background: #fff; border-radius: 16px; padding: 8px; }
.cta h2 { font-size: 32px; } .cta p { opacity: .85; margin-top: 8px; font-size: 17px; }
.cta .btn { margin-left: auto; flex: none; }

.foot { padding: 40px 0; color: var(--muted); font-size: 14px; border-top: 1px solid #edf1f7; }
.foot .wrap { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.brandline { display: flex; gap: 14px; align-items: center; }
.brandline img { height: 26px; }
.foot .links { margin-left: auto; display: flex; gap: 18px; flex-wrap: wrap; }
.foot .links a:hover { color: var(--blue); }

@media (max-width: 1020px) {
  .nav .links { display: none; }
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .grid3 { grid-template-columns: 1fr 1fr; } .grid4, .plans { grid-template-columns: 1fr 1fr; }
  .devices { height: 480px; max-width: 620px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .login { display: none; }
  .hero { padding: 36px 0 10px; }
  .hero h1 { font-size: 34px; } .lead { font-size: 16px; }
  .ctas { flex-direction: column; } .ctas .btn { width: 100%; }
  .devices { height: 420px; } .devices .con { width: 300px; top: 120px; } .devices .ph { width: 170px; } .c2 { left: 10px; bottom: 0; }
  .sec { padding: 56px 0; } .h2 { font-size: 28px; } .h3 { font-size: 22px; }
  .grid3, .grid4, .plans, .grid2 { grid-template-columns: 1fr; }
  .stats .wrap { gap: 14px 24px; justify-content: flex-start; }
  .cta { flex-direction: column; padding: 32px; text-align: center; } .cta .btn { margin: 0; width: 100%; }
  .foot .links { margin-left: 0; }
}
.step .n, .h .n { color: #fff; font-size: 15px; line-height: 1; }
.plan .muted, .plan .small { color: var(--muted); font-size: 13.5px; text-align: center; margin-top: 4px; }
.plan .mail { color: var(--muted); font-size: 13.5px; text-align: center; margin-top: 6px; }
#oaLink { flex-wrap: wrap; } #oaId { white-space: nowrap; }
