/* Remap gateway. Colors and font from the app. */
:root{--primary:#146c58;--primary-dark:#105340;--bg:#f3f6f5;--card:#fff;--text:#183a34;--muted:#627570;--border:#e1e9e5;--line:#d2ded8;--soft:#e9f4ee;--shadow:0 10px 40px #15392b0d}
*{box-sizing:border-box}
html,body{margin:0}
body{background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.6;-webkit-font-smoothing:antialiased}
a{color:inherit}
.wrap{max-width:1120px;margin:0 auto;padding:0 32px}
.top{display:flex;align-items:center;justify-content:space-between;height:88px}
.brand{text-decoration:none}
.wordmark{font-size:28px;font-weight:750;letter-spacing:-1.4px;line-height:1}
.brand-sub{font-size:10px;letter-spacing:2.2px;color:var(--muted);margin:5px 0 0;font-weight:600}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 24px;border-radius:10px;font-weight:600;text-decoration:none;border:1px solid var(--primary);font-size:.98rem;cursor:pointer;font-family:inherit;transition:background .15s}
.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover{background:var(--primary-dark)}
.btn-outline{background:#fff;color:var(--primary)}.btn-outline:hover{background:var(--soft)}
.btn-ghost{border-color:var(--line);background:#fff;color:var(--text)}
.kicker{font-size:12px;letter-spacing:2px;font-weight:700;color:var(--primary);text-transform:uppercase;margin:0 0 14px}
h1{font-size:clamp(2.1rem,4.4vw,3.4rem);letter-spacing:-1.8px;line-height:1.08;margin:0 0 16px;font-weight:750}
h2{font-size:clamp(1.6rem,2.6vw,2.1rem);letter-spacing:-.9px;line-height:1.15;margin:0 0 12px}
h3{font-size:1.35rem;letter-spacing:-.4px;margin:0 0 10px}
.lead{font-size:1.15rem;color:var(--muted);margin:0;max-width:620px}
.muted{color:var(--muted)}
.card{background:var(--card);border:1px solid var(--border);border-radius:20px;box-shadow:var(--shadow)}
footer{color:var(--muted);font-size:.82rem;text-align:center;padding:40px 0}
/* gateway */
.gate{min-height:100vh;display:flex;flex-direction:column}
.gate main{flex:1;display:flex;flex-direction:column;justify-content:center;padding-bottom:56px}
.gate .intro{text-align:center;margin:0 auto 48px}
.gate .intro .lead{margin:0 auto}
.paths{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.path{padding:40px;display:flex;flex-direction:column;align-items:flex-start;min-height:280px;text-decoration:none;transition:transform .15s,box-shadow .15s}
.path:hover{transform:translateY(-2px);box-shadow:0 16px 48px #15392b17}
.path .icon{width:52px;height:52px;border-radius:14px;background:var(--soft);display:flex;align-items:center;justify-content:center;margin-bottom:22px}
.path .icon svg{width:26px;height:26px;stroke:var(--primary);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.path p{color:var(--muted);margin:0 0 28px;font-size:1.02rem;flex:1}
.path.patients{background:linear-gradient(180deg,#fff, #f6fbf8)}
/* subpages */
.back{font-size:.92rem;color:var(--muted);text-decoration:none}.back:hover{color:var(--primary)}
.hero{padding:72px 0 64px}
.steps{display:flex;flex-direction:column;gap:96px;padding:24px 0 96px}
.step{display:grid;grid-template-columns:1fr 1.15fr;gap:64px;align-items:center}
.step:nth-child(even) .text{order:2}
.step .text p{color:var(--muted);font-size:1.04rem;margin:0 0 12px}
.step ul{color:var(--muted);padding-left:18px;margin:8px 0 0}.step li{margin:4px 0}
.shot{padding:14px;max-height:520px;overflow:hidden;position:relative}
.shot img{display:block;width:100%;border-radius:10px}
.shot.fade::after{content:"";position:absolute;left:0;right:0;bottom:0;height:70px;background:linear-gradient(#fff0,#fff);border-radius:0 0 20px 20px}
.shot.end{display:flex;align-items:flex-end}
.shot.phone{max-width:290px;justify-self:center;border-radius:32px;padding:10px;max-height:none}
.shot.phone img{border-radius:24px}
.cta{padding:56px;text-align:center;margin-bottom:24px}
.cta .lead{margin:0 auto 28px}
.split{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center;padding:24px 0 80px}
.stages{list-style:none;padding:0;margin:20px 0}
.stages li{display:flex;gap:16px;margin:0 0 18px}
.stages b{flex:0 0 32px;height:32px;border-radius:50%;background:var(--soft);color:var(--primary);display:flex;align-items:center;justify-content:center;font-size:.9rem}
.stages p{margin:2px 0 0;color:var(--muted)}
.video{aspect-ratio:16/9;border:2px dashed var(--line);border-radius:20px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:var(--muted)}
.play{width:68px;height:68px;border-radius:50%;background:var(--primary);display:flex;align-items:center;justify-content:center}
.play::before{content:"";border-left:20px solid #fff;border-top:12px solid transparent;border-bottom:12px solid transparent;margin-left:6px}
.code-card{padding:44px;max-width:640px}
.code-row{display:flex;gap:12px;margin-top:20px}
.code-row input{flex:1;min-height:52px;border:1px solid var(--line);border-radius:10px;padding:0 16px;font:inherit;font-size:1.05rem;letter-spacing:1.5px;text-transform:uppercase;color:var(--text);background:#fff}
.code-row input:focus{outline:3px solid #85b9a7;outline-offset:1px;border-color:var(--primary)}
.wait{margin-top:28px;padding-top:24px;border-top:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.badge{display:inline-block;font-size:11px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:var(--primary);background:var(--soft);border-radius:999px;padding:3px 10px;margin-left:8px;vertical-align:middle}
.note{font-size:.9rem;color:var(--muted);background:#fff;border:1px solid var(--border);border-left:4px solid var(--line);border-radius:10px;padding:14px 18px;margin:0 0 48px}
@media (max-width:820px){
 .wrap{padding:0 20px}.top{height:72px}
 .paths,.step,.split{grid-template-columns:1fr;gap:20px}
 .step:nth-child(even) .text{order:0}
 .path{padding:28px;min-height:0}.gate .intro{margin-bottom:28px}.gate main{padding:20px 0 32px}
 .hero{padding:40px 0 36px}.steps{gap:56px;padding-bottom:56px}.shot{max-height:420px}
 .cta,.code-card{padding:28px}.code-row{flex-direction:column}
}
.gate .top,.gate main{width:100%}.code-row input::placeholder{text-transform:none;letter-spacing:.5px}
img[width][height]{height:auto}.install-tip-slot #install-tip{margin:18px 0 0}
