/* =====================================================================
   Landing + login — cinematic dark teal. Scoped under .lp / .auth2.
   ===================================================================== */
:root { --ease: cubic-bezier(.32, .72, 0, 1); --lp-bg: #041312; --lp-ink: #eaf4f2; --lp-mute: #9fb9b4; --lp-line: rgb(255 255 255 / 9%); --lp-glow: #2fd3bd; }
html.lp-mode, html.lp-mode body { background: var(--lp-bg); }
.lp { position: relative; color: var(--lp-ink); background: var(--lp-bg); overflow-x: clip; min-height: 100dvh; }
.lp a { color: inherit; text-decoration: none; }
.lp em { font-style: normal; background: linear-gradient(100deg, #7ff0dc, #2fd3bd 45%, #b8f5ea); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-grain { position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* ---------- floating island nav ---------- */
.lp-nav { position: fixed; z-index: 30; top: 18px; inset-inline: 0; margin-inline: auto; width: min(960px, calc(100% - 28px)); display: flex; align-items: center; gap: 18px;
  padding: 8px 8px 8px 16px; border-radius: 999px; background: rgb(6 28 26 / 55%); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--lp-line); box-shadow: inset 0 1px 0 rgb(255 255 255 / 6%), 0 20px 40px -24px rgb(0 0 0 / 70%); transition: background-color .5s var(--ease), transform .5s var(--ease); }
.lp-nav.scrolled { background: rgb(6 28 26 / 80%); }
.lp-logo { display: flex; align-items: center; gap: 8px; font-weight: 600; letter-spacing: .6px; padding-inline-start: 6px; }
.lp-logo img { border-radius: 9px; }
.lp-links { display: flex; gap: 4px; margin-inline-start: auto; }
.lp-links a { padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--lp-mute); transition: color .3s var(--ease), background-color .3s var(--ease); }
.lp-links a:hover { color: var(--lp-ink); background: rgb(255 255 255 / 6%); }
.lp-nav-cta { padding: 9px 20px; border-radius: 999px; background: var(--lp-ink); color: #062320 !important; font-weight: 600; font-size: 14px; transition: transform .4s var(--ease); }
.lp-nav-cta:hover { transform: translateY(-1px); }
.lp-nav-cta:active { transform: scale(.97); }
.lp-burger { display: none; position: relative; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--lp-line); background: rgb(255 255 255 / 5%); cursor: pointer; }
.lp-burger i { position: absolute; inset-inline-start: 12px; width: 18px; height: 1.5px; background: var(--lp-ink); border-radius: 2px; transition: transform .5s var(--ease), top .5s var(--ease); }
.lp-burger i:first-child { top: 16px; } .lp-burger i:last-child { top: 24px; }
.lp.menu-open .lp-burger i:first-child { top: 20px; transform: rotate(45deg); }
.lp.menu-open .lp-burger i:last-child { top: 20px; transform: rotate(-45deg); }
.lp-menu { position: fixed; inset: 0; z-index: 25; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 96px 28px 40px;
  background: rgb(4 19 18 / 86%); backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px); opacity: 0; pointer-events: none; transition: opacity .5s var(--ease); }
.lp-menu.open { opacity: 1; pointer-events: auto; }
.lp-menu a { font-size: clamp(28px, 8vw, 40px); font-weight: 600; padding: 6px 0; opacity: 0; transform: translateY(40px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.lp-menu a.hl { color: var(--lp-glow); }
.lp-menu.open a { opacity: 1; transform: none; }
.lp-menu.open a:nth-child(2) { transition-delay: .05s; } .lp-menu.open a:nth-child(3) { transition-delay: .1s; }
.lp-menu.open a:nth-child(4) { transition-delay: .15s; } .lp-menu.open a:nth-child(5) { transition-delay: .2s; }

/* ---------- buttons: pill with nested icon ---------- */
.lp-btn { display: inline-flex; align-items: center; gap: 14px; padding: 7px 8px 7px 24px; padding-inline-start: 24px; padding-inline-end: 7px; border-radius: 999px; font: 600 15px/1 var(--font);
  background: linear-gradient(180deg, #f2fbf9, #cdeee8); color: #052421 !important; border: 0; cursor: pointer; box-shadow: 0 14px 34px -14px rgb(47 211 189 / 55%), inset 0 1px 0 #fff;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.lp-btn:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgb(47 211 189 / 70%), inset 0 1px 0 #fff; }
.lp-btn:active { transform: scale(.98); }
.lp-btn:focus-visible { outline: 2px solid var(--lp-glow); outline-offset: 3px; }
.lp-btn-ico { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #062320; color: #bff5ea; transition: transform .5s var(--ease); }
.lp-btn:hover .lp-btn-ico { transform: translateX(-3px) scale(1.06); }
.lp-btn.ghost { background: rgb(255 255 255 / 5%); color: var(--lp-ink) !important; box-shadow: inset 0 0 0 1px var(--lp-line); }
.lp-btn.ghost .lp-btn-ico { background: rgb(255 255 255 / 8%); color: var(--lp-ink); }
.lp-btn.ghost:hover { background: rgb(255 255 255 / 9%); }
.lp-btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* ---------- eyebrow ---------- */
.lp-eyebrow { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; font-size: 12.5px; letter-spacing: .3px; color: #bff5ea;
  background: rgb(47 211 189 / 8%); box-shadow: inset 0 0 0 1px rgb(47 211 189 / 22%); }

/* ---------- hero ---------- */
.lp-hero { position: relative; z-index: 2; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); align-items: center; gap: 48px;
  max-width: 1240px; margin-inline: auto; padding: 140px clamp(18px, 4vw, 48px) 96px; }
.lp-orb { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; z-index: -1; will-change: transform; }
.lp-orb.a { width: 520px; height: 520px; background: radial-gradient(circle, rgb(47 211 189 / 45%), transparent 65%); top: 4%; inset-inline-end: -8%; animation: drift 18s var(--ease) infinite alternate; }
.lp-orb.b { width: 420px; height: 420px; background: radial-gradient(circle, rgb(20 120 170 / 35%), transparent 65%); bottom: -6%; inset-inline-start: 10%; animation: drift 22s var(--ease) infinite alternate-reverse; }
.lp-orb.c { width: 260px; height: 260px; background: radial-gradient(circle, rgb(190 255 240 / 20%), transparent 70%); top: 40%; inset-inline-start: 45%; animation: drift 26s var(--ease) infinite alternate; }
.lp-orb.d { width: 640px; height: 640px; background: radial-gradient(circle, rgb(47 211 189 / 28%), transparent 65%); inset-inline: 0; margin-inline: auto; top: -20%; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(40px, -30px, 0) scale(1.12); } }
.lp-hero h1 { font-size: clamp(34px, 4.4vw, 62px); line-height: 1.22; letter-spacing: -1px; font-weight: 600; margin: 22px 0 18px; color: var(--lp-ink); text-wrap: balance; }
.lp-lede { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.9; color: var(--lp-mute); max-width: 54ch; margin: 0 0 30px; }
.lp-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.lp-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 32px 0 0; font-size: 13.5px; color: var(--lp-mute); }
.lp-trust li { display: inline-flex; align-items: center; gap: 7px; }
.lp-trust .ico { color: var(--lp-glow); }
.lp-scroll { position: absolute; bottom: 26px; inset-inline: 0; margin-inline: auto; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--lp-line); color: var(--lp-mute); animation: bob 2.6s var(--ease) infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }

/* ---------- double-bezel ---------- */
.lp-bezel { padding: 7px; border-radius: 28px; background: rgb(255 255 255 / 4%); box-shadow: inset 0 0 0 1px var(--lp-line); }
.lp-core { border-radius: 21px; padding: 24px; background: linear-gradient(180deg, rgb(16 44 41 / 92%), rgb(8 30 28 / 96%)); box-shadow: inset 0 1px 0 rgb(255 255 255 / 9%); height: 100%; }

/* ---------- product stage ---------- */
.lp-stage { position: relative; padding: 40px 10px; }
.lp-mock { transform: perspective(1400px) rotateY(-8deg) rotateX(4deg); transition: transform 1.2s var(--ease); }
.lp-stage:hover .lp-mock { transform: perspective(1400px) rotateY(-3deg) rotateX(2deg); }
.lp-mock .lp-core { padding: 18px; }
.lp-mock-head { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 15px; margin-bottom: 8px; padding: 2px 4px 10px; border-bottom: 1px solid var(--lp-line); }
.lp-mock-head span:first-child { display: inline-flex; gap: 6px; align-items: center; }
.lp-mock-head .ico { color: var(--lp-glow); }
.lp-mock-pill { font-size: 12px; padding: 3px 10px; border-radius: 999px; background: rgb(47 211 189 / 14%); color: #bff5ea; }
.lp-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 13px 6px; border-bottom: 1px dashed var(--lp-line); }
.lp-row:last-child { border-bottom: 0; }
.lp-row-main { display: flex; flex-direction: column; min-width: 0; }
.lp-row-main b { font-size: 14.5px; font-weight: 600; }
.lp-row-main span { font-size: 12.5px; color: var(--lp-mute); }
.lp-row-act { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgb(47 211 189 / 14%); color: #bff5ea; }
.lp-dot { width: 9px; height: 9px; border-radius: 50%; }
.lp-dot.high { background: #ff8a7a; box-shadow: 0 0 0 4px rgb(255 138 122 / 15%); }
.lp-dot.mid { background: #f2b85c; box-shadow: 0 0 0 4px rgb(242 184 92 / 15%); }
.lp-dot.low { background: #7fd8cb; box-shadow: 0 0 0 4px rgb(127 216 203 / 15%); }
.lp-float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px; background: rgb(10 36 34 / 78%);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--lp-line), 0 18px 40px -18px rgb(0 0 0 / 70%); animation: float 7s var(--ease) infinite alternate; }
.lp-float b { display: block; font-size: 13.5px; }
.lp-float small { display: block; font-size: 11.5px; color: var(--lp-mute); }
.lp-float .ico { color: var(--lp-glow); }
.lp-float.f1 { top: -4px; inset-inline-start: -10px; }
.lp-float.f2 { bottom: 4px; inset-inline-end: -14px; animation-delay: -2s; }
.lp-float.f3 { top: 0; inset-inline-end: 6%; animation-delay: -4s; }
@keyframes float { to { transform: translateY(-10px); } }
.lp-ring { width: 36px; height: 36px; border-radius: 50%; background: conic-gradient(var(--lp-glow) 60%, rgb(255 255 255 / 10%) 0); display: grid; place-items: center; }
.lp-ring i { width: 26px; height: 26px; border-radius: 50%; background: #0a2422; }

/* ---------- sections ---------- */
.lp-section { position: relative; z-index: 2; max-width: 1240px; margin-inline: auto; padding: clamp(80px, 12vw, 150px) clamp(18px, 4vw, 48px); }
.lp-head { max-width: 760px; margin-bottom: 48px; }
.lp-head h2, .lp-final h2 { font-size: clamp(30px, 4.2vw, 52px); line-height: 1.3; letter-spacing: -.6px; font-weight: 600; margin: 18px 0 12px; text-wrap: balance; }
.lp-head p { color: var(--lp-mute); font-size: 17px; max-width: 60ch; }
.lp-statement { font-size: clamp(28px, 4.6vw, 58px); line-height: 1.35; font-weight: 600; letter-spacing: -.6px; margin: 22px 0 56px; max-width: 18ch; text-wrap: balance; }
.lp-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--lp-line); }
.lp-facts > div { padding: 28px 0 0; padding-inline-end: 32px; display: flex; flex-direction: column; gap: 6px; }
.lp-facts > div + div { padding-inline-start: 32px; border-inline-start: 1px solid var(--lp-line); }
.lp-facts b { font-size: clamp(44px, 6vw, 72px); line-height: 1; font-weight: 600; color: var(--lp-glow); font-variant-numeric: tabular-nums; }
.lp-facts span { color: var(--lp-mute); font-size: 15px; max-width: 30ch; }

.lp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; }
.lp-step .lp-core { padding: 30px 26px 32px; }
.lp-step.s1 { transform: rotate(-1.5deg); } .lp-step.s2 { margin-top: 44px; } .lp-step.s3 { transform: rotate(1.5deg); margin-top: 18px; }
.lp-step .ico { color: var(--lp-glow); display: block; margin: 18px 0 12px; }
.lp-num { font-size: 13px; color: var(--lp-mute); letter-spacing: 2px; }
.lp-step h3, .lp-bento h3 { font-size: 21px; font-weight: 600; margin-bottom: 8px; }
.lp-step p, .lp-bento p { color: var(--lp-mute); font-size: 15px; line-height: 1.85; }

.lp-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.lp-bento > * { grid-column: span 4; }
.lp-bento .b-wide { grid-column: span 8; }
.lp-bento .b-tall { grid-column: span 4; grid-row: span 2; }
.lp-bento .lp-core { padding: 28px; }
.lp-tile-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; color: #bff5ea;
  background: linear-gradient(140deg, rgb(47 211 189 / 26%), rgb(47 211 189 / 6%)); box-shadow: inset 0 0 0 1px rgb(47 211 189 / 25%); }
.lp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.lp-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; font-size: 13px; background: rgb(255 255 255 / 5%); box-shadow: inset 0 0 0 1px var(--lp-line); color: var(--lp-ink); }
.lp-chips .ico { color: var(--lp-glow); }
.lp-timeline { list-style: none; padding: 0; margin: 26px 0 0; display: flex; justify-content: space-between; position: relative; }
.lp-timeline::before { content: ''; position: absolute; inset-inline: 10px; top: 50%; height: 1px; background: var(--lp-line); }
.lp-timeline li { position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; background: #0b2826; box-shadow: inset 0 0 0 1px var(--lp-line); color: var(--lp-mute); }
.lp-timeline li.on { background: var(--lp-glow); color: #052421; font-weight: 600; box-shadow: 0 0 0 6px rgb(47 211 189 / 18%); }

.lp-privacy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.lp-privacy .lp-head { margin: 0; }
.lp-plist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.lp-plist li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 22px; border-radius: 22px; background: rgb(255 255 255 / 3%); box-shadow: inset 0 0 0 1px var(--lp-line); }
.lp-plist .ico { width: 48px; height: 48px; padding: 12px; border-radius: 14px; color: #bff5ea; background: rgb(47 211 189 / 12%); }
.lp-plist b { display: block; font-size: 17px; margin-bottom: 4px; }
.lp-plist span { color: var(--lp-mute); font-size: 14.5px; line-height: 1.8; }

.lp-final { position: relative; z-index: 2; text-align: center; padding: clamp(100px, 14vw, 180px) 18px; overflow: hidden; }
.lp-final h2 { margin-inline: auto; max-width: 20ch; }
.lp-final .lp-ctas { justify-content: center; margin-top: 30px; }
.lp-foot { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; max-width: 1240px; margin-inline: auto;
  padding: 28px clamp(18px, 4vw, 48px) 40px; border-top: 1px solid var(--lp-line); color: var(--lp-mute); font-size: 13.5px; }
.lp-foot a:hover { color: var(--lp-ink); }

/* ---------- reveals ---------- */
.rv { opacity: 0; transform: translateY(42px); filter: blur(10px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.lp-step.s1.rv { transform: translateY(42px) rotate(-1.5deg); } .lp-step.s3.rv { transform: translateY(42px) rotate(1.5deg); }
.rv.in { opacity: 1; transform: none; filter: none; }
.lp-step.s1.rv.in { transform: rotate(-1.5deg); } .lp-step.s3.rv.in { transform: rotate(1.5deg); }
.lp-stage.rv.in .lp-mock { transform: perspective(1400px) rotateY(-8deg) rotateX(4deg); }
.rv[data-d="1"] { transition-delay: .1s; } .rv[data-d="2"] { transition-delay: .2s; } .rv[data-d="3"] { transition-delay: .3s; } .rv[data-d="4"] { transition-delay: .4s; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .lp-links, .lp-nav-cta { display: none; }
  .lp-burger { display: block; margin-inline-start: auto; }
  .lp-nav { padding: 6px 6px 6px 14px; }
  .lp-hero { grid-template-columns: 1fr; padding-top: 120px; gap: 28px; min-height: auto; }
  .lp-stage { padding: 30px 8px 50px; }
  .lp-mock, .lp-stage:hover .lp-mock, .lp-stage.rv.in .lp-mock { transform: none; }
  .lp-float.f3 { display: none; }
  .lp-float.f1 { inset-inline-start: 0; top: 0; } .lp-float.f2 { inset-inline-end: 0; bottom: 0; }
  .lp-scroll { display: none; }
  .lp-steps { grid-template-columns: 1fr; }
  .lp-step.s1, .lp-step.s3, .lp-step.s1.rv.in, .lp-step.s3.rv.in { transform: none; }
  .lp-step.s1.rv, .lp-step.s3.rv { transform: translateY(42px); }
  .lp-step.s2, .lp-step.s3 { margin-top: 0; }
  .lp-bento > *, .lp-bento .b-wide, .lp-bento .b-tall { grid-column: 1 / -1; grid-row: auto; }
  .lp-privacy { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .lp-facts { grid-template-columns: 1fr; }
  .lp-facts > div, .lp-facts > div + div { padding: 22px 0; border-inline-start: 0; border-bottom: 1px solid var(--lp-line); }
  .lp-ctas .lp-btn { width: 100%; justify-content: space-between; }
  .lp-core { padding: 18px; }
  .lp-bento .lp-core { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .rv, .lp-step.s1.rv, .lp-step.s3.rv { opacity: 1; transform: none; filter: none; transition: none; }
  .lp-orb, .lp-float, .lp-scroll { animation: none; }
}

/* =====================================================================
   Login (split screen)
   ===================================================================== */
.auth2 { min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--lp-bg); color: var(--lp-ink); }
.auth2-brand { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(28px, 4vw, 56px); }
.auth2-brand .lp-orb.a { top: -10%; inset-inline-end: -20%; }
.auth2-brand .lp-orb.b { bottom: -20%; inset-inline-start: -10%; }
.auth2-brand h1 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.3; font-weight: 600; letter-spacing: -.5px; margin: 18px 0 14px; max-width: 16ch; }
.auth2-brand p { color: var(--lp-mute); max-width: 44ch; }
.auth2-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.auth2-points li { display: flex; gap: 10px; align-items: center; color: var(--lp-ink); font-size: 14.5px; }
.auth2-points .ico { color: var(--lp-glow); }
.auth2-back { display: inline-flex; align-items: center; gap: 8px; color: var(--lp-mute) !important; font-size: 14px; text-decoration: none !important; }
.auth2-back:hover { color: var(--lp-ink) !important; }
.auth2-side { display: grid; place-items: center; padding: 28px 18px; background: #f3f5f4; color: var(--text); }
.auth2-card { width: min(440px, 100%); padding: 8px; border-radius: 30px; background: rgb(15 110 110 / 5%); box-shadow: inset 0 0 0 1px rgb(15 110 110 / 10%); }
.auth2-inner { border-radius: 23px; background: #fff; padding: clamp(24px, 4vw, 36px); box-shadow: 0 30px 60px -30px rgb(10 60 55 / 30%), inset 0 1px 0 #fff; }
.auth2-inner h2 { font-size: 24px; margin-bottom: 6px; }
.auth2-inner .sub { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.auth2-inner .field input { min-height: 48px; border-radius: 14px; font-size: 15px; }
.auth2-inner .stack > * + * { margin-top: 14px; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-inline-end: 48px; }
.pw-toggle { all: unset; position: absolute; inset-inline-end: 8px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--muted); cursor: pointer; }
.pw-toggle:hover { background: var(--surface-2); }
.pw-toggle:focus-visible { outline: 2px solid var(--primary); }
.auth2-submit { width: 100%; justify-content: space-between !important; margin-top: 8px; background: linear-gradient(180deg, #13807a, #0a5656) !important; color: #fff !important; box-shadow: 0 16px 30px -16px rgb(10 86 86 / 80%) !important; }
.auth2-submit .lp-btn-ico { background: rgb(255 255 255 / 16%); color: #fff; }
.auth2-or { display: flex; align-items: center; gap: 12px; color: var(--faint); font-size: 12.5px; margin: 20px 0 14px; }
.auth2-or::before, .auth2-or::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth2-demo { width: 100%; justify-content: space-between !important; background: var(--primary-soft) !important; color: var(--primary-strong) !important; box-shadow: inset 0 0 0 1px rgb(15 110 110 / 18%) !important; }
.auth2-demo .lp-btn-ico { background: #fff; color: var(--primary); }
.auth2-foot { margin-top: 18px; font-size: 12.5px; color: var(--faint); text-align: center; }
@media (max-width: 900px) {
  .auth2 { grid-template-columns: 1fr; }
  .auth2-brand { padding: 22px 18px 34px; min-height: auto; }
  .auth2-brand h1 { font-size: 28px; }
  .auth2-points, .auth2-brand p { display: none; }
  .auth2-side { padding: 0 14px 40px; background: var(--lp-bg); }
  .auth2-card { margin-top: -6px; background: rgb(255 255 255 / 6%); box-shadow: inset 0 0 0 1px var(--lp-line); }
}
.flip { transform: scaleX(-1); }

/* first screen: CSS-only entrance so it never waits on JS */
.rv-load { animation: rise 1s var(--ease) both; }
.rv-load[data-d="1"] { animation-delay: .08s; } .rv-load[data-d="2"] { animation-delay: .16s; } .rv-load[data-d="3"] { animation-delay: .24s; } .rv-load[data-d="4"] { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .rv-load { animation: none; } }
.lp-bento .b-full { grid-column: 1 / -1; }
.lp-bento .b-full .lp-core { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 20px; align-items: center; }
.lp-bento .b-full .lp-tile-ico { grid-row: span 2; margin: 0; }
.lp-bento .b-full h3 { margin: 0; }
.auth2-brand { isolation: isolate; }

/* =====================================================================
   Light hero: Riyadh at dawn. The near skyline is the page's dark teal,
   so the bright sky hands over to the dark sections below without a seam.
   ===================================================================== */
.lp-hero.is-light { --sky-h: clamp(220px, 36vh, 400px); --band-h: 52px; --ink: #0a2a27; --ink-mute: #4b625e; --teal: #0f7c72;
  max-width: none; margin: 0; isolation: isolate; overflow: hidden; color: var(--ink);
  padding: 130px max(clamp(18px, 4vw, 48px), calc((100% - 1240px) / 2)) calc(var(--sky-h) * .84 + var(--band-h));
  background: linear-gradient(180deg, #e6f4f1 0%, #f3f4ec 42%, #fbebd6 70%, #f7d9b9 100%); }
.lp-hero.is-light h1 { color: var(--ink); }
.lp-hero.is-light em { background-image: linear-gradient(100deg, #0f6e6e, #14a08f 55%, #0b5450); }
.lp-hero.is-light .lp-lede, .lp-hero.is-light .lp-trust { color: var(--ink-mute); }
.lp-hero.is-light .lp-trust .ico { color: var(--teal); }
.lp-hero.is-light .lp-eyebrow { color: #0b5d57; background: rgb(255 255 255 / 62%); box-shadow: inset 0 0 0 1px rgb(15 110 110 / 18%); }
.lp-hero.is-light .lp-btn:not(.ghost) { background: linear-gradient(180deg, #13807a, #0a5656); color: #fff !important; box-shadow: 0 18px 36px -16px rgb(10 86 86 / 60%), inset 0 1px 0 rgb(255 255 255 / 18%); }
.lp-hero.is-light .lp-btn:not(.ghost) .lp-btn-ico { background: rgb(255 255 255 / 16%); color: #fff; }
.lp-hero.is-light .lp-btn.ghost { background: rgb(255 255 255 / 72%); color: var(--ink) !important; box-shadow: inset 0 0 0 1px rgb(15 110 110 / 16%), 0 12px 30px -20px rgb(10 60 55 / 40%); }
.lp-hero.is-light .lp-btn.ghost .lp-btn-ico { background: #e3f2f1; color: #0a5656; }
.lp-hero.is-light .lp-scroll { display: none; }
/* product mock as frosted white glass */
.lp-hero.is-light .lp-bezel { background: rgb(255 255 255 / 42%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 85%), 0 50px 90px -46px rgb(10 60 55 / 50%); }
.lp-hero.is-light .lp-core { background: linear-gradient(180deg, rgb(255 255 255 / 96%), rgb(246 251 250 / 92%)); color: #10302d; box-shadow: inset 0 1px 0 #fff; }
.lp-hero.is-light .lp-mock-head, .lp-hero.is-light .lp-row { border-color: rgb(15 110 110 / 12%); }
.lp-hero.is-light .lp-row-main span, .lp-hero.is-light .lp-float small { color: #5b726e; }
.lp-hero.is-light .lp-row-act, .lp-hero.is-light .lp-mock-pill { background: #e3f2f1; color: #0a5656; }
.lp-hero.is-light .lp-mock-head .ico, .lp-hero.is-light .lp-float .ico { color: var(--teal); }
.lp-hero.is-light .lp-float { background: rgb(255 255 255 / 88%); color: var(--ink); box-shadow: inset 0 0 0 1px #fff, 0 20px 40px -22px rgb(10 60 55 / 40%); }
.lp-hero.is-light .lp-ring { background: conic-gradient(#14a08f 60%, rgb(15 110 110 / 12%) 0); }
.lp-hero.is-light .lp-ring i { background: #fff; }
/* nav: light glass over the dawn sky, dark again once past the hero (or with the menu open) */
.lp:not(.menu-open) .lp-nav:not(.scrolled) { background: rgb(255 255 255 / 58%); border-color: rgb(15 110 110 / 12%); box-shadow: 0 16px 40px -26px rgb(10 60 55 / 40%); }
.lp:not(.menu-open) .lp-nav:not(.scrolled) .lp-logo { color: #0a2a27; }
.lp:not(.menu-open) .lp-nav:not(.scrolled) .lp-links a { color: #3d5a56; }
.lp:not(.menu-open) .lp-nav:not(.scrolled) .lp-links a:hover { color: #0a2a27; background: rgb(15 110 110 / 7%); }
.lp:not(.menu-open) .lp-nav:not(.scrolled) .lp-nav-cta { background: #0a5656; color: #fff !important; }
.lp:not(.menu-open) .lp-nav:not(.scrolled) .lp-burger { border-color: rgb(15 110 110 / 18%); background: rgb(255 255 255 / 60%); }
.lp:not(.menu-open) .lp-nav:not(.scrolled) .lp-burger i { background: #0a2a27; }

/* ---------- the scene ---------- */
.sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.sky-sun { position: absolute; inset-inline: 0; margin-inline: auto; width: min(64vw, 720px); aspect-ratio: 1; border-radius: 50%; bottom: calc(var(--sky-h) * .18);
  background: radial-gradient(circle, rgb(255 244 222 / 100%) 0 9%, rgb(255 222 176 / 70%) 20%, rgb(255 205 160 / 26%) 42%, transparent 68%);
  animation: sunrise 3s var(--ease) .1s both, breathe 10s 3.2s cubic-bezier(.45, 0, .55, 1) infinite alternate; }
@keyframes sunrise { from { opacity: 0; transform: translateY(30%) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes breathe { to { transform: scale(1.06); } }
.sky-cloud { position: absolute; left: 0; height: 70px; width: 380px; border-radius: 50%; background: radial-gradient(closest-side, rgb(255 255 255 / 85%), rgb(255 255 255 / 0));
  animation: cloud 90s linear infinite; will-change: transform; }
.sky-cloud.c1 { top: 18%; }
.sky-cloud.c2 { top: 31%; width: 520px; height: 90px; opacity: .7; animation-duration: 120s; animation-delay: -55s; }
.sky-cloud.c3 { top: 9%; width: 260px; height: 50px; opacity: .8; animation-duration: 100s; animation-delay: -25s; }
@keyframes cloud { from { transform: translateX(-40vw); } to { transform: translateX(130vw); } }
.sky-birds { position: absolute; left: 0; top: 22%; width: 86px; fill: none; stroke: #33524e; stroke-width: 1.6; stroke-linecap: round; opacity: .45;
  animation: birds 46s linear 2s infinite both; }
@keyframes birds { from { transform: translate(-12vw, 30px); } to { transform: translate(112vw, -50px); } }
/* heartbeat line: the medical side of the business */
.sky-ecg { position: absolute; left: 0; width: 100%; height: 110px; bottom: calc(var(--sky-h) * .93); overflow: visible; }
.sky-ecg path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.sky-ecg .base { stroke: rgb(15 124 114 / 14%); stroke-width: 1.5; }
.sky-ecg .beat { stroke: #14a08f; stroke-width: 2.4; stroke-dasharray: .16 1; stroke-dashoffset: 1.16; filter: drop-shadow(0 0 6px rgb(20 160 143 / 55%));
  animation: beat 5.5s cubic-bezier(.4, .1, .3, 1) 1.8s infinite; }
@keyframes beat { from { stroke-dashoffset: 1.16; } to { stroke-dashoffset: 0; } }

.skyline { position: absolute; left: 0; right: 0; bottom: var(--band-h); height: var(--sky-h); }
.sky-svg { display: block; width: 100%; height: 100%; }
.layer { animation: rise-layer 1.9s var(--ease) both; }
.layer.far { animation-delay: .15s; } .layer.mid { animation-delay: .35s; } .layer.near { animation-delay: .55s; }
@keyframes rise-layer { from { opacity: 0; transform: translateY(90px); } to { opacity: 1; transform: none; } }
.layer.far path { fill: #c9e0db; }
.layer.mid path { fill: url(#midFade); }
.layer.mid path.lattice { fill: none; stroke: rgb(255 255 255 / 35%); stroke-width: 1; }
.layer.near path { fill: url(#nearFade); }
.ball { filter: drop-shadow(0 0 7px rgb(255 196 110 / 90%)); }
.win { fill: #ffd38a; opacity: 0; animation: twinkle 7s cubic-bezier(.45, 0, .55, 1) infinite; }
.win.w1 { animation-delay: 1s; } .win.w2 { animation-delay: 2.6s; animation-duration: 9s; } .win.w3 { animation-delay: 4.1s; animation-duration: 6s; } .win.w4 { animation-delay: 5.3s; animation-duration: 11s; }
@keyframes twinkle { 0%, 100% { opacity: .15; } 40%, 70% { opacity: .95; } }
/* insurance pins over the landmarks */
.pin { transform-box: fill-box; transform-origin: 50% 100%; animation: pin-in 1s var(--ease) both; }
.pin.p1 { animation-delay: 1.5s; } .pin.p2 { animation-delay: 1.75s; } .pin.p3 { animation-delay: 2s; } .pin.p4 { animation-delay: 2.25s; }
@keyframes pin-in { from { opacity: 0; transform: translateY(-18px) scale(.9); } to { opacity: 1; transform: none; } }
.pin line { stroke: #0f6e6e; stroke-width: 1.5; }
.pin circle { fill: #0f6e6e; }
.pin .ping { fill: rgb(20 160 143 / 45%); transform-box: fill-box; transform-origin: center; animation: ping 2.6s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes ping { from { transform: scale(1); opacity: .9; } to { transform: scale(3.4); opacity: 0; } }
.pin rect { fill: rgb(255 255 255 / 94%); stroke: rgb(15 110 110 / 20%); }
.pin text { fill: #0a3d39; font: 600 20px var(--font); }
/* ticker on the dark ground line */
@keyframes ticker { to { transform: translateX(50%); } }

/* gentle parallax while scrolling, where the browser supports scroll-driven animations ("translate" composes with the entrance transforms) */
@supports (animation-timeline: scroll()) {
  .sky-sun { animation: sunrise 3s var(--ease) .1s both, par-sun linear both; animation-timeline: auto, scroll(root); animation-range: normal, 0 100vh; }
  .skyline .layer.far { animation: rise-layer 1.9s var(--ease) .15s both, par-far linear both; animation-timeline: auto, scroll(root); animation-range: normal, 0 100vh; }
  .skyline .layer.mid { animation: rise-layer 1.9s var(--ease) .35s both, par-mid linear both; animation-timeline: auto, scroll(root); animation-range: normal, 0 100vh; }
  @keyframes par-sun { to { translate: 0 140px; } }
  @keyframes par-far { to { translate: 0 60px; } }
  @keyframes par-mid { to { translate: 0 26px; } }
}

@media (max-width: 900px) {
  .lp-hero.is-light { --sky-h: 230px; padding-top: 118px; padding-bottom: calc(var(--sky-h) * .7 + var(--band-h)); }
  .sky-sun { width: 110vw; bottom: calc(var(--sky-h) * .3); }
  .pins { display: none; }
  .sky-ecg { bottom: calc(var(--sky-h) * .86); height: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  .sky-sun, .sky-cloud, .sky-birds, .layer, .pin, .pin .ping, .win, .sky-ticker, .sky-ticker > div, .sky-ecg .beat { animation: none !important; }
  .win { opacity: .6; }
  .sky-ecg .beat { stroke-dasharray: none; stroke-dashoffset: 0; opacity: .35; }
}
.layer.near .ground { fill: #041312; }
@media (max-width: 640px) { .lp-hero.is-light .lp-stage { display: none; } .lp-hero.is-light { min-height: 100dvh; align-content: start; } }

/* Ticker: its own solid strip under the skyline, so the text never sits on building edges */
.sky-ticker { position: absolute; left: 0; right: 0; bottom: 0; height: var(--band-h); display: flex; align-items: center; overflow: hidden; background: #041312;
  border-top: 1px solid rgb(47 211 189 / 22%); animation: rise 1.2s var(--ease) 1.2s both; pointer-events: auto; }
.sky-ticker::before, .sky-ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 1; pointer-events: none; }
.sky-ticker::before { left: 0; background: linear-gradient(90deg, #041312, transparent); }
.sky-ticker::after { right: 0; background: linear-gradient(270deg, #041312, transparent); }
.sky-ticker > div { display: flex; width: max-content; animation: ticker 70s linear infinite; }
.sky-ticker:hover > div { animation-play-state: paused; }
.sky-ticker span { display: inline-flex; align-items: center; gap: 14px; padding-inline: 26px; font-size: 15px; font-weight: 600; color: #e6f6f2; white-space: nowrap; letter-spacing: .2px; }
.sky-ticker span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2fd3bd; box-shadow: 0 0 10px #2fd3bd; }
@media (max-width: 900px) { .lp-hero.is-light { --band-h: 46px; } .sky-ticker span { font-size: 14px; padding-inline: 18px; } }

/* =====================================================================
   Whole landing page in light: same teal identity, warm off-white paper.
   (Login keeps its own dark brand panel; these overrides are scoped to .lp.)
   ===================================================================== */
html.lp-mode, html.lp-mode body { background: #f5f8f6; }
.lp { --lp-bg: #f5f8f6; --lp-ink: #0a2a27; --lp-mute: #566e6a; --lp-line: rgb(15 110 110 / 12%); --lp-glow: #0f8a7e; }
.lp em { background-image: linear-gradient(100deg, #0f6e6e, #14a08f 55%, #0b5450); }
.lp-grain { opacity: .035; mix-blend-mode: multiply; }
.lp-eyebrow { color: #0b5d57; background: rgb(15 110 110 / 7%); box-shadow: inset 0 0 0 1px rgb(15 110 110 / 16%); }
.lp .lp-btn:not(.ghost) { background: linear-gradient(180deg, #13807a, #0a5656); color: #fff !important; box-shadow: 0 18px 36px -16px rgb(10 86 86 / 55%), inset 0 1px 0 rgb(255 255 255 / 18%); }
.lp .lp-btn:not(.ghost) .lp-btn-ico { background: rgb(255 255 255 / 16%); color: #fff; }
.lp .lp-btn.ghost { background: #fff; color: var(--lp-ink) !important; box-shadow: inset 0 0 0 1px rgb(15 110 110 / 16%), 0 12px 30px -22px rgb(10 60 55 / 45%); }
.lp .lp-btn.ghost .lp-btn-ico { background: #e3f2f1; color: #0a5656; }
.lp .lp-btn:focus-visible { outline-color: #0f8a7e; }
/* double-bezel cards: frosted tray + white core, soft teal-tinted shadow */
.lp .lp-bezel { background: rgb(15 110 110 / 5%); box-shadow: inset 0 0 0 1px rgb(15 110 110 / 9%); }
.lp .lp-core { background: linear-gradient(180deg, #ffffff, #fbfdfc); box-shadow: inset 0 1px 0 #fff, 0 30px 60px -44px rgb(10 60 55 / 45%); color: var(--lp-ink); }
.lp-tile-ico { color: #0a5656; background: linear-gradient(140deg, #d8f0ec, #eef8f6); box-shadow: inset 0 0 0 1px rgb(15 110 110 / 14%); }
.lp-chips span { background: #f3f8f7; color: var(--lp-ink); }
.lp-timeline li { background: #fff; color: var(--lp-mute); }
.lp-timeline li.on { background: #0f8a7e; color: #fff; box-shadow: 0 0 0 6px rgb(15 138 126 / 14%); }
.lp-plist li { background: #fff; box-shadow: inset 0 0 0 1px rgb(15 110 110 / 10%), 0 20px 40px -34px rgb(10 60 55 / 40%); }
.lp-plist .ico { color: #0a5656; background: #e3f2f1; }
.lp-facts b { color: #0f7c72; }
.lp-orb.d { background: radial-gradient(circle, rgb(47 211 189 / 22%), transparent 65%); }
.lp-final { background: radial-gradient(120% 80% at 50% 100%, #e3f2ef, transparent 70%); }
.lp-foot { color: var(--lp-mute); }
/* sections alternate paper tones for rhythm */
#features { position: relative; }
#features::before, .lp-mapsec::before { content: ""; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; background: linear-gradient(180deg, #f5f8f6, #edf4f1 22%, #edf4f1 78%, #f5f8f6); }
.lp-mapsec { position: relative; isolation: isolate; }
/* nav and menu: light everywhere now */
.lp .lp-nav, .lp .lp-nav.scrolled { background: rgb(255 255 255 / 72%); border-color: rgb(15 110 110 / 12%); box-shadow: 0 16px 40px -26px rgb(10 60 55 / 40%); }
.lp .lp-logo { color: #0a2a27; }
.lp .lp-links a { color: #3d5a56; }
.lp .lp-links a:hover { color: #0a2a27; background: rgb(15 110 110 / 7%); }
.lp .lp-nav-cta { background: #0a5656; color: #fff !important; }
.lp .lp-burger { border-color: rgb(15 110 110 / 18%); background: rgb(255 255 255 / 70%); }
.lp .lp-burger i { background: #0a2a27; }
.lp-menu { background: rgb(245 248 246 / 94%); color: #0a2a27; }
.lp-menu a.hl { color: #0f7c72; }

/* ---------- illustrative map ---------- */
.lp-mapwrap { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.lp-mapcore { padding: 10px !important; }
.rmap { position: relative; aspect-ratio: 1000 / 640; border-radius: 16px; overflow: hidden; }
.rmap-svg { display: block; width: 100%; height: 100%; }
.rmap .grid { fill: none; stroke: #ffffff; stroke-width: 1.4; }
.rmap .wadi { fill: none; stroke: #d3eadb; stroke-width: 34; stroke-linecap: round; }
.rmap .wadi-water { fill: none; stroke: #9fd1e6; stroke-width: 2.5; stroke-dasharray: 10 8; stroke-linecap: round; }
.rmap .park { fill: #d9eedf; }
.rmap .road-edge, .rmap .road { fill: none; stroke-linecap: round; }
.rmap .road-edge { stroke: #d6e0dc; }
.rmap .road { stroke: #ffffff; }
.rmap .road-edge.main { stroke-width: 13; } .rmap .road.main { stroke-width: 9; }
.rmap .road-edge.ring { stroke-width: 15; stroke: #f0d9b0; } .rmap .road.ring { stroke-width: 10; stroke: #fff6e6; }
.rmap .road-edge.minor { stroke-width: 7; } .rmap .road.minor { stroke-width: 4; }
.rmap .district { fill: #8aa39e; font: 600 15px var(--font); letter-spacing: .2px; }
.rmap .link { fill: none; stroke: #14a08f; stroke-width: 2; stroke-dasharray: 2 7; stroke-linecap: round; opacity: 0; }
.rmap .mk { opacity: 0; transform-box: fill-box; transform-origin: center; }
.rmap .hosp .disc { fill: #fff; stroke: #e2564b; stroke-width: 2.5; }
.rmap .hosp .cross { fill: #e2564b; }
.rmap .hosp .halo { fill: rgb(226 86 75 / 28%); transform-box: fill-box; transform-origin: center; }
.rmap .comp .tile { fill: #0f6e6e; stroke: #fff; stroke-width: 2.5; }
.rmap .comp .bld { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* reveal: markers drop in, then the links start flowing */
.lp-mapbezel.in .mk { animation: mk-in .8s var(--ease) both; }
.lp-mapbezel.in .mk.d0 { animation-delay: .3s; } .lp-mapbezel.in .mk.d1 { animation-delay: .4s; } .lp-mapbezel.in .mk.d2 { animation-delay: .5s; }
.lp-mapbezel.in .mk.d3 { animation-delay: .6s; } .lp-mapbezel.in .mk.d4 { animation-delay: .7s; } .lp-mapbezel.in .mk.d5 { animation-delay: .8s; }
.lp-mapbezel.in .mk.d6 { animation-delay: .9s; } .lp-mapbezel.in .mk.d7 { animation-delay: 1s; } .lp-mapbezel.in .mk.d8 { animation-delay: 1.1s; } .lp-mapbezel.in .mk.d9 { animation-delay: 1.2s; }
@keyframes mk-in { from { opacity: 0; transform: translateY(-22px) scale(.6); } to { opacity: 1; transform: none; } }
.lp-mapbezel.in .hosp .halo { animation: halo 2.8s cubic-bezier(0, 0, .2, 1) 1.4s infinite; }
@keyframes halo { from { transform: scale(1); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
.lp-mapbezel.in .link { animation: link-in .8s var(--ease) 1.3s both, flow 1.6s linear 1.3s infinite; }
@keyframes link-in { to { opacity: .75; } }
@keyframes flow { to { stroke-dashoffset: -18; } }
.rmap-card { position: absolute; display: flex; align-items: center; gap: 10px; padding: 9px 13px; border-radius: 14px; background: rgb(255 255 255 / 94%); color: var(--lp-ink);
  box-shadow: inset 0 0 0 1px rgb(15 110 110 / 10%), 0 18px 34px -18px rgb(10 60 55 / 45%); white-space: nowrap; transform: translate(-50%, calc(-100% - 22px)); opacity: 0; }
.rmap-card b { display: block; font-size: 13px; }
.rmap-card small { display: block; font-size: 11.5px; color: var(--lp-mute); }
.rmap-card.hot small { color: #b4421f; }
.rmap-ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: #e3f2f1; color: #0a5656; flex: none; }
.rmap-card.c0 { left: 48%; top: 46.9%; } .rmap-card.c1 { left: 36.2%; top: 31.25%; } .rmap-card.c2 { left: 65.2%; top: 67.5%; }
.lp-mapbezel.in .rmap-card { animation: card-in .9s var(--ease) both; }
.lp-mapbezel.in .rmap-card.c0 { animation-delay: 1.4s; } .lp-mapbezel.in .rmap-card.c1 { animation-delay: 1.65s; } .lp-mapbezel.in .rmap-card.c2 { animation-delay: 1.9s; }
@keyframes card-in { from { opacity: 0; transform: translate(-50%, calc(-100% - 6px)) scale(.94); } to { opacity: 1; transform: translate(-50%, calc(-100% - 22px)); } }
.rmap-note { position: absolute; bottom: 10px; inset-inline-start: 12px; font-size: 11.5px; color: #7d948f; background: rgb(255 255 255 / 80%); padding: 3px 9px; border-radius: 999px; }
.lp-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.lp-legend li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; padding: 18px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px rgb(15 110 110 / 10%); }
.lp-legend b { display: block; font-size: 15.5px; margin-bottom: 3px; }
.lp-legend span:last-child { color: var(--lp-mute); font-size: 14px; line-height: 1.8; }
.lg { width: 34px; height: 34px; border-radius: 50%; display: block; position: relative; }
.lg.hosp { background: #fff; box-shadow: inset 0 0 0 2.5px #e2564b; }
.lg.hosp::before, .lg.hosp::after { content: ""; position: absolute; inset: 0; margin: auto; background: #e2564b; border-radius: 1px; }
.lg.hosp::before { width: 6px; height: 18px; } .lg.hosp::after { width: 18px; height: 6px; }
.lg.comp { border-radius: 10px; background: #0f6e6e; }
.lg.comp::before { content: ""; position: absolute; inset: 9px 11px 8px; border: 2px solid #fff; border-radius: 2px; }
.lg.link { border-radius: 0; height: 2px; margin-top: 16px; background: repeating-linear-gradient(90deg, #14a08f 0 3px, transparent 3px 9px); }
@media (max-width: 960px) {
  .lp-mapwrap { grid-template-columns: 1fr; }
  .lp-legend { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .lp-legend { grid-template-columns: 1fr; }
  .rmap-card { display: none; }
  .rmap .district { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .rmap .mk, .rmap .link, .rmap-card { opacity: 1 !important; animation: none !important; }
  .rmap .link { opacity: .7 !important; }
  .rmap-card { transform: translate(-50%, calc(-100% - 22px)); }
}
